Brightness adjusting method and device, electronic equipment and medium

By determining the switching node within the preset brightness range according to the brightness adjustment process in the smart terminal device, turning off or reducing the step-by-step brightness adjustment function, and using a combination of DC and PWM dimming modes, the brightness flicker problem is solved and the user experience is improved. and eye comfort.

CN118629344APending Publication Date: 2024-09-10BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310244638.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-09
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Intelligent terminal devices are prone to obvious brightness flickering on the screen during the brightness adjustment process, which affects the user experience.

Method used

During the brightness adjustment process, the switching node within the preset brightness range is determined based on the current brightness value and the target brightness value, the step-by-step brightness adjustment function or the number of frames is turned off or reduced, and a combination of DC and PWM dimming modes are used to perform step-by-step brightness Adjust to ensure smooth brightness changes.

Benefits of technology

It effectively avoids screen brightness flickering and improves user experience and eye comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629344A
    Figure CN118629344A
Patent Text Reader

Abstract

The invention relates to a brightness adjusting method and device, electronic equipment and a medium. The brightness adjusting method comprises the steps of determining a target brightness value according to a brightness adjusting instruction; obtaining a current brightness value and a preset brightness value, wherein the preset brightness value is a switching node brightness value for switching the brightness adjustment mode of the electronic equipment; if the preset brightness value is located between the current brightness value and the target brightness value, a first brightness adjusting strategy is executed, and the first brightness adjusting strategy comprises the steps that in a first preset brightness range where the preset brightness value is located, the step-by-step brightness adjusting function of the electronic equipment is turned off or the frame number of brightness adjustment in the first preset brightness range is reduced. If the switching node needs to be switched through the brightness adjusting mode in the process of adjusting the current brightness to the target brightness, the step-by-step brightness adjusting function of the electronic equipment is turned off in the first preset brightness range where the switching node is located, so that obvious brightness flicker of a screen is effectively avoided, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of intelligent terminals, and in particular to a brightness adjustment method, device, electronic device and medium. Background Art

[0002] At present, OLED (organic light-emitting diode) display technology is becoming increasingly popular. Compared with LCD display, OLED display does not require a backlight panel, but uses an ultra-thin organic material coating and a glass substrate. When electric current passes through, these organic materials will emit light. Therefore, OLED display screens can be made thinner and lighter, with a larger viewing angle, and can significantly save power consumption. As a result, OLED display screens are widely used in smart terminals.

[0003] However, the above-mentioned smart terminal has the problem of obvious brightness flickering on the screen during certain adjustment processes. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a brightness adjustment method, device, electronic device and medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a brightness adjustment method is provided, which is applied to an electronic device, and the method includes:

[0006] According to the brightness adjustment instruction, determine the target brightness value;

[0007] Acquire a current brightness value and a preset brightness value, wherein the preset brightness value is a switching node brightness value at which the electronic device switches the brightness adjustment mode;

[0008] If the preset brightness value is between the current brightness value and the target brightness value, a first brightness adjustment strategy is executed, wherein the first brightness adjustment strategy includes: within a first preset brightness range where the preset brightness value is located, turning off the step-by-step brightness adjustment function of the electronic device or reducing the number of brightness adjustment frames within the first preset brightness range.

[0009] In some embodiments of the present disclosure, turning off the step-by-step brightness adjustment function of the electronic device within the first preset brightness range where the preset brightness value is located includes:

[0010] The brightness of the electronic device is directly switched from the first brightness end value of the first preset brightness range to the second brightness end value of the first preset brightness range, wherein the first brightness end value is between the current brightness value and the preset brightness value, and the second brightness end value is between the target brightness value and the preset brightness value.

[0011] In some embodiments of the present disclosure, the brightness adjustment mode includes a first brightness adjustment mode and a second brightness adjustment mode, and the first brightness adjustment strategy further includes: within a second preset brightness range, the first brightness adjustment mode is used to gradually adjust the brightness of the electronic device, and the second preset brightness range is between the current brightness value and a first brightness end value of the first preset brightness range;

[0012] In a third preset brightness range, the second brightness adjustment mode is used to gradually adjust the brightness of the electronic device, and the third preset brightness range is between the target brightness value and the second brightness end value of the first preset brightness range.

[0013] In some embodiments of the present disclosure, when the current brightness value is greater than the target brightness value, the first brightness adjustment mode is a DC dimming mode, and the second brightness adjustment mode is a PWM dimming mode;

