Brightness adjustment method, apparatus, device, and storage medium

CN117012164BActive Publication Date: 2026-08-21HUIZHOU TCL MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210472647.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2026-08-21
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

[0003]本申请实施例提供一种亮度调节方法、装置、设备和存储介质,旨在解决现有技术中的智能终端自动亮度调节精准度较差的技术问题

Benefits of technology

[0042]本申请中通过接收用户所传输的屏幕亮度调节指令,获取屏幕亮度调节指令关联的显示亮度,并采集接收到屏幕亮度调节指令时的环境光亮度;在接收到足量的屏幕亮度调节指令后,根据获取到的各所述显示亮度,以及该显示亮度对应的环境光亮度后,对屏幕预设的亮度曲线进行更新;并根据更新后的亮度曲线对该屏幕进行亮度自适应调整,从而实现根据用户操作习惯更新预设的亮度曲线,生成动态自动亮度曲线,对终端屏幕进行亮度自适应调整,减少用户手动调整亮度次数,优化自动亮度调整准确率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117012164B_ABST
    Figure CN117012164B_ABST
Patent Text Reader

Abstract

The application provides a brightness adjusting method, device, equipment and storage medium; the method in the application comprises the following steps: receiving a screen brightness adjusting instruction, acquiring display brightness associated with the screen brightness adjusting instruction, and collecting ambient light brightness; updating a preset brightness curve of a screen according to the acquired display brightness and the ambient light brightness corresponding to the display brightness; and performing brightness self-adaptive adjustment on the screen according to the updated brightness curve. The base scheme of the application can update the preset brightness curve according to the user operation habit, generate a dynamic automatic brightness curve, perform brightness self-adaptive adjustment on the terminal screen, reduce the number of times of manual brightness adjustment of the user, and optimize the accuracy of automatic brightness adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and specifically to a brightness adjustment method, apparatus, device, and storage medium. Background Technology

[0002] Currently, with the rapid development of smart terminals and their corresponding operating systems, the penetration rate of smart terminals such as mobile phones and tablets is gradually increasing. Many smart terminal operating systems have preset native automatic brightness curves for brightness adjustment. However, the existing native brightness curves can only brighten or darken the overall brightness. This results in poor accuracy of brightness adjustment when users move from a brighter environment to a darker environment or vice versa, requiring users to manually adjust the brightness further. Summary of the Invention

[0003] This application provides a brightness adjustment method, apparatus, device, and storage medium, aiming to solve the technical problem of poor accuracy in automatic brightness adjustment of smart terminals in the prior art.

[0004] On one hand, embodiments of this application provide a brightness adjustment method, the brightness adjustment method comprising the following steps:

[0005] Receive screen brightness adjustment command, obtain the display brightness associated with the screen brightness adjustment command, and collect ambient light brightness;

[0006] The preset brightness curve of the screen is updated based on the obtained display brightness and the ambient light brightness corresponding to each display brightness.

[0007] The screen brightness is adaptively adjusted based on the updated brightness curve.

[0008] In one possible implementation of this application,

[0009] The step of updating the preset brightness curve of the screen based on the acquired display brightness and the corresponding ambient light brightness includes:

[0010] The display brightness levels are bubble sorted to obtain a display brightness sequence.

[0011] Invalidity detection is performed on the display brightness sequence to remove invalid display brightness from the display brightness sequence;

[0012] The display brightness in the cleaned display brightness sequence is interpolated to a preset brightness curve, and the brightness curve is updated.

[0013] In one possible implementation of this application,

[0014] Perform invalid detection on the display brightness sequence and clean up invalid display brightness in the display brightness sequence, including:

[0015] Traverse the display brightness sequence, obtain each display brightness in the display brightness sequence whose adjustment command interval is less than a preset time interval threshold, and generate a brightness adjustment array;

[0016] The display brightness in the brightness adjustment array is compared with the preset brightness adjustment threshold;

[0017] If the display brightness in the brightness adjustment array is all less than the preset brightness adjustment threshold, then the display brightness is determined to be invalid, and the invalid display brightness is filtered out.

[0018] In one possible implementation of this application, updating the preset brightness curve of the screen based on the acquired display brightness and the ambient light brightness corresponding to the display brightness includes:

[0019] Obtain the curve brightness corresponding to each ambient light brightness from the preset brightness curve;

[0020] Obtain the display brightness corresponding to the ambient light brightness, calculate the brightness change value of the display brightness and the curve brightness, and compare it with a preset brightness change threshold;

[0021] If the brightness change value is greater than the brightness change threshold, then the sum of the curve brightness and the brightness change threshold is obtained, and the sum is set as the updated brightness value of the brightness curve;

[0022] The updated brightness value is inserted into the brightness curve to update the preset brightness curve of the screen.

[0023] In one possible implementation of this application, the step of calculating the brightness change value of the display brightness and the curve brightness, and comparing it with a preset brightness change threshold, includes:

