WO2016145834A1 - 一种自动调节屏幕背光的方法及装置 - Google Patents

一种自动调节屏幕背光的方法及装置 Download PDF

Info

Publication number
WO2016145834A1
WO2016145834A1 PCT/CN2015/091934 CN2015091934W WO2016145834A1 WO 2016145834 A1 WO2016145834 A1 WO 2016145834A1 CN 2015091934 W CN2015091934 W CN 2015091934W WO 2016145834 A1 WO2016145834 A1 WO 2016145834A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
distance value
backlight
screen backlight
difference
Prior art date
Application number
PCT/CN2015/091934
Other languages
English (en)
French (fr)
Inventor
李海波
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016145834A1 publication Critical patent/WO2016145834A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • Embodiments of the present invention relate to, but are not limited to, the field of intelligent terminal design, and in particular, to a method and apparatus for automatically adjusting a screen backlight.
  • the embodiment of the invention provides a method and a device for automatically adjusting a screen backlight, which solves the problem that the smart terminal cannot intelligently recognize whether there is a need to extend the display time of the screen backlight in the related art, and the screen is accidentally extinguished.
  • Embodiments of the present invention provide a method for automatically adjusting a screen backlight, including:
  • the method for automatically adjusting the backlight of the screen further includes:
  • the screen backlight is turned off.
  • the package include:
  • the first distance value between the screen and the front shield of the screen is periodically acquired every interval of the preset reading time.
  • the adjusting the display duration of the screen backlight comprises:
  • the display duration of the screen backlight is adjusted according to the touch screen action.
  • the adjusting the display duration of the screen backlight according to the touch screen action comprises:
  • the timer of the screen backlight is restarted to adjust the display duration of the screen backlight.
  • the method before the obtaining the actual distance value between the screen and the front occlusion object, the method further includes:
  • the learning distance value between the screen and the obstruction in front of the screen is periodically acquired during a preset learning time
  • the average value is taken as the reference distance value between the screen and the obstruction in front of the screen.
  • An embodiment of the present invention further provides an apparatus for automatically adjusting a screen backlight, including:
  • a first obtaining module configured to obtain a first distance value between the screen and the obstruction in front of the screen
  • a first calculation module configured to calculate a first difference between the first distance value and a pre-stored reference distance value
  • the first processing module is configured to adjust a display duration of the screen backlight when the first difference is less than or equal to the first preset threshold.
  • the device for automatically adjusting the backlight of the screen further includes: a second processing module, configured to turn off the backlight of the screen when the first difference is greater than the first preset threshold.
  • the first obtaining module includes:
  • the obtaining unit is configured to periodically acquire a first distance value between the screen and the front shield of the screen at a preset reading time.
  • the first processing module includes:
  • a calculating unit configured to calculate a second difference value between the currently obtained first distance value and a second distance value obtained between the screen and the front screen obstruction in the previous period
  • a first processing unit configured to restart a timer of the screen backlight to adjust a display duration of the screen backlight when the second difference is greater than or equal to the second preset threshold
  • the second processing unit is configured to adjust the display duration of the screen backlight according to the touch screen action when the second difference is less than the second preset threshold.
  • the first processing module further includes:
  • the detecting unit is configured to detect whether a touch screen action occurs on the screen during the preset interval time
  • a third processing unit configured to turn off the backlight of the screen when no touch action occurs
  • the fourth processing unit is configured to restart a timer of the screen backlight when the touch screen action occurs to adjust the display duration of the screen backlight.
  • the device for automatically adjusting the backlight of the screen further includes:
  • a second acquiring module configured to periodically acquire a learning distance value between the screen and the front cover of the screen within a preset learning time
  • a second calculation module configured to calculate an average of the plurality of learning distance values
  • the third processing module is configured to use the average value as a reference distance value between the screen and the front shield.
  • the embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
  • a method and apparatus for automatically adjusting a screen backlight by detecting whether a difference between a first distance value of a screen and an object in front of the screen and a pre-stored reference distance value is in a first Within the threshold range, to determine whether the user is using the terminal to read, the display duration of the screen backlight can be extended according to the user's needs, and the screen backlight can be turned off when the user does not use, so as to save power consumption of the terminal.
  • FIG. 1 is a schematic flow chart showing a method for automatically adjusting a backlight of a screen according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of step 30 in FIG. 1;
  • FIG. 3 is a schematic flow chart showing the step 33 in Figure 2;
  • FIG. 4 is a schematic flow chart showing an example 1 of the first embodiment of the present invention.
  • FIG. 5 is a schematic flow chart of another method for automatically adjusting a backlight of a screen according to Embodiment 1 of the present invention.
  • FIG. 6 is a schematic flow chart showing an example 2 in the embodiment of the present invention.
  • FIG. 7 is a block diagram showing an apparatus for automatically adjusting a screen backlight according to Embodiment 2 of the present invention.
  • an embodiment of the present invention provides a method for automatically adjusting a screen backlight, including:
  • Step 10 Obtain a first distance value between the screen and the obstruction in front of the screen
  • the screen refers to the screen of the smart terminal, such as a mobile phone screen, a tablet screen, etc.; the obstruction refers to a face, a human eye, or a person's head.
  • the first distance value can be obtained in a variety of ways, such as infrared sensing test, ultrasonic sensing test or camera.
  • Step 20 Calculate a first difference between the first distance value and a pre-stored reference distance value
  • the reference distance value mentioned here is the distance from the screen of the user's face, the human eye or the person's head when reading, and accordingly, whether the current user is using the terminal is determined.
  • Step 30 Adjust the display duration of the screen backlight if the first difference is less than or equal to the first preset threshold.
  • the display duration of the screen backlight is adjusted to prevent the screen from being accidentally closed, thereby affecting the user experience.
  • the method further includes: turning off the screen backlight if the first difference is greater than the first preset threshold.
  • the first preset threshold refers to a floating range of the reference distance value. If the first difference exceeds the first preset threshold, the user does not read at the use terminal, and the screen backlight is turned off to save the terminal. Electricity.
  • determining whether the user is using the terminal by detecting whether a difference between the first distance value of the screen and the front occlusion object and the pre-stored reference distance value is within a first preset threshold range Reading, you can extend the display duration of the screen backlight according to user needs, and turn off the screen backlight when the user is not using, to save power consumption of the terminal.
  • step 10 includes: periodically acquiring a first distance value between the screen and the front shield of the screen every interval of the preset reading time.
  • the reading time mentioned here refers to the preset screen backlight off time, for example, 1 minute.
  • the screen backlight timer is off, that is, when the screen backlight display time reaches 1 minute, the current screen and the screen front are acquired.
  • the first distance value between the occluders that is, the first distance value between the screen and the front occlusion object is periodically acquired, and the acquisition period is a preset reading time.
  • Step 31 Calculate a second difference between the currently acquired first distance value and the second distance value obtained between the screen and the front screen obstruction in the previous period;
  • the distance value between the screen acquired in the previous cycle and the occlusion object in front of the screen is Bs, and the difference D2 between the first distance value Vr and the second distance value Bs is calculated.
  • Step 32 If the second difference is greater than or equal to the second preset threshold, restart the timer of the screen backlight to adjust the display duration of the screen backlight;
  • the second preset threshold is a preset error value C2. If D2 is greater than or equal to the error value C2, the timer of the screen backlight is restarted to adjust the display duration of the screen backlight. This is to prevent the terminal from being wiped out after being placed in the drawer.
  • Step 33 If the second difference is less than the second preset threshold, adjust the display duration of the screen backlight according to the touch screen action.
  • D2 is smaller than the error value C2
  • the obstruction in front of the screen is not a face, a human eye or a human head, and it is necessary to determine whether the reading of the screen backlight is performed by a touch screen action to adjust the display duration of the screen backlight. Prevent misuse.
  • how to adjust the display duration of the screen backlight according to the touch screen action can be performed by referring to the steps shown in FIG. 3:
  • Step 331 Detect whether a touch screen action occurs on the screen in a preset preset interval time
  • the preset interval time here is generally larger than the preset reading time or several times of the reading time.
  • the prior preset interval time refers to whether there is an action of touching the screen for a period of time before the determination of whether the screen has a touch screen action.
  • Step 332 If the touch screen action does not occur, turn off the screen backlight
  • the terminal may be placed close to the obstacle instead of the user reading, at which time the control screen backlight is turned off.
  • Step 333 If a touch screen action occurs, restart the timer of the screen backlight to adjust the display duration of the screen backlight.
  • Step 101 When the timing of the screen backlight timer ends, the ultrasonic sensor is activated;
  • Step 102 The ultrasonic sensor acquires the first distance between the current screen and the front cover of the screen.
  • Step 103 Calculate a first difference between the first distance value and a pre-stored reference distance value
  • Step 104 detecting whether the first difference exceeds a first preset threshold, if it is exceeded, step 109 is performed, if not, step 105 is performed;
  • Step 105 Calculate a second difference between the first distance value and a second distance value between the screen acquired in the previous period and the front screen obstruction;
  • Step 106 detecting whether the second difference exceeds a second preset threshold, if it is exceeded, step 108 is performed, if not, step 107 is performed;
  • Step 107 Detect whether the screen has a touch screen action in the previous preset interval time, if it occurs, step 108 is performed, if not, step 109 is performed;
  • Step 108 Restart the timer of the screen backlight to adjust the display duration of the screen backlight
  • Step 109 Turn off the screen backlight.
  • the reference distance value may be set to the empirical distance value when the user uses the terminal, or may be obtained from the main learning according to different users. As shown in FIG. 5, before step 10, the method further includes:
  • Step 01 periodically acquire a learning distance value between the screen and the obstruction in front of the screen within a preset learning time
  • the learning time referred to here is a period of time after the screen is unlocked, during which the distance value of the distance from the screen when the user is using the terminal can be learned.
  • the learning time can be set to 3 minutes.
  • the acquisition period can be set to 20s, so that in the third 9 learning distance values will be obtained during the minute of study.
  • Step 02 Calculate an average value of the plurality of learning distance values
  • Step 03 The average value is taken as the reference distance value between the screen and the obstruction in front of the screen.
  • the distance between the screen and the screen does not fluctuate too much, so the obtained nine learning distance values are averaged as the reference distance value when the user subsequently uses the terminal.
  • Step 001 unlock the screen, start learning, and start the ultrasonic sensor
  • Step 002 The ultrasonic sensor periodically acquires a learning distance value between the screen and the obstruction in front of the screen;
  • Step 003 Calculate an average value of the plurality of learning distance values
  • Step 004 detecting whether the predetermined learning time is exceeded, if yes, executing step 005, if not, executing step 002;
  • Step 005 The average value is taken as a reference distance value between the screen and the front cover of the screen.
  • the demand extends the display duration of the screen backlight, and the screen backlight can be turned off when the user does not use, thereby saving power consumption of the terminal.
  • the embodiment of the invention further provides a device for automatically adjusting the backlight of the screen. As shown in FIG. 7, the device includes:
  • the first obtaining module 101 is configured to acquire a first distance value between the screen and the front shield of the screen;
  • the first calculating module 201 is configured to calculate a first difference between the first distance value and the pre-stored reference distance value
  • the first processing module 301 is configured to adjust a display duration of the screen backlight when the first difference is less than or equal to the first preset threshold.
  • the device for automatically adjusting the backlight of the screen further includes: a second processing module, configured to turn off the backlight of the screen when the first difference is greater than the first preset threshold.
  • the first obtaining module 101 includes:
  • the first processing module 301 includes:
  • a calculating unit configured to calculate a second difference value between the currently acquired first distance value and a second distance value obtained between the screen and the front screen obstruction in the previous period
  • a first processing unit configured to restart a timer of the screen backlight to adjust a display duration of the screen backlight when the second difference is greater than or equal to the second preset threshold
  • the second processing unit is configured to adjust the display duration of the screen backlight according to the touch screen action when the second difference is less than the second preset threshold.
  • the first processing module 301 further includes:
  • a detecting unit configured to detect whether a touch screen action occurs on the screen within a preset interval time
  • a third processing unit configured to turn off the backlight of the screen when no touch action occurs
  • the fourth processing unit is configured to restart a timer of the screen backlight when the touch screen action occurs to adjust the display duration of the screen backlight.
  • the device for automatically adjusting the backlight of the screen further includes:
  • a second acquiring module configured to periodically acquire a learning distance value between the screen and the front cover of the screen within a preset learning time
  • a second calculation module configured to calculate an average of the plurality of learning distance values
  • the third processing module is configured to use the average value as a reference distance value between the screen and the front shield.
  • the device is a device corresponding to the above-mentioned method for automatically adjusting the screen backlight. All the implementations in the foregoing method embodiments are applicable to the embodiment of the device, and the same technical effects can be achieved.
  • the embodiment of the present invention determines whether the user is reading in the terminal by detecting whether the difference between the first distance value of the screen and the front occlusion object and the pre-stored reference distance value is within the first preset threshold value. According to the user's needs, the display duration of the screen backlight is extended, and the screen backlight can be turned off when the user does not use, thereby saving power consumption of the terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

