Brightness adjusting method and device and electronic equipment

By adjusting the brightness multiple times, the problem of inflexible brightness adjustment on electronic device screens was solved, achieving a gradual and subtle change in brightness and improving the user experience.

CN120877680APending Publication Date: 2025-10-31GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511216631.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-27
Publication Date
2025-10-31

AI Technical Summary

Technical Problem

Existing electronic devices lack flexibility in adjusting screen brightness, resulting in a need to improve the user experience.

Method used

By adjusting the brightness multiple times, the screen brightness is gradually adjusted from the initial brightness to the target brightness, with each adjustment increment being larger than the subsequent one, in order to achieve a gradual and subtle change in brightness.

Benefits of technology

It improves the flexibility of screen brightness adjustment and user experience, making brightness changes more in line with adjustment needs and providing a more refined experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120877680A_ABST
    Figure CN120877680A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a brightness adjusting method and device and electronic equipment. In the method, after the target brightness for brightness adjustment is determined, the screen brightness can be adjusted to the target brightness from the initial brightness by performing multiple brightness adjustments, and in the process of multiple brightness adjustments, the adjustment amplitude of the brightness adjustment executed at the previous time is greater than the adjustment amplitude of the brightness adjustment executed at the next time. Therefore, in the process of adjusting the screen brightness from the initial brightness to the target brightness, the brightness adjustment amplitude can be gradually reduced, so that when the adjustment is started, the brightness of the screen can more quickly meet the current brightness adjustment requirement through the larger adjustment amplitude, and the user experience is improved. And in the subsequent adjustment stage, the brightness adjustment process can be finer by reducing the adjustment amplitude, so that the brightness change is finer under the condition that the overall brightness adjustment process meets the adjustment requirement, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and more specifically, to a brightness adjustment method, apparatus, and electronic device. Background Technology

[0002] In some situations, electronic devices automatically adjust their screen brightness to adapt to changing conditions. For example, when an electronic device senses a decrease in ambient light, it can lower the screen brightness. Conversely, when it senses an increase in ambient light, it can raise the screen brightness. However, the current methods of adjusting screen brightness in these electronic devices still suffer from a lack of flexibility and require improvement in user experience. Summary of the Invention

[0003] In view of the above problems, this application proposes a brightness adjustment method, apparatus, and electronic device to improve the above problems.

[0004] In a first aspect, this application provides a brightness adjustment method applied to an electronic device, the method comprising: in response to a trigger to adjust the brightness of the screen, determining a target brightness for the brightness adjustment; By performing multiple brightness adjustments, the screen brightness is adjusted from the initial brightness to the target brightness, wherein the adjustment range of the previous brightness adjustment is greater than the adjustment range of the subsequent brightness adjustment, and the initial brightness is the screen brightness at which the brightness adjustment is triggered.

[0005] Secondly, this application provides a brightness adjustment device operating in an electronic device. The device includes: a target determination unit, configured to determine a target brightness for brightness adjustment in response to a trigger for adjusting the brightness of the screen; and a brightness adjustment unit, configured to adjust the screen brightness from an initial brightness to the target brightness by performing multiple brightness adjustments, wherein the adjustment range of the previous brightness adjustment is greater than the adjustment range of the subsequent brightness adjustment, and the initial brightness is the screen brightness at the time the brightness adjustment is triggered.

[0006] Thirdly, this application provides an electronic device including one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs being configured to perform the methods described above.

[0007] Fourthly, this application provides a computer-readable storage medium storing processor-executable program code, the computer-readable storage medium including stored program code, wherein the above-described method is executed when the program code is run.

[0008] Fifthly, this application provides a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium; the computer program product is used to implement the above-described method.

[0009] This application provides a brightness adjustment method, apparatus, and electronic device. In this method, when screen brightness adjustment is triggered, a target brightness for adjustment can be determined first. Then, the screen brightness can be adjusted from the initial brightness to the target brightness through multiple brightness adjustments. During these multiple adjustments, the adjustment range of the previous brightness adjustment is greater than that of the subsequent brightness adjustment. This allows the brightness adjustment range to gradually decrease as the screen brightness is adjusted from the initial brightness to the target brightness. Initially, a larger adjustment range allows the screen brightness to quickly meet the current brightness adjustment requirements. In subsequent adjustment stages, the adjustment range can be reduced to achieve a more refined brightness adjustment process. This results in a more subtle brightness change while meeting the adjustment requirements, thus improving the user experience. Attached Figure Description

[0010] 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 this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 A flowchart of a brightness adjustment method proposed in an embodiment of this application is shown; Figure 2 A flowchart of a brightness adjustment method proposed in an embodiment of this application is shown; Figure 3 A flowchart of a brightness adjustment method proposed in an embodiment of this application is shown; Figure 4 A flowchart of a brightness adjustment method proposed in an embodiment of this application is shown; Figure 5 A schematic diagram illustrating the adjustment range of multiple brightness adjustments in an embodiment of this application is shown; Figure 6 A schematic diagram illustrating how to determine the adjustment range for each brightness adjustment according to an embodiment of this application is shown; Figure 7 This paper shows a structural block diagram of a brightness adjustment device according to an embodiment of the present application; Figure 8This invention illustrates a structural block diagram of an electronic device for performing a brightness adjustment method according to an embodiment of the present invention; Figure 9 This is a storage unit in this application embodiment for storing or carrying program code that implements the brightness adjustment method according to this application embodiment. Detailed Implementation