[0014] When the current brightness value is less than the target brightness value, the first brightness adjustment mode is a PWM dimming mode, and the second brightness adjustment mode is a DC dimming mode.

[0015] In some embodiments of the present disclosure, within the second preset brightness range, the first brightness adjustment mode is used to gradually adjust the brightness of the electronic device, including:

[0016] In the second preset brightness range, the first brightness adjustment mode is used to adjust the brightness of the electronic device step by step with a first preset brightness difference value;

[0017] The step of adjusting the brightness of the electronic device step by step using the second brightness adjustment mode within the third preset brightness range includes:

[0018] Within the third preset brightness range, the second brightness adjustment mode is used to gradually adjust the brightness of the electronic device with a second preset brightness difference value;

[0019] When the current brightness value is greater than the target brightness value, the first preset brightness difference value is greater than the second preset brightness difference value;

[0020] When the current brightness value is less than the target brightness value, the first preset brightness difference value is less than the second preset brightness difference value.

[0021] In some embodiments of the present disclosure, the brightness adjustment method further includes:

[0022] Determining a brightness adjustment difference according to the current brightness value and the target brightness value;

[0023] Determining a first frame number corresponding to the second preset brightness range and a second frame number corresponding to the third preset brightness range;

[0024] Determining the first preset brightness difference value according to the brightness adjustment difference value and the first frame number;

[0025] The second preset brightness difference value is determined according to the brightness adjustment difference value and the second frame number.

[0026] In some embodiments of the present disclosure, the brightness adjustment method further includes:

[0027] If the current brightness value and the target brightness value are both greater than the preset brightness value, a second brightness adjustment strategy is executed, wherein the second brightness adjustment strategy includes: using a DC dimming mode to perform step-by-step brightness adjustment on the electronic device;

[0028] If the current brightness value and the target brightness value are both smaller than the preset brightness value, a third brightness adjustment strategy is executed, and the third brightness adjustment strategy includes: using a PWM dimming mode to perform step-by-step brightness adjustment on the electronic device.

[0029] According to a second aspect of an embodiment of the present disclosure, a brightness adjustment device is provided, the brightness adjustment device comprising:

[0030] A first determination module is configured to determine a target brightness value according to a brightness adjustment instruction;

[0031] An acquisition module is configured to acquire a current brightness value and a preset brightness value, wherein the preset brightness value is a switching node brightness value for switching a brightness adjustment mode of the electronic device;

[0032] The first adjustment module is configured to execute a first brightness adjustment strategy if the preset brightness value is between the current brightness value and the target brightness value. The first brightness adjustment strategy includes: within a first preset brightness range where the preset brightness value is located, turning off the step-by-step brightness adjustment function of the electronic device or reducing the number of frames of brightness adjustment within the first preset brightness range.

[0033] In some embodiments of the present disclosure, the brightness adjustment device further includes:

[0034] The second adjustment module is configured to:

[0035] If the current brightness value and the target brightness value are both greater than the preset brightness value, a second brightness adjustment strategy is executed, wherein the second brightness adjustment strategy includes: using a DC dimming mode to perform step-by-step brightness adjustment on the electronic device;

[0036] If the current brightness value and the target brightness value are both smaller than the preset brightness value, a third brightness adjustment strategy is executed, and the third brightness adjustment strategy includes: using a PWM dimming mode to perform step-by-step brightness adjustment on the electronic device.

[0037] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:

[0038] processor;

[0039] a memory for storing instructions executable by the processor;

[0040] The processor is configured to execute the method as described above.

[0041] According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the method as described above.

[0042] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0043] In the brightness adjustment method provided by the present invention, if a switching node for switching the brightness adjustment mode is required in the process of adjusting the current brightness to the target brightness, then within the first preset brightness range where the switching node is located, the step-by-step brightness adjustment function of the electronic device is turned off or the number of frames of brightness adjustment within the first preset brightness range is reduced, thereby effectively avoiding obvious brightness flickering on the screen and improving the user experience.

[0044] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0046] Figure 1 is a schematic diagram showing a corresponding relationship between a brightness adjustment mode and a brightness value in a related art according to an exemplary embodiment;

[0047] Figure 2 is a flowchart of a brightness adjustment method according to an exemplary embodiment;

[0048] Figure 3 is a schematic diagram showing the corresponding relationship between the brightness adjustment mode and the brightness value of the present application according to an exemplary embodiment;

[0049] Figure 4is a flowchart of a brightness adjustment method according to an exemplary embodiment;

[0050] Figure 5 is a block diagram of a brightness adjustment device according to an exemplary embodiment;

