[go: up one dir, main page]

CN111857484A - Screen brightness adjustment method, device, electronic device and readable storage medium - Google Patents

Screen brightness adjustment method, device, electronic device and readable storage medium Download PDF

Info

Publication number
CN111857484A
CN111857484A CN202010739747.4A CN202010739747A CN111857484A CN 111857484 A CN111857484 A CN 111857484A CN 202010739747 A CN202010739747 A CN 202010739747A CN 111857484 A CN111857484 A CN 111857484A
Authority
CN
China
Prior art keywords
screen
brightness
brightness value
screen brightness
value
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
CN202010739747.4A
Other languages
Chinese (zh)
Other versions
CN111857484B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010739747.4A priority Critical patent/CN111857484B/en
Publication of CN111857484A publication Critical patent/CN111857484A/en
Application granted granted Critical
Publication of CN111857484B publication Critical patent/CN111857484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control 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
    • 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)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种屏幕亮度调节方法、装置、电子设备及可读存储介质,属于电子技术领域。所述屏幕亮度调节方法包括:在屏幕的亮度自动调节功能处于关闭状态的情况下,获取当前环境的第一环境亮度值;在所述屏幕当前的第一屏幕亮度值与所述第一环境亮度值不匹配的情况下,显示至少一个亮度调节按键;接收用户对目标亮度调节按键的第一输入;响应于所述第一输入,将所述屏幕的亮度调整为目标屏幕亮度值,所述目标屏幕亮度值为所述目标亮度调节按键对应的屏幕亮度值。本申请实施例提供的技术方案,能够在一定程度上解决现有技术中由于屏幕亮度与环境亮度之间不匹配,使得用户调整屏幕亮度时存在操作不便的问题。

Figure 202010739747

The present application discloses a screen brightness adjustment method, device, electronic device and readable storage medium, which belong to the field of electronic technology. The method for adjusting the screen brightness includes: when the automatic brightness adjustment function of the screen is turned off, acquiring a first ambient brightness value of the current environment; If the values do not match, display at least one brightness adjustment button; receive a first input from the user on the target brightness adjustment button; in response to the first input, adjust the brightness of the screen to the target screen brightness value, the target brightness The screen brightness value is the screen brightness value corresponding to the target brightness adjustment button. The technical solutions provided by the embodiments of the present application can, to a certain extent, solve the problem of inconvenient operation for users to adjust the screen brightness due to the mismatch between the screen brightness and the ambient brightness in the prior art.

Figure 202010739747

Description

屏幕亮度调节方法、装置、电子设备及可读存储介质Screen brightness adjustment method, device, electronic device and readable storage medium

技术领域technical field

本申请属于电子技术领域,具体涉及一种屏幕亮度调节方法、装置、电子设备及可读存储介质。The present application belongs to the field of electronic technology, and in particular relates to a method, device, electronic device and readable storage medium for adjusting screen brightness.

背景技术Background technique

目前,很多电子设备(如手机、平板电脑等)上设置有显示屏幕,而对于显示屏幕,用户常具有调节屏幕亮度的需求。现有技术中,屏幕亮度的调节一般包括两种方式,一种方式为自动调节,即屏幕亮度自动随外界环境亮度的变化而变化;另一种方式为手动调节,即由用户根据自身需求手动调节屏幕亮度。At present, many electronic devices (such as mobile phones, tablet computers, etc.) are provided with display screens, and for the display screens, users often need to adjust the brightness of the screen. In the prior art, the adjustment of screen brightness generally includes two methods. One method is automatic adjustment, that is, the screen brightness automatically changes with the change of the brightness of the external environment; the other method is manual adjustment, that is, the user manually adjusts according to their own needs. Adjust screen brightness.

对于自动调节方式,不必用户执行屏幕亮度的调节操作,使用方便。但对于有些用户而言,还是更习惯于根据自身需求调节屏幕亮度,因此会将自动调节功能关闭,采用手动调节方式。For the automatic adjustment method, the user does not need to perform an adjustment operation of the screen brightness, which is convenient to use. However, for some users, they are more accustomed to adjusting the screen brightness according to their own needs, so the automatic adjustment function will be turned off and the manual adjustment method will be adopted.

通常情况下,屏幕亮度与环境亮度之间具有正相关关系,即环境亮度越高,屏幕亮度也适当高一些;环境亮度越低,屏幕亮度也适当低一些。关闭屏幕亮度自动调节功能后,在某些特殊场景下,可能会遇到屏幕亮度与环境亮度不匹配的情况,影响用户查看屏幕中的显示内容。例如,突然进入光照强度大的环境下(如太阳直射的环境下),可能会由于屏幕亮度偏低而导致难以看清屏幕中的显示内容;或者突然进入光照强度弱的环境下(如晚上没有光照的环境下),可能会由于屏幕亮度偏高而导致比较刺眼。在前述两种场景下,由于环境亮度和屏幕亮度之间的反差较大,屏幕亮度缺乏舒适性,影响用户对屏幕的使用,使得用户在这种场景下调整屏幕亮度时,会存在操作不便的问题。Generally, there is a positive correlation between screen brightness and ambient brightness, that is, the higher the ambient brightness, the higher the screen brightness; the lower the ambient brightness, the lower the screen brightness. After the automatic screen brightness adjustment function is turned off, in some special scenarios, the screen brightness may not match the ambient brightness, which affects the user's viewing of the displayed content on the screen. For example, suddenly entering an environment with high light intensity (such as an environment with direct sunlight), it may be difficult to see the display content on the screen due to the low screen brightness; or suddenly entering an environment with low light intensity (such as no night) light environment), it may be dazzling due to the high brightness of the screen. In the above two scenarios, due to the large contrast between the ambient brightness and the screen brightness, the screen brightness lacks comfort, which affects the user's use of the screen, making it inconvenient for the user to adjust the screen brightness in this scenario. question.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种屏幕亮度调节方法、装置、电子设备及可读存储介质,能够在一定程度上解决现有技术中由于屏幕亮度与环境亮度之间不匹配,使得用户调整屏幕亮度时存在操作不便的问题。The purpose of the embodiments of the present application is to provide a screen brightness adjustment method, device, electronic device, and readable storage medium, which can solve the problem, to a certain extent, that in the prior art, the user adjusts the screen due to the mismatch between the screen brightness and the ambient brightness. There is a problem of inconvenient operation when it comes to brightness.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本申请实施例提供了一种屏幕亮度调节方法,所述屏幕亮度调节方法包括:In a first aspect, an embodiment of the present application provides a method for adjusting screen brightness, and the method for adjusting screen brightness includes:

在屏幕的亮度自动调节功能处于关闭状态的情况下,获取当前环境的第一环境亮度值;When the automatic brightness adjustment function of the screen is turned off, obtain the first ambient brightness value of the current environment;

在所述屏幕当前的第一屏幕亮度值与所述第一环境亮度值不匹配的情况下,显示至少一个亮度调节按键;其中,每一所述亮度调节按键对应一屏幕亮度值,每一所述亮度调节按键对应的屏幕亮度值均与所述第一环境亮度值相匹配;In the case that the current first screen brightness value of the screen does not match the first ambient brightness value, at least one brightness adjustment button is displayed; wherein each of the brightness adjustment buttons corresponds to a screen brightness value, and each brightness adjustment button corresponds to a screen brightness value. The screen brightness values corresponding to the brightness adjustment buttons are all matched with the first ambient brightness value;

接收用户对目标亮度调节按键的第一输入;其中,所述目标亮度调节按键为所述至少一个亮度调节按键中的其中一个;receiving a first input from a user on a target brightness adjustment key; wherein, the target brightness adjustment key is one of the at least one brightness adjustment key;

响应于所述第一输入,将所述屏幕的亮度调整为目标屏幕亮度值,所述目标屏幕亮度值为所述目标亮度调节按键对应的屏幕亮度值。In response to the first input, the brightness of the screen is adjusted to a target screen brightness value, and the target screen brightness value is a screen brightness value corresponding to the target brightness adjustment button.

第二方面,本申请实施例提供了一种屏幕亮度调节装置,所述屏幕亮度调节装置包括:In a second aspect, an embodiment of the present application provides a screen brightness adjustment device, and the screen brightness adjustment device includes:

获取模块,用于在屏幕的亮度自动调节功能处于关闭状态的情况下,获取当前环境的第一环境亮度值;an acquisition module, configured to acquire the first ambient brightness value of the current environment when the automatic brightness adjustment function of the screen is turned off;

显示模块,用于在所述屏幕当前的第一屏幕亮度值与所述第一环境亮度值不匹配的情况下,显示至少一个亮度调节按键;其中,每一所述亮度调节按键对应一屏幕亮度值,每一所述亮度调节按键对应的屏幕亮度值均与所述第一环境亮度值相匹配;A display module, configured to display at least one brightness adjustment button when the current first screen brightness value of the screen does not match the first ambient brightness value; wherein each of the brightness adjustment buttons corresponds to a screen brightness value, the screen brightness value corresponding to each of the brightness adjustment buttons matches the first ambient brightness value;

接收模块,用于接收用户对目标亮度调节按键的第一输入;其中,所述目标亮度调节按键为所述至少一个亮度调节按键中的其中一个;a receiving module, configured to receive a user's first input on a target brightness adjustment key; wherein, the target brightness adjustment key is one of the at least one brightness adjustment key;

调整模块,用于响应于所述第一输入,将所述屏幕的亮度调整为目标屏幕亮度值,所述目标屏幕亮度值为所述目标亮度调节按键对应的屏幕亮度值。An adjustment module, configured to adjust the brightness of the screen to a target screen brightness value in response to the first input, where the target screen brightness value is a screen brightness value corresponding to the target brightness adjustment button.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的屏幕亮度调节方法中的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes: a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction When executed by the processor, the steps in the method for adjusting screen brightness according to the first aspect are implemented.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的屏幕亮度调节方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the screen brightness adjustment according to the first aspect is implemented steps of the method.

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的屏幕亮度调节方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect The described screen brightness adjustment method.

本申请实施例中,在屏幕的亮度自动调节功能被关闭后,若遇到屏幕当前的亮度与环境亮度不匹配的情况,可以快速显示亮度调节按键,以供用户调节屏幕亮度,省去用户查找亮度调节按键的操作工作。此外,本申请实施例中的亮度调节按键为一键亮度调节,即触控某一亮度调节按键后,可以直接将屏幕亮度调整为与该亮度调节按键对应的屏幕亮度值,相比于传统的拖动调节方式,亮度调节更加快捷。进一步地,本申请实施例中,每一亮度调节按键对应的屏幕亮度值均与当前环境的亮度相匹配,不需要用户进行尝试、探索,使亮度调整操作更加便利。总之,本申请实施例提供的屏幕亮度调节方法,能够在屏幕亮度与环境亮度不匹配的情况,使用户方便且快捷地将屏幕亮度调整到合适的亮度,减少给用户带来不便感的时长。In the embodiment of the present application, after the automatic brightness adjustment function of the screen is turned off, if the current brightness of the screen does not match the ambient brightness, the brightness adjustment button can be quickly displayed for the user to adjust the brightness of the screen, saving the user from searching The operation of the brightness adjustment buttons works. In addition, the brightness adjustment button in the embodiment of the present application is a one-key brightness adjustment, that is, after touching a brightness adjustment button, the screen brightness can be directly adjusted to the screen brightness value corresponding to the brightness adjustment button. Compared with the traditional brightness adjustment button Drag the adjustment method to adjust the brightness more quickly. Further, in the embodiment of the present application, the screen brightness value corresponding to each brightness adjustment button matches the brightness of the current environment, and the user does not need to try and explore, which makes the brightness adjustment operation more convenient. In a word, the screen brightness adjustment method provided by the embodiments of the present application can enable the user to conveniently and quickly adjust the screen brightness to an appropriate brightness when the screen brightness does not match the ambient brightness, thereby reducing the length of time that brings inconvenience to the user.