[0012] 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 this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0013] In some scenarios, electronic devices automatically adjust their screen brightness to adapt to the actual conditions. For example, electronic devices can automatically adjust screen brightness based on the actual ambient lighting conditions to balance display quality and user experience. Specifically, when the electronic device senses a decrease in ambient light (e.g., moving from a bright outdoor environment to a dimly lit one), it automatically lowers the screen brightness. This avoids excessive screen light that could irritate the eyes and reduces unnecessary power consumption. Conversely, when ambient light increases (e.g., moving from indoors to a sunny outdoor location), the electronic device correspondingly increases the screen brightness to ensure that the user can clearly see the content on the screen and that the display is not blurry due to excessive ambient light.

[0014] However, the inventors discovered during their research that the existing methods for adjusting screen brightness in related electronic devices still suffer from a lack of flexibility and room for improvement in user experience. Therefore, the inventors proposed a brightness adjustment method, apparatus, and electronic device as described in this application. In this method, when screen brightness adjustment is triggered, a target brightness level is first determined. Then, multiple brightness adjustments are performed to adjust the screen brightness from the initial brightness to the target brightness. Furthermore, during these multiple adjustments, the adjustment range of the previous adjustment is greater than that of the subsequent adjustment. This allows the adjustment range to gradually decrease as the screen brightness is adjusted from the initial brightness to the target brightness. Initially, a larger adjustment range allows the screen brightness to quickly meet the current adjustment requirements. In subsequent adjustment stages, the adjustment range can be reduced to achieve a more refined brightness adjustment process. This results in a more subtle brightness change while meeting the adjustment requirements, thus improving the user experience.

[0015] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0016] Please see Figure 1 This application provides a brightness adjustment method, applied to electronic devices, the method comprising: S110: In response to a trigger to adjust the screen brightness, determine the target brightness for the brightness adjustment.

[0017] In this embodiment, screen brightness adjustment can be triggered when it is necessary to adjust the screen brightness to adapt to the current situation. In some embodiments, the screen brightness adjustment involved in this application can be understood as adjusting the screen backlight intensity.

[0018] One approach is for the user of the electronic device to manually trigger screen brightness adjustment. Optionally, the user can adjust the screen brightness by operating adjustment controls within the electronic device, where the target brightness can be determined by the user through the control. For example, the adjustment controls may include a level selection control, allowing the user to switch between different brightness levels. The electronic device can then determine the brightness corresponding to the level the level selection control is currently set to as the target brightness. Alternatively, the user can also trigger screen brightness adjustment via voice control commands. The target brightness for this adjustment can be determined from the voice control command or from pre-set default values.

[0019] Another method is for electronic devices to automatically trigger screen brightness adjustment.

[0020] Optionally, if a change in ambient brightness (or ambient light intensity) is detected, screen brightness adjustment can be triggered. The target brightness for adjustment can be determined by the current ambient brightness. In this approach, the electronic device can collect ambient brightness data in real time to automatically adjust the screen brightness based on changes in ambient brightness. For example, if the ambient brightness collected by the electronic device increases (e.g., a user moves the electronic device from indoors to outdoors), the electronic device can trigger screen brightness adjustment to increase the screen brightness; conversely, if the ambient brightness collected by the electronic device decreases (e.g., a user turns off the lights in their environment), the electronic device can trigger screen brightness adjustment to decrease the screen brightness. Optionally, the unit of the ambient brightness collected by the electronic device can be LUX.

[0021] When brightness adjustment is triggered due to a change in ambient brightness, the target brightness can be determined by the electronic device based on the current ambient brightness. Optionally, a first correspondence between ambient brightness and screen brightness can be pre-stored in the electronic device. This correspondence includes multiple ambient brightness levels, each with a corresponding screen brightness. For example, the contents of the first correspondence can be shown in the following table: As shown in the table above, ambient brightness H1 corresponds to screen brightness P1, ambient brightness H2 corresponds to screen brightness P2, and ambient brightness H3 corresponds to screen brightness P3. If the electronic device detects that the current ambient brightness is H2, then screen brightness P2 can be determined as the target brightness.

[0022] Optionally, if a change is detected in the application interface displayed by the electronic device, and the brightness requirements of the application interface before and after the change are different, screen brightness adjustment is triggered. It should be noted that the brightness requirements of different application interfaces may vary when the electronic device is running. For example, the brightness requirement for an interface used to display a QR code (e.g., during payment) will be higher than that of other interfaces. Therefore, when the electronic device displays an interface for displaying a QR code, screen brightness can be increased. Conversely, when the electronic device switches from displaying a QR code interface to displaying another application interface, screen brightness can be decreased.

[0023] When brightness adjustment is triggered due to a change in the application interface displayed on the electronic device, the target brightness can be the screen brightness required for the application interface after the interface switch. The electronic device can pre-store a second correspondence, which records the required screen brightness for at least some application interfaces. After the electronic device switches application interfaces, it can first check whether the application interface to be displayed after the switch is recorded in the second correspondence. If it is, the target brightness can be determined using the second correspondence. If it is not in the second correspondence, it indicates that the switched interface does not require brightness, and the electronic device does not need to adjust the brightness. For example, the content of the second correspondence can be shown in the table below: As shown in the table above, application interface A1 corresponds to screen brightness P1, application interface A2 corresponds to screen brightness P2, and application interface A3 corresponds to screen brightness P3. If the electronic device displays application interface A3 after switching applications, then screen brightness P3 can be determined as the target brightness. If the electronic device displays application interface A4 after switching applications, it can be seen that application interface A4 is not in the second correspondence, so the electronic device can adjust brightness without triggering an adjustment due to the interface switch.