[0051] Figure 6 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0052] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0053] At present, the modes for adjusting screen brightness of smart terminals (such as mobile phones, tablets, etc.) mainly include DC (Direct Current) dimming mode and PWM (Pulse Width Modulation) dimming mode. The DC dimming mode adjusts the brightness of the screen by increasing or decreasing the power of the screen panel circuit. The PWM dimming mode is to make the screen flash "on-off-on-off" alternately at a certain frequency in a very short period of time, and adjust the screen brightness by adjusting the ratio of the screen lighting and extinguishing time, that is, by adjusting the pulse period and pulse width to adjust the screen brightness.

[0054] Smart terminals using OLED screens usually use PWM dimming mode. For adjusting the screen brightness, a common design is to slide the brightness bar on the screen, and the density of the sliding brightness bar is limited. For example, the brightness bar is divided into 4096 brightness levels, and then when the brightness bar is slid, the brightness level keeps changing in the 4096 levels. When adjusting the screen brightness, the screen image may flicker due to various factors. For example, because the eyes are more sensitive to changes in low brightness, the brightness can be felt to be significantly jittered. For another example, when the brightness bar is slid quickly, the screen brightness change needs to take into account the chirality, which causes the brightness to change too quickly, causing discomfort to the user's eyes or causing the user to feel that the screen flickers.

[0055] Based on this, the above problem is solved by setting and turning on the step-by-step brightness adjustment (dimming) function. This function divides the brightness change into multiple frames. For example, when the brightness value of the screen brightness is adjusted from 4096 to 200, the dimming function divides the brightness change into 16 frames, and the brightness change of each frame is (4096-200) / 16. This setting can effectively improve the smoothness of the brightness change, avoid screen flickering caused by factors such as fast sliding, and improve the user experience.

[0056] When using a smart terminal with an OLED screen, the eyes will produce muscle fatigue due to long-term stimulation of the screen strobe, which can easily cause eye or even physical discomfort. Based on this, in the related technology, a combination of PWM dimming mode and DC dimming mode is used to adjust the screen brightness, that is, PWM dimming mode is used for low brightness and DC dimming mode is used for high brightness, so that in the process of adjusting the screen brightness, color uniformity is improved while reducing damage to the eyes. And the smoothness of brightness change is improved through the step-by-step brightness adjustment (dimming) function, thereby further improving the user experience.

[0057] In the above method, since the brightness change is adjusted by the step-by-step brightness adjustment function during the process of adjusting the screen brightness, it is difficult to make the two dimming modes achieve brightness consistency near the switching node when switching the dimming mode, resulting in obvious brightness flickering on the screen.

[0058] In order to solve the above technical problems, the present disclosure provides a brightness adjustment method. If a switching node for switching the brightness adjustment mode is required in the process of adjusting the current brightness to the target brightness, the step-by-step brightness adjustment function of the electronic device is turned off or the number of frames of brightness adjustment within the first preset brightness range is reduced within the first preset brightness range, thereby effectively avoiding obvious brightness flickering on the screen and improving the user experience.

[0059] For ease of understanding, the screen brightness adjustment process is first described, such as Figure 1As shown, the screen brightness is adjusted by sliding the brightness bar, with a preset brightness value as the dividing point. The preset brightness value is the switching node brightness value for the electronic device to switch the brightness adjustment mode, for example, it can be 302. The area less than the preset brightness value is the low brightness area, and the PWM dimming mode is adopted. The area greater than the preset brightness value is the medium and high brightness area, and the DC dimming mode is adopted. Exemplarily, when the brightness is adjusted from a low brightness area to a high brightness area, for example, the brightness value is adjusted from 300 to 305. First, the brightness value is adjusted from 300 to 302 through the PWM dimming mode, and the dimming mode is switched from the PWM dimming mode to the DC dimming mode. The DC dimming mode adjusts the brightness value from 302 to 305. In this process, near the 302 node brightness value, for example, when the dimming function is running in the 300-305 node brightness value range, the screen image will show obvious flickering.

[0060] The present disclosure provides a brightness adjustment method. Figure 2 As shown, the method includes:

[0061] S100: Determine a target brightness value according to a brightness adjustment instruction.

[0062] In this step, the brightness adjustment instruction may be, for example, a sliding brightness bar or a voice input brightness adjustment instruction. In response to the brightness adjustment instruction, a target brightness value is determined. For example, when the instruction operation is a sliding brightness bar, the brightness value corresponding to when the sliding operation stops is the target brightness value.