[0024] If the brightness change value is less than the brightness change threshold, then the difference between the curve brightness corresponding to the display brightness and the brightness change threshold is set as the updated curve brightness of the brightness curve.

[0025] The updated brightness curve is inserted into the brightness curve to update the preset brightness curve of the screen.

[0026] In one possible implementation of this application, the step of adaptively adjusting the screen brightness according to the updated brightness curve includes:

[0027] The current ambient light brightness is detected, the curve brightness corresponding to the current ambient light brightness in the updated brightness curve is obtained, and the curve brightness value is compared with the current display brightness of the screen to obtain the current brightness adjustment value.

[0028] The screen brightness is adaptively adjusted based on the current brightness adjustment value.

[0029] In one possible implementation of this application, before updating the preset brightness curve of the screen based on the acquired display brightness and the ambient light brightness corresponding to the display brightness, the method further includes:

[0030] Read the number of times the display brightness has been adjusted stored in the terminal, and compare the number of adjustments with a preset curve update threshold;

[0031] If the number of adjustments exceeds the curve update threshold, the preset brightness curve of the screen is updated.

[0032] Alternatively, if the number of adjustments is less than the curve update threshold, the ambient light brightness corresponding to each display brightness is obtained, and the number of ambient light brightnesses in the same ambient light range is counted. If the number exceeds the range adjustment threshold, the preset brightness curve of the screen is updated.

[0033] On the other hand, this application provides a brightness adjustment device, the brightness adjustment device comprising:

[0034] The brightness acquisition module is configured to receive screen brightness adjustment commands, obtain the display brightness associated with the screen brightness adjustment commands, and acquire ambient light brightness.

[0035] The curve update module is configured to update the preset brightness curve of the screen based on the acquired display brightness and the ambient light brightness corresponding to the display brightness.

[0036] The brightness adjustment module is configured to adaptively adjust the screen brightness based on an updated brightness curve.

[0037] On the other hand, this application also provides a brightness adjustment device, the brightness adjustment device comprising:

[0038] One or more processors;

[0039] Memory; and

[0040] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the brightness adjustment method.

[0041] On the other hand, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to perform the steps in the brightness adjustment method.

[0042] This application receives screen brightness adjustment commands transmitted by the user, obtains the display brightness associated with the screen brightness adjustment commands, and collects the ambient light brightness at the time the screen brightness adjustment commands are received. After receiving a sufficient number of screen brightness adjustment commands, the preset brightness curve of the screen is updated according to the obtained display brightness and the corresponding ambient light brightness. The screen brightness is then adaptively adjusted according to the updated brightness curve. This achieves the updating of the preset brightness curve based on the user's operating habits, generates a dynamic automatic brightness curve, and adaptively adjusts the brightness of the terminal screen, reducing the number of times the user manually adjusts the brightness and optimizing the accuracy of automatic brightness adjustment. Attached Figure Description

[0043] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 This is a schematic diagram of a scenario illustrating the brightness adjustment method according to an embodiment of this application;

[0045] Figure 2 This is a flowchart illustrating one embodiment of the brightness adjustment method in this application.

[0046] Figure 3 A flowchart illustrating an embodiment of the brightness adjustment method provided in this application, specifically the data cleaning process for display brightness.

[0047] Figure 4 This is a flowchart illustrating an embodiment of the brightness adjustment method provided in this application, which performs invalid detection on the display brightness sequence and cleans up invalid display brightness in the display brightness sequence.

[0048] Figure 5 This is a schematic diagram of one embodiment of the brightness adjustment device provided in this application.

[0049] Figure 6 This is a schematic diagram of one embodiment of the brightness adjustment device provided in this application. Detailed Implementation

[0050] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0051] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0052] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0053] Currently, with the rapid development of smart terminals and their corresponding operating systems, the penetration rate of smart terminals such as mobile phones and tablets is gradually increasing. Many smart terminal operating systems have preset native automatic brightness curves for brightness adjustment. However, the existing native brightness curves can only brighten or darken the overall brightness. This results in poor accuracy of brightness adjustment when users move from a brighter environment to a darker environment or vice versa, requiring users to manually adjust the brightness further.

[0054] Based on this, this application proposes a brightness adjustment method, apparatus, device, and computer-readable storage medium to solve the technical problem that the automatic brightness adjustment accuracy of smart terminals in the prior art is poor and that they cannot adaptively adjust the brightness according to user habits.

[0055] The brightness adjustment method in this embodiment of the invention is applied to a brightness adjustment device, which is disposed in a brightness adjustment equipment. The brightness adjustment equipment is provided with one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the brightness adjustment method; wherein, the brightness adjustment device can be a smart terminal with a display screen, such as a mobile phone, tablet computer, smart TV, network device, and smart computer.

[0056] like Figure 1 As shown, Figure 1 This is a schematic diagram of a brightness adjustment method according to an embodiment of the present application. The brightness adjustment scenario in this embodiment includes a brightness adjustment device 100 (the brightness adjustment device 100 integrates a brightness adjustment unit), and a computer-readable storage medium corresponding to the brightness adjustment method is running in the brightness adjustment device 100 to execute the steps of the brightness adjustment method.