[0024] Optionally, if a change in the display mode of the electronic device is detected, and the brightness requirements before and after the change are different, screen brightness adjustment is triggered. It should be noted that the brightness requirements of the screen may differ depending on the display mode of the electronic device. For example, when the electronic device is displaying an image (picture or video), if it is in the first display mode, it may require relatively high screen brightness, which can trigger an increase in screen brightness. If the electronic device is in the second display mode, it may have lower screen brightness requirements (or it can be understood as having no special brightness requirements), which can trigger a decrease in screen brightness. The brightness requirement corresponding to the first display mode is higher than that of the second display mode. For example, the first display mode could be HDR (High Dynamic Range Imaging) mode.

[0025] When brightness adjustment is triggered due to a change in the display mode of an electronic device, the target brightness can be the screen brightness corresponding to the switched display mode. A third correspondence can be pre-stored in the electronic device, recording the screen brightness corresponding to each display mode. After the electronic device switches display modes, the target brightness can be determined using this third correspondence. For example, the content of the third correspondence can be shown in the table below: As shown in the table above, display mode M1 corresponds to screen brightness P1, display mode M2 ​​corresponds to screen brightness P2, and display mode M3 corresponds to screen brightness P3. If the electronic device switches to display mode M1, then screen brightness P1 can be set as the target brightness.

[0026] S120: By performing multiple brightness adjustments, the screen brightness is adjusted from the initial brightness to the target brightness, wherein the adjustment range of the previous brightness adjustment is greater than the adjustment range of the subsequent brightness adjustment, and the initial brightness is the screen brightness when the screen brightness adjustment is triggered.

[0027] Given a target brightness, an electronic device can automatically perform multiple brightness adjustments to bring the screen brightness from the initial level to the target level. Each adjustment brings the current screen brightness closer to the target brightness. For example, if the trigger for brightness adjustment is to increase screen brightness, each adjustment will increase the screen brightness until the target level is reached. Conversely, if the trigger for brightness adjustment is to decrease screen brightness, each adjustment will decrease the screen brightness until the target level is reached.

[0028] By adjusting the screen brightness from the initial brightness to the target brightness through multiple adjustments, the screen brightness can be changed in stages (each adjustment can be understood as a stage). To ensure that the brightness change better matches the current brightness adjustment needs, the earlier the brightness adjustment is performed, the larger the adjustment magnitude. For example, if a brightness adjustment is triggered by a decrease in ambient brightness, a larger initial reduction can be made to quickly lower the screen brightness to match the ambient light. Conversely, the later brightness adjustments will have smaller adjustment magnitudes, allowing the process from the initial brightness to the target brightness to exhibit an exponential change, resulting in a more subtle overall transition.

[0029] The following example illustrates the process of adjusting brightness multiple times.

[0030] For example, the initial brightness can be 100, and the target brightness can be 2. In this embodiment, the unit of brightness can be nits. The brightness is adjusted four times. In this case, the screen brightness is adjusted from the initial 100 to 60 in the first adjustment, from 60 to 25 in the second, from 25 to 8 in the third, and from 8 to 2 in the fourth. The adjustment increments are 40, 35, 17, and 6 respectively. It can be observed that the earlier the brightness adjustment is performed, the larger the adjustment increment, and the later the adjustment is performed, the smaller the adjustment increment.

[0031] For example, the initial brightness can be 1000, and the target brightness can be 2. The brightness is adjusted four times. In this case, the screen brightness is adjusted from the initial 1000 to 600 in the first adjustment, from 600 to 250 in the second, from 250 to 80 in the third, and from 80 to 2 in the fourth. The adjustment increments are 400, 350, 170, and 78 respectively. It can be observed that the earlier the brightness adjustment is performed, the larger the adjustment increment, and the later the adjustment is performed, the smaller the adjustment increment.

[0032] As described above, electronic devices can automatically perform multiple brightness adjustments to adjust the screen brightness from the initial brightness to the target brightness. As one method, the number of brightness adjustments performed after each trigger can be different. Optionally, the number of brightness adjustments performed can be determined by the reason for triggering the brightness adjustment, where different reasons correspond to different numbers of adjustments. For example, if the electronic device triggers brightness adjustment because it detects a change in ambient brightness, it can perform 5 brightness adjustments to adjust the screen brightness from the initial brightness to the target brightness. As another example, if the electronic device triggers brightness adjustment because it detects a change in the displayed application interface, it can perform 3 brightness adjustments to adjust the screen brightness from the initial brightness to the target brightness. As yet another example, if the electronic device triggers brightness adjustment because it detects a change in display mode, it can perform 4 brightness adjustments to adjust the screen brightness from the initial brightness to the target brightness.

[0033] In addition, the amount of brightness adjustment can be different each time the screen brightness is adjusted.

[0034] This embodiment provides a brightness adjustment method that allows the brightness adjustment range to gradually decrease during the process of adjusting the screen brightness from the initial brightness to the target brightness. This allows for a larger adjustment range at the beginning of the adjustment so that the screen brightness can quickly meet the current brightness adjustment requirements. In subsequent adjustment stages, the adjustment range can be reduced to achieve a more refined brightness adjustment process. As a result, the overall brightness adjustment process is more refined while meeting the adjustment requirements, thereby improving the user experience.

[0035] Please see Figure 2 This application provides a brightness adjustment method, applied to electronic devices, the method comprising: S210: In response to a trigger to adjust the screen brightness, determine the target brightness for the brightness adjustment.

