+

CN106128415A - Screen luminance adjustment method and device - Google Patents

Screen luminance adjustment method and device Download PDF

Info

Publication number
CN106128415A
CN106128415A CN201610623665.7A CN201610623665A CN106128415A CN 106128415 A CN106128415 A CN 106128415A CN 201610623665 A CN201610623665 A CN 201610623665A CN 106128415 A CN106128415 A CN 106128415A
Authority
CN
China
Prior art keywords
screen
brightness
information
local terminal
screen intensity
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.)
Granted
Application number
CN201610623665.7A
Other languages
Chinese (zh)
Other versions
CN106128415B (en
Inventor
骆艳飞
伍亮雄
周鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610623665.7A priority Critical patent/CN106128415B/en
Publication of CN106128415A publication Critical patent/CN106128415A/en
Application granted granted Critical
Publication of CN106128415B publication Critical patent/CN106128415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

本公开是关于屏幕亮度调节方法及装置。该方法包括:检测屏幕亮度手动调节模式是否开启,当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息,从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应,当不对应时,输出需要调节当前本端屏幕亮度的提示信息。上述技术方案,当终端处于手动调节屏幕亮度模式时,如果检测到周围环境过暗,终端屏幕太亮,或者检测到周围环境过亮,终端屏幕太暗,会提示用户调节当前屏幕亮度,来减少屏幕对用户双眼的伤害。

The present disclosure relates to a method and a device for adjusting screen brightness. The method includes: detecting whether the manual adjustment mode of the screen brightness is turned on; when the manual adjustment mode of the screen brightness is turned on, obtaining the lighting information of the current surrounding environment of the local terminal and the brightness information of the screen of the local terminal; , determine whether the brightness information of the current screen of the local terminal corresponds to the illumination information of the surrounding environment of the local terminal, and output a prompt message that the brightness of the current screen of the local terminal needs to be adjusted if there is no correspondence. In the above technical solution, when the terminal is in the manual screen brightness adjustment mode, if it detects that the surrounding environment is too dark and the terminal screen is too bright, or detects that the surrounding environment is too bright and the terminal screen is too dark, the user will be prompted to adjust the current screen brightness to reduce the brightness of the screen. Damage to the user's eyes.

Description

屏幕亮度调节方法及装置Method and device for adjusting screen brightness

技术领域technical field

本公开涉及设备显示领域,尤其涉及屏幕亮度调节方法及装置。The present disclosure relates to the field of device display, in particular to a method and device for adjusting screen brightness.

背景技术Background technique

相关技术中,终端比如手机、平板电脑等的屏幕亮度有两种调节方式,一种为自动调节方式,通过终端内置的光线传感器采集当前周围环境的光照信息,并根据该光照信息的大小自动调节终端屏幕亮度,周围环境越亮调节后的终端屏幕亮度越大;周围环境越暗调节后的终端屏幕亮度越小。另一种为手动调节方式,用户通过手动滑动亮度调整条来调节终端屏幕亮度。In related technologies, there are two adjustment methods for the screen brightness of terminals such as mobile phones and tablet computers. One is the automatic adjustment method, which collects the lighting information of the current surrounding environment through the built-in light sensor of the terminal, and automatically adjusts the brightness according to the size of the lighting information. Terminal screen brightness, the brighter the surrounding environment, the greater the brightness of the terminal screen after adjustment; the darker the surrounding environment, the smaller the brightness of the terminal screen after adjustment. The other is a manual adjustment method, in which the user manually adjusts the brightness of the terminal screen by sliding the brightness adjustment bar.

发明内容Contents of the invention

本公开实施例提供屏幕亮度调节方法及装置。所述技术方案如下:Embodiments of the present disclosure provide a screen brightness adjustment method and device. Described technical scheme is as follows:

根据本公开实施例的第一方面,提供一种屏幕亮度调节方法,包括:According to a first aspect of an embodiment of the present disclosure, a method for adjusting screen brightness is provided, including:

检测屏幕亮度手动调节模式是否开启;Detect whether the manual adjustment mode of screen brightness is turned on;

当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息;When the screen brightness manual adjustment mode is turned on, obtain the lighting information of the current surrounding environment of the local terminal and the brightness information of the local screen;

从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应;From the correspondence between the pre-stored lighting information and the brightness of the screen, determine whether the brightness information of the current screen of the local terminal corresponds to the lighting information of the surrounding environment of the local terminal;

当不对应时,输出需要调节当前本端屏幕亮度的提示信息。When not corresponding, output prompt information that needs to adjust the brightness of the current local screen.

在一个实施例中,所述检测屏幕亮度手动调节模式是否开启,可包括:In one embodiment, the detecting whether the manual adjustment mode of screen brightness is turned on may include:

当接收到开启屏幕的指令时,检测屏幕亮度手动调节模式是否开启。When an instruction to turn on the screen is received, it is detected whether the manual adjustment mode of the screen brightness is turned on.

在一个实施例中,所述方法还可包括:In one embodiment, the method may also include:

从预存的光照信息与屏幕亮度的对应关系中确定当前本端周围环境的光照信息对应的屏幕亮度;Determine the screen brightness corresponding to the lighting information of the current local surrounding environment from the correspondence between the pre-stored lighting information and the screen brightness;

将当前本端屏幕的亮度调整至当前本端周围环境的光照信息对应的屏幕亮度。Adjust the brightness of the current screen of the local terminal to the screen brightness corresponding to the lighting information of the surrounding environment of the current local terminal.

在一个实施例中,所述方法还可包括:In one embodiment, the method may also include:

输出提示用户是否确认调整后的屏幕亮度的提示信息;Output prompt information prompting the user whether to confirm the adjusted screen brightness;

如果用户不确认所述调整后的屏幕亮度,则将所述屏幕亮度恢复到调整之前的亮度。If the user does not confirm the adjusted screen brightness, restore the screen brightness to the brightness before adjustment.

在一个实施例中,所述方法还可包括:In one embodiment, the method may also include:

输出提示用户是否确认调整后的屏幕亮度的提示信息;Output prompt information prompting the user whether to confirm the adjusted screen brightness;

如果用户不确认所述调整后的屏幕亮度,则在所述屏幕上显示供用户调整亮度的亮度调整条。If the user does not confirm the adjusted screen brightness, a brightness adjustment bar for the user to adjust the brightness is displayed on the screen.

根据本公开实施例的第二方面,提供一种屏幕亮度调节装置,包括:According to a second aspect of an embodiment of the present disclosure, there is provided a device for adjusting screen brightness, including:

检测模块,用于检测屏幕亮度手动调节模式是否开启;The detection module is used to detect whether the manual adjustment mode of the screen brightness is turned on;

获取模块,用于当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息;The obtaining module is used to obtain the current lighting information of the surrounding environment of the local terminal and the brightness information of the local screen when the screen brightness manual adjustment mode is turned on;

第一确定模块,用于从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应;The first determining module is used to determine whether the brightness information of the current screen of the local terminal corresponds to the lighting information of the surrounding environment of the local terminal from the correspondence between the pre-stored illumination information and the brightness of the screen;

第一输出模块,用于当不对应时,输出需要调节当前本端屏幕亮度的提示信息。The first output module is configured to output prompt information that the brightness of the current local screen needs to be adjusted when it is not corresponding.

在一个实施例中,所述检测模块,可包括:In one embodiment, the detection module may include:

检测子模块,用于当接收到开启屏幕的指令时,检测屏幕亮度手动调节模式是否开启。The detection sub-module is used to detect whether the screen brightness manual adjustment mode is enabled when receiving the instruction to turn on the screen.

在一个实施例中,所述装置还可包括:In one embodiment, the device may also include:

第二确定模块,用于从预存的光照信息与屏幕亮度的对应关系中确定当前本端周围环境的光照信息对应的屏幕亮度;The second determination module is used to determine the screen brightness corresponding to the lighting information of the current surrounding environment of the local terminal from the correspondence between the pre-stored lighting information and the screen brightness;

调整模块,用于将当前本端屏幕的亮度调整至当前本端周围环境的光照信息对应的屏幕亮度。The adjustment module is configured to adjust the brightness of the current screen of the local terminal to the brightness of the screen corresponding to the illumination information of the surrounding environment of the current local terminal.

在一个实施例中,所述装置还可包括:In one embodiment, the device may also include:

第二输出模块,用于输出提示用户是否确认调整后的屏幕亮度的提示信息;The second output module is used to output prompt information prompting the user whether to confirm the adjusted screen brightness;

恢复模块,用于当用户不确认所述调整后的屏幕亮度时,则将所述屏幕亮度恢复到调整之前的亮度。A restoring module, configured to restore the screen brightness to the brightness before adjustment when the user does not confirm the adjusted screen brightness.

在一个实施例中,所述装置还可包括:In one embodiment, the device may also include:

第三输出模块,用于输出提示用户是否确认调整后的屏幕亮度的提示信息;The third output module is used to output prompt information prompting the user whether to confirm the adjusted screen brightness;

显示模块,用于当用户不确认所述调整后的屏幕亮度时,则在所述屏幕上显示供用户调整亮度的亮度调整条。The display module is configured to display a brightness adjustment bar on the screen for the user to adjust the brightness when the user does not confirm the adjusted screen brightness.

根据本公开实施例的第三方面,提供一种屏幕亮度调节装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided a device for adjusting screen brightness, including:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

检测屏幕亮度手动调节模式是否开启;Detect whether the manual adjustment mode of screen brightness is turned on;

当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息;When the screen brightness manual adjustment mode is turned on, obtain the lighting information of the current surrounding environment of the local terminal and the brightness information of the local screen;

从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应;From the correspondence between the pre-stored lighting information and the brightness of the screen, determine whether the brightness information of the current screen of the local terminal corresponds to the lighting information of the surrounding environment of the local terminal;

当不对应时,输出需要调节当前本端屏幕亮度的提示信息。When not corresponding, output prompt information that needs to adjust the brightness of the current local screen.

本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

上述技术方案,通过检测屏幕亮度手动调节模式是否开启,当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息,从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应,当不对应时,输出需要调节当前本端屏幕亮度的提示信息。从而当终端处于手动调节屏幕亮度模式时,如果检测到周围环境过暗,终端屏幕太亮,或者检测到周围环境过亮,终端屏幕太暗,会提示用户调节当前屏幕亮度,来减少屏幕对用户双眼的伤害。In the above technical solution, by detecting whether the manual adjustment mode of screen brightness is turned on, when the manual adjustment mode of screen brightness is turned on, the lighting information of the current surrounding environment of the local terminal and the brightness information of the local screen are obtained, and the correspondence between the pre-stored lighting information and the brightness of the screen is obtained. In the relationship, it is determined whether the brightness information of the current screen of the local terminal corresponds to the illumination information of the surrounding environment of the local terminal, and if not, a prompt message that the brightness of the current screen of the local terminal needs to be adjusted is output. Therefore, when the terminal is in the mode of manually adjusting the screen brightness, if it detects that the surrounding environment is too dark and the terminal screen is too bright, or detects that the surrounding environment is too bright and the terminal screen is too dark, the user will be prompted to adjust the current screen brightness to reduce the screen's impact on the user's eyes. s damage.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的屏幕亮度调节方法的流程图。Fig. 1 is a flow chart of a method for adjusting screen brightness according to an exemplary embodiment.

图2是根据一示例性实施例示出的又一种屏幕亮度调节方法的流程图。Fig. 2 is a flow chart showing another method for adjusting screen brightness according to an exemplary embodiment.

图3是根据一示例性实施例示出的又一种屏幕亮度调节方法的流程图。Fig. 3 is a flow chart showing another method for adjusting screen brightness according to an exemplary embodiment.

图4是根据一示例性实施例示出的另一种屏幕亮度调节方法的流程图。Fig. 4 is a flow chart showing another method for adjusting screen brightness according to an exemplary embodiment.

图5是根据一示例性实施例示出的屏幕亮度调节装置的框图。Fig. 5 is a block diagram of a device for adjusting screen brightness according to an exemplary embodiment.

图6是根据一示例性实施例示出的屏幕亮度调节装置中检测模块51的框图。Fig. 6 is a block diagram of a detection module 51 in a device for adjusting screen brightness according to an exemplary embodiment.

图7是根据一示例性实施例示出的又一种屏幕亮度调节装置的框图。Fig. 7 is a block diagram of another device for adjusting screen brightness according to an exemplary embodiment.

图8是根据一示例性实施例示出的又一种屏幕亮度调节装置的框图。Fig. 8 is a block diagram of another device for adjusting screen brightness according to an exemplary embodiment.

图9是根据一示例性实施例示出的另一种屏幕亮度调节装置的框图。Fig. 9 is a block diagram of another device for adjusting screen brightness according to an exemplary embodiment.

图10是根据一示例性实施例示出的适用于屏幕亮度调节装置的框图。Fig. 10 is a block diagram showing a device suitable for adjusting screen brightness according to an exemplary embodiment.

具体实施方式detailed description

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

随着手机以及平板电脑等移动终端的普及,大家越来越依赖这些终端设备,有时玩手机会玩到深夜,由于周围环境较暗,会造成手机屏幕相对周围环境过亮的问题,对用户双眼造成一定程度的伤害。相关技术中,终端会采用光纤传感器采集周围环境光照信息,自动调节手机屏幕亮度,降低人们在使用手机时对双眼的伤害。然而,只有在用户选择了“自动”调节亮度的前提下,才会依据周围光线强弱对手机亮度进行改变。当用户选择“手动”调节亮度时,当屏幕亮度过高或过低时,会对我们的视力造成影响。本公开实施例提供了一种屏幕亮度调节方法,其通过检测屏幕亮度手动调节模式是否开启,当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息,从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应,当不对应时,输出需要调节当前本端屏幕亮度的提示信息。当终端处于非自动(手动)调节屏幕亮度模式时,如果检测到周围环境过暗,终端屏幕太亮,或者检测到周围环境过亮,终端屏幕太暗,会向用户发出提示。来减少屏幕对用户双眼的伤害。With the popularity of mobile terminals such as mobile phones and tablet computers, people rely more and more on these terminal devices. Sometimes they will play with mobile phones until late at night. Due to the dark surrounding environment, the screen of the mobile phone will be too bright compared to the surrounding environment, which is harmful to the eyes of users. cause a certain amount of damage. In related technologies, the terminal will use an optical fiber sensor to collect ambient light information, automatically adjust the brightness of the mobile phone screen, and reduce the damage to the eyes of people when using the mobile phone. However, only under the premise that the user selects "automatic" to adjust the brightness, will the brightness of the mobile phone be changed according to the intensity of the surrounding light. When the user chooses to "manually" adjust the brightness, when the screen brightness is too high or too low, it will affect our eyesight. An embodiment of the present disclosure provides a screen brightness adjustment method, which detects whether the screen brightness manual adjustment mode is enabled, and when the screen brightness manual adjustment mode is enabled, obtains the lighting information of the current local surrounding environment and the brightness information of the local screen, From the correspondence between the pre-stored lighting information and the brightness of the screen, determine whether the brightness information of the current screen of the local terminal corresponds to the lighting information of the surrounding environment of the local terminal, and output a prompt message that the brightness of the current local screen needs to be adjusted if not. When the terminal is in the non-automatic (manual) screen brightness adjustment mode, if it detects that the surrounding environment is too dark and the terminal screen is too bright, or detects that the surrounding environment is too bright and the terminal screen is too dark, a prompt will be sent to the user. To reduce the damage of the screen to the user's eyes.

图1是根据一示例性实施例示出的一种屏幕亮度调节方法的流程图,如图1所示,该屏幕亮度调节方法包括以下步骤S101-S104:Fig. 1 is a flow chart of a method for adjusting screen brightness according to an exemplary embodiment. As shown in Fig. 1, the method for adjusting screen brightness includes the following steps S101-S104:

在步骤S101中,检测屏幕亮度手动调节模式是否开启。In step S101, it is detected whether the manual adjustment mode of screen brightness is turned on.

在步骤S102中,当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息。In step S102, when the screen brightness manual adjustment mode is turned on, the lighting information of the surrounding environment of the current local terminal and the brightness information of the local screen are acquired.

在步骤S103中,从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应。In step S103, from the pre-stored correspondence between illumination information and screen brightness, it is determined whether the brightness information of the current screen of the local terminal corresponds to the illumination information of the surrounding environment of the local terminal.

周围环境的光照信息可以光感值、光照强度等信息。当光照信息为光感值时,预先设置好周围环境光感值与该光感值对应的适宜的屏幕亮度的对应关系,在设置时,光感值与屏幕亮度值可以是一一对应关系,也可以将光感值划分为几个区间,每个光感值区间对应一个屏幕亮度值。利用终端内置的光纤传感器测得当前环境的光感值。如果当前环境的光感值与当前屏幕亮度不对应,则说明当前屏幕的亮度相对周围环境来说过亮或者过暗。The light information of the surrounding environment may include information such as a light sensitivity value and light intensity. When the illumination information is the light sensitivity value, the corresponding relationship between the ambient light sensitivity value and the appropriate screen brightness corresponding to the light sensitivity value is set in advance. When setting, the light sensitivity value and the screen brightness value can be in a one-to-one correspondence. The light sensitivity value may also be divided into several intervals, and each light sensitivity value interval corresponds to a screen brightness value. Use the built-in optical fiber sensor of the terminal to measure the light sensitivity value of the current environment. If the light perception value of the current environment does not correspond to the current screen brightness, it means that the current screen brightness is too bright or too dark compared to the surrounding environment.

在步骤S104中,当不对应时,输出需要调节当前本端屏幕亮度的提示信息。In step S104, when it is not corresponding, a prompt message that needs to adjust the brightness of the current local screen is output.

提示信息的内容例如可以是“屏幕过亮,建议降低屏幕亮度”、“屏幕过暗,建议提高屏幕亮度”或者“屏幕过亮,建议切换至亮度自动调节模式”。The content of the prompt information may be, for example, "the screen is too bright, it is recommended to reduce the screen brightness", "the screen is too dark, it is recommended to increase the screen brightness" or "the screen is too bright, it is recommended to switch to the automatic brightness adjustment mode".

本公开实施例的上述方法,通过检测屏幕亮度手动调节模式是否开启,当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息,从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应,当不对应时,输出需要调节当前本端屏幕亮度的提示信息。从而当终端处于手动调节屏幕亮度模式时,如果检测到周围环境过暗,终端屏幕太亮,或者检测到周围环境过亮,终端屏幕太暗,会提示用户调节当前屏幕亮度,来减少屏幕对用户双眼的伤害。In the above method of the embodiment of the present disclosure, by detecting whether the manual adjustment mode of screen brightness is enabled, when the manual adjustment mode of screen brightness is enabled, the lighting information of the current surrounding environment of the local terminal and the brightness information of the local screen are acquired, and the pre-stored lighting information and the brightness information of the local screen are obtained. In the corresponding relationship of screen brightness, it is determined whether the brightness information of the current local screen corresponds to the illumination information of the local surrounding environment, and if not, output a prompt message that the brightness of the current local screen needs to be adjusted. Therefore, when the terminal is in the mode of manually adjusting the screen brightness, if it detects that the surrounding environment is too dark and the terminal screen is too bright, or detects that the surrounding environment is too bright and the terminal screen is too dark, the user will be prompted to adjust the current screen brightness to reduce the screen's impact on the user's eyes. s damage.

在一个实施例中,步骤S101可以实施为步骤A:In one embodiment, step S101 can be implemented as step A:

步骤A,当接收到开启屏幕的指令时,检测屏幕亮度手动调节模式是否开启。Step A, when an instruction to turn on the screen is received, it is detected whether the manual adjustment mode of the screen brightness is turned on.

本实施例中,在每次开启屏幕时,检测屏幕亮度手动调节模式是否开启,并在开启手动模式时,将周围环境光线强弱与终端屏幕亮度进行对比。由于不需要实时检测周围环境光线以及屏幕亮度,降低了终端内存的消耗。In this embodiment, each time the screen is turned on, it is detected whether the manual adjustment mode of the screen brightness is turned on, and when the manual mode is turned on, the intensity of ambient light is compared with the brightness of the terminal screen. Since there is no need to detect ambient light and screen brightness in real time, the consumption of terminal memory is reduced.

在一个实施例中,如图2所示,上述方法还可包括以下步骤S105-S106:In one embodiment, as shown in FIG. 2, the above method may further include the following steps S105-S106:

在步骤S105中,从预存的光照信息与屏幕亮度的对应关系中确定当前本端周围环境的光照信息对应的屏幕亮度。In step S105, the screen brightness corresponding to the current lighting information of the surrounding environment of the local terminal is determined from the correspondence between the pre-stored lighting information and the screen brightness.

在步骤S106中,将当前本端屏幕的亮度调整至当前本端周围环境的光照信息对应的屏幕亮度。In step S106, the brightness of the current screen of the local terminal is adjusted to the screen brightness corresponding to the illumination information of the surrounding environment of the current local terminal.

本实施例中,当终端屏幕的亮度相对周围环境过亮或者过暗时,可以自动将当前本端屏幕的亮度调整至适宜的亮度,简化了用户操作,减少了屏幕对用户双眼的危害,提升了用户的使用体验。In this embodiment, when the brightness of the terminal screen is too bright or too dark relative to the surrounding environment, the brightness of the current local screen can be automatically adjusted to an appropriate brightness, which simplifies user operations, reduces the harm of the screen to the user's eyes, and improves user experience.

在一个实施例中,如图3所示,上述方法还可包括以下步骤S107-S108:In one embodiment, as shown in FIG. 3, the above method may further include the following steps S107-S108:

在步骤S107中,输出提示用户是否确认调整后的屏幕亮度的提示信息。In step S107, a prompt message prompting the user whether to confirm the adjusted screen brightness is output.

在步骤S108中,如果用户不确认调整后的屏幕亮度,则将屏幕亮度恢复到调整之前的亮度。In step S108, if the user does not confirm the adjusted screen brightness, restore the screen brightness to the brightness before adjustment.

本实施例中,当自动将当前本端屏幕的亮度调整至适宜的亮度后,向用户输出提示信息,提示用户亮度已调整,如果用户确认,则保持调整后的亮度,如果用户不确认,比如,用户觉得调整后的亮度还是偏暗或者偏亮,则可恢复到调整之前的亮度,由用户自行调整。In this embodiment, after automatically adjusting the brightness of the current local screen to an appropriate brightness, a prompt message is output to the user, prompting the user that the brightness has been adjusted. If the user confirms, the adjusted brightness will be maintained. If the user does not confirm, for example If the user feels that the adjusted brightness is still dark or bright, the brightness can be restored to the previous brightness, and the user can adjust it by himself.

在一个实施例中,如图4所示,上述方法还可包括以下步骤S109-S110:In one embodiment, as shown in FIG. 4, the above method may further include the following steps S109-S110:

在步骤S109中,输出提示用户是否确认调整后的屏幕亮度的提示信息。In step S109, a prompt message prompting the user whether to confirm the adjusted screen brightness is output.

在步骤S110中,如果用户不确认调整后的屏幕亮度,则在屏幕上显示供用户调整亮度的亮度调整条。In step S110, if the user does not confirm the adjusted screen brightness, a brightness adjustment bar for the user to adjust the brightness is displayed on the screen.

本实施例中,为了进一步满足用户需求,当自动将当前本端屏幕的亮度调整至适宜的亮度后,向用户输出提示信息,提示用户亮度已调整,如果用户确认,则保持调整后的亮度,如果用户不确认,比如,用户觉得调整后的亮度还是偏暗或者偏亮,则在屏幕上显示供用户调整亮度的亮度调整条。用户可以通过移动亮度调整条将屏幕亮度调整至适宜的亮度。In this embodiment, in order to further meet the needs of users, after automatically adjusting the brightness of the current local screen to an appropriate brightness, a prompt message is output to the user, reminding the user that the brightness has been adjusted, and if the user confirms, the adjusted brightness is maintained. If the user does not confirm, for example, the user feels that the adjusted brightness is still dark or bright, a brightness adjustment bar for the user to adjust the brightness is displayed on the screen. The user can adjust the screen brightness to a suitable brightness by moving the brightness adjustment bar.

下述为本公开装置实施例,可以用于执行本公开方法实施例。The following are device embodiments of the present disclosure, which can be used to implement the method embodiments of the present disclosure.

图5是根据一示例性实施例示出的一种屏幕亮度调节装置的框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图5所示,该屏幕亮度调节装置包括:Fig. 5 is a block diagram of an apparatus for adjusting screen brightness according to an exemplary embodiment. The apparatus may be implemented as part or all of an electronic device through software, hardware or a combination of the two. As shown in Figure 5, the screen brightness adjustment device includes:

检测模块51,被配置为检测屏幕亮度手动调节模式是否开启;The detection module 51 is configured to detect whether the screen brightness manual adjustment mode is turned on;

获取模块52,被配置为当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息;The acquiring module 52 is configured to acquire current lighting information of the surrounding environment of the local terminal and brightness information of the local screen when the screen brightness manual adjustment mode is turned on;

第一确定模块53,被配置为从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应;The first determining module 53 is configured to determine whether the brightness information of the current local screen corresponds to the lighting information of the surrounding environment of the local terminal from the correspondence between the pre-stored illumination information and the screen brightness;

第一输出模块54,被配置为当不对应时,输出需要调节当前本端屏幕亮度的提示信息。The first output module 54 is configured to output prompt information that the brightness of the current screen of the local terminal needs to be adjusted when it is not corresponding.

在一个实施例中,如图6所示,检测模块51,可包括:In one embodiment, as shown in FIG. 6, the detection module 51 may include:

检测子模块511,被配置为当接收到开启屏幕的指令时,检测屏幕亮度手动调节模式是否开启。The detecting sub-module 511 is configured to detect whether the manual adjustment mode of screen brightness is turned on when receiving an instruction to turn on the screen.

在一个实施例中,如图7所示,上述装置还可包括:In one embodiment, as shown in Figure 7, the above-mentioned device may further include:

第二确定模块55,被配置为从预存的光照信息与屏幕亮度的对应关系中确定当前本端周围环境的光照信息对应的屏幕亮度;The second determining module 55 is configured to determine the screen brightness corresponding to the lighting information of the current surrounding environment of the local terminal from the correspondence between the pre-stored lighting information and the screen brightness;

调整模块56,被配置为将当前本端屏幕的亮度调整至当前本端周围环境的光照信息对应的屏幕亮度。The adjustment module 56 is configured to adjust the brightness of the current screen of the local terminal to the screen brightness corresponding to the illumination information of the surrounding environment of the current local terminal.

在一个实施例中,如图8所示,上述装置还可包括:In one embodiment, as shown in Figure 8, the above-mentioned device may further include:

第二输出模块57,被配置为输出提示用户是否确认调整后的屏幕亮度的提示信息;The second output module 57 is configured to output prompt information prompting the user whether to confirm the adjusted screen brightness;

恢复模块58,被配置为当用户不确认调整后的屏幕亮度时,则将屏幕亮度恢复到调整之前的亮度。The restoration module 58 is configured to restore the screen brightness to the brightness before adjustment when the user does not confirm the adjusted screen brightness.

在一个实施例中,如图9所示,上述装置还可包括:In one embodiment, as shown in FIG. 9, the above-mentioned device may further include:

第三输出模块59,被配置为输出提示用户是否确认调整后的屏幕亮度的提示信息;The third output module 59 is configured to output prompt information prompting the user whether to confirm the adjusted screen brightness;

显示模块60,被配置为当用户不确认调整后的屏幕亮度时,则在屏幕上显示供用户调整亮度的亮度调整条。The display module 60 is configured to display a brightness adjustment bar on the screen for the user to adjust the brightness when the user does not confirm the adjusted screen brightness.

本公开实施例的上述装置,通过检测屏幕亮度手动调节模式是否开启,当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息,从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应,当不对应时,输出需要调节当前本端屏幕亮度的提示信息。从而当终端处于手动调节屏幕亮度模式时,如果检测到周围环境过暗,终端屏幕太亮,或者检测到周围环境过亮,终端屏幕太暗,会提示用户调节当前屏幕亮度,来减少屏幕对用户双眼的伤害。The above-mentioned device in the embodiment of the present disclosure detects whether the manual adjustment mode of the screen brightness is enabled, and when the manual adjustment mode of the screen brightness is enabled, obtains the illumination information of the current surrounding environment of the local terminal and the brightness information of the local screen, and obtains the illumination information from the pre-stored illumination information and the brightness information of the local terminal screen. In the corresponding relationship of screen brightness, it is determined whether the brightness information of the current local screen corresponds to the illumination information of the local surrounding environment, and if not, output a prompt message that the brightness of the current local screen needs to be adjusted. Therefore, when the terminal is in the mode of manually adjusting the screen brightness, if it detects that the surrounding environment is too dark and the terminal screen is too bright, or detects that the surrounding environment is too bright and the terminal screen is too dark, the user will be prompted to adjust the current screen brightness to reduce the screen's impact on the user's eyes. s damage.

本公开实施例还提供一种屏幕亮度调节装置,包括:An embodiment of the present disclosure also provides a screen brightness adjustment device, including:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

检测屏幕亮度手动调节模式是否开启;Detect whether the manual adjustment mode of screen brightness is turned on;

当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息;When the screen brightness manual adjustment mode is turned on, obtain the lighting information of the current surrounding environment of the local terminal and the brightness information of the local screen;

从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应;From the correspondence between the pre-stored lighting information and the brightness of the screen, determine whether the brightness information of the current screen of the local terminal corresponds to the lighting information of the surrounding environment of the local terminal;

当不对应时,输出需要调节当前本端屏幕亮度的提示信息。When not corresponding, output prompt information that needs to adjust the brightness of the current local screen.

上述处理器还被配置为:The above processor is also configured to:

当接收到开启屏幕的指令时,检测屏幕亮度手动调节模式是否开启。When an instruction to turn on the screen is received, it is detected whether the manual adjustment mode of the screen brightness is turned on.

上述处理器还被配置为:The above processor is also configured to:

从预存的光照信息与屏幕亮度的对应关系中确定当前本端周围环境的光照信息对应的屏幕亮度;Determine the screen brightness corresponding to the lighting information of the current local surrounding environment from the correspondence between the pre-stored lighting information and the screen brightness;

将当前本端屏幕的亮度调整至当前本端周围环境的光照信息对应的屏幕亮度。Adjust the brightness of the current screen of the local terminal to the screen brightness corresponding to the lighting information of the surrounding environment of the current local terminal.

上述处理器还被配置为:The above processor is also configured to:

输出提示用户是否确认调整后的屏幕亮度的提示信息;Output prompt information prompting the user whether to confirm the adjusted screen brightness;

如果用户不确认所述调整后的屏幕亮度,则将所述屏幕亮度恢复到调整之前的亮度。If the user does not confirm the adjusted screen brightness, restore the screen brightness to the brightness before adjustment.

上述处理器还被配置为:The above processor is also configured to:

输出提示用户是否确认调整后的屏幕亮度的提示信息;Output prompt information prompting the user whether to confirm the adjusted screen brightness;

如果用户不确认所述调整后的屏幕亮度,则在所述屏幕上显示供用户调整亮度的亮度调整条。If the user does not confirm the adjusted screen brightness, a brightness adjustment bar for the user to adjust the brightness is displayed on the screen.

图10是根据一示例性实施例示出的一种用于屏幕亮度调节装置的框图,该装置适用于终端设备。例如,装置1200可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 10 is a block diagram showing a device for adjusting screen brightness according to an exemplary embodiment, and the device is suitable for a terminal device. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

装置1200可以包括以下一个或多个组件:处理组件1202,存储器1204,电源组件1206,多媒体组件1208,音频组件1210,输入/输出(I/O)的接口1212,传感器组件1214,以及通信组件1216。Apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power supply component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communication component 1216 .

处理组件1202通常控制装置1200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1202可以包括一个或多个处理器1220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1202可以包括一个或多个模块,便于处理组件1202和其他组件之间的交互。例如,处理组件1202可以包括多媒体模块,以方便多媒体组件1208和处理组件1202之间的交互。The processing component 1202 generally controls the overall operations of the device 1200, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1202 may include one or more processors 1220 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1202 may include one or more modules that facilitate interaction between processing component 1202 and other components. For example, processing component 1202 may include a multimedia module to facilitate interaction between multimedia component 1208 and processing component 1202 .

存储器1204被配置为存储各种类型的数据以支持在装置1200的操作。这些数据的示例包括用于在装置1200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1204 is configured to store various types of data to support operations at the device 1200 . Examples of such data include instructions for any application or method operating on device 1200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1204 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件1206为装置1200的各种组件提供电力。电源组件1206可以包括电源管理系统,一个或多个电源,及其他与为装置1200生成、管理和分配电力相关联的组件。The power supply component 1206 provides power to various components of the device 1200 . Power components 1206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1200 .

多媒体组件1208包括在所述装置1200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1208包括一个前置摄像头和/或后置摄像头。当装置1200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1208 includes a screen that provides an output interface between the device 1200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect a duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 1208 includes a front camera and/or a rear camera. When the device 1200 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件1210被配置为输出和/或输入音频信号。例如,音频组件1210包括一个麦克风(MIC),当装置1200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1204或经由通信组件1216发送。在一些实施例中,音频组件1210还包括一个扬声器,用于输出音频信号。The audio component 1210 is configured to output and/or input audio signals. For example, the audio component 1210 includes a microphone (MIC), which is configured to receive external audio signals when the device 1200 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1204 or sent via communication component 1216 . In some embodiments, the audio component 1210 also includes a speaker for outputting audio signals.

I/O接口1212为处理组件1202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1212 provides an interface between the processing component 1202 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件1214包括一个或多个传感器,用于为装置1200提供各个方面的状态评估。例如,传感器组件1214可以检测到装置1200的打开/关闭状态,组件的相对定位,例如所述组件为装置1200的显示器和小键盘,传感器组件1214还可以检测装置1200或装置1200一个组件的位置改变,用户与装置1200接触的存在或不存在,装置1200方位或加速/减速和装置1200的温度变化。传感器组件1214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1214 includes one or more sensors for providing status assessments of various aspects of device 1200 . For example, the sensor component 1214 can detect the open/closed state of the device 1200, the relative positioning of components, such as the display and keypad of the device 1200, and the sensor component 1214 can also detect a change in the position of the device 1200 or a component of the device 1200 , the presence or absence of user contact with the device 1200 , the device 1200 orientation or acceleration/deceleration and the temperature change of the device 1200 . Sensor assembly 1214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1214 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件1216被配置为便于装置1200和其他设备之间有线或无线方式的通信。装置1200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1216 is configured to facilitate wired or wireless communication between the apparatus 1200 and other devices. The device 1200 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置1200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1200 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1204,上述指令可由装置1200的处理器1220执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1204 including instructions, which can be executed by the processor 1220 of the device 1200 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

一种非临时性计算机可读存储介质,当所述存储介质中的指令由装置1200的处理器执行时,使得装置1200能够执行上述屏幕亮度调节方法,所述方法包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the device 1200, the device 1200 can execute the above screen brightness adjustment method, the method includes:

检测屏幕亮度手动调节模式是否开启;Detect whether the manual adjustment mode of screen brightness is turned on;

当屏幕亮度手动调节模式开启时,获取当前本端周围环境的光照信息以及本端屏幕的亮度信息;When the screen brightness manual adjustment mode is turned on, obtain the lighting information of the current surrounding environment of the local terminal and the brightness information of the local screen;

从预存的光照信息与屏幕亮度的对应关系中,确定当前本端屏幕的亮度信息与本端周围环境的光照信息是否对应;From the correspondence between the pre-stored lighting information and the brightness of the screen, determine whether the brightness information of the current screen of the local terminal corresponds to the lighting information of the surrounding environment of the local terminal;

当不对应时,输出需要调节当前本端屏幕亮度的提示信息。When not corresponding, output prompt information that needs to adjust the brightness of the current local screen.

在一个实施例中,所述检测屏幕亮度手动调节模式是否开启,可包括:In one embodiment, the detecting whether the manual adjustment mode of screen brightness is turned on may include:

当接收到开启屏幕的指令时,检测屏幕亮度手动调节模式是否开启。When an instruction to turn on the screen is received, it is detected whether the manual adjustment mode of the screen brightness is turned on.

在一个实施例中,所述方法还可包括:In one embodiment, the method may also include:

从预存的光照信息与屏幕亮度的对应关系中确定当前本端周围环境的光照信息对应的屏幕亮度;Determine the screen brightness corresponding to the lighting information of the current local surrounding environment from the correspondence between the pre-stored lighting information and the screen brightness;

将当前本端屏幕的亮度调整至当前本端周围环境的光照信息对应的屏幕亮度。Adjust the brightness of the current screen of the local terminal to the screen brightness corresponding to the lighting information of the surrounding environment of the current local terminal.

在一个实施例中,所述方法还可包括:In one embodiment, the method may also include:

输出提示用户是否确认调整后的屏幕亮度的提示信息;Output prompt information prompting the user whether to confirm the adjusted screen brightness;

如果用户不确认所述调整后的屏幕亮度,则将所述屏幕亮度恢复到调整之前的亮度。If the user does not confirm the adjusted screen brightness, restore the screen brightness to the brightness before adjustment.

在一个实施例中,所述方法还可包括:In one embodiment, the method may also include:

输出提示用户是否确认调整后的屏幕亮度的提示信息;Output prompt information prompting the user whether to confirm the adjusted screen brightness;

如果用户不确认所述调整后的屏幕亮度,则在所述屏幕上显示供用户调整亮度的亮度调整条。If the user does not confirm the adjusted screen brightness, a brightness adjustment bar for the user to adjust the brightness is displayed on the screen.

本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. a screen luminance adjustment method, it is characterised in that including:
Whether detection screen intensity manual adjustment mode opens;
When screen intensity manual adjustment mode is opened, obtain the Lighting information of current local terminal surrounding and local terminal screen Monochrome information;
From the Lighting information the prestored corresponding relation with screen intensity, determine monochrome information and the local terminal week of current local terminal screen The Lighting information in collarette border is the most corresponding;
When not to correspondence, output needs to regulate the information of current local terminal screen intensity.
Method the most according to claim 1, it is characterised in that whether described detection screen intensity manual adjustment mode is opened Open, including:
When receiving the instruction opening screen, whether detection screen intensity manual adjustment mode opens.
Method the most according to claim 1, it is characterised in that described method also includes:
Corresponding with the Lighting information determining current local terminal surrounding the corresponding relation of screen intensity from the Lighting information prestored Screen intensity;
By screen intensity corresponding for the brightness adjustment of current local terminal screen to the Lighting information of current local terminal surrounding.
Method the most according to claim 3, it is characterised in that described method also includes:
Output prompts the user whether to confirm the information of the screen intensity after adjusting;
If user does not confirm the screen intensity after described adjustment, then described screen intensity is returned to the brightness before adjusting.
Method the most according to claim 3, it is characterised in that described method also includes:
Output prompts the user whether to confirm the information of the screen intensity after adjusting;
If user does not confirm the screen intensity after described adjustment, show the brightness adjusting brightness for user the most on the screen Adjust bar.
6. a screen brightness regulating device, it is characterised in that including:
Detection module, is used for detecting whether screen intensity manual adjustment mode opens;
Acquisition module, for when screen intensity manual adjustment mode is opened, obtains the Lighting information of current local terminal surrounding And the monochrome information of local terminal screen;
First determines module, for the corresponding relation from the Lighting information prestored and screen intensity, determines current local terminal screen Monochrome information the most corresponding with the Lighting information of local terminal surrounding;
First output module, needs to regulate the information of current local terminal screen intensity for output when not to correspondence.
Device the most according to claim 6, it is characterised in that described detection module, including:
Detection sub-module, for when receiving the instruction opening screen, whether detection screen intensity manual adjustment mode opens.
Device the most according to claim 6, it is characterised in that described device also includes:
Second determines module, for determining ring around current local terminal from the corresponding relation of the Lighting information prestored and screen intensity The screen intensity that the Lighting information in border is corresponding;
Adjusting module, for by screen corresponding for the brightness adjustment of current local terminal screen to the Lighting information of current local terminal surrounding Curtain brightness.
Device the most according to claim 8, it is characterised in that described device also includes:
Second output module, prompts the user whether to confirm the information of the screen intensity after adjusting for output;
Recover module, for during when screen intensity after user does not confirm described adjustment, then return to described screen intensity adjust Brightness before whole;
Or;
Described device also includes:
3rd output module, prompts the user whether to confirm the information of the screen intensity after adjusting for output;
Display module, for during when screen intensity after user does not confirm described adjustment, show confession user the most on the screen Adjust the brightness adjustment bar of brightness.
10. a screen brightness regulating device, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Whether detection screen intensity manual adjustment mode opens;
When screen intensity manual adjustment mode is opened, obtain the Lighting information of current local terminal surrounding and local terminal screen Monochrome information;
From the Lighting information the prestored corresponding relation with screen intensity, determine monochrome information and the local terminal week of current local terminal screen The Lighting information in collarette border is the most corresponding;
When not to correspondence, output needs to regulate the information of current local terminal screen intensity.
CN201610623665.7A 2016-08-02 2016-08-02 Screen luminance adjustment method and device Active CN106128415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610623665.7A CN106128415B (en) 2016-08-02 2016-08-02 Screen luminance adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610623665.7A CN106128415B (en) 2016-08-02 2016-08-02 Screen luminance adjustment method and device

Publications (2)

Publication Number Publication Date
CN106128415A true CN106128415A (en) 2016-11-16
CN106128415B CN106128415B (en) 2019-06-28

Family

ID=57254689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610623665.7A Active CN106128415B (en) 2016-08-02 2016-08-02 Screen luminance adjustment method and device

Country Status (1)

Country Link
CN (1) CN106128415B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510963A (en) * 2018-04-17 2018-09-07 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, storage medium and intelligent terminal
CN111104034A (en) * 2019-12-23 2020-05-05 青岛黄海学院 A kind of computer monitor auxiliary device with adjustable brightness and its auxiliary method
CN112037731A (en) * 2020-09-11 2020-12-04 中国第一汽车股份有限公司 Screen brightness adjusting method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0918660A (en) * 1995-06-27 1997-01-17 Ricoh Co Ltd Document reading device
CN101777334A (en) * 2010-01-23 2010-07-14 朱子辰 The display terminal that can regulate brightness automatically and have the brightness memory function
CN104851414A (en) * 2015-05-05 2015-08-19 成都上生活网络科技有限公司 Screen brightness adjustment method
CN104992692A (en) * 2015-08-05 2015-10-21 广东欧珀移动通信有限公司 Method and device for adjusting screen brightness of intelligent terminal and intelligent terminal
CN105355188A (en) * 2015-11-23 2016-02-24 广东欧珀移动通信有限公司 Method and system for adjusting screen brightness of mobile terminal and mobile terminal
CN105450870A (en) * 2015-12-03 2016-03-30 小米科技有限责任公司 Method and device for adjusting brightness of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0918660A (en) * 1995-06-27 1997-01-17 Ricoh Co Ltd Document reading device
CN101777334A (en) * 2010-01-23 2010-07-14 朱子辰 The display terminal that can regulate brightness automatically and have the brightness memory function
CN104851414A (en) * 2015-05-05 2015-08-19 成都上生活网络科技有限公司 Screen brightness adjustment method
CN104992692A (en) * 2015-08-05 2015-10-21 广东欧珀移动通信有限公司 Method and device for adjusting screen brightness of intelligent terminal and intelligent terminal
CN105355188A (en) * 2015-11-23 2016-02-24 广东欧珀移动通信有限公司 Method and system for adjusting screen brightness of mobile terminal and mobile terminal
CN105450870A (en) * 2015-12-03 2016-03-30 小米科技有限责任公司 Method and device for adjusting brightness of mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510963A (en) * 2018-04-17 2018-09-07 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, storage medium and intelligent terminal
CN111104034A (en) * 2019-12-23 2020-05-05 青岛黄海学院 A kind of computer monitor auxiliary device with adjustable brightness and its auxiliary method
CN112037731A (en) * 2020-09-11 2020-12-04 中国第一汽车股份有限公司 Screen brightness adjusting method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106128415B (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN108040360A (en) The method and apparatus of screen display control
CN107038037A (en) Display mode switching method and device
CN112086075B (en) Screen display parameter adjusting method and device and storage medium
CN106128385A (en) Liquid crystal display control method and device
CN105812574A (en) Volume adjusting method and device
CN105528151A (en) Brightness adjusting method and apparatus
CN105653041A (en) Display state adjusting method and device
CN108200279B (en) Backlight adjusting method, device and equipment
CN107347136A (en) Photographic method, device and terminal device
CN107529699A (en) Control method of electronic device and device
CN108334799A (en) Fingerprint identification method and device
CN108769416A (en) It puts out screen and shows method and device
CN106506948A (en) Flash control method and device
CN105611172B (en) The reminding method and device that countdown is taken pictures
CN106332415B (en) Key brightness correcting method and device
CN108040213A (en) The method and apparatus of shooting image
CN106775246B (en) Screen brightness adjusting method and device
CN106128415B (en) Screen luminance adjustment method and device
CN108682400A (en) brightness adjusting method and device
CN108470552A (en) Display methods, device and storage medium
CN106017668B (en) The reminding method and device of radiation intensity
CN109151217B (en) Backlight mode adjusting method and device
CN106610808A (en) Display mode adjustment method and device
CN107809538B (en) Alarm reminder method, device and computer readable storage medium
CN112019680A (en) Screen brightness adjustment method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载