附图说明Description of drawings

图1是本申请实施例提供的屏幕亮度调节方法的流程示意图;1 is a schematic flowchart of a method for adjusting screen brightness provided by an embodiment of the present application;

图2是本申请实施例提供的示例的流程示意图;2 is a schematic flowchart of an example provided by an embodiment of the present application;

图3是本申请实施例提供的屏幕亮度调节装置的示意框图;3 is a schematic block diagram of a screen brightness adjustment device provided by an embodiment of the present application;

图4是本申请实施例提供的电子设备的示意框图之一;FIG. 4 is one of the schematic block diagrams of the electronic device provided by the embodiment of the present application;

图5是本申请实施例提供的电子设备的示意框图之二。FIG. 5 is the second schematic block diagram of the electronic device provided by the embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的屏幕亮度调节方法进行详细地说明。The following describes the screen brightness adjustment method provided by the embodiments of the present application in detail through specific embodiments and application scenarios with reference to the accompanying drawings.

图1是本申请实施例提供的一种屏幕亮度调节方法的流程示意图,该屏幕亮度调节方法应用于设置有屏幕的电子设备。FIG. 1 is a schematic flowchart of a method for adjusting screen brightness provided by an embodiment of the present application. The method for adjusting screen brightness is applied to an electronic device provided with a screen.

如图1所示,该屏幕亮度调节方法包括:As shown in Figure 1, the screen brightness adjustment method includes:

步骤101:在屏幕的亮度自动调节功能处于关闭状态的情况下,获取当前环境的第一环境亮度值。Step 101 : in the case that the automatic brightness adjustment function of the screen is turned off, obtain a first ambient brightness value of the current environment.

本申请实施例中,在屏幕的亮度自动调节功能处于关闭状态的情况下,可以实时或定时获取电子设备所处环境(即当前环境)的环境亮度值(即第一环境亮度值)。In the embodiment of the present application, when the automatic brightness adjustment function of the screen is turned off, the ambient brightness value (ie the first ambient brightness value) of the environment where the electronic device is located (ie the current environment) can be acquired in real time or regularly.

对于目前很多电子设备(如手机、平板电脑等)而言,光敏传感器是必配器件,因此,本申请实施例中,可以通过安装于电子设备中的光敏传感器获取当前环境的亮度值。For many current electronic devices (such as mobile phones, tablet computers, etc.), a photosensitive sensor is a necessary device. Therefore, in the embodiments of the present application, the brightness value of the current environment can be obtained through the photosensitive sensor installed in the electronic device.

步骤102:在屏幕当前的第一屏幕亮度值与第一环境亮度值不匹配的情况下,显示至少一个亮度调节按键。Step 102: In the case that the current first screen brightness value of the screen does not match the first environment brightness value, display at least one brightness adjustment button.

本申请实施例中,在获取到当前环境的亮度值之后,可以判断屏幕当前的亮度与当前环境的亮度是否相匹配。在确定二者之间不匹配的情况下,显示至少一个亮度调节按键。In this embodiment of the present application, after obtaining the brightness value of the current environment, it can be determined whether the current brightness of the screen matches the brightness of the current environment. In the case where it is determined that there is no match between the two, at least one brightness adjustment key is displayed.

其中,每一亮度调节按键对应一屏幕亮度值,即触控不同亮度调节按键,屏幕亮度会被调整到不同亮度值,且触控一亮度调节按键后,屏幕亮度直接调整至与该亮度调节按键对应屏幕亮度值。另外,每一亮度调节按键对应的屏幕亮度值均与当前环境的亮度值相匹配。Among them, each brightness adjustment button corresponds to a screen brightness value, that is, when different brightness adjustment buttons are touched, the screen brightness will be adjusted to different brightness values, and after touching a brightness adjustment button, the screen brightness is directly adjusted to the same brightness adjustment button. Corresponds to the screen brightness value. In addition, the screen brightness value corresponding to each brightness adjustment button matches the brightness value of the current environment.

步骤103:接收用户对目标亮度调节按键的第一输入。Step 103: Receive a first input from the user on the target brightness adjustment key.

这里所述的目标亮度调节按键为步骤102中所述的至少一个亮度调节按键中的其中一个。The target brightness adjustment key described here is one of the at least one brightness adjustment key described in step 102 .

这里所述的第一输入可以包括但不限于:单击触控操作、双击触控操作、长按触控操作或重按触控操作等。The first input described here may include, but is not limited to, a single-click touch operation, a double-click touch operation, a long-press touch operation, or a re-press touch operation, and the like.

步骤104:响应于第一输入,将屏幕的亮度调整为目标屏幕亮度值。Step 104: In response to the first input, adjust the brightness of the screen to the target screen brightness value.

其中,该目标屏幕亮度值为目标亮度调节按键对应的屏幕亮度值。The target screen brightness value is the screen brightness value corresponding to the target brightness adjustment button.

电子设备接收到第一输入后,对第一输入进行响应,将屏幕的亮度调整为目标屏幕亮度值,这里的目标屏幕亮度值为该目标亮度调节按键对应的屏幕亮度值。After receiving the first input, the electronic device responds to the first input and adjusts the brightness of the screen to the target screen brightness value, where the target screen brightness value is the screen brightness value corresponding to the target brightness adjustment button.

本申请实施例中,在屏幕的亮度自动调节功能被关闭后,若遇到屏幕当前的亮度与环境亮度不匹配的情况(如反差较大时),可以自动显示亮度调节按键,以供用户调节屏幕亮度,省去用户查找亮度调节按键的操作工作。此外,本申请实施例中的亮度调节按键为一键亮度调节,即触控某一亮度调节按键后,可以直接将屏幕亮度调整为与该亮度调节按键对应的屏幕亮度值,相比于传统的拖动调节方式,亮度调节更加快捷。进一步地,本申请实施例中,每一亮度调节按键对应的屏幕亮度值均与当前环境的亮度相匹配,不需要用户进行尝试、探索,使亮度调整操作更加便利。In the embodiment of the present application, after the automatic brightness adjustment function of the screen is turned off, if the current brightness of the screen does not match the ambient brightness (such as when the contrast is large), the brightness adjustment button may be automatically displayed for the user to adjust Screen brightness, saving the user the operation work of finding the brightness adjustment button. In addition, the brightness adjustment button in the embodiment of the present application is a one-key brightness adjustment, that is, after touching a brightness adjustment button, the screen brightness can be directly adjusted to the screen brightness value corresponding to the brightness adjustment button. Compared with the traditional brightness adjustment button Drag the adjustment method to adjust the brightness more quickly. Further, in the embodiment of the present application, the screen brightness value corresponding to each brightness adjustment button matches the brightness of the current environment, and the user does not need to try and explore, which makes the brightness adjustment operation more convenient.

总之,本申请实施例提供的屏幕亮度调节方法,能够在屏幕亮度与环境亮度不匹配的情况,使用户方便且快捷地将屏幕亮度调整到合适的亮度,减少给用户带来不便感的时长。In a word, the screen brightness adjustment method provided by the embodiments of the present application can enable the user to conveniently and quickly adjust the screen brightness to an appropriate brightness when the screen brightness does not match the ambient brightness, thereby reducing the length of time that brings inconvenience to the user.

可选地,在显示亮度调节按键后,若用户不想调节屏幕亮度,可以通过预设操作取消亮度调节按键的显示,如通过语音输入控制、在触控屏上的触控操作(如点击亮度调节按键外的显示区域)、对预设物理按键(如电源键、home键等)的触控操作或隔空手势操作等实现。Optionally, after the brightness adjustment button is displayed, if the user does not want to adjust the screen brightness, the display of the brightness adjustment button can be canceled through a preset operation, such as voice input control, touch operation on the touch screen (such as clicking the brightness adjustment button). The display area outside the button), the touch operation of the preset physical buttons (such as the power button, the home button, etc.) or the air gesture operation, etc.

可选地,亮度调节按键的数量为一个。在屏幕亮度与环境亮度不匹配的情况,用户的期望是尽快调整好屏幕亮度,以更好地查看屏幕内容,因此,一个亮度调节按键在满足亮度需求的同时,可以快速完成亮度调节工作,使得调节过程更加简捷。Optionally, the number of brightness adjustment keys is one. When the brightness of the screen does not match the brightness of the environment, the user's expectation is to adjust the brightness of the screen as soon as possible to better view the contents of the screen. Therefore, a brightness adjustment button can quickly complete the brightness adjustment while meeting the brightness requirements, making The adjustment process is simpler.

可选地,亮度调节按键的数量为至少两个。不同用户对光线的感知能力不同,因此,提供多个亮度调节按键,可以使得用户选择更适合自身的屏幕亮度,提高舒适性。Optionally, the number of brightness adjustment keys is at least two. Different users have different perception capabilities of light, therefore, providing multiple brightness adjustment buttons enables users to select a screen brightness that is more suitable for them, thereby improving comfort.

可选地,亮度调节按键可以沿从左到右的方向或从上到下的方向,按照对应的屏幕亮度值由小到大的顺序进行排列,以便用户分辨每个亮度调节按键对应的屏幕亮度值的大小关系。其中,这里所述的左和右是以用户为参照物的方向,例如,这里所述的左为:屏幕与用户面对面相对设置时用户的左侧,这里所述的右为:屏幕与用户面对面相对设置时用户的右侧。这里所述的上和下是以电子设备作为参照物的方向,其中,以电子设备的顶部为上,以电子设备的底部为下。Optionally, the brightness adjustment buttons can be arranged in the direction from left to right or from top to bottom, according to the corresponding screen brightness value in ascending order, so that the user can distinguish the screen brightness corresponding to each brightness adjustment button. value relationship. Wherein, the left and right described here are the directions of the user as a reference. For example, the left described here is: the left side of the user when the screen is set face to face with the user, and the right described here is: the screen faces the user. The right side of the user when set relative. The upper and lower mentioned here are the directions of the electronic device as a reference object, wherein the top of the electronic device is taken as the top and the bottom of the electronic device is taken as the bottom.

可选地,前文提到:在屏幕当前的第一屏幕亮度值与第一环境亮度值不匹配的情况下,显示至少一个亮度调节按键,对于如何判断屏幕当前的第一屏幕亮度值与第一环境亮度值是否相匹配,本申请实施例提供了一种实现方式,如下所述:Optionally, as mentioned above: in the case that the current first screen brightness value of the screen does not match the first ambient brightness value, at least one brightness adjustment button is displayed. Whether the ambient brightness values match, the embodiment of the present application provides an implementation method, as follows:

在步骤102之前,该屏幕亮度调节方法还可以包括:Before step 102, the screen brightness adjustment method may further include:

根据环境亮度值与屏幕亮度值之间的预设对应关系,确定与第一环境亮度值对应的目标屏幕亮度取值范围;在第一屏幕亮度值未处于目标屏幕亮度取值范围之内的情况下,确定第一屏幕亮度值与第一环境亮度值不匹配;在第一屏幕亮度值处于目标屏幕亮度取值范围之内的情况下,确定第一屏幕亮度值与第一环境亮度值相匹配。Determine the target screen brightness value range corresponding to the first ambient brightness value according to the preset correspondence between the ambient brightness value and the screen brightness value; when the first screen brightness value is not within the target screen brightness value range Next, determine that the brightness value of the first screen does not match the brightness value of the first environment; when the brightness value of the first screen is within the range of the brightness value of the target screen, determine that the brightness value of the first screen matches the brightness value of the first environment .

本申请实施例中,可以预先设置环境亮度值与屏幕亮度值之间的预设对应关系。其中,每一环境亮度值对应的屏幕亮度值为:在该环境亮度值的环境亮度下,适合用户查看屏幕内容的屏幕亮度。In this embodiment of the present application, a preset correspondence relationship between the ambient brightness value and the screen brightness value may be preset. The screen brightness value corresponding to each ambient brightness value is: a screen brightness suitable for the user to view the screen content under the ambient brightness of the ambient brightness value.

在获取到当前环境的第一环境亮度值之后,可以根据环境亮度值与屏幕亮度值之间的预设对应关系,确定与第一环境亮度值对应的屏幕亮度值(以下称为第二屏幕亮度值),然后根据第二屏幕亮度值以及预设的亮度冗余量(非0数值),确定一目标屏幕亮度取值范围。若第一屏幕亮度值处于目标屏幕亮度取值范围之内,则认为第一屏幕亮度值与第一环境亮度值相匹配;若第一屏幕亮度值未处于目标屏幕亮度取值范围之内,则认为第一屏幕亮度值与第一环境亮度值不匹配。After the first ambient brightness value of the current environment is acquired, the screen brightness value corresponding to the first ambient brightness value (hereinafter referred to as the second screen brightness value) can be determined according to the preset correspondence between the ambient brightness value and the screen brightness value. value), and then determine a target screen brightness value range according to the second screen brightness value and the preset brightness redundancy amount (a non-zero value). If the first screen brightness value is within the range of the target screen brightness value, it is considered that the first screen brightness value matches the first ambient brightness value; if the first screen brightness value is not within the target screen brightness value range, then It is considered that the first screen brightness value does not match the first ambient brightness value.

可选地,在确定第一屏幕亮度值与第一环境亮度值不匹配的情况下,该屏幕亮度调节方法还可以包括:根据目标屏幕亮度取值范围,确定亮度调节按键的数量。Optionally, when it is determined that the first screen brightness value does not match the first environment brightness value, the screen brightness adjustment method may further include: determining the number of brightness adjustment buttons according to the target screen brightness value range.

本申请实施例中,可以根据目标屏幕亮度取值范围确定亮度调节按键的数量。例如,目标屏幕亮度取值范围为[100,200],然后预设每隔30亮度值,生成一个亮度调节按键。若第一个亮度调节按键对应的屏幕亮度值为100,则根据该目标屏幕亮度取值范围,可以得到4个亮度调节按键,每个亮度调节按键对应的屏幕亮度值从小到大依次为:100、130、160、190。其中,相邻两个亮度调节按键对应的屏幕亮度值之间的预设差值,可以根据实际需求设置。第一个亮度调节按键对应的屏幕亮度值可以取目标屏幕亮度取值范围中的最小值,也可以设置其他取值规则进行取值,本发明实施例对此不进行限定。In this embodiment of the present application, the number of brightness adjustment buttons may be determined according to the range of the brightness value of the target screen. For example, the target screen brightness value range is [100, 200], and then preset every 30 brightness values to generate a brightness adjustment button. If the screen brightness value corresponding to the first brightness adjustment button is 100, then according to the range of the target screen brightness value, 4 brightness adjustment buttons can be obtained, and the screen brightness value corresponding to each brightness adjustment button from small to large is: 100 , 130, 160, 190. The preset difference between the screen brightness values corresponding to two adjacent brightness adjustment buttons may be set according to actual needs. The screen brightness value corresponding to the first brightness adjustment button may take the minimum value in the target screen brightness value range, or other value-taking rules may be set to take the value, which is not limited in this embodiment of the present invention.

可选地,在屏幕亮度与环境亮度不匹配的情况下,若用户没有查看屏幕显示内容的需求,则没有调整屏幕亮度的必要,因此,本申请实施例中,在显示至少一个亮度调节按键之前,还可以检测用户是否具有查看屏幕显示内容的需求。对于如何检测用户是否具有查看屏幕显示内容的需求,本申请实施例提供了如下实现方式:Optionally, in the case that the brightness of the screen does not match the brightness of the environment, if the user does not need to view the content displayed on the screen, there is no need to adjust the brightness of the screen. Therefore, in this embodiment of the present application, before displaying at least one brightness adjustment button , and can also detect whether the user has the need to view the content displayed on the screen. For how to detect whether the user has the need to view the content displayed on the screen, the embodiment of the present application provides the following implementation methods:

步骤103:显示至少一个亮度调节按键,可以包括:Step 103: Display at least one brightness adjustment button, which may include:

在第一屏幕亮度值小于目标屏幕亮度取值范围之中的最小值,且检测到屏幕所在的电子设备朝向用户人脸移动的情况下,显示至少一个亮度调节按键;When the first screen brightness value is less than the minimum value in the target screen brightness value range, and it is detected that the electronic device where the screen is located moves towards the user's face, displaying at least one brightness adjustment button;

或者,在第一屏幕亮度值小于目标屏幕亮度取值范围之中的最小值,且检测到用户眼睛注视屏幕的情况下,显示至少一个亮度调节按键;Or, when the first screen brightness value is smaller than the minimum value in the target screen brightness value range, and it is detected that the user's eyes are fixed on the screen, at least one brightness adjustment button is displayed;

或者,在第一屏幕亮度值大于目标屏幕亮度取值范围之中的最大值,且检测到电子设备远离用户人脸移动的情况下,显示至少一个亮度调节按键;Or, when the first screen brightness value is greater than the maximum value in the target screen brightness value range, and it is detected that the electronic device moves away from the user's face, at least one brightness adjustment button is displayed;

或者,在第一屏幕亮度值大于目标屏幕亮度取值范围之中的最大值,且检测到用户眼睛注视屏幕的情况下,显示至少一个亮度调节按键。Alternatively, when the first screen brightness value is greater than the maximum value in the target screen brightness value range, and it is detected that the user's eyes are fixed on the screen, at least one brightness adjustment button is displayed.

本申请实施例中,可以通过电子设备与用户人脸之间的位置关系变化,和/或,用户眼睛是否正在注视屏幕,来判断用户是否具有使用屏幕的需求。下面对此进行进一步地解释说明。In this embodiment of the present application, it can be determined whether the user has a need to use the screen by changing the positional relationship between the electronic device and the user's face, and/or whether the user's eyes are looking at the screen. This is further explained below.

在第一屏幕亮度值小于目标屏幕亮度取值范围之中的最小值的情况下,说明屏幕亮度相对于环境亮度偏低,屏幕中的显示内容会因为屏幕亮度较低而难以看清,这时用户若正在使用屏幕会下意识将电子设备靠近人脸,以拉近屏幕与人眼之间的距离,从而查看显示内容。因此,在第一屏幕亮度值小于目标屏幕亮度取值范围之中的最小值的情况下,若检测到电子设备朝向用户人脸移动,则可以认为用户具有查看屏幕显示内容的需求;若检测到电子设备没有朝向用户人脸移动,则可以认为用户没有查看屏幕显示内容的需求。In the case where the first screen brightness value is less than the minimum value in the target screen brightness value range, it means that the screen brightness is relatively low relative to the ambient brightness, and the content displayed on the screen will be difficult to see due to the low screen brightness. If the user is using the screen, he will subconsciously bring the electronic device close to the face, so as to shorten the distance between the screen and the human eye, so as to view the displayed content. Therefore, in the case where the first screen brightness value is less than the minimum value in the target screen brightness value range, if it is detected that the electronic device moves towards the user's face, it can be considered that the user has the need to view the content displayed on the screen; If the electronic device does not move toward the user's face, it can be considered that the user does not need to view the content displayed on the screen.

在第一屏幕亮度值大于目标屏幕亮度取值范围之中的最大值的情况下,说明屏幕亮度相对于环境亮度偏高,屏幕会因为亮度较高而比较刺眼,这时用户若正在使用屏幕,会下意识将电子设备远离人脸,以拉远屏幕与人眼之间的距离,从而避免刺眼。因此,在第一屏幕亮度值大于目标屏幕亮度取值范围之中的最大值的情况下,若检测到电子设备远离用户人脸移动,则可以认为用户具有查看屏幕显示内容的需求;若检测到电子设备没有朝向用户人脸移动,则可以认为用户没有查看屏幕显示内容的需求。When the first screen brightness value is greater than the maximum value in the target screen brightness value range, it means that the screen brightness is relatively high relative to the ambient brightness, and the screen will be dazzling due to the high brightness. At this time, if the user is using the screen, It will subconsciously move the electronic device away from the face to widen the distance between the screen and the human eye to avoid glare. Therefore, in the case where the first screen brightness value is greater than the maximum value in the target screen brightness value range, if it is detected that the electronic device moves away from the user's face, it can be considered that the user has the need to view the content displayed on the screen; If the electronic device does not move toward the user's face, it can be considered that the user does not need to view the content displayed on the screen.

可选地,在检测电子设备与用户人脸之间的位置关系变化时,可以通过电子设备上设置的重力加速度传感器和摄像头进行检测。例如,通过重力加速度传感器检测到电子设备向上移动,且通过摄像头获取的图像确定用户人脸处于俯视角度,则认为电子设备朝向用户人脸移动;或通过重力加速度传感器检测到电子设备向下移动,且通过摄像头获取的图像确定用户人脸处于仰视角度,则认为电子设备朝向用户人脸移动。再例如,通过重力加速度传感器检测到电子设备向下移动,且通过摄像头获取的图像确定用户人脸处于俯视角度,则认为电子设备远离用户人脸移动;或通过重力加速度传感器检测到电子设备向上移动,且通过摄像头获取的图像确定用户人脸处于仰视角度,则认为电子设备远离用户人脸移动。Optionally, when detecting a change in the positional relationship between the electronic device and the user's face, the detection may be performed by a gravitational acceleration sensor and a camera set on the electronic device. For example, if the upward movement of the electronic device is detected by the gravitational acceleration sensor, and the user's face is determined to be at a top-down angle through the image obtained by the camera, it is considered that the electronic device is moving towards the user's face; or the downward movement of the electronic device is detected by the gravitational acceleration sensor, And if it is determined that the user's face is at an upward looking angle through the image obtained by the camera, it is considered that the electronic device is moving toward the user's face. For another example, if the downward movement of the electronic device is detected by the gravitational acceleration sensor, and the user's face is determined to be at a top-down angle through the image obtained by the camera, it is considered that the electronic device is moving away from the user's face; or the gravitational acceleration sensor detects that the electronic device moves upwards. , and it is determined from the image obtained by the camera that the user's face is at an upward looking angle, it is considered that the electronic device is moving away from the user's face.