[0057] Understandable, Figure 1 The brightness adjustment device in the scenario of the brightness adjustment method shown, or the device included in the brightness adjustment device, does not constitute a limitation on the embodiments of the present invention. That is, the number or type of the brightness adjustment device included in the scenario of the brightness adjustment method, or the number or type of the device included in each device, does not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.

[0058] In this embodiment of the invention, the brightness adjustment device 100 is mainly used for: receiving a screen brightness adjustment command, obtaining the display brightness associated with the screen brightness adjustment command, and collecting ambient light brightness;

[0059] The preset brightness curve of the screen is updated based on the obtained display brightness and the ambient light brightness corresponding to the display brightness.

[0060] The screen brightness is adaptively adjusted based on the updated brightness curve.

[0061] The brightness adjustment device 100 in this embodiment of the invention can be an independent brightness adjustment device, such as a mobile phone, tablet computer, smart TV, network device, server and smart computer, or a brightness adjustment network or brightness adjustment cluster composed of multiple brightness adjustment devices.

[0062] This application provides a brightness adjustment method, apparatus, device, and computer-readable storage medium, which will be described in detail below.

[0063] It will be understood by those skilled in the art that Figure 1 The application environment shown is only one application scenario related to the solution of this application and does not constitute a limitation on the application scenario of this application. Other application environments may include more than one application scenario. Figure 1 The diagram shows more or fewer brightness adjustment devices, or brightness adjustment network connections, for example... Figure 1 Only one brightness adjustment device is shown in the image. It is understood that the scenario of this brightness adjustment method may also include one or more brightness adjustment devices, which are not specifically limited here. The brightness adjustment device may also include a memory for storing video sequences and other data.

[0064] It should be noted that, Figure 1 The schematic diagram of the brightness adjustment method shown is merely an example. The scenarios of the brightness adjustment method described in the embodiments of the present invention are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided in the embodiments of the present invention.

[0065] Based on the scenarios described above regarding brightness adjustment methods, various embodiments of the brightness adjustment method disclosed in this invention are proposed.

[0066] like Figure 2 As shown, Figure 2 This is a flowchart illustrating one embodiment of the brightness adjustment method in this application. The image processing method includes the following steps 201-203:

[0067] 201. Receive a screen brightness adjustment command, obtain the display brightness associated with the screen brightness adjustment command, and collect the ambient light brightness;

[0068] The brightness adjustment method in this embodiment is applied to a brightness adjustment device. The type and number of brightness adjustment devices are not specifically limited. That is, the brightness adjustment device can be one or more smart terminals or servers equipped with display screens. In a specific embodiment, the brightness adjustment device is a smartphone.

[0069] After powering on, the brightness adjustment device has a preset brightness curve for automatically adjusting the screen brightness. This brightness curve is a set of mapping relationships between ambient light brightness and the corresponding screen display brightness, and is configured to automatically adjust the screen display brightness according to the ambient light brightness.

[0070] During operation, the brightness adjustment device receives brightness adjustment requests and adjusts the screen brightness accordingly. A brightness adjustment request is a command sent by the user via a brightness adjustment button on the device, carrying a screen brightness adjustment instruction that drives the device to adjust the screen brightness.

[0071] After receiving a screen brightness adjustment command, the brightness adjustment device obtains the display brightness associated with the screen brightness adjustment command, that is, the display brightness of the screen changed by the user through the screen brightness adjustment command driving the brightness adjustment device, wherein the display brightness is the adjusted screen brightness.

[0072] The brightness adjustment device also includes an ambient light detection module. This module detects the ambient light level in real time and correlates it with the display brightness in the user's screen brightness adjustment command to obtain user adjustment information. This user adjustment information is then stored in a preset brightness adjustment database. Optionally, the user adjustment information includes adjustment time, ambient light, screen brightness before adjustment, and display brightness.

[0073] Specifically, the brightness adjustment database also sets multiple ambient light ranges based on the ambient light brightness span, and stores the display brightness in partitions according to these ambient light ranges. Optionally, in one specific embodiment, the ambient light range is a display brightness storage range with an ambient light span of 100.

[0074] The brightness adjustment device also determines in real time the number of times the user adjusts the screen brightness. When the number of times the user adjusts the screen brightness is too high, it determines that the current brightness curve cannot adaptively adjust to the brightness that matches the user's viewing habits, and the brightness adjustment device needs to update the brightness curve.

[0075] Specifically, the brightness adjustment device has a preset curve update threshold. The device determines the number of times the user triggers the screen brightness adjustment command by reading the number of brightness adjustments stored on the terminal. After obtaining the number of brightness adjustments, the device compares this number with the preset curve update threshold. This curve update threshold is customized by the brightness adjustment device based on the actual application scenario; in one specific embodiment, it is set to 10 times.