一种自动调节屏幕背光的方法及装置,该方法包括:获取屏幕与屏幕前方遮挡物之间的第一距离值(S10);计算第一距离值与预先存储的参考距离值之间的第一差值(S20);若第一差值小于或等于第一预设阈值,则调整屏幕背光的显示时长(S30)。

Description

一种自动调节屏幕背光的方法及装置 技术领域
本发明实施例涉及但不限于智能终端设计领域,尤其涉及一种自动调节屏幕背光的方法及装置。
背景技术
每次使用手机或平板电脑看电子书、股票行情、新闻等时,屏幕会不合时宜的灭掉,而反复的点亮又很不方便。相关技术中是在系统设置中设置固定的屏幕背光显示时长,超过时间就自动灭屏休眠。手机或平板电脑等终端不能智能地察觉到用户在这些场景下有延长背光时间的需求,没有考虑用户正在使用但没有操作屏幕的场景,会发生误灭屏的情况,影响着用户的阅读体验。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种自动调节屏幕背光的方法及装置,解决了相关技术中智能终端不能智能识别是否有延长屏幕背光显示时间的需求,而发生误灭屏的问题。
本发明实施例提供了一种自动调节屏幕背光的方法,包括:
获取屏幕与屏幕前方遮挡物之间的第一距离值;
计算第一距离值与预先存储的参考距离值之间的第一差值;
若第一差值小于或等于第一预设阈值,则调整屏幕背光的显示时长。
可选地,该自动调节屏幕背光的方法还包括:
若所述第一差值大于第一预设阈值,则关闭屏幕背光。
可选地,其中,所述获取屏幕与屏幕前方遮挡物之间的第一距离值,包 括:
每间隔预先设定的阅读时间,周期性地获取屏幕与屏幕前方遮挡物之间的第一距离值。
可选地,其中,所述调整屏幕背光的显示时长,包括:
计算当前获取的第一距离值与上一周期获取到屏幕与屏幕前方遮挡物之间的第二距离值的第二差值;
若第二差值大于或等于第二预设阈值,则重新启动屏幕背光的定时器,以调整屏幕背光的显示时长;
若第二差值小于第二预设阈值,则根据触屏动作调整屏幕背光的显示时长。
可选地,其中,所述根据触屏动作调整屏幕背光的显示时长,包括:
检测预设间隔时间内,在屏幕是否发生触屏动作;
若未发生触屏动作,则关闭屏幕背光;
若发生触屏动作,则重新启动屏幕背光的定时器,以调整屏幕背光的显示时长。
可选地,所述在获取屏幕与屏幕前方遮挡物之间的实际距离值之前,所述方法还包括:
在预先设定的学习时间内,周期性获取屏幕与屏幕前方遮挡物之间的学习距离值;
计算多个学习距离值的平均值;
将平均值作为屏幕与屏幕前方遮挡物之间的参考距离值。
本发明实施例还提供了一种自动调节屏幕背光的装置,包括:
第一获取模块,设置为获取屏幕与屏幕前方遮挡物之间的第一距离值;
第一计算模块,设置为计算第一距离值与预先存储的参考距离值之间的第一差值;以及
第一处理模块,设置为当第一差值小于或等于第一预设阈值时,调整屏幕背光的显示时长。
可选地,该自动调节屏幕背光的装置还包括:第二处理模块,设置为当第一差值大于第一预设阈值时,关闭屏幕背光。
可选地,其中,第一获取模块包括:
获取单元,设置为每间隔预先设定的阅读时间,周期性地获取屏幕与屏幕前方遮挡物之间的第一距离值。
可选地,其中,第一处理模块包括:
计算单元,设置为计算当前获取的第一距离值与上一周期获取到屏幕与屏幕前方遮挡物之间的第二距离值的第二差值;
第一处理单元,设置为当第二差值大于或等于第二预设阈值时,重新启动屏幕背光的定时器,以调整屏幕背光的显示时长;以及
第二处理单元,设置为当第二差值小于第二预设阈值时,根据触屏动作调整屏幕背光的显示时长。
可选地,其中,第一处理模块还包括:
检测单元,设置为检测预设间隔时间内,在屏幕是否发生触屏动作;
第三处理单元,设置为当未发生触屏动作时,关闭屏幕背光;以及
第四处理单元,设置为当发生触屏动作时,重新启动屏幕背光的定时器,以调整屏幕背光的显示时长。
可选地,该自动调节屏幕背光的装置还包括:
第二获取模块,设置为在预先设定的学习时间内,周期性获取屏幕与屏幕前方遮挡物之间的学习距离值;
第二计算模块,设置为计算多个学习距离值的平均值;以及
第三处理模块,设置为将平均值作为屏幕与屏幕前方遮挡物之间的参考距离值。
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现上述方法。
本发明实施例的自动调节屏幕背光的方法及装置,通过检测屏幕与屏幕前方遮挡物的第一距离值与预先存储的参考距离值之间的差值是否在第一预 设阈值范围内,来判断用户是否在使用终端阅读,既可以根据用户需求延长屏幕背光的显示时长,又可以在用户不使用时关闭屏幕背光,以节省终端的耗电。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1表示本发明实施例一自动调节屏幕背光的方法的流程示意图;
图2表示图1中步骤30的流程示意图;
图3表示图2中步骤33的流程示意图;
图4表示本发明实施例一中示例一的流程示意图;
图5表示本发明实施例一另一种自动调节屏幕背光的方法的流程示意图;
图6表示本发明实施例中示例二的流程示意图;
图7表示本发明实施例二自动调节屏幕背光的装置的模块示意图。
本发明的实施方式
下面将参照附图更详细地描述本发明示例性实施例。虽然附图中显示了本发明示例性实施例,然而应当理解,可以以多种形式实现本发明实施例而不应被这里阐述的实施例所限制。
实施例一
为了根据用户需求自动调整屏幕背光的显示时长,如图1所示,本发明实施例提供了一种自动调节屏幕背光的方法,包括:
步骤10:获取屏幕与屏幕前方遮挡物之间的第一距离值;
这里,屏幕指的是智能终端的屏幕,例如:手机屏幕、平板电脑屏幕等;遮挡物指的是人脸、人眼或人的头部等。获取第一距离值可以通过多种方式,例如:红外传感测试、超声波传感测试或摄像头等方式。
步骤20:计算第一距离值与预先存储的参考距离值之间的第一差值;
其中,这里所说的参考距离值为在阅读时用户人脸、人眼或人的头部距离屏幕的距离,依此来判断当前用户是否在使用终端。
步骤30:若第一差值小于或等于第一预设阈值,则调整屏幕背光的显示时长。
如果第一差值落在第一预设阈值范围内,则说明用户在使用终端,这时将调整屏幕背光的显示时长,以防止屏幕误关闭,影响用户体验。
可选地,在步骤20之后还包括:若第一差值大于第一预设阈值,则关闭屏幕背光。
这里,第一预设阈值指的是参考距离值的浮动范围,如果第一差值超过第一预设阈值,则说明用户没有在使用终端阅读,这时将关闭屏幕背光以达到节省终端的耗电。
在本发明的实施例中,通过检测屏幕与屏幕前方遮挡物的第一距离值与预先存储的参考距离值之间的差值是否在第一预设阈值范围内,来判断用户是否在使用终端阅读,既可以根据用户需求延长屏幕背光的显示时长,又可以在用户不使用时关闭屏幕背光,以节省终端的耗电。
其中,步骤10包括:每间隔预先设定的阅读时间,周期性地获取屏幕与屏幕前方遮挡物之间的第一距离值。
这里所说的阅读时间指的是预先设定的屏幕背光关闭时间,例如1分钟,每当屏幕背光的定时器关闭时,即屏幕背光显示时间到了1分钟时,就会获取当前屏幕与屏幕前方遮挡物之间的第一距离值,即周期性地获取屏幕与屏幕前方遮挡物之间的第一距离值,获取周期为预设的阅读时间。
其中,如何调整屏幕背光的显示时长如图2所示,包括:
步骤31:计算当前获取的第一距离值与上一周期获取到屏幕与屏幕前方遮挡物之间的第二距离值的第二差值;
假设第一距离值为Vr,上一周期获取到的屏幕与屏幕前方遮挡物之间的距离值为Bs,计算第一距离值Vr与第二距离值Bs的差值D2。
步骤32:若第二差值大于或等于第二预设阈值,则重新启动屏幕背光的定时器,以调整屏幕背光的显示时长;
第二预设阈值为预设的误差值C2,如果D2大于或等于该误差值C2,则重新启动屏幕背光的定时器,以调整屏幕背光的显示时长。这是为了避免终端被放到抽屉里后不会灭屏的情况发生。
步骤33:若第二差值小于第二预设阈值,则根据触屏动作调整屏幕背光的显示时长。
如果D2小于误差值C2,则很可能存在屏幕前方的遮挡物并不是人脸、人眼或人头部的情况,则需要通过触屏动作判断是否在阅读,来调整屏幕背光的显示时长,以防止误操作。
其中,如何根据触屏动作调整屏幕背光的显示时长的操作可参照如图3所示的步骤进行:
步骤331:检测在先的预设间隔时间内,在屏幕是否发生触屏动作;
当Vr与Bs十分接近时,需要判断在先的预设间隔时间内是否发生过触屏动作,这里所说的预设间隔时间一般大于预设的阅读时间,或是阅读时间的几倍。所述在先的预设间隔时间是指,在做屏幕是否发生触屏动作的判断之前的一段时间内是否有触摸屏幕的动作。
步骤332:若未发生触屏动作,则关闭屏幕背光;
如果在该段间隔时间内没有发生过触屏动作,则说明终端可能放置在一个距离障碍物很近的地方,而不是用户在阅读,这时控制屏幕背光关闭。
步骤333:若发生触屏动作,则重新启动屏幕背光的定时器,以调整屏幕背光的显示时长。
如果在该段间隔时间内发生过触屏动作,则说明用户在阅读,需要重新启动屏幕背光的定时器,以调整屏幕背光的显示时长。
示例一
下面将结合示例对上述自动调节屏幕背光的方法进行说明。以采用超声波技术为例,如图4所示,
步骤101:当屏幕背光定时器的定时结束时,启动超声波传感器;
步骤102:超声波传感器获取当前屏幕与屏幕前方遮挡物之间的第一距 离值;
步骤103:计算第一距离值与预先存储的参考距离值之间的第一差值;
步骤104:检测第一差值是否超出第一预设阈值,如果超出,则执行步骤109,如果未超出,则执行步骤105;
步骤105:计算第一距离值与上一周期获取到的屏幕与屏幕前方遮挡物之间的第二距离值的第二差值;
步骤106:检测第二差值是否超出第二预设阈值,如果超过,则执行步骤108,如果未超过,则执行步骤107;
步骤107:检测在先的预设间隔时间内屏幕是否发生触屏动作,如果发生过,则执行步骤108,如果未发生过,则执行步骤109;
步骤108:重新启动屏幕背光的定时器,以调整屏幕背光的显示时长;
步骤109:关闭屏幕背光。
其中,上述参考距离值可以设定为用户使用终端时的经验距离值,亦可以根据不同用户来自主学习得到,如图5所示,在步骤10之前,还包括:
步骤01:在预先设定的学习时间内,周期性获取屏幕与屏幕前方遮挡物之间的学习距离值;
这里所指的学习时间是解锁屏幕后的一段时间,在这一段时间内可学习用户在使用终端时距离屏幕的距离值。例如可将学习时间设定为3分钟,当终端解锁进入主界面后学习时间开始计时,每隔预定时间就获取一次用户距离终端屏幕的学习距离值,例如获取周期可设置为20s,这样在三分钟的学习时间内会获取到9次学习距离值。
步骤02:计算多个学习距离值的平均值;
步骤03:将平均值作为屏幕与屏幕前方遮挡物之间的参考距离值。
由于同一个用户在使用终端时,与屏幕之间的距离值不会发生太大浮动,这样将获取到的9个学习距离值取平均值,作为该用户后续使用该终端时的参考距离值。
示例二
下面将结合示例对上述学习过程进行说明。以采用超声波技术为例,如图6所示,
步骤001:解锁屏幕,开始学习,启动超声波传感器;
步骤002:超声波传感器周期性获取屏幕与屏幕前方遮挡物之间的学习距离值;
步骤003:计算多个学习距离值的平均值;
步骤004:检测是否超出预先设定的学习时间,如果超出,则执行步骤005,如果未超出,则执行步骤002;
步骤005:将平均值作为屏幕与屏幕前方遮挡物之间的参考距离值。
通过超声波技术检测屏幕与屏幕前方遮挡物的第一距离值与预先存储的参考距离值之间的差值是否在第一预设阈值范围内,来判断用户是否在使用终端阅读,既可以根据用户需求延长屏幕背光的显示时长,又可以在用户不使用时关闭屏幕背光,以节省终端的耗电。
实施例二
本发明实施例还提供了一种自动调节屏幕背光的装置,如图7所示,该装置包括:
第一获取模块101,设置为获取屏幕与屏幕前方遮挡物之间的第一距离值;
第一计算模块201,设置为计算第一距离值与预先存储的参考距离值之间的第一差值;以及
第一处理模块301,设置为当第一差值小于或等于第一预设阈值时,调整屏幕背光的显示时长。
其中,该自动调节屏幕背光的装置还包括:第二处理模块,设置为当第一差值大于第一预设阈值时,关闭屏幕背光。
其中,第一获取模块101包括:
获取单元,设置为每间隔预先设定的阅读时间,周期性地获取屏幕与屏 幕前方遮挡物之间的第一距离值。
其中,第一处理模块301包括:
计算单元,设置为计算当前获取的第一距离值与上一周期获取到屏幕与屏幕前方遮挡物之间的第二距离值的第二差值;
第一处理单元,设置为当第二差值大于或等于第二预设阈值时,重新启动屏幕背光的定时器,以调整屏幕背光的显示时长;以及
第二处理单元,设置为当第二差值小于第二预设阈值时,根据触屏动作调整屏幕背光的显示时长。
其中,第一处理模块301还包括:
检测单元,设置为检测在预先设定的间隔时间内,在屏幕是否发生触屏动作;
第三处理单元,设置为当未发生触屏动作时,关闭屏幕背光;以及
第四处理单元,设置为当发生触屏动作时,重新启动屏幕背光的定时器,以调整屏幕背光的显示时长。
其中,该自动调节屏幕背光的装置还包括:
第二获取模块,设置为在预先设定的学习时间内,周期性获取屏幕与屏幕前方遮挡物之间的学习距离值;
第二计算模块,设置为计算多个学习距离值的平均值;以及
第三处理模块,设置为将平均值作为屏幕与屏幕前方遮挡物之间的参考距离值。
需要说明的是,该装置是与上述自动调节屏幕背光方法对应的装置,上述方法实施例中所有实现方式均适用于该装置的实施例中,也能达到相同的技术效果。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用 硬件的形式实现,也可以采用软件功能模块的形式实现。本发明实施例不限制于任何特定形式的硬件和软件的结合。
工业实用性
本发明实施例通过检测屏幕与屏幕前方遮挡物的第一距离值与预先存储的参考距离值之间的差值是否在第一预设阈值范围内,来判断用户是否在使用终端阅读,既可以根据用户需求延长屏幕背光的显示时长,又可以在用户不使用时关闭屏幕背光,以节省终端的耗电。