需要说明的是,这里所述的上和下是以重力方向为参考进行定义的,与重力方向同向时为下,与重力方向反向时为上。It should be noted that the up and down mentioned here are defined with reference to the direction of gravity, and when the direction of gravity is the same as the direction of gravity, it is down, and when it is opposite to the direction of gravity, it is up.

可选地,在检测电子设备与用户人脸之间的位置关系变化时,还可以通过电子设备上设置的距离传感器(如光学距离传感器、红外距离传感器、超声波距离传感器等)进行检测。在检测到电子设备与用户人脸之间的距离逐渐变小时,认为电子设备朝向用户人脸移动;在检测到电子设备与用户人脸之间的距离逐渐变大时,认为电子设备远离用户人脸移动。Optionally, when detecting the change in the positional relationship between the electronic device and the user's face, the detection can also be performed by a distance sensor (eg, an optical distance sensor, an infrared distance sensor, an ultrasonic distance sensor, etc.) provided on the electronic device. When it is detected that the distance between the electronic device and the user's face becomes gradually smaller, it is considered that the electronic device is moving towards the user's face; when the distance between the electronic device and the user's face is gradually increased, it is considered that the electronic device is far away from the user's face. face moves.

本申请实施例中,除了可以通过电子设备与用户人脸之间的位置关系变化,来判断用户是否具有使用屏幕的需求,还可以通过检测用户的眼睛是否正在注视屏幕,来判断用户是否具有查看屏幕显示内容的需求。例如,若检测到用户的眼睛正在注视屏幕,则可以认为用户具有查看屏幕显示内容的需求;若检测到用户的眼睛未正在注视屏幕,则可以认为用户没有查看屏幕显示内容的需求。In the embodiment of the present application, in addition to determining whether the user has the need to use the screen through the change in the positional relationship between the electronic device and the user's face, it can also determine whether the user has the ability to view the screen by detecting whether the user's eyes are looking at the screen. Screen display content requirements. For example, if it is detected that the user's eyes are looking at the screen, it can be considered that the user has a need to view the content displayed on the screen; if it is detected that the user's eyes are not looking at the screen, it can be considered that the user has no need to view the content displayed on the screen.

可选地,在检测用户的眼睛是否正在注视屏幕时,可以通过电子设备上设置的摄像头获取的图像进行判断。在摄像头获取的图像包括人眼图像,并根据人眼图像确定人眼视线的焦点处于屏幕的显示区域中的情况下,确定用户眼睛正在注视屏幕;在摄像头获取的图像不包括人眼图像,或包括人眼图像,但根据人眼图像确定人眼视线的焦点未处于屏幕的显示区域中的情况下,确定用户眼睛未注视屏幕。Optionally, when detecting whether the user's eyes are looking at the screen, it can be determined by using an image obtained by a camera set on the electronic device. If the image obtained by the camera includes the image of the human eye, and it is determined according to the image of the human eye that the focus of the line of sight of the human eye is in the display area of the screen, it is determined that the user's eyes are looking at the screen; if the image obtained by the camera does not include the image of the human eye, or The human eye image is included, but when it is determined according to the human eye image that the focus of the line of sight of the human eye is not in the display area of the screen, it is determined that the user's eyes are not looking at the screen.

可以理解地是,对于前述两种用于判断用户是否具有使用屏幕需求的实现方式,可以单独使用,也可以结合使用。在结合使用,当且仅当通过两种实现方式均确定用户具有使用屏幕的需求时,才显示至少一个亮度调节按键,这样可以提高用户行为判断的准确性。It can be understood that, the foregoing two implementation manners for determining whether the user has the requirement to use the screen may be used alone or in combination. When used in combination, at least one brightness adjustment button is displayed if and only when it is determined that the user has a need to use the screen through both implementations, which can improve the accuracy of user behavior judgment.

本申请实施例中,结合人体对屏幕亮度的自然反应,友好地调出亮度调节按键,以贴合用户实际需求,使得用户更容易接受。In the embodiment of the present application, in combination with the natural reaction of the human body to the brightness of the screen, the brightness adjustment button is amicably called up, so as to fit the actual needs of the user and make it easier for the user to accept.

可选地,在屏幕亮度相对于环境亮度偏低的情况下,在显示亮度调节按键时,为了方便用户看清亮度调节按键,可以对亮度调节按键高亮显示,因此,步骤102:显示至少一个亮度调节按键,可以包括:Optionally, when the brightness of the screen is low relative to the brightness of the environment, when the brightness adjustment buttons are displayed, in order to facilitate the user to see the brightness adjustment buttons, the brightness adjustment buttons can be highlighted. Therefore, step 102: display at least one Brightness adjustment buttons, which can include:

在第一屏幕亮度值小于目标屏幕亮度取值范围之中的最小值的情况下,显示至少一个亮度调节按键。其中,所述至少一个亮度调节按键的屏幕亮度值大于第一屏幕亮度值,且处于目标屏幕亮度取值范围内。In the case that the first screen brightness value is smaller than the minimum value in the target screen brightness value range, at least one brightness adjustment key is displayed. Wherein, the screen brightness value of the at least one brightness adjustment key is greater than the first screen brightness value, and is within the range of the target screen brightness value.

本申请实施例中,在对亮度调节按键高亮显示时,可以仅控制显示有亮度调节按键的显示区域的亮度值处于目标屏幕亮度取值范围内;也可以将屏幕的整个显示区域的亮度值处于目标屏幕亮度取值范围内,对于亮度调节按键显示区域之外的屏幕显示区域,可以通过特定技术手段将显示画面置暗,从而突出亮度调节按键的显示。其中,这里所述的特定技术手段可以包括但不限于:对目标显示画面进行区域灰度处理、在目标显示画面之上显示预设透明度蒙版、或采用一定的像素算法将显示画面的像素转换为亮度值较低的状态。优选地,可以通过特定技术手段,将目标显示画面的亮度调整至第一屏幕亮度值。其中,这里所述的目标显示画面为亮度调节按键所在的显示区域之外的显示区域中的显示画面。In the embodiment of the present application, when the brightness adjustment button is highlighted, the brightness value of the display area where the brightness adjustment button is displayed may only be controlled to be within the brightness value range of the target screen; or the brightness value of the entire display area of the screen may be controlled Within the range of the target screen brightness value, for the screen display area outside the display area of the brightness adjustment button, the display screen can be dimmed by specific technical means, so as to highlight the display of the brightness adjustment button. The specific technical means described here may include, but are not limited to: performing regional grayscale processing on the target display screen, displaying a preset transparency mask on the target display screen, or using a certain pixel algorithm to convert the pixels of the display screen It is a state with a low brightness value. Preferably, the brightness of the target display image can be adjusted to the first screen brightness value through specific technical means. The target display picture described here is a display picture in a display area other than the display area where the brightness adjustment button is located.

用户触控亮度调节按键后,电子设备将屏幕亮度调整为与被触控的亮度调节按键对应的屏幕亮度值,并自动取消亮度调节按键的显示。After the user touches the brightness adjustment button, the electronic device adjusts the screen brightness to a screen brightness value corresponding to the touched brightness adjustment button, and automatically cancels the display of the brightness adjustment button.

其中,为了突显亮度调节按键,而调整屏幕整个显示区域或部分显示的亮度时,若在预设时长内未检测到任何在终端上的处理操作,则恢复为原亮度(即第一屏幕亮度值)。Among them, when adjusting the brightness of the entire display area or part of the screen in order to highlight the brightness adjustment button, if no processing operation on the terminal is detected within the preset time period, the original brightness (that is, the brightness value of the first screen) will be restored. ).

可选地,在屏幕亮度相对于环境亮度偏高的情况下,在显示亮度调节按键时,为了方便用户查看亮度调节按键,可以突出显示亮度调节按键,因此,步骤102:显示至少一个亮度调节按键,可以包括:Optionally, when the brightness of the screen is relatively high relative to the ambient brightness, when the brightness adjustment buttons are displayed, in order to facilitate the user to view the brightness adjustment buttons, the brightness adjustment buttons can be highlighted. Therefore, step 102: display at least one brightness adjustment button. , which can include:

在第一屏幕亮度值大于目标屏幕亮度取值范围之中的最大值的情况下,对屏幕中的显示画面进行预设处理;在对该显示画面进行预设处理之后,显示至少一个亮度调节按键。When the first screen brightness value is greater than the maximum value in the target screen brightness value range, preset processing is performed on the display image on the screen; after the preset processing is performed on the display image, at least one brightness adjustment button is displayed .

其中,这里所述的预设处理用于降低显示画面的显示亮度,可以包括:在该显示画面之上显示预设透明度的蒙版,或对该显示画面进行区域灰度处理,或控制该显示画面的像素以预设亮度值显示。其中,该预设亮度值小于第一屏幕亮度值。The preset processing described here is used to reduce the display brightness of the display screen, and may include: displaying a mask with preset transparency on the display screen, or performing regional grayscale processing on the display screen, or controlling the display screen The pixels of the picture are displayed with preset brightness values. Wherein, the preset brightness value is smaller than the first screen brightness value.

其中,亮度调节按键的屏幕亮度值处于目标屏幕亮度取值范围内,且屏幕亮度值大于进行预设处理后的显示画面的亮度值,这样在保证屏幕不刺眼的同时,可以突出显示亮度调节按键,方便用户进行查看。Among them, the screen brightness value of the brightness adjustment button is within the range of the target screen brightness value, and the screen brightness value is greater than the brightness value of the display screen after the preset processing, so that the brightness adjustment button can be highlighted while ensuring that the screen is not dazzling. , which is convenient for users to view.

用户触控亮度调节按键后,电子设备将屏幕亮度调整为与被触控的亮度调节按键对应的屏幕亮度值,并自动取消亮度调节按键的显示。After the user touches the brightness adjustment button, the electronic device adjusts the screen brightness to a screen brightness value corresponding to the touched brightness adjustment button, and automatically cancels the display of the brightness adjustment button.

在本实施例中,针对用户从亮环境进入暗环境的情景,可以通过一系列方法对于整个屏幕的显示亮度进行处理,再控制亮度调节按键显示,使得用户能够快速的将屏幕调整至合适的亮度,保证用户在进入暗环境之后不会因为过亮的屏幕而刺激到眼睛,也避免了在自动亮度调节模式下,终端将屏幕自动调节至过低的亮度导致用户无法看清屏幕。In this embodiment, for a scenario where a user enters a dark environment from a bright environment, a series of methods can be used to process the display brightness of the entire screen, and then control the display of the brightness adjustment buttons, so that the user can quickly adjust the screen to an appropriate brightness , to ensure that the user will not irritate the eyes due to the excessively bright screen after entering the dark environment, and also avoids that the terminal automatically adjusts the screen to an excessively low brightness in the automatic brightness adjustment mode, causing the user to be unable to see the screen clearly.