[0076] Optionally, if the number of times the display brightness has been adjusted stored in the terminal exceeds the preset curve update threshold, the brightness adjustment device determines that the preset brightness curve cannot adaptively adjust the brightness to match the user's viewing habits, and the brightness curve needs to be updated.

[0077] Optionally, if the number of display brightness adjustments stored in the terminal is less than or equal to a preset curve update threshold, the brightness adjustment device further acquires the number of interval adjustments for each ambient light interval, wherein the number of interval adjustments is the number of display brightness values ​​recorded in the ambient light interval. After acquiring the number of interval adjustments, the brightness adjustment device compares the number of interval adjustments with the preset interval adjustment threshold.

[0078] Optionally, if the number of interval adjustments exceeds the preset interval adjustment threshold, the brightness adjustment device determines that the preset brightness curve cannot adaptively adjust the brightness to match the user's viewing habits, and the brightness curve needs to be updated.

[0079] 202. Update the preset brightness curve of the screen based on the obtained display brightness and the ambient light brightness corresponding to each display brightness;

[0080] During operation, the brightness adjustment device determines the need to update the brightness curve by detecting the number of times the display brightness is adjusted, and then triggers a brightness curve update request. The brightness curve update request is an operation instruction that drives the brightness adjustment device to obtain the stored display brightness values ​​and update the preset brightness curve of the screen using these display brightness values.

[0081] After receiving a brightness curve update request, the brightness adjustment device retrieves the display brightness and corresponding ambient light brightness from the user adjustment information in the brightness adjustment database; and retrieves the curve brightness corresponding to the display brightness from the preset brightness curve. The curve brightness is a preset adjustment brightness for adjusting the screen within the preset brightness curve.

[0082] Specifically, after the brightness adjustment device obtains each display brightness and the corresponding ambient light brightness from the brightness adjustment database, it obtains the curve brightness pointed to by the ambient light brightness in the preset brightness curve, and determines that the curve brightness is the curve brightness corresponding to the display brightness with the same ambient light brightness.

[0083] After acquiring the curve brightness corresponding to the displayed brightness in the brightness curve, the brightness adjustment device calculates the brightness change value between the displayed brightness and the curve brightness, and compares this brightness change value with a preset brightness change threshold. The brightness change threshold is a threshold set to avoid excessive differences between the updated brightness curve and the preset brightness curve. Optionally, the brightness change threshold is related to the ambient light range, with different brightness thresholds corresponding to different ambient light ranges. Optionally, in a specific embodiment, the brightness change threshold corresponding to the ambient light brightness range [20, 700] is 20 nits, and the brightness change threshold corresponding to the ambient light brightness range [700, 1000] is 30 nits.

[0084] Optionally, if the brightness adjustment device compares the brightness change value with a preset brightness change threshold and the comparison result is that the brightness change value is greater than the brightness change threshold, then the brightness adjustment device determines that the display brightness is significantly different from the preset brightness curve, adds the brightness of the curve and the brightness change threshold to obtain the sum of the brightness of the curve and the brightness change threshold, and sets the sum as the updated brightness value of the brightness curve.

[0085] Optionally, if the brightness adjustment device compares the brightness change value with a preset brightness change threshold and the comparison result is that the brightness change value is less than the brightness change threshold, then the brightness adjustment device calculates the difference between the curve brightness corresponding to the displayed brightness and the brightness change threshold, and sets the difference as the updated curve brightness of the brightness curve.

[0086] After obtaining the brightness of each display brightness associated with the update curve, the brightness adjustment device determines the interpolation point of the update curve brightness in the preset brightness curve based on the ambient light brightness corresponding to the update curve brightness, inserts the update curve brightness into the interpolation point of the brightness curve, thereby updating the preset brightness curve of the screen and obtaining the updated brightness curve.

[0087] The brightness adjustment device updates the preset brightness curve and obtains the updated brightness curve, then adjusts the screen brightness according to the updated brightness curve.

[0088] 203. Adjust the screen brightness adaptively according to the updated brightness curve.

[0089] After updating the preset brightness curve, the brightness adjustment device sets the updated brightness curve as the current brightness curve of the brightness adjustment device and automatically adjusts the screen brightness according to the updated brightness curve.

[0090] Specifically, after updating the brightness curve, the brightness adjustment device monitors the current ambient light brightness in real time and obtains the curve brightness corresponding to the brightness curve pointed to by the current ambient light brightness.

[0091] After obtaining the curve brightness corresponding to the current ambient brightness, the brightness adjustment device compares this curve brightness with the current brightness of the screen in the device and calculates the current brightness adjustment value. Specifically, the brightness adjustment device subtracts the current brightness from the curve brightness, sets the difference as the current brightness adjustment value, and adaptively adjusts the screen brightness based on the current adjustment value.

[0092] Optionally, the brightness adjustment device also obtains the user's last brightness adjustment command for the current ambient light level, and obtains the associated display brightness corresponding to the brightness adjustment command. Based on the display brightness and the curve brightness, it calculates the current brightness of the screen, thereby adaptively adjusting the screen brightness.