Claims (13)

  1. 一种自动调节屏幕背光的方法,包括:
    获取屏幕与所述屏幕前方遮挡物之间的第一距离值;
    计算所述第一距离值与预先存储的参考距离值之间的第一差值;
    若所述第一差值小于或等于第一预设阈值,则调整所述屏幕背光的显示时长。
  2. 根据权利要求1所述的自动调节屏幕背光的方法,所述方法还包括:
    若所述第一差值大于第一预设阈值,则关闭所述屏幕背光。
  3. 根据权利要求1所述的自动调节屏幕背光的方法,其中,所述获取屏幕与所述屏幕前方遮挡物之间的第一距离值,包括:
    每间隔预先设定的阅读时间,周期性地获取屏幕与所述屏幕前方遮挡物之间的第一距离值。
  4. 根据权利要求3所述的自动调节屏幕背光的方法,其中,所述调整所述屏幕背光的显示时长,包括:
    计算当前获取的第一距离值与上一周期获取到所述屏幕与所述屏幕前方遮挡物之间的第二距离值的第二差值;
    若所述第二差值大于或等于第二预设阈值,则重新启动所述屏幕背光的定时器,以调整所述屏幕背光的显示时长;
    若所述第二差值小于第二预设阈值,则根据触屏动作调整屏幕背光的显示时长。
  5. 根据权利要求4所述的自动调节屏幕背光的方法,其中,所述根据触屏动作调整屏幕背光的显示时长,包括:
    检测预设间隔时间内,在所述屏幕是否发生触屏动作;
    若未发生触屏动作,则关闭所述屏幕背光;
    若发生触屏动作,则重新启动所述屏幕背光的定时器,以调整所述屏幕背光的显示时长。
  6. 根据权利要求1~5任一项所述的自动调节屏幕背光的方法,所述在获取屏幕与所述屏幕前方遮挡物之间的距离值之前,所述方法还包括:
    在预先设定的学习时间内,周期性获取屏幕与所述屏幕前方遮挡物之间的学习距离值;
    计算多个学习距离值的平均值;
    将所述平均值作为屏幕与所述屏幕前方遮挡物之间的参考距离值。
  7. 一种自动调节屏幕背光的装置,包括:
    第一获取模块,设置为获取屏幕与所述屏幕前方遮挡物之间的第一距离值;
    第一计算模块,设置为计算所述第一距离值与预先存储的参考距离值之间的第一差值;以及
    第一处理模块,设置为当所述第一差值小于或等于第一预设阈值时,调整所述屏幕背光的显示时长。
  8. 根据权利要求7所述的自动调节屏幕背光的装置,所述装置还包括:
    第二处理模块,设置为当所述第一差值大于第一预设阈值时,关闭所述屏幕背光。
  9. 根据权利要求7所述的自动调节屏幕背光的装置,其中,所述第一获取模块包括:
    获取单元,设置为每间隔预先设定的阅读时间,周期性地获取屏幕与所述屏幕前方遮挡物之间的第一距离值。
  10. 根据权利要求9所述的自动调节屏幕背光的装置,其中,所述第一处理模块包括:
    计算单元,设置为计算当前获取的第一距离值与上一周期获取到所述屏幕与所述屏幕前方遮挡物之间的第二距离值的第二差值;
    第一处理单元,设置为当所述第二差值大于或等于第二预设阈值时,重新启动所述屏幕背光的定时器,以调整所述屏幕背光的显示时长;以及
    第二处理单元,设置为当所述第二差值小于第二预设阈值时,根据触屏 动作调整屏幕背光的显示时长。
  11. 根据权利要求10所述的自动调节屏幕背光的装置,其中,所述第一处理模块还包括:
    检测单元,设置为检测预设间隔时间内,在所述屏幕是否发生触屏动作;
    第三处理单元,设置为当未发生触屏动作时,关闭所述屏幕背光;以及
    第四处理单元,设置为当发生触屏动作时,重新启动所述屏幕背光的定时器,以调整所述屏幕背光的显示时长。
  12. 根据权利要求7~11任一项所述的自动调节屏幕背光的装置,所述装置还包括:
    第二获取模块,设置为在预先设定的学习时间内,周期性获取屏幕与所述屏幕前方遮挡物之间的学习距离值;
    第二计算模块,设置为计算多个学习距离值的平均值;以及
    第三处理模块,设置为将所述平均值作为屏幕与所述屏幕前方遮挡物之间的参考距离值。
  13. 一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现权利要求1-6任一项所述的方法。