可选地,本申请实施例中,在屏幕亮度与环境亮度值不匹配的情况下,用户除了可以通过虚拟的亮度调节按键来调节屏幕亮度,还可以通过物理按键来调节屏幕亮度,例如,通过音量键(包括音量加按键和音量减按键)进行屏幕亮度的调节。例如,在第一屏幕亮度值小于目标屏幕亮度取值范围之中的最小值的情况下,可以通过音量加按键调高屏幕亮度,此时,音量加按键对应一个屏幕亮度值,按压一次音量加按键后,屏幕亮度被调整至该屏幕亮度值。在第一屏幕亮度值大于目标屏幕亮度取值范围之中的最大值的情况下,可以通过音量减按键调低屏幕亮度,此时,音量减按键对应一个屏幕亮度值,按压一次音量加按键后,屏幕亮度被调整至该屏幕亮度值。Optionally, in this embodiment of the present application, in the case where the screen brightness does not match the ambient brightness value, the user can adjust the screen brightness not only through virtual brightness adjustment buttons, but also through physical buttons, for example, by The volume keys (including the volume up key and the volume down key) are used to adjust the screen brightness. For example, when the first screen brightness value is less than the minimum value in the target screen brightness value range, the screen brightness can be increased by pressing the volume plus button. At this time, the volume plus button corresponds to a screen brightness value, and pressing the volume plus button once After pressing the key, the screen brightness is adjusted to the screen brightness value. When the first screen brightness value is greater than the maximum value in the target screen brightness value range, the screen brightness can be reduced by pressing the volume down button. At this time, the volume down button corresponds to a screen brightness value. After pressing the volume plus button once , the screen brightness is adjusted to the screen brightness value.

为了便于用户辨别所需按压的音量键,可以在与需要触控的音量键邻近的显示区域处进行文字或图案提示,用户根据提示按压对应的音量键后,即可完成屏幕亮度的调节。In order to facilitate the user to identify the volume key to be pressed, a text or pattern prompt can be provided in the display area adjacent to the volume key to be touched. After the user presses the corresponding volume key according to the prompt, the screen brightness can be adjusted.

最后,为了更好地理解本申请实施例提供的屏幕亮度调节方法,下面以一示例进行进一步的解释说明。在该示例中,电子设备为手机。Finally, in order to better understand the screen brightness adjustment method provided by the embodiments of the present application, an example is used for further explanation below. In this example, the electronic device is a cell phone.

如图2所示,该示例的调节流程可以包括:As shown in Figure 2, the adjustment process of this example may include:

步骤201:初始状态:关闭自动背光功能(即屏幕亮度自动调节功能),然后进入步骤202。Step 201 : initial state: turn off the automatic backlight function (ie, the screen brightness automatic adjustment function), and then proceed to step 202 .

关闭自动背光功能后,手机不会根据环境亮度自动调节背光亮度,必须用户手动调节。After the automatic backlight function is turned off, the mobile phone will not automatically adjust the backlight brightness according to the ambient brightness, and must be manually adjusted by the user.

步骤202、通过手机中的光敏传感器获取当前环境亮度,然后进入步骤203。Step 202 , obtaining the current ambient brightness through the photosensitive sensor in the mobile phone, and then proceeding to step 203 .

步骤203、判断手机屏幕当前的背光亮度与环境亮度是否相匹配。在不匹配的情况下,若背光亮度相对于环境亮度偏暗则进入步骤204,若背光亮度相对于环境亮度偏亮则进入步骤205。Step 203: Determine whether the current backlight brightness of the mobile phone screen matches the ambient brightness. In the case of no match, if the backlight brightness is darker than the ambient brightness, go to step 204 , and if the backlight brightness is brighter than the ambient brightness, go to step 205 .

步骤204、通过手机中的重力加速度传感器和摄像头,判断手机是否具有靠近人眼动作。若手机具有靠近人眼动作,则进入步骤206,否则进入步骤202。Step 204: Determine whether the mobile phone has an action of approaching the human eye through the gravitational acceleration sensor and the camera in the mobile phone. If the mobile phone has an action close to the human eye, go to step 206 , otherwise go to step 202 .

用户进入强光环境时,由于背光亮度相对于环境亮度较暗,用户需要将手机拿近观看,因此,在通过重力加速度传感器检测到手机向上移动,且通过摄像头获取的图像确定用户人脸处于俯视角度,则确定手机机具有靠近人眼的动作;或在通过重力加速度传感器检测到手机向下移动,且通过摄像头获取的图像确定用户人脸处于仰视角度,则确定手机机具有靠近人眼的动作。When the user enters a strong light environment, since the backlight brightness is relatively dark compared to the ambient brightness, the user needs to hold the mobile phone close to view. Therefore, the upward movement of the mobile phone is detected by the gravitational acceleration sensor, and the image obtained by the camera determines that the user's face is looking down. angle, it is determined that the mobile phone has an action close to the human eye; or when the downward movement of the mobile phone is detected through the gravitational acceleration sensor, and the user's face is determined to be at an upward looking angle through the image obtained by the camera, it is determined that the mobile phone has an action close to the human eye. .

这里以及下文所述的上和下均是以重力方向为参考进行定义的。与重力方向同向时为下,与重力方向反向时为上。Here and below, upper and lower are defined with reference to the direction of gravity. It is down when it is in the same direction as the direction of gravity, and it is up when it is opposite to the direction of gravity.

其中,可以设置重力加速度传感器的向上移动速度和向下移动速度,在重力加速度传感器的向上移动速度或向下移动速度达到预设速度时,再判断手机是否具有靠近人眼动作,以免误触发。Among them, the upward movement speed and downward movement speed of the gravitational acceleration sensor can be set, and when the upward movement speed or downward movement speed of the gravitational acceleration sensor reaches the preset speed, it is determined whether the mobile phone has an action close to the human eye, so as to avoid false triggering.

步骤205、通过手机中的重力加速度传感器和摄像头,判断手机是否具有远离人眼动作。若手机具有远离人眼动作,则进入步骤206,否则进入步骤202。Step 205: Determine whether the mobile phone has an action of moving away from the human eye through the gravitational acceleration sensor and the camera in the mobile phone. If the mobile phone has the action of moving away from the human eye, go to step 206 , otherwise go to step 202 .

用户进入暗光环境时,由于背光亮度对于环境亮度较亮,用户习惯性将手机拿远观看以免刺眼,因此,在通过重力加速度传感器检测到手机向下移动,且通过摄像头获取的图像确定用户人脸处于俯视角度,则确定手机机具有远离人眼的动作;或在通过重力加速度传感器检测到手机向上移动,且通过摄像头获取的图像确定用户人脸处于仰视角度,则确定手机机具有远离人眼的动作。When the user enters the dark light environment, because the backlight brightness is brighter than the ambient brightness, the user habitually holds the mobile phone far away to avoid glare. Therefore, the downward movement of the mobile phone is detected by the gravitational acceleration sensor, and the image obtained by the camera determines the user's identity. If the face is in a top-down angle, it is determined that the mobile phone has an action that is far away from the human eye; or when the mobile phone is detected to move upward through the gravitational acceleration sensor, and the user's face is determined to be in an upward viewing angle through the image obtained by the camera, it is determined that the mobile phone has a movement far away from the human eye. Actions.

步骤206:通过摄像头判断用户是否在注视手机屏幕。若确定用户在注视手机屏幕,在屏幕背光亮度偏暗的情况下进入步骤207,在屏幕背光亮度偏亮的情况下进入步骤208。Step 206: Determine whether the user is looking at the screen of the mobile phone through the camera. If it is determined that the user is looking at the screen of the mobile phone, the process proceeds to step 207 when the brightness of the screen backlight is too dark, and proceeds to step 208 when the brightness of the screen backlight is relatively bright.

在通过手机中的重力加速度传感器和摄像头,确定手机具有靠近人眼动作或具有远离人眼动作后,还可以通过摄像头判断用户是否在注视手机屏幕,这样可以进一步确定用户此时是否正在使用屏幕,从而提高用户行为判断的准确性。After it is determined that the mobile phone has an action close to the human eye or an action far away from the human eye through the gravitational acceleration sensor and camera in the mobile phone, it can also determine whether the user is looking at the screen of the mobile phone through the camera, which can further determine whether the user is using the screen at this time. Thus, the accuracy of user behavior judgment is improved.

步骤207:显示一亮度调节按键,并调高该亮度调节按键所在的显示区域的亮度,然后进入步骤209。Step 207 : Display a brightness adjustment button, and increase the brightness of the display area where the brightness adjustment button is located, and then proceed to step 209 .

其中,该亮度调节按键对应一屏幕亮度值。Wherein, the brightness adjustment button corresponds to a screen brightness value.

本申请实施例中,在屏幕背光亮度偏高时,为了便于用户查看亮度调节按键,可以高亮显示亮度调节按键。In the embodiment of the present application, when the brightness of the screen backlight is high, in order to facilitate the user to view the brightness adjustment button, the brightness adjustment button may be highlighted.

步骤208:显示一亮度调节按键,并调低屏幕整个显示区域的亮度,然后进入步骤209。Step 208 : display a brightness adjustment button, and lower the brightness of the entire display area of the screen, and then proceed to step 209 .

其中,该亮度调节按键对应一屏幕亮度值。Wherein, the brightness adjustment button corresponds to a screen brightness value.

本申请实施例中,在屏幕背光亮度偏高时,为了便于用户查看亮度调节按键,可以控制屏幕整个显示区域的亮度降低一些。In the embodiment of the present application, when the brightness of the screen backlight is relatively high, in order to facilitate the user to view the brightness adjustment buttons, the brightness of the entire display area of the screen may be controlled to decrease somewhat.

步骤209:接收用户对亮度调节按键的点击操作,根据该点击操作将屏幕背光亮度调整至于该亮度调节按键对应屏幕亮度值,以实现背光亮度一键调节。Step 209: Receive a user's click operation on the brightness adjustment button, and adjust the screen backlight brightness to the screen brightness value corresponding to the brightness adjustment button according to the click operation, so as to realize one-key adjustment of the backlight brightness.

以上即为对该示例的描述。需要说明的是,该示例仅是为了对本申请实施例提供的技术方案进行举例说明,而非是对本申请实施例提供的技术方案进行的具体限定。That concludes the description of the example. It should be noted that this example is only for illustrating the technical solutions provided by the embodiments of the present application, rather than specifically limiting the technical solutions provided by the embodiments of the present application.