[0093] In this embodiment, the brightness adjustment device receives screen brightness adjustment commands transmitted by the user, obtains the display brightness associated with the screen brightness adjustment commands, and collects the ambient light brightness at the time the screen brightness adjustment commands are received. After receiving a sufficient number of screen brightness adjustment commands, the device updates the preset brightness curve of the screen based on the obtained display brightness and the corresponding ambient light brightness. It then performs adaptive brightness adjustment of the screen based on the updated brightness curve. This achieves the goal of updating the preset brightness curve according to the user's operating habits, generating a dynamic automatic brightness curve, and adaptively adjusting the brightness of the terminal screen, reducing the number of times the user manually adjusts the brightness and optimizing the accuracy of automatic brightness adjustment.

[0094] like Figure 3 As shown, Figure 3 This is a flowchart illustrating one embodiment of the brightness adjustment method provided in this application, which involves data cleaning of the display brightness.

[0095] Based on the above embodiments, this application embodiment further performs data cleaning on the display brightness of each screen brightness adjustment command, thereby improving the accuracy of the display brightness adjustment. Specifically, it includes steps 301-303:

[0096] 301. Perform bubble sort on each of the displayed brightness values ​​to obtain a display brightness sequence;

[0097] 302. Perform invalid detection on the display brightness sequence and clean up invalid display brightness in the display brightness sequence;

[0098] 303. Interpolate the display brightness in the cleaned display brightness sequence to the preset brightness curve, and update the brightness curve.

[0099] In this embodiment, during operation, the brightness adjustment device receives a screen brightness adjustment command triggered by the user based on the brightness adjustment button, and obtains the display brightness associated with the screen brightness adjustment command. Specifically, the brightness adjustment device also stores this display brightness in a designated brightness adjustment database, associating it with the adjustment time of the brightness adjustment device and the ambient light brightness.

[0100] After storing the display brightness in the brightness adjustment database, the brightness adjustment device performs bubble sort on each display brightness, sorting all display brightness in ascending order of adjustment time. Specifically, the brightness adjustment device obtains the adjustment time corresponding to each display brightness, compares the magnitudes of each adjustment time pairwise. If the adjustment time conforms to the ascending order of adjustment time, the position of the adjustment time is determined to be correct, and no position swapping is required; if the compared adjustment times do not conform to the ascending order of adjustment time, the order of the adjustment times is determined to be incorrect, and the order of the adjustment times is swapped until the adjustment times in the brightness adjustment database conform to the ascending order of adjustment time. Simultaneously, the brightness adjustment device sorts the display brightness corresponding to the adjustment times, ensuring that the arrangement order of the display brightness conforms to the ascending order of adjustment time. After performing bubble sort on the display brightness, the brightness adjustment device generates a display brightness sequence.

[0101] After generating the display brightness sequence, the brightness adjustment device performs invalid detection on the display brightness sequence to identify invalid brightness adjustment points in the display brightness sequence that are adjusted back and forth. Based on the detection results, the invalid display brightness in the display brightness sequence is cleaned up.

[0102] After cleaning up invalid display brightness in the display brightness sequence, the brightness adjustment device interpolates the cleaned display brightness sequence to a preset brightness curve and updates the brightness curve.

[0103] Specifically, after cleaning up invalid display brightness in the display brightness sequence, the brightness adjustment device obtains the display brightness and corresponding ambient light brightness in the display brightness sequence, determines the insertion point corresponding to the ambient light brightness in the brightness curve based on the ambient light brightness, inserts the display brightness corresponding to the ambient light brightness into the insertion point to update the brightness curve and generate a new brightness curve.

[0104] After generating a new brightness curve, the brightness adjustment device adaptively adjusts the screen brightness based on that curve.

[0105] In this embodiment, after obtaining the user's screen brightness adjustment command, the brightness adjustment device parses the corresponding display brightness, performs bubble sorting on each display brightness to obtain a display brightness sequence. It then performs invalid detection on this display brightness sequence, cleaning up any invalid display brightness. The cleaned display brightness sequence is then interpolated to a preset brightness curve, updating the brightness curve. Based on this brightness curve, the brightness adjustment device adaptively adjusts the screen brightness. This improves data validity, reduces computational load, and enhances the accuracy of the brightness curve update.

[0106] like Figure 4 As shown, Figure 4This is a flowchart illustrating an embodiment of the brightness adjustment method provided in this application, which performs invalid detection on the display brightness sequence and cleans up invalid display brightness in the display brightness sequence.

[0107] Based on the above embodiments, this application embodiment traverses the display brightness sequence, determines whether the display brightness in the display brightness sequence is invalid display brightness, and filters out the invalid display brightness. Specifically, it includes steps 401-403:

[0108] 401. Traverse the display brightness sequence, obtain each display brightness in the display brightness sequence whose adjustment instruction interval is less than a preset time interval threshold, and generate a brightness adjustment array;

[0109] 402. Compare the display brightness in the brightness adjustment array with the preset brightness adjustment threshold;