[0036] S220: The screen brightness is adjusted multiple times through multiple brightness levels to adjust the screen brightness from the initial brightness to the target brightness. Among the multiple brightness levels, the brightness corresponding to the earlier brightness level is closer to the initial brightness, and the brightness corresponding to the later brightness level is closer to the target brightness. Furthermore, the difference in brightness between two adjacent brightness levels is larger. Each brightness adjustment includes adjusting the screen brightness to the brightness corresponding to the next brightness level.

[0037] In this embodiment, after triggering screen brightness adjustment, the electronic device can switch from the initial brightness to the target brightness by changing the brightness level. Each change in brightness level can be understood as a brightness adjustment, thus multiple brightness adjustments can be achieved by changing multiple brightness levels. The brightness levels correspond to brightness values ​​between the initial brightness and the target brightness, with earlier brightness levels corresponding to brightness values ​​closer to the initial brightness and later brightness levels corresponding to brightness values ​​closer to the target brightness.

[0038] The multiple brightness levels used when adjusting brightness can be determined in various ways.

[0039] One approach is to pre-set multiple brightness levels in electronic devices, which represent the screen's brightness level at each brightness level. For example, these multiple brightness levels can be DBV (Dynamic Brightness Value) levels. DBV is a technical parameter used in screen brightness adjustment, primarily controlling the backlight intensity or pixel current of the display device to adjust the screen brightness. Specifically, DBV achieves dynamic adjustment of screen brightness by regulating the backlight or pixel current.

[0040] In this approach, when the electronic device determines the initial and target brightness, it can select candidate brightness levels based on the brightness corresponding to each brightness level, choosing those between the initial and target brightness. Then, based on the requirement that the difference in brightness between two adjacent brightness levels is larger among the multiple brightness levels used for brightness adjustment, multiple brightness levels for adjustment are selected from the candidate brightness levels. It should be noted that in the preset correspondence between brightness levels and corresponding brightness, the change in brightness level and the change in brightness can exhibit a linear relationship. That is, if the brightness level is changed step by step directly based on the preset correspondence, the screen brightness can exhibit a uniform change. This uniform change can be understood as the magnitude of each change being the same. However, the embodiment of this application aims to achieve non-uniform brightness change, that is, with each brightness adjustment triggered, the adjustment magnitude of subsequent brightness adjustments gradually decreases. Therefore, after determining the candidate brightness levels, multiple brightness levels for brightness adjustment can be selected from these candidate brightness levels to achieve the effect of gradually decreasing adjustment magnitude as adjustment proceeds. In other words, the selected brightness levels for brightness adjustment are a subset of the candidate brightness levels.

[0041] For example, the pre-set correspondence between brightness levels and brightness can be shown in the table below: As shown in the table above, the preset brightness levels include brightness levels D1 to D8, with each brightness level corresponding to a screen brightness. As an example, the initial screen brightness can be screen brightness P1, and the target brightness can be screen brightness P8. In this case, the determined candidate brightness levels can include brightness levels D2, D3, D4, D5, D6, and D7. If the screen brightness is directly adjusted step-by-step from the brightness corresponding to brightness level D1 to the brightness corresponding to brightness level D8, the screen brightness will be uniformly adjusted. Therefore, to achieve the non-uniform adjustment effect required by the embodiments of this application, some brightness levels can be determined from the candidate brightness levels. For example, brightness levels D5, D6, D7, and D8 can be selected as multiple brightness levels for multiple brightness adjustments. Based on this choice, when changing the brightness level for the first time, the screen brightness level can be changed directly from the current brightness level D1 to brightness level D5, so that the screen brightness can be adjusted significantly at the beginning to quickly adapt to the current adjustment needs. Then, the screen brightness level can be changed step by step from brightness level D5 to brightness level D8 to achieve a more subtle brightness change.

[0042] As another approach, after triggering brightness adjustment and determining the target brightness, the overall adjustment range can be determined by the difference between the screen's initial brightness and the target brightness. Then, based on this overall adjustment range, multiple brightness levels are determined in real time, where each brightness level corresponds to a brightness. However, the brightness corresponding to each of these multiple brightness levels determined in real time does not change uniformly.

[0043] Among the multiple brightness levels, the brightness level that appears earlier in the spectrum is closer to the starting brightness, and the brightness level that appears later in the spectrum is closer to the target brightness. Furthermore, the difference in brightness between two adjacent brightness levels that appear earlier in the spectrum is greater.

[0044] One approach is to gradually increase the screen brightness by using multiple brightness levels when the brightness adjustment is triggered by increasing brightness, thus raising the screen brightness from the initial level to the target level. Conversely, another approach is to gradually decrease the screen brightness by using multiple brightness levels when the brightness adjustment is triggered by decreasing brightness, thus lowering the screen brightness from the initial level to the target level.

[0045] It should be noted that, in the embodiments of this application, the number of multiple brightness levels used for brightness adjustment corresponds to the number of times brightness adjustment is performed. When the number of brightness adjustments can be determined by the display characteristics of the electronic device and / or the ambient brightness collected by the electronic device, the multiple brightness levels used for brightness adjustment can also be understood as being determined by the display characteristics of the electronic device and / or the ambient brightness collected by the electronic device.

[0046] This embodiment provides a brightness adjustment method that makes the overall brightness adjustment process more subtle while meeting adjustment requirements, thereby improving the user experience. Furthermore, in this embodiment, the screen brightness can be adjusted multiple times through multiple brightness levels to adjust the screen from the initial brightness to the target brightness, thus achieving brightness adjustment by changing the screen's brightness levels.

[0047] Please see Figure 3 This application provides a brightness adjustment method, applied to electronic devices, the method comprising: S310: In response to a trigger to adjust the screen brightness, determine the target brightness for the brightness adjustment.