综上所述,本申请实施例中,在屏幕的亮度自动调节功能被关闭后,若遇到屏幕当前的亮度与环境亮度不匹配的情况,可以自动显示亮度调节按键,以供用户调节屏幕亮度,省去用户查找亮度调节按键的操作工作。此外,本申请实施例中的亮度调节按键为一键亮度调节,即触控某一亮度调节按键后,可以直接将屏幕亮度调整为与该亮度调节按键对应的屏幕亮度值,相比于传统的拖动调节方式,亮度调节快捷更加。进一步地,预设的屏幕亮度差值每一亮度调节按键对应的屏幕亮度值均与当前环境的亮度相匹配,不需要用户进行尝试、探索,使亮度调整操作更加便利。总之,本申请实施例提供的屏幕亮度调节方法,能够在屏幕亮度与环境亮度不匹配的情况,使用户方便且快捷地将屏幕亮度调整到合适的亮度,减少给用户带来不便感的时长。To sum up, in the embodiment of the present application, after the automatic brightness adjustment function of the screen is turned off, if the current brightness of the screen does not match the ambient brightness, the brightness adjustment button may be automatically displayed for the user to adjust the brightness of the screen. , saving the user the operation work of finding the brightness adjustment button. In addition, the brightness adjustment button in the embodiment of the present application is a one-key brightness adjustment, that is, after touching a brightness adjustment button, the screen brightness can be directly adjusted to the screen brightness value corresponding to the brightness adjustment button. Compared with the traditional brightness adjustment button Drag the adjustment method, the brightness adjustment is quicker and easier. Further, the screen brightness value corresponding to each brightness adjustment button of the preset screen brightness difference value matches the brightness of the current environment, and the user does not need to try and explore, which makes the brightness adjustment operation more convenient. In a word, the screen brightness adjustment method provided by the embodiments of the present application can enable the user to conveniently and quickly adjust the screen brightness to an appropriate brightness when the screen brightness does not match the ambient brightness, thereby reducing the length of time that brings inconvenience to the user.

需要说明的是,本申请实施例提供的屏幕亮度调节方法,执行主体可以为屏幕亮度调节装置,或者屏幕亮度调节装置中的用于执行屏幕亮度调节方法的控制模块。本申请实施例中以屏幕亮度调节装置执行屏幕亮度调节方法为例,说明本申请实施例提供的屏幕亮度调节装置。It should be noted that, for the screen brightness adjustment method provided by the embodiments of the present application, the execution subject may be a screen brightness adjustment device, or a control module in the screen brightness adjustment device for executing the screen brightness adjustment method. In the embodiments of the present application, the method for adjusting the screen brightness performed by the screen brightness adjusting device is taken as an example to describe the screen brightness adjusting device provided by the embodiments of the present application.

图3是本申请实施例提供的一种屏幕亮度调节装置的示意框图。FIG. 3 is a schematic block diagram of an apparatus for adjusting screen brightness provided by an embodiment of the present application.

如图3所示,所述屏幕亮度调节装置包括:As shown in Figure 3, the screen brightness adjustment device includes:

获取模块301,用于在屏幕的亮度自动调节功能处于关闭状态的情况下,获取当前环境的第一环境亮度值。The obtaining module 301 is configured to obtain the first environment brightness value of the current environment when the automatic brightness adjustment function of the screen is turned off.

显示模块302,用于在所述屏幕当前的第一屏幕亮度值与所述第一环境亮度值不匹配的情况下,显示至少一个亮度调节按键。The display module 302 is configured to display at least one brightness adjustment button when the current first screen brightness value of the screen does not match the first ambient brightness value.

其中,每一所述亮度调节按键对应一屏幕亮度值,每一所述亮度调节按键对应的屏幕亮度值均与所述第一环境亮度值相匹配。Wherein, each of the brightness adjustment buttons corresponds to a screen brightness value, and the screen brightness value corresponding to each of the brightness adjustment buttons matches the first ambient brightness value.

接收模块303,用于接收用户对目标亮度调节按键的第一输入。The receiving module 303 is configured to receive the first input from the user on the target brightness adjustment key.

其中,所述目标亮度调节按键为所述至少一个亮度调节按键中的其中一个。Wherein, the target brightness adjustment key is one of the at least one brightness adjustment key.

调整模块304,用于响应于所述第一输入,将所述屏幕的亮度调整为目标屏幕亮度值。An adjustment module 304, configured to adjust the brightness of the screen to a target screen brightness value in response to the first input.

其中,所述目标屏幕亮度值为所述目标亮度调节按键对应的屏幕亮度值。Wherein, the target screen brightness value is the screen brightness value corresponding to the target brightness adjustment button.

可选地,所述屏幕亮度调节装置还包括:Optionally, the device for adjusting screen brightness further includes:

第一确定模块,用于根据环境亮度值与屏幕亮度值之间的预设对应关系,确定与所述第一环境亮度值对应的目标屏幕亮度取值范围。The first determination module is configured to determine a target screen brightness value range corresponding to the first environment brightness value according to the preset correspondence between the environment brightness value and the screen brightness value.

第二确定模块,用于根据所述第一确定模块确定的所述目标屏幕亮度取值范围,确定所述亮度调节按键的数量。The second determination module is configured to determine the number of the brightness adjustment buttons according to the brightness value range of the target screen determined by the first determination module.

可选地,所述显示模块302包括:Optionally, the display module 302 includes:

第一显示单元,用于在所述第一屏幕亮度值小于所述目标屏幕亮度取值范围之中的最小值,且检测到所述屏幕所在的电子设备朝向用户人脸移动的情况下,显示所述至少一个亮度调节按键。A first display unit, configured to display the display when the first screen brightness value is less than the minimum value in the target screen brightness value range, and it is detected that the electronic device where the screen is located moves towards the face of the user the at least one brightness adjustment key.

第二显示单元,用于在所述第一屏幕亮度值小于所述目标屏幕亮度取值范围之中的最小值,且检测到用户眼睛注视所述屏幕的情况下,显示所述至少一个亮度调节按键。a second display unit, configured to display the at least one brightness adjustment when the first screen brightness value is less than the minimum value in the target screen brightness value range and it is detected that the user's eyes are fixed on the screen button.

第三显示单元,用于在所述第一屏幕亮度值大于所述目标屏幕亮度取值范围之中的最大值,且检测到所述电子设备远离用户人脸移动的情况下,显示所述至少一个亮度调节按键。a third display unit, configured to display the at least A brightness adjustment button.

第四显示单元,用于在所述第一屏幕亮度值大于所述目标屏幕亮度取值范围之中的最大值,且检测到用户眼睛注视所述屏幕的情况下,显示所述至少一个亮度调节按键。a fourth display unit, configured to display the at least one brightness adjustment when the first screen brightness value is greater than the maximum value in the target screen brightness value range and it is detected that the user's eyes are fixed on the screen button.

可选地,所述显示模块302包括:Optionally, the display module 302 includes:

第五显示单元,用于在所述第一屏幕亮度值小于所述目标屏幕亮度取值范围之中的最小值的情况下,显示所述至少一个亮度调节按键。A fifth display unit, configured to display the at least one brightness adjustment key when the first screen brightness value is smaller than the minimum value in the target screen brightness value range.

其中,所述至少一个亮度调节按键的屏幕亮度值大于所述第一屏幕亮度值,且处于所述目标屏幕亮度取值范围内。Wherein, the screen brightness value of the at least one brightness adjustment button is greater than the first screen brightness value, and is within the range of the target screen brightness value.

可选地,所述显示模块302包括:Optionally, the display module 302 includes:

处理单元,用于在所述第一屏幕亮度值大于所述目标屏幕亮度取值范围之中的最大值的情况下,对所述屏幕中的显示画面进行预设处理。A processing unit, configured to perform preset processing on a display image on the screen when the first screen brightness value is greater than the maximum value in the target screen brightness value range.

其中,所述预设处理包括:在所述显示画面之上显示预设透明度的蒙版,或对所述显示画面进行区域灰度处理,或控制所述显示画面的像素以预设亮度值显示;其中,所述预设亮度值小于所述第一屏幕亮度值。The preset processing includes: displaying a mask with preset transparency on the display screen, or performing regional grayscale processing on the display screen, or controlling the pixels of the display screen to display with a preset brightness value ; wherein, the preset brightness value is smaller than the first screen brightness value.

第六显示单元,用于显示所述至少一个亮度调节按键。A sixth display unit, configured to display the at least one brightness adjustment key.

其中,所述亮度调节按键的屏幕亮度值处于所述目标屏幕亮度取值范围内。Wherein, the screen brightness value of the brightness adjustment button is within the range of the target screen brightness value.

综上所述,本申请实施例中,在屏幕的亮度自动调节功能被关闭后,若遇到屏幕当前的亮度与环境亮度不匹配的情况,可以自动显示亮度调节按键,以供用户调节屏幕亮度,省去用户查找亮度调节按键的操作工作。此外,本申请实施例中的亮度调节按键为一键亮度调节,即触控某一亮度调节按键后,可以直接将屏幕亮度调整为与该亮度调节按键对应的屏幕亮度值,相比于传统的拖动调节方式,亮度调节更加快捷。进一步地,本申请实施例中,每一亮度调节按键对应的屏幕亮度值均与当前环境的亮度相匹配,不需要用户进行尝试、探索,使亮度调整操作更加便利。总之,本申请实施例提供的屏幕亮度调节方法,能够在屏幕亮度与环境亮度不匹配的情况,使用户方便且快捷地将屏幕亮度调整到合适的亮度,减少给用户带来不便感的时长。To sum up, in the embodiment of the present application, after the automatic brightness adjustment function of the screen is turned off, if the current brightness of the screen does not match the ambient brightness, the brightness adjustment button may be automatically displayed for the user to adjust the brightness of the screen. , saving the user the operation work of finding the brightness adjustment button. In addition, the brightness adjustment button in the embodiment of the present application is a one-key brightness adjustment, that is, after touching a brightness adjustment button, the screen brightness can be directly adjusted to the screen brightness value corresponding to the brightness adjustment button. Compared with the traditional brightness adjustment button Drag the adjustment method to adjust the brightness more quickly. Further, in the embodiment of the present application, the screen brightness value corresponding to each brightness adjustment button matches the brightness of the current environment, and the user does not need to try and explore, which makes the brightness adjustment operation more convenient. In a word, the screen brightness adjustment method provided by the embodiments of the present application can enable the user to conveniently and quickly adjust the screen brightness to an appropriate brightness when the screen brightness does not match the ambient brightness, thereby reducing the length of time that brings inconvenience to the user.

本申请实施例中的屏幕亮度调节装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The device for adjusting screen brightness in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. This application Examples are not specifically limited.

本申请实施例中的屏幕亮度调节装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The device for adjusting the screen brightness in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的屏幕亮度调节装置能够实现图1所示的屏幕亮度调节方法实施例实现的各个过程,为避免重复,这里不再赘述。The apparatus for adjusting screen brightness provided in the embodiment of the present application can implement each process implemented by the method for adjusting screen brightness shown in FIG. 1 , and to avoid repetition, details are not described here.

可选地,如图4所示,本申请实施例还提供一种电子设备400,包括处理器401,存储器402,存储在存储器402上并可在所述处理器401上运行的程序或指令,该程序或指令被处理器401执行时实现上述屏幕亮度调节方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 4 , an embodiment of the present application further provides an electronic device 400, including a processor 401, a memory 402, a program or instruction stored in the memory 402 and executable on the processor 401, When the program or instruction is executed by the processor 401, each process of the above-mentioned embodiments of the method for adjusting screen brightness can be achieved, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.