[0110] 403. If the display brightness in the brightness adjustment array is less than the preset brightness adjustment threshold, then the invalid display brightness is determined and the invalid display brightness is filtered out.

[0111] After obtaining a display brightness sequence by bubbling sorting of each display brightness, the brightness adjustment device further performs invalid detection on the display brightness sequence, filtering out screen brightness adjustment commands that the user repeatedly adjusts the brightness under the same ambient light within a preset time period, and determining that the screen brightness adjustment command is an invalid brightness adjustment command.

[0112] Specifically, the brightness adjustment device traverses the display brightness sequence, obtains the display brightness of each display brightness in the display brightness sequence whose adjustment command interval is less than a preset time interval threshold, and generates a brightness adjustment array. Optionally, in one embodiment, the time interval threshold is 3 minutes. The brightness adjustment device obtains the adjustment command interval of each display brightness in the display brightness sequence, and collects the display brightness of each display brightness whose adjustment command interval is less than 3 minutes, and generates a brightness adjustment array.

[0113] After generating the brightness adjustment array, the brightness adjustment device compares each display brightness in the brightness adjustment array with a preset brightness adjustment threshold to determine the brightness adjustment status in the brightness adjustment array. Based on the brightness adjustment status, it determines whether the display brightness is an invalid display brightness and whether the screen brightness adjustment command corresponding to the display brightness is an invalid brightness adjustment command.

[0114] Optionally, if all the display brightness values ​​in the brightness adjustment array are less than the preset brightness adjustment threshold, then the display brightness is determined to be invalid, and the screen brightness adjustment command corresponding to the display brightness is an invalid brightness adjustment command.

[0115] Specifically, after determining the invalid display brightness in the brightness adjustment array, the brightness adjustment device obtains the last display brightness in the timing sequence of the display adjustment array, determines the display brightness as the target display brightness, retains the target display brightness, filters the invalid display brightness corresponding to the invalid brightness adjustment command in the brightness adjustment array, and outputs the target display brightness.

[0116] The brightness adjustment device acquires the target display brightness from each brightness adjustment array, updates the preset brightness curve based on the target display brightness, obtains the updated brightness curve, and uses the updated brightness curve to adaptively adjust the screen brightness.

[0117] In this embodiment, after acquiring the display brightness sequence, the brightness adjustment device traverses the display brightness sequence to obtain each display brightness in the sequence whose adjustment command interval is less than a preset time interval threshold, generating a brightness adjustment array. The display brightness in the brightness adjustment array is compared with a preset brightness adjustment threshold. If all display brightness in the brightness adjustment array is less than the preset brightness adjustment threshold, the screen brightness adjustment command corresponding to that display brightness is determined to be an invalid brightness adjustment command. Invalid display brightness corresponding to invalid brightness adjustment commands in the brightness adjustment array is filtered out, and the target display brightness in the brightness adjustment array is retained and output. The preset brightness curve is updated based on this target display brightness to obtain an updated brightness curve. The updated brightness curve is then used to adaptively adjust the screen brightness. This improves data validity, reduces computational load, and increases the accuracy of brightness curve updates.

[0118] To better implement the brightness adjustment method in the embodiments of this application, a brightness adjustment device is also provided in the embodiments of this application, such as... Figure 5 As shown, Figure 5 This is a schematic diagram of an embodiment of the brightness adjustment device provided in this application. The brightness adjustment device 500 includes:

[0119] The brightness acquisition module 501 is configured to receive a screen brightness adjustment command, obtain the display brightness associated with the screen brightness adjustment command, and acquire the ambient light brightness.

[0120] The curve update module 502 is configured to update the preset brightness curve of the screen based on the acquired display brightness and the ambient light brightness corresponding to the display brightness.

[0121] The brightness adjustment module 503 is configured to adaptively adjust the brightness of the screen according to the updated brightness curve.

[0122] In some embodiments of this application, the brightness adjustment device 500 updates the preset brightness curve of the screen based on the acquired display brightness and the ambient light brightness corresponding to the display brightness, including:

[0123] The display brightness levels are bubble sorted to obtain a display brightness sequence.

[0124] Invalidity detection is performed on the display brightness sequence to remove invalid display brightness from the display brightness sequence;

[0125] The cleaned display brightness sequence is interpolated to a preset brightness curve, and the brightness curve is updated.

[0126] In some embodiments of this application, the brightness adjustment device 500 performs invalid detection on the display brightness sequence and cleans up invalid display brightness in the display brightness sequence, including:

[0127] Traverse the display brightness sequence, obtain each display brightness in the display brightness sequence whose adjustment command interval is less than a preset time interval threshold, and generate a brightness adjustment array;

[0128] The display brightness in the brightness adjustment array is compared with the preset brightness adjustment threshold;

[0129] If the display brightness in the brightness adjustment array is less than the preset brightness adjustment threshold, then the screen brightness adjustment instruction corresponding to the display brightness is determined to be an invalid brightness adjustment instruction.

[0130] Filter out invalid display brightness corresponding to invalid brightness adjustment commands in the brightness adjustment array, retain the target display brightness in the brightness adjustment array, and output the target display brightness.