[0048] S320: By performing multiple brightness adjustments, the screen brightness is adjusted from the initial brightness to the target brightness, wherein the adjustment range of the previous brightness adjustment is greater than the adjustment range of the subsequent brightness adjustment, the initial brightness is the screen brightness when the brightness adjustment is triggered, and the number of brightness adjustments is determined by the display characteristics of the electronic device and / or the ambient brightness collected by the electronic device.

[0049] In this embodiment, the number of brightness adjustments performed when brightness adjustment is triggered can be a fixed value, or it can be a dynamically changing value based on actual conditions. For example, in this embodiment, the number of brightness adjustments can be determined in real time based on the display characteristics of the electronic device and / or the ambient brightness collected by the electronic device.

[0050] One method is to use frame rate (FPS) as a display feature. With the number of brightness adjustments determined by the frame rate, a higher frame rate allows for more frequent brightness adjustments. It's important to note that frame rate is a metric for measuring the smoothness of video content, referring to the number of consecutive frames generated per second by the content source. Essentially, it's the number of frames rendered or output by the GPU or video encoder per unit of time, directly affecting the dynamic details perceived by the human eye and the speed of operational response. A higher frame rate allows for more frequent adjustments, enabling a more accurate match between the brightness adjustment frequency and the frame rate.

[0051] Optionally, a pre-established correspondence between frame rate and the number of brightness adjustments can be created. When screen brightness adjustment is triggered, in addition to determining the target brightness in response to the trigger, the number of brightness adjustments can also be determined synchronously based on the correspondence between frame rate and the number of brightness adjustments. For example, as the frame rate increases, the screen content updates faster. If the number of brightness adjustments is relatively low, the brightness changes within the same frame may lag, resulting in visual discontinuity. By establishing a correspondence between frame rate and the number of brightness adjustments, the brightness adjustment frequency can be ensured to be dynamically synchronized with the screen, improving visual comfort. For instance, at a frame rate of 60 FPS, the number of adjustments could be 10, and at a frame rate of 120 FPS, the number of adjustments could be 20.

[0052] Optionally, the current frame rate range can be determined first based on the screen's current frame rate. Then, the number of brightness adjustments to be performed can be determined based on the correspondence between the frame rate range and the number of adjustments. For example, an electronic device can have multiple frame rate ranges, including a high frame rate region, a medium frame rate region, and a low frame rate region. Specifically, the lowest frame rate in the high frame rate range is higher than the highest frame rate in the medium frame rate range, and the lowest frame rate in the medium frame rate range is higher than the highest frame rate in the low frame rate range.

[0053] For example, the defined high frame rate range, medium frame rate range, and low frame rate range can be as follows: High frame rate range (e.g., 90-120 FPS): corresponds to fast-moving scenes (e.g., e-sports games, high-speed photography), requiring frequent brightness adjustments to match scene changes. Medium frame rate range (e.g., 30-60 FPS): suitable for general video playback or light gaming, with moderate brightness adjustment frequency. Low frame rate range (e.g., 15-24 FPS): corresponds to static or slow-motion scenes (e.g., movies, time-lapse photography), with lower brightness adjustment requirements. Optionally, the range boundaries can be dynamically optimized based on device performance or user preferences.

[0054] As one method, display characteristics include the screen's refresh rate. Since the number of brightness adjustments is determined by the refresh rate, a higher refresh rate results in more frequent brightness adjustments. It's important to note that the screen refresh rate refers to the number of times the screen updates its image per second, directly affecting the smoothness of dynamic images.

[0055] Optionally, a pre-established correspondence between refresh rate and the number of brightness adjustments can be created. When screen brightness adjustment is triggered, in addition to determining the target brightness in response to the trigger, the number of adjustments can also be determined simultaneously based on the correspondence between refresh rate and brightness adjustment count. Specifically, by establishing the correspondence between screen refresh rate and brightness adjustment count, coordinated optimization of brightness adjustment and display performance can be achieved. When brightness adjustment is triggered, the electronic device not only determines the target brightness but also synchronously obtains the required number of adjustments from the pre-established correspondence based on the current refresh rate. For example, at a refresh rate of 120Hz, the number of adjustments could be 20, and at a refresh rate of 60Hz, the number of adjustments could be 10.

[0056] As one approach, when the number of brightness adjustments is determined by the ambient brightness, the greater the difference between the initial brightness and the ambient brightness, the more adjustments will be made. It should be noted that a larger difference between the initial brightness and the target brightness will result in a relatively larger overall brightness adjustment range. Therefore, to achieve a more refined and smooth brightness adjustment process, a greater number of adjustments can be configured.

[0057] The mechanism linking the difference between initial brightness and ambient brightness to the number of brightness adjustments refers to the fact that the greater the difference between the initial brightness and the ambient light intensity (ambient brightness), the more frequently the system adjusts the brightness to achieve a smoother transition. For example, if the system suddenly transitions from an extremely dark environment (initial brightness 10 nits) to a bright environment (ambient brightness 1000 nits), the difference will be significant, and the electronic device will gradually increase the brightness in multiple stages to avoid visual discomfort caused by a single large increase in brightness. Conversely, if the difference is small (e.g., initial brightness 300 nits, ambient brightness 400 nits), only 2-3 adjustments may be needed. In this way, the magnitude of a single brightness change can be reduced by increasing the adjustment frequency, making the brightness change perceived by the human eye closer to a linear and natural transition.