[0063] S200: Acquire a current brightness value and a preset brightness value, where the preset brightness value is a switching node brightness value for switching a brightness adjustment mode of the electronic device.

[0064] In this step, the switching node brightness value is the brightness value corresponding to the two different brightness adjustment modes when switching. For example, the electronic device has a first brightness adjustment mode and a second brightness adjustment mode, then before the switching node brightness value, the electronic device uses the first brightness adjustment mode to adjust the brightness, and after the switching node brightness value, the electronic device uses the second brightness adjustment mode to adjust the brightness.

[0065] S300. If the preset brightness value is between the current brightness value and the target brightness value, a first brightness adjustment strategy is executed, wherein the first brightness adjustment strategy includes: within a first preset brightness range where the preset brightness value is located, turning off a step-by-step brightness adjustment function of the electronic device or reducing the number of frames of brightness adjustment within the first preset brightness range.

[0066] In this step, reducing the number of frames for brightness adjustment within the first preset brightness range refers to making the number of frames for brightness adjustment within the first preset brightness range smaller than the number of frames for brightness adjustment within other brightness ranges. Exemplarily, when the brightness is split into multiple frames for change through the brightness adjustment function, the number of frames for brightness adjustment within the first preset brightness range is smaller than the number of frames for brightness adjustment before passing through the first preset brightness range, and is also smaller than the number of frames for brightness adjustment after passing through the first preset brightness range. For example, before passing through the first preset brightness range, it is divided into 16 frames, when passing through the first preset brightness range, the number of frames is reduced from 16 frames to 2 frames, and after passing through the first preset brightness range, the number of frames for brightness adjustment is restored from 2 frames to 16 frames.

[0067] In this embodiment, if a switching node for switching the brightness adjustment mode is required in the process of adjusting the current brightness to the target brightness, the step-by-step brightness adjustment function of the electronic device is turned off or the number of brightness adjustment frames within the first preset brightness range is reduced within the first preset brightness range, thereby effectively avoiding obvious brightness flickering on the screen and improving the user experience.

[0068] In one embodiment, in step S300, within the first preset brightness range where the preset brightness value is located, turning off the step-by-step brightness adjustment function of the electronic device is determined by:

[0069] The brightness of the electronic device is directly switched from a first brightness end value of a first preset brightness range to a second brightness end value of the first preset brightness range.

[0070] In this embodiment, the first brightness end value is between the current brightness value and the preset brightness value, and the second brightness end value is between the target brightness value and the preset brightness value, that is, when adjusting the screen brightness from the current brightness value to the target brightness value, it is necessary to pass through the first preset brightness range. In this case, when the screen brightness is adjusted to the end value of the first preset brightness range, the step-by-step brightness adjustment function is turned off. Within the first preset brightness range, the change of the screen brightness does not need to be split into multiple frames, and is directly adjusted from the first brightness end value to the second brightness end value, which can effectively avoid the flickering phenomenon of the screen.

[0071] In one embodiment, the brightness adjustment mode includes a first brightness adjustment mode and a second brightness adjustment mode, and the first brightness adjustment strategy in step S300 is also determined in the following manner:

[0072] In the second preset brightness range, the first brightness adjustment mode is used to gradually adjust the brightness of the electronic device, and the second preset brightness range is between the current brightness value and the first brightness end value of the first preset brightness range.

[0073] In a third preset brightness range, the second brightness adjustment mode is used to gradually adjust the brightness of the electronic device, and the third preset brightness range is between the target brightness value and the second brightness end value of the first preset brightness range.

[0074] In this embodiment, in the process of adjusting the screen brightness from the current brightness value to the target brightness value, the brightness change is divided into a first preset brightness range, a second preset brightness range and a third preset brightness range, and the first preset brightness range is between the second preset brightness range and the third preset brightness range.

[0075] The first brightness adjustment mode is used to adjust the brightness within the second preset brightness range, and the brightness is divided into multiple frames for step-by-step adjustment through the step-by-step brightness adjustment function. When the brightness is adjusted to the first brightness end value of the first preset brightness range, the step-by-step brightness adjustment function is turned off. When the brightness is adjusted to the preset brightness value within the first preset brightness range, the brightness adjustment mode is switched from the first brightness adjustment mode to the second brightness adjustment mode, and the brightness is continued to be adjusted to the second brightness end value of the first preset brightness range, and the step-by-step brightness adjustment function is turned on. Within the third preset brightness range, the second brightness adjustment mode is used to adjust the brightness, and the brightness is divided into multiple frames for step-by-step adjustment through the step-by-step brightness adjustment function.

