CN109036296B - Screen backlight brightness adjustment method, device, terminal and storage medium - Google Patents
Screen backlight brightness adjustment method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109036296B CN109036296B CN201811019854.9A CN201811019854A CN109036296B CN 109036296 B CN109036296 B CN 109036296B CN 201811019854 A CN201811019854 A CN 201811019854A CN 109036296 B CN109036296 B CN 109036296B
- Authority
- CN
- China
- Prior art keywords
- brightness
- screen backlight
- ambient light
- light intensity
- backlight brightness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3406—Control of illumination source
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Liquid Crystal Display Device Control (AREA)
- Liquid Crystal (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及终端领域,特别涉及一种屏幕背光亮度调节方法、装置、终端及存储介质。The embodiments of the present application relate to the field of terminals, and in particular, to a method, device, terminal, and storage medium for adjusting the brightness of a screen backlight.
背景技术Background technique
诸如手机一类的移动终端通常具有屏幕背光亮度自动调节功能。Mobile terminals such as mobile phones usually have the function of automatically adjusting the brightness of the screen backlight.
屏幕背光亮度自动调节功能开启后,终端通过光线传感器获取当前环境光强度,从而根据当前环境光强度调节屏幕背光亮度。其中,当前环境光强度越高,自动调节后屏幕背光亮度也越高。After the screen backlight brightness automatic adjustment function is enabled, the terminal obtains the current ambient light intensity through the light sensor, so as to adjust the screen backlight brightness according to the current ambient light intensity. Among them, the higher the current ambient light intensity, the higher the screen backlight brightness after automatic adjustment.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种屏幕背光亮度调节方法、装置、终端及存储介质,可以解决屏幕背光亮度自动调节功能开启后,当环境光强度较强时,直接将屏幕背光亮度调节至最大值,导致终端功耗增加的问题。所述技术方案如下:The embodiments of the present application provide a method, device, terminal, and storage medium for adjusting the brightness of the screen backlight, which can solve the problem of directly adjusting the brightness of the screen backlight to the maximum value when the ambient light intensity is strong after the automatic adjustment function of the screen backlight brightness is turned on. A problem that leads to an increase in the power consumption of the terminal. The technical solution is as follows:
一方面,提供了一种屏幕背光亮度调节方法,所述方法包括:In one aspect, a method for adjusting the brightness of a screen backlight is provided, the method comprising:
启用屏幕背光亮度自动调节功能时,获取环境光强度;Obtain the ambient light intensity when the screen backlight brightness automatic adjustment function is enabled;
若所述环境光强度大于环境光强度阈值,则将屏幕背光亮度设置为自动调节亮度上限,所述自动调节亮度上限小于屏幕背光亮度最大值;If the ambient light intensity is greater than the ambient light intensity threshold, the screen backlight brightness is set to the upper limit of the automatically adjusted brightness, and the upper limit of the automatically adjusted brightness is less than the maximum value of the screen backlight brightness;
当接收到亮度手动上调信号时,根据所述亮度手动上调信号上调所述屏幕背光亮度。When receiving a manual brightness increase signal, the brightness of the screen backlight is increased according to the manual brightness increase signal.
另一方面,提供了一种屏幕背光亮度调节装置,所述装置包括:In another aspect, a device for adjusting the brightness of a screen backlight is provided, the device comprising:
环境光获取模块,用于启用屏幕背光亮度自动调节功能时,获取环境光强度;The ambient light acquisition module is used to acquire the ambient light intensity when the screen backlight brightness automatic adjustment function is enabled;
第一调节模块,用于若所述环境光强度大于环境光强度阈值,则将屏幕背光亮度设置为自动调节亮度上限,所述自动调节亮度上限小于屏幕背光亮度最大值;a first adjustment module, configured to set the brightness of the screen backlight to an upper limit of the automatically adjusted brightness if the ambient light intensity is greater than the threshold of the ambient light intensity, and the upper limit of the automatically adjusted brightness is less than the maximum value of the brightness of the screen backlight;
第二调节模块,用于当接收到亮度手动上调信号时,根据所述亮度手动上调信号上调所述屏幕背光亮度。The second adjustment module is configured to increase the brightness of the screen backlight according to the manual brightness increase signal when receiving the manual brightness increase signal.
另一方面,提供了一种终端,所述终端包括处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现如上述方面所述的屏幕背光亮度调节方法。In another aspect, a terminal is provided, the terminal includes a processor and a memory; the memory stores at least one instruction for being executed by the processor to implement the screen according to the above aspect Backlight brightness adjustment method.
另一方面,提供了一种计算机可读存储介质,所述存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如上述方面所述的屏幕背光亮度调节方法。In another aspect, a computer-readable storage medium is provided, the storage medium stores at least one instruction for being executed by a processor to implement the method for adjusting the brightness of a screen backlight as described in the above aspects.
在启用屏幕背光亮度自动调节功能的状态下,通过获取环境光强度,在环境光强度大于环境光强度阈值时,将屏幕背光亮度设置为自动调节亮度上限,并在进一步接收到亮度手动上调信号时,根据该信号上调屏幕背光亮度;由于自动调节亮度上限小于屏幕背光亮度最大值,因此能够避免环境光较强情况下,直接将屏幕背光亮度上调至最大值,导致终端功耗过高的问题;并且,用户能够根据需求手动上调屏幕背光亮度,保证环境光较强情况下内容清晰显示。In the state where the automatic adjustment function of screen backlight brightness is enabled, by obtaining the ambient light intensity, when the ambient light intensity is greater than the ambient light intensity threshold, the screen backlight brightness is set to the upper limit of the automatic brightness adjustment, and when further receiving a signal for manual brightness adjustment , according to the signal to increase the brightness of the screen backlight; because the upper limit of the automatic adjustment of the brightness is less than the maximum value of the screen backlight brightness, it can avoid the problem that the screen backlight brightness is directly increased to the maximum value when the ambient light is strong, resulting in excessive power consumption of the terminal; In addition, users can manually increase the brightness of the screen backlight according to their needs to ensure that the content is clearly displayed in the case of strong ambient light.
附图说明Description of drawings
图1是本申请一个示例性实施例提供的终端的结构示意图;FIG. 1 is a schematic structural diagram of a terminal provided by an exemplary embodiment of the present application;
图2示出了本申请一个示例性实施例示出的屏幕背光亮度调节方法的流程图;FIG. 2 shows a flowchart of a method for adjusting the brightness of a screen backlight according to an exemplary embodiment of the present application;
图3示出了本申请另一个示例性实施例示出的屏幕背光亮度调节方法的流程图;FIG. 3 shows a flowchart of a method for adjusting the brightness of a screen backlight according to another exemplary embodiment of the present application;
图4是图3所示屏幕背光亮度调节方法的实施示意图;Fig. 4 is the implementation schematic diagram of the screen backlight brightness adjustment method shown in Fig. 3;
图5是不同亮度区间内亮度调节方式的示意图;5 is a schematic diagram of a brightness adjustment mode in different brightness intervals;
图6示出了本申请另一个示例性实施例示出的屏幕背光亮度调节方法的流程图;6 shows a flowchart of a method for adjusting the brightness of a screen backlight according to another exemplary embodiment of the present application;
图7示出了本申请一个实施例提供的屏幕背光亮度调节装置的结构框图。FIG. 7 shows a structural block diagram of an apparatus for adjusting the brightness of a screen backlight provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。As used herein, "plurality" refers to two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
在对本申请实施例进行解释说明之前,首先对本申请实施例的应用场景进行说明。图1示出了本申请一个示例性实施例所提供的终端的结构示意图。Before explaining the embodiments of the present application, the application scenarios of the embodiments of the present application are first described. FIG. 1 shows a schematic structural diagram of a terminal provided by an exemplary embodiment of the present application.
该终端100是具有图像显示功能电子设备。比如,该终端为智能手机、平板电脑、电子书阅读器或个人便携式计算机等等。The
可选的,该终端100中包括:处理器120、存储器140和显示屏160。Optionally, the
处理器120可以包括一个或者多个处理核心。处理器120利用各种接口和线路连接整个终端100内的各个部分,通过运行或执行存储在存储器140内的指令、程序、代码集或指令集,以及调用存储在存储器140内的数据,执行终端100的各种功能和处理数据。可选的,处理器120可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器120可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器120中,单独通过一块芯片进行实现。
存储器140可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器140包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器140可用于存储指令、程序、代码、代码集或指令集。存储器140可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储下面各个方法实施例中涉及到的数据等。The
显示屏160是用于显示图像的组件。显示屏160可以仅具有图像显示功能,也可以同时具有图像显示以及接收触摸操作的功能,即该显示屏160可以为触摸显示屏。并且,显示屏160可以是全面屏、异形屏、折叠屏、曲面屏或其他形式的屏幕,本申请实施例并不对此进行限定。The
本申请实施例中,显示屏160中包含图像显示层和背光层,其中,图像显示层用于显示图像,而背光层位于图像显示层下方,用于为液晶层提供光源,从而照亮图像显示层显示的图像。可选的,背光层可以采用发光二极管(Light Emitting Diode,LED)光源,本申请实施例并不对背光层采用的光源进行限定。In this embodiment of the present application, the
需要说明的是,为了实现屏幕背光亮度调节,本申请实施例中,终端中还设置有光线传感器,该光线传感器用于采集当前环境光强度,并将当前环境光强度发送至处理器120,以便处理器120根据当前环境光强度控制显示屏160的背光层进行亮度调节。可选的,该光线传感器设置在显示屏160一侧。It should be noted that, in order to realize the brightness adjustment of the screen backlight, in this embodiment of the present application, a light sensor is further provided in the terminal, and the light sensor is used to collect the current ambient light intensity and send the current ambient light intensity to the
当然,终端100还可以包含距离传感器、摄像头、加速度传感器、角速度传感器、定位模块、蓝牙模块等其他组件,本申请实施例并不对终端100的具体结构构成限定。Of course, the
相关技术中,终端提供了屏幕背光亮度自动调节和手动调节两种模式供用户选择使用。自动调节模式下,在环境光发生变化时,终端根据环境光强度,在屏幕背光亮度最小值和最大值之间自动调节屏幕背光亮度;而在手动调节模式下,终端将屏幕背光亮度设置为用户设定值,且不会根据环境光强度自动调节。In the related art, the terminal provides two modes of automatic adjustment and manual adjustment of the brightness of the screen backlight for the user to choose and use. In the automatic adjustment mode, when the ambient light changes, the terminal automatically adjusts the screen backlight brightness between the minimum and maximum screen backlight brightness according to the ambient light intensity; while in the manual adjustment mode, the terminal sets the screen backlight brightness to the user set value, and will not automatically adjust based on ambient light intensity.
手动调节模式下,环境光强度的调节完全依赖于用户,调节过程较为繁琐;而在自动调节模式下,由于能够任意调节屏幕背光亮度,导致在环境光较强环境下,屏幕背光亮度常被设置为最大值,导致终端功耗增加。In the manual adjustment mode, the adjustment of the ambient light intensity is completely dependent on the user, and the adjustment process is cumbersome; while in the automatic adjustment mode, since the screen backlight brightness can be adjusted arbitrarily, the screen backlight brightness is often set in a strong ambient light environment. is the maximum value, resulting in an increase in terminal power consumption.
而本申请实施例提供的方案中,终端通过将自动调节和手动调节相结合,在简化屏幕背光亮度调节的同时,避免终端将屏幕背光亮度自动设置为最大值,从而降低了终端的功耗,下面采用示意性的实施例进行说明。However, in the solution provided by the embodiment of the present application, the terminal combines automatic adjustment and manual adjustment, which simplifies the adjustment of the screen backlight brightness and avoids the terminal from automatically setting the screen backlight brightness to the maximum value, thereby reducing the power consumption of the terminal. Illustrative embodiments are used for description below.
请参考图2,其示出了本申请一个示例性实施例示出的屏幕背光亮度调节方法的流程图。本实施例以该方法应用于图1所示的终端100来举例说明。该方法包括:Please refer to FIG. 2 , which shows a flowchart of a method for adjusting the brightness of a screen backlight according to an exemplary embodiment of the present application. This embodiment is illustrated by taking the method applied to the terminal 100 shown in FIG. 1 as an example. The method includes:
步骤201,启用屏幕背光亮度自动调节功能时,获取环境光强度。Step 201: Obtain the ambient light intensity when the function of automatically adjusting the brightness of the screen backlight is enabled.
在一种可能的实施方式中,终端提供两种屏幕背光亮度调节方式供用户选择,分别为手动调节和自动调节,其中,手动调节方式下,终端仅根据用户手动设置情况调节屏幕背光亮度(此时可以停止获取环境光强度);而自动调节方式下,终端能够根据环境光自动调节屏幕背光亮度,并能够根据用户手动设置情况调节屏幕背光亮度。In a possible implementation, the terminal provides two screen backlight brightness adjustment modes for the user to choose, namely manual adjustment and automatic adjustment. In the automatic adjustment mode, the terminal can automatically adjust the screen backlight brightness according to the ambient light, and can adjust the screen backlight brightness according to the user's manual settings.
可选的,当启用屏幕背光亮度自动调节功能后,终端即通过光线传感器持续获取环境光强度(亮屏状态下),并将获取到的环境光强度发送至处理器。其中,光线传感器设置在屏幕一侧。Optionally, when the function of automatically adjusting the brightness of the screen backlight is enabled, the terminal continuously obtains the ambient light intensity (in a bright screen state) through the light sensor, and sends the obtained ambient light intensity to the processor. Among them, the light sensor is arranged on one side of the screen.
步骤202,若环境光强度大于环境光强度阈值,则将屏幕背光亮度设置为自动调节亮度上限,自动调节亮度上限小于屏幕背光亮度最大值。
不同于相关技术中,不论环境光强度如何,终端直接根据获取到的环境光强度直接确定屏幕背光亮度,本申请实施例中,获取到环境光强度之后,终端检测环境光强度是否大于环境光强度阈值,并在环境光强度大于环境光强度阈值时,将屏幕背光亮度设置为自动调节亮度上限。Different from the related art, regardless of the ambient light intensity, the terminal directly determines the screen backlight brightness according to the acquired ambient light intensity. In this embodiment of the present application, after acquiring the ambient light intensity, the terminal detects whether the ambient light intensity is greater than the ambient light intensity. threshold, and when the ambient light intensity is greater than the ambient light intensity threshold, the screen backlight brightness is set to the upper limit of the automatic brightness adjustment.
本申请实施例中自动调节亮度上限小于屏幕背光亮度最大值,即不论当前环境光强度多强,终端都无法将屏幕背光亮度设置为最大值,而只能在0至自动调节亮度上限这一背光亮度区间内设置屏幕背光亮度。In the embodiment of the present application, the upper limit of the automatically adjusted brightness is smaller than the maximum value of the brightness of the screen backlight, that is, no matter how strong the current ambient light intensity is, the terminal cannot set the brightness of the screen backlight to the maximum value, and can only adjust the backlight between 0 and the upper limit of the brightness automatically. Set the screen backlight brightness within the brightness range.
可选的,该自动调节亮度上限=屏幕背光亮度最大值×80%。Optionally, the upper limit of the automatically adjusted brightness = the maximum brightness of the screen backlight × 80%.
可选的,该环境光强度阈值为定值,也可以由终端根据当前运行状态动态确定。比如,当环境光强度阈值为80000lx。Optionally, the ambient light intensity threshold is a fixed value, and can also be dynamically determined by the terminal according to the current operating state. For example, when the ambient light intensity threshold is 80000lx.
可选的,该自动调节亮度上限与环境光强度阈值呈正相关关系,即环境光强度阈值越大,自动调节亮度上限也越大。Optionally, the upper limit of the automatically adjusted brightness is positively correlated with the ambient light intensity threshold, that is, the larger the ambient light intensity threshold is, the larger the upper limit of the automatically adjusted brightness is.
步骤203,当接收到亮度手动上调信号时,根据亮度手动上调信号上调屏幕背光亮度。
将屏幕背光亮度设置为自动调节亮度上限后,由于当前环境光较强,终端显示屏显示的内容可能清楚展示给用户。在这种情况下,用户可以通过手动方式进一步上调屏幕背光亮度,相应的,当接收到亮度手动上调信号时,终端根据亮度手动上调信号上调屏幕背光亮度,其中,手动上调后的屏幕背光亮度高于自动调节亮度上限。After the screen backlight brightness is set to automatically adjust the upper limit of the brightness, the content displayed on the terminal display screen may be clearly displayed to the user due to the strong current ambient light. In this case, the user can further increase the brightness of the screen backlight manually. Correspondingly, when receiving a manual brightness increase signal, the terminal will manually increase the brightness of the screen backlight according to the brightness increase signal. The manually increased screen backlight brightness is high to automatically adjust the upper limit of brightness.
比如,终端根据接收到的亮度手动上调信号,将屏幕背光亮度由80000lx上调至85000lx。For example, the terminal manually increases the signal according to the received brightness, and adjusts the screen backlight brightness from 80000lx to 85000lx.
在一种可能的实施方式中,当接收到亮度手动上调信号时,终端根据亮度手动上调信号指示的上调幅度,在自动调节亮度上限的基础上上调屏幕背光亮度。In a possible implementation manner, when receiving the manual brightness increase signal, the terminal increases the brightness of the screen backlight on the basis of automatically adjusting the upper limit of the brightness according to the increase range indicated by the manual brightness increase signal.
在其他可能的实施方式中,终端可以在用户界面中显示调节控件,并在接收到对调节控件的触发信号时,确定接收到的亮度手动上调信号,并自动根据当前环境光强度进一步上调屏幕背光亮度,以突破自动调节亮度上限的限制。In other possible implementations, the terminal may display adjustment controls in the user interface, and when receiving a trigger signal for the adjustment controls, determine the received signal for manual brightness adjustment, and automatically further adjust the screen backlight according to the current ambient light intensity Brightness to break through the limit of the automatic brightness limit.
需要说明的是,终端根据亮度手动上调信号上调屏幕背光亮度后,仍旧启用屏幕背光亮度自动调节功能。It should be noted that, after the terminal manually increases the brightness of the screen backlight according to the brightness-up signal, the function of automatically adjusting the brightness of the screen backlight is still enabled.
显然,与相关技术中的自动调节背光亮度的方案相比,本申请实施例中终端无法直接将屏幕背光亮度设置为最大值,在用户需要更高屏幕亮度时,根据用户手动操作才能进一步上调屏幕背光亮度,能够降低终端在高亮环境下的功耗,并保证用户的正常使用。Obviously, compared with the solution of automatically adjusting the backlight brightness in the related art, in the embodiment of the present application, the terminal cannot directly set the screen backlight brightness to the maximum value. When the user needs higher screen brightness, the screen can be further adjusted according to the user's manual operation. The brightness of the backlight can reduce the power consumption of the terminal in a bright environment and ensure the normal use of the user.
综上所述,本申请实施例中,在启用屏幕背光亮度自动调节功能的状态下,通过获取环境光强度,在环境光强度大于环境光强度阈值时,将屏幕背光亮度设置为自动调节亮度上限,并在进一步接收到亮度手动上调信号时,根据该信号上调屏幕背光亮度;由于自动调节亮度上限小于屏幕背光亮度最大值,因此能够避免环境光较强情况下,直接将屏幕背光亮度上调至最大值,导致终端功耗过高的问题;并且,用户能够根据需求手动上调屏幕背光亮度,保证环境光较强情况下内容清晰显示。To sum up, in the embodiment of the present application, in the state where the function of automatically adjusting the brightness of the screen backlight is enabled, by obtaining the ambient light intensity, when the ambient light intensity is greater than the ambient light intensity threshold, the screen backlight brightness is set to the upper limit of the automatic brightness adjustment , and when further receiving a manual brightness increase signal, the screen backlight brightness will be increased according to the signal; since the upper limit of the automatic brightness adjustment is less than the maximum screen backlight brightness, it can avoid the situation of strong ambient light, directly increasing the screen backlight brightness to the maximum In addition, users can manually increase the brightness of the screen backlight according to their needs to ensure that the content is clearly displayed in the case of strong ambient light.
可选的,获取环境光强度后,当检测到环境光强度大于环境光强度阈值小于环境光强度阈值时,终端即在环境光强度在自动亮度调节区间内调节屏幕背光亮度。其中,屏幕背光亮度与环境光强度呈正相关关系,且自动亮度调节区间的最大值为自动调节亮度上限。Optionally, after obtaining the ambient light intensity, when it is detected that the ambient light intensity is greater than the ambient light intensity threshold and less than the ambient light intensity threshold, the terminal adjusts the screen backlight brightness when the ambient light intensity is within the automatic brightness adjustment interval. Among them, the screen backlight brightness has a positive correlation with the ambient light intensity, and the maximum value of the automatic brightness adjustment interval is the upper limit of the automatic brightness adjustment.
可选的,屏幕背光亮度与环境光强度可以线性相关,也可以非线性相关,本申请实施例对此不做限定。Optionally, the brightness of the screen backlight and the intensity of the ambient light may be linearly or non-linearly related, which is not limited in this embodiment of the present application.
比如,当环境光强度阈值为80000lx,屏幕背光亮度最大值450nits,且动调节亮度上限为0.8×屏幕背光亮度最大值时,若当前环境光强度小于80000lx,终端则根据当前环境光强度,在(0,360nits)这一自动亮度调节区间内调节屏幕背光亮度。For example, when the ambient light intensity threshold is 80000lx, the maximum screen backlight brightness is 450nits, and the upper limit of the dynamic adjustment brightness is 0.8×the maximum screen backlight brightness, if the current ambient light intensity is less than 80000lx, the terminal will, according to the current ambient light intensity, set the value in ( 0, 360nits) to adjust the screen backlight brightness within the automatic brightness adjustment range.
在一种可能的实施方式中,终端通过屏幕背光亮度调节控件接收亮度手动上调操作,并在接收到亮度手动上调信号时,首先确定亮度手动上调信号指示的上调幅度,从而根据上调幅度,在自动调节亮度上限的基础上上调屏幕背光亮度。下面采用示意性的实施例进行说明。In a possible implementation, the terminal receives the manual brightness increase operation through the screen backlight brightness adjustment control, and when receiving the manual brightness increase signal, firstly determines the increase range indicated by the manual brightness increase signal, so as to automatically adjust the brightness according to the increase range. Adjust the brightness of the screen backlight on the basis of adjusting the upper limit of brightness. Illustrative embodiments are used for description below.
步骤301,启用屏幕背光亮度自动调节功能时,获取环境光强度。Step 301: Obtain the ambient light intensity when the function of automatically adjusting the brightness of the screen backlight is enabled.
步骤302,若环境光强度大于环境光强度阈值,则将屏幕背光亮度设置为自动调节亮度上限,自动调节亮度上限小于屏幕背光亮度最大值。
上述步骤301至302的实施方式可以参考步骤201至202,本实施例在此不再赘述。For the implementation of the foregoing
步骤303,当接收到屏幕背光亮度手动调节指令时,显示屏幕背光亮度调节控件,屏幕背光亮度调节控件指示的初始亮度为自动调节亮度上限。
其中,屏幕背光亮度手动调节指令用于触发显示屏幕背光亮度调节控件。The manual adjustment instruction of the screen backlight brightness is used to trigger the display screen backlight brightness adjustment control.
在一种可能的实施方式,当用户点击下拉栏中的亮度快捷调节图标时,终端即接收到屏幕背光亮度手动调节指令,进而在用户界面中显示屏幕背光亮度调节控件。In a possible implementation manner, when the user clicks the brightness shortcut adjustment icon in the drop-down bar, the terminal receives the manual adjustment instruction of the screen backlight brightness, and then displays the screen backlight brightness adjustment control in the user interface.
在另一种可能的实施方式中,当接收到下拉栏呼出指令时,终端确定接收到屏幕背光亮度手动调节指令,并直接在下拉栏中显示屏幕背光亮度调节控件。In another possible implementation manner, when receiving an outgoing command from the drop-down bar, the terminal determines to receive an instruction to manually adjust the brightness of the screen backlight, and directly displays the control for adjusting the brightness of the screen backlight in the drop-down bar.
在其他可能的实施方式中,为了方便用户快速手动调节屏幕背光亮度,终端将屏幕背光亮度设置为自动调节亮度上限后,在用户界面中显示快速调节控件,当接收到对快速调节控件的点击信号时,确定接收到屏幕背光亮度手动调节指令,并显示屏幕背光亮度调节控件。本申请实施例并不对呼出屏幕背光亮度调节控件的具体方式进行限定。In other possible implementation manners, in order to facilitate the user to quickly and manually adjust the brightness of the screen backlight, after the terminal sets the brightness of the screen backlight to the upper limit of the automatic brightness adjustment, a quick adjustment control is displayed in the user interface, and when a click signal for the quick adjustment control is received , confirm to receive the manual adjustment command of the screen backlight brightness, and display the screen backlight brightness adjustment control. The embodiment of the present application does not limit the specific manner of the control for adjusting the backlight brightness of the screen backlight when exhaling.
可选的,终端显示的屏幕背光亮度调节控件所指示的初始亮度为自动调节亮度上限。Optionally, the initial brightness indicated by the screen backlight brightness adjustment control displayed on the terminal is the upper limit of the automatically adjusted brightness.
另外,该屏幕背光亮度调节控件可以采用滚轮控件或者滑动条控件等等,本申请并不对屏幕背光亮度调节控件具体表现形式进行限定。In addition, the screen backlight brightness adjustment control may use a wheel control or a slider control, etc., and the present application does not limit the specific expression form of the screen backlight brightness adjustment control.
比如,当屏幕背光亮度调节控件包含亮度条和滑块,且自动调节亮度上限为0.8×屏幕背光亮度最大值时,接收到屏幕背光亮度手动调节指令时,显示的屏幕背光亮度调节控件中,滑块即位于亮度条的4/5处。For example, when the screen backlight brightness adjustment control includes a brightness bar and a slider, and the upper limit of the automatic adjustment brightness is 0.8 × the maximum screen backlight brightness, when the manual adjustment command of the screen backlight brightness is received, in the displayed screen backlight brightness adjustment control, slide the slider. The block is at 4/5 of the brightness bar.
示意性的,如图4所示,终端在用户界面中显示屏幕背光亮度调节控件41。Illustratively, as shown in FIG. 4 , the terminal displays a screen backlight
步骤304,接收作用于屏幕背光亮度调节控件的亮度手动上调信号。Step 304: Receive a manual brightness increase signal acting on the screen backlight brightness adjustment control.
进一步的,用户通过屏幕背光亮度调节控件手动上调屏幕背光亮度,相应的,终端接收作用于屏幕背光亮度调节控件的亮度手动上调信号。Further, the user manually adjusts the brightness of the screen backlight through the screen backlight brightness adjustment control, and accordingly, the terminal receives the brightness manual brightness adjustment signal acting on the screen backlight brightness adjustment control.
可选的,亮度手动上调信号由滑块拖动操作触发。Optionally, the manual brightness increase signal is triggered by a slider drag operation.
当然,用户也可以通过屏幕背光亮度调节控件手动下调屏幕背光亮度,甚至将自动调节切换为手动调节,本申请实施例对此不做限定。Of course, the user can also manually adjust the screen backlight brightness through the screen backlight brightness adjustment control, or even switch the automatic adjustment to manual adjustment, which is not limited in this embodiment of the present application.
示意性的,如图4所示,用户拖动屏幕背光亮度调节控件41中滑块向右移动时,终端即确定接收到亮度手动上调信号。Illustratively, as shown in FIG. 4 , when the user drags the slider in the screen backlight
步骤305,确定亮度手动上调信号所指示的上调幅度。
在一种可能的实施方式中,当屏幕背光亮度调节控件包含亮度条和滑块时,终端即根据滑块的拖动距离占亮度条长度的比例,确定上调幅度。其中,上调幅度=(拖动距离/亮度条长度)×屏幕背光亮度最大值。In a possible implementation, when the screen backlight brightness adjustment control includes a brightness bar and a slider, the terminal determines the increase range according to the ratio of the drag distance of the slider to the length of the brightness bar. Wherein, the upward adjustment range=(drag distance/brightness bar length)×maximum screen backlight brightness.
比如,当亮度条长度为200px,拖动距离为20px,且屏幕背光亮度最大值为450nits时,终端确定上调幅度为45nits。For example, when the length of the brightness bar is 200px, the drag distance is 20px, and the maximum brightness of the screen backlight is 450nits, the terminal determines that the upward adjustment range is 45nits.
当然,针对不同表现形式的屏幕背光亮度调节控件,确定亮度手动上调信号所指示的上调幅度的方式也可能不同,本申请实施例并不对此进行限定。Of course, for the screen backlight brightness adjustment controls of different expressions, the manner of determining the increase range indicated by the manual brightness increase signal may also be different, which is not limited in this embodiment of the present application.
步骤306,根据上调幅度和自动调节亮度上限确定目标屏幕背光亮度。Step 306: Determine the backlight brightness of the target screen according to the increase range and the upper limit of the automatically adjusted brightness.
进一步的,终端在自动调节亮度上限的基础上,根据上调幅度确定用户手动调节后的目标屏幕背光亮度,并基于目标屏幕背光亮度控制显示屏的背光层调节亮度。其中,目标屏幕背光亮度=自动调节亮度上限+上调幅度。Further, on the basis of automatically adjusting the upper limit of the brightness, the terminal determines the backlight brightness of the target screen manually adjusted by the user according to the increase range, and controls the backlight layer of the display screen to adjust the brightness based on the backlight brightness of the target screen. Among them, the target screen backlight brightness = automatic adjustment brightness upper limit + increase range.
结合步骤305中的示例,若自动调节亮度上限为360nits,且上调幅度为45nits,则将405nits确定为目标屏幕背光亮度。With reference to the example in
步骤307,若环境光强度降低,则根据环境光强度的降低幅度下调屏幕背光亮度。
终端根据环境光强度调节屏幕背光亮度过程中,持续获取当前环境光强度,并在检测到环境光强度降低时,进一步根据环境光强度的降低幅度下调屏幕背光亮度。During the process of adjusting the brightness of the screen backlight according to the ambient light intensity, the terminal continuously obtains the current ambient light intensity, and when detecting that the ambient light intensity decreases, it further adjusts the screen backlight brightness according to the decrease in the ambient light intensity.
示意性的,如图5所示,(0,自动调节亮度上限)这一区间内,支持自动上调或下调屏幕背光亮度,(自动调节亮度上限,屏幕背光亮度最大值)这一区间内,仅支持手动上调屏幕背光亮度,且支持自动下调。Schematically, as shown in Figure 5, within the interval of (0, automatically adjust the upper limit of brightness), it supports to automatically increase or decrease the brightness of the screen backlight. Support manual adjustment of screen backlight brightness, and support for automatic adjustment.
可选的,终端在当前屏幕背光亮度的基础上减去环境光强度指示的降低幅度,从而根据确定出实时的屏幕背光亮度。Optionally, the terminal subtracts the reduction range indicated by the ambient light intensity from the current screen backlight brightness, so as to determine the real-time screen backlight brightness.
需要说明的是,由于下调屏幕背光亮度并不会增加终端的功耗,因此,即便当前屏幕背光亮度大于自动调节亮度上限,终端也能够自动下调屏幕背光亮度,无需用户手动将屏幕背光亮度下调至自动调节亮度上限后,再进行自动下调。It should be noted that since lowering the screen backlight brightness will not increase the power consumption of the terminal, therefore, even if the current screen backlight brightness is greater than the upper limit of the automatically adjusted brightness, the terminal can automatically lower the screen backlight brightness without requiring the user to manually lower the screen backlight brightness to After the upper limit of brightness is automatically adjusted, it is automatically lowered.
本实施例中,终端通过屏幕背光亮度调节控件接收亮度手动上调信号,并根据亮度手动上调信号指示的上调幅度,在自动调节亮度上限的基础上上调亮度,确保能够根据用户手动调节清晰显示屏幕画面。In this embodiment, the terminal receives the signal of manual brightness increase through the screen backlight brightness adjustment control, and manually adjusts the increase range indicated by the signal according to the brightness, and adjusts the brightness on the basis of automatically adjusting the upper limit of the brightness, so as to ensure that the screen can be clearly displayed according to the manual adjustment by the user. .
另外,终端在检测到环境光强度降低时,根据环境光强度的降低幅度下调屏幕背光亮度,避免用户手动下调,提高了屏幕背光亮度的调节效率。In addition, when the terminal detects that the ambient light intensity has decreased, it adjusts the screen backlight brightness according to the reduction range of the ambient light intensity, so as to avoid manual adjustment by the user, thereby improving the adjustment efficiency of the screen backlight brightness.
在一种可能的实施方式中,上述实施例中的环境光强度阈值并非定值,而是由终端根据当前剩余电量情况动态确定。在图3所示实施例的基础上,如图6所示,上述步骤301之后,还包括如下步骤。In a possible implementation manner, the ambient light intensity threshold in the above embodiment is not a fixed value, but is dynamically determined by the terminal according to the current remaining power situation. On the basis of the embodiment shown in FIG. 3 , as shown in FIG. 6 , after the
步骤308,获取当前剩余电量。
其中,该当前剩余电量可以采用占电池电量百分比的形式表示。The current remaining power can be expressed in the form of a percentage of the battery power.
比如,终端获取到当前剩余电量为80%。For example, the terminal obtains that the current remaining power is 80%.
步骤309,根据当前剩余电量,确定自动调节亮度上限,自动调节亮度上限与当前剩余电量呈正相关关系。Step 309: Determine the upper limit of the automatically adjusted brightness according to the current remaining power, and the upper limit of the automatically adjusted brightness has a positive correlation with the current remaining power.
当前剩余电量充足时,即使自动将屏幕背光亮度调节至较高值,也不会对终端续航造成较大影响;而当前剩余电量不足时,自动将屏幕背光亮度调节至较高值,则会对终端续航造成较大影响。When the current remaining power is sufficient, even if the screen backlight brightness is automatically adjusted to a higher value, it will not have a great impact on the battery life of the terminal; and when the current remaining power is insufficient, automatically adjusting the screen backlight brightness to a higher value will cause The battery life of the terminal has a great impact.
因此,为了在保证终端续航的前提下,减少用户手动调节亮度的操作,终端根据当前剩余电量,动态确定自动调节亮度上限,其中,自动调节亮度上限与当前剩余电量呈正相关关系,即当前剩余电量越大,自动调节亮度上限也越大,相应的,终端能够在更大的亮度调节区间内自动调节屏幕背光亮度,从而更好的适应环境光。Therefore, in order to reduce the user's manual operation of adjusting the brightness under the premise of ensuring the battery life of the terminal, the terminal dynamically determines the upper limit of the automatic brightness adjustment according to the current remaining power. The larger the value, the higher the upper limit of the automatically adjusted brightness. Accordingly, the terminal can automatically adjust the brightness of the screen backlight within a larger brightness adjustment range, so as to better adapt to the ambient light.
在一种可能的实施方式中,终端预先建立剩余电量范围与自动调节亮度上限之间的对应关系,在获取到当前剩余电量后,首先确定当前剩余电量所属的剩余电量范围,进而基于该对应关系确定该剩余电量范围对应的自动调节亮度上限。示意性的,剩余电量范围与自动调节亮度上限之间的对应关系如表一所示。In a possible implementation manner, the terminal pre-establishes a corresponding relationship between the remaining power range and the upper limit of the automatic brightness adjustment, and after obtaining the current remaining power, first determines the remaining power range to which the current remaining power belongs, and then based on the corresponding relationship Determine the upper limit of the automatic brightness adjustment corresponding to the remaining power range. Illustratively, the corresponding relationship between the remaining power range and the upper limit of the automatically adjusted brightness is shown in Table 1.
表一Table I
在其他可能的实施方式中,终端还可以根据预设公式计算当前剩余电量对应的自动调节亮度上限,本申请实施例对此不做限定。In other possible implementation manners, the terminal may also calculate the upper limit of the automatically adjusted brightness corresponding to the current remaining power according to a preset formula, which is not limited in this embodiment of the present application.
步骤310,根据自动调节亮度上限确定环境光强度阈值,环境光强度阈值与自动调节亮度上限呈正相关关系。Step 310: Determine an ambient light intensity threshold according to the upper limit of the automatically adjusted brightness, and the threshold of the ambient light intensity has a positive correlation with the upper limit of the automatically adjusted brightness.
进一步的,根据确定出的自动调节亮度上限,终端确定环境光强度阈值,即确定自动屏幕背光亮度调节所适用的环境光强度范围,其中,环境光强度阈值与自动调节亮度上限呈正相关关系,即自动调节亮度上限越高,环境光强度阈值越大,终端所能自适应的环境光强度范围越大。Further, according to the determined upper limit of the automatically adjusted brightness, the terminal determines the threshold value of the ambient light intensity, that is, determines the range of ambient light intensity applicable to the automatic adjustment of the brightness of the screen backlight, wherein the threshold value of the ambient light intensity is positively correlated with the upper limit of the automatically adjusted brightness, that is, The higher the upper limit of the automatic brightness adjustment, the larger the ambient light intensity threshold, and the larger the ambient light intensity range that the terminal can adapt to.
在一种可能的实施方式中,终端预先建立自动调节亮度上限与环境光强度阈值之间的对应关系,在确定出自动调节亮度上限后,即基于该对应关系确定出环境光强度阈值。示意性的,动调节亮度上限与环境光强度阈值之间的对应关系如表二所示。In a possible implementation manner, the terminal pre-establishes a correspondence between the upper limit of the automatically adjusted brightness and the threshold of the ambient light intensity, and after the upper limit of the automatically adjusted brightness is determined, the threshold of the ambient light intensity is determined based on the correspondence. Illustratively, the corresponding relationship between the upper limit of the dynamic adjustment brightness and the threshold value of the ambient light intensity is shown in Table 2.
表二Table II
确定出环境光强度阈值和自动调节亮度上限后,终端继续执行步骤302,进行实现屏幕背光亮度自适应调节。After determining the ambient light intensity threshold and the upper limit of the automatically adjusted brightness, the terminal continues to perform
本实施例中,终端根据当前剩余电量,动态确定环境光强度阈值和自动调节亮度上限,使得在电量充足情况下,终端能够在更大的自动亮度调节区间内调节屏幕背光亮度;在电量不足情况下,终端能够缩小自动亮度调节区间,避免自动将屏幕背光调节至过高亮度,从而降低终端功耗,保证终端续航。In this embodiment, the terminal dynamically determines the ambient light intensity threshold and the upper limit of automatic brightness adjustment according to the current remaining power, so that when the power is sufficient, the terminal can adjust the screen backlight brightness within a larger automatic brightness adjustment interval; In this way, the terminal can narrow the automatic brightness adjustment interval and avoid automatically adjusting the screen backlight to an excessively high brightness, thereby reducing the power consumption of the terminal and ensuring the battery life of the terminal.
当终端电量充沛时,为了保证高光环境下屏幕画面的清晰显示,允许终端自动将屏幕背光亮度设置为大于自动调节亮度上限;而在终端电量不足时,为了保证终端的续航,仅允许用户手动将屏幕背光亮度设置为大于自动调节亮度上限。在一种可能的实施方式中,终端获取环境光强度之后,获取当前剩余电量。When the power of the terminal is sufficient, in order to ensure the clear display of the screen in a high-light environment, the terminal is allowed to automatically set the brightness of the screen backlight to a value greater than the upper limit of the automatically adjusted brightness. The screen backlight brightness is set to be greater than the automatic adjustment brightness limit. In a possible implementation manner, the terminal acquires the current remaining power after acquiring the ambient light intensity.
若当前剩余电量低于电量阈值,且环境光强度大于环境光强度阈值,则将屏幕背光亮度设置为自动调节亮度上限;相反的,若当前剩余电量高于电量阈值,且环境光强度大于环境光强度阈值,则根据环境光强度自动调节屏幕背光亮度,其中,调节后的屏幕背光亮度大于自动调节亮度上限。比如,该电量阈值为电池容量的60%If the current remaining power is lower than the power threshold and the ambient light intensity is greater than the ambient light intensity threshold, the screen backlight brightness will be set to the upper limit of the automatic brightness adjustment; on the contrary, if the current remaining power is higher than the power threshold and the ambient light intensity is greater than the ambient light If the intensity threshold is set, the screen backlight brightness is automatically adjusted according to the ambient light intensity, wherein the adjusted screen backlight brightness is greater than the upper limit of the automatically adjusted brightness. For example, the charge threshold is 60% of the battery capacity
通常情况下,用户观看静态画面中的内容时,比如锁屏界面下查看时间、阅读电子书时,即使屏幕背光亮度较低,用户通过反复查看也能够知悉显示的内容,对用户使用影响较小;而在观看动态画面时,比如观看视频、进行游戏时,屏幕背光亮度较低将影响正常使用。在一种可能的实施方式中,终端获取环境光强度之后,获取用户界面的画面类型。若画面类型为静态画面,且环境光强度大于环境光强度阈值,则将屏幕背光亮度设置为自动调节亮度上限;若画面类型为动态画面,且环境光强度大于环境光强度阈值,则根据环境光强度自动调节屏幕背光亮度,其中,调节后的屏幕背光亮度大于自动调节亮度上限。Under normal circumstances, when a user is watching the content in a static screen, such as viewing time under the lock screen interface or reading an e-book, even if the screen backlight brightness is low, the user can know the displayed content through repeated viewing, which has little impact on the user's use. ; When watching dynamic pictures, such as watching videos or playing games, the low brightness of the screen backlight will affect normal use. In a possible implementation manner, after acquiring the ambient light intensity, the terminal acquires the screen type of the user interface. If the picture type is static picture and the ambient light intensity is greater than the ambient light intensity threshold, set the screen backlight brightness to the upper limit of automatic brightness adjustment; if the picture type is dynamic picture and the ambient light intensity is greater than the ambient light intensity threshold, the ambient light The intensity automatically adjusts the brightness of the screen backlight, wherein the adjusted screen backlight brightness is greater than the upper limit of the automatically adjusted brightness.
可选的,该静态画面包括如下至少一种:锁屏界面、电子书界面、消息查看界面;动态画面包括如下至少一种:游戏界面、视频界面、Optionally, the static picture includes at least one of the following: a lock screen interface, an e-book interface, and a message viewing interface; the dynamic picture includes at least one of the following: a game interface, a video interface,
在其他可能的实施方式中,终端还可以获取前台应用程序的历史平均使用时长,并在历史平均使用时长小于时长阈值(比如5分钟),且环境光强度大于环境光强度阈值时,将屏幕背光亮度设置为自动调节亮度上限;在历史平均使用时长大于时长阈值(表明需要长时间使用前台应用程序),且环境光强度大于环境光强度阈值时,根据环境光强度自动调节屏幕背光亮度(调节后的屏幕背光亮度大于自动调节亮度上限)。本申请实施例对此不做限定。In other possible implementations, the terminal may also obtain the historical average usage duration of the foreground application, and when the historical average usage duration is less than the duration threshold (for example, 5 minutes) and the ambient light intensity is greater than the ambient light intensity threshold, the screen is backlit The brightness is set to automatically adjust the upper limit of the brightness; when the historical average usage time is greater than the duration threshold (indicating that the foreground application needs to be used for a long time), and the ambient light intensity is greater than the ambient light intensity threshold, the screen backlight brightness is automatically adjusted according to the ambient light intensity (after adjustment) The brightness of the screen backlight is greater than the automatic adjustment brightness limit). This embodiment of the present application does not limit this.
请参考图7,其示出了本申请一个实施例提供的屏幕背光亮度调节装置的结构框图。该屏幕背光亮度调节装置可以通过软件、硬件或者两者的结合实现成为终端的全部或一部分。该装置包括:Please refer to FIG. 7 , which shows a structural block diagram of an apparatus for adjusting the brightness of a screen backlight provided by an embodiment of the present application. The device for adjusting the brightness of the screen backlight can be implemented as all or a part of the terminal through software, hardware or a combination of the two. The device includes:
环境光获取模块710,用于启用屏幕背光亮度自动调节功能时,获取环境光强度;The ambient
第一调节模块720,用于若所述环境光强度大于环境光强度阈值,则将屏幕背光亮度设置为自动调节亮度上限,所述自动调节亮度上限小于屏幕背光亮度最大值;a
第二调节模块730,用于当接收到亮度手动上调信号时,根据所述亮度手动上调信号上调所述屏幕背光亮度。The
可选的,所述第二调节模块720,用于:Optionally, the
当接收到所述亮度手动上调信号时,根据所述亮度手动上调信号指示的上调幅度,在所述自动调节亮度上限的基础上上调所述屏幕背光亮度。When the manual brightness increase signal is received, the brightness of the screen backlight is increased on the basis of the upper limit of the automatically adjusted brightness according to the increase range indicated by the manual brightness increase signal.
可选的,所述第二调节模块720,具体用于:Optionally, the
当接收到屏幕背光亮度手动调节指令时,显示屏幕背光亮度调节控件,所述屏幕背光亮度调节控件指示的初始亮度为所述自动调节亮度上限;When receiving the manual adjustment instruction of screen backlight brightness, display the screen backlight brightness adjustment control, and the initial brightness indicated by the screen backlight brightness adjustment control is the upper limit of the automatically adjusted brightness;
接收作用于所述屏幕背光亮度调节控件的所述亮度手动上调信号;receiving the brightness manual up-adjustment signal acting on the screen backlight brightness adjustment control;
确定所述亮度手动上调信号所指示的所述上调幅度;determining the magnitude of the upward adjustment indicated by the manual brightness upward adjustment signal;
根据所述上调幅度和所述自动调节亮度上限确定目标屏幕背光亮度,所述目标屏幕背光亮度=所述自动调节亮度上限+所述上调幅度。The target screen backlight brightness is determined according to the increase range and the upper limit of the automatically adjusted brightness, the target screen backlight brightness=the upper limit of the automatically adjusted brightness+the increase range.
可选的,所述装置还包括:Optionally, the device further includes:
第三调节模块740,用于若所述环境光强度小于所述环境光强度阈值,则根据所述环境光强度在自动亮度调节区间内调节所述屏幕背光亮度;A third adjustment module 740, configured to adjust the brightness of the screen backlight within an automatic brightness adjustment interval according to the ambient light intensity if the ambient light intensity is less than the ambient light intensity threshold;
其中,所述屏幕背光亮度与所述环境光强度呈正相关关系,且所述自动亮度调节区间的最大值为所述自动调节亮度上限。Wherein, the brightness of the screen backlight is positively correlated with the intensity of the ambient light, and the maximum value of the automatic brightness adjustment interval is the upper limit of the automatic brightness adjustment.
可选的,所述装置还包括:Optionally, the device further includes:
下调模块,用于若所述环境光强度降低,则根据所述环境光强度的降低幅度下调所述屏幕背光亮度。A down-regulation module, configured to down-regulate the screen backlight brightness according to the reduction range of the ambient light intensity if the ambient light intensity decreases.
可选的,所述装置还包括:Optionally, the device further includes:
电量获取模块,用于获取当前剩余电量;The power acquisition module is used to obtain the current remaining power;
所述第一调节模块720,用于:The
若所述当前剩余电量低于电量阈值,且所述环境光强度大于所述环境光强度阈值,则将屏幕背光亮度设置为自动调节亮度上限。If the current remaining power is lower than the power threshold, and the ambient light intensity is greater than the ambient light intensity threshold, the screen backlight brightness is set to the upper limit of the automatically adjusted brightness.
可选的,所述装置还包括:Optionally, the device further includes:
电量获取模块,获取当前剩余电量;Power acquisition module to obtain the current remaining power;
第一确定模块,用于根据所述当前剩余电量,确定所述自动调节亮度上限,所述自动调节亮度上限与所述当前剩余电量呈正相关关系;a first determining module, configured to determine the upper limit of the automatically adjusted brightness according to the current remaining power, and the upper limit of the automatically adjusted brightness is positively correlated with the current remaining power;
第二确定模块,用于根据所述自动调节亮度上限确定所述环境光强度阈值,所述环境光强度阈值与所述自动调节亮度上限呈正相关关系。The second determination module is configured to determine the ambient light intensity threshold according to the automatically adjusted brightness upper limit, where the ambient light intensity threshold is positively correlated with the automatically adjusted brightness upper limit.
可选的,所述装置方法还包括:Optionally, the device method further includes:
类型获取模块,用于获取用户界面的画面类型,所述画面类型包括静态画面和动态画面;a type acquisition module, used for acquiring the picture type of the user interface, and the picture type includes a static picture and a dynamic picture;
所述第一调节模块720,用于:The
若所述画面类型为所述静态画面,且所述环境光强度大于所述环境光强度阈值,则将屏幕背光亮度设置为自动调节亮度上限。If the picture type is the static picture and the ambient light intensity is greater than the ambient light intensity threshold, the screen backlight brightness is set to the upper limit of the automatically adjusted brightness.
综上所述,本申请实施例中,在启用屏幕背光亮度自动调节功能的状态下,通过获取环境光强度,在环境光强度大于环境光强度阈值时,将屏幕背光亮度设置为自动调节亮度上限,并在进一步接收到亮度手动上调信号时,根据该信号上调屏幕背光亮度;由于自动调节亮度上限小于屏幕背光亮度最大值,因此能够避免环境光较强情况下,直接将屏幕背光亮度上调至最大值,导致终端功耗过高的问题;并且,用户能够根据需求手动上调屏幕背光亮度,保证环境光较强情况下内容清晰显示。To sum up, in the embodiment of the present application, in the state where the function of automatically adjusting the brightness of the screen backlight is enabled, by obtaining the ambient light intensity, when the ambient light intensity is greater than the ambient light intensity threshold, the screen backlight brightness is set to the upper limit of the automatically adjusted brightness , and when further receiving a signal of manual brightness adjustment, the brightness of the screen backlight will be increased according to the signal; since the upper limit of the automatic brightness adjustment is less than the maximum value of the brightness of the screen backlight, it can be avoided to directly increase the brightness of the screen backlight to the maximum in the case of strong ambient light The user can manually increase the brightness of the screen backlight according to the requirements, so as to ensure that the content is displayed clearly in the case of strong ambient light.
本实施例中,终端通过屏幕背光亮度调节控件接收亮度手动上调信号,并根据亮度手动上调信号指示的上调幅度,在自动调节亮度上限的基础上上调亮度,确保能够根据用户手动调节清晰显示屏幕画面。In this embodiment, the terminal receives the signal of manual brightness increase through the screen backlight brightness adjustment control, and manually adjusts the increase range indicated by the signal according to the brightness, and adjusts the brightness on the basis of automatically adjusting the upper limit of the brightness, so as to ensure that the screen can be clearly displayed according to the manual adjustment by the user. .
另外,终端在检测到环境光强度降低时,根据环境光强度的降低幅度下调屏幕背光亮度,避免用户手动下调,提高了屏幕背光亮度的调节效率。In addition, when the terminal detects that the ambient light intensity has decreased, it adjusts the screen backlight brightness according to the reduction range of the ambient light intensity, so as to avoid manual adjustment by the user, thereby improving the adjustment efficiency of the screen backlight brightness.
本实施例中,终端根据当前剩余电量,动态确定环境光强度阈值和自动调节亮度上限,使得在电量充足情况下,终端能够在更大的自动亮度调节区间内调节屏幕背光亮度;在电量不足情况下,终端能够缩小自动亮度调节区间,避免自动将屏幕背光调节至过高亮度,从而降低终端功耗,保证终端续航。In this embodiment, the terminal dynamically determines the ambient light intensity threshold and the upper limit of automatic brightness adjustment according to the current remaining power, so that when the power is sufficient, the terminal can adjust the screen backlight brightness within a larger automatic brightness adjustment interval; In this way, the terminal can narrow the automatic brightness adjustment interval and avoid automatically adjusting the screen backlight to an excessively high brightness, thereby reducing the power consumption of the terminal and ensuring the battery life of the terminal.
本申请实施例还提供了一种计算机可读介质,该计算机可读介质存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的屏幕背光亮度调节方法。Embodiments of the present application further provide a computer-readable medium, where at least one instruction is stored in the computer-readable medium, and the at least one instruction is loaded and executed by the processor to realize the brightness of the screen backlight as described in the above embodiments adjustment method.
本申请实施例还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的屏幕背光亮度调节方法。Embodiments of the present application further provide a computer program product, where the computer program product stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the method for adjusting the brightness of a screen backlight as described in the above embodiments .
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should realize that, in one or more of the above examples, the functions described in the embodiments of the present application may be implemented by hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811019854.9A CN109036296B (en) | 2018-09-03 | 2018-09-03 | Screen backlight brightness adjustment method, device, terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811019854.9A CN109036296B (en) | 2018-09-03 | 2018-09-03 | Screen backlight brightness adjustment method, device, terminal and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109036296A CN109036296A (en) | 2018-12-18 |
| CN109036296B true CN109036296B (en) | 2020-12-04 |
Family
ID=64622856
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811019854.9A Active CN109036296B (en) | 2018-09-03 | 2018-09-03 | Screen backlight brightness adjustment method, device, terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109036296B (en) |
Families Citing this family (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108523636A (en) * | 2018-05-17 | 2018-09-14 | 广东美的厨房电器制造有限公司 | Steam oven |
| CN111798811B (en) * | 2019-04-09 | 2021-08-24 | Oppo广东移动通信有限公司 | Method, device, storage medium and electronic device for adjusting screen backlight brightness |
| DE102020116652A1 (en) * | 2019-10-02 | 2021-04-08 | Marco Scheffler | Electrical device with a touch-sensitive screen and user interface for adjusting the screen brightness |
| CN110689862B (en) * | 2019-11-13 | 2021-09-21 | 深圳市道通科技股份有限公司 | Screen brightness adjusting method and mobile terminal |
| CN113409687B (en) * | 2021-06-04 | 2022-07-08 | 青岛信芯微电子科技股份有限公司 | Screen-folding display device |
| CN113282259A (en) * | 2021-06-09 | 2021-08-20 | 上海闻泰信息技术有限公司 | Augmented reality device, control method and apparatus thereof, and computer-readable storage medium |
| CN113421532B (en) * | 2021-07-09 | 2023-03-31 | 海信视像科技股份有限公司 | Backlight adjusting method and display device |
| CN117396948A (en) | 2021-07-09 | 2024-01-12 | 海信视像科技股份有限公司 | Display method and display device |
| CN113568671A (en) * | 2021-08-03 | 2021-10-29 | 西安酷赛科技有限公司 | Screen lighting method and device based on screen locking state and terminal equipment |
| CN113823247B (en) * | 2021-09-29 | 2023-10-17 | 展讯通信(深圳)有限公司 | Screen brightness adjusting method and related equipment |
| CN114019688B (en) * | 2021-11-29 | 2024-04-12 | 重庆利龙中宝智能技术有限公司 | Self-adaptive backlight adjusting method and system |
| CN114464144B (en) * | 2022-01-28 | 2023-06-20 | 昆山龙腾光电股份有限公司 | Brightness adjustment display method, brightness adjustment display system and liquid crystal display device |
| CN114727029B (en) * | 2022-03-21 | 2024-03-22 | 北京百度网讯科技有限公司 | Video processing method and device, electronic equipment and storage medium |
| TR2022013016A2 (en) * | 2022-08-17 | 2022-09-21 | İstanbul Geli̇şi̇m Üni̇versi̇tesi̇ | SYSTEM TO IMPROVE THE IMAGE QUALITY ON MONITORS |
| CN115331637B (en) * | 2022-08-26 | 2025-08-22 | 上海闻泰信息技术有限公司 | Method, device, electronic device and storage medium for adjusting screen backlight brightness |
| CN120547661B (en) * | 2025-05-16 | 2026-02-03 | 深圳市鑫淼通讯技术有限公司 | Method and system for optimizing mobile phone display screen mainboard software |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5406305A (en) * | 1993-01-19 | 1995-04-11 | Matsushita Electric Industrial Co., Ltd. | Display device |
| EP1783740A1 (en) * | 2003-08-05 | 2007-05-09 | Research In Motion Limited | Method for automatic backlight adjustment |
| CN102404440A (en) * | 2010-09-17 | 2012-04-04 | 联芯科技有限公司 | Method and device for automatically adjusting backlight brightness |
| CN102903336A (en) * | 2012-09-04 | 2013-01-30 | 百度在线网络技术(北京)有限公司 | Mobile terminal and screen highlight adjusting method thereof |
| CN103956153A (en) * | 2014-04-30 | 2014-07-30 | 华南理工大学 | Method for achieving intelligent device screen brightness control software based on user habits |
| CN104464647A (en) * | 2014-11-28 | 2015-03-25 | 广东欧珀移动通信有限公司 | Backlight brightness adjusting method and terminal |
| CN204516324U (en) * | 2015-02-12 | 2015-07-29 | 宁波海创天下信息科技有限公司 | The adjustable DID large-screen lc of a kind of brightness connects spelling display screen |
| CN105702228A (en) * | 2014-11-28 | 2016-06-22 | 惠州市德赛西威汽车电子股份有限公司 | Adaptive screen brightness adjusting method and system |
| CN105872235A (en) * | 2016-04-26 | 2016-08-17 | 广东欧珀移动通信有限公司 | Method, device and electronic device for controlling brightness of electronic device display |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4405027B2 (en) * | 2000-03-01 | 2010-01-27 | 本田技研工業株式会社 | Cold cathode device |
| CN1963909A (en) * | 2006-11-24 | 2007-05-16 | 南京Lg同创彩色显示系统有限责任公司 | Low consumed power energy saving LCD |
| JP4433081B2 (en) * | 2008-10-06 | 2010-03-17 | セイコーエプソン株式会社 | Information transmission system and electronic device |
| US20140002473A1 (en) * | 2012-06-28 | 2014-01-02 | Lenovo (Singapore) Pte Ltd | Brightness Control Method, Apparatus and Program Product |
| CN105632455B (en) * | 2014-10-27 | 2018-06-19 | 深圳富泰宏精密工业有限公司 | Screen intensity automatic regulating system and method |
| CN106412313A (en) * | 2016-10-20 | 2017-02-15 | 乐视控股(北京)有限公司 | Method and system for automatically adjusting screen display parameters, and intelligent terminal |
| CN107197083A (en) * | 2017-04-14 | 2017-09-22 | 北京安云世纪科技有限公司 | The method and mobile terminal of a kind of continuation of the journey duration for adjusting mobile terminal |
| CN107517494A (en) * | 2017-08-31 | 2017-12-26 | 努比亚技术有限公司 | A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium |
-
2018
- 2018-09-03 CN CN201811019854.9A patent/CN109036296B/en active Active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5406305A (en) * | 1993-01-19 | 1995-04-11 | Matsushita Electric Industrial Co., Ltd. | Display device |
| EP1783740A1 (en) * | 2003-08-05 | 2007-05-09 | Research In Motion Limited | Method for automatic backlight adjustment |
| CN102404440A (en) * | 2010-09-17 | 2012-04-04 | 联芯科技有限公司 | Method and device for automatically adjusting backlight brightness |
| CN102903336A (en) * | 2012-09-04 | 2013-01-30 | 百度在线网络技术(北京)有限公司 | Mobile terminal and screen highlight adjusting method thereof |
| CN103956153A (en) * | 2014-04-30 | 2014-07-30 | 华南理工大学 | Method for achieving intelligent device screen brightness control software based on user habits |
| CN104464647A (en) * | 2014-11-28 | 2015-03-25 | 广东欧珀移动通信有限公司 | Backlight brightness adjusting method and terminal |
| CN105702228A (en) * | 2014-11-28 | 2016-06-22 | 惠州市德赛西威汽车电子股份有限公司 | Adaptive screen brightness adjusting method and system |
| CN204516324U (en) * | 2015-02-12 | 2015-07-29 | 宁波海创天下信息科技有限公司 | The adjustable DID large-screen lc of a kind of brightness connects spelling display screen |
| CN105872235A (en) * | 2016-04-26 | 2016-08-17 | 广东欧珀移动通信有限公司 | Method, device and electronic device for controlling brightness of electronic device display |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109036296A (en) | 2018-12-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109036296B (en) | Screen backlight brightness adjustment method, device, terminal and storage medium | |
| KR102565847B1 (en) | Electronic device and method of controlling display in the electronic device | |
| CN107844730B (en) | Graphic code scanning method and mobile terminal | |
| CN103035221B (en) | Display adjusting device and display adjusting method | |
| CN111179861B (en) | Brightness calibration method and device, storage medium and terminal | |
| CN104853111B (en) | A kind of image pickup method and terminal | |
| CN108710478B (en) | Display screen control method and device, storage medium and intelligent terminal | |
| CN111309400A (en) | Process control method, device, storage medium and electronic device | |
| WO2017129082A1 (en) | Terminal control method and terminal | |
| CN109215578B (en) | Screen display method and device | |
| CN111261081B (en) | Screen display method and device | |
| CN106782431A (en) | A kind of screen backlight brightness adjusting method, device and mobile terminal | |
| CN107990978A (en) | Ambient light detection method, ambient light detection device, storage medium, and electronic apparatus | |
| CN111462701A (en) | Backlight brightness adjusting method and device | |
| CN107731146A (en) | Brightness adjusting method and related product | |
| US20130194172A1 (en) | Disabling automatic display shutoff function using face detection | |
| CN109788138A (en) | Screen control method, device, terminal and storage medium | |
| CN107945747A (en) | Ambient light detection method, ambient light detection device, storage medium, and electronic apparatus | |
| CN107917755A (en) | Ambient light detection method, ambient light detection device, storage medium, and electronic apparatus | |
| CN107196372A (en) | Charging method and device | |
| CN108735183A (en) | Display screen brightness adjusting method and related product | |
| CN106817753A (en) | A kind of background GTG that switches carries out method, device and the mobile terminal of power saving | |
| CN108733428A (en) | Screen display control method and device | |
| CN105913790A (en) | Method and device for adjusting display parameters of display screen | |
| CN115798418B (en) | Image display methods, devices, terminals and storage media |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |

