WO2017156929A1 - 终端控制方法及装置 - Google Patents

终端控制方法及装置 Download PDF

Info

Publication number
WO2017156929A1
WO2017156929A1 PCT/CN2016/088930 CN2016088930W WO2017156929A1 WO 2017156929 A1 WO2017156929 A1 WO 2017156929A1 CN 2016088930 W CN2016088930 W CN 2016088930W WO 2017156929 A1 WO2017156929 A1 WO 2017156929A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
video
video frame
playing
condition
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.)
Ceased
Application number
PCT/CN2016/088930
Other languages
English (en)
French (fr)
Inventor
李音
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Le Holdings Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Le Holdings Beijing Co Ltd, LeTV Information Technology Beijing Co Ltd filed Critical Le Holdings Beijing Co Ltd
Publication of WO2017156929A1 publication Critical patent/WO2017156929A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV programme
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42202Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] environmental sensors, e.g. for detecting temperature, luminosity, pressure, earthquakes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4333Processing operations in response to a pause request
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-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

Definitions

  • the embodiments of the present invention relate to the field of terminal technologies, and in particular, to a terminal control method and apparatus.
  • the embodiments of the present invention provide a terminal control method and apparatus.
  • a terminal control method including:
  • video data of the video when the terminal plays a video where the video data includes: video frame data and audio data;
  • the terminal When the terminal satisfies the video frame stop playing condition, the terminal is controlled to stop playing the video frame data, and the terminal is controlled to continue playing the audio data.
  • a terminal control apparatus including:
  • a video data acquiring unit configured to acquire video data of the video when the terminal plays a video, where the video data includes: video frame data and audio data;
  • a first play detecting unit configured to detect whether the terminal satisfies a video frame stop playing condition
  • Controlling the playing unit configured to control the terminal to stop playing the video frame data when the terminal satisfies the video frame stop playing condition, and control the terminal to continue playing the audio data.
  • the terminal control method provided by the embodiment of the invention acquires data in the video when the terminal plays the video, and detects whether the terminal satisfies the video stop playing condition. If the video stop playing condition is satisfied, then the terminal is controlled to stop playing the video frame data, and the terminal is controlled to continue playing the audio data in the video. In this way, when the video frame data in the video is not required to be played, only the audio data in the video is played, which can reduce the power consumption of the terminal and improve the battery life of the terminal.
  • FIG. 1 is a flowchart of a terminal control method according to an exemplary embodiment
  • FIG. 2 is a flow chart of step S120 of Figure 1;
  • FIG. 3 is still another flow chart of step S120 of Figure 1;
  • FIG. 4 is a flowchart of a terminal control method according to an exemplary embodiment
  • FIG. 5 is a flowchart of a terminal control method according to an exemplary embodiment
  • FIG. 6 is a schematic structural diagram of a terminal control apparatus according to an exemplary embodiment
  • Figure 7 is a schematic diagram of the first play detecting unit of Figure 6;
  • Figure 8 is another schematic diagram of the first play detecting unit of Figure 6;
  • FIG. 9 is a schematic structural diagram of a terminal control apparatus according to an exemplary embodiment.
  • FIG. 10 is a schematic structural diagram of a terminal control apparatus according to an exemplary embodiment.
  • the embodiment of the present invention first provides a terminal control method. As shown in FIG. 1 , the method may include the following steps:
  • step S110 when the terminal plays the video, the video data of the video is acquired.
  • the video data includes: video frame data and audio data.
  • the terminal may be a mobile phone, a tablet computer, etc.
  • the video is played by the mobile phone as an example for description.
  • Video data is mainly composed of two parts: video frame data and audio data.
  • the video frame data is the continuously played image picture viewed by the user; the audio data is the sound that the user can hear in the video.
  • the video frame data is the continuously played image picture viewed by the user; the audio data is the sound that the user can hear in the video.
  • step S120 it is detected whether the terminal satisfies the video frame stop playing condition.
  • the user may only want to hear the sound in the video and not want to see the image in the video. In this case, it is necessary to check whether the current terminal satisfies the video frame stop playing condition.
  • the terminal can detect some of the user by using the terminal.
  • the operation determines whether the video frame stops playing condition is met, for example, the user buckles the display side of the mobile phone to the desktop.
  • step S130 the control terminal stops playing the video frame data, and controls the terminal to continue playing the audio data.
  • the terminal can control the terminal to stop playing the video frame data, and control the terminal to continue playing the audio data.
  • Terminal broadcast only The audio data in the video is released, and the video frame data in the video is stopped. It can reduce the power consumption of the terminal and improve the battery life of the terminal.
  • step S140 the control terminal continues to play the video frame data and play the audio data.
  • control terminal continues to play the video frame data and play the audio data, so as to avoid affecting the user to normally watch the video played on the terminal.
  • the terminal control method provided in the embodiment of the present invention acquires data in the video when the terminal plays the video, and detects whether the terminal satisfies the video stop playing condition. If the video stop playing condition is satisfied, then the terminal is controlled to stop playing the video frame data, and the terminal is controlled to continue playing the audio data in the video. In this way, when the video frame data in the video is not required to be played, only the audio data in the video is played, which can reduce the power consumption of the terminal and improve the battery life of the terminal.
  • step S120 may further include the following steps:
  • step S121 it is determined whether the terminal is within the preset range of the target object.
  • the terminal As a mobile phone, for example, most mobile phones are smart phones, and the distance sensor is usually installed on the mobile phone. Through the distance sensor, the mobile phone can quickly detect the distance from the object in front of the screen.
  • the target object may be a person using the mobile phone, or other objects.
  • step S122 it is determined that the terminal satisfies the video frame stop playing condition.
  • step S123 it is determined that the terminal does not satisfy the video frame stop playing condition.
  • the mobile phone detects that the distance of the mobile phone screen from the desktop is small, almost zero, indicating that the user does not want to watch.
  • the image of the video played in the mobile phone at which time the video frame data in the video can be stopped.
  • the mobile phone detects that the user is far away from the screen of the mobile phone (for example, more than 5 meters), then the user cannot clearly view the image screen played in the mobile phone, and it is also determined that the terminal satisfies the condition that the video stops playing.
  • the terminal is within the preset range of the target object, such as in the range of 0.2 to 1 meter (the user can specify the range according to the required conditions, here is merely an exemplary example), indicating that the user is likely to be positive. Often watching the video played in the mobile phone, it can be determined that the terminal does not satisfy the video frame stop playing condition.
  • step S120 may further include the following steps:
  • step S124 it is determined whether the light intensity at the front end of the terminal is less than the preset light intensity.
  • step S125 it is determined that the terminal satisfies the video frame stop playing condition.
  • step S126 it is determined that the terminal does not satisfy the video frame stop playing condition.
  • the terminal As a mobile phone, for example, most mobile phones are smart phones, and a light intensity sensor is usually installed on the mobile phone.
  • the light intensity sensor can quickly detect the light intensity of the front end of the mobile phone screen.
  • the terminal front end refers to the front of the terminal display screen.
  • the phone If the light intensity sensor on the terminal detects that the current light intensity is below a certain threshold, for example, if the user buckles the side of the screen on the desktop, the phone will detect that the light intensity in front of the screen of the mobile phone is very high. Low, indicating that the user does not want to watch the image of the video played in the mobile phone, and then can stop playing the video frame data in the video.
  • a certain threshold for example, if the user buckles the side of the screen on the desktop
  • the embodiments provided by the present invention may be combined with each other, for example, whether the terminal is used within a preset range of the target object and whether the light intensity of the front end of the terminal is less than a preset light intensity, and the like. Or when one or several of the conditions are met, it is determined that the terminal satisfies the video frame stop playing condition.
  • the method may further include the following steps:
  • step S150 the current audio play parameters of the audio data are acquired in real time.
  • the current audio play parameters include information such as the play time of the audio play, the play content, and the like.
  • step S160 it is detected whether the terminal satisfies the video frame playing condition.
  • the video frame playing condition may be, whether the distance between the mobile phone and the target object is at an effective distance as described above. Within the range, or whether the light intensity reaches a certain intensity.
  • step S170 the video playing parameter corresponding to the current audio playing parameter is acquired.
  • step S180 the control terminal plays the video frame data corresponding to the video playing parameters in the video.
  • the video frame data in the video can be continuously played, and the video frame data is synchronously played with the currently played audio data, thereby avoiding the video frame data content and the audio data content. Not synchronized, causing users to not watch the video properly.
  • step S190 the control terminal continues to stop playing the video frame data, and controls the terminal to continue playing the audio data.
  • control terminal continues to stop playing the video frame data, and controls the terminal to continue playing the audio data.
  • the method may further include the following steps:
  • step S510 the control terminal turns off the screen display of the terminal.
  • the screen display can be turned off to further improve the endurance.
  • the terminal control method provided by the embodiment of the invention acquires data in the video when the terminal plays the video, and detects whether the terminal satisfies the video stop playing condition. If the video stop playing condition is satisfied, then the terminal is controlled to stop playing the video frame data, and the terminal is controlled to continue playing the audio data in the video. In this way, when the video frame data in the video is not required to be played, only the audio data in the video is played, which can reduce the power consumption of the terminal and improve the battery life of the terminal.
  • the video frame data can be timely synchronized to the current audio data, so that the video frame data and the audio data are played synchronously. It is also possible to turn off the screen display of the terminal when the video frame data in the video is stopped, further reducing the power consumption of the terminal and improving the endurance of the use.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation. Based on such understanding, the technical solution of the present invention is essentially The portion that contributes to the prior art can be embodied in the form of a software product stored in a storage medium, including instructions for causing a computer device (which can be a personal computer, a server, or Network devices, etc.) perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various types of media that can store program codes, such as a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • an embodiment of the present invention further provides a terminal control apparatus, where the apparatus is located in a terminal, as shown in FIG. 6, the apparatus includes: a video data acquiring unit 10, and a first play detection. Unit 20 and control playback unit 30, wherein
  • the video data acquiring unit 10 is configured to acquire video data of the video when the terminal plays a video, where the video data includes: video frame data and audio data;
  • the first play detecting unit 20 is configured to detect whether the terminal satisfies a video frame stop playing condition
  • the control playing unit 30 is configured to control the terminal to stop playing the video frame data when the terminal satisfies the video frame stop playing condition, and control the terminal to continue playing the audio data.
  • the first play detecting unit 20 includes:
  • the range determining module 21 is configured to determine whether the terminal is within a preset range of the target object
  • the first condition determining module 22 is configured to: when the terminal is not within the preset range of the target object, determine that the terminal satisfies the video frame stop playing condition;
  • the second condition determining module 23 is configured to determine, when the terminal is within the preset range of the target object, that the terminal does not satisfy the video frame stop playing condition.
  • the first play detecting unit 20 includes:
  • the light intensity determining module 24 is configured to determine whether the light intensity of the front end of the terminal is less than a preset light intensity
  • the third condition determining module 25 is configured to determine that the terminal satisfies the video frame stop playing condition when the light intensity of the front end of the terminal is less than the preset light intensity;
  • the fourth condition determining module 26 is configured to determine, when the light intensity of the front end of the terminal is not less than the preset light intensity, that the terminal does not satisfy the video frame stop playing condition.
  • the apparatus further includes: an audio play parameter acquisition unit 40, a second play detection unit 50, a video play parameter acquisition unit 60, and a video frame data playback control.
  • Unit 70 wherein
  • the audio play parameter obtaining unit 40 is configured to acquire current audio play parameters of the audio data in real time
  • a second play detecting unit 50 configured to detect whether the terminal satisfies a video frame playing condition
  • the video playing parameter obtaining unit 60 is configured to acquire a video playing parameter corresponding to the current audio playing parameter when the terminal satisfies the video frame playing condition;
  • the video frame data playing control unit 70 is configured to control the terminal to play video frame data corresponding to the video playing parameter in the video.
  • the apparatus further includes: a screen control display unit 80, wherein
  • the screen control display unit 80 is configured to control the terminal to close the screen display of the terminal.
  • the present invention is applicable to a wide variety of general purpose or special purpose computing system environments or configurations.
  • the invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, the part of each implementation manner of the terminal control method provided by the embodiment shown in FIG. 1 to FIG. 5 can be implemented. Or all steps.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Social Psychology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Ecology (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Emergency Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Environmental Sciences (AREA)
  • Remote Sensing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

本发明是关于一种终端控制方法及装置,其方法包括:在所述终端播放视频时,获取所述视频的视频数据,所述视频数据包括:视频帧数据和音频数据;检测所述终端是否满足视频帧停止播放条件;当所述终端满足视频帧停止播放条件时,控制所述终端停止播放所述视频帧数据,并控制所述终端继续播放所述音频数据。这样在不需要播放视频中的视频帧数据时,只播放视频中的音频数据,可以减少终端的耗电量,提高终端的续航时间。

Description

终端控制方法及装置
本申请要求于2016年3月14日提交中国专利局、申请号为2016101442164、发明名称为“终端控制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及终端技术领域,尤其涉及一种终端控制方法及装置。
背景技术
随着技术的不断发展,可供用户选择和使用的终端也越来越多,如手机、平板电脑及智能穿戴设备等,用户可以很方便的通过这些终端设备实现各种功能。然而,受限于智能终端电池容量的大小,使得很多终端的续航能力较弱。因此,在终端使用过程中如何提高终端的续航能力,成为当前亟待解决的问题。
发明内容
为克服相关技术中存在的问题,本发明实施例提供一种终端控制方法及装置。
根据本发明实施例的第一方面,提供一种终端控制方法,包括:
在所述终端播放视频时,获取所述视频的视频数据,所述视频数据包括:视频帧数据和音频数据;
检测所述终端是否满足视频帧停止播放条件;
当所述终端满足视频帧停止播放条件时,控制所述终端停止播放所述视频帧数据,并控制所述终端继续播放所述音频数据。
根据本发明实施例的第二方面,提供一种终端控制装置,包括:
视频数据获取单元,用于在所述终端播放视频时,获取所述视频的视频数据,所述视频数据包括:视频帧数据和音频数据;
第一播放检测单元,用于检测所述终端是否满足视频帧停止播放条件;
控制播放单元,用于在所述终端满足视频帧停止播放条件时,控制所述终端停止播放所述视频帧数据,并控制所述终端继续播放所述音频数据。
本发明实施例提供的技术方案可以包括以下有益效果:
本发明实施例提供的终端控制方法,在终端播放视频时,获取视频中的数据,并检测该终端是否满足视频停止播放条件。如果满足视频停止播放条件,那么控制该终端停止播放视频帧数据,并控制终端继续播放视频中的音频数据。这样在不需要播放视频中的视频帧数据时,只播放视频中的音频数据,可以减少终端的耗电量,提高终端的续航时间。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是根据一示例性实施例示出的一种终端控制方法的流程图;
图2是图1中步骤S120的流程图;
图3是图1中步骤S120的又一流程图;
图4是根据一示例性实施例示出的一种终端控制方法的流程图;
图5是根据一示例性实施例示出的一种终端控制方法的流程图;
图6是根据一示例性实施例示出的一种终端控制装置的结构示意图;
图7是图6中第一播放检测单元的示意图;
图8是图6中第一播放检测单元的又一示意图;
图9是根据一示例性实施例示出的一种终端控制装置的结构示意图;
图10是根据一示例性实施例示出的一种终端控制装置的结构示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
为了提高终端在使用过程中的续航能力问题,本发明实施例首先提供了一种终端控制方法,如图1所示,该方法可以包括如下步骤:
在步骤S110中,在终端播放视频时,获取视频的视频数据。
其中,视频数据包括:视频帧数据和音频数据。
该终端可以是手机、平板电脑等,实施例中以手机播放视频为例进行说明。视频数据主要由两部分组成:视频帧数据和音频数据。视频帧数据就是用户观看到的连续播放的图像画面;音频数据是视频中用户可以听到的声音。通常情况下,在用户通过手机播放视频时,不但可以观看终端上播放视频的图像画面,还可以听到视频中的声音。
在步骤S120中,检测终端是否满足视频帧停止播放条件。
在某些情况下,用户可能只想听到视频中的声音,而不想看到视频中的图像画面,这种情况下就需要检查当前终端是否满足视频帧停止播放条件。
示例性的,在用户的终端中播放某视频讲座时,由于视频画面中只有演讲者一个人在讲,用户觉得没必要观看,只需收听即可,那么这时终端可用通过检测用户的某些操作来判断是否满足视频帧停止播放条件,如用户将手机的显示屏一侧扣在桌面等。
当终端满足视频帧停止播放条件时,在步骤S130中,控制终端停止播放视频帧数据,并控制终端继续播放音频数据。
如果终端检测到了用户对终端的某些操作,满足视频帧停止播放条件时,就可以控制终端停止播放视频帧数据,并控制终端继续播放音频数据。即终端只播 放视频中的音频数据,停止播放视频中的视频帧数据。可以很好的减少终端的电量消耗,提高终端的续航时间。
当终端不满足视频帧停止播放条件时,在步骤S140中,控制终端继续播放视频帧数据及播放音频数据。
如果终端不满足视频帧停止播放条件,那么控制终端继续播放视频帧数据及播放音频数据,避免影响用户正常观看终端上播放的视频。
本发明实施例中提供的终端控制方法,在终端播放视频时,获取视频中的数据,并检测该终端是否满足视频停止播放条件。如果满足视频停止播放条件,那么控制该终端停止播放视频帧数据,并控制终端继续播放视频中的音频数据。这样在不需要播放视频中的视频帧数据时,只播放视频中的音频数据,可以减少终端的耗电量,提高终端的续航时间。
为了详细阐述终端是否满足视频帧停止播放条件,作为图1方法的细化,在本发明提供的又一实施例中,如图2所示,步骤S120还可以包括如下步骤:
在步骤S121中,判断终端是否在目标对象的预设范围之内。
仍旧以终端为手机为例,由于目前绝大多数手机为智能手机,而手机上通常会安装有距离传感器,通过距离传感器,手机可以很快检测到距离屏幕前方物体的距离是多少。其中,目标对象可以是使用该手机的人,或者其他物体等。
当终端不在目标对象的预设范围之内时,在步骤S122中,确定终端满足视频帧停止播放条件。
当终端在目标对象的预设范围之内时,在步骤S123中,确定终端不满足视频帧停止播放条件。
示例性的,如果终端不在目标对象的预设范围之内,如果用户将手机屏幕一侧扣在桌面上,那么手机会检测到手机屏幕距离桌面的距离很小,几乎为零,说明用户不想观看手机中播放视频的图像画面,这时可以停止播放视频中的视频帧数据。又或者,如果手机检测到用户距离手机屏幕很远(如大于5米),那么用户就不能清楚的观看手机中播放的图像画面,这时也可以确定终端满足视频停止播放条件。
示例性的,如果终端在目标对象的预设范围之内,如在0.2~1米范围内(用户可以根据需要条件该范围,这里只是示例性举例说明),说明用户很可能在正 常观看手机中播放的视频,这时可以确定终端不满足视频帧停止播放条件。
为了详细阐述终端是否满足视频帧停止播放条件,作为图1方法的细化,在本发明提供的又一实施例中,如图3所示,步骤S120还可以包括如下步骤:
在步骤S124中,判断终端前端的光线强度是否小于预设光线强度。
当终端前端的光线强度小于预设光线强度时,在步骤S125中,确定终端满足视频帧停止播放条件。
当终端前端的光线强度不小于预设光线强度时,在步骤S126中,确定终端不满足视频帧停止播放条件。
仍旧以终端为手机为例,由于目前绝大多数手机为智能手机,而手机上通常会安装有光线强度传感器,通过光线强度传感器,手机可以很快检测到手机屏幕前端的光线强度。需要说明的是,终端前端是指终端显示屏幕的前方。
如果终端上的光线强度传感器检查到当前的光线强度低于某一设定阈值,示例性的,如果用户将手机屏幕一侧扣在桌面上,那么手机会检测到手机屏幕前方的光线强度会很低,说明用户不想观看手机中播放视频的图像画面,这时可以停止播放视频中的视频帧数据。
需要说明的是,本发明提供的实施例可以相互结合,如可以将终端是否在目标对象的预设范围之内与终端前端的光线强度是否小于预设光线强度等条件结合起来使用,在同时满足或者有其中一个或几个满足条件时,确定终端满足视频帧停止播放条件。
作为图1方法的细化,在本发明提供的又一实施例中,如图4所示,该方法还可以包括如下步骤:
在步骤S150中,实时获取音频数据的当前音频播放参数。
由于在视频播放过程中,视频帧数据的播放要与音频帧的播放同步,为了在检测到终端满足视频帧播放条件时,及时将视频中的视频帧与当前播放的音频数据同步播放,需要实时获取音频数据的当前音频播放参数。其中,当前音频播放参数包括音频播放的播放时刻、播放内容等等信息。
在步骤S160中,检测终端是否满足视频帧播放条件。
该视频帧播放条件可以,如前述所述的手机与目标对象的距离是否在有效距 离范围之内,或光线强度是否达到一定强度等。
当终端满足视频帧播放条件时,在步骤S170中,获取与当前音频播放参数相对应的视频播放参数。
在步骤S180中,控制终端播放视频中与视频播放参数相对应的视频帧数据。
在终端满足视频帧停止播放条件时,这时就可以继续播放视频中的视频帧数据,并将该视频帧数据与当前播放的音频数据之间同步播放,避免因视频帧数据内容与音频数据内容不同步,造成用户无法正常观看视频。
当终端不满足视频帧播放条件时,在步骤S190中,控制终端继续停止播放视频帧数据,并控制终端继续播放音频数据。
如果终端不满足视频帧播放条件,控制终端继续停止播放视频帧数据,并控制终端继续播放音频数据。
作为图1方法的细化,在本发明提供的又一实施例中,如图5所示,该方法还可以包括如下步骤:
在步骤S510中,控制终端关闭终端的屏幕显示。
这时为了更加节省终端的电量,可以将其屏幕显示关闭,进一步提高续航能力。
本发明实施例提供的终端控制方法,在终端播放视频时,获取视频中的数据,并检测该终端是否满足视频停止播放条件。如果满足视频停止播放条件,那么控制该终端停止播放视频帧数据,并控制终端继续播放视频中的音频数据。这样在不需要播放视频中的视频帧数据时,只播放视频中的音频数据,可以减少终端的耗电量,提高终端的续航时间。
并且在需要继续播放视频中的视频帧数据时,可以及时将视频帧数据及时同步到当前音频数据中,使得视频帧数据和音频数据同步播放。还可以在停止播放视频中的视频帧数据时,关闭终端的屏幕显示,进一步降低终端的无用电量消耗,提高使用的续航能力。
通过以上的方法实施例的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或 者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:只读存储器(ROM)、随机存取存储器(RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
另外,作为对上述各实施例的实现,本发明实施例还提供了一种终端控制装置,该装置位于终端中,如图6所示,该装置包括:视频数据获取单元10、第一播放检测单元20和控制播放单元30,其中,
视频数据获取单元10,用于在所述终端播放视频时,获取所述视频的视频数据,所述视频数据包括:视频帧数据和音频数据;
第一播放检测单元20,用于检测所述终端是否满足视频帧停止播放条件;
控制播放单元30,用于在所述终端满足视频帧停止播放条件时,控制所述终端停止播放所述视频帧数据,并控制所述终端继续播放所述音频数据。
在本发明又一实施例中,基于图6,如图7所示,所述第一播放检测单元20,包括:
范围判断模块21,用于判断所述终端是否在所述目标对象的预设范围之内;
第一条件确定模块22,用于在所述终端不在所述目标对象的预设范围之内时,确定所述终端满足所述视频帧停止播放条件;
第二条件确定模块23,用于在所述终端在所述目标对象的预设范围之内时,确定所述终端不满足所述视频帧停止播放条件。
在本发明又一实施例中,基于图6,如图8所示,所述第一播放检测单元20,包括:
光线强度判断模块24,用于判断所述终端前端的光线强度是否小于预设光线强度;
第三条件确定模块25,用于在所述终端前端的光线强度小于预设光线强度时,确定所述终端满足所述视频帧停止播放条件;
第四条件确定模块26,用于在所述终端前端的光线强度不小于预设光线强度时,确定所述终端不满足所述视频帧停止播放条件。
在本发明又一实施例中,基于图6,如图9所示,该装置还包括:音频播放参数获取单元40、第二播放检测单元50、视频播放参数获取单元60和视频帧数据播放控制单元70,其中,
音频播放参数获取单元40,用于实时获取所述音频数据的当前音频播放参数;
第二播放检测单元50,用于检测所述终端是否满足视频帧播放条件;
视频播放参数获取单元60,用于在所述终端满足视频帧播放条件时,获取与所述当前音频播放参数相对应的视频播放参数;
视频帧数据播放控制单元70,用于控制所述终端播放所述视频中与所述视频播放参数相对应的视频帧数据。
在本发明又一实施例中,基于图6,如图10所示,该装置还包括:屏幕控制显示单元80,其中,
屏幕控制显示单元80,用于控制所述终端关闭所述终端的屏幕显示。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
可以理解的是,本发明可用于众多通用或专用的计算系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。
本发明可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本发明,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的 过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可实现图1-图5所示实施例提供的终端控制方法的各实现方式中的部分或全部步骤。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (10)

  1. 一种终端控制方法,其特征在于,包括:
    在所述终端播放视频时,获取所述视频的视频数据,所述视频数据包括:视频帧数据和音频数据;
    检测所述终端是否满足视频帧停止播放条件;
    当所述终端满足视频帧停止播放条件时,控制所述终端停止播放所述视频帧数据,并控制所述终端继续播放所述音频数据。
  2. 根据权利要求1所述的终端控制方法,其特征在于,所述检测所述终端是否满足视频帧停止播放条件,包括:
    判断所述终端是否在目标对象的预设范围之内;
    当所述终端不在所述目标对象的预设范围之内时,确定所述终端满足所述视频帧停止播放条件;
    当所述终端在所述目标对象的预设范围之内时,确定所述终端不满足所述视频帧停止播放条件。
  3. 根据权利要求1所述的终端控制方法,其特征在于,所述检测所述终端是否满足视频帧停止播放条件,包括:
    判断所述终端前端的光线强度是否小于预设光线强度;
    当所述终端前端的光线强度小于预设光线强度时,确定所述终端满足所述视频帧停止播放条件;
    当所述终端前端的光线强度不小于预设光线强度时,确定所述终端不满足所述视频帧停止播放条件。
  4. 根据权利要求1所述的终端控制方法,其特征在于,还包括:
    实时获取所述音频数据的当前音频播放参数;
    检测所述终端是否满足视频帧播放条件;
    当所述终端满足视频帧播放条件时,获取与所述当前音频播放参数相对应的视频播放参数;
    控制所述终端播放所述视频中与所述视频播放参数相对应的视频帧数 据。
  5. 根据权利要求1所述的终端控制方法,其特征在于,还包括:
    控制所述终端关闭所述终端的屏幕显示。
  6. 一种终端控制装置,其特征在于,包括:
    视频数据获取单元,用于在所述终端播放视频时,获取所述视频的视频数据,所述视频数据包括:视频帧数据和音频数据;
    第一播放检测单元,用于检测所述终端是否满足视频帧停止播放条件;
    控制播放单元,用于在所述终端满足视频帧停止播放条件时,控制所述终端停止播放所述视频帧数据,并控制所述终端继续播放所述音频数据。
  7. 根据权利要求6所述的终端控制装置,其特征在于,所述第一播放检测单元,包括:
    范围判断模块,用于判断所述终端是否在目标对象的预设范围之内;
    第一条件确定模块,用于在所述终端不在所述目标对象的预设范围之内时,确定所述终端满足所述视频帧停止播放条件;
    第二条件确定模块,用于在所述终端在所述目标对象的预设范围之内时,确定所述终端不满足所述视频帧停止播放条件。
  8. 根据权利要求6所述的终端控制装置,其特征在于,所述第一播放检测单元,包括:
    光线强度判断模块,用于判断所述终端前端的光线强度是否小于预设光线强度;
    第三条件确定模块,用于在所述终端前端的光线强度小于预设光线强度时,确定所述终端满足所述视频帧停止播放条件;
    第四条件确定模块,用于在所述终端前端的光线强度不小于预设光线强度时,确定所述终端不满足所述视频帧停止播放条件。
  9. 根据权利要求6所述的终端控制装置,其特征在于,还包括:
    音频播放参数获取单元,用于实时获取所述音频数据的当前音频播放参 数;
    第二播放检测单元,用于检测所述终端是否满足视频帧播放条件;
    视频播放参数获取单元,用于在所述终端满足视频帧播放条件时,获取与所述当前音频播放参数相对应的视频播放参数;
    视频帧数据播放控制单元,用于控制所述终端播放所述视频中与所述视频播放参数相对应的视频帧数据。
  10. 根据权利要求6所述的终端控制装置,其特征在于,还包括:
    屏幕控制显示单元,用于控制所述终端关闭所述终端的屏幕显示。
PCT/CN2016/088930 2016-03-14 2016-07-06 终端控制方法及装置 Ceased WO2017156929A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610144216.4A CN105828144A (zh) 2016-03-14 2016-03-14 终端控制方法及装置
CN201610144216.4 2016-03-14

Publications (1)

Publication Number Publication Date
WO2017156929A1 true WO2017156929A1 (zh) 2017-09-21

Family

ID=56987164

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088930 Ceased WO2017156929A1 (zh) 2016-03-14 2016-07-06 终端控制方法及装置

Country Status (2)

Country Link
CN (1) CN105828144A (zh)
WO (1) WO2017156929A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197099A (zh) * 2017-06-21 2017-09-22 上海传英信息技术有限公司 一种利用光感控制多媒体播放的方法
CN107332992B (zh) * 2017-06-29 2020-08-25 维沃移动通信有限公司 一种视频播放方法及移动终端
CN109845280A (zh) * 2017-09-29 2019-06-04 腾讯科技(深圳)有限公司 基于流媒体的音视频播放方法及装置
CN111343505A (zh) * 2020-02-17 2020-06-26 深圳传音控股股份有限公司 数据处理方法和装置
CN114545785A (zh) * 2022-02-22 2022-05-27 深圳创维-Rgb电子有限公司 设备使用协助方法、终端设备、存储介质及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076170A (zh) * 2007-07-04 2007-11-21 中兴通讯股份有限公司 移动终端和用于移动终端的多媒体播放方法
US20080056542A1 (en) * 2006-08-30 2008-03-06 Ulead Systems, Inc. Face-detection-based remote-control system and method and face-detection-based remote-controllable multimedia system
CN101388975A (zh) * 2008-10-22 2009-03-18 中兴通讯股份有限公司 一种多媒体广播电视终端及在其上实现收音功能的方法
CN102800341A (zh) * 2012-07-02 2012-11-28 宇龙计算机通信科技(深圳)有限公司 终端多媒体播放的方法及其终端
CN103701984A (zh) * 2013-12-04 2014-04-02 乐视网信息技术(北京)股份有限公司 一种视频控制方法及手机终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10038740B2 (en) * 2013-08-19 2018-07-31 Nant Holdings Ip, Llc Camera-to-camera interactions, systems and methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080056542A1 (en) * 2006-08-30 2008-03-06 Ulead Systems, Inc. Face-detection-based remote-control system and method and face-detection-based remote-controllable multimedia system
CN101076170A (zh) * 2007-07-04 2007-11-21 中兴通讯股份有限公司 移动终端和用于移动终端的多媒体播放方法
CN101388975A (zh) * 2008-10-22 2009-03-18 中兴通讯股份有限公司 一种多媒体广播电视终端及在其上实现收音功能的方法
CN102800341A (zh) * 2012-07-02 2012-11-28 宇龙计算机通信科技(深圳)有限公司 终端多媒体播放的方法及其终端
CN103701984A (zh) * 2013-12-04 2014-04-02 乐视网信息技术(北京)股份有限公司 一种视频控制方法及手机终端

Also Published As

Publication number Publication date
CN105828144A (zh) 2016-08-03

Similar Documents

Publication Publication Date Title
US9933936B2 (en) Mobile terminal and controlling method thereof
US8638344B2 (en) Automatically modifying presentation of mobile-device content
US10372193B2 (en) User interface adaptation based on detected user location
US10360876B1 (en) Displaying instances of visual content on a curved display
US9268137B2 (en) Means for dynamically regulating the time-out characteristics of a display of an electronic device
US9348412B2 (en) Method and apparatus for operating notification function in user device
EP3535754B1 (en) Improved reception of audio commands
US20190013025A1 (en) Providing an ambient assist mode for computing devices
KR102262853B1 (ko) 복수의 마이크를 포함하는 전자 장치 및 이의 운용 방법
WO2017156929A1 (zh) 终端控制方法及装置
US20190045303A1 (en) Directional propagation method and apparatus for audio signal, a terminal device and a storage medium
US20160014476A1 (en) Intelligent closed captioning
WO2017071066A1 (zh) 信息处理方法及装置
DK201770116A1 (en) Social reminders
US20130072251A1 (en) Mobile terminal, method for controlling of the mobile terminal and system
USRE49497E1 (en) Apparatus, method, and system for desynchronizing notifications across multiple devices
US20130339852A1 (en) Stream-based media management
US20210368230A1 (en) Loudness adjustment method and apparatus, and electronic device and storage medium
KR20140129508A (ko) 사용자 디바이스의 기능 처리 방법 및 장치
WO2017088472A1 (zh) 一种播放视频的处理方法及装置
CN108551552A (zh) 图像处理方法、装置、存储介质及移动终端
TW201506812A (zh) 顯示方向切換方法及裝置、電子設備及機器可讀取儲存介質
CN105744325B (zh) 音视频播放控制方法及音视频播放控制装置
US9733956B2 (en) Adjusting settings based on sensor data
CN113138560B (zh) 终端控制方法、装置、设备及可读存储介质

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16894091

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16894091

Country of ref document: EP

Kind code of ref document: A1