[0076] By switching between different brightness adjustment modes according to different brightness value ranges, it is possible to reduce damage to the user's eyes when adjusting the screen brightness. Within the range of switching the brightness adjustment mode, by turning off the step-by-step brightness adjustment function, the screen can avoid obvious brightness flickering, thereby improving the user experience.

[0077] In one embodiment, when the current brightness value is greater than the target brightness value, the first brightness adjustment mode is the DC dimming mode, and the second brightness adjustment mode is the PWM dimming mode. When the current brightness value is less than the target brightness value, the first brightness adjustment mode is the PWM dimming mode, and the second brightness adjustment mode is the DC dimming mode.

[0078] In this embodiment, when the screen brightness is lowered, the DC dimming mode is first used and then switched to the PWM dimming mode. When the screen brightness is increased, the PWM dimming mode is first used and then switched to the DC dimming mode. By using the PWM dimming mode in the low brightness area and the DC dimming mode in the medium and high brightness area, the color uniformity is improved while reducing the damage to the eyes in the process of adjusting the screen brightness.

[0079] For example, Figure 3As shown, the brightness bar is divided into 3 brightness ranges, and the brightness level includes 4096 levels. The brightness value in the range of 0-300 is the low brightness range, and the PWM dimming mode is used and the step-by-step brightness adjustment (dimming) function is turned on. The brightness value in the range of 326-4096 is the medium and high brightness range, and the DC dimming mode is used and the step-by-step brightness adjustment (dimming) function is turned on. The brightness value in the range of 300-326 is the first preset brightness range, and the preset brightness value in the first preset brightness range is set to 302. Within this range, the step-by-step brightness adjustment (dimming) function is turned off and the switching between the PWM dimming mode and the DC dimming mode is completed.

[0080] In one embodiment, within the second preset brightness range, the step-by-step brightness adjustment of the electronic device using the first brightness adjustment mode is determined by:

[0081] In the second preset brightness range, the first brightness adjustment mode is adopted to adjust the brightness of the electronic device step by step with the first preset brightness difference value.

[0082] In this step, in the process of adjusting the brightness of the electronic device step by step with the first preset brightness difference value, the first preset brightness difference value corresponding to each level may be the same or different. When the first preset brightness difference value corresponding to each level is the same, the current brightness value is changed by the same value at each level until the target brightness value is adjusted step by step. The first preset brightness difference value may be, for example, a set value. For example, the first preset brightness difference value is set to 100. In the process of adjusting the brightness from 400 to 100, the specific change of the brightness value can be shown in Table 1.

[0083] Table 1

[0084] series Current brightness value Target brightness value The first preset brightness difference 400 100 100 1 300 100 100 2 200 100 100 3 100 100 100

[0085] When the first preset brightness difference value corresponding to each level is different, the current brightness value is adjusted to the target brightness value step by step through different values ​​of each level. The first preset brightness difference value corresponding to each level, for example, the difference between the current brightness value and the target brightness value of each level can be used as the first preset brightness difference value corresponding to the level. For example, in the process of adjusting the brightness from 425 to 150, the specific change of the brightness value can be shown in Table 2.

[0086] Table 2

[0087] series Current brightness value Target brightness value The first preset brightness difference 425 150 275 1 275 150 125 2 150 150 0

[0088] In the third preset brightness range, the step-by-step brightness adjustment of the electronic device using the second brightness adjustment mode is determined in the following manner:

[0089] In the third preset brightness range, the second brightness adjustment mode is adopted to adjust the brightness of the electronic device step by step with the second preset brightness difference value.

[0090] In this step, the electronic device is gradually adjusted in brightness with the second preset brightness difference, and the second preset brightness difference corresponding to each level may be the same or different. The second preset brightness difference setting method is similar to the first preset brightness difference setting method, and will not be repeated here.

[0091] When the current brightness value is greater than the target brightness value, the first preset brightness difference value is greater than the second preset brightness difference value. When the current brightness value is less than the target brightness value, the first preset brightness difference value is less than the second preset brightness difference value.

[0092] Since the eyes are more sensitive to brightness changes in the low brightness range, in this embodiment, a small preset brightness difference is used in the medium and high brightness range to achieve a rapid change in brightness, and a large preset brightness difference is used in the low brightness range to achieve a slow change in brightness. By using different preset brightness differences in different brightness ranges to adjust the brightness of the electronic device step by step, the brightness adjustment rate is increased while also improving the stability of the brightness change.

[0093] like Figure 4 As shown, the brightness adjustment method provided in one embodiment of the present disclosure also includes the following steps:

[0094] S400: Determine a brightness adjustment difference according to the current brightness value and the target brightness value.

[0095] In this step, the brightness adjustment difference is determined by setting a formula algorithm according to the current brightness value and the target brightness value. The formula may be, for example, brightness adjustment difference=|current brightness value-target brightness value|.

[0096] S500: Determine a first frame number corresponding to a second preset brightness range and a second frame number corresponding to a third preset brightness range.

[0097] In this step, the first frame number and the second frame number may be set fixed parameters, for example.

[0098] S600: Determine a first preset brightness difference value according to the brightness adjustment difference value and the first frame number.

[0099] In this step, the first preset brightness difference is determined by a formula algorithm according to the brightness adjustment difference and the first frame number. The formula can be, for example,

[0100] S700: Determine a second preset brightness difference value according to the brightness adjustment difference value and the second frame number.

[0101] In this step, the second preset brightness difference is determined by a formula algorithm according to the brightness adjustment difference and the second frame number. The formula can be, for example,

[0102] In this embodiment, by determining the brightness adjustment difference, the first frame number and the second frame number, the first preset brightness difference and the second preset brightness difference are determined, and step-by-step brightness is achieved by using different preset brightness difference values ​​in different brightness ranges, thereby improving the brightness adjustment rate while also improving the smoothness of the brightness change.

[0103] For example, the screen brightness is adjusted from 700 to 100, and the number of frames of the step-by-step brightness adjustment function in the low brightness range is set to 16, and the number of frames in the high brightness range is set to 8. In the process of adjusting the screen brightness from 700 to 100, the specific changes in the brightness value can be seen in Table 3.

[0104] Table 3

[0105]

[0106]

[0107] The brightness adjustment method provided in an embodiment of the present disclosure further includes the following steps:

[0108] If the current brightness value and the target brightness value are both greater than the preset brightness value, the second brightness adjustment strategy is executed. The second brightness adjustment strategy can be determined in the following manner:

[0109] The DC dimming mode is used to adjust the brightness of electronic devices step by step.

[0110] If the current brightness value and the target brightness value are both less than the preset brightness value, the third brightness adjustment strategy is executed. The third brightness adjustment strategy can be determined in the following manner:

[0111] The PWM dimming mode is used to adjust the brightness of electronic devices step by step.

[0112] In this embodiment, when the brightness is adjusted from the current brightness value to the target brightness value, if the current brightness value and the target brightness value are in the same preset brightness range and do not need to pass through the first preset brightness range, the brightness is adjusted according to the dimming mode corresponding to the preset brightness range, and the brightness is adjusted step by step through the step-by-step brightness adjustment function. For example, if the current brightness value and the target brightness value are both in the low brightness range, the PWM dimming mode is used for step-by-step brightness adjustment. If the current brightness value and the target brightness value are both in the medium and high brightness range, the DC dimming mode is used for step-by-step brightness adjustment.

[0113] In an exemplary embodiment, a brightness adjustment device is provided, and the brightness adjustment device is used to implement the above method. Figure 5 As shown, the control device may include a first determination module 100, an acquisition module 200 and a first adjustment module 300, wherein, in the process of implementing the above method,

[0114] The first determination module 100 is configured to determine a target brightness value according to a brightness adjustment instruction.

[0115] The acquisition module 200 is configured to acquire a current brightness value and a preset brightness value, where the preset brightness value is a switching node brightness value for switching the brightness adjustment mode of the electronic device.

[0116] The first adjustment module 300 is configured to execute a first brightness adjustment strategy if the preset brightness value is between the current brightness value and the target brightness value. The first brightness adjustment strategy includes: within a first preset brightness range where the preset brightness value is located, turning off the step-by-step brightness adjustment function of the electronic device or reducing the number of frames of brightness adjustment within the first preset brightness range.

[0117] In an exemplary embodiment, a brightness adjustment device is provided, in which a first adjustment module 300 is configured to:

[0118] The brightness of the electronic device is directly switched from a first brightness end value of a first preset brightness range to a second brightness end value of the first preset brightness range, wherein the first brightness end value is between the current brightness value and the preset brightness value, and the second brightness end value is between the target brightness value and the preset brightness value.

[0119] In an exemplary embodiment, a brightness adjustment device is provided, in which a brightness adjustment mode includes a first brightness adjustment mode and a second brightness adjustment mode, and a first adjustment module 300 is configured to:

[0120] In the second preset brightness range, the first brightness adjustment mode is used to gradually adjust the brightness of the electronic device, and the second preset brightness range is between the current brightness value and the first brightness end value of the first preset brightness range.

[0121] In a third preset brightness range, the second brightness adjustment mode is used to gradually adjust the brightness of the electronic device, and the third preset brightness range is between the target brightness value and the second brightness end value of the first preset brightness range.

[0122] In an exemplary embodiment, a brightness adjustment device is provided, in which a first adjustment module 300 is configured to:

[0123] When the current brightness value is greater than the target brightness value, the first brightness adjustment mode is the DC dimming mode, and the second brightness adjustment mode is the PWM dimming mode.

[0124] When the current brightness value is less than the target brightness value, the first brightness adjustment mode is the PWM dimming mode, and the second brightness adjustment mode is the DC dimming mode.

[0125] In an exemplary embodiment, a brightness adjustment device is provided, in which a first adjustment module 300 is configured to:

[0126] In the second preset brightness range, the first brightness adjustment mode is adopted to adjust the brightness of the electronic device step by step with the first preset brightness difference value.

[0127] In the third preset brightness range, the second brightness adjustment mode is adopted to adjust the brightness of the electronic device step by step with the second preset brightness difference value.

[0128] In this embodiment, when the current brightness value is greater than the target brightness value, the first preset brightness difference value is greater than the second preset brightness difference value. When the current brightness value is less than the target brightness value, the first preset brightness difference value is less than the second preset brightness difference value.

[0129] In an exemplary embodiment, a brightness adjustment device is provided, the device further comprising:

[0130] The second determination module is configured to determine a brightness adjustment difference value according to a current brightness value and a target brightness value.

[0131] The third determining module is configured to determine a first frame number corresponding to the second preset brightness range and a second frame number corresponding to the third preset brightness range.

[0132] The fourth determination module is configured to determine a first preset brightness difference value according to the brightness adjustment difference value and the first frame number; and determine a second preset brightness difference value according to the brightness adjustment difference value and the second frame number.

[0133] In an exemplary embodiment, a brightness adjustment device is provided, the device further comprising:

[0134] The second adjustment module is configured to execute a second brightness adjustment strategy if both the current brightness value and the target brightness value are greater than the preset brightness value, and the second brightness adjustment strategy includes: using a DC dimming mode to adjust the brightness of the electronic device step by step. If both the current brightness value and the target brightness value are less than the preset brightness value, a third brightness adjustment strategy is executed, and the third brightness adjustment strategy includes: using a PWM dimming mode to adjust the brightness of the electronic device step by step.

[0135] In an exemplary embodiment, an electronic device is provided, and the electronic device is, for example, a mobile phone, a laptop computer, a tablet computer, a wearable device, etc.

[0136] refer to Figure 6 As shown, electronic device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .

[0137] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0138] The memory 404 is configured to store various types of data to support operations on the electronic device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0139] The power supply component 406 provides power to the various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 400.

[0140] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera module and / or a rear camera module. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera module and / or the rear camera module may receive external multimedia data. Each front camera module and the rear camera module may be a fixed optical lens system or have a focal length and optical zoom capability.

[0141] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.

[0142] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0143] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor assembly 414 can detect the open / closed state of the electronic device 400, the relative positioning of components, such as the display and keypad of the electronic device 400, and the sensor assembly 414 can also detect the position change of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0144] The communication component 416 is configured to facilitate wired or wireless communication between the electronic device 400 and other terminals. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0145] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing terminals (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-described methods.

[0146] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the above instructions can be executed by the processor 420 of the electronic device 400 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, and an optical data storage terminal. When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to perform the method shown in the above embodiment.

[0147] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0148] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0149] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A brightness adjustment method, characterized in that: For electronic equipment, the brightness adjustment method includes: According to the brightness adjustment instruction, determine the target brightness value; Acquire a current brightness value and a preset brightness value, wherein the preset brightness value is a switching node brightness value at which the electronic device switches the brightness adjustment mode; If the preset brightness value is between the current brightness value and the target brightness value, a first brightness adjustment strategy is executed, wherein the first brightness adjustment strategy includes: within a first preset brightness range where the preset brightness value is located, turning off the step-by-step brightness adjustment function of the electronic device or reducing the number of brightness adjustment frames within the first preset brightness range.

