A brightness adjustment method, device and apparatus
By ensuring that the duty cycle change of the brightness level drive signal occurs after the current brightness level drive signal ends during screen brightness adjustment, the problems of screen flicker and sudden brightness changes are solved, achieving smooth brightness adjustment and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2026-04-14
AI Technical Summary
In existing technologies, screen brightness adjustment is prone to problems such as flickering or sudden brightening or dimming, especially when controlled by a separate controller.
By responding to the brightness level adjustment command, the first brightness level drive signal is determined, and the first brightness level drive signal is output after the current brightness level drive signal is output, ensuring that the duty cycle of the first brightness level drive signal is different from the duty cycle of the current brightness level drive signal, thus avoiding the superposition of duty cycles.
It achieves a smooth transition in screen brightness, avoids flickering, and improves the user experience.
Smart Images

Figure CN116386566B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and to, but is not limited to, a brightness adjustment method, apparatus, and device. Background Technology
[0002] In related technologies, flickering or sudden brightening or dimming of the screen may occur when a user adjusts the screen brightness level. This is especially noticeable when the screen brightness is controlled by a separate controller. Summary of the Invention
[0003] In view of this, embodiments of this application provide a brightness adjustment method, apparatus, and device.
[0004] In a first aspect, embodiments of this application provide a brightness adjustment method, the method comprising: in response to obtaining a first brightness level adjustment instruction, determining a first brightness level driving signal; determining that the current brightness level driving signal output has ended, and outputting the first brightness level driving signal to adjust the screen brightness to the first brightness level, wherein the first brightness level driving signal has a first duty cycle, the current brightness level driving signal has a second duty cycle, and the first duty cycle is different from the second duty cycle.
[0005] Secondly, embodiments of this application provide a brightness adjustment device, comprising: a determining module, configured to determine a first brightness level driving signal in response to receiving a first brightness level adjustment instruction; and an adjusting module, configured to determine that the current brightness level driving signal output has ended, and output the first brightness level driving signal to adjust the screen brightness to the first brightness level, wherein the first brightness level driving signal has a first duty cycle, the current brightness level driving signal has a second duty cycle, and the first duty cycle is different from the second duty cycle.
[0006] Thirdly, embodiments of this application provide an electronic device, including a first processor for outputting a first display signal; a second processor for outputting a second display signal; a selector for selectively outputting the first display signal or the second display signal; and a first controller for outputting a brightness control signal to control the brightness of the first display signal or the second display signal displayed on the screen. The first controller, in response to receiving a first brightness level adjustment instruction, determines a first brightness level driving signal; determines that the output of the previous brightness level driving signal has ended, and outputs the first brightness level driving signal to adjust the screen brightness to the first brightness level. The first brightness level driving signal has a first duty cycle, and the previous brightness level driving signal has a second duty cycle, the first duty cycle being different from the second duty cycle. Attached Figure Description
[0007] Figure 1 This is a schematic flowchart of a brightness adjustment method according to an embodiment of this application;
[0008] Figure 2 This is a schematic diagram illustrating a first controller controlling screen brightness according to an embodiment of this application;
[0009] Figure 3 This is a waveform diagram of a brightness level driving signal and a feedback signal according to an embodiment of this application;
[0010] Figure 4 This is a schematic diagram illustrating another embodiment of the present application where the first controller controls the screen brightness;
[0011] Figure 5 This is a waveform diagram of another brightness level drive signal and feedback signal according to an embodiment of this application;
[0012] Figure 6 This is a waveform diagram of a brightness level driving signal in related technologies;
[0013] Figure 7 This is a waveform diagram of another brightness level driving signal and feedback signal according to an embodiment of this application;
[0014] Figure 8 This is a flowchart illustrating another brightness adjustment method according to an embodiment of this application;
[0015] Figure 9 This is a schematic diagram of the composition structure of a brightness adjustment device according to an embodiment of this application;
[0016] Figure 10 This is a schematic diagram of the composition structure of an electronic device according to an embodiment of this application;
[0017] Figure 11 This is a schematic diagram of the hardware entity of an electronic device according to an embodiment of this application. Detailed Implementation
[0018] The technical solution of this application will be further described in detail below with reference to the accompanying drawings and embodiments.
[0019] Figure 1 This is a schematic flowchart of a brightness adjustment method according to an embodiment of this application, as shown below. Figure 1 As shown, the method includes the following steps:
[0020] Step 102: In response to receiving the first brightness level adjustment command, determine the first brightness level drive signal;
[0021] The electronic device can generate a first brightness level adjustment command based on the user's trigger operation, determine the corresponding first brightness level drive signal to be output based on the first brightness level adjustment command, control the screen brightness to the first brightness level through the first brightness level drive signal, and can pre-divide the screen brightness into multiple brightness levels, and adjust the brightness level up or down according to the user's trigger operation.
[0022] The triggering operation can be a user's operation of pressing a brightness adjustment button on the electronic device. The brightness adjustment button can include a brightness increase button and a brightness decrease button. Pressing the brightness increase button increases the screen brightness, and pressing the brightness decrease button decreases the screen brightness. Alternatively, the triggering operation can be a user's operation of a brightness adjustment control on the electronic device. The brightness adjustment control can include a brightness increase control and a brightness decrease control. Pressing the brightness increase control increases the screen brightness, and pressing the brightness decrease control decreases the screen brightness. The brightness adjustment control can also be a slider control. Sliding the slider control in a first direction increases the screen brightness, and sliding it in a second direction decreases the screen brightness. The first direction and the second direction can be opposite directions.
[0023] Step 104: Determine that the current brightness level drive signal output has ended, and output the first brightness level drive signal to adjust the screen brightness to the first brightness level, wherein the first brightness level drive signal has a first duty cycle, and the current brightness level drive signal has a second duty cycle, and the first duty cycle and the second duty cycle are different.
[0024] The duty cycle can be the proportion of the on-time of the brightness level drive signal in one pulse cycle relative to the total time. Different duty cycles of the brightness level drive signal correspond to different brightness levels of the screen brightness. Each duty cycle can correspond to one brightness level. If the first brightness level drive signal is output before the current brightness level drive signal has finished outputting, it will cause the duty cycles to be superimposed, resulting in screen flickering.
[0025] In this embodiment, when the screen brightness is controlled by the controller, the controller outputs the first brightness level driving signal to adjust the screen brightness to the first brightness level after receiving the brightness level adjustment instruction and determining that the current brightness level driving signal output has ended. Since the first brightness level driving signal is not output before the current brightness level driving signal has ended, the first duty cycle of the first brightness level driving signal and the second duty cycle of the current brightness level driving signal will not be superimposed, thus avoiding screen flickering or sudden brightening or dimming caused by the superposition of duty cycles.
[0026] In some embodiments, step 104, "determining the end of the current brightness level drive signal output," includes:
[0027] Step 1041a: Obtain the feedback signal of the current brightness level drive signal, wherein the feedback signal has the same duty cycle as the current brightness level drive signal;
[0028] The feedback signal is generated by coupling the output of the current brightness level drive signal to the input. Figure 2 As shown, when the output terminal OUT of the first controller 21 outputs the current brightness level drive signal to drive the adjustment of the screen 22 brightness, at the same time, the hardware of the first controller 21 or the motherboard of the electronic device establishes a feedback signal to the input terminal IN of the first controller 21. That is, when the current brightness level drive signal is output as a square wave, the feedback signal is input as a square wave; as shown Figure 3 As shown, the waveform 32 of the feedback signal can reflect the change of the waveform 31 of the current brightness level drive signal; the current brightness level drive signal can be a pulse width modulation (PWM) signal.
[0029] Step 1042a: If a rising edge of the feedback signal is detected, determine that the current brightness level drive signal has ended.
[0030] The period of the current brightness level drive signal can be the duration from one rising edge to another. The rising edge of the feedback signal is synchronized with the rising edge of the current brightness level drive signal. Detecting the rising edge of the feedback signal determines that the rising edge of the current brightness level drive signal has been reached, indicating the end of the current brightness level drive signal's period, and allows for timely output of the next brightness level drive signal. Figure 3 As shown, the rising edge 321 of the feedback signal can indicate the end of the current brightness level drive signal cycle and the start of a new brightness level drive signal cycle.
[0031] In some embodiments, the period of the current brightness level drive signal can also be the duration from one falling edge to another. In this case, if the falling edge of the feedback signal is detected, it can be determined that the falling edge of the current brightness level drive signal has been reached, and the current brightness level drive signal can be determined to have ended.
[0032] In this embodiment of the application, when the feedback signal and the current brightness level drive signal have the same duty cycle, the rising edge of the current brightness level drive signal can be determined when the rising edge of the feedback signal is detected, thereby more accurately determining the end of the current brightness level drive signal from the hardware level.
[0033] In some embodiments, step 104, "determining the end of the current brightness level drive signal output," includes:
[0034] Step 1041b: Obtain the feedback signal of the current brightness level drive signal, wherein the feedback signal is inversely related to the current brightness level drive signal;
[0035] Among them, such as Figure 4 As shown, the first controller 21 can also be connected to the inverter 23. When the output terminal OUT of the first controller 21 outputs the current brightness level drive signal to drive the adjustment of the screen 22's brightness, simultaneously, the hardware of the first controller 21 or the motherboard of the electronic device establishes a feedback signal to the input terminal IN of the first controller 21 via the inverter 23. Figure 5 As shown, the waveform 52 of the feedback signal is out of phase with the waveform 51 of the current brightness level drive signal.
[0036] Step 1042b: If a falling edge of the feedback signal is detected, determine that the current brightness level drive signal has ended.
[0037] The period of the current brightness level drive signal can be the duration from one rising edge to another. The falling edge of the feedback signal is synchronized with the rising edge of the current brightness level drive signal. Detecting the falling edge of the feedback signal indicates that the rising edge of the current brightness level drive signal has been reached, thus determining the end of the current brightness level drive signal's period and allowing for timely output of the next brightness level drive signal. Figure 5 As shown, the falling edge 521 of the feedback signal can indicate the end of the current brightness level drive signal cycle and the start of a new brightness level drive signal cycle.
[0038] In some embodiments, the period of the current brightness level drive signal can also be the duration from one falling edge to another. In this case, if the rising edge of the feedback signal is detected, it can be determined that the falling edge of the current brightness level drive signal has been reached, and the current brightness level drive signal can be determined to have ended.
[0039] In this embodiment of the application, when the feedback signal is opposite to the current brightness level drive signal, the rising edge of the current brightness level drive signal can be determined when the falling edge of the feedback signal is detected, thereby determining the end of the current brightness level drive signal more accurately and flexibly from the hardware level.
[0040] In some embodiments, step 104, "determining the end of the current brightness level drive signal output," includes:
[0041] Step 1041c: If the preset delay duration is reached, determine that the current brightness level driving signal has ended;
[0042] The preset delay duration corresponds to the duration of one cycle of the brightness level drive signal.
[0043] In this approach, the starting point of one cycle of the current brightness level drive signal can be determined first. After a preset duration of one cycle of the brightness level drive signal has elapsed from the starting point, the end of the current brightness level drive signal can be determined. This allows for a more accurate determination of the end of the current brightness level drive signal from a software perspective.
[0044] In some embodiments, step 104, "outputting the first brightness level drive signal to adjust the screen brightness to the first brightness level," includes:
[0045] Step 1043: Determine the brightness level difference between the current brightness level and the first brightness level;
[0046] Step 1044: Adjust the brightness level drive signal between the current brightness level and the first brightness level step by step. During each adjustment, determine the end of the output of the previous brightness level drive signal and output the next brightness level drive signal until the first brightness level drive signal is reached.
[0047] In some embodiments, the brightness levels can be divided into 1 to 10 brightness levels according to the order of brightness increase, with corresponding duty cycles of 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, and 100%, respectively. When the current brightness level is the 2nd brightness level, the user presses the brightness increase button 3 times or slides the slider to the position of the 5th brightness level to make the brightness level reach the 5th brightness level (i.e., the first brightness level). The brightness level difference is 3 levels. Then, after the output of the 2nd brightness level drive signal with a duty cycle of 20% is completed, the first controller can output the 3rd brightness level drive signal with a duty cycle of 30%, after the output of the 3rd brightness level drive signal is completed, output the 4th brightness level drive signal with a duty cycle of 40%, and after the output of the 4th brightness level drive signal is completed, output the 5th brightness level drive signal with a duty cycle of 50%.
[0048] In some embodiments, the brightness levels can be divided into five levels according to the order of brightness increase, with corresponding duty cycles of 20%, 40%, 60%, 80%, and 100%, respectively. When the current brightness level is the second brightness level, the user presses the brightness increase button twice or slides the slider to the position of the fourth brightness level to make the brightness level reach the fourth brightness level (i.e., the first brightness level). The brightness level difference is two levels. Then, after the second brightness level drive signal with a duty cycle of 40% is output, the first controller can output the third brightness level drive signal with a duty cycle of 60% after the second brightness level drive signal is output, and after the third brightness level drive signal is output, it can output the fourth brightness level drive signal with a duty cycle of 80%.
[0049] In this embodiment, by gradually adjusting the brightness level to the first brightness level, a smooth transition of brightness levels can be achieved, avoiding screen flicker and improving the user experience.
[0050] In some embodiments, the method further includes:
[0051] Step 106: When the first brightness level adjustment instruction is a brightness increase instruction and the current brightness level is the highest brightness, or when the first brightness level adjustment instruction is a brightness decrease instruction and the current brightness level is the lowest brightness,
[0052] Step 108: Maintain the second duty cycle to maintain the screen brightness.
[0053] In this embodiment, when the current brightness level is the highest brightness and the first brightness level adjustment instruction is a brightness increase instruction, or when the current brightness level is the lowest brightness and the first brightness level adjustment instruction is a brightness decrease instruction, the current brightness level is kept unchanged, thereby controlling the screen brightness adjustment within the range of the lowest and highest brightness.
[0054] In some embodiments, when the first brightness level adjustment instruction is a brightness increase instruction and the current brightness level is not the highest brightness, the second duty cycle is increased to increase the screen brightness;
[0055] When the first brightness level adjustment instruction is a brightness reduction instruction and the current brightness level is not the lowest brightness, the second duty cycle is reduced to lower the screen brightness.
[0056] In one embodiment, screen brightness adjustment is controlled by an embedded controller (EC), which can adjust the brightness of the display data output to the screen by the built-in graphics card or external graphics card.
[0057] However, as Figure 6 As shown in Figure 61, which is the waveform of the PWM signal, when the user's screen brightness corresponds to a PWM signal with a 20% duty cycle, if the user wants to adjust it to a 50% duty cycle, the EC will directly send a PWM signal with a 50% duty cycle after receiving the user's brightness adjustment operation. However, the PWM signal with a 20% duty cycle has not completed a cycle, which causes the 20% duty cycle and the 50% duty cycle to be superimposed, instead of the 50% duty cycle that the user wants.
[0058] In this embodiment, when the EC outputs a PWM signal, the hardware simultaneously establishes a feedback signal for the EC. That is, when the PWM signal is output as a square wave, the feedback signal is input as a square wave. When the previous cycle ends, the EC can know the end of the previous cycle through the feedback signal and can promptly output the next duty cycle, thus preventing the duty cycles from accumulating and causing screen flickering. When the user performs a brightness adjustment operation, such as pressing a button once, the EC can promptly output the next duty cycle without flickering.
[0059] like Figure 7 As shown, 71 is the waveform of the PWM signal and 72 is the waveform of the feedback signal. When there is a synchronous feedback signal, the superposition effect no longer occurs. Instead, the 50% duty cycle PWM signal cycle begins only after the 20% duty cycle PWM signal cycle is completed.
[0060] This application provides a screen brightness adjustment method, the method including the following steps:
[0061] Step S201: Receive hotkey command;
[0062] The hotkey instruction can be an increase brightness instruction or a decrease brightness instruction. The hotkey instruction can also be called a first brightness level adjustment instruction. A first brightness level driving signal can be determined based on the hotkey instruction. The first brightness level driving signal can be a PWM signal.
[0063] Step S202: Set the feedback signal to an interrupt signal, triggered on the rising edge.
[0064] Step S203: Upon receiving the hotkey, determine whether the current order is the highest or lowest order;
[0065] Among them, the order is also called the brightness level. The current order is the current brightness level, the highest order is the highest brightness level, and the lowest order is the lowest brightness level.
[0066] If yes, proceed to step S204; if no, proceed to step S205.
[0067] Step S204: Keep the current order unchanged;
[0068] Step S205: Wait for the feedback signal to trigger an interrupt;
[0069] Step S206: Feedback signal interruption trigger, output the duty cycle of the PWM signal that should be adjusted by the hotkey.
[0070] The first brightness level drive signal has a first duty cycle, which corresponds to the screen brightness requested by the user.
[0071] Figure 8 This is a flowchart illustrating another brightness adjustment method according to an embodiment of this application, as shown below. Figure 8 As shown, the method includes the following steps:
[0072] Step 801: Determine if a hotkey press command has been received; if so, proceed to step 802.
[0073] Step 802: Determine whether the current potential is greater than the target potential; if yes, proceed to step 803; if no, proceed to step 804.
[0074] Among them, the potential can represent the magnitude of the duty cycle. The larger the potential, the larger the duty cycle and the brighter the screen; the smaller the potential, the smaller the duty cycle and the dimmer the screen.
[0075] Step 803: Feedback signal interruption triggers, brightness is reduced by adjusting duty cycle;
[0076] If the current potential is greater than the target potential, it means the user wants to lower the brightness.
[0077] Step 804: Feedback signal interruption triggers, brightness is increased by adjusting duty cycle.
[0078] If the current potential is less than the target potential, it means the user wants to increase the brightness.
[0079] It should be noted that, in the embodiments of this application, if the above-described brightness adjustment method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a mobile phone, tablet computer, desktop computer, personal digital assistant, navigator, digital phone, video phone, television, sensor device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.
[0080] Figure 9 This is a schematic diagram of the composition of a brightness adjustment device according to an embodiment of this application, as shown below. Figure 9 As shown, the device 900 includes: a determining module 901 and an adjusting module 902, wherein:
[0081] The determination module 901 is used to determine the first brightness level drive signal in response to the acquisition of the first brightness level adjustment command;
[0082] The adjustment module 902 is used to determine the end of the current brightness level drive signal output, and output the first brightness level drive signal to adjust the screen brightness to the first brightness level, wherein the first brightness level drive signal has a first duty cycle, the current brightness level drive signal has a second duty cycle, and the first duty cycle is different from the second duty cycle.
[0083] In some embodiments, the adjustment module 902 includes: a first acquisition submodule, configured to acquire a feedback signal of the current brightness level drive signal, wherein the feedback signal has the same duty cycle as the current brightness level drive signal; and a first determination submodule, configured to determine that the current brightness level drive signal ends if a rising edge of the feedback signal is detected.
[0084] In some embodiments, the adjustment module 902 includes: a second acquisition submodule, configured to acquire a feedback signal of the current brightness level drive signal, the feedback signal being inversely related to the current brightness level drive signal; and a second determination submodule, configured to determine that the current brightness level drive signal has ended if a falling edge of the feedback signal is detected.
[0085] In some embodiments, the adjustment module 902 includes: a third determining submodule, configured to determine the brightness level difference between the current brightness level and the first brightness level; and an adjustment submodule, configured to adjust the brightness level driving signal between the current brightness level and the first brightness level step by step, wherein in each adjustment step, the output of the previous brightness level driving signal is determined to be finished, and the next brightness level driving signal is output, until the adjustment is to the first brightness level driving signal.
[0086] In some embodiments, the adjustment module 902 includes: a fourth determining submodule, configured to determine that the current brightness level driving signal has ended when a preset delay duration is reached; wherein the preset delay duration corresponds to the duration of one cycle of the brightness level driving signal.
[0087] In some embodiments, the device further includes a holding module, configured to maintain the second duty cycle to maintain the screen brightness when the first brightness level adjustment instruction is a brightness increase instruction and the current brightness level is the highest brightness, or when the first brightness level adjustment instruction is the brightness decrease instruction and the current brightness level is the lowest brightness.
[0088] The descriptions of the above device embodiments are similar to those of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0089] Figure 10This is a schematic diagram of the composition structure of an electronic device according to an embodiment of this application, as shown below. Figure 10 As shown, the device includes:
[0090] The first processor 1001 is used to output the first display signal;
[0091] The second processor 1002 is used to output the second display signal;
[0092] Selector 1003 is used to selectively output the first display signal or the second display signal;
[0093] The first controller 1004 is used to output a brightness control signal to control the brightness of the first display signal or the second display signal displayed on the screen;
[0094] The first controller 1004 determines the first brightness level drive signal in response to receiving the first brightness level adjustment command;
[0095] Once the output of the previous brightness level drive signal is determined to be finished, the first brightness level drive signal is output to adjust the screen brightness to the first brightness level. The first brightness level drive signal has a first duty cycle, and the previous brightness level drive signal has a second duty cycle. The first duty cycle and the second duty cycle are different.
[0096] Wherein, the first processor may be the built-in graphics card of a central processing unit (CPU), the second processor may be a graphics processing unit (GPU), and the first controller may be an EC.
[0097] In this embodiment, a selector selectively outputs the first display signal of the first processor and the second display signal of the second processor. The first controller outputs a brightness control signal to control the brightness of the first or second display signal displayed on the screen. By entrusting the screen brightness adjustment to the first controller, screen flickering or sudden brightening / dimening caused by the dynamic switching between the first and second processors is avoided. When the first controller receives a brightness level adjustment instruction and determines that the current brightness level drive signal output has ended, it outputs the first brightness level drive signal to adjust the screen brightness to the first brightness level. Since the first brightness level drive signal is not output before the current brightness level drive signal has ended, the superposition of the first duty cycle of the first brightness level drive signal and the second duty cycle of the current brightness level drive signal is not triggered, thus avoiding screen flickering caused by the superposition of duty cycles.
[0098] Correspondingly, embodiments of this application provide an electronic device, Figure 11This is a schematic diagram of a hardware entity of an electronic device according to an embodiment of this application, such as... Figure 11 As shown, the hardware entity of the device 1100 includes a memory 1101 and a processor 1102. The memory 1101 stores a computer program that can run on the processor 1102. When the processor 1102 executes the program, it implements the steps in the brightness adjustment method in the above embodiments.
[0099] The memory 1101 is configured to store instructions and applications executable by the processor 1102, and can also cache data to be processed or already processed by the processor 1102 and the various modules in the device 1100 (e.g., image data, audio data, voice communication data and video communication data), which can be implemented by flash memory or random access memory (RAM).
[0100] Correspondingly, embodiments of this application provide a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps in the brightness adjustment method provided in the above embodiments.
[0101] It should be noted that the descriptions of the storage medium and device embodiments above are similar to those of the method embodiments above, and have similar beneficial effects as the device embodiments. For technical details not disclosed in the storage medium and method embodiments of this application, please refer to the descriptions of the device embodiments of this application for understanding.
[0102] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0103] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0104] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0105] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this application may all be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the integrated unit may be implemented in hardware or in a combination of hardware and software functional units.
[0106] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks. Alternatively, if the integrated units of this application are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the related technology, can be embodied in the form of software products. These computer software products are stored in a storage medium and include several instructions to cause computer devices (which may be mobile phones, tablets, desktops, personal digital assistants, navigators, digital phones, video phones, televisions, sensing devices, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0107] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined to obtain new method embodiments without conflict. The features disclosed in the several product embodiments provided in this application can be arbitrarily combined to obtain new product embodiments without conflict. The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined to obtain new method embodiments or device embodiments without conflict.
[0108] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A brightness adjustment method, applied to a first controller, the method comprising: In response to receiving the first brightness level adjustment command, determine the first brightness level drive signal; Once the current brightness level drive signal output is determined to be finished, the first brightness level drive signal is output to adjust the screen brightness to the first brightness level. The first brightness level drive signal has a first duty cycle, and the current brightness level drive signal has a second duty cycle. The first duty cycle and the second duty cycle are different. The step of determining the end of the current brightness level drive signal output includes: Obtain a feedback signal of the current brightness level drive signal, the feedback signal having the same duty cycle as the current brightness level drive signal; if a rising edge of the feedback signal is detected, determine that the current brightness level drive signal has ended; or, Obtain a feedback signal of the current brightness level drive signal, the feedback signal being inversely related to the current brightness level drive signal; if a falling edge of the feedback signal is detected, determine that the current brightness level drive signal has ended; The period of the current brightness level drive signal is the duration from one rising edge to another.
2. A brightness adjustment method, applied to a first controller, the method comprising: In response to receiving the first brightness level adjustment command, determine the first brightness level drive signal; Once the current brightness level drive signal output is determined to be finished, the first brightness level drive signal is output to adjust the screen brightness to the first brightness level. The first brightness level drive signal has a first duty cycle, and the current brightness level drive signal has a second duty cycle. The first duty cycle and the second duty cycle are different. The step of determining the end of the current brightness level drive signal output includes: Obtain a feedback signal of the current brightness level drive signal, the feedback signal having the same duty cycle as the current brightness level drive signal; if a falling edge of the feedback signal is detected, determine that the current brightness level drive signal has ended; or, Obtain a feedback signal of the current brightness level drive signal, the feedback signal being inversely related to the current brightness level drive signal; if a rising edge of the feedback signal is detected, determine that the current brightness level drive signal has ended; The period of the current brightness level drive signal is the duration from one falling edge to another.
3. The method according to claim 1 or 2, wherein, The step of outputting the first brightness level drive signal to adjust the screen brightness to the first brightness level includes: Determine the brightness level difference between the current brightness level and the first brightness level; The brightness level drive signal is adjusted step by step from the current brightness level to the first brightness level. During each adjustment, the output of the previous brightness level drive signal is determined to be finished, and the next brightness level drive signal is output until the adjustment reaches the first brightness level drive signal.
4. The method according to claim 1 or 2, wherein determining the end of the current brightness level drive signal output includes: If the preset delay duration is reached, the current brightness level driving signal is determined to have ended; The preset delay duration corresponds to the duration of one cycle of the brightness level drive signal.
5. The method according to claim 1 or 2, wherein, The method further includes: When the first brightness level adjustment command is a brightness increase command and the current brightness level is the highest brightness, or when the first brightness level adjustment command is a brightness decrease command and the current brightness level is the lowest brightness. Maintain the second duty cycle to keep the screen brightness.
6. A brightness adjustment device, the device comprising: The determination module is used to determine the first brightness level drive signal in response to the acquisition of the first brightness level adjustment command; An adjustment module is used to determine when the current brightness level drive signal output ends, and output the first brightness level drive signal to adjust the screen brightness to the first brightness level, wherein the first brightness level drive signal has a first duty cycle, the current brightness level drive signal has a second duty cycle, and the first duty cycle is different from the second duty cycle; The adjustment module includes: a first acquisition submodule, configured to acquire a feedback signal of the current brightness level drive signal, wherein the feedback signal has the same duty cycle as the current brightness level drive signal; and a first determination submodule, configured to determine that the current brightness level drive signal ends if a rising edge of the feedback signal is detected. The adjustment module further includes: a second acquisition submodule, configured to acquire a feedback signal of the current brightness level driving signal, wherein the feedback signal is inversely related to the current brightness level driving signal; and a second determination submodule, configured to determine that the current brightness level driving signal ends if a falling edge of the feedback signal is detected. The period of the current brightness level drive signal is the duration from one rising edge to another.
7. A brightness adjustment device, the device comprising: The determination module is used to determine the first brightness level drive signal in response to the acquisition of the first brightness level adjustment command; An adjustment module is used to determine when the current brightness level drive signal output ends, and output the first brightness level drive signal to adjust the screen brightness to the first brightness level, wherein the first brightness level drive signal has a first duty cycle, the current brightness level drive signal has a second duty cycle, and the first duty cycle is different from the second duty cycle; The adjustment module is further configured to acquire a feedback signal of the current brightness level drive signal, wherein the feedback signal has the same duty cycle as the current brightness level drive signal; if a falling edge of the feedback signal is detected, it is determined that the current brightness level drive signal has ended. Alternatively, obtain a feedback signal of the current brightness level drive signal, wherein the feedback signal is inversely related to the current brightness level drive signal; If a rising edge of the feedback signal is detected, the current brightness level drive signal is determined to have ended; the period of the current brightness level drive signal is the duration from one falling edge to another.
8. An electronic device, comprising: A first processor is used to output a first display signal; The second processor is used to output the second display signal; A selector is used to selectively output either the first display signal or the second display signal; The first controller is used to output a brightness control signal to control the brightness of the first display signal or the second display signal displayed on the screen; The first controller, in response to receiving the first brightness level adjustment command, determines the first brightness level drive signal; Once the output of the previous brightness level drive signal is determined to be finished, the first brightness level drive signal is output to adjust the screen brightness to the first brightness level. The first brightness level drive signal has a first duty cycle, and the previous brightness level drive signal has a second duty cycle. The first duty cycle and the second duty cycle are different. The first controller is further configured to acquire a feedback signal of the current brightness level drive signal, the feedback signal having the same duty cycle as the current brightness level drive signal; if a rising edge of the feedback signal is detected, determine that the current brightness level drive signal has ended; or, acquire a feedback signal of the current brightness level drive signal, the feedback signal being in the opposite direction to the current brightness level drive signal; if a falling edge of the feedback signal is detected, determine that the current brightness level drive signal has ended; the period of the current brightness level drive signal is the duration from one rising edge to another.
9. An electronic device, comprising: A first processor is used to output a first display signal; The second processor is used to output the second display signal; A selector is used to selectively output either the first display signal or the second display signal; The first controller is used to output a brightness control signal to control the brightness of the first display signal or the second display signal displayed on the screen; The first controller, in response to receiving the first brightness level adjustment command, determines the first brightness level drive signal; Once the output of the previous brightness level drive signal is determined to be finished, the first brightness level drive signal is output to adjust the screen brightness to the first brightness level. The first brightness level drive signal has a first duty cycle, and the previous brightness level drive signal has a second duty cycle. The first duty cycle and the second duty cycle are different. The first controller is further configured to acquire a feedback signal of the current brightness level drive signal, the feedback signal having the same duty cycle as the current brightness level drive signal; if a falling edge of the feedback signal is detected, determine that the current brightness level drive signal has ended; or, acquire a feedback signal of the current brightness level drive signal, the feedback signal being in the opposite direction to the current brightness level drive signal; if a rising edge of the feedback signal is detected, determine that the current brightness level drive signal has ended; the period of the current brightness level drive signal is the duration from one falling edge to another.
Citation Information
Patent Citations
Display driving method and device, and display device
CN105139810A
Screen luminance adjusting method and device
CN108922495A
Screen brightness adjusting method and device
CN112019680A