PCT/CN2015/091934 2015-08-03 2015-10-14 一种自动调节屏幕背光的方法及装置 WO2016145834A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510466594.XA CN106406714A (zh) 2015-08-03 2015-08-03 一种自动调节屏幕背光的方法及装置
CN201510466594.X 2015-08-03

Publications (1)

Publication Number Publication Date
WO2016145834A1 true WO2016145834A1 (zh) 2016-09-22

Family

ID=56919655

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/091934 WO2016145834A1 (zh) 2015-08-03 2015-10-14 一种自动调节屏幕背光的方法及装置

Country Status (2)

Country Link
CN (1) CN106406714A (zh)
WO (1) WO2016145834A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106772390A (zh) * 2016-12-01 2017-05-31 北京小米移动软件有限公司 距离检测的装置及方法
CN107040658A (zh) * 2017-04-12 2017-08-11 奇酷互联网络科技(深圳)有限公司 移动终端及其控制屏幕的方法和装置
CN107277903A (zh) * 2017-06-30 2017-10-20 维沃移动通信有限公司 亮度调节方法及移动终端

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090207121A1 (en) * 2008-02-19 2009-08-20 Yung-Ho Shih Portable electronic device automatically controlling back light unit thereof and method for the same
CN102176733A (zh) * 2011-01-28 2011-09-07 宇龙计算机通信科技(深圳)有限公司 一种屏幕背光的控制方法、系统及移动终端
CN103336570A (zh) * 2013-05-28 2013-10-02 北京小米科技有限责任公司 休眠控制方法及终端
CN104133548A (zh) * 2013-05-03 2014-11-05 中国移动通信集团公司 确定视点区域及控制屏幕亮度的方法及装置
CN104202483A (zh) * 2014-08-20 2014-12-10 厦门美图移动科技有限公司 移动终端的显示屏开关控制
CN104460985A (zh) * 2014-10-23 2015-03-25 上海天奕达电子科技有限公司 一种基于人脸识别自动延续背光方法、系统及终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090207121A1 (en) * 2008-02-19 2009-08-20 Yung-Ho Shih Portable electronic device automatically controlling back light unit thereof and method for the same
CN102176733A (zh) * 2011-01-28 2011-09-07 宇龙计算机通信科技(深圳)有限公司 一种屏幕背光的控制方法、系统及移动终端
CN104133548A (zh) * 2013-05-03 2014-11-05 中国移动通信集团公司 确定视点区域及控制屏幕亮度的方法及装置
CN103336570A (zh) * 2013-05-28 2013-10-02 北京小米科技有限责任公司 休眠控制方法及终端
CN104202483A (zh) * 2014-08-20 2014-12-10 厦门美图移动科技有限公司 移动终端的显示屏开关控制
CN104460985A (zh) * 2014-10-23 2015-03-25 上海天奕达电子科技有限公司 一种基于人脸识别自动延续背光方法、系统及终端

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106772390A (zh) * 2016-12-01 2017-05-31 北京小米移动软件有限公司 距离检测的装置及方法
CN106772390B (zh) * 2016-12-01 2019-05-21 北京小米移动软件有限公司 距离检测的装置及方法
CN107040658A (zh) * 2017-04-12 2017-08-11 奇酷互联网络科技(深圳)有限公司 移动终端及其控制屏幕的方法和装置
CN107277903A (zh) * 2017-06-30 2017-10-20 维沃移动通信有限公司 亮度调节方法及移动终端