[0131] In some embodiments of this application, the brightness adjustment device 500 updates the preset brightness curve of the screen based on the acquired display brightness and the ambient light brightness corresponding to the display brightness, including:

[0132] Obtain the curve brightness corresponding to each of the preset brightness curves;

[0133] Calculate the brightness change values ​​of the display brightness and the curve brightness, and compare them with a preset brightness change threshold;

[0134] If the brightness change value is greater than the brightness change threshold, then the sum of the curve brightness and the brightness change threshold is obtained, and the sum is set as the updated brightness value of the brightness curve;

[0135] The updated brightness value is inserted into the brightness curve to update the preset brightness curve of the screen.

[0136] In some embodiments of this application, the brightness adjustment device 500 calculates the brightness change value of the brightness curve and the original brightness adjustment point, and compares it with a preset brightness change threshold, including:

[0137] If the brightness change value is less than the brightness change threshold, then the difference between the curve brightness corresponding to the display brightness and the brightness change threshold is set as the updated curve brightness of the brightness curve.

[0138] The updated brightness curve is inserted into the brightness curve to update the preset brightness curve of the screen.

[0139] In some embodiments of this application, the brightness adjustment device 500 adaptively adjusts the screen brightness according to an updated brightness curve, including:

[0140] The current ambient light brightness is detected, the curve brightness corresponding to the current ambient light brightness in the updated brightness curve is obtained, the curve brightness value is compared with the current brightness of the screen, and the current brightness adjustment value is obtained.

[0141] The screen brightness is adaptively adjusted based on the current brightness adjustment value.

[0142] In some embodiments of this application, before the brightness adjustment device 500 updates the preset brightness curve of the screen based on the acquired display brightness and the ambient light brightness corresponding to the display brightness, it further includes:

[0143] Read the number of times the display brightness has been adjusted stored in the terminal, and compare the number of display brightness adjustments with a preset curve update threshold;

[0144] If the number of adjustments exceeds the curve update threshold, the preset brightness curve of the screen is updated.

[0145] Alternatively, if the number of adjustments is less than the curve update threshold, the number of interval adjustments for each ambient light interval is determined; if the number of interval adjustments exceeds a preset interval adjustment threshold, the preset brightness curve of the screen is updated.

[0146] In this embodiment, the brightness adjustment device receives screen brightness adjustment commands transmitted by the user, obtains the display brightness associated with the screen brightness adjustment commands, and collects the ambient light brightness at the time the screen brightness adjustment commands are received. After receiving a sufficient number of screen brightness adjustment commands, the device updates the preset brightness curve of the screen based on the obtained display brightness and the corresponding ambient light brightness. It then performs adaptive brightness adjustment of the screen based on the updated brightness curve. This achieves the goal of updating the preset brightness curve according to the user's operating habits, generating a dynamic automatic brightness curve, and adaptively adjusting the brightness of the terminal screen, reducing the number of times the user manually adjusts the brightness and optimizing the accuracy of automatic brightness adjustment.

[0147] This invention also provides a brightness adjustment device, such as... Figure 6 As shown, Figure 6 This is a schematic diagram of one embodiment of the brightness adjustment device provided in this application.

[0148] The brightness adjustment device integrates any of the brightness adjustment devices provided in the embodiments of the present invention, the brightness adjustment device comprising:

[0149] One or more processors;

[0150] Memory; and

[0151] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor in the steps of the brightness adjustment method described in any of the embodiments of the above brightness adjustment method.

[0152] Specifically, the brightness adjustment device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that... Figure 6 The brightness adjustment device structure shown does not constitute a limitation on the brightness adjustment device. It may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:

[0153] The processor 601 is the control center of the brightness adjustment device. It connects various parts of the device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, thereby providing overall monitoring of the brightness adjustment device. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.

[0154] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created based on the use of the brightness adjustment device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0155] The brightness adjustment device also includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0156] The brightness adjustment device may also include an input unit 604, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0157] Although not shown, the brightness adjustment device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the brightness adjustment device loads the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 runs the applications stored in the memory 602 to realize various functions, as follows:

[0158] Receive screen brightness adjustment command, obtain the display brightness associated with the screen brightness adjustment command, and collect ambient light brightness;

[0159] The preset brightness curve of the screen is updated based on the obtained display brightness and the ambient light brightness corresponding to the display brightness.

[0160] The screen brightness is adaptively adjusted based on the updated brightness curve.

[0161] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0162] Therefore, embodiments of the present invention provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. A computer program is stored thereon, which is loaded by a processor to execute the steps in any of the brightness adjustment methods provided in the embodiments of the present invention. For example, the computer program loaded by the processor can execute the following steps:

[0163] Receive screen brightness adjustment command, obtain the display brightness of the screen associated with the brightness adjustment command, and collect ambient light brightness;

[0164] The preset brightness curve of the screen is updated based on the obtained display brightness and the ambient light brightness corresponding to the display brightness.