[0058] This embodiment provides a brightness adjustment method that makes the overall brightness adjustment process more subtle while meeting adjustment requirements, thereby improving the user experience. Furthermore, in this embodiment, the number of brightness adjustments is determined by the display characteristics of the electronic device and / or the ambient brightness collected by the electronic device, thus making the brightness adjustment process of the electronic device more compatible with the display characteristics of the electronic device or the ambient brightness, further enhancing the visual experience of brightness adjustment.

[0059] Please see Figure 4 This application provides a brightness adjustment method, applied to electronic devices, the method comprising: S410: In response to a trigger to adjust the screen brightness, determine the target brightness for the brightness adjustment; S420: By performing multiple brightness adjustments, the screen brightness is adjusted from the initial brightness to the target brightness, wherein the adjustment range of the previous brightness adjustment is greater than the adjustment range of the subsequent brightness adjustment, the initial brightness is the screen brightness when the brightness adjustment is triggered, and the adjustment range of each brightness adjustment is determined by the display characteristics of the electronic device and / or the ambient brightness collected by the electronic device.

[0060] In one approach, the adjustment range for each brightness adjustment is determined by the ambient brightness collected by the electronic device. It should be noted that when the electronic device does not adjust its screen brightness based on ambient brightness, the target brightness for adjustment is determined based on the ambient brightness. Therefore, the overall adjustment range is also determined based on the ambient brightness. This overall adjustment range can be understood as the sum of the adjustment ranges from multiple brightness adjustments.

[0061] In cases where the ambient brightness changes significantly, the overall adjustment range will also be relatively larger. Therefore, if the number of brightness adjustments is fixed, in order to adapt to the overall adjustment range, the adjustment range of each adjustment in multiple brightness adjustments can be determined based on the ambient brightness collected by the electronic device, so that the adjustment range of each adjustment in multiple brightness adjustments can be adapted to the overall adjustment range.

[0062] In the case where the target brightness is determined by the ambient brightness collected by the electronic device, the larger the overall adjustment range, the greater the difference between the target brightness and the initial brightness. Therefore, optionally, when the target brightness is determined by the ambient brightness collected by the electronic device, the adjustment range of each brightness adjustment is determined by the ambient brightness collected by the electronic device, which can be understood as being determined by the difference between the target brightness and the initial brightness.

[0063] For example, when the overall adjustment range is relatively large, the adjustment range of each individual brightness adjustment in multiple adjustments can be relatively large, thus achieving the overall adjustment range through a fixed number of brightness adjustments. Conversely, when the overall adjustment range is relatively small, the adjustment range of each individual brightness adjustment in multiple adjustments can be relatively small.

[0064] For example, taking three brightness adjustments as an example, if the difference between the target brightness and the initial brightness is C1, the adjustment range for the first brightness adjustment can be F1, the adjustment range for the second brightness adjustment can be F2, and the adjustment range for the third brightness adjustment can be F3. If the difference between the target brightness and the initial brightness is C2, the adjustment range for the first brightness adjustment can be F4, the adjustment range for the second brightness adjustment can be F5, and the adjustment range for the third brightness adjustment can be F6. Where C2 is greater than C1, amplitude F4 can be greater than amplitude F1, amplitude F5 can be greater than amplitude F2, and amplitude F6 can be greater than amplitude F3.

[0065] For example, such as Figure 5 As shown, in Figure 5 The dashed line indicates that the screen brightness has been reduced from a relatively high level. Figure 5 The solid lines in the diagram represent reducing the screen brightness from a relatively lower level. It can be observed that when the difference between the initial and target brightness is relatively large, the adjustment range in each brightness adjustment process will also be relatively large.

[0066] In one approach, when the adjustment range of brightness adjustment is determined by the display characteristics of the electronic device and the ambient brightness collected by the electronic device, the adjustment range of brightness adjustment is determined by a first range, a first weight corresponding to the first range, a second range, and a second weight corresponding to the second range; wherein, the first range is the adjustment range determined by the display characteristics of the electronic device, and the second range is the adjustment range determined by the ambient brightness collected by the electronic device.

[0067] For example, the method of determining the adjustment range of each brightness adjustment based on weights can be as follows: Figure 6 As shown, the determined number of brightness adjustments is 5. After determining the target brightness, the adjustment range for each brightness adjustment can be determined based on the display characteristics of the electronic device and the ambient brightness collected by the electronic device. For example, the adjustment ranges F11, F21, F31, F41, and F51 in the first range of the table above can be the adjustment ranges for each of the 5 brightness adjustments determined by the display characteristics of the electronic device. Similarly, the adjustment ranges F12, F22, F32, F42, and F52 in the second range of the table above can be the adjustment ranges for each of the 5 brightness adjustments determined by the ambient brightness collected by the electronic device.

[0068] The final adjustment range for each brightness adjustment can be determined based on the first and second ranges corresponding to each adjustment. For example, for the first brightness adjustment, the final adjustment range is F11×Q1+F12×Q2; for the second brightness adjustment, it is F21×Q1+F22×Q2; for the third brightness adjustment, it is F31×Q1+F32×Q2; for the fourth brightness adjustment, it is F41×Q1+F42×Q2; and for the fifth brightness adjustment, it is F51×Q1+F52×Q2.

[0069] The first and second weights represent the influence of the electronic device's display characteristics and ambient brightness on determining the adjustment range each time. These first and second weights can be configured by the developers, or dynamically determined by the electronic device based on actual conditions. For example, if the electronic device detects that display characteristics are prioritized, the first weight can be configured to be greater than the second weight; if it detects that ambient brightness is prioritized, the second weight can be configured to be greater than the first weight. Optionally, the electronic device determines display characteristics priority when it detects that the displayed image is a game or video; otherwise, ambient brightness priority applies.