Also Published As

Publication number Publication date
CN106406714A (zh) 2017-02-15

Similar Documents

Publication Publication Date Title
JP6247384B2 (ja) エアコン起動方法、エアコン起動装置、コンピュータプログラム及びコンピュータ読み取り可能な記憶媒体
WO2016015586A1 (zh) 一种显示设备的背光调节方法及其显示设备、计算机程序产品和计算机可读记录介质
WO2015184810A1 (zh) 一种调整屏幕显示的方法和装置
CN104866066B (zh) 视频播放设备控制方法及装置
EP2787423B1 (en) Standby operation control method and device
WO2017143716A1 (zh) 待机状态控制方法及移动终端
TWI547937B (zh) 顯示器背光調整方法、顯示器背光調整裝置以及用於調整顯示器背光的電腦程式產品
CN113362775B (zh) 一种显示屏控制方法、装置、电子设备及存储介质
US20140050360A1 (en) Systems and methods for presence detection
CN106210330B (zh) 一种图像处理方法及终端
WO2016131285A1 (zh) 一种自动调节屏幕背光的方法及装置
US20140292638A1 (en) Computing system and method for automatically detecting fatigue status of user
US20150332085A1 (en) Method and system for adaptive adjustment of terminal
WO2016145834A1 (zh) 一种自动调节屏幕背光的方法及装置
CN104918309A (zh) 一种移动终端的节电方法及装置
KR20160017854A (ko) 표시 장치의 블링크 장치 및 블링크 유도 방법
TW201523443A (zh) 電子裝置作業系統自動喚醒方法及系統
CN105204651A (zh) 一种控制方法及装置
CN106409271A (zh) 一种防近视的方法及显示装置
US20130169523A1 (en) Electronic device and method for relieving visual fatigue using the electronic device
CN103533272A (zh) 一种显示装置及其工作方法
CN105025175A (zh) 显示装置及显示控制方法
US11937039B2 (en) TWS earphone, method and apparatus for reducing earphone energy consumption, and medium
US10015307B2 (en) Electronic device and usage control method
KR102055898B1 (ko) 영상 출력 장치 및 그 구동 방법

Legal Events

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

Ref document number: 15885206

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15885206

Country of ref document: EP

Kind code of ref document: A1