[0165] The screen brightness is adaptively adjusted based on the updated brightness curve. In the above embodiments, the descriptions of each embodiment have different focuses; for parts not described in detail in a particular embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0166] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.

[0167] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0168] The above provides a detailed description of a brightness adjustment method provided by the embodiments of this application. Specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the idea of ​​the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A brightness adjustment method, characterized in that, The brightness adjustment method includes: Receive screen brightness adjustment command, obtain the display brightness associated with the screen brightness adjustment command, and collect ambient light brightness; The preset brightness curve of the screen is updated based on the obtained display brightness and the ambient light brightness corresponding to each display brightness. The screen brightness is adaptively adjusted based on the updated brightness curve; The step of updating the preset brightness curve of the screen based on the acquired display brightness and the corresponding ambient light brightness includes: The display brightness levels are bubble sorted to obtain a display brightness sequence. Invalidity detection is performed on the display brightness sequence to remove invalid display brightness from the display brightness sequence; The display brightness in the cleaned display brightness sequence is interpolated to a preset brightness curve, and the brightness curve is updated.

2. The brightness adjustment method as described in claim 1, characterized in that, The step of performing invalid detection on the display brightness sequence and cleaning up invalid display brightness in the display brightness sequence includes: Traverse the display brightness sequence, obtain each display brightness in the display brightness sequence whose adjustment command interval is less than a preset time interval threshold, and generate a brightness adjustment array; The display brightness in the brightness adjustment array is compared with the preset brightness adjustment threshold; If the display brightness in the brightness adjustment array is less than the preset brightness adjustment threshold, then the display brightness is determined to be invalid, and the invalid display brightness is filtered out.

3. The brightness adjustment method as described in claim 1, characterized in that, The step of updating the preset brightness curve of the screen based on the acquired display brightness and the ambient light brightness corresponding to the display brightness includes: Obtain the curve brightness corresponding to each ambient light brightness from the preset brightness curve; Obtain the display brightness corresponding to the ambient light brightness, calculate the brightness change value of the display brightness and the curve brightness, and compare it with a preset brightness change threshold; If the brightness change value is greater than the brightness change threshold, then the sum of the curve brightness and the brightness change threshold is obtained, and the sum is set as the updated brightness value of the brightness curve; The updated brightness value is inserted into the brightness curve to update the preset brightness curve of the screen.

4. The brightness adjustment method as described in claim 3, characterized in that, After calculating the brightness change values ​​of the display brightness and the curve brightness, and comparing them with a preset brightness change threshold, the process includes: If the brightness change value is less than the brightness change threshold, then the difference between the curve brightness corresponding to the display brightness and the brightness change threshold is set as the updated curve brightness of the brightness curve. The updated brightness curve is inserted into the brightness curve to update the preset brightness curve of the screen.

5. The brightness adjustment method as described in claim 1, characterized in that, The step of adaptively adjusting the screen brightness according to the updated brightness curve includes: The current ambient light brightness is detected, the curve brightness corresponding to the current ambient light brightness in the updated brightness curve is obtained, and the curve brightness is compared with the current display brightness of the screen to obtain the current brightness adjustment value. The screen brightness is adaptively adjusted based on the current brightness adjustment value.

6. The brightness adjustment method according to any one of claims 1-5, characterized in that, Before updating the preset brightness curve of the screen based on the acquired display brightness and the ambient light brightness corresponding to the display brightness, the method further includes: Read the number of times the display brightness has been adjusted stored in the terminal, and compare the number of adjustments with a preset curve update threshold; If the number of adjustments exceeds the curve update threshold, the preset brightness curve of the screen is updated. Alternatively, if the number of adjustments is less than the curve update threshold, the ambient light brightness corresponding to each display brightness is obtained, and the number of ambient light brightness values ​​in the same ambient light range is counted. If the number exceeds the range adjustment threshold, the preset brightness curve of the screen is updated.

7. A brightness adjustment device, characterized in that, The brightness adjustment device includes: The brightness acquisition module is configured to receive screen brightness adjustment commands, obtain the display brightness associated with the screen brightness adjustment commands, and acquire ambient light brightness. The curve update module is configured to update the preset brightness curve of the screen based on the acquired display brightness and the ambient light brightness corresponding to the display brightness. The brightness adjustment module is configured to adaptively adjust the brightness of the screen according to the updated brightness curve; The step of updating the preset brightness curve of the screen based on the acquired display brightness and the corresponding ambient light brightness includes: The display brightness levels are bubble sorted to obtain a display brightness sequence. Invalidity detection is performed on the display brightness sequence to remove invalid display brightness from the display brightness sequence; The display brightness in the cleaned display brightness sequence is interpolated to a preset brightness curve, and the brightness curve is updated.

8. A brightness adjustment device, characterized in that, The brightness adjustment device includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the brightness adjustment method of any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, It contains a computer program that is loaded by a processor to perform the steps of the brightness adjustment method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Automatic brightness adjusting system of display device

    JP1998198328A