Screen brightness adjustment method, device and computer-readable storage medium
By acquiring and monitoring the ambient light intensity and brightness adjustment operations of devices with screens, the screen brightness is determined and adjusted, solving the problem of user brightness preferences not being taken into account and achieving better display effects.
Patent Information
- Application Number
- CN202310459040.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-20
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2043-04-20
AI Technical Summary
In the prior art, the automatic adjustment of screen brightness of devices with screens fails to meet the user's personal brightness preferences, resulting in a display effect that is too bright or too dark, which is difficult to meet the user's expectations.
By obtaining the light intensity of the environment in which the device with a screen is located and monitoring whether there is a brightness adjustment operation, if there is no operation, the default screen brightness is determined; if there is an operation, the dynamic screen brightness is determined and adjusted to the target brightness, taking into account the user's personal preferences.
The screen brightness display effect is made more in line with the user's personal preferences, providing better display effects and avoiding brightness discomfort caused by automatic adjustment.
Smart Images

Figure CN116524875B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of screen brightness adjustment, and in particular to a screen brightness adjustment method, a screen brightness adjustment device, and a computer-readable storage medium. Background Art
[0002] At present, many devices with screens are equipped with light sensors, which can make the screen brightness change with the changes in the brightness of the external environment. The brighter the ambient light, the brighter the screen, and vice versa.
[0003] However, many manufacturers of screen devices do not consider users' personal brightness preferences, resulting in the automatically adjusted screen brightness being too bright or too dark for users, failing to achieve a better screen brightness display effect. Summary of the Invention
[0004] The main purpose of this application is to provide a screen brightness adjustment method, a screen brightness adjustment device and a computer-readable storage medium, aiming to solve the technical problem that the screen brightness display effect is difficult to meet user expectations.
[0005] To achieve the above objectives, the present application provides a method for adjusting screen brightness, the method comprising:
[0006] Obtaining the ambient light intensity of the environment in which the device with a screen is located, and monitoring whether there is a brightness adjustment operation on the device with a screen;
[0007] If the brightness adjustment operation does not exist, determining the target screen brightness of the device with a screen to be a default screen brightness under the ambient light intensity;
[0008] If the brightness adjustment operation is performed, determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed;
[0009] Adjust the screen brightness of the device with a screen to the target screen brightness.
[0010] Exemplarily, after the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes:
[0011] The default screen brightness of the device with a screen in the light intensity interval of the ambient light intensity is adjusted to the target screen brightness of the device with a screen.
[0012] Exemplarily, before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method includes:
[0013] If the brightness adjustment operation is to reduce the screen brightness, determining a lower screen brightness corresponding to a light intensity interval that is one level lower than the light intensity interval in which the ambient light intensity is located, wherein the lower screen brightness is a default screen brightness corresponding to the light intensity interval that is one level lower;
[0014] If the pending screen brightness after the brightness adjustment operation is completed is less than the lower screen brightness, determining the dynamic screen brightness to be the lower screen brightness plus a preset gain brightness;
[0015] If the pending screen brightness after the brightness adjustment operation is completed is greater than or equal to the lower screen brightness, the dynamic screen brightness is determined to be the pending screen brightness.
[0016] Exemplarily, before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes:
[0017] Determining a light intensity range in which the ambient light intensity lies, and determining an adjustable range of screen brightness within the light intensity range;
[0018] Determining a pending screen brightness after the brightness adjustment operation is completed;
[0019] The dynamic screen brightness is determined based on a comparison result between the pending screen brightness and the upper and lower limit brightnesses of the adjustable range.
[0020] Exemplarily, the step of determining the dynamic screen brightness based on a comparison result between the undetermined screen brightness and the upper and lower limit brightnesses of the adjustable range includes:
[0021] If the pending screen brightness is greater than the lower limit brightness of the adjustable interval and less than the upper limit brightness of the adjustable interval, the dynamic screen brightness is determined to be the pending screen brightness.
[0022] Exemplarily, the step of determining the dynamic screen brightness based on a comparison result between the undetermined screen brightness and the upper and lower limit brightnesses of the adjustable range includes:
[0023] If the to-be-determined screen brightness is less than the lower limit brightness of the adjustable range, determining a first brightness difference between the to-be-determined screen brightness and the lower limit brightness, and determining a first gain brightness based on the preset adjustment factor of the light intensity range and the first brightness difference;
[0024] The dynamic screen brightness is determined by reducing the first gain brightness based on the default screen brightness.
[0025] Exemplarily, the step of determining the dynamic screen brightness based on a comparison result between the undetermined screen brightness and the upper and lower limit brightnesses of the adjustable range includes:
[0026] If the to-be-determined screen brightness is greater than the upper limit brightness of the adjustable interval, determining a second brightness difference between the to-be-determined screen brightness and the upper limit brightness, and determining a second gain brightness based on the preset adjustment factor of the light intensity interval and the second brightness difference;
[0027] The dynamic screen brightness is determined by increasing the second gain brightness on the basis of the default screen brightness.
[0028] Exemplarily, before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes:
[0029] Determine the interval division result of the light intensity interval, and determine a preset adjustment factor based on the interval division result, wherein the larger the interval span of the divided light intensity interval is, the larger the preset adjustment factor is.
[0030] The present application also provides a screen brightness adjustment device, the screen brightness adjustment device comprising:
[0031] An acquisition detection module is used to obtain the ambient light intensity of the environment in which the device with a screen is located, and to monitor whether there is a brightness adjustment operation on the device with a screen;
[0032] A first determining module is configured to determine, if the brightness adjustment operation does not exist, that the target screen brightness of the device with a screen is a default screen brightness under the ambient light intensity;
[0033] a second determining module, configured to determine, if the brightness adjustment operation exists, that the target screen brightness of the device with a screen is the dynamic screen brightness after the brightness adjustment operation is completed;
[0034] An adjustment module is used to adjust the screen brightness of the device with a screen to the target screen brightness.
[0035] The present application also provides a screen brightness adjustment device, which includes: a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein the computer program implements the steps of the screen brightness adjustment method described above when executed by the processor.
[0036] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the screen brightness adjustment method as described above are implemented.
[0037] The embodiments of the present application propose a screen brightness adjustment method, a screen brightness adjustment device, and a computer-readable storage medium, which obtain the ambient light intensity of the environment in which the device with a screen is located, and monitor whether there is a brightness adjustment operation on the device with a screen; if the brightness adjustment operation does not exist, determine the target screen brightness of the device with a screen as the default screen brightness under the ambient light intensity; if the brightness adjustment operation exists, determine the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed; and adjust the screen brightness of the device with a screen to the target screen brightness.
[0038] If the user does not perform a brightness adjustment operation, the target screen brightness of the device with a screen is determined to be the default screen brightness under the ambient light intensity of the environment in which the device with a screen is located. Conversely, if the user performs a brightness adjustment operation, the target screen brightness of the device with a screen is determined to be the dynamic screen brightness after the brightness adjustment operation is performed. Thus, the user's personal brightness preference is taken into account and the target screen brightness of the device with a screen is determined based on the user's brightness adjustment operation, thereby correcting the preset screen brightness of the device with a screen, achieving a better screen brightness display effect, and achieving a screen brightness display effect that is more in line with the user's personal preferences and expectations. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a structural diagram of the operating equipment of the hardware operating environment involved in the embodiment of the present application;
[0040] Figure 2 This is a flow chart of an embodiment of a method for adjusting screen brightness according to an embodiment of the present application;
[0041] Figure 3 This is a flow chart of another embodiment of the screen brightness adjustment method involved in the embodiment of the present application;
[0042] Figure 4 This is a flow chart of another embodiment of the screen brightness adjustment method involved in the embodiment of the present application;
[0043] Figure 5 This is a schematic diagram of a screen brightness adjustment device involved in an embodiment of the present application.
[0044] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0045] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0046] Reference Figure 1 , Figure 1This is a schematic diagram of the operating equipment structure of the hardware operating environment involved in the embodiment of the present application.
[0047] like Figure 1 As shown, the operating device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0048] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the operating device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0049] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a computer program.
[0050] exist Figure 1 In the running device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the running device of the present application can be set in the running device, and the running device calls the computer program stored in the memory 1005 through the processor 1001 and performs the following operations:
[0051] Obtaining the ambient light intensity of the environment in which the device with a screen is located, and monitoring whether there is a brightness adjustment operation on the device with a screen;
[0052] If the brightness adjustment operation does not exist, determining the target screen brightness of the device with a screen to be a default screen brightness under the ambient light intensity;
[0053] If the brightness adjustment operation is performed, determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed;
[0054] Adjust the screen brightness of the device with a screen to the target screen brightness.
[0055] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0056] After the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes:
[0057] The default screen brightness of the device with a screen in the light intensity interval of the ambient light intensity is adjusted to the target screen brightness of the device with a screen.
[0058] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0059] Before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method includes:
[0060] If the brightness adjustment operation is to reduce the screen brightness, determining a lower screen brightness corresponding to a light intensity interval that is one level lower than the light intensity interval in which the ambient light intensity is located, wherein the lower screen brightness is a default screen brightness corresponding to the light intensity interval that is one level lower;
[0061] If the pending screen brightness after the brightness adjustment operation is completed is less than the lower screen brightness, determining the dynamic screen brightness to be the lower screen brightness plus a preset gain brightness;
[0062] If the pending screen brightness after the brightness adjustment operation is completed is greater than or equal to the lower screen brightness, the dynamic screen brightness is determined to be the pending screen brightness.
[0063] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0064] Before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes:
[0065] Determining a light intensity range in which the ambient light intensity lies, and determining an adjustable range of screen brightness within the light intensity range;
[0066] Determining a pending screen brightness after the brightness adjustment operation is completed;
[0067] The dynamic screen brightness is determined based on a comparison result between the pending screen brightness and the upper and lower limit brightnesses of the adjustable range.
[0068] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0069] The step of determining the dynamic screen brightness based on a comparison result between the to-be-determined screen brightness and the upper and lower limit brightnesses of the adjustable range includes:
[0070] If the pending screen brightness is greater than the lower limit brightness of the adjustable interval and less than the upper limit brightness of the adjustable interval, the dynamic screen brightness is determined to be the pending screen brightness.
[0071] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0072] The step of determining the dynamic screen brightness based on a comparison result between the to-be-determined screen brightness and the upper and lower limit brightnesses of the adjustable range includes:
[0073] If the to-be-determined screen brightness is less than the lower limit brightness of the adjustable range, determining a first brightness difference between the to-be-determined screen brightness and the lower limit brightness, and determining a first gain brightness based on the preset adjustment factor of the light intensity range and the first brightness difference;
[0074] The dynamic screen brightness is determined by reducing the first gain brightness based on the default screen brightness.
[0075] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0076] The step of determining the dynamic screen brightness based on a comparison result between the to-be-determined screen brightness and the upper and lower limit brightnesses of the adjustable range includes:
[0077] If the to-be-determined screen brightness is greater than the upper limit brightness of the adjustable interval, determining a second brightness difference between the to-be-determined screen brightness and the upper limit brightness, and determining a second gain brightness based on the preset adjustment factor of the light intensity interval and the second brightness difference;
[0078] The dynamic screen brightness is determined by increasing the second gain brightness on the basis of the default screen brightness.
[0079] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0080] Before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes:
[0081] Determine the interval division result of the light intensity interval, and determine a preset adjustment factor based on the interval division result, wherein the larger the interval span of the divided light intensity interval is, the larger the preset adjustment factor is.
[0082] The present application provides a method for adjusting screen brightness. In a first embodiment of the method for adjusting screen brightness, the method includes:
[0083] Step S10, obtaining the ambient light intensity of the environment in which the device with a screen is located, and monitoring whether there is a brightness adjustment operation on the device with a screen;
[0084] In this embodiment, the device with a screen can be an intelligent mobile terminal device such as a smart phone and a tablet computer, or it can be a display device such as a smart TV and an external monitor. A light sensor is installed on the device with a screen, which can sense and obtain the ambient light intensity of the environment in which the device with a screen is located. In this embodiment, the model of the light sensor and the installation position on the device with a screen are not limited. In addition, the device with a screen has a brightness adjustment function, and the user's brightness adjustment operation on the device with a screen can be recognized based on voice through the microphone of the device with a screen, or the user's brightness adjustment operation on the device with a screen can be recognized based on action through the camera of the device with a screen, or the user's brightness adjustment operation on the device with a screen can be recognized based on the UI (User Interface) through the screen of the device with a screen. In this embodiment, the specific implementation method of the brightness adjustment operation of the device with a screen is not limited.
[0085] Step S20: If the brightness adjustment operation does not exist, determining the target screen brightness of the device with a screen to be the default screen brightness under the ambient light intensity;
[0086] If no brightness adjustment operation by the user is detected, that is, there is no brightness adjustment operation, the target screen brightness of the device with a screen is determined to be the default screen brightness under the ambient light intensity.
[0087] In one embodiment, referring to Table 1 (units for ambient light intensity and screen brightness omitted), a mapping table between ambient light intensity and screen brightness is preset when the screen-equipped device leaves the factory. The mapping table stores default screen brightness values for different external ambient light intensities. For example, when the ambient light intensity is 300, if no user brightness adjustment operation is detected, the target screen brightness of the screen-equipped device is determined to be the default screen brightness for the ambient light intensity, i.e., the target screen brightness of the screen-equipped device is determined to be 55. In this embodiment, the method for determining the mapping table shown in Table 1 is not limited.
[0088] Ambient light intensity Screen brightness [0,200) 25 [200,400) 55 [400,1000) 70 [1000,3000) 90 [3000,∞) 250
[0089] Table 1
[0090] Step S30: If the brightness adjustment operation is performed, determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed;
[0091] If a brightness adjustment operation by the user is detected, that is, there is a brightness adjustment operation, the target screen brightness of the device with a screen is determined to be the dynamic screen brightness after the brightness adjustment operation is completed.
[0092] Exemplarily, after the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes:
[0093] The default screen brightness of the device with a screen in the light intensity interval of the ambient light intensity is adjusted to the target screen brightness of the device with a screen.
[0094] After determining that the target screen brightness of the device with a screen is the dynamic screen brightness after the brightness adjustment operation is completed, the dynamic screen brightness after the brightness adjustment operation is completed is set as the new default screen brightness of the device with a screen in the light intensity range of the ambient light intensity. In this way, the next time the device with a screen is exposed to the same ambient light intensity, the target screen brightness of the device with a screen can be directly adjusted to the new default screen brightness, eliminating the user's brightness adjustment operation and completing screen brightness adjustment more conveniently and efficiently.
[0095] Step S40: adjusting the screen brightness of the device with a screen to the target screen brightness.
[0096] Finally, the screen brightness of the device with a screen is adjusted from the brightness when the ambient light intensity of the environment is obtained, and also the brightness when monitoring whether there is a brightness adjustment operation on the device with a screen, to the target screen brightness.
[0097] In this embodiment, when the external ambient light intensity changes, such as from a first level of ambient light intensity [0, 200) to a first level of ambient light intensity [200, 400), the screen backlight is slowly adjusted by slowly adjusting the power output, thereby achieving a slow change in screen brightness and avoiding user discomfort caused by large changes in screen brightness. In addition, combined with camera face recognition and / or fingerprint recognition, the mapping tables for screen brightness (screen brightness preference data) for different users are stored separately without affecting each other, achieving a better brightness display effect, which is suitable for scenarios where public screens, such as large-screen TVs, are shared by multiple people.
[0098] In this embodiment, the ambient light intensity of the environment in which the device with a screen is located is obtained, and it is monitored whether there is a brightness adjustment operation on the device with a screen; if there is no brightness adjustment operation, the target screen brightness of the device with a screen is determined to be the default screen brightness under the ambient light intensity; if there is a brightness adjustment operation, the target screen brightness of the device with a screen is determined to be the dynamic screen brightness after the brightness adjustment operation is completed; and the screen brightness of the device with a screen is adjusted to the target screen brightness.
[0099] If the user does not perform a brightness adjustment operation, the target screen brightness of the device with a screen is determined to be the default screen brightness under the ambient light intensity of the environment in which the device with a screen is located. Conversely, if the user performs a brightness adjustment operation, the target screen brightness of the device with a screen is determined to be the dynamic screen brightness after the brightness adjustment operation is performed. Thus, the user's personal brightness preference is taken into account and the target screen brightness of the device with a screen is determined based on the user's brightness adjustment operation, thereby correcting the preset screen brightness of the device with a screen, achieving a better screen brightness display effect, and achieving a screen brightness display effect that is more in line with the user's personal preferences and expectations.
[0100] An embodiment of the present application provides a method for adjusting screen brightness. In one embodiment of the method for adjusting screen brightness, before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method includes:
[0101] If the brightness adjustment operation is to reduce the screen brightness, determining a lower screen brightness corresponding to a light intensity interval that is one level lower than the light intensity interval in which the ambient light intensity is located, wherein the lower screen brightness is a default screen brightness corresponding to the light intensity interval that is one level lower;
[0102] If the pending screen brightness after the brightness adjustment operation is completed is less than the lower screen brightness, determining the dynamic screen brightness to be the lower screen brightness plus a preset gain brightness;
[0103] If the pending screen brightness after the brightness adjustment operation is completed is greater than or equal to the lower screen brightness, the dynamic screen brightness is determined to be the pending screen brightness.
[0104] In this embodiment, a method for determining dynamic screen brightness is provided.
[0105] If the user's brightness adjustment operation is to lower the screen brightness, first, determine the default screen brightness of a light intensity range that is one level lower than the light intensity range of the current ambient light intensity. Secondly, determine the final dynamic screen brightness based on the comparison result between the pending screen brightness after the brightness adjustment operation is completed and the determined default screen brightness.
[0106] In one embodiment, referring to Table 1 above, when the ambient light intensity is 300, the light intensity range of the ambient light intensity is [200, 400), the light intensity range that is one level lower than the light intensity range of the ambient light intensity is [0, 200), and the screen brightness that is one level lower than the light intensity range of the ambient light intensity is the default screen brightness of 25 in the light intensity range [0, 200).
[0107] If the comparison result is that the pending screen brightness after the brightness adjustment operation is completed is 15, which is lower than the lower screen brightness of 25, the dynamic screen brightness is determined to be the preset gain brightness added to the lower screen brightness of 25. In one embodiment, the preset gain brightness is 1, and the dynamic screen brightness is determined to be 25+1=16. At this time, the target screen brightness is the dynamic screen brightness of 26. The target screen brightness of 26 is used as the new default screen brightness of the device with a screen in the light intensity range [200,400) where the ambient light intensity is 300, thereby ensuring that when the external ambient light is brighter, the screen of the device with a screen is also brighter.
[0108] If the comparison result is that the pending screen brightness after the brightness adjustment operation is completed is 35, which is not lower than the lower screen brightness of 25, then the dynamic screen brightness is determined to be the pending screen brightness of 35 after the brightness adjustment operation is completed. Similarly, the target screen brightness of 35 is used as the new default screen brightness of the device with a screen in the light intensity range [200,400) under the ambient light intensity of 300.
[0109] In one embodiment, before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the step includes:
[0110] If the brightness adjustment operation is to increase the screen brightness, determining a higher screen brightness in a light intensity interval that is one level higher than the light intensity interval in which the ambient light intensity is located, wherein the higher screen brightness is a default screen brightness in the light intensity interval that is one level higher;
[0111] If the pending screen brightness after the brightness adjustment operation is completed is higher than the higher screen brightness, determining the dynamic screen brightness to be the higher screen brightness minus the preset gain brightness;
[0112] If the pending screen brightness after the brightness adjustment operation is completed is not higher than the higher screen brightness, the dynamic screen brightness is determined to be the pending screen brightness.
[0113] Among them, for the specific implementation of the brightness adjustment operation for increasing the screen brightness, please refer to the specific implementation of the brightness adjustment operation for reducing the screen brightness, which will not be repeated here.
[0114] The present invention provides a method for adjusting screen brightness. Figure 2 In one embodiment of the screen brightness adjustment method, before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes:
[0115] Step A, determining a light intensity range in which the ambient light intensity lies, and determining an adjustable range of screen brightness within the light intensity range;
[0116] Step B, determining the pending screen brightness after the brightness adjustment operation is completed;
[0117] Step C: determining the dynamic screen brightness based on a comparison result between the pending screen brightness and the upper and lower limit brightnesses of the adjustable range.
[0118] In this embodiment, another method for determining dynamic screen brightness is provided.
[0119] In one embodiment, referring to Table 2 (omitting the units of ambient light intensity and screen brightness), a mapping table between ambient light intensity and screen brightness is preset when the screen device is shipped. The mapping table stores default screen brightness value ranges and default screen brightness values under different external ambient light intensities. For example, when the ambient light intensity is 300, the light intensity range is [200, 400). Within the light intensity range [200, 400), the adjustable range of screen brightness is [40, 60). The default screen brightness is the average of the upper and lower brightness limits of the adjustable range, 50. In one embodiment, if no user brightness adjustment operation is detected, any screen brightness value in the adjustable range [40, 60) can be selected as the target screen brightness of the screen device. In this embodiment, the method for determining the target screen brightness of the screen device within the adjustable range in the absence of a user brightness adjustment operation is not limited. Preferably, the middle value of the adjustable range is selected, i.e., the target screen brightness of the screen device is determined to be the default screen brightness of 50. In this embodiment, the method for determining the mapping table shown in Table 2 is not limited. Then, after determining the pending screen brightness after the brightness adjustment operation is completed, the dynamic screen brightness is determined based on a comparison result between the pending screen brightness and the upper and lower limit brightnesses of the adjustable interval.
[0120] Ambient light intensity Screen brightness [0,200) [15,40) [200,400) [40,60) [400,1000) [60,80) [1000,3000) [80,100) [3000,∞) [100,400)
[0121] Table 2
[0122] In this embodiment, the dynamic screen brightness is determined by comparing the pending screen brightness with the upper and lower limit brightnesses of the adjustable range, thereby determining a more accurate dynamic screen brightness with finer granularity, and further correcting the preset screen brightness of the device with a screen to achieve a better screen brightness display effect, and a screen brightness display effect that is more in line with the user's personal preferences and expectations.
[0123] Exemplarily, the step of determining the dynamic screen brightness based on a comparison result between the undetermined screen brightness and the upper and lower limit brightnesses of the adjustable range includes:
[0124] Step C1: If the pending screen brightness is greater than the lower limit brightness of the adjustable range and less than the upper limit brightness of the adjustable range, then determine that the dynamic screen brightness is the pending screen brightness.
[0125] If the pending screen brightness is greater than the lower limit brightness of the adjustable interval and less than the upper limit brightness of the adjustable interval, the dynamic screen brightness can be determined to be the pending screen brightness. Referring to Table 2, when the ambient light intensity is 300, the light intensity interval is [200, 400), and the adjustable interval of the screen brightness in the light intensity interval [200, 400) is [40, 60). If the pending screen brightness at this time is 45, which is greater than the lower limit brightness of the adjustable interval of 40 and less than the upper limit brightness of the adjustable interval of 60, the dynamic screen brightness can be determined to be the pending screen brightness of 45.
[0126] For example, refer to Figure 3 The step of determining the dynamic screen brightness based on the comparison result of the pending screen brightness and the upper and lower limit brightness of the adjustable range includes:
[0127] Step C21: if the to-be-determined screen brightness is less than the lower limit brightness of the adjustable range, determining a first brightness difference between the to-be-determined screen brightness and the lower limit brightness, and determining a first gain brightness based on the preset adjustment factor of the light intensity range and the first brightness difference;
[0128] Step C22: determining the dynamic screen brightness by reducing the first gain brightness based on the default screen brightness.
[0129] If the pending screen brightness is less than the lower limit brightness of the adjustable range, the first brightness difference between the pending screen brightness and the lower limit brightness is first determined, and then the first gain brightness is determined based on the preset adjustment factor of the light intensity range and the first brightness difference, and the dynamic screen brightness is determined to be the first gain brightness reduced on the basis of the default screen brightness. Referring to Table 2, when the ambient light intensity is 300, the light intensity range is [200, 400), and the adjustable range of the screen brightness in the light intensity range [200, 400) is [40, 60). If the pending screen brightness at this time is 30, which is less than the lower limit brightness of the adjustable range of 40, the first brightness difference of 10 between the pending screen brightness of 30 and the lower limit brightness of 40 is first determined, and then the first gain brightness is determined based on the preset adjustment factor of the light intensity range [200, 400) and the first brightness difference of 10. In one embodiment, the preset adjustment factor for the light intensity interval [200, 400) is 0.5. Based on the preset adjustment factor 0.5 and the first brightness difference of 10, the first gain brightness is determined to be 0.5*10=5. Finally, the dynamic screen brightness is determined to be 45 by reducing the first gain brightness by 5 from the default screen brightness of 50. Similarly, the screen of the device with a screen is brighter when the external ambient light is brighter.
[0130] For example, refer to Figure 4The step of determining the dynamic screen brightness based on the comparison result of the pending screen brightness and the upper and lower limit brightness of the adjustable range includes:
[0131] Step C31: if the undetermined screen brightness is greater than the upper limit brightness of the adjustable range, determining a second brightness difference between the undetermined screen brightness and the upper limit brightness, and determining a second gain brightness based on the preset adjustment factor of the light intensity range and the second brightness difference;
[0132] Step C32: determining the dynamic screen brightness as the default screen brightness plus the second gain brightness.
[0133] If the pending screen brightness is greater than the upper limit brightness of the adjustable range, the second brightness difference between the pending screen brightness and the upper limit brightness is first determined, and then the second gain brightness is determined based on the preset adjustment factor of the light intensity range and the second brightness difference, and the dynamic screen brightness is determined to be the second gain brightness increased on the basis of the default screen brightness. Referring to Table 2, when the ambient light intensity is 300, the light intensity range is [200, 400), and the adjustable range of the screen brightness in the light intensity range [200, 400) is [40, 60). If the pending screen brightness at this time is 70, which is greater than the lower limit brightness of 60 of the adjustable range, the second brightness difference of 10 between the pending screen brightness 70 and the lower limit brightness 60 is first determined, and then the second gain brightness is determined based on the preset adjustment factor and the second brightness difference of 10 in the light intensity range [200, 400). In one embodiment, the preset adjustment factor for the light intensity interval [200, 400) is 0.5. Based on the preset adjustment factor 0.5 and the second brightness difference of 10, the second gain brightness is determined to be 0.5*10=5. Finally, the dynamic screen brightness is determined to be 55 by adding the second gain brightness of 5 to the default screen brightness of 50. Similarly, the screen of the device with a screen is brighter when the external ambient light is brighter.
[0134] Exemplarily, before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes:
[0135] Determine the interval division result of the light intensity interval, and determine a preset adjustment factor based on the interval division result, wherein the larger the interval span of the divided light intensity interval is, the larger the preset adjustment factor is.
[0136] In this embodiment, a method for determining a preset adjustment factor for a light intensity interval is provided.
[0137] Referring to Table 1 or Table 2, the ambient light intensity is divided into light intensity intervals to determine the interval division result. In this embodiment, the method of dividing the light intensity interval is not limited. Then, the preset adjustment factor is determined based on the interval division result. The larger the interval span of the divided light intensity interval, the larger the preset adjustment factor. Referring to Table 1, the preset adjustment factors of the first light intensity interval [0, 200) and the second light intensity interval [200, 400) are the same, both smaller than the third light intensity interval [400, 1000), and the preset adjustment factor of the third light intensity interval [400, 1000) is smaller than the fourth light intensity interval [1000, 3000). In addition, if the first light intensity interval is [0, 400) and the second light intensity interval is [400, 500), then the preset adjustment factor of the first light intensity interval [0, 400) is greater than the second light intensity interval [400, 500). In this embodiment, the method of assigning preset adjustment factors to the light intensity intervals in the interval division result is not limited.
[0138] Reference Figure 5 In addition, an embodiment of the present application further provides a screen brightness adjustment device, the screen brightness adjustment device comprising:
[0139] An acquisition detection module M1 is used to obtain the ambient light intensity of the environment in which the device with a screen is located, and to monitor whether there is a brightness adjustment operation on the device with a screen;
[0140] A first determining module M2 is configured to determine, if the brightness adjustment operation does not exist, that the target screen brightness of the device with a screen is a default screen brightness under the ambient light intensity;
[0141] a second determining module M3, configured to determine, if the brightness adjustment operation is performed, that the target screen brightness of the device with a screen is the dynamic screen brightness after the brightness adjustment operation is completed;
[0142] The adjustment module M4 is used to adjust the screen brightness of the device with a screen to the target screen brightness.
[0143] Exemplarily, the second determining module is further configured to:
[0144] After the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed:
[0145] The default screen brightness of the device with a screen in the light intensity interval of the ambient light intensity is adjusted to the target screen brightness of the device with a screen.
[0146] Exemplarily, the second determining module is further configured to:
[0147] Before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed:
[0148] If the brightness adjustment operation is to reduce the screen brightness, determining a lower screen brightness corresponding to a light intensity interval that is one level lower than the light intensity interval in which the ambient light intensity is located, wherein the lower screen brightness is a default screen brightness corresponding to the light intensity interval that is one level lower;
[0149] If the pending screen brightness after the brightness adjustment operation is completed is less than the lower screen brightness, determining the dynamic screen brightness to be the lower screen brightness plus a preset gain brightness;
[0150] If the pending screen brightness after the brightness adjustment operation is completed is greater than or equal to the lower screen brightness, the dynamic screen brightness is determined to be the pending screen brightness.
[0151] Exemplarily, the second determining module is further configured to:
[0152] Before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed:
[0153] Determining a light intensity range in which the ambient light intensity lies, and determining an adjustable range of screen brightness within the light intensity range;
[0154] The pending screen brightness after the brightness adjustment operation is completed is determined, and the dynamic screen brightness is determined based on a comparison result between the pending screen brightness and the upper and lower limit brightnesses of the adjustable interval.
[0155] Exemplarily, the second determining module is further configured to:
[0156] If the pending screen brightness is greater than the lower limit brightness of the adjustable interval and less than the upper limit brightness of the adjustable interval, the dynamic screen brightness is determined to be the pending screen brightness.
[0157] Exemplarily, the second determining module is further configured to:
[0158] If the to-be-determined screen brightness is less than the lower limit brightness of the adjustable range, determining a first brightness difference between the to-be-determined screen brightness and the lower limit brightness, and determining a first gain brightness based on the preset adjustment factor of the light intensity range and the first brightness difference;
[0159] The dynamic screen brightness is determined by reducing the first gain brightness based on the default screen brightness.
[0160] Exemplarily, the second determining module is further configured to:
[0161] If the to-be-determined screen brightness is greater than the upper limit brightness of the adjustable interval, determining a second brightness difference between the to-be-determined screen brightness and the upper limit brightness, and determining a second gain brightness based on the preset adjustment factor of the light intensity interval and the second brightness difference;
[0162] The dynamic screen brightness is determined by increasing the second gain brightness on the basis of the default screen brightness.
[0163] Exemplarily, the second determining module is further configured to:
[0164] Before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed:
[0165] Determine the interval division result of the light intensity interval, and determine a preset adjustment factor based on the interval division result, wherein the larger the interval span of the divided light intensity interval is, the larger the preset adjustment factor is.
[0166] The screen brightness adjustment device provided in this application utilizes the screen brightness adjustment method described in the aforementioned embodiment to address the technical issue of screen brightness display effects failing to meet user expectations. Compared to conventional technologies, the beneficial effects of the screen brightness adjustment device provided in this embodiment are the same as those of the screen brightness adjustment method described in the aforementioned embodiment. Other technical features of the screen brightness adjustment device are the same as those disclosed in the aforementioned embodiment and are not further elaborated here.
[0167] In addition, an embodiment of the present application also provides a screen brightness adjustment device, which includes: a memory, a processor, and a computer program stored on the memory and runnable on the processor, and when the computer program is executed by the processor, the steps of the screen brightness adjustment method described above are implemented.
[0168] In addition, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the screen brightness adjustment method described above are implemented.
[0169] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0170] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to conventional technology can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0171] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A screen brightness adjustment method, characterized in that: The method comprises: Obtaining the ambient light intensity of the environment in which the device with a screen is located, and monitoring whether there is a brightness adjustment operation on the device with a screen; If the brightness adjustment operation does not exist, determining the target screen brightness of the device with a screen to be a default screen brightness under the ambient light intensity; If the brightness adjustment operation is performed, determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed; Adjusting the screen brightness of the device with a screen to the target screen brightness; Before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method includes: If the brightness adjustment operation is to reduce the screen brightness, determining a lower screen brightness corresponding to a light intensity interval that is one level lower than the light intensity interval in which the ambient light intensity is located, wherein the lower screen brightness is a default screen brightness corresponding to the light intensity interval that is one level lower; If the pending screen brightness after the brightness adjustment operation is completed is less than the lower screen brightness, determining the dynamic screen brightness to be the lower screen brightness plus a preset gain brightness; If the pending screen brightness after the brightness adjustment operation is completed is greater than or equal to the lower screen brightness, the dynamic screen brightness is determined to be the pending screen brightness.
2. The screen brightness adjustment method according to claim 1, wherein: After the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes: The default screen brightness of the device with a screen in the light intensity interval of the ambient light intensity is adjusted to the target screen brightness of the device with a screen.
3. The screen brightness adjustment method according to claim 1, wherein: Before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes: Determining a light intensity range in which the ambient light intensity lies, and determining an adjustable range of screen brightness within the light intensity range; Determining a pending screen brightness after the brightness adjustment operation is completed; The dynamic screen brightness is determined based on a comparison result between the pending screen brightness and the upper and lower limit brightnesses of the adjustable range.
4. The screen brightness adjustment method according to claim 3, wherein: The step of determining the dynamic screen brightness based on a comparison result between the to-be-determined screen brightness and the upper and lower limit brightnesses of the adjustable range includes: If the pending screen brightness is greater than the lower limit brightness of the adjustable interval and less than the upper limit brightness of the adjustable interval, the dynamic screen brightness is determined to be the pending screen brightness.
5. The screen brightness adjustment method according to claim 3, wherein: The step of determining the dynamic screen brightness based on a comparison result between the to-be-determined screen brightness and the upper and lower limit brightnesses of the adjustable range includes: If the to-be-determined screen brightness is less than the lower limit brightness of the adjustable range, determining a first brightness difference between the to-be-determined screen brightness and the lower limit brightness, and determining a first gain brightness based on the preset adjustment factor of the light intensity range and the first brightness difference; The dynamic screen brightness is determined by reducing the first gain brightness based on the default screen brightness.
6. The screen brightness adjustment method according to claim 3, wherein: The step of determining the dynamic screen brightness based on a comparison result between the to-be-determined screen brightness and the upper and lower limit brightnesses of the adjustable range includes: If the to-be-determined screen brightness is greater than the upper limit brightness of the adjustable interval, determining a second brightness difference between the to-be-determined screen brightness and the upper limit brightness, and determining a second gain brightness based on the preset adjustment factor of the light intensity interval and the second brightness difference; The dynamic screen brightness is determined by increasing the second gain brightness on the basis of the default screen brightness.
7. The screen brightness adjustment method according to any one of claims 3 to 6, characterized in that: Before the step of determining the target screen brightness of the device with a screen as the dynamic screen brightness after the brightness adjustment operation is completed, the method further includes: Determine the interval division result of the light intensity interval, and determine a preset adjustment factor based on the interval division result, wherein the larger the interval span of the divided light intensity interval is, the larger the preset adjustment factor is.
8. A screen brightness adjustment device, characterized in that: The screen brightness adjustment device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the screen brightness adjustment method according to any one of claims 1 to 7 are implemented.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the screen brightness adjustment method according to any one of claims 1 to 7.
Citation Information
Patent Citations
System and method for information handling system ambient light sensor user interface
US20060256067A1