[0070] Alternatively, when multiple methods are used to collaboratively determine the adjustment range for each brightness adjustment, the adjustment range for some stages can be determined using a single method, while for other stages, multiple methods can be used to collaboratively determine the adjustment range. For example, in one approach, when a reduction in screen brightness is triggered, the adjustment range for each brightness adjustment can be determined using one method (e.g., based on ambient brightness or display characteristics) when the screen brightness is relatively high (e.g., above a brightness threshold). When the screen brightness is relatively low (below the brightness threshold), multiple methods can be used to collaboratively determine the adjustment range for each brightness adjustment (e.g., combining ambient brightness and display characteristics).

[0071] This embodiment provides a brightness adjustment method that enables more subtle brightness changes while meeting adjustment requirements, thereby improving the user experience. Furthermore, in this embodiment, the adjustment range for each brightness adjustment is determined jointly by the display characteristics of the electronic device and the ambient brightness collected by the electronic device, further improving the adaptability and accuracy of determining the brightness adjustment range.

[0072] Please see Figure 7 This application provides a brightness adjustment device 500, which operates in an electronic device. The device 500 includes: The target determination unit 510 is used to determine the target brightness for brightness adjustment in response to a trigger to adjust the brightness of the screen.

[0073] The brightness adjustment unit 520 is used to adjust the screen brightness from the initial brightness to the target brightness by performing multiple brightness adjustments, wherein the adjustment range of the previous brightness adjustment is greater than the adjustment range of the subsequent brightness adjustment, and the initial brightness is the screen brightness when the brightness adjustment is triggered.

[0074] In one approach, the brightness adjustment unit 520 is specifically used to adjust the screen brightness multiple times through multiple brightness levels to adjust the screen from the initial brightness to the target brightness. Among the multiple brightness levels, the brightness corresponding to the earlier brightness level is closer to the initial brightness, and the brightness corresponding to the later brightness level is closer to the target brightness. Furthermore, the difference in brightness between two adjacent earlier brightness levels is greater. Each brightness adjustment includes adjusting the screen brightness to the brightness corresponding to the next brightness level.

[0075] In one approach, the number of brightness adjustments is determined by the display characteristics of the electronic device and / or the ambient brightness collected by the electronic device. Optionally, the display characteristics include the frame rate; if the number of brightness adjustments is determined by the frame rate, a higher frame rate results in more brightness adjustments; or, if the number of brightness adjustments is determined by the ambient brightness, a greater difference between the initial brightness and the ambient brightness results in more brightness adjustments.

[0076] In one approach, the adjustment range for each brightness adjustment is determined by the display characteristics of the electronic device and / or the ambient brightness collected by the electronic device. Optionally, when the adjustment range for each brightness adjustment is determined by the display characteristics of the electronic device and the ambient brightness collected by the electronic device, the adjustment range for each brightness adjustment is determined by a first range, a first weight corresponding to the first range, a second range, and a second weight corresponding to the second range; wherein the first range is the adjustment range determined by the display characteristics of the electronic device, and the second range is the adjustment range determined by the ambient brightness collected by the electronic device.

[0077] This embodiment provides a brightness adjustment device that allows the brightness adjustment range to gradually decrease during the process of adjusting the screen brightness from the initial brightness to the target brightness. This allows for a larger adjustment range at the beginning of the adjustment so that the screen brightness can quickly meet the current brightness adjustment requirements. In subsequent adjustment stages, the adjustment range can be reduced to achieve a more refined brightness adjustment process. As a result, the overall brightness adjustment process is more refined while meeting the adjustment requirements, thereby improving the user experience.

[0078] It should be noted that the device embodiments in this application correspond to the aforementioned method embodiments. The specific implementation principles of each unit in the device embodiments are similar to those in the aforementioned method embodiments. The specific content in the device embodiments can be found in the method embodiments, but will not be repeated in the device embodiments.

[0079] The following will combine Figure 8 This application describes an electronic device.

[0080] Please see Figure 8 Based on the aforementioned brightness adjustment method and apparatus, this application embodiment also provides an electronic device 1000 capable of executing the aforementioned brightness adjustment method. The electronic device 1000 includes one or more (only one shown in the figure) processors 105, a memory 104, an audio playback module 106, and an audio acquisition device 108 coupled together. The memory 104 stores programs capable of executing the contents of the aforementioned embodiments, and the processor 105 can execute the programs stored in the memory 104.

[0081] The processor 105 may include one or more processing cores. The processor 105 connects to various parts within the electronic device 1000 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and by calling data stored in the memory 104. Optionally, the processor 105 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 105 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 105 and may be implemented separately using a communication chip.

[0082] The memory 104 may include random access memory (RAM) or read-only memory (ROM). The memory 104 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 104 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described below.

[0083] Furthermore, in addition to the aforementioned devices, the electronic device 1000 may also include a network module 110 and a sensor module 112.

[0084] The network module 110 is used to enable information interaction between the electronic device 1000 and other devices. For example, it can establish connections with other audio playback devices or other electronic devices and interact with information based on the established connections. As one approach, the network module 110 of the electronic device 1000 is a radio frequency (RF) module. This RF module is used to receive and transmit electromagnetic waves, realizing the mutual conversion between electromagnetic waves and electrical signals, thereby enabling communication with communication networks or other devices. The RF module may include various existing circuit elements used to perform these functions, such as antennas, RF transceivers, digital signal processors, encryption / decryption chips, SIM cards, memory, etc. For example, this RF module can interact with external devices through transmitted or received electromagnetic waves.

[0085] Sensor module 112 may include at least one sensor. Specifically, sensor module 112 may include, but is not limited to, pressure sensors, motion sensors, acceleration sensors, and other sensors.

