技术领域technical field
本发明涉及通信技术领域,尤其涉及一种视频数据的播放方法、移动终端。The present invention relates to the technical field of communications, and in particular, to a method for playing video data and a mobile terminal.
背景技术Background technique
随着移动终端的广泛普及,得益于通过移动终端观看视频的快捷性,方便性,用户使用移动终端观看视频的频率越来越大。With the widespread popularity of mobile terminals, thanks to the fastness and convenience of watching videos through the mobile terminals, users use the mobile terminals to watch videos more and more frequently.
目前,用户有三种方式暂停视频播放,第一种是是点击播放器的暂停按键,第二种是按Home键,第三种是按电源键。At present, users have three ways to pause video playback, the first is to click the pause button of the player, the second is to press the Home button, and the third is to press the power button.
在遇到较为紧急的情况或者场合的转换,例如,用户在搭乘地铁过程中到站下车,朋友打招呼,等等,用户通常急于想立刻关闭视频。When encountering a more urgent situation or occasion change, for example, a user gets off at a station during a subway ride, a friend greets a friend, etc., the user is usually eager to turn off the video immediately.
在上述的三个暂停视频播放的方式中,由于用户对于电源键的位置较为熟悉,因此,直接按电源键,是用户停止视频播放较为常用的方式,但是,用户再次使用移动终端时,很多视频会继续进行播放,发出声音,用户可能遭遇尴尬。Among the above three ways of pausing video playback, since the user is familiar with the position of the power button, directly pressing the power button is a more common method for users to stop video playback. However, when the user uses the mobile terminal again, many video Playback will continue, sound will occur, and the user may experience embarrassment.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种视频数据的播放方法、移动终端,以解决通过电源键灭屏暂停播放视频后,再次使用移动终端时,视频继续播放的问题。Embodiments of the present invention provide a method for playing video data and a mobile terminal, so as to solve the problem that the video continues to be played when the mobile terminal is used again after the screen is turned off and the video is paused through the power button.
为了解决上述技术问题,本发明是这样实现的:一种视频数据的播放方法,应用于移动终端,包括:In order to solve the above-mentioned technical problems, the present invention is implemented as follows: a method for playing video data, applied to a mobile terminal, includes:
接收针对视频播放的目标暂停操作,所述目标暂停操作为通过锁屏按键暂停视频播放的操作;Receive a target pause operation for video playback, where the target pause operation is an operation to pause video playback through the lock screen button;
若接收到解锁指令,且解锁后的显示界面为所述视频暂停播放的界面,获取所述目标暂停操作的使用频率,所述使用频率为所述目标暂停操作的次数占暂停操作的总次数的比例,所述暂停操作为针对视频播放的暂停操作;If an unlocking instruction is received, and the unlocked display interface is the interface for pausing playback of the video, obtain the frequency of use of the target pause operation, where the frequency of use is the number of times the target pause operation accounts for the total number of pause operations. ratio, the pause operation is a pause operation for video playback;
若所述使用频率小于等于预设阈值,保持所述视频的暂停状态。If the usage frequency is less than or equal to a preset threshold, the video is kept in a paused state.
本发明实施例还提供了一种移动终端,包括:The embodiment of the present invention also provides a mobile terminal, including:
目标暂停操作接收模块,用于接收针对视频播放的目标暂停操作,所述目标暂停操作为通过锁屏按键暂停视频播放的操作;a target pause operation receiving module, used for receiving a target pause operation for video playback, the target pause operation being an operation of pausing the video playback through the lock screen button;
使用频率获取模块,用于若接收到解锁指令,且解锁后的显示界面为所述视频暂停播放的界面,获取所述目标暂停操作的使用频率,所述使用频率为所述目标暂停操作的次数占暂停操作的总次数的比例,所述暂停操作为针对视频播放的暂停操作;The use frequency acquisition module is used to obtain the use frequency of the target pause operation if the unlocking instruction is received, and the unlocked display interface is the interface for the video pause operation, and the use frequency is the number of times the target pause operation The proportion of the total number of pause operations, where the pause operation is a pause operation for video playback;
暂停保持模块,用于若所述使用频率小于等于预设阈值,保持所述视频的暂停状态。A pause and hold module, configured to maintain the pause state of the video if the usage frequency is less than or equal to a preset threshold.
本发明实施例提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现所述的视频数据的播放方法的步骤。An embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor to realize the The steps of the playback method of the video data.
本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现所述的视频数据的播放方法的步骤。An embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the video data playing method are implemented.
在本发明实施例中,通过接收针对视频播放的目标暂停操作,即通过锁屏按键暂停视频播放的播放,当接收到解锁指令、且解锁后的显示界面为视频暂停播放的界面时,查询目标暂停操作的使用频率,如果使用频率小于等于预设阈值,则可以保持暂停播放视频,能够在用户通过锁屏按键灭屏暂停播放视频,再次使用移动终端时,维持视频数据暂停播放,避免发出声音,避免用户遭遇尴尬。In the embodiment of the present invention, by receiving a target pause operation for video playback, that is, by pressing the lock screen button to pause the video playback, when an unlock instruction is received and the unlocked display interface is an interface for video playback, query the target The usage frequency of the pause operation. If the usage frequency is less than or equal to the preset threshold, the video playback can be kept paused, and the video playback can be paused when the user presses the lock screen button to turn off the screen. When the mobile terminal is used again, the video data can be paused to avoid sound. , to avoid embarrassment for users.
附图说明Description of drawings
图1为本发明的视频数据的播放方法实施例的流程图。FIG. 1 is a flowchart of an embodiment of a method for playing video data according to the present invention.
图2为本发明的视频数据的播放方法另一实施例的流程图。FIG. 2 is a flowchart of another embodiment of a method for playing video data according to the present invention.
图3为本发明的视频数据的播放方法又一实施例的流程图。FIG. 3 is a flowchart of another embodiment of a method for playing video data according to the present invention.
图4为本发明的移动终端实施例的框图。FIG. 4 is a block diagram of an embodiment of a mobile terminal of the present invention.
图5为实现本发明各个实施例的一种移动终端的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
参照图1,示出了本发明的视频数据的播放方法实施例的流程图,具体可以包括如下步骤:Referring to FIG. 1, a flowchart of an embodiment of a method for playing video data of the present invention is shown, which may specifically include the following steps:
步骤101,接收针对视频播放的目标暂停操作。Step 101: Receive a target pause operation for video playback.
在具体实现中,本发明实施例可以应用在移动终端中,例如,手机、平板电脑、个人数字助理、穿戴设备(如眼镜、手表等)等等。In a specific implementation, the embodiments of the present invention may be applied to a mobile terminal, for example, a mobile phone, a tablet computer, a personal digital assistant, a wearable device (such as glasses, a watch, etc.) and the like.
这些移动终端的操作系统可以包括Android(安卓)、IOS、WindowsPhone、Windows等等。The operating systems of these mobile terminals may include Android (Android), IOS, WindowsPhone, Windows, and the like.
这些操作系统中可以安装播放器,用以联网播放网络中的视频或移动终端本地的视频。Players can be installed in these operating systems to play videos in the network or local videos of the mobile terminal in the network.
在本发明实施例中,如果正在播放视频,则可以检测该视频的目标暂停操作。In this embodiment of the present invention, if a video is being played, a target pause operation of the video can be detected.
所谓目标暂停操作,可以指通过锁屏按键(执行锁屏处理)暂停视频播放的操作。The so-called target pause operation may refer to the operation of pausing the video playback through the lock screen button (executing the lock screen process).
一般情况下,用户可以按下电源键等锁频按键,使得移动终端进入锁屏状态,从而触发播放器暂停播放视频数据。Generally, a user can press a frequency lock button such as the power button to make the mobile terminal enter a screen lock state, thereby triggering the player to pause playing video data.
步骤102,若接收到解锁指令,且解锁后的显示界面为所述视频暂停播放的界面,获取所述目标暂停操作的使用频率。Step 102, if an unlocking instruction is received, and the unlocked display interface is an interface for pausing playback of the video, obtain the usage frequency of the target pausing operation.
如果用户重新按下电源键等锁屏按键,输入锁屏密码或锁屏图形,或者,在锁屏状态下输入指纹数据等行为,可以触发解锁指令,使移动终端接触锁屏状态。If the user re-presses the lock screen button such as the power button, enters the lock screen password or screen lock image, or inputs fingerprint data in the lock screen state, the unlock command can be triggered to make the mobile terminal touch the lock screen state.
此时,播放器检测到解锁操作,则正常情况下会自动恢复播放视频。At this point, if the player detects the unlocking operation, it will automatically resume playing the video under normal circumstances.
应用本发明实施例,可以预先在该移动终端中,统计目标暂停行为的使用频率,从而确定用户在何种情景中对视频进行暂停,从而确定解锁时的处理方式。By applying the embodiments of the present invention, the mobile terminal can pre-calculate the usage frequency of the target pause behavior, so as to determine the situation in which the user pauses the video, so as to determine the processing method when unlocking.
其中,使用频率为目标暂停操作的次数占暂停操作的总次数的比例,而暂停操作为针对视频播放的暂停操作。Wherein, the use frequency is the ratio of the number of target pause operations to the total number of pause operations, and the pause operation is a pause operation for video playback.
需要说明的是,针对视频的暂停操作,指的是针对在该移动终端上播放的全体视频的暂停操作,并不仅仅针对当前播放的视频,当然,针对当前视频的暂停操作也会进行统计,用以供后续计算使用频率。It should be noted that the pause operation for the video refers to the pause operation for the entire video played on the mobile terminal, not only for the currently playing video. Of course, the pause operation for the current video will also be counted. Use frequency for subsequent calculations.
在具体实现中,使用频率可以记录在数据库中,因此,在移动终端接收到解锁指令执行解锁处理、播放器恢复播放视频(此时的显示界面仍处于视频暂停播放的界面)时,可以在数据库中查询目标暂停操作的使用频率。In a specific implementation, the frequency of use can be recorded in the database. Therefore, when the mobile terminal receives the unlocking instruction to execute the unlocking process, and the player resumes playing the video (the display interface at this time is still in the interface where the video is paused), it can be recorded in the database. The frequency of use of the query target pause operation in .
步骤103,若所述使用频率小于等于预设阈值,保持所述视频的暂停状态。Step 103: If the usage frequency is less than or equal to a preset threshold, keep the video in a paused state.
如果在该移动终端中,目标暂停操作的使用频率小于或等于预设阈值,表示用户通过锁屏按键(执行锁屏处理)暂停播放视频,较大可能是在突发情景中使用。If in the mobile terminal, the use frequency of the target pause operation is less than or equal to the preset threshold, it means that the user pauses the video playback by pressing the lock screen button (executes the lock screen process), which is more likely to be used in emergencies.
因此,在移动终端接收到解锁指令执行解锁处理、播放器待恢复播放视频时,再一次暂停播放视频,保持视频的暂停状态,避免发出声音。Therefore, when the mobile terminal receives the unlocking instruction to perform the unlocking process, and the player is about to resume playing the video, it pauses the playing of the video again, keeps the paused state of the video, and avoids making a sound.
在一种实施方式中,可以确定播放视频的播放器,向播放器发送暂停指令,以控制播放器保持暂停播放视频。In an implementation manner, a player that plays the video may be determined, and a pause instruction is sent to the player to control the player to keep pausing to play the video.
在此实施例方式中,对于操作系统自带的播放器,可以直接通过暂停指令控制播放器暂停播放视频。In this embodiment, for the player provided by the operating system, the player can be directly controlled to pause playing the video through the pause instruction.
在另一种实施方式中,可以确定播放视频的播放器,在播放器的界面上确定目标位置(如界面中点、暂停按键所在的位置等),在目标位置触发暂停播放指令,用以模拟暂停操作(如点击等)。In another embodiment, the player that plays the video can be determined, the target position (such as the midpoint of the interface, the position of the pause button, etc.) can be determined on the interface of the player, and the pause playback instruction is triggered at the target position to simulate Pause operations (such as clicks, etc.).
在此实施例方式中,对于第三方的播放器,可以通过模拟用户操作暂停播放视频。In this embodiment, for a third-party player, the video playback can be paused by simulating user operations.
当然,上述暂停播放视频的方式只是作为示例,在实施本发明实施例时,可以根据实际情况设置其他暂停播放视频的方式,本发明实施例对此不加以限制。另外,除了上述暂停播放视频的方式外,本领域技术人员还可以根据实际需要采用其它暂停播放视频的方式,本发明实施例对此也不加以限制。Of course, the above manner of pausing video playback is only an example. When implementing this embodiment of the present invention, other manners of pausing video playback may be set according to actual conditions, which are not limited in this embodiment of the present invention. In addition, in addition to the above manner of pausing the video, those skilled in the art can also adopt other manners of pausing the video according to actual needs, which is not limited in this embodiment of the present invention.
在本发明实施例中,通过接收针对视频播放的目标暂停操作,即通过锁屏按键暂停视频播放的播放,当接收到解锁指令、且解锁后的显示界面为视频暂停播放的界面时,查询目标暂停操作的使用频率,如果使用频率小于等于预设阈值,则可以保持暂停播放视频,能够在用户通过锁屏按键灭屏暂停播放视频,再次使用移动终端时,维持视频数据暂停播放,避免发出声音,避免用户遭遇尴尬。In the embodiment of the present invention, by receiving a target pause operation for video playback, that is, by pressing the lock screen button to pause the video playback, when an unlock instruction is received and the unlocked display interface is an interface for video playback, query the target The usage frequency of the pause operation. If the usage frequency is less than or equal to the preset threshold, the video playback can be kept paused, and the video playback can be paused when the user presses the lock screen button to turn off the screen. When the mobile terminal is used again, the video data can be paused to avoid sound. , to avoid embarrassment for users.
参照图2,示出了本发明的视频数据的播放方法的另一实施例的流程图,具体可以包括如下步骤:Referring to FIG. 2, a flowchart of another embodiment of the method for playing video data of the present invention is shown, which may specifically include the following steps:
步骤201,当检测到视频的暂停操作时,记录所述暂停操作。Step 201, when a video pause operation is detected, record the pause operation.
在本发明实施例中,可以自动检测移动终端中安装的用于播放视频的播放器。In this embodiment of the present invention, a player installed in the mobile terminal for playing video can be automatically detected.
若监测到该播放器的启动,则可以监测在该播放器上播放的视频的暂停操作。If the startup of the player is monitored, the pause operation of the video played on the player can be monitored.
在具体实现中,暂停操作包括目标暂停操作,即通过锁屏按键(执行锁屏处理)暂停视频播放的操作。In a specific implementation, the pause operation includes a target pause operation, that is, an operation of pausing the video playback by pressing the screen lock button (executing the screen lock process).
当然,除了目标暂操作为之外,还可以存在其他暂停操作,例如,通过暂停按键暂停播放视频、通过Home键暂停播放视频,等等,本发明实施例对此不加以限制。Of course, in addition to the temporary operation of the target, there may also be other pause operations, for example, pausing video playback through the pause button, pausing the video playback through the Home button, etc., which are not limited in this embodiment of the present invention.
若检测到视频的暂停操作时,则可以记录其相关信息,例如,播放器的名称、暂停的方式(如目标暂停操作)、暂停的时间,等等。If a pause operation of the video is detected, its related information can be recorded, for example, the name of the player, the pause mode (such as the target pause operation), the pause time, and so on.
步骤202,计算所述目标暂停操作的次数占所述暂停操作的总次数的比例。Step 202: Calculate the ratio of the number of times of the target pause operation to the total number of times of the pause operation.
在本发明实施例中,可以统计所有暂停操作的总次数,以及,统计目标暂停操作的次数,计算目标暂停操作的次数占所有暂停操作的总次数的比例。In this embodiment of the present invention, the total number of all pause operations and the number of target pause operations may be counted, and the ratio of the number of target pause operations to the total number of all pause operations may be calculated.
假设目标暂停操作的次数为x,所有暂停操作的总次数为y,比例为m,则m=x/y。Assuming that the number of times of the target pause operation is x, the total number of times of all the pause operations is y, and the ratio is m, then m=x/y.
步骤203,将所述比例作为使用频率进行存储。Step 203: Store the ratio as the usage frequency.
在具体实现中,可以通过统计目标暂停操作的比例,获知用户通过锁屏按键(执行锁屏处理)暂停视频播放的概率,分析用户的行为倾向,存储在数据库中,从而确定解锁时对暂停的视频的处理方式。In the specific implementation, the probability of the user suspending the video playback by pressing the lock screen button (executing the lock screen processing) can be obtained by counting the proportion of the target pause operation, and the behavior tendency of the user can be analyzed and stored in the database, so as to determine the effect of the pause when unlocking. How the video is processed.
进一步而言,可以判断该比例是否小于或等于预设阈值。Further, it can be determined whether the ratio is less than or equal to a preset threshold.
若是,则确定目标暂停操作属于突发使用类型,其对应的用户群体将会被判定为在突发场景中通过锁屏按键(执行锁屏处理)暂停视频的播放。If so, it is determined that the target pause operation belongs to the type of sudden use, and the corresponding user group will be determined to pause the video playback by pressing the screen lock button (execute screen lock processing) in the sudden scene.
若否,则确定目标暂停操作属于常规使用类型,其对应的用户群体将会被判定为经常通过锁屏按键(执行锁屏处理)暂停视频的播放。If not, it is determined that the target pause operation belongs to the normal use type, and the corresponding user group will be determined to frequently pause the video playback by pressing the lock screen button (executing the lock screen process).
步骤204,接收针对视频播放的目标暂停操作。Step 204: Receive a target pause operation for video playback.
其中,目标暂停操作为通过锁屏按键暂停视频播放的操作。The target pause operation is an operation of pausing the video playback by pressing the lock screen button.
步骤205,若接收到解锁指令,且解锁后的显示界面为所述视频暂停播放的界面,获取所述目标暂停操作的使用频率。Step 205: If an unlocking instruction is received, and the unlocked display interface is an interface for pausing playback of the video, obtain the usage frequency of the target pausing operation.
其中,使用频率为所述目标暂停操作的次数占暂停操作的总次数的比例,而暂停操作为针对视频播放的暂停操作。Wherein, the use frequency is the ratio of the number of times of the target pause operation to the total number of times of the pause operation, and the pause operation is a pause operation for video playback.
步骤206,若所述使用频率小于等于预设阈值,保持所述视频的暂停状态。Step 206, if the usage frequency is less than or equal to a preset threshold, keep the video in a paused state.
在本发明实施例中,可以持续对暂停操作进行记录,持续对目标暂停操作的比例(使用频率)进行统计,待监测到目标暂停操作及解锁指令,则可以在数据库中提取该使用频率,在该使用频率小于或等于预设阈值时,则可以保持暂停播放当前的视频。In the embodiment of the present invention, the pause operation can be continuously recorded, and the proportion (frequency of use) of the target pause operation can be continuously counted. When the target pause operation and the unlock command are monitored, the use frequency can be extracted from the database. When the usage frequency is less than or equal to the preset threshold, the current video playback can be kept paused.
参照图3,示出了本发明的视频数据的播放方法的又一实施例的流程图,具体可以包括如下步骤:Referring to FIG. 3, a flowchart of another embodiment of the method for playing video data of the present invention is shown, which may specifically include the following steps:
步骤301,接收针对视频播放的目标暂停操作。Step 301: Receive a target pause operation for video playback.
其中,目标暂停操作为通过锁屏按键暂停视频播放的操作。The target pause operation is an operation of pausing the video playback by pressing the lock screen button.
步骤302,若接收到解锁指令,且解锁后的显示界面为所述视频暂停播放的界面,获取所述目标暂停操作的使用频率。Step 302: If an unlocking instruction is received, and the unlocked display interface is an interface for pausing playback of the video, obtain the usage frequency of the target pausing operation.
其中,使用频率为所述目标暂停操作的次数占暂停操作的总次数的比例,而暂停操作为针对视频播放的暂停操作。Wherein, the use frequency is the ratio of the number of times of the target pause operation to the total number of times of the pause operation, and the pause operation is a pause operation for video playback.
步骤303,若所述使用频率小于等于预设阈值,保持所述视频的暂停状态。Step 303, if the usage frequency is less than or equal to a preset threshold, keep the video in a paused state.
步骤304,生成播放选择信息。Step 304, generating playback selection information.
在本发明实施例中,在暂停播放视频之后,可以生成弹窗,展示播放选择信息。In this embodiment of the present invention, after the video playback is paused, a pop-up window may be generated to display playback selection information.
其中,播放选择信息包括继续播放信息、暂停播放信息。The play selection information includes resume play information and pause play information.
步骤305,当所述继续播放信息被触发时,恢复播放所述视频。Step 305, when the resume playing information is triggered, resume playing the video.
如果用户点击继续播放信息,使其触发,则移动终端可以恢复播放视频。If the user clicks the resume playing information to trigger it, the mobile terminal can resume playing the video.
在一种实施方式中,可以确定播放视频的播放器,向播放器发送播放指令,以控制播放器恢复播放视频。In one embodiment, a player that plays the video may be determined, and a play instruction may be sent to the player to control the player to resume playing the video.
在此实施例方式中,对于操作系统自带的播放器,可以直接通过播放指令控制播放器恢复播放视频。In this embodiment, for the player that comes with the operating system, the player can be directly controlled to resume playing the video through the play instruction.
在另一种实施方式中,可以确定播放视频的播放器,在播放器的界面上确定目标位置(如界面中点、暂停按键所在的位置等),在目标位置触发回复播放指令,用以模拟播放操作(如点击等)。In another embodiment, the player that plays the video can be determined, the target position (such as the midpoint of the interface, the position of the pause button, etc.) can be determined on the interface of the player, and the reply playback instruction is triggered at the target position to simulate Play actions (such as clicks, etc.).
在此实施例方式中,对于第三方的播放器,可以通过模拟用户操作恢复播放视频。In this embodiment, for a third-party player, video playback can be resumed by simulating user operations.
当然,上述恢复播放视频的方式只是作为示例,在实施本发明实施例时,可以根据实际情况设置其他恢复播放视频的方式,本发明实施例对此不加以限制。另外,除了上述恢复播放视频的方式外,本领域技术人员还可以根据实际需要采用其它恢复播放视频的方式,本发明实施例对此也不加以限制。Of course, the above manner of resuming video playback is only an example. When implementing the embodiments of the present invention, other manners of resuming video playback may be set according to actual conditions, which are not limited in the embodiments of the present invention. In addition, in addition to the above manners for resuming video playback, those skilled in the art may also adopt other manners for resuming video playback according to actual needs, which are not limited in this embodiment of the present invention.
步骤306,当所述暂停播放信息被触发时,保持所述视频的暂停状态。Step 306, when the playback pause information is triggered, keep the pause state of the video.
如果用户点击暂停播放信息,使其触发,则移动终端可以不进行处理,继续保持暂停播放视频。If the user clicks on the paused playback information to trigger it, the mobile terminal may continue to keep the paused playback of the video without processing it.
步骤307,取消显示所述播放选择信息。Step 307, cancel the display of the playback selection information.
播放选择信息被触发进行相应的处理之后,可以取消弹窗,从而取消播放选择信息。After the playback selection information is triggered to perform corresponding processing, the pop-up window can be canceled, thereby canceling the playback selection information.
步骤308,若所述使用频率大于预设阈值,恢复播放所述视频。Step 308, if the usage frequency is greater than a preset threshold, resume playing the video.
如果在该移动终端中,目标暂停操作使用频率大于预设阈值,表示用户通过锁屏按键(执行锁屏处理)暂停播放视频,较大可能是经常使用,即属于习惯性操作。If in the mobile terminal, the use frequency of the target pause operation is greater than the preset threshold, it means that the user pauses the video playback by pressing the lock screen button (executes the lock screen process), which is likely to be frequently used, that is, a habitual operation.
因此,在移动终端接收到解锁指令执行解锁处理、播放器待恢复播放视频时,遵循用户习惯,允许播放器自行恢复播放视频。Therefore, when the mobile terminal receives the unlocking instruction to perform the unlocking process, and the player is about to resume playing the video, it follows user habits and allows the player to resume playing the video by itself.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the sake of simple description, the method embodiments are described as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the described action sequences, because According to embodiments of the present invention, 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 invention.
参照图4,示出了本发明的移动终端实施例的框图,图4所示的移动终端400具体可以包括如下模块:Referring to FIG. 4, a block diagram of a mobile terminal embodiment of the present invention is shown. The mobile terminal 400 shown in FIG. 4 may specifically include the following modules:
目标暂停操作接收模块401,用于接收针对视频播放的目标暂停操作,所述目标暂停操作为通过锁屏按键暂停视频播放的操作;A target pause operation receiving module 401, configured to receive a target pause operation for video playback, where the target pause operation is an operation of pausing video playback through a lock screen button;
使用频率获取模块402,用于若接收到解锁指令,且解锁后的显示界面为所述视频暂停播放的界面,获取所述目标暂停操作的使用频率,所述使用频率为所述目标暂停操作的次数占暂停操作的总次数的比例,所述暂停操作为针对视频播放的暂停操作;The usage frequency acquisition module 402 is used to acquire the usage frequency of the target pause operation if an unlocking instruction is received and the unlocked display interface is the interface for the video pause operation, and the usage frequency is the frequency of the target pause operation. The ratio of the number of times to the total number of pause operations, where the pause operation is a pause operation for video playback;
暂停保持模块403,用于若所述使用频率小于等于预设阈值,保持所述视频的暂停状态。The pause maintaining module 403 is configured to maintain the pause state of the video if the usage frequency is less than or equal to a preset threshold.
在本发明的一个实施例中,所述暂停保持模块403包括:In an embodiment of the present invention, the pause and hold module 403 includes:
第一播放器查询子模块,用于确定播放所述视频的播放器;a first player query submodule for determining a player that plays the video;
暂停指令发送子模块,用于向所述播放器发送暂停指令,以控制所述播放器暂停播放所述视频;A pause instruction sending submodule, configured to send a pause instruction to the player to control the player to pause and play the video;
或者,or,
第一目标位置确定子模块,用于在所述播放器的界面上确定目标位置;The first target position determination submodule is used to determine the target position on the interface of the player;
暂停指令触发子模块,用于在所述目标位置触发暂停指令。The pause instruction triggering submodule is used to trigger the pause instruction at the target position.
在本发明的一个实施例中,还包括:In an embodiment of the present invention, it also includes:
播放选择信息生成模块,用于生成播放选择信息,所述播放选择信息包括继续播放信息、暂停播放信息;a play selection information generation module, configured to generate play selection information, the play selection information includes resume play information and pause play information;
视频恢复播放模块,用于当所述继续播放信息被触发时,恢复播放所述视频;a video resuming playback module, configured to resume playing the video when the resume playing information is triggered;
暂停播放保持模块,用于当所述暂停播放信息被触发时,保持所述视频的暂停状态;a pause-play hold module for maintaining the paused state of the video when the pause-play information is triggered;
播放选择信息取消模块,用于取消显示所述播放选择信息。A playback selection information cancellation module, used for canceling the display of the playback selection information.
在本发明的一个实施例中,所述视频恢复播放模块包括:In an embodiment of the present invention, the video resuming playback module includes:
第二播放器查询子模块,用于确定播放所述视频的播放器;The second player query submodule is used to determine the player that plays the video;
播放指令发送子模块,用于向所述播放器发送播放指令,以控制所述播放器恢复播放所述视频;A play instruction sending sub-module is used to send a play instruction to the player to control the player to resume playing the video;
或者,or,
第二目标位置确定子模块,用于在所述播放器的界面上确定目标位置;The second target position determination submodule is used to determine the target position on the interface of the player;
播放指令触发子模块,用于在所述目标位置触发播放指令。The play instruction triggering submodule is used to trigger the play instruction at the target position.
在本发明的一个实施例中,还包括:In an embodiment of the present invention, it also includes:
恢复播放模块,用于若所述使用频率大于预设阈值,恢复播放所述视频。A playback resumption module, configured to resume playback of the video if the usage frequency is greater than a preset threshold.
在本发明的一个实施例中,还包括:In an embodiment of the present invention, it also includes:
暂停行为记录模块,用于当检测到视频的暂停操作时,记录所述暂停操作,所述暂停操作包括目标暂停操作;a pause behavior recording module, configured to record the pause operation when a pause operation of the video is detected, and the pause operation includes a target pause operation;
比例计算模块,用于计算所述目标暂停操作的次数占所述暂停操作的总次数的比例;a proportion calculation module, configured to calculate the ratio of the number of times of the target suspension operation to the total number of times of the suspension operation;
使用频率存储模块,用于将所述比例作为使用频率进行存储。A usage frequency storage module for storing the ratio as a usage frequency.
本发明实施例提供的移动终端能够实现图1至图3的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of FIG. 1 to FIG. 3 , and to avoid repetition, details are not repeated here.
在本发明实施例中,通过接收针对视频播放的目标暂停操作,即通过锁屏按键暂停视频播放的播放,当接收到解锁指令、且解锁后的显示界面为视频暂停播放的界面时,查询目标暂停操作的使用频率,如果使用频率小于等于预设阈值,则可以保持暂停播放视频,能够在用户通过锁屏按键灭屏暂停播放视频,再次使用移动终端时,维持视频数据暂停播放,避免发出声音,避免用户遭遇尴尬。In the embodiment of the present invention, by receiving a target pause operation for video playback, that is, by pressing the lock screen button to pause the video playback, when an unlock instruction is received and the unlocked display interface is an interface for video playback, query the target The usage frequency of the pause operation. If the usage frequency is less than or equal to the preset threshold, the video playback can be kept paused, and the video playback can be paused when the user presses the lock screen button to turn off the screen. When the mobile terminal is used again, the video data can be paused to avoid sound. , to avoid embarrassment for users.
图5为实现本发明各个实施例的一种移动终端的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
该移动终端500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power 511 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 5 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than the one shown, or combine some components, or different components layout. In this embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
其中,处理器510,用于接收针对视频播放的目标暂停操作,所述目标暂停操作为通过锁屏按键暂停视频播放的操作;若接收到解锁指令,且解锁后的显示界面为所述视频暂停播放的界面,获取所述目标暂停操作的使用频率,所述使用频率为所述目标暂停操作的次数占暂停操作的总次数的比例,所述暂停操作为针对视频播放的暂停操作;若所述使用频率小于等于预设阈值,保持所述视频的暂停状态。Wherein, the processor 510 is configured to receive a target pause operation for video playback, where the target pause operation is an operation to pause the video playback through the lock screen button; if an unlock instruction is received, and the unlocked display interface is the video pause Play interface, obtain the use frequency of the target pause operation, the use frequency is the ratio of the number of the target pause operation to the total number of pause operations, and the pause operation is a pause operation for video playback; if the When the usage frequency is less than or equal to the preset threshold, the pause state of the video is maintained.
在本发明实施例中,通过接收针对视频播放的目标暂停操作,即通过锁屏按键暂停视频播放的播放,当接收到解锁指令、且解锁后的显示界面为视频暂停播放的界面时,查询目标暂停操作的使用频率,如果使用频率小于等于预设阈值,则可以保持暂停播放视频,能够在用户通过锁屏按键灭屏暂停播放视频,再次使用移动终端时,维持视频数据暂停播放,避免发出声音,避免用户遭遇尴尬。In the embodiment of the present invention, by receiving a target pause operation for video playback, that is, by pressing the lock screen button to pause the video playback, when an unlock instruction is received and the unlocked display interface is an interface for video playback, query the target The usage frequency of the pause operation. If the usage frequency is less than or equal to the preset threshold, the video playback can be kept paused, and the video playback can be paused when the user presses the lock screen button to turn off the screen. When the mobile terminal is used again, the video data can be paused to avoid sound. , to avoid embarrassment for users.
应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 501 can be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 510; The uplink data is sent to the base station. Generally, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the network module 502, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与移动终端500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into audio signals and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The input unit 504 is used to receive audio or video signals. The input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 506 . The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502 . The microphone 5042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 501 for output in the case of a telephone call mode.
移动终端500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在移动终端500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and the proximity sensor when the mobile terminal 500 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 505 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
用户输入单元507可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 507 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072 . The touch panel 5071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 5071). operate). The touch panel 5071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 510, the command sent by the processor 510 is received and executed. In addition, the touch panel 5071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 5071 , the user input unit 507 may also include other input devices 5072 . Specifically, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 5071 can be covered on the display panel 5061. When the touch panel 5071 detects a touch operation on or near it, it transmits it to the processor 510 to determine the type of the touch event, and then the processor 510 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on display panel 5061. Although in FIG. 5, the touch panel 5071 and the display panel 5061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated The input and output functions of the mobile terminal are implemented, which is not specifically limited here.
接口单元508为外部装置与移动终端500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端500内的一个或多个元件或者可以用于在移动终端500和外部装置之间传输数据。The interface unit 508 is an interface for connecting an external device to the mobile terminal 500 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 508 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 500 or may be used between the mobile terminal 500 and the external Transfer data between devices.
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
处理器510是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The processor 510 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in the memory 509, and calls the data stored in the memory 509. , perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 510.
移动终端500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 500 may also include a power supply 511 (such as a battery) for supplying power to various components. Preferably, the power supply 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. and other functions.
另外,移动终端500包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 500 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种移动终端,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述视频数据的播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 510, a memory 509, and a computer program stored in the memory 509 and running on the processor 510, when the computer program is executed by the processor 510 Each process of the above embodiments of the method for playing video data is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述视频数据的播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned video data playback method embodiment can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711464004.5ACN108235087B (en) | 2017-12-28 | 2017-12-28 | A method for playing video data, and a mobile terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711464004.5ACN108235087B (en) | 2017-12-28 | 2017-12-28 | A method for playing video data, and a mobile terminal |
| Publication Number | Publication Date |
|---|---|
| CN108235087A CN108235087A (en) | 2018-06-29 |
| CN108235087Btrue CN108235087B (en) | 2019-07-26 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711464004.5AActiveCN108235087B (en) | 2017-12-28 | 2017-12-28 | A method for playing video data, and a mobile terminal |
| Country | Link |
|---|---|
| CN (1) | CN108235087B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114115793A (en)* | 2021-12-01 | 2022-03-01 | 维沃移动通信有限公司 | Audio adjusting method and audio adjusting device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0775082A (en)* | 1993-09-02 | 1995-03-17 | Matsushita Electric Ind Co Ltd | Terminal for CATV |
| EP2521018A2 (en)* | 2011-05-06 | 2012-11-07 | Lg Electronics Inc. | Mobile device and control method thereof |
| CN104581320A (en)* | 2013-10-16 | 2015-04-29 | 中兴通讯股份有限公司 | Method, device and terminal for switching play modes |
| CN107147928A (en)* | 2017-05-23 | 2017-09-08 | 努比亚技术有限公司 | Play method, terminal and the computer-readable recording medium of video |
| CN107241648A (en)* | 2017-06-26 | 2017-10-10 | 中广热点云科技有限公司 | The mobile terminal of video is played under a kind of screen lock state under video broadcasting method and screen lock state |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101474467B1 (en)* | 2013-07-09 | 2014-12-19 | 엘지전자 주식회사 | Mobile terminal and control method for the mobile terminal |
| US9531422B2 (en)* | 2013-12-04 | 2016-12-27 | Lg Electronics Inc. | Mobile terminal and control method for the mobile terminal |
| US9632664B2 (en)* | 2015-03-08 | 2017-04-25 | Apple Inc. | Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback |
| US9942611B2 (en)* | 2015-12-21 | 2018-04-10 | Rovi Guides, Inc. | Methods and systems for displaying a countdown alert for children |
| KR102429740B1 (en)* | 2015-12-24 | 2022-08-05 | 삼성전자 주식회사 | Method and apparatus for precessing touch event |
| CN107291302B (en)* | 2017-07-28 | 2020-02-07 | Oppo广东移动通信有限公司 | Control method and device of touch screen, storage medium and terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0775082A (en)* | 1993-09-02 | 1995-03-17 | Matsushita Electric Ind Co Ltd | Terminal for CATV |
| EP2521018A2 (en)* | 2011-05-06 | 2012-11-07 | Lg Electronics Inc. | Mobile device and control method thereof |
| CN104581320A (en)* | 2013-10-16 | 2015-04-29 | 中兴通讯股份有限公司 | Method, device and terminal for switching play modes |
| CN107147928A (en)* | 2017-05-23 | 2017-09-08 | 努比亚技术有限公司 | Play method, terminal and the computer-readable recording medium of video |
| CN107241648A (en)* | 2017-06-26 | 2017-10-10 | 中广热点云科技有限公司 | The mobile terminal of video is played under a kind of screen lock state under video broadcasting method and screen lock state |
| Publication number | Publication date |
|---|---|
| CN108235087A (en) | 2018-06-29 |
| Publication | Publication Date | Title |
|---|---|---|
| CN109078319B (en) | Game interface display method and terminal | |
| CN108135033B (en) | Bluetooth connection method and mobile terminal | |
| WO2019196929A1 (en) | Video data processing method and mobile terminal | |
| CN108848267B (en) | Audio playback method and mobile terminal | |
| CN110062273B (en) | Screenshot method and mobile terminal | |
| CN111666009A (en) | Interface display method and electronic equipment | |
| CN108664818B (en) | Unlocking control method and device | |
| CN110855921B (en) | Video recording control method and electronic equipment | |
| CN111124706A (en) | Application sharing method and electronic device | |
| CN107734170A (en) | A kind of notification message processing method, mobile terminal and wearable device | |
| CN111415722A (en) | A screen control method and electronic device | |
| CN108924319B (en) | Proximity detection method and mobile terminal | |
| CN107835495A (en) | A kind of message prompt method, device and mobile terminal | |
| CN110045943A (en) | A kind of data recording method and terminal device | |
| CN111597540A (en) | Login method of application program, electronic device and readable storage medium | |
| CN107908983A (en) | A kind of method and mobile terminal for controlling mobile terminal screen | |
| CN108307048B (en) | Message output method and device and mobile terminal | |
| CN108347642B (en) | A video playback method and mobile terminal | |
| CN108170360B (en) | Control method of gesture function and mobile terminal | |
| CN108008808B (en) | Operating parameter adjustment method and mobile terminal | |
| CN108089935B (en) | Application management method and mobile terminal | |
| WO2019101127A1 (en) | Biological identification module processing method and apparatus, and mobile terminal | |
| CN110210197B (en) | Screen sensitivity adjusting method and mobile terminal | |
| CN108459796B (en) | Function key response method and mobile terminal | |
| CN108235087B (en) | A method for playing video data, and a mobile terminal |
| 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 |