图5为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、以及处理器510等部件。该电子设备500可以是耳机。The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510, etc. part. The electronic device 500 may be a headset.

本领域技术人员可以理解,电子设备500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 500 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 5 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .

其中,传感器505用于:在屏幕的亮度自动调节功能处于关闭状态的情况下,获取当前环境的第一环境亮度值;处理器510用于:控制显示单元506在所述屏幕当前的第一屏幕亮度值与所述第一环境亮度值不匹配的情况下,显示至少一个亮度调节按键;用户输入单元507用于:接收用户对目标亮度调节按键的第一输入;处理器510还用于:响应于所述第一输入,将所述屏幕的亮度调整为目标屏幕亮度值,所述目标屏幕亮度值为所述目标亮度调节按键对应的屏幕亮度值。Wherein, the sensor 505 is used to obtain the first ambient brightness value of the current environment when the automatic brightness adjustment function of the screen is turned off; the processor 510 is used to: control the display unit 506 to display the current first screen of the screen In the case where the brightness value does not match the first ambient brightness value, at least one brightness adjustment button is displayed; the user input unit 507 is used for: receiving the first input from the user on the target brightness adjustment button; the processor 510 is further used for: responding to In the first input, the brightness of the screen is adjusted to a target screen brightness value, and the target screen brightness value is a screen brightness value corresponding to the target brightness adjustment button.

其中,每一所述亮度调节按键对应一屏幕亮度值,每一所述亮度调节按键对应的屏幕亮度值均与所述第一环境亮度值相匹配;所述目标亮度调节按键为所述至少一个亮度调节按键中的其中一个。Wherein, each of the brightness adjustment buttons corresponds to a screen brightness value, and the screen brightness value corresponding to each of the brightness adjustment buttons matches the first ambient brightness value; the target brightness adjustment button is the at least one One of the brightness adjustment buttons.

可选地,处理器510还用于:根据环境亮度值与屏幕亮度值之间的预设对应关系,确定与所述第一环境亮度值对应的目标屏幕亮度取值范围;并根据所述目标屏幕亮度取值范围,确定所述亮度调节按键的数量。Optionally, the processor 510 is further configured to: determine a target screen brightness value range corresponding to the first environmental brightness value according to a preset correspondence between the environmental brightness value and the screen brightness value; The value range of the screen brightness determines the number of the brightness adjustment buttons.

可选地,处理器510还用于:在所述第一屏幕亮度值小于所述目标屏幕亮度取值范围之中的最小值,且传感器505检测到所述屏幕所在的电子设备朝向用户人脸移动的情况下,控制显示单元506显示所述至少一个亮度调节按键。Optionally, the processor 510 is further configured to: when the first screen brightness value is less than the minimum value in the target screen brightness value range, and the sensor 505 detects that the electronic device where the screen is located is facing the user's face In the case of movement, the display unit 506 is controlled to display the at least one brightness adjustment key.

可选地,处理器510还用于:在所述第一屏幕亮度值小于所述目标屏幕亮度取值范围之中的最小值,且传感器505检测到用户眼睛注视所述屏幕的情况下,控制显示单元506显示所述至少一个亮度调节按键。Optionally, the processor 510 is further configured to: when the first screen brightness value is less than the minimum value in the target screen brightness value range, and the sensor 505 detects that the user's eyes are fixed on the screen, control the The display unit 506 displays the at least one brightness adjustment key.

可选地,处理器510还用于:在所述第一屏幕亮度值大于所述目标屏幕亮度取值范围之中的最大值,且传感器505检测到所述电子设备远离用户人脸移动的情况下,控制显示单元506显示所述至少一个亮度调节按键。Optionally, the processor 510 is further configured to: when the first screen brightness value is greater than the maximum value in the target screen brightness value range, and the sensor 505 detects that the electronic device moves away from the user's face Next, the display unit 506 is controlled to display the at least one brightness adjustment key.

可选地,处理器510还用于:在所述第一屏幕亮度值大于所述目标屏幕亮度取值范围之中的最大值,且传感器505检测到用户眼睛注视所述屏幕的情况下,控制显示单元506显示所述至少一个亮度调节按键。Optionally, the processor 510 is further configured to: when the first screen brightness value is greater than the maximum value in the target screen brightness value range, and the sensor 505 detects that the user's eyes are fixed on the screen, control the The display unit 506 displays the at least one brightness adjustment key.

可选地,处理器510还用于:在所述第一屏幕亮度值小于所述目标屏幕亮度取值范围之中的最小值的情况下,控制显示单元506显示所述至少一个亮度调节按键。Optionally, the processor 510 is further configured to: control the display unit 506 to display the at least one brightness adjustment key when the first screen brightness value is smaller than the minimum value in the target screen brightness value range.

其中,所述至少一个亮度调节按键的屏幕亮度值大于所述第一屏幕亮度值,且处于所述目标屏幕亮度取值范围内。Wherein, the screen brightness value of the at least one brightness adjustment button is greater than the first screen brightness value, and is within the range of the target screen brightness value.

可选地,处理器510还用于:在所述第一屏幕亮度值大于所述目标屏幕亮度取值范围之中的最大值的情况下,对所述屏幕中的显示画面进行预设处理;并控制显示单元506显示所述至少一个亮度调节按键。Optionally, the processor 510 is further configured to: in the case that the brightness value of the first screen is greater than the maximum value in the brightness value range of the target screen, perform preset processing on the display picture on the screen; and controlling the display unit 506 to display the at least one brightness adjustment key.

其中,所述预设处理包括:在所述显示画面之上显示预设透明度的蒙版,或对所述显示画面进行区域灰度处理,或控制所述显示画面的像素以预设亮度值显示;其中,所述预设亮度值小于所述第一屏幕亮度值;所述亮度调节按键的屏幕亮度值处于所述目标屏幕亮度取值范围内。The preset processing includes: displaying a mask with preset transparency on the display screen, or performing regional grayscale processing on the display screen, or controlling the pixels of the display screen to display with a preset brightness value ; wherein, the preset brightness value is smaller than the first screen brightness value; and the screen brightness value of the brightness adjustment button is within the range of the target screen brightness value.

综上所述,本申请实施例中,在屏幕的亮度自动调节功能被关闭后,若遇到屏幕当前的亮度与环境亮度不匹配的情况,可以自动显示亮度调节按键,以供用户调节屏幕亮度,省去用户查找亮度调节按键的操作工作。此外,本申请实施例中的亮度调节按键为一键亮度调节,即触控某一亮度调节按键后,可以直接将屏幕亮度调整为与该亮度调节按键对应的屏幕亮度值,相比于传统的拖动调节方式,亮度调节更加快捷。进一步地,本申请实施例中,每一亮度调节按键对应的屏幕亮度值均与当前环境的亮度相匹配,不需要用户进行尝试、探索,使亮度调整操作更加便利。总之,本申请实施例提供的屏幕亮度调节方法,能够在屏幕亮度与环境亮度不匹配的情况,使用户方便且快捷地将屏幕亮度调整到合适的亮度,减少给用户带来不便感的时长。To sum up, in the embodiment of the present application, after the automatic brightness adjustment function of the screen is turned off, if the current brightness of the screen does not match the ambient brightness, the brightness adjustment button may be automatically displayed for the user to adjust the brightness of the screen. , saving the user the operation work of finding the brightness adjustment button. In addition, the brightness adjustment button in the embodiment of the present application is a one-key brightness adjustment, that is, after touching a brightness adjustment button, the screen brightness can be directly adjusted to the screen brightness value corresponding to the brightness adjustment button. Compared with the traditional brightness adjustment button Drag the adjustment method to adjust the brightness more quickly. Further, in the embodiment of the present application, the screen brightness value corresponding to each brightness adjustment button matches the brightness of the current environment, and the user does not need to try and explore, which makes the brightness adjustment operation more convenient. In a word, the screen brightness adjustment method provided by the embodiments of the present application can enable the user to conveniently and quickly adjust the screen brightness to an appropriate brightness when the screen brightness does not match the ambient brightness, thereby reducing the length of time that brings inconvenience to the user.

应理解的是,本申请实施例中,输入单元504可以包括图形处理器(GraphicsProcessing Unit,简称GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元506可包括显示面板5061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板5061。用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器509可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。It should be understood that, in this embodiment of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU for short) 5041 and a microphone 5042. Such as camera) to obtain still pictures or video image data for processing. The display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072 . The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts, a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again. Memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 510.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述屏幕亮度调节方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiments of the method for adjusting screen brightness can be achieved, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述屏幕亮度调节方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above embodiments of the method for adjusting screen brightness and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (12)