[0086] The pressure sensor is a sensor that detects pressure generated by pressing on the electronic device 1000. That is, the pressure sensor detects pressure generated by contact or pressing between the user and the electronic device 1000, such as pressure generated by contact or pressing between the user's ear and the electronic device 1000. Therefore, the pressure sensor can be used to determine whether contact or pressing has occurred between the user and the electronic device 1000, and the magnitude of the pressure.

[0087] The accelerometer can detect the magnitude of acceleration in various directions (generally three axes), and when stationary, it can detect the magnitude and direction of gravity. It can be used for applications such as identifying the posture of the electronic device 1000 (e.g., screen orientation switching, related games, magnetometer posture calibration), and vibration recognition functions (e.g., pedometer, tapping). Additionally, the electronic device 1000 can also be equipped with other sensors such as a gyroscope, barometer, hygrometer, and thermometer, which will not be elaborated upon here.

[0088] Audio acquisition device 108 is used for acquiring audio signals. Optionally, audio acquisition device 110 includes multiple audio acquisition devices, which may be microphones.

[0089] Please refer to Figure 9 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable medium 1100 stores program code that can be called by a processor to execute the methods described in the above method embodiments.

[0090] The computer-readable storage medium 1100 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 1100 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 1100 has storage space for program code 1110 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 1110 may, for example, be compressed in a suitable form.

[0091] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0092] 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 technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0093] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.

[0094] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). It should be understood that various parts of this application can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0095] In summary, the brightness adjustment method, apparatus, and electronic device provided in this application allow for the following: When screen brightness adjustment is triggered, a target brightness level is first determined. Then, multiple brightness adjustments are performed to adjust the screen brightness from the initial brightness to the target brightness. Furthermore, during these adjustments, the adjustment range of the previous adjustment is greater than that of the subsequent adjustment. This allows the adjustment range to gradually decrease as the screen brightness is adjusted from the initial brightness to the target brightness. Initially, a larger adjustment range allows the screen brightness to quickly meet the current adjustment requirements. In subsequent adjustments, the adjustment range can be reduced to achieve a more refined brightness adjustment process. This results in a more subtle brightness variation while meeting the adjustment requirements, thus improving the user experience.

[0096] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical feature diagrams. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A brightness adjustment method, characterized in that, Applied to electronic devices, the method includes: In response to a trigger to adjust screen brightness, determine the target brightness for the brightness adjustment. By performing multiple brightness adjustments, the screen brightness is adjusted from the initial brightness to the target brightness, wherein the adjustment range of the previous brightness adjustment is greater than the adjustment range of the subsequent brightness adjustment, and the initial brightness is the screen brightness at which the brightness adjustment is triggered.

2. The method according to claim 1, characterized in that, The step of adjusting the screen brightness from the initial brightness to the target brightness by performing multiple brightness adjustments includes: The screen brightness is adjusted multiple times by using multiple brightness levels to adjust the screen brightness from the initial brightness to the target brightness. Among the multiple brightness levels, the brightness of the earlier brightness level is closer to the initial brightness, and the brightness of the later brightness level is closer to the target brightness. Furthermore, the difference in brightness between two adjacent earlier brightness levels is greater. Each brightness adjustment includes adjusting the screen brightness to the level corresponding to the next brightness level.

3. The method according to claim 1, characterized in that, The number of brightness adjustments is determined by the display characteristics of the electronic device and / or the ambient brightness collected by the electronic device.

4. The method according to claim 3, characterized in that, The display features include frame rate. When the number of brightness adjustments is determined by the frame rate, the higher the frame rate, the more brightness adjustments are made. Alternatively, when the number of brightness adjustments is determined by the ambient brightness, the greater the difference between the initial brightness and the ambient brightness, the more times the brightness is adjusted.

5. The method according to claim 1, characterized in that, The adjustment range for each brightness adjustment is determined by the display characteristics of the electronic device and / or the ambient brightness collected by the electronic device.

6. The method according to claim 5, characterized in that, The adjustment range for each brightness adjustment is determined by the display characteristics of the electronic device and the ambient brightness collected by the electronic device. The adjustment range for each brightness adjustment is determined by a first range, a first weight corresponding to the first range, a second range, and a second weight corresponding to the second range. The first amplitude is the adjustment amplitude determined by the display characteristics of the electronic device, and the second amplitude is the adjustment amplitude determined by the ambient brightness collected by the electronic device.

7. The method according to any one of claims 1-6, characterized in that, If a change in ambient brightness is detected, the screen brightness will be adjusted accordingly. Alternatively, if a change is detected in the application interface displayed on the electronic device, and the brightness requirements of the application interface before and after the change are different, the screen brightness will be adjusted. Alternatively, if a change in the display mode of an electronic device is detected, and the brightness requirements of the display modes before and after the change are different, the screen brightness will be adjusted accordingly.

8. A brightness adjustment device, characterized in that, Operating in an electronic device, the device includes: The target determination unit is used to determine the target brightness for brightness adjustment in response to a trigger to adjust the screen brightness. A brightness adjustment unit is used to adjust the screen brightness from the initial brightness to the target brightness by performing multiple brightness adjustments, wherein the adjustment range of the previous brightness adjustment is greater than the adjustment range of the subsequent brightness adjustment, and the initial brightness is the screen brightness when the brightness adjustment is triggered.

9. An electronic device, characterized in that, Includes one or more processors and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs being configured to perform the method of any one of claims 1-7.

10. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium; the computer program product is used to implement the method as described in any one of claims 1-7.