2. The brightness adjustment method according to claim 1, characterized in that: The step of disabling the step-by-step brightness adjustment function of the electronic device within the first preset brightness range where the preset brightness value is located includes: The brightness of the electronic device is directly switched from the first brightness end value of the first preset brightness range to the second brightness end value of the first preset brightness range, wherein the first brightness end value is between the current brightness value and the preset brightness value, and the second brightness end value is between the target brightness value and the preset brightness value.

3. The brightness adjustment method according to claim 1, characterized in that: The brightness adjustment mode includes a first brightness adjustment mode and a second brightness adjustment mode, and the first brightness adjustment strategy further includes: within a second preset brightness range, the first brightness adjustment mode is used to gradually adjust the brightness of the electronic device, and the second preset brightness range is between the current brightness value and the first brightness end value of the first preset brightness range; In a third preset brightness range, the second brightness adjustment mode is used to gradually adjust the brightness of the electronic device, and the third preset brightness range is between the target brightness value and the second brightness end value of the first preset brightness range.

4. The brightness adjustment method according to claim 3, characterized in that: When the current brightness value is greater than the target brightness value, the first brightness adjustment mode is a DC dimming mode, and the second brightness adjustment mode is a PWM dimming mode; When the current brightness value is less than the target brightness value, the first brightness adjustment mode is a PWM dimming mode, and the second brightness adjustment mode is a DC dimming mode.

5. The brightness adjustment method according to claim 3, characterized in that: The stepwise brightness adjustment of the electronic device using the first brightness adjustment mode within the second preset brightness range includes: In the second preset brightness range, the first brightness adjustment mode is used to adjust the brightness of the electronic device step by step with a first preset brightness difference value; The step of adjusting the brightness of the electronic device step by step using the second brightness adjustment mode within the third preset brightness range includes: Within the third preset brightness range, the second brightness adjustment mode is used to gradually adjust the brightness of the electronic device with a second preset brightness difference value; When the current brightness value is greater than the target brightness value, the first preset brightness difference value is greater than the second preset brightness difference value; When the current brightness value is less than the target brightness value, the first preset brightness difference value is less than the second preset brightness difference value.

6. The brightness adjustment method according to claim 5, characterized in that: The brightness adjustment method further includes: Determining a brightness adjustment difference according to the current brightness value and the target brightness value; Determining a first frame number corresponding to the second preset brightness range and a second frame number corresponding to the third preset brightness range; Determining the first preset brightness difference value according to the brightness adjustment difference value and the first frame number; The second preset brightness difference value is determined according to the brightness adjustment difference value and the second frame number.

7. The brightness adjustment method according to any one of claims 1 to 6, characterized in that: The brightness adjustment method further includes: If the current brightness value and the target brightness value are both greater than the preset brightness value, a second brightness adjustment strategy is executed, wherein the second brightness adjustment strategy includes: using a DC dimming mode to perform step-by-step brightness adjustment on the electronic device; If the current brightness value and the target brightness value are both smaller than the preset brightness value, a third brightness adjustment strategy is executed, and the third brightness adjustment strategy includes: using a PWM dimming mode to perform step-by-step brightness adjustment on the electronic device.

8. A brightness adjustment device, characterized in that: The brightness adjustment device comprises: A first determination module is configured to determine a target brightness value according to a brightness adjustment instruction; An acquisition module is configured to acquire a current brightness value and a preset brightness value, wherein the preset brightness value is a switching node brightness value for switching a brightness adjustment mode of the electronic device; The first adjustment module is configured to execute a first brightness adjustment strategy if the preset brightness value is between the current brightness value and the target brightness value. The first brightness adjustment strategy includes: within a first preset brightness range where the preset brightness value is located, turning off the step-by-step brightness adjustment function of the electronic device or reducing the number of frames of brightness adjustment within the first preset brightness range.

9. The brightness adjustment device according to claim 8, characterized in that: The brightness adjustment device also includes: The second adjustment module is configured to: If the current brightness value and the target brightness value are both greater than the preset brightness value, a second brightness adjustment strategy is executed, wherein the second brightness adjustment strategy includes: using a DC dimming mode to perform step-by-step brightness adjustment on the electronic device; If the current brightness value and the target brightness value are both smaller than the preset brightness value, a third brightness adjustment strategy is executed, and the third brightness adjustment strategy includes: using a PWM dimming mode to perform step-by-step brightness adjustment on the electronic device.

10. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the method according to any one of claims 1 to 7.

11. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Screen brightness adjustment control method and device and electronic equipment

    CN119068819A

  • Screen brightness adjustment control method, device and electronic equipment

    CN119068819B