1. A screen brightness adjusting method is characterized by comprising the following steps:
under the condition that the brightness automatic adjustment function of the screen is in a closed state, acquiring a first environment brightness value of the current environment;
displaying at least one brightness adjusting key under the condition that the current first screen brightness value of the screen is not matched with the first environment brightness value; each brightness adjusting key corresponds to a screen brightness value, and the screen brightness value corresponding to each brightness adjusting key is matched with the first environment brightness value;
receiving a first input of a target brightness adjusting key by a user; the target brightness adjusting key is one of the at least one brightness adjusting key;
and responding to the first input, and adjusting the brightness of the screen to be a target screen brightness value, wherein the target screen brightness value is a screen brightness value corresponding to the target brightness adjusting key.
2. The method of claim 1, wherein before displaying at least one brightness adjustment key if the current first screen brightness value of the screen does not match the first environment brightness value, the method further comprises:
determining a target screen brightness value range corresponding to the first environment brightness value according to a preset corresponding relation between the environment brightness value and the screen brightness value;
and determining the number of the brightness adjusting keys according to the value range of the target screen brightness.
3. The method for adjusting screen brightness according to claim 2, wherein the displaying at least one brightness adjusting key if the current first screen brightness value of the screen does not match the first environment brightness value comprises:
displaying the at least one brightness adjusting key when the first screen brightness value is smaller than the minimum value in the target screen brightness value range and the electronic equipment is detected to move towards the face of the user;
or, when the first screen brightness value is smaller than the minimum value in the target screen brightness value range and the condition that the eyes of the user watch the screen is detected, displaying the at least one brightness adjusting key;
or, when the first screen brightness value is larger than the maximum value in the target screen brightness value range and the electronic equipment is detected to move away from the face of the user, displaying the at least one brightness adjusting key;
or, when the first screen brightness value is larger than the maximum value in the target screen brightness value range and the user eyes are detected to watch the screen, displaying the at least one brightness adjusting key.
4. The method for adjusting screen brightness according to claim 2, wherein the displaying at least one brightness adjusting key if the current first screen brightness value of the screen does not match the first environment brightness value comprises:
displaying the at least one brightness adjusting key under the condition that the first screen brightness value is smaller than the minimum value in the target screen brightness value range;
and the screen brightness value of the at least one brightness adjusting key is greater than the first screen brightness value and is within the target screen brightness value range.
5. The method for adjusting screen brightness according to claim 2, wherein the displaying at least one brightness adjusting key if the current first screen brightness value of the screen does not match the first environment brightness value comprises:
when the first screen brightness value is larger than the maximum value in the target screen brightness value range, performing preset processing on a display picture in the screen; wherein the preset processing comprises: displaying a mask with preset transparency on the display picture, or performing regional gray processing on the display picture, or controlling pixels of the display picture to be displayed with a preset brightness value; wherein the preset brightness value is smaller than the first screen brightness value;
displaying the at least one brightness adjustment key; and the screen brightness value of the brightness adjusting key is in the value range of the target screen brightness.
6. A screen brightness adjustment apparatus, comprising:
the acquisition module is used for acquiring a first environment brightness value of the current environment under the condition that the automatic brightness adjustment function of the screen is in a closed state;
the display module is used for displaying at least one brightness adjusting key under the condition that the current first screen brightness value of the screen is not matched with the first environment brightness value; each brightness adjusting key corresponds to a screen brightness value, and the screen brightness value corresponding to each brightness adjusting key is matched with the first environment brightness value;
the receiving module is used for receiving first input of a user to the target brightness adjusting key; the target brightness adjusting key is one of the at least one brightness adjusting key;
and the adjusting module is used for responding to the first input and adjusting the brightness of the screen to be a target screen brightness value, and the target screen brightness value is a screen brightness value corresponding to the target brightness adjusting key.
7. The screen brightness adjustment device according to claim 6, further comprising:
the first determining module is used for determining a target screen brightness value range corresponding to the first environment brightness value according to a preset corresponding relation between the environment brightness value and the screen brightness value;
and the second determining module is used for determining the number of the brightness adjusting keys according to the target screen brightness value range determined by the first determining module.
8. The screen brightness adjustment device of claim 7, wherein the display module comprises:
the first display unit is used for displaying the at least one brightness adjusting key under the condition that the first screen brightness value is smaller than the minimum value in the target screen brightness value range and the electronic equipment where the screen is located is detected to move towards the face of the user;
the second display unit is used for displaying the at least one brightness adjusting key under the condition that the first screen brightness value is smaller than the minimum value in the target screen brightness value range and the condition that the eyes of the user are detected to watch the screen is detected;
the third display unit is used for displaying the at least one brightness adjusting key under the condition that the first screen brightness value is larger than the maximum value in the target screen brightness value range and the electronic equipment is detected to move away from the face of the user;
and the fourth display unit is used for displaying the at least one brightness adjusting key under the condition that the first screen brightness value is larger than the maximum value in the target screen brightness value range and the condition that the eyes of the user are detected to watch the screen.
9. The screen brightness adjustment device of claim 7, wherein the display module comprises:
the fifth display unit is used for displaying the at least one brightness adjusting key under the condition that the first screen brightness value is smaller than the minimum value in the target screen brightness value range;
and the screen brightness value of the at least one brightness adjusting key is greater than the first screen brightness value and is within the target screen brightness value range.
10. The screen brightness adjustment device of claim 7, wherein the display module comprises:
the processing unit is used for presetting a display picture in the screen under the condition that the first screen brightness value is larger than the maximum value in the target screen brightness value range; wherein the preset processing comprises: displaying a mask with preset transparency on the display picture, or performing regional gray processing on the display picture, or controlling pixels of the display picture to be displayed with a preset brightness value; wherein the preset brightness value is smaller than the first screen brightness value;
the sixth display unit is used for displaying the at least one brightness adjusting key; and the screen brightness value of the brightness adjusting key is in the value range of the target screen brightness.
11. An electronic device, comprising: a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps in the screen brightness adjustment method of any one of claims 1 to 5.
12. A readable storage medium storing thereon a program or instructions which, when executed by a processor, implement the steps in the screen brightness adjustment method according to any one of claims 1 to 5.
CN202010739747.4A 2020-07-28 2020-07-28 Screen brightness adjusting method and device, electronic equipment and readable storage medium Active CN111857484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010739747.4A CN111857484B (en) 2020-07-28 2020-07-28 Screen brightness adjusting method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010739747.4A CN111857484B (en) 2020-07-28 2020-07-28 Screen brightness adjusting method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111857484A true CN111857484A (en) 2020-10-30
CN111857484B CN111857484B (en) 2022-02-08

Family

ID=72948131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010739747.4A Active CN111857484B (en) 2020-07-28 2020-07-28 Screen brightness adjusting method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111857484B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112767837A (en) * 2021-01-14 2021-05-07 维沃移动通信有限公司 Control method of electronic equipment and electronic equipment
CN112992100A (en) * 2021-04-19 2021-06-18 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, electronic equipment and storage medium
CN113885824A (en) * 2021-10-18 2022-01-04 Oppo广东移动通信有限公司 Screen control method and device, electronic equipment and storage medium
CN114445293A (en) * 2022-01-18 2022-05-06 深圳传音控股股份有限公司 Enhanced display method, intelligent terminal and storage medium
CN114968061A (en) * 2022-05-25 2022-08-30 展讯通信(天津)有限公司 Brightness control method and device, electronic equipment and storage medium
WO2023279894A1 (en) * 2021-07-09 2023-01-12 海信视像科技股份有限公司 Display method and display device
CN118034630A (en) * 2024-02-21 2024-05-14 和辉(深圳)液晶显示技术有限公司 Display screen adjusting method and device and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404448A (en) * 2011-09-07 2012-04-04 惠州Tcl移动通信有限公司 Mobile terminal screen control method and mobile terminal
CN106201254A (en) * 2016-06-28 2016-12-07 广东欧珀移动通信有限公司 Control method, control device and electronic installation
CN106302977A (en) * 2015-06-24 2017-01-04 小米科技有限责任公司 The display packing of a kind of brightness regulating button and device
US20170255314A1 (en) * 2016-03-02 2017-09-07 Samsung Electronics Co., Ltd Electronic device and operating method thereof
WO2017161867A1 (en) * 2016-03-22 2017-09-28 中兴通讯股份有限公司 Screen brightness adjustment method and apparatus, and intelligent terminal
CN108279842A (en) * 2018-01-10 2018-07-13 维沃移动通信有限公司 A kind of function controlling method, function controlling device and terminal device
CN108346411A (en) * 2017-01-22 2018-07-31 中兴通讯股份有限公司 A kind of back light brightness regulating method, device and terminal
US20180218710A1 (en) * 2015-07-06 2018-08-02 Samsung Electronics Co., Ltd. Electronic device and display control method in electronic device
CN109637468A (en) * 2019-02-20 2019-04-16 昆山弘锦威电子有限公司 Adjust the electronic device and its backlight brightness regulation method of backlight illumination
CN110211549A (en) * 2019-04-25 2019-09-06 深圳市泰衡诺科技有限公司 A kind of screen brightness regulation method, device, terminal and storage medium
CN110503925A (en) * 2019-09-02 2019-11-26 深圳利亚德光电有限公司 Adjusting method, device, storage medium and the processor of the backlight illumination of display screen

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404448A (en) * 2011-09-07 2012-04-04 惠州Tcl移动通信有限公司 Mobile terminal screen control method and mobile terminal
CN106302977A (en) * 2015-06-24 2017-01-04 小米科技有限责任公司 The display packing of a kind of brightness regulating button and device
US20180218710A1 (en) * 2015-07-06 2018-08-02 Samsung Electronics Co., Ltd. Electronic device and display control method in electronic device
US20170255314A1 (en) * 2016-03-02 2017-09-07 Samsung Electronics Co., Ltd Electronic device and operating method thereof
WO2017161867A1 (en) * 2016-03-22 2017-09-28 中兴通讯股份有限公司 Screen brightness adjustment method and apparatus, and intelligent terminal
CN106201254A (en) * 2016-06-28 2016-12-07 广东欧珀移动通信有限公司 Control method, control device and electronic installation
CN108346411A (en) * 2017-01-22 2018-07-31 中兴通讯股份有限公司 A kind of back light brightness regulating method, device and terminal
CN108279842A (en) * 2018-01-10 2018-07-13 维沃移动通信有限公司 A kind of function controlling method, function controlling device and terminal device
CN109637468A (en) * 2019-02-20 2019-04-16 昆山弘锦威电子有限公司 Adjust the electronic device and its backlight brightness regulation method of backlight illumination
CN110211549A (en) * 2019-04-25 2019-09-06 深圳市泰衡诺科技有限公司 A kind of screen brightness regulation method, device, terminal and storage medium
CN110503925A (en) * 2019-09-02 2019-11-26 深圳利亚德光电有限公司 Adjusting method, device, storage medium and the processor of the backlight illumination of display screen

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112767837A (en) * 2021-01-14 2021-05-07 维沃移动通信有限公司 Control method of electronic equipment and electronic equipment
CN112992100A (en) * 2021-04-19 2021-06-18 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, electronic equipment and storage medium
WO2023279894A1 (en) * 2021-07-09 2023-01-12 海信视像科技股份有限公司 Display method and display device
US12183293B2 (en) 2021-07-09 2024-12-31 Hisense Visual Technology Co., Ltd. Display method and display apparatus
CN113885824A (en) * 2021-10-18 2022-01-04 Oppo广东移动通信有限公司 Screen control method and device, electronic equipment and storage medium
CN114445293A (en) * 2022-01-18 2022-05-06 深圳传音控股股份有限公司 Enhanced display method, intelligent terminal and storage medium
CN114968061A (en) * 2022-05-25 2022-08-30 展讯通信(天津)有限公司 Brightness control method and device, electronic equipment and storage medium
CN118034630A (en) * 2024-02-21 2024-05-14 和辉(深圳)液晶显示技术有限公司 Display screen adjusting method and device and electronic equipment

Also Published As

Publication number Publication date
CN111857484B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN111857484A (en) Screen brightness adjustment method, device, electronic device and readable storage medium
US11258893B2 (en) Method for prompting notification message and mobile terminal
CN106462339B (en) Terminal and method for detecting ambient light brightness
US9965039B2 (en) Device and method for displaying user interface of virtual input device based on motion recognition
US20160180801A1 (en) Method and apparatus for controlling an electronic device
US10255874B2 (en) Display controlling method and display device
CN104932809B (en) Apparatus and method for controlling display panel
WO2017032017A1 (en) Method for controlling screen of user terminal and user terminal
CN108268188B (en) Method for controlling display screen and mobile terminal
WO2022100549A1 (en) Control method and apparatus for display screens, and electronic device
KR20160032611A (en) Method and apparatus for controlling an electronic device using a touch input
KR20150049045A (en) Method and apparautus for controlling the brightness of the screen in portable device
US12025887B2 (en) Shooting method and electronic device
EP3920013B1 (en) Information display method and terminal
CN108227996A (en) A kind of display control method and mobile terminal
CN114500717A (en) Information display method and device
CN105788565B (en) Brightness adjusting method and device
CN114242023A (en) Display brightness adjustment method, display brightness adjustment device and electronic equipment
CN112347294A (en) Method and system for eliminating lighting shadow
CN107967418B (en) Face recognition method and mobile terminal
CN111158485B (en) A screen control method and electronic device
CN107272946B (en) Screen control method and device
WO2020015529A1 (en) Terminal device control method and terminal device
CN112416172A (en) Electronic equipment control method and device and electronic equipment
WO2022268079A1 (en) Photographing method and device

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