Brightness adjusting method and related device
By issuing a transient display brightness value when switching between refresh rate or dimming mode in electronic devices, the problem of display brightness jump is solved, improving user experience and brightness stability.
Patent Information
- Application Number
- CN202410048280.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-11
- Publication Date
- 2025-01-07
AI Technical Summary
When electronic devices switch between refresh rate or dimming mode, the display screen is prone to brightness jump, resulting in poor user experience.
By sending the transient display brightness value corresponding to one or more frames during refresh rate switching or dimming mode switching, the brightness of the image is adjusted to reduce the brightness changes caused by period duration changes or transistor hysteresis effects, frame by frame or multiple frames of the image. The transient display brightness value gradually approaches the initial brightness value, reducing the sudden change in brightness.
It effectively reduces the brightness flicker and jitter of the display screen, improves the user experience, and ensures the smoothness and stability of brightness changes.
Smart Images

Figure CN119274457A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a brightness adjustment method and related devices. Background Art
[0002] Currently, users can access various types of content through the display screens of electronic devices.
[0003] However, during the use of electronic devices, the display screen may experience brightness jumps, resulting in a poor user experience. Summary of the Invention
[0004] The embodiments of the present application provide a brightness adjustment method and related devices, which are applied to the field of terminal technology. When the refresh rate is switched or the dimming mode is switched, a transient display brightness value corresponding to one or more frames is sent down to adjust the brightness of one or more frames of images, so as to reduce the brightness change caused by the change in cycle length, or the jump brightness caused by the hysteresis effect of the transistor, and reduce the flickering and jitter of the display brightness. When an electronic device displays one or more frames of jumping images, the brightness corresponding to the transient display brightness value is superimposed on the jump brightness caused by the hysteresis effect of the transistor, which can reduce the brightness jump phenomenon of the electronic device or even eliminate the phenomenon.
[0005] In the first aspect, an embodiment of the present application proposes a brightness adjustment method. The method includes: displaying the Nth frame image at a first refresh rate and a first display brightness value; in response to a first event of switching the first refresh rate to a second refresh rate, sending one or more transient display brightness values from the N+1th frame to the N+M-1th frame, until the first display brightness value is sent in the N+Mth frame; N is an integer, and M is an integer greater than 1; when the first refresh rate is less than the second refresh rate, one or more transient display brightness values are less than the first display brightness value; or, when the first refresh rate is greater than the second refresh rate, one or more transient display brightness values are greater than the first display brightness value. In this way, during the refresh rate switching, the electronic device uses the transient display brightness values corresponding to one or more frames of images to mitigate the brightness jump caused by the change in cycle duration, extend the brightness change time, smooth the brightness change, and improve the user experience.
[0006] In a possible implementation, in response to the first event, one or more transient display brightness values are sent from the N+1th frame to the N+M-1th frame until the first display brightness value is sent in the N+Mth frame, including: in response to the first event, the transient display brightness values are sent frame by frame from the N+1th frame to the N+M-1th frame until the first display brightness value is sent in the N+Mth frame; and from the N+1th frame to the N+M-1th frame, the changing trend of the transient display brightness values of each frame is close to the first display brightness value.
[0007] In this way, each frame has a corresponding transient display brightness value, and the brightness of each frame is different, which can improve the improvement effect of the display brightness jump. In addition, the transient display brightness value gradually approaches the first display brightness value, which conforms to the law of gradual increase or decrease in brightness, further reducing sudden brightness changes and improving the user experience.
[0008] In a possible implementation, M is 4; in response to the first event, starting from the N+1th frame to the N+M-1th frame, a transient display brightness value is issued until the first display brightness value is issued in the N+Mth frame, including: in response to the first event, issuing the first transient display brightness value in the N+1th frame; issuing the second transient display brightness value in the N+2th frame; issuing the third transient display brightness value in the N+3th frame; and issuing the first display brightness value in the N+4th frame; wherein, when the first refresh rate is less than the second refresh rate, the first transient display brightness value is less than the second transient display brightness value; the second transient display brightness value is less than the third transient display brightness value; and the third transient display brightness value is less than the first display brightness value; when the first refresh rate is greater than the second refresh rate, the first transient display brightness value is greater than the second transient display brightness value; the second transient display brightness value is greater than the third transient display brightness value; and the third transient display brightness value is greater than the first display brightness value.
[0009] In this way, the brightness change caused by the refresh rate switching can be adjusted through the transient display brightness values corresponding to the three frames.
[0010] In one possible implementation, the transient display brightness value is obtained through a pre-stored first correspondence, where the first correspondence is the display brightness value, the first type frame number, and the transient display brightness value corresponding to each frame, and the first type frame number is used to indicate the i-th frame after the N-th frame.
[0011] In this way, the transient display brightness value can be directly called and confirmed from the pre-stored correspondence, which can save the adjustment time of each frame from the N+1th frame to the N+M-1th frame, and reduce the frame freeze caused by the failure to confirm the transient display brightness value.
[0012] In one possible implementation, obtaining a first event for switching a first refresh rate to a second refresh rate includes: a display driver obtaining a first event transmitted by an image synthesis system; and in response to the first event, sending one or more transient display brightness values from the N+1th frame to the N+M-1th frame until the first display brightness value is sent in the N+Mth frame, including: the display driver sending, in response to the first event, one or more transient display brightness values to the display screen from the N+1th frame to the N+M-1th frame until the first display brightness value is sent to the display screen in the N+Mth frame.
[0013] In this way, the adjustment of the transient display brightness value is achieved through the display driver.
[0014] In one possible implementation, obtaining a first event for switching the first refresh rate to the second refresh rate includes: obtaining the first event in response to a sliding operation; or obtaining the first event in response to an event used to indicate the end of sliding; or obtaining the first event in response to an application switching operation, running the second application in the foreground and running or closing the first application in the background, and the refresh rate corresponding to the second application is the second refresh rate, and the refresh rate corresponding to the first application is the first refresh rate; or obtaining the first event in response to a barrage opening operation; or obtaining the first event in response to a barrage clearing operation.
[0015] It can be applied to various refresh rate switching scenarios, with a wide range of applications and high universality.
[0016] In one possible implementation, the method further includes: obtaining a second event, where the second event is used to indicate that the first display brightness value is updated to a second display brightness value; in response to the second event, updating the transient display brightness value between the N+i frame and the N+M-1 frame according to the second display brightness value to obtain one or more updated transient display brightness values; issuing the one or more updated transient display brightness values until the second display brightness value is issued in the N+M frame; when the first refresh rate is less than the second refresh rate, the one or more updated transient display brightness values are less than the second display brightness value; or, when the first refresh rate is greater than the second refresh rate, the one or more updated transient display brightness values are greater than the second display brightness value.
[0017] The second event may be a brightness update event. The second event may be an event generated based on a change in ambient light, an event generated based on a user adjusting the brightness of the display screen, or any event that performs a brightness update.
[0018] In this way, during the refresh rate switching process, a brightness update event is detected, and the Shutai display brightness value is confirmed based on the updated display brightness value to meet the brightness update requirement.
[0019] In one possible implementation, the method further includes: displaying the Ath frame image at a third display brightness value, the third display brightness value corresponding to the first dimming mode; obtaining a third event for switching the third display brightness value to a fourth display brightness value; the fourth display brightness value corresponds to the second dimming mode; in response to the third event, issuing one or more transient display brightness values from the A+1th frame to the A+B-1th frame until the fourth display brightness value is issued in the A+Bth frame; wherein A is an integer and B is an integer greater than 1, and from the A+1th frame to the A+B-1th frame, the one or more transient display brightness values after the third event are all between a brightness threshold and a fourth display brightness value, and the brightness threshold is used to determine the dimming mode; wherein the third display brightness value is greater than the brightness threshold, and the fourth display brightness value is less than the brightness threshold; or, the third display brightness value is less than the brightness threshold, and the fourth display brightness value is greater than the brightness threshold.
[0020] In this way, when the dimming mode is switched, the brightness jump caused by the mode switching can be eliminated by the transient display brightness value corresponding to one or more frames, thereby reducing the flickering and jitter of the display brightness.
[0021] In one possible implementation, in response to the third event, one or more transient display brightness values are sent from the A+1th frame to the A+B-1th frame until the fourth display brightness value is sent in the A+Bth frame, including: in response to the third event, the transient display brightness value is sent frame by frame from the A+1th frame to the A+B-1th frame until the fourth display brightness value is sent in the A+Bth frame.
[0022] In this way, by sending the transient display brightness value frame by frame, the brightness jump caused by mode switching can be eliminated in more detail, the flicker and jitter of the display brightness can be reduced, and the user experience can be improved.
[0023] In one possible implementation, from the A+1 frame to the A+B-1 frame, the transient display brightness value of each frame is determined based on a second corresponding relationship, where the second corresponding relationship is the relationship between the second type frame number and the transient display brightness value, and the second type frame number is used to indicate the i-th frame after the A-th frame.
[0024] In this way, the transient display brightness value can be directly called and confirmed from the pre-stored correspondence, which can save the adjustment time for each frame from the A+1 frame to the A+B-1 frame, and reduce the frame freeze caused by the failure to confirm the transient display brightness value.
[0025] In one possible implementation, B is 2; in response to the third event, one or more transient display brightness values are issued from the A+1 frame to the A+B-1 frame until the fourth display brightness value is issued in the A+B frame, including: in response to the third event, issuing a transient display brightness value of one in the A+1 frame, where the transient display brightness value of one is between the brightness threshold and the fourth display brightness value.
[0026] In this way, the brightness jump caused by mode switching is eliminated by using the transient display brightness value corresponding to one frame, thereby reducing the flickering and jitter of the display brightness.
[0027] In one possible implementation, the transient display brightness value is obtained by calculating the actual brightness of the display screen and the ideal brightness of the display screen when the third event occurs in an electronic device with the same specifications. The ideal brightness of the display screen is the brightness of the display screen that triggers the display screen in the electronic device with the same specifications to execute the fourth display brightness value; the actual brightness of the display screen is the actual brightness value of the frame after the display dimming mode of the electronic device with the same specifications is switched; the transient display brightness value after the third event is negatively correlated with the actual brightness value of the display screen.
[0028] In this way, based on the ideal display brightness and actual display brightness of an electronic device of the same specifications and type using the original display brightness value when the dimming mode is switched, the instantaneous display brightness value is adjusted and confirmed using the actual display brightness. When the actual display brightness is higher, the instantaneous display brightness value is smaller; when the actual display brightness is lower, the instantaneous display brightness value is higher.
[0029] In one possible implementation, from the A+1 frame to the A+B-1 frame, the display brightness indicated by one or more transient display brightness values after the third event is negatively correlated with the difference in display jump brightness; the display jump brightness is the difference between the actual display brightness and the ideal display brightness.
[0030] In this way, the transient display brightness value is obtained based on the difference between the ideal brightness of the electronic display screen and the display screen transition brightness. Therefore, the difference between the ideal brightness of the display screen and the obtained transient display brightness value indicates a display screen brightness that is close to the display screen transition brightness.
[0031] In a possible implementation, the transient display brightness value after the third event satisfies: Among them, DBV transient is the transient display brightness value after the third event; DBV steady state is the fourth display brightness value; LDC is the ideal brightness of the display; L transient is the actual brightness value of the display.
[0032] In this way, by obtaining a transient display brightness value based on the ideal display brightness and actual display brightness of an electronic device of the same specifications and type when the dimming mode is switched using the original display brightness value, the difference between the ideal display brightness and the display brightness indicated by the obtained transient display brightness value can be made closer to the display transition brightness, thereby reducing the brightness transition of the display.
[0033] In one possible implementation, the second correspondence includes: multiple first-category transient display brightness values and at least one second-category transient display brightness value; the first-category transient display brightness value is obtained by calculating the actual brightness of the display screen and the ideal brightness of the display screen when the third event occurs on the second electronic device; the display screen brightness indicated by the second-category transient display brightness value is obtained by interpolation calculation of two adjacent adjusted brightnesses; the adjacent adjusted brightness refers to the display screen brightness indicated by the first-category transient display brightness value corresponding to the frame adjacent to the current frame among the multiple first-category transient display brightness values.
[0034] In this way, some transient display brightness values are obtained based on measured data, while the remaining transient display brightness values are obtained based on interpolation operations. This can avoid obtaining too much data and increasing the amount of calculation. It can also speed up the acquisition time of each frame of transient display brightness values and reduce the difficulty of acquisition.
[0035] In one possible implementation, the display is refreshed at a third refresh rate from frame A to frame A+B; the second correspondence is one of multiple sets of pre-stored second correspondences, and the multiple sets of second correspondences correspond one-to-one to multiple refresh rates supported by the display screen.
[0036] In this way, taking into account the switching between multiple refresh rates, the transient display brightness value corresponding to each refresh rate is provided to reduce the flickering and jitter of the display brightness.
[0037] In a possible implementation, obtaining the third event of switching the third display brightness value to the fourth display brightness value includes: obtaining the third event in response to a fingerprint unlocking operation; or obtaining the third event in response to a brightness adjustment operation.
[0038] In one possible implementation, the method also includes: displaying the Cth frame image with a fifth display brightness value, the fifth display brightness value corresponding to the first state of the third dimming mode; obtaining a fourth event that switches the first state to the second state of the third dimming mode; the first state and the second state are different; in response to the fourth event, from the C+1th frame to the C+D-1th frame, one or more transient display brightness values are issued until the fifth display brightness value is issued in the C+Dth frame; wherein C is an integer and D is an integer greater than 1; when the number of pulses corresponding to the first state is less than the number of pulses corresponding to the second state, one or more transient display brightness values after the fourth event are all less than the fifth display brightness value; or, when the number of pulses corresponding to the first state is greater than the number of pulses corresponding to the second state, one or more transient display brightness values after the fourth event are all greater than the fifth display brightness value.
[0039] In this way, the brightness jump caused by switching between different states in the same dimming mode can be reduced, and the flickering and jitter of the display brightness can be reduced.
[0040] In a second aspect, embodiments of the present application provide a brightness adjustment device, which may be an electronic device or a chip or chip system within an electronic device. The brightness adjustment device may include a display unit and a processing unit. When the brightness adjustment device is an electronic device, the display unit may be a display screen. The display unit is configured to perform the display step, so that the electronic device implements a brightness adjustment method described in the first aspect or any possible implementation of the first aspect. When the brightness adjustment device is an electronic device, the processing unit may be a processor. The brightness adjustment device may also include a storage unit, which may be a memory. The storage unit is configured to store instructions, and the processing unit executes the instructions stored in the storage unit, so that the electronic device implements a brightness adjustment method described in the first aspect or any possible implementation of the first aspect. When the brightness adjustment device is a chip or chip system within an electronic device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit, so that the electronic device implements a brightness adjustment method described in the first aspect or any possible implementation of the first aspect. The storage unit may be a storage unit within the chip (eg, a register, a cache, etc.), or a storage unit within the electronic device that is located outside the chip (eg, a read-only memory, a random access memory, etc.).
[0041] Exemplarily, a display unit is used to display the Nth frame image at a first refresh rate and a first display brightness value; a processing unit is used to obtain a first event for switching the first refresh rate to a second refresh rate; the processing unit is further used to, in response to the first event, send one or more transient display brightness values from the N+1th frame to the N+M-1th frame until the first display brightness value is sent at the N+Mth frame; wherein N is an integer and M is an integer greater than 1; when the first refresh rate is less than the second refresh rate, the one or more transient display brightness values are all less than the first display brightness value; or, when the first refresh rate is greater than the second refresh rate, the one or more transient display brightness values are all greater than the first display brightness value
[0042] In a possible implementation, the processing unit is specifically configured to: from the N+1th frame to the N+M-1th frame, change trend of the transient display brightness value of each frame is close to the first display brightness value.
[0043] In one possible implementation, the display unit is further used to display the Ath frame image at a third display brightness value, where the third display brightness value corresponds to the first dimming mode; the processing unit is further used to obtain a third event for switching the third display brightness value to a fourth display brightness value; the fourth display brightness value corresponds to the second dimming mode; the processing unit is further used to, in response to the third event, send one or more transient display brightness values from the A+1th frame to the A+B-1th frame until the fourth display brightness value is sent in the A+Bth frame; wherein A is an integer, B is an integer greater than 1, and from the A+1th frame to the A+B-1th frame, the one or more transient display brightness values after the third event are all between a brightness threshold and a fourth display brightness value, and the brightness threshold is used to determine the dimming mode; wherein the third display brightness value is greater than the brightness threshold, and the fourth display brightness value is less than the brightness threshold; or, the third display brightness value is less than the brightness threshold, and the fourth display brightness value is greater than the brightness threshold.
[0044] In one possible implementation, the display unit is further used to display the C-th frame image with a fifth display brightness value, which corresponds to the first state of the third dimming mode; the processing unit is further used to obtain a fourth event that switches the first state to the second state of the third dimming mode; the first state and the second state are different; the processing unit is further used to respond to the fourth event, starting from the C+1-th frame to the C+D-1-th frame, to issue one or more transient display brightness values until the fifth display brightness value is issued in the C+D-th frame; wherein C is an integer and D is an integer greater than 1; when the number of pulses corresponding to the first state is less than the number of pulses corresponding to the second state, one or more transient display brightness values after the fourth event are all less than the fifth display brightness value; or, when the number of pulses corresponding to the first state is greater than the number of pulses corresponding to the second state, one or more transient display brightness values after the fourth event are all greater than the fifth display brightness value.
[0045] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory is used to store code instructions, and the processor is used to run the code instructions to execute the method described in the first aspect or any possible implementation of the first aspect.
[0046] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is run on a computer, the computer executes the method described in the first aspect or any possible implementation of the first aspect.
[0047] In a fifth aspect, an embodiment of the present application provides a computer program product comprising a computer program, which, when the computer program runs on a computer, enables the computer to execute the method described in the first aspect or any possible implementation of the first aspect.
[0048] In a sixth aspect, the present application provides a chip or chip system, comprising at least one processor and a communication interface, wherein the communication interface and the at least one processor are interconnected via a line, and the at least one processor is configured to execute a computer program or instruction to perform the method described in the first aspect or any possible implementation of the first aspect. The communication interface in the chip may be an input / output interface, a pin, or a circuit.
[0049] In one possible implementation, the chip or chip system described above in this application further includes at least one memory, in which instructions are stored. The memory may be a storage unit within the chip, such as a register, a cache, etc., or a storage unit of the chip (e.g., a read-only memory, a random access memory, etc.).
[0050] It should be understood that the second to sixth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A schematic diagram of brightness changes of an electronic device when the refresh rate is switched in a possible design;
[0052] Figure 2 A schematic structural diagram of a pixel circuit provided in an embodiment of the present application;
[0053] Figure 3 The brightness change of the electronic device when a dimming mode is switched in a possible design;
[0054] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0055] Figure 5 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;
[0056] Figure 6 A schematic diagram of a refresh rate switching scenario provided in an embodiment of the present application;
[0057] Figure 7 A schematic diagram of another refresh rate switching scenario provided in an embodiment of the present application;
[0058] Figure 8 A schematic flow chart of a brightness adjustment method corresponding to a refresh rate switching provided in an embodiment of the present application;
[0059] Figure 9 A flowchart of a brightness adjustment method in a refresh rate switching scenario provided by an embodiment of the present application;
[0060] Figure 10 A schematic diagram of brightness changes of an electronic device provided in an embodiment of the present application;
[0061] Figure 11 A schematic diagram of brightness changes of an electronic device provided in an embodiment of the present application;
[0062] Figure 12A A schematic diagram of a dimming mode switching scenario provided in an embodiment of the present application;
[0063] Figure 12B A schematic diagram of another dimming mode switching scenario provided in an embodiment of the present application;
[0064] Figure 13 A schematic diagram of another dimming mode switching scenario provided in an embodiment of the present application;
[0065] Figure 14 A schematic diagram of a flow chart of a brightness adjustment method corresponding to dimming mode switching provided in an embodiment of the present application;
[0066] Figure 15 A flowchart of a brightness adjustment method in a dimming mode switching scenario provided by an embodiment of the present application;
[0067] Figure 16 A schematic diagram of a dimming mode switching scenario provided in an embodiment of the present application;
[0068] Figure 17 A schematic diagram of brightness changes when switching between dimming states in a possible dimming mode;
[0069] Figure 18A A schematic diagram of a process for adjusting brightness according to an embodiment of the present invention;
[0070] Figure 18B A schematic diagram of brightness changes during state switching in a dimming mode provided in an embodiment of the present application;
[0071] Figure 19 A schematic flow chart of a brightness adjustment method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0072] To facilitate a clear description of the technical solutions of the embodiments of the present application, some of the terms and technologies involved in the embodiments of the present application are briefly introduced below:
[0073] 1. Display brightness value (DBV): Used to adjust the display brightness of the display. The display brightness value may also be referred to as the display brightness level, brightness level, etc., without specific limitation here. In the embodiments of this application, the larger the display brightness value, the higher the brightness of the display.
[0074] 2. Screen refresh rate: This refers to the number of frames that refresh an image in one second. It can also be understood as the number of times the screen refreshes per second. A high screen refresh rate produces smoother and more realistic animations. The higher the refresh rate per second, the smoother the displayed motion. Screen refresh rate can also be simply referred to as refresh rate.
[0075] For example, taking a screen refresh rate of 120 Hz as an example, the display screen refreshes 120 frames of images per second and outputs 120 pictures per second.
[0076] It should be noted that, because different refresh rates correspond to different cycle lengths, at the same DBV, the brightness of the display screen corresponding to different refresh rates is different. For details, please refer to the corresponding instructions below and will not be repeated here.
[0077] 3. Duty cycle: refers to the ratio of the time occupied by the pulse to the total time during a period of continuous working time.
[0078] 4. Pulse width modulation (PWM) mode: This is a dimming mode that adjusts the brightness of the display screen by changing the duty cycle of the PWM signal that drives the display screen.
[0079] It should be noted that the PWM mode uses a brightness control (EM, emission) signal in the form of PWM to control the display screen, and brightness adjustment is achieved by adjusting the duty cycle of the EM signal.
[0080] It should be noted that in PWM mode, the display screen is lit at a high level of the EM signal and turned off at a low level of the EM signal. Therefore, the display screen will flicker under the drive of the EM signal. By controlling the frequency of the EM signal, the alternating speed of lighting and off can be changed. As long as the alternating speed of lighting and off is fast enough, the human eye's residual vision will find it difficult to perceive this process, and the human eye will think that the display screen is always on.
[0081] 5. Direct current (DC): A dimming mode that adjusts the brightness of the display screen by changing the current or voltage of the display screen.
[0082] In the embodiment of the present application, the electronic device can switch the display screen from PWM mode to DC mode, or from DC mode to PWM mode. PWM mode is usually used when the brightness level is relatively low. DC mode is usually used when the brightness level is relatively high.
[0083] 6. Other terms
[0084] In the embodiments of this application, terms such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the terms "first chip" and "second chip" are used solely to distinguish between different chips and do not define their order. Those skilled in the art will understand that terms such as "first" and "second" do not define the quantity or execution order, and do not necessarily define differences.
[0085] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0086] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.
[0087] 7. Electronic devices
[0088] The electronic devices of the embodiments of the present application may include handheld devices with display functions, vehicle-mounted devices, etc. For example, some electronic devices are: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices (e.g., smart watches, smart glasses, smart bracelets or smart jewelry, etc.), virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), and so on. assistant, PDA), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, vehicle-mounted devices, terminal devices in a 5G network, or terminal devices in a future evolved public land mobile communication network (public land mobile network, PLMN), etc., the embodiments of the present application are not limited to this.
[0089] In addition, in the embodiments of the present application, the electronic device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection.
[0090] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
[0091] In the embodiments of the present application, the electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also known as main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
[0092] Currently, users can view various types of content through the display screen of an electronic device. After receiving a user operation (eg, a click operation, a slide operation, etc.), the electronic device can update the content displayed on the display screen.
[0093] However, during the use of electronic devices, the display screen may experience brightness jumps, resulting in a poor user experience.
[0094] In possible scenario one, when the electronic device switches the refresh rate, the brightness of the display screen jumps.
[0095] For example, Figure 1 The following is a schematic diagram of the brightness change of an electronic device when the refresh rate is switched in a possible design. Take the switch from 120Hz to 60Hz as an example. Figure 1 As shown, when the electronic device displays the Nth frame at a refresh rate of 120Hz, the brightness of the display is 75 nits. When the electronic device detects a sliding operation, the electronic device switches the refresh rate from 120Hz to 60Hz. When the electronic device displays the N+1th frame at a refresh rate of 60Hz, the brightness of the display is 80nit.
[0096] from Figure 1 It can be seen that when the refresh rate switches from high to low, the brightness of the electronic device will suddenly increase, resulting in a poor user experience.
[0097] For ease of understanding, the following describes the principle of brightness change of the display screen when the refresh rate is switched in conjunction with the pixel circuit in the display screen. Figure 2 This is a schematic diagram of the structure of a pixel circuit provided in an embodiment of the present application. Figure 2As shown, the pixel circuit includes multiple thin film transistors (TFTs), a capacitor C1, and a light-emitting element. The light-emitting element may include an organic light-emitting diode (OLED). In the embodiments of the present application, the thin film transistor may be simply referred to as a transistor or a TFT transistor.
[0098] The plurality of thin-film transistors may include: transistor T1, transistor T2, transistor T3, transistor T4, transistor T5, transistor T6, transistor T7, and transistor T8. Transistor T3 is a driving thin-film transistor (DTFT) that drives the light-emitting element to emit light. Transistor T2 is a compensation transistor that controls the charging of capacitor C1 and the conduction of transistor T3. Transistors T1 and T2 may include oxide transistors. The other transistors may include transistors using low-temperature polysilicon (LTPS) technology.
[0099] like Figure 2 As shown, transistor T1 is connected to a first node N1 and is configured to apply a first initialization voltage to the first node N1 in response to a first reset signal. The first reset signal may be referred to as ResetN. The first initialization voltage may be referred to as Vinit1. Capacitor C1 has one end connected to the first node N1 and the other end connected to a positive power supply VDD. The first node N1 may be referred to as an N1 node or point N1.
[0100] Transistor T5 is connected to the positive power supply VDD and a second node N2 and is configured to apply a first power supply voltage from the positive power supply VDD to the second node N2 in response to a light emission control signal. The light emission control signal may be referred to as EM. The second node N2 may be referred to as the N2 node or the N2 point. Transistor T3 is connected to the first node N1, the second node N2, and the third node N3 and is configured to output current to the third node N3 under the control of the first node N1. The third node N3 may be referred to as the N3 node or the N3 point.
[0101] Transistor T2 is connected to the first node N1 and the third node N3 and is configured to conduct electricity between the third node N3 and the first node N1 in response to a first scan signal. The first scan signal may be referred to as GateN. Transistor T6 is connected to the third node N3 and the fourth node N4 and is configured to conduct electricity between the third node N3 and the fourth node N4 in response to a light emitting control signal.
[0102] The light-emitting element has one end connected to the fourth node N4 and the other end connected to the negative power supply electrode VSS to apply a second power supply voltage to the negative power supply electrode VSS. A transistor T7 is connected to the fourth node N4 and is configured to apply a second initialization voltage to the fourth node N4 in response to a second reset signal. The second reset signal may be referred to as ResetP. The second initialization voltage may be referred to as Vinit2.
[0103] Transistor T4 is connected to the second node N2 and is configured to apply a data voltage to the second node N2 in response to a second scan signal. The second scan signal may be referred to as GateP. The data voltage may be referred to as Vdata. Transistor T8 is connected to the second node N2 and is configured to apply a third initialization voltage to the second node N2 in response to a second reset signal. The third initialization voltage may be referred to as Vinit3.
[0104] In the embodiment of the present application, the "on" state of a transistor refers to a state in which the source and drain of the transistor are electrically connected. The "off" state of a transistor refers to a state in which the source and drain of the transistor are electrically disconnected. It is understandable that when a transistor is off, leakage current may still exist. The on-conditions for transistors T1 and T2 are: Vgs>Vth. The on-conditions for the remaining transistors (for example, T3-T8) are: Vgs<Vth. The high level in the embodiment of the present application can satisfy the on-conditions for transistors T1 and T2, and the low level in the embodiment of the present application can satisfy the on-conditions for the remaining transistors (for example, T3-T8). When transistor T4 is turned on and loads the data voltage to the second node N2, it can be referred to as transistor T4 being enabled. When transistor T4 is not turned on or is in the off state and no data voltage is loaded to the second node N2, it can be referred to as transistor T4 being disabled. When transistor T2 is turned on, it can be referred to as transistor T2 being enabled. When the transistor T2 is not conducting or is in the off state, the transistor T2 can be referred to as being disabled. When the transistor T1 is conducting, the transistor T1 can be referred to as being enabled. When the transistor T1 is not conducting or is in the off state, the transistor T1 can be referred to as being disabled.
[0105] When an electronic device refreshes an image frame for display on a display panel, it can drive and control the pixel circuits using either a row drive mode or a column drive mode. The principles of both modes are similar. The following uses the example of an electronic device driving and controlling the pixel circuits using a row drive mode as an example.
[0106] It should be noted that Figure 2 In the circuit shown, when the electronic device refreshes an image frame, if transistors T1, T4, and T2 are enabled, capacitor C1 is charged. If transistors T1, T4, and T2 are disabled, the potential of capacitor C1 maintains the gate voltage of transistor T3, or the potential of capacitor C1 is in a discharged state rather than being charged.
[0107] When the light-emitting element emits light, transistor T3 divides the voltage, controlling the brightness of the light-emitting element. The voltage division of transistor T3 is affected by the gate voltage of transistor T3, namely the voltage of N1. For example, the greater the gate-source voltage difference of transistor T3, the smaller the current flowing through transistor T3. When the light-emitting element is connected in series with transistor T3, the current flowing through the light-emitting element also decreases, resulting in a lower brightness of the light-emitting element and, consequently, a lower brightness of the display.
[0108] In an embodiment of the present application, the refresh rate can be equal to the number of times transistors T1, T4, and T2 are enabled in one second when the electronic device refreshes the displayed image. The higher the refresh rate, the more times transistors T1, T4, and T2 are enabled, and the shorter the interval between two enables. Therefore, in the same time period, the number of times transistors T1, T4, and T2 are enabled corresponding to a high refresh rate is greater than the number of times transistors T1, T4, and T2 are enabled corresponding to a low refresh rate.
[0109] Taking 120Hz as an example, transistors T1, T4, and T2 are enabled 120 times, or Vdata is written to point N1 at a frequency of 120Hz. Taking 60Hz as an example, transistors T1, T4, and T2 are enabled 60 times, or Vdata is written to point N1 at a frequency of 60Hz. The interval between enabling is relatively long.
[0110] At a high refresh rate (e.g., 120Hz), capacitor C1 is charged more often. Furthermore, the amount of charge capacitor C1 receives when transistors T1, T4, and T2 are enabled shortens the time it provides gate voltage to transistor T3 during image display. When the light-emitting element is emitting light, the current flowing through transistor T3 is low. Since the light-emitting element is connected in series with transistor T3, the current flowing through the light-emitting element is low, resulting in low brightness for the light-emitting element and, consequently, low brightness for the display screen.
[0111] When the refresh rate is low (for example, 60Hz), capacitor C1 is charged less times. The amount of charge of capacitor C1 when transistors T1, T4 and T2 are enabled provides a longer time for transistor T3 to provide gate voltage when the image is displayed. Capacitor C1 is always in a state of discharging and not being charged. The potential of point N1 decreases as capacitor C1 discharges. When the light-emitting element emits light, the gate voltage of transistor T3 will become lower and lower, and the gate-source voltage difference of transistor T3 will become smaller and smaller. When the light-emitting element emits light, the current flowing through transistor T3 becomes larger and larger. The light-emitting element is connected in series with transistor T3, and the current flowing through the light-emitting element also becomes larger and larger, making the brightness of the light-emitting element higher and higher, and the brightness of the display screen is high. Therefore, at the same display brightness value, the higher the refresh rate, the higher the brightness of the display screen. In a possible design, due to the display characteristics of the pixel circuit, when the refresh rate is switched, the user may feel the brightness of the display screen jump.
[0112] In possible scenario two, when the electronic device switches the dimming mode, the brightness of the display screen jumps.
[0113] It should be noted that electronic devices typically use PWM dimming when the brightness is low, and DC dimming when the brightness is high. PWM dimming and DC dimming can be referred to above and will not be repeated here.
[0114] In some embodiments, the electronic device is configured with a brightness threshold. When the display brightness value (DBV value) is less than the brightness threshold, the electronic device uses a PWM mode to adjust the display brightness. When the display brightness value (DBV value) is greater than or equal to the brightness threshold, the electronic device uses a DC mode to adjust the display brightness. The brightness threshold can be 1289, 1290, or any other value, and is not specifically limited here.
[0115] For example, taking the brightness threshold as 1289 as an example, when the DBV value is less than 1289, the electronic device uses the PWM mode to adjust the brightness of the display screen; when the DBV value is greater than or equal to 1289, the electronic device uses the DC mode to adjust the brightness of the display screen.
[0116] It is understood that in the above example, when the display brightness value (DBV value) is equal to the brightness threshold, the DC mode can be used to adjust the display brightness; the electronic device can also use the PWM mode to adjust the display brightness when the display brightness value (DBV value) is equal to the brightness threshold. The embodiments of the present application do not specifically limit the situation of being equal.
[0117] For example, Table 1 is a display screen brightness parameter table provided in an embodiment of the present application.
[0118] Table 1 Display brightness parameter table
[0119]
[0120] Table 1 shows the brightness parameters of the display screen of the electronic device at different brightness levels. When the electronic device detects a brightness adjustment operation, the electronic device adjusts the brightness parameter of the display screen from display screen brightness parameter A to display screen brightness parameter B. The brightness adjustment operation is used to indicate adjusting the brightness of the display screen.
[0121] For example, the electronic device can determine the display brightness value (DBV value) based on a screen brightness adjustment operation. For example, if the brightness adjustment operation indicates adjusting the display brightness from DBV 363 to DBV 2670, based on the display brightness parameters corresponding to Table 1, display brightness parameter A includes: display brightness: 10 nits; dimming mode: PWM mode; dimming signal: 16 pulses; duty cycle: 19.93%; Vref: -5; ELVSS: -2.7; VGMP: 6.7V; and gamma index level: 2.2, and the display brightness is adjusted to 10 nits.
[0122] Display brightness parameters B include: display brightness: 340 nit; dimming mode: DC mode; dimming signal: 1 pulse; duty cycle: 97.68%; Vref: -5; ELVSS: -2.7; VGMP: 6.7V; gamma index level: 2.2, which adjusts the display brightness to 340 nit.
[0123] For example, Figure 3 Schematic diagram of brightness change of electronic device when switching dimming mode in a possible design. For example, taking the brightness threshold as 1289 as an example, Figure 3 As shown, in response to the brightness adjustment operation, the electronic device triggers the dimming mode switch when it detects that the display brightness switches from DBV 1288 to DBV 1290. Because the transistors (TFT devices) in the pixel circuit cannot respond instantly and cannot switch instantly, the brightness of the electronic device's display screen jumps from time node t1 (the moment the brightness jump begins) to time node t2 (the moment the brightness jump ends), until it stabilizes at time node t2. At time node t2, the transistors (TFT devices) in the pixel circuit complete the dimming mode switch and successfully switch to the display screen brightness parameter corresponding to DBV 1290.
[0124] It should be noted that the EM signals of the PWM and DC dimming modes differ in terms of the number of pulses and duty cycle within a frame. This requires electronic devices to switch between dimming modes by adjusting the timing and pulses of the EM signals. This instantaneous switching of the EM signal timing and pulses causes transient changes in the coupling capacitance within the electronic device's display. However, due to the hysteresis of the TFT devices in the screen driver circuit that perform the switching, this response cannot be instantaneous.
[0125] Specifically, from the display brightness parameters in Table 1, it can be seen that the pixel circuit in PWM mode has the characteristics of low duty cycle and high data current. Figure 2Taking the pixel circuit shown as an example, a high data current can be understood as a large current flowing through the transistor T3 and a low potential of the capacitor C1.
[0126] In DC mode, the pixel circuit has the characteristics of high duty and low data current. Figure 2 Taking the pixel circuit shown as an example, low data current can be understood as a small current flowing through the transistor T3 and a high potential of the capacitor C1.
[0127] When switching from PWM mode to DC mode, due to the capacitance in the pixel circuit (e.g. Figure 2 The charge-discharge characteristics of capacitor C1 (shown in Figure 1) exhibit high duty cycles and medium data currents, causing sudden changes in the brightness of the electronic device. Medium data current can be understood as the current flowing through transistor T3 decreasing from high to low, while capacitor C1's potential changes from low to high.
[0128] In view of this, the embodiments of the present application provide a brightness adjustment method and related apparatus. When the refresh rate is switched or the dimming mode is switched, a transient display brightness value corresponding to one or more frames is sent down to adjust the brightness of one or more frames of the image, thereby reducing the brightness change caused by the change in cycle length or the jump brightness caused by the transistor hysteresis effect. When the electronic device displays one or more frames of jumping images, the brightness corresponding to the transient display brightness value is superimposed on the jump brightness caused by the transistor hysteresis effect, which can reduce the brightness jump phenomenon of the electronic device or even eliminate it.
[0129] In order to better understand the embodiments of the present application, the structure of the electronic device according to the embodiments of the present application is introduced below. Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0130] The electronic device may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0131] The touch sensor 180K may be provided on the display screen 194, and a touch screen is formed by the touch sensor 180K and the display screen 194. The touch sensor 180K is used to receive a user's trigger operation on the touch screen.
[0132] It is understood that the structures illustrated in the embodiments of the present invention do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0133] The processor 110 may include one or more processing units. The different processing units may be independent devices or integrated into one or more processors. The processor 110 may also include a memory for storing instructions and data. For example, the processor 110 may be used to store instructions and data related to the brightness adjustment method provided in the embodiments of the present application.
[0134] The electronic device realizes the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor.
[0135] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. For example, the display screen 194 can be used to display Figure 1 The interface shown, or Figure 3The display of the interface shown, or the display screen 194 can also realize the adjustment setting of the brightness of the electronic device (see Figure 12A and Figure 12B Corresponding scene description), etc., which is not limited in the embodiments of the present application. The display screen includes: a display driver chip ((display driver IC, DDIC) and a pixel circuit. The display driver IC can confirm the refresh rate and / or display screen value according to the processor, confirm the transient display brightness value corresponding to one or more frames, and adjust the brightness of the display screen based on the transient display brightness value corresponding to one or more frames. The pixel circuit is used to emit light according to the transient display brightness value to display the interface.
[0136] The software system of the electronic device can adopt a layered architecture, event-driven architecture, micro-kernel architecture, microservice architecture, or cloud architecture, etc., which will not be described here.
[0137] For example, Figure 5 This is a schematic diagram of the software structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the layered architecture divides the software into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into multiple layers, from top to bottom, including the application (APP) layer, the application framework layer, the Android runtime and system libraries, and the kernel layer, etc., which are not limited in the embodiments of this application.
[0138] The application layer can include a series of application packages. Figure 5 As shown, the application layer may include: camera, calendar, phone, map, phone, music, settings, mailbox, video, social, etc.
[0139] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer includes some predefined interfaces.
[0140] like Figure 5 As shown, the application framework layer may include: input system (input dispatcher), activity manager, location manager, notification manager, activity manager, image synthesis system (surface flinger) and view system, etc.
[0141] The input system is used to manage input device programs. For example, the input system can determine input operations such as mouse clicks, keyboard inputs, and touch slides. In embodiments of the present application, the input system is also used to determine the refresh rate based on the real-time speed corresponding to the slide operation and transmit this refresh rate to the image synthesis system to adjust the refresh rate of the electronic device.
[0142] The Activity Manager is used to manage the lifecycle of each application and the navigation back function. It is responsible for creating the Android main thread and maintaining the lifecycle of each application.
[0143] The location manager is used to provide location services to applications, including querying the last known location, registering and unregistering from periodic location updates, etc.
[0144] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0145] The Activity Manager Service (AMS) manages the lifecycle of each application and the navigation back function. It is responsible for creating the Android main thread and maintaining the lifecycle of each application.
[0146] The image synthesis system controls image synthesis and generates vertical synchronization (Vsync) signals. The image synthesis system includes a synthesis thread, a Vsync thread, and a queue buffer thread. The synthesis thread is awakened by the Vsync signal to perform synthesis. The Vsync thread generates the next Vsync signal based on the Vsync signal request. The queue buffer thread stores buffers, generates Vsync signal requests, and wakes up the synthesis thread.
[0147] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0148] The purpose of the hardware abstraction layer is to abstract the hardware. It can provide a unified interface for querying hardware devices for upper-layer applications, or it can also provide data storage services for upper-layer applications. The hardware abstraction layer can include one or more of the following:
[0149] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for scheduling and management of the Android system.
[0150] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0151] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0152] The system library can include multiple functional modules, such as the image rendering library, image synthesis library, function library, media library, and input processing library. The image rendering library is used for rendering 2D or 3D images. The image synthesis library is used for synthesizing 2D or 3D images.
[0153] The function library provides macros, type definitions, string operation functions, mathematical calculation functions, and input and output functions used in the C language.
[0154] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0155] The input processing library is a library used to process input devices, which can implement mouse, keyboard and touch input processing, etc.
[0156] The kernel layer is the layer between hardware and software. It includes at least the touch panel (TP) driver, display driver, Bluetooth driver, Wi-Fi driver, keyboard driver, shared memory driver, and camera driver. Hardware can include audio devices, Bluetooth devices, camera devices, sensor devices, and more.
[0157] When the display driver recognizes a refresh rate switching event or a dimming mode switching event, it can confirm one or more frames of transient display brightness values and send one or more frames of transient display brightness values to the display screen (for example, a display driver chip in the display screen).
[0158] In the embodiments of the present application, no specific limitation is imposed on the software layers involved in the software architecture, the modules contained in the layers, and the functions of the modules.
[0159] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other. For the same or similar concepts or processes, some embodiments may not be described in detail.
[0160] Figures 6 to 10 Application of brightness adjustment method in refresh rate switching scenario; Figures 11 to 14 This is the application of the brightness adjustment method in the dimming mode switching scenario. Figures 6 to 10 The refresh rate switching scenario and the application of the brightness adjustment method in this scenario are described.
[0161] For ease of understanding, the following Figure 6 and Figure 7 The following describes the scenario involving refresh rate switching of electronic devices. For example, Figure 6 A schematic diagram of a refresh rate switching scenario provided by an embodiment of the present application is shown, taking the case where an electronic device receives a sliding operation and the refresh rate changes as an example.
[0162] Figure 6 The interface shown in a in the figure is the settings interface. The electronic device refreshes the settings interface at a frequency of 60 Hz when no user operation is received.
[0163] When the electronic device detects the user's sliding operation, the electronic device adjusts the refresh rate of the display screen to 120Hz (e.g. Figure 6 During the sliding operation, the electronic device refreshes the displayed image at 120Hz (as shown in b). Figure 6 When the sliding operation ends, the electronic device can determine whether to release the sliding operation based on the speed at the end of the sliding operation. When the speed at the end of the sliding operation is greater than the speed threshold, the electronic device adjusts the refresh rate of the display screen based on the speed of the release sliding operation. When the release sliding operation ends, the refresh rate is adjusted to 60Hz (as shown in c). Figure 6 d in the figure).
[0164] When the speed at the end of the sliding operation is less than or equal to the speed threshold, the electronic device stops sliding and adjusts the refresh rate to 60Hz. The speed threshold can be 50 pixels per second (pixel / s), 40 pixels per second (pixel / s), or any other value, which is not specifically limited here.
[0165] Figure 7 This is another schematic diagram of a refresh rate switching scenario provided by an embodiment of the present application. Taking the display of bullet screens on an electronic device as an example, the refresh rate change is used as an example.
[0166] This application scenario is a video playback scenario. Figure 7 As shown in a in FIG, in this application scenario, the terminal device displays a first video 701. During the playback of the first video 701, the terminal device may display a barrage 702 (such as Figure 7 (as shown in b in the figure).
[0167] It is understandable that the video application draws and renders video frames at 60Hz. When there is no bullet comment displayed, the electronic device's refresh rate is 60Hz, and the video frames are synthesized and displayed at 60Hz. When a bullet comment needs to be displayed, the electronic device's refresh rate switches to 120Hz, and the video frames and bullet comment are synthesized and displayed at 120Hz.
[0168] above Figure 6 and Figure 7 This is just an example. The electronic device can also switch the refresh rate in other scenarios, for example, when different applications are running in the foreground, when the load of the electronic device is more or less. For example, when a game application is running in the foreground, the refresh rate is 120Hz, and when a video application is running in the foreground, the refresh rate is 60Hz. The embodiments of this application do not specifically limit the refresh rate switching scenario.
[0169] Because different scenarios, such as video, gaming, and general UI, require different frame rates, the terminal device dynamically switches the frame rate as the scene changes. This switching of the screen refresh frame rate can be reflected in a change in the duration of the vertical synchronization signal (Vsync). When the terminal device's frame rate switches from 120Hz to 60Hz, the Vsync cycle length changes from 8.33 milliseconds (ms) to 16.66ms.
[0170] For example, Figure 8 This is a flow chart of a brightness adjustment method corresponding to a refresh rate switching provided in an embodiment of the present application. Figure 8 As shown, the method includes:
[0171] S801: The electronic device identifies a time point at which refresh rate A is switched to refresh rate B. Refresh rate A is different from refresh rate B.
[0172] Refresh rate A can be any refresh rate supported by the electronic device, for example, 120 Hz, 60 Hz, 30 Hz, 1440 Hz, etc. Refresh rate B can be any refresh rate supported by the electronic device, for example, 120 Hz, 60 Hz, 30 Hz, 1440 Hz, etc.
[0173] For example, the time point when the refresh rate A is switched to the refresh rate B may correspond to the moment of the refresh rate switching, or may correspond to the image displayed when the refresh rate is switched, etc. This is not specifically limited here.
[0174] In some embodiments, the electronic device can determine the refresh rate switching time node through the synchronization signal. Exemplarily, the electronic device can confirm the time when the display screen refreshes the display by monitoring the rising and falling edges of the interrupt signal (e.g., TE signal).
[0175] For example, the electronic device may also confirm the time node for switching from refresh rate A to refresh rate B through the generation time of the Vsync signal, a timer for generating the Vsync signal, etc. The embodiment of the present application does not specifically limit the method for confirming the time node.
[0176] Exemplarily, the electronic device confirms the refresh rate switching when displaying the Nth frame and obtains the event that the refresh rate A is switched to the refresh rate B. When displaying the N+1th frame, the electronic device switches from the refresh rate A to the refresh rate B.
[0177] S802: The electronic device transmits transient display brightness values to the display screen frame by frame from the N+1th frame to the N+M-1th frame, until the display brightness value A is sent in the N+Mth frame. N is an integer, and M is an integer greater than 1.
[0178] In the embodiment of the present application, M can be 2, 4, or any other value, which is not specifically limited here. It is understood that after executing S801, the electronic device confirms the transient display brightness value corresponding to at least one frame and transmits at least one transient display brightness value to the display screen.
[0179] The transient display brightness value can be determined by a corresponding relationship A. The corresponding relationship A is the display brightness value, the number of frames of the display brightness value adjusted by the refresh rate switching, and the transient display brightness value.
[0180] For example, Table 1 is a correspondence table provided in an embodiment of the present application.
[0181] Table 1 Correspondence table
[0182]
[0183] As shown in Table 1, the corresponding relationship table includes: multiple display brightness values, each display brightness value corresponds to M-1 transient display brightness values. If the refresh rate A is greater than the refresh rate B, the M-1 transient display brightness values are: current display brightness value - △ DBV1, current display brightness value - △ DBV2, ... and current display brightness value - △ DBV m-1If the refresh rate A is less than the refresh rate B, M-1 transient display brightness values can be determined by Table 1, namely the current display brightness value + △ DBV1, the current display brightness value + △ DBV2, ... and the current display brightness value + △ DBV m-1 △DBV1, △DBV2, △DBV3... and △DBV m-1 Descend in sequence.
[0184] Taking the display brightness value as 1 and the brightness as 2nit as an example, if the refresh rate A is greater than the refresh rate B, M-1 transient display brightness values can be determined by Table 1, namely 1-△DBV1, 1-△DBV2, ... and 1-△DBV m-1 If the refresh rate A is less than the refresh rate B, M-1 transient display brightness values can be determined by Table 1, namely 1+△DBV1, 1+△DBV2, ... and 1+△DBV m-1 .
[0185] It should be noted that in Table 1 above, different DBV values correspond to different ΔDBV1 in transient display brightness value 1. Different DBV values also correspond to different ΔDBV1 in transient display brightness value 2. Different DBV values also correspond to different ΔDBV1 in transient display brightness value M-1. For example, DBV1 corresponds to a ΔDBV1 of 3 in transient display brightness value 1, and DBV300 corresponds to a ΔDBV1 of 4 in transient display brightness value 1. This is not specifically limited here.
[0186] It is understandable that the correspondence relationship A may be stored in the electronic device in other forms besides the table form, such as a queue, a list, etc., which is not specifically limited here.
[0187] In the embodiment of the present application, the transient display brightness value can be obtained through actual testing or any other method, which is not specifically limited here.
[0188] It can be understood that the transient display brightness values in the correspondence A can be divided into two categories, one is the transient display brightness values obtained by actual testing, and the other is obtained by interpolation processing based on the transient display brightness values corresponding to adjacent display brightness values.
[0189] For example, as shown in Table 1, the transient display brightness values 1 to M-1 corresponding to a display brightness value of 1 can be measured, as well as the transient display brightness values 1 to M-1 corresponding to a display brightness value of 300. By interpolating the transient display brightness value 1 corresponding to a display brightness value of 1 and the transient display brightness value 1 corresponding to a display brightness value of 300, the transient display brightness values 1 corresponding to each display brightness value between 1 and 300 can be obtained. For example, the transient display brightness value 1 corresponding to a display brightness value of 100 can be obtained. The interpolation process can be based on a linear equation or a nonlinear equation, which is not specifically limited here.
[0190] In this way, through interpolation processing, the electronic device can avoid acquiring too much data, reduce the amount of calculation, and speed up the acquisition time and reduce the difficulty of acquisition.
[0191] In an embodiment of the present application, the electronic device can send the corresponding transient display brightness value between the N+1th frame and the N+M-1th frame at one time, or it can send the transient display brightness value between the N+1th frame and the N+M-1th frame in multiple times, which is not specifically limited here.
[0192] In some embodiments, from the N+1th frame to the N+M-1th frame, each frame may correspond to a transient display brightness value, or multiple frames may correspond to one transient display brightness value; the electronic device may send down a transient display brightness value per frame, or may send down a transient display brightness value for multiple frames, which is not specifically limited here.
[0193] The number of transient display brightness values corresponding to the N+1th frame to the N+M-1th frame is not specifically limited here.
[0194] Exemplarily, taking the example of sending a transient display brightness value in each frame from the N+1th frame to the N+M-1th frame, S802 may include: S8021-S8023.
[0195] S8021. When displaying the Nth frame, the electronic device transmits the transient display brightness value A corresponding to the N+1th frame to the display screen.
[0196] In the embodiment of the present application, when the refresh rate A is greater than the refresh rate B, the transient display brightness value A is less than the display brightness value A. When the refresh rate A is less than the refresh rate B, the transient display brightness value A is greater than the display brightness value A.
[0197] For example, taking the refresh rate A as 120 Hz, the refresh rate B as 60 Hz, and the display brightness value A as DBV 300, the transient display brightness value A may be DBV 285;
[0198] Taking the refresh rate A as 60 Hz, the refresh rate B as 120 Hz, and the display brightness value A as DBV 300 as an example, the transient display brightness value A may be DBV 315.
[0199] S8022. When displaying the N+1 frame, the electronic device transmits the transient display brightness value B corresponding to the N+2 frame to the display screen.
[0200] In the embodiment of the present application, when the refresh rate A is greater than the refresh rate B, the transient display brightness value B is greater than the transient display brightness value A, and the transient display brightness value B is less than the display brightness value A. When the refresh rate A is less than the refresh rate B, the transient display brightness value B is less than the transient display brightness value A, and the transient display brightness value B is greater than the display brightness value A.
[0201] For example, taking the refresh rate A as 120 Hz, the refresh rate B as 60 Hz, and the display brightness value A as DBV 300, the transient display brightness value A may be DBV 285, and the transient display brightness value B may be DBV 290;
[0202] Taking the refresh rate A as 60 Hz, the refresh rate B as 120 Hz, and the display brightness value A as DBV 300 as an example, the transient display brightness value A may be DBV 315, and the transient display brightness value B may be DBV 310.
[0203] S8023. When displaying the N+M-1th frame, the electronic device transmits a display brightness value A corresponding to the N+Mth frame to the display screen.
[0204] In this way, during the switchover period of the refresh rate reduction, the electronic device adjusts the display brightness value corresponding to one or more frames to reduce the brightness increase change caused by the extension of the cycle length, prolongs the brightness change time to smooth the brightness change, and improves the user experience. During the switchover period of the refresh rate increase, the electronic device adjusts the display brightness value to increase to reduce the brightness decrease change caused by the reduction of the cycle length, prolongs the brightness change time to smooth the brightness change, reduces the flickering and jitter of the display brightness, and improves the user experience.
[0205] S803: If the electronic device recognizes a brightness update event when executing S802, it transmits the updated transient brightness value to the display screen according to the current frame number M and the updated display brightness value.
[0206] In this way, during the refresh rate switching, the electronic device uses the transient display brightness value corresponding to one or more frames of images to reduce the impact of brightness jumps caused by changes in cycle duration, extend the brightness change time to smooth the brightness changes, reduce the flickering and jitter of the display brightness, and improve the user experience.
[0207] For example, Figure 9This is a flow chart of a brightness adjustment method in a refresh rate switching scenario provided by an embodiment of the present application. Take the transient display brightness value corresponding to 3 frames of image as an example, such as Figure 9 As shown, the electronic device includes: an application, an image synthesis system, a display driver and a display screen.
[0208] The method includes: when the electronic device displays the Nth frame image, receiving a sliding operation, where N is an integer.
[0209] S901 . In response to a user operation, the application transmits a message for instructing the image composition system to switch the refresh rate, where the message includes the refresh rate B.
[0210] The sliding operation can also be replaced by any operation that triggers the refresh rate switch, such as an operation for indicating application switching, an operation for entering a game interface, etc., which is not specifically limited in the embodiments of the present application. In some embodiments, the electronic device changes the refresh rate without user operation (for example, when the sliding operation ends, during the hand-off sliding, when the hand-off sliding ends, when the system load increases or decreases, etc.).
[0211] In some embodiments, the electronic device further includes a frame rate control module, which can adjust the refresh rate according to the load of the electronic device, foreground running applications, user operations, etc.
[0212] S902 : After receiving the message for instructing to switch the refresh rate, the image synthesis system transmits the message for instructing to switch the refresh rate to the display driver, where the message includes the refresh rate B.
[0213] S903 : After receiving the message for instructing to switch the refresh rate, the display driver confirms the transient display brightness value corresponding to one or more frames of image according to the refresh rate A, the refresh rate B and the corresponding relationship.
[0214] The corresponding relationship can be referred to the above corresponding description, which will not be repeated here.
[0215] S904: The display driver transmits the transient display brightness value A corresponding to the N+1th frame to the display screen. The transient display brightness value A can refer to the corresponding description above and will not be repeated here.
[0216] S905 , the display screen adjusts the control signal corresponding to the pixel circuit in the display screen according to the transient display brightness value A, and displays the N+1th frame.
[0217] The various parameters of the control signal corresponding to the pixel circuit can be confirmed by the transient display brightness value A, so as to adjust the light emitting brightness of the pixel circuit.
[0218] For example, the parameters of the control signal corresponding to the pixel circuit can be determined from the display brightness parameter table by using the transient display brightness value A to adjust the luminous brightness of the pixel circuit. The embodiment of the present application can also be determined by any method, which is not specifically limited here.
[0219] S906: The display driver transmits the transient display brightness value B corresponding to the N+2 frame image to the display screen. The transient display brightness value B can refer to the corresponding description above and will not be repeated here.
[0220] S907 , the display screen adjusts the control signal corresponding to the pixel circuit according to the transient display brightness value B, and displays the N+2th frame image.
[0221] The various parameters of the control signal corresponding to the pixel circuit can be confirmed by the transient display brightness value B to adjust the light emitting brightness of the pixel circuit.
[0222] For example, the parameters of the control signal corresponding to the pixel circuit can be confirmed from the display brightness parameter table by the transient display brightness value B to adjust the luminous brightness of the pixel circuit. The embodiment of the present application can also be confirmed by any method, which is not specifically limited here.
[0223] S908: The display driver transmits the transient display brightness value C corresponding to the N+3 frame image to the display screen. The method for confirming the transient display brightness value C is similar to the method for confirming the transient display brightness value A, and will not be repeated here.
[0224] S909 , the display screen adjusts the control signal corresponding to the pixel circuit according to the transient display brightness value C, and displays the N+3th frame image.
[0225] S909 can refer to the description of S905 and S907 above, which will not be repeated here.
[0226] S910 , the display driver transmits a display brightness value A corresponding to the N+4th frame image to the display screen.
[0227] S911. The display screen adjusts the control signal corresponding to the pixel circuit according to the display brightness value.
[0228] The various parameters of the control signal corresponding to the pixel circuit can be confirmed by the transient display brightness value A, so as to adjust the light emitting brightness of the pixel circuit.
[0229] For example, the brightness value A can be displayed, and the parameters of the control signal corresponding to the pixel circuit can be confirmed from the display brightness parameter table to adjust the luminous brightness of the pixel circuit. The embodiment of the present application can also be confirmed by any method, which is not specifically limited here.
[0230] In this way, during the refresh rate switching, the electronic device uses the transient display brightness value corresponding to one or more frames of images to reduce the impact of brightness jumps caused by changes in cycle duration, extend the brightness change time to smooth the brightness changes, reduce the flickering and jitter of the display brightness, and improve the user experience.
[0231] For example, Figure 10 This is a schematic diagram of brightness change of an electronic device provided in an embodiment of the present application. Take the electronic device switching from 120Hz to 60Hz as an example. Figure 10 As shown, when the electronic device displays the Nth frame, a barrage is displayed, and the refresh rate corresponding to the frame is 120Hz. After the electronic device detects the operation for instructing to clear the barrage (for example, swiping left to clear the barrage), the electronic device displays the interface at a refresh rate of 60Hz. Since the electronic device switches the refresh rate of the N+1 frame, the electronic device obtains the instantaneous display brightness value A corresponding to the N+1 frame, and displays the N+1 frame based on the instantaneous display brightness value A. The electronic device obtains the instantaneous display brightness value B corresponding to the N+2 frame, and displays the N+2 frame based on the instantaneous display brightness value B. The electronic device obtains the instantaneous display brightness value C corresponding to the N+3 frame, and displays the N+3 frame based on the instantaneous display brightness value C. The electronic device obtains the display brightness value A corresponding to the N+4 frame, and displays the N+4 frame based on the display brightness value A.
[0232] Compared to Figure 1 The refresh rate switching scenario shown, Figure 10 In the refresh rate switching scenario shown, the brightness of the electronic device gradually increases over 4 frames, reducing brightness mutations caused by rapid brightness changes and improving the user experience.
[0233] The above embodiment can be applied to the scene of the refresh rate from high to low, and can also be applied to the scene of the refresh rate from low to high. The adjustment process of the two scenes is similar and will not be described in detail here.
[0234] For example, Figure 11 This is a schematic diagram of brightness change of an electronic device provided in an embodiment of the present application. Take the electronic device switching from 60Hz to 120Hz as an example. Figure 11As shown, the refresh rate of the electronic device when displaying the Nth frame is 60Hz. When the electronic device detects a sliding operation, the electronic device displays the interface at a refresh rate of 120Hz. Since the electronic device switches the refresh rate of the N+1th frame, the electronic device obtains the instantaneous display brightness value A corresponding to the N+1th frame, and displays the N+1th frame based on the instantaneous display brightness value A. The electronic device obtains the instantaneous display brightness value B corresponding to the N+2th frame, and displays the N+2th frame based on the instantaneous display brightness value B. The electronic device obtains the instantaneous display brightness value C corresponding to the N+3th frame, and displays the N+3th frame based on the instantaneous display brightness value C. The electronic device obtains the display brightness value A corresponding to the N+4th frame, and displays the N+4th frame based on the display brightness value A.
[0235] from Figure 11 As can be seen from the refresh rate switching scenario shown, the brightness of the electronic device gradually decreases over four frames, reducing brightness mutations caused by rapid brightness changes and improving user experience.
[0236] above Figures 6 to 11 The brightness adjustment method in the refresh rate switching scene is described below. Figures 12A to 16 The brightness adjustment method in the scene of dimming mode switching is described.
[0237] For ease of understanding, the following FIG. 12A to FIG. 13 The following describes the scenario of electronic devices involving dimming mode switching. For example, Figure 12A This is a schematic diagram of a dimming mode switching scenario provided by an embodiment of the present application. Figure 12A As shown in a in FIG, the electronic device can display a setting interface, which has a display and brightness function option 1201. In response to the user's click operation on the display and brightness function option 1201, the electronic device displays Figure 12A The display and brightness interface shown in b in FIG, includes: a brightness bar 1202 and a brightness block 1203 for adjusting the screen brightness. In response to the user's dragging operation on the brightness block 1203, the brightness block 1203 will slide on the brightness bar 1202, and the brightness of the display screen will be adjusted. Specifically, when the brightness block 1203 slides to the right along the brightness bar 1202, the brightness of the display screen increases; when the brightness block 1203 slides to the left along the brightness bar 1202, the brightness of the display screen decreases. It should be noted that in other scenarios, brightness adjustment can also be performed based on other interfaces, and the embodiments of the present application do not specifically limit this.
[0238] It is understood that the leftmost portion of the brightness bar 1202 corresponds to the minimum displayed brightness value, and the rightmost portion of the brightness bar 1202 corresponds to the maximum displayed brightness value. When the brightness block 1203 slides on the brightness bar 1202, the corresponding displayed brightness value can be determined based on the sliding position.
[0239] Based on power consumption considerations, when the display brightness of an electronic device exceeds a brightness threshold (e.g., 90 nits, DBV1289), the electronic device will switch to DC mode; and when the display brightness is lower than the brightness threshold (e.g., 90 nits, DBV1289), the electronic device will switch to PWM mode. The specific value of the brightness threshold is not limited in this embodiment of the application.
[0240] For example, Figure 12B This is another schematic diagram of a dimming mode switching scenario provided by an embodiment of the present application. Figure 12B As shown in a, the electronic device has a setting interface, which has a display and brightness function option 1301. In response to the user clicking the display and brightness function option 1301, the electronic device displays Figure 12B The display and brightness interface shown in b in FIG. The display and brightness interface includes: a switch control 1302 for turning on the automatic adjustment function of the display brightness. In response to the user turning on the switch control 1302, the electronic device displays Figure 12B It should be noted that when the automatic adjustment function is turned on, the electronic device will automatically adjust the screen brightness according to the ambient light brightness detected in real time by the ambient light sensor.
[0241] visible, Figure 12B The scenario shown also involves adjusting the display brightness. For the same reason, Figure 12B The scenario shown may also involve a case where the DC mode is switched to the PWM mode, or a case where the PWM mode is switched to the DC mode.
[0242] above Figure 12A and Figure 12B This is just an example. In other brightness adjustment scenarios, such as switching from a high-dynamic range (HDR) screen to a software-defined radio (SDR) screen, or switching from a gallery interface to a user interface (UI) interface (such as a mobile phone desktop), the process of switching the dimming mode may also be involved. These scenarios involving dimming mode switching are all applicable to the brightness adjustment method mentioned in the following embodiments, and are not specifically limited here.
[0243] For example, Figure 13 This is another schematic diagram of a dimming mode switching scenario provided by an embodiment of the present application. For example, Figure 13As shown in a in FIG, the electronic device can use DC mode to excite the light spot for fingerprint recognition. When the electronic device detects the fingerprint in the scene shown in a in FIG13 and successfully recognizes it, the electronic device switches from DC mode to PWM mode to display the user interface. The user interface can be a desktop (such as Figure 13 It can also be the interface displayed before the screen goes off, which is not specifically limited here.
[0244] For example, Figure 14 This is a flow chart of a brightness adjustment method corresponding to a dimming mode switching provided in an embodiment of the present application. Figure 14 As shown, the method includes:
[0245] S1401: The electronic device identifies a time point at which the electronic device switches from dimming mode A to dimming mode B. Dimming mode A is different from dimming mode B.
[0246] Dimming mode A can be either a PWM mode or a DC mode, which is not specifically limited here. Dimming mode B can be either a PWM mode or a DC mode, which is not specifically limited here.
[0247] Exemplarily, the electronic device may confirm that when the A+1th frame is displayed, the electronic device switches from dimming mode A to dimming mode B.
[0248] In some embodiments, the electronic device identifies the first frame time node at which the electronic device switches from dimming mode A to dimming mode B. For example, the electronic device may confirm that when the Ath frame is displayed, the electronic device is in dimming mode A; when the A+1th frame is displayed, the electronic device is in dimming mode B, and the A+1th frame is the first frame.
[0249] In some embodiments, the electronic device can determine the time node of the dimming mode switch through a synchronization signal (e.g., a TE signal, a Vsync signal, etc.). For example, the electronic device can confirm the time node when the dimming mode switches by monitoring the rising edge and falling edge of the interrupt signal (e.g., the TE signal).
[0250] S1402: The electronic device transmits transient display brightness values to the display screen from the A+1 frame to the A+B-1 frame, until the display brightness value C is sent in the A+B frame. A is an integer, and B is an integer greater than 1.
[0251] In the embodiment of the present application, B can be 2, 4, or any value, which is not specifically limited here. It is understandable that after executing S1401, the electronic device confirms the transient display brightness value corresponding to at least one frame and transmits at least one transient display brightness value to the display screen.
[0252] In the embodiment of the present application, the transient display brightness value can be confirmed by the correspondence relationship B. The correspondence relationship B is the frame number of the display brightness value adjusted by the dimming mode switching and the transient display brightness value. The correspondence relationship B can be stored in the electronic device in any form such as a table, a queue, etc.
[0253] The number of frames in correspondence B and the transient display brightness value corresponding to each frame can be obtained through actual testing or any other method. For example, the display transition brightness of an electronic device when the dimming mode is switched can be obtained by calculating the ideal display brightness and actual display brightness of an electronic device of the same specifications and type using the original display brightness parameters when the dimming mode is switched. The transient display brightness value is negatively correlated with the actual display brightness.
[0254] In this way, since the two electronic devices are originally electronic devices of the same specifications and type, the transient display brightness value obtained based on the second electronic device, when used to control the screen brightness of the first electronic device, can also make the display brightness adjustment amount of the first electronic device just the screen jump brightness of the first electronic device. In this case, the actual brightness of the display screen when the first electronic device displays a frame can be close to the ideal brightness of the display screen.
[0255] In some embodiments, the display screen brightness indicated by the transient display brightness value is negatively correlated with the difference in display screen transition brightness, which is the difference between the actual display screen brightness and the ideal display screen brightness.
[0256] In this way, the transient display brightness value is obtained based on the difference between the ideal brightness of the electronic device's display and the display's transition brightness. Therefore, the difference between the ideal brightness of the display and the display brightness indicated by the obtained transient display brightness value approaches the display's transition brightness. This allows the actual brightness of the display of the first electronic device when displaying a frame to approach the ideal brightness of the display.
[0257] In some other embodiments, the transient display brightness value satisfies: Among them, DBV transient is the transient display brightness value; DBV steady state is the fourth display brightness value; LDC is the ideal brightness of the display; L transient is the actual brightness value of the display.
[0258] In this way, the transient display brightness value is inversely proportional to the actual brightness value of the display, which can reduce the display brightness jump, smooth the brightness change, reduce the flicker and jitter of the display brightness, and improve the user experience.
[0259] It can be understood that the transient display brightness values in the correspondence B can be divided into two categories, one is the transient display brightness values obtained by actual testing, and the other is obtained by interpolation processing based on the transient display brightness values corresponding to the display brightness values of adjacent frames.
[0260] The interpolation process may be based on a linear equation or a nonlinear equation, which is not specifically limited here.
[0261] In this way, through interpolation processing, the electronic device can be prevented from acquiring too much data and increasing the amount of calculation. In addition, the acquisition time can be accelerated and the acquisition difficulty can be reduced.
[0262] In an embodiment of the present application, the electronic device can send the corresponding transient display brightness value between the A+1 frame and the A+B-1 frame at one time, or it can send the transient display brightness value between the A+1 frame and the A+B-1 frame in multiple times, without specific limitation here.
[0263] In some embodiments, from the A+1 frame to the A+B-1 frame, each frame may correspond to a transient display brightness value, or multiple frames may correspond to one transient display brightness value; the electronic device may send down a transient display brightness value per frame, or may send down a transient display brightness value for multiple frames, which is not specifically limited here.
[0264] The number of transient display brightness values corresponding to the A+1th frame to the A+B-1th frame is not specifically limited here.
[0265] For example, taking the case where a transient display brightness value is sent for each frame between the A+1 frame and the A+B-1 frame, S1402 includes: S14021 and S14022.
[0266] S14021. When displaying the Ath frame, the electronic device transmits the transient display brightness value a corresponding to the A+1th frame to the display screen.
[0267] In the embodiment of the present application, when the PWM mode is switched to the DC mode, the transient display brightness value a is less than the display brightness value b. For example, taking the display brightness value b as DBV 1295 (also referred to as 1295) and the brightness threshold as DBV 1289 as an example, the transient display brightness value a may be DBV 1290.
[0268] When switching from DC mode to PWM mode, the transient display brightness value a is greater than the display brightness value b. For example, taking the display brightness value b as DBV 1280 (also referred to as 1280) and the brightness threshold as DBV1289, the transient display brightness value a may be DBV1289.
[0269] S14022. When displaying the A+B-1 frame, the electronic device transmits the display brightness value b corresponding to the A+B frame to the display screen.
[0270] In this way, when the electronic device switches from PWM mode to DC mode, it adjusts the display brightness value corresponding to one or more frames down to reduce the brightness increase changes caused by the hysteresis effect of the transistors in the pixel circuit, smoothing the brightness changes and improving the user experience. When the electronic device switches from DC mode to PWM mode, it adjusts the display brightness value corresponding to one or more frames up to reduce the brightness decrease changes caused by the hysteresis effect of the transistors in the pixel circuit, smoothing the brightness changes and improving the user experience.
[0271] For example, Figure 15 This is a flow chart of a brightness adjustment method in a dimming mode switching scenario provided by an embodiment of the present application. Taking a frame image corresponding to a transient display brightness value as an example, Figure 15 As shown, the electronic device includes: application, image synthesis system, display driver,
[0272] The method includes: receiving a brightness adjustment operation at an electronic device with a display brightness value a.
[0273] S1501: In response to a brightness adjustment operation, the application transmits a message to the display driver for instructing brightness adjustment, the message including an identifier A. Identifier A is used to indicate a display brightness value b. Identifier A can be a brightness value, a brightness percentage, etc. corresponding to the display brightness value b, which is not specifically limited here.
[0274] The brightness adjustment operation can be performed by dragging a brightness slider, changing the ambient light of the electronic device, or unlocking the device using a fingerprint, without specific limitations here. The application can be a display application for adjusting the display brightness or a lock screen application for locking or unlocking the display, without specific limitations here.
[0275] S1502: After receiving a message for instructing to switch brightness adjustment, the display driver adjusts the brightness of the display screen of the electronic device according to the display brightness value B carried in the message.
[0276] S1503 : When it is detected that the display brightness value a is less than the threshold and the display brightness value b is greater than the brightness threshold, confirm the dimming mode switching and confirm the transient display brightness value corresponding to one or more frames of image.
[0277] The brightness threshold can refer to the corresponding description above and will not be repeated here.
[0278] S1504: The display driver transmits the transient display brightness value a corresponding to the A+1th frame to the display screen.
[0279] The transient display brightness value a can refer to the corresponding description above and will not be repeated here.
[0280] S1505 , the display screen adjusts the control signal corresponding to the pixel circuit according to the transient display brightness value a, and displays the A+1th frame.
[0281] The various parameters of the control signal corresponding to the pixel circuit can be confirmed by the transient display brightness value a, so as to adjust the light emitting brightness of the pixel circuit.
[0282] For example, the instantaneous display brightness value a can be used to confirm the various parameters of the control signal corresponding to the pixel circuit from the display brightness parameter table to adjust the luminous brightness of the pixel circuit. The embodiment of the present application can also be confirmed by any method, which is not specifically limited here.
[0283] S1506: The display driver transmits the display brightness value b corresponding to the A+2 th frame image to the display screen.
[0284] S1507. The display screen adjusts the control signal corresponding to the pixel circuit according to the display brightness value b.
[0285] The various parameters of the control signal corresponding to the pixel circuit can be confirmed by displaying the brightness value b, so as to adjust the light-emitting brightness of the pixel circuit.
[0286] For example, the display brightness value b can be used to confirm the various parameters of the control signal corresponding to the pixel circuit from the display brightness parameter table to adjust the luminous brightness of the pixel circuit. The embodiment of the present application can also be confirmed by any method, which is not specifically limited here.
[0287] In this way, when the electronic device switches from PWM mode to DC mode, it adjusts the display brightness value corresponding to one or more frames down to reduce the brightness increase changes caused by the hysteresis effect of the transistors in the pixel circuit, smoothing the brightness changes and improving the user experience. When the electronic device switches from DC mode to PWM mode, it adjusts the display brightness value corresponding to one or more frames up to reduce the brightness decrease changes caused by the hysteresis effect of the transistors in the pixel circuit, smoothing the brightness changes and improving the user experience.
[0288] For example, Figure 16 A schematic diagram of a dimming mode switching scenario provided in an embodiment of the present application. Take the electronic device switching from PWM mode to DC mode as an example. Figure 16As shown, the corresponding dimming mode of the electronic device when displaying the Ath frame is PWM mode. In response to the brightness adjustment operation, the electronic device triggers the dimming mode switch when detecting that the DBV value switches from DBV1289 to DBV1290. The electronic device obtains the display brightness value a corresponding to the Ath frame, and displays the Ath frame based on the display brightness value a. Since the electronic device performs the dimming mode switch for the A+1th frame, the electronic device obtains the instantaneous display brightness value a corresponding to the A+1th frame, and displays the A+1th frame based on the instantaneous display brightness value a. The electronic device obtains the display brightness value b corresponding to the A+2th frame, and displays the A+2th frame based on the display brightness value b.
[0289] from Figure 16 As can be seen from the refresh rate switching scenario shown, the electronic device reduces the brightness jump caused by the hysteresis effect by transiently displaying the brightness value, reduces the brightness mutation caused by too fast brightness changes, and improves the user experience.
[0290] The above embodiments all achieve brightness jumps when switching dimming modes or refresh rates by setting transient display brightness values corresponding to one or more frames. In some scenarios, the number of pulses can be adjusted, and the LHBM (global high brightness mode) scenario can be entered or exited (for example, when the screen is off, a light spot corresponding to the fingerprint is displayed; when the fingerprint is successfully unlocked, the light spot disappears and the display is lit up).
[0291] It should be noted that in a possible design, the electronic device may switch from the first state to the second state when dimming through the PWM mode. Due to the hysteresis effect of the transistor, brightness jumps may occur. For example, taking the electronic device entering the off-screen display as an example, when the electronic device detects user operations (for example, pressing the power button, locking the screen, etc.), it enters the off-screen display and displays the corresponding animation (dynamic effect). After the animation (dynamic effect) ends, the pre-set wallpaper interface is displayed. The electronic device may switch from the first state of the PWM mode to the second state of the PWM mode when displaying the animation.
[0292] For example, Figure 17 A schematic diagram of brightness change in a possible design is shown in FIG. Figure 17 As shown, in response to user operations (for example, pressing the power button, locking the screen, etc.), the electronic device begins to enter the off-screen display and display the corresponding animation. During the animation display, the state switch of the dimming mode is triggered to reduce the brightness of the display screen to save energy. For example, during the animation display, the 36 pulses (36 pulses) of the PWM mode are switched to the 12 pulses (12 pulses) of the PWM mode.
[0293] Because the transistors (TFT devices) in the pixel circuit cannot respond and switch instantly, the brightness of the electronic device's display screen jumps from time node t1 (when the brightness jump begins) to time node t2 (when the brightness jump ends), and then stabilizes at time node t2. At time node t2, the transistors (TFT devices) in the pixel circuit complete the state switch to dimming mode.
[0294] from Figure 17 As can be seen in the figure, the electronic device displays the desktop. After entering the off-screen display, it displays an animation with reduced brightness. The corresponding dimming mode for the electronic device when displaying frame C is 36 pulses in PWM mode. Because the electronic device switches to the dimming mode state in frame C+1, the electronic device experiences a sudden change in brightness in frame C+1. When the animation ends, the wallpaper is displayed (for example, frame C+2).
[0295] For example, Figure 18A This is a flow chart of a brightness adjustment method provided in an embodiment of the present application. Figure 18A As shown, the method includes:
[0296] S1801: The electronic device identifies a time point at which the electronic device switches from state A to state B. State A is different from state B.
[0297] In the embodiment of the present application, the dimming modes corresponding to state A and state B are the same, but the display brightness parameters are different.
[0298] In some embodiments, the number of pulses corresponding to state A and state B is different. For example, state A corresponds to PWM / 36 pulses; state B corresponds to PWM / 12 pulses:
[0299] For example, state A may correspond to 36 pulses, and state B may correspond to 12 pulses. Alternatively, state A may correspond to 12 pulses, and state B may correspond to 36 pulses. This is not specifically limited here.
[0300] Exemplarily, the electronic device may confirm that the electronic device switches from state A to state B when the C+1th frame is displayed.
[0301] In some embodiments, the electronic device identifies the first frame time node at which the electronic device switches from state A to state B. For example, the electronic device may confirm that when the Cth frame is displayed, the electronic device is in state A; when the C+1th frame is displayed, the electronic device is in state B, and the C+1th frame is the first frame.
[0302] In some embodiments, the electronic device can determine the state switching time node through a synchronization signal (e.g., a TE signal, a Vsync signal, etc.). For example, the electronic device can confirm the time node when the state switches by monitoring the rising edge and falling edge of the interrupt signal (e.g., a TE signal).
[0303] S1802: The electronic device transmits transient display brightness values to the display screen frame by frame from the C+1 frame to the C+D-1 frame, until the display brightness value d is sent in the C+D frame. A is an integer, and B is an integer greater than 1.
[0304] In the embodiment of the present application, D can be 2, 4, or any other value, which is not specifically limited here. It is understood that after executing S1801, the electronic device confirms the transient display brightness value corresponding to at least one frame and transmits at least one transient display brightness value to the display screen.
[0305] In the embodiment of the present application, the transient display brightness value can be confirmed by the corresponding relationship C. The corresponding relationship C is the frame number of the display brightness value adjusted by the state switching of the dimming mode and the transient display brightness value.
[0306] It is understandable that the correspondence C can be stored in the electronic device in any form such as a table, a queue, a list, etc., and is not specifically limited here.
[0307] The number of frames in correspondence C and the transient display brightness value corresponding to each frame can be obtained through actual testing or any other method. For example, the display transition brightness of an electronic device when the dimming mode is switched can be obtained by calculating the ideal display brightness and actual display brightness of an electronic device of the same specifications and type using the original display brightness parameters when the dimming mode is switched. The transient display brightness value is negatively correlated with the actual display brightness.
[0308] In this way, since the two electronic devices are originally electronic devices of the same specifications and type, the transient display brightness value obtained based on the second electronic device, when used to control the screen brightness of the first electronic device, can also make the display brightness adjustment amount of the first electronic device just the screen jump brightness of the first electronic device. In this case, the actual brightness of the display screen when the first electronic device displays a frame can be close to the ideal brightness of the display screen.
[0309] In some embodiments, the display screen brightness indicated by the transient display brightness value is negatively correlated with the difference in display screen transition brightness, which is the difference between the actual display screen brightness and the ideal display screen brightness.
[0310] In this way, the transient display brightness value is obtained based on the difference between the ideal brightness of the electronic device's display and the display's transition brightness. Therefore, the difference between the ideal brightness of the display and the display brightness indicated by the obtained transient display brightness value approaches the display's transition brightness. This allows the actual brightness of the display of the first electronic device when displaying a frame to approach the ideal brightness of the display.
[0311] In some other embodiments, the transient display brightness value satisfies: Among them, DBV transient is the transient display brightness value; DBV steady state is the fourth display brightness value; LDC is the ideal brightness of the display; L transient is the actual brightness value of the display.
[0312] In this way, the transient display brightness value is inversely proportional to the actual brightness value of the display, which can reduce the display brightness jump, smooth the brightness change, and improve the user experience.
[0313] It can be understood that the transient display brightness values in the correspondence C can be divided into two categories, one is the transient display brightness values obtained by actual testing, and the other is obtained by interpolation processing based on the transient display brightness values corresponding to adjacent display brightness values.
[0314] In an embodiment of the present application, the electronic device can send the corresponding transient display brightness value between the C+1 frame and the C+D-1 frame at one time, or it can send the transient display brightness value between the C+1 frame and the C+D-1 frame in multiple times, without specific limitation here.
[0315] In some embodiments, from the C+1 frame to the C+D-1 frame, each frame may correspond to a transient display brightness value, or multiple frames may correspond to one transient display brightness value; the electronic device may send down a transient display brightness value per frame, or may send down a transient display brightness value for multiple frames, which is not specifically limited here.
[0316] The number of transient display brightness values corresponding to the C+1th frame to the C+D-1th frame is not specifically limited. For example, taking the case where one transient display brightness value is sent for each frame between the C+1th frame and the C+D-1th frame, S1802 includes S18021 and S18022.
[0317] S18021. When displaying the Cth frame, the electronic device transmits the transient display brightness value c corresponding to the C+1th frame to the display screen.
[0318] In the embodiment of the present application, when the number of pulses corresponding to state A is greater than the number of pulses corresponding to state B, the transient display brightness value c is less than the display brightness value d. When the number of pulses corresponding to state A is less than the number of pulses corresponding to state B, the transient display brightness value c is greater than the display brightness value d.
[0319] For example, if state A corresponds to 36 pulses and state B corresponds to 12 pulses, the transient display brightness value a is smaller than the display brightness value b. For example, if state A corresponds to 12 pulses and state B corresponds to 36 pulses, the transient display brightness value a is larger than the display brightness value b.
[0320] S18022. When displaying the C+D-1th frame, the electronic device transmits the display brightness value d corresponding to the C+Dth frame to the display screen.
[0321] In this way, when the electronic device switches from the first state to the second state, it adjusts the display brightness value corresponding to one or more frames down to reduce the brightness increase change caused by the hysteresis effect of the transistors in the pixel circuit, smoothes the brightness change, and improves the user experience. When the electronic device switches from the second state to the first state, it adjusts the display brightness value corresponding to one or more frames up to reduce the brightness decrease change caused by the hysteresis effect of the transistors in the pixel circuit, smooths the brightness change, reduces flicker and jitter of the display brightness, and improves the user experience.
[0322] For example, Figure 18B This is a schematic diagram of brightness change when switching between states in a dimming mode provided by an embodiment of the present application. Take the example of an electronic device switching from a 36-pulse PWM mode to a 12-pulse PWM mode. Figure 18B As shown, the electronic device responds to user operations (for example, pressing the power button, locking the screen, etc.), and the electronic device starts to display the animation corresponding to the off-screen display. If the electronic device triggers the state switch of the dimming mode when the C+1 frame is displayed, it switches to 12 pulses of the PWM mode. When the C frame is displayed, the corresponding dimming mode is 36 pulses of the PWM mode. Since the electronic device performs the state switch of the dimming mode in the C+1 frame, the electronic device obtains the instantaneous display brightness value c corresponding to the C+1 frame, and displays the C+1 frame (animation) based on the instantaneous display brightness value c. The electronic device obtains the display brightness value d corresponding to the C+2 frame, and displays the C+2 frame (animation or wallpaper) based on the display brightness value d.
[0323] from Figure 18B As can be seen from the refresh rate switching scenario shown, the electronic device reduces the brightness jump caused by the hysteresis effect by transiently displaying the brightness value, reduces the brightness mutation caused by too fast brightness changes, and improves the user experience.
[0324] For example, Figure 19 This is a flow chart of a brightness adjustment method provided in an embodiment of the present application. Figure 19 As shown, the method includes:
[0325] S1901: Display an Nth frame of image at a first refresh rate and a first display brightness value.
[0326] S1902: Obtain a first event for switching the first refresh rate to the second refresh rate.
[0327] The first refresh rate can be any refresh rate supported by the electronic device, for example, 120 Hz, 60 Hz, 30 Hz, 1440 Hz, etc. The second refresh rate can be any refresh rate supported by the electronic device, for example, 120 Hz, 60 Hz, 30 Hz, 1440 Hz, etc. The first refresh rate and the second refresh rate are different. The first refresh rate can correspond to refresh rate A above; the second refresh rate can correspond to refresh rate B above.
[0328] The first event can be an event generated based on a sliding operation, an event generated based on switching of a foreground application, an event generated based on switching of an application interface (for example, entering a game interface, exiting a game interface, etc.), an event generated based on a load status, or an event generated based on any operation that may cause a refresh rate switch, etc., and is not specifically limited here.
[0329] S1903 : In response to the first event, one or more transient display brightness values are issued from the N+1th frame to the N+M-1th frame, until the first display brightness value is issued in the N+Mth frame.
[0330] Wherein, N is an integer and M is an integer greater than 1; when the first refresh rate is less than the second refresh rate, one or more transient display brightness values are less than the first display brightness value; or, when the first refresh rate is greater than the second refresh rate, one or more transient display brightness values are greater than the first display brightness value.
[0331] In this way, during the refresh rate switching, the electronic device uses the transient display brightness value corresponding to one or more frames of images to reduce the impact of brightness jumps caused by changes in cycle duration, extend the brightness change time to smooth the brightness changes, reduce the flickering and jitter of the display brightness, and improve the user experience.
[0332] In a possible implementation, in response to the first event, one or more transient display brightness values are sent from the N+1th frame to the N+M-1th frame until the first display brightness value is sent in the N+Mth frame, including: in response to the first event, the transient display brightness values are sent frame by frame from the N+1th frame to the N+M-1th frame until the first display brightness value is sent in the N+Mth frame; and from the N+1th frame to the N+M-1th frame, the changing trend of the transient display brightness values of each frame is close to the first display brightness value.
[0333] The first display brightness value is the display brightness value before and after the refresh rate is switched. The first display brightness value may correspond to the display brightness value A mentioned above.
[0334] In this way, each frame corresponds to a transient display brightness value, and the brightness of each frame is different, which can improve the improvement effect of the display brightness jump. In addition, the transient display brightness value gradually approaches the first display brightness value, which conforms to the law of gradual increase or decrease in brightness, further reducing sudden brightness changes, reducing flicker and jitter of the display brightness, and improving the user experience.
[0335] In a possible implementation, M is 4; in response to the first event, starting from the N+1th frame to the N+M-1th frame, a transient display brightness value is issued until the first display brightness value is issued in the N+Mth frame, including: in response to the first event, issuing the first transient display brightness value in the N+1th frame; issuing the second transient display brightness value in the N+2th frame; issuing the third transient display brightness value in the N+3th frame; and issuing the first display brightness value in the N+4th frame; wherein, when the first refresh rate is less than the second refresh rate, the first transient display brightness value is less than the second transient display brightness value; the second transient display brightness value is less than the third transient display brightness value; and the third transient display brightness value is less than the first display brightness value; when the first refresh rate is greater than the second refresh rate, the first transient display brightness value is greater than the second transient display brightness value; the second transient display brightness value is greater than the third transient display brightness value; and the third transient display brightness value is greater than the first display brightness value.
[0336] The first transient display brightness value may correspond to the transient display brightness value A mentioned above; the second transient display brightness value may correspond to the transient display brightness value B mentioned above; and the third transient display brightness value may correspond to the transient display brightness value C mentioned above.
[0337] In this way, the brightness change caused by the refresh rate switching can be adjusted through the transient display brightness values corresponding to the three frames.
[0338] In one possible implementation, the transient display brightness value is obtained through a pre-stored first correspondence, where the first correspondence is the display brightness value, the first type frame number, and the transient display brightness value corresponding to each frame, and the first type frame number is used to indicate the i-th frame after the N-th frame.
[0339] The first corresponding relationship may correspond to the corresponding relationship A mentioned above.
[0340] In this way, the transient display brightness value can be directly called and confirmed from the pre-stored correspondence, which can save the adjustment time of each frame from the N+1th frame to the N+M-1th frame, and reduce the frame freeze caused by the failure to confirm the transient display brightness value.
[0341] In one possible implementation, obtaining a first event for switching a first refresh rate to a second refresh rate includes: a display driver obtaining a first event transmitted by an image synthesis system; and in response to the first event, sending one or more transient display brightness values from the N+1th frame to the N+M-1th frame until the first display brightness value is sent in the N+Mth frame, including: the display driver sending, in response to the first event, one or more transient display brightness values to the display screen from the N+1th frame to the N+M-1th frame until the first display brightness value is sent to the display screen in the N+Mth frame.
[0342] In this way, the adjustment and issuance of the transient display brightness value is achieved through the display driver.
[0343] In one possible implementation, obtaining a first event for switching the first refresh rate to the second refresh rate includes: obtaining the first event in response to a sliding operation; or obtaining the first event in response to an event used to indicate the end of sliding; or obtaining the first event in response to an application switching operation, running the second application in the foreground and running or closing the first application in the background, and the refresh rate corresponding to the second application is the second refresh rate, and the refresh rate corresponding to the first application is the first refresh rate; or obtaining the first event in response to a barrage opening operation; or obtaining the first event in response to a barrage clearing operation.
[0344] The barrage clearing operation is an operation for indicating that the barrage is not displayed; the barrage opening operation is an operation for indicating that the barrage is displayed.
[0345] The present invention can be applied to various refresh rate switching scenarios, with a wide range of applications and high universality. It can also be applied to the switching scenario of whether comments are displayed or not. The present embodiment of the application does not specifically limit the application scenario of the first event.
[0346] In one possible implementation, the method further includes: obtaining a second event, where the second event is used to indicate that the first display brightness value is updated to a second display brightness value; in response to the second event, updating the transient display brightness value between the N+i frame and the N+M-1 frame according to the second display brightness value to obtain one or more updated transient display brightness values; issuing the one or more updated transient display brightness values until the second display brightness value is issued in the N+M frame; when the first refresh rate is less than the second refresh rate, the one or more updated transient display brightness values are less than the second display brightness value; or, when the first refresh rate is greater than the second refresh rate, the one or more updated transient display brightness values are greater than the second display brightness value.
[0347] The second event may be a brightness update event. The second event may be an event generated based on a change in ambient light, an event generated based on a user adjusting the brightness of the display screen, or an event for any brightness update. The second event may also be an event generated based on an interface switch, for example, entering or exiting the global highlight interface (LHBM). The global highlight interface (LHBM) can refer to the corresponding description above and will not be described in detail here. No specific limitation is made here.
[0348] In this way, during the refresh rate switching process, a brightness update event is detected, and the Shutai display brightness value is confirmed based on the updated display brightness value to meet the brightness update requirement.
[0349] In one possible implementation, the method further includes: displaying the Ath frame image at a third display brightness value, the third display brightness value corresponding to the first dimming mode; obtaining a third event for switching the third display brightness value to a fourth display brightness value; the fourth display brightness value corresponds to the second dimming mode; in response to the third event, from the A+1th frame to the A+B-1th frame, issuing one or more transient display brightness values until the fourth display brightness value is issued in the A+Bth frame; wherein A is an integer, B is an integer greater than 1, and from the A+1th frame to the A+B-1th frame, the one or more transient display brightness values after the third event are all between a brightness threshold and a fourth display brightness value, and the brightness threshold is used to determine the dimming mode used by the electronic device; wherein the third display brightness value is greater than the brightness threshold, and the fourth display brightness value is less than the brightness threshold; or, the third display brightness value is less than the brightness threshold, and the fourth display brightness value is greater than the brightness threshold.
[0350] The brightness threshold can refer to the corresponding description above and will not be repeated here. The third display brightness value can be any value, for example, DBV1200, DBV1500, etc., and is not specifically limited here. The fourth display brightness value can be any value, for example, DBV1500, DBV1200, etc., and is not specifically limited here. The third display brightness value can correspond to dimming mode A mentioned above; the fourth display brightness value can correspond to dimming mode B mentioned above.
[0351] In this way, when the dimming mode is switched, the brightness jump caused by the mode switching can be eliminated by using the transient display brightness value corresponding to one or more frames.
[0352] In one possible implementation, in response to the third event, one or more transient display brightness values are sent from the A+1th frame to the A+B-1th frame until the fourth display brightness value is sent in the A+Bth frame, including: in response to the third event, the transient display brightness value is sent frame by frame from the A+1th frame to the A+B-1th frame until the fourth display brightness value is sent in the A+Bth frame.
[0353] In this way, the transient display brightness value is sent frame by frame, which can eliminate the brightness jump caused by mode switching in more detail and improve the user experience.
[0354] In one possible implementation, from the A+1 frame to the A+B-1 frame, the transient display brightness value of each frame is determined based on a second corresponding relationship, where the second corresponding relationship is the relationship between the second type frame number and the transient display brightness value, and the second type frame number is used to indicate the i-th frame after the A-th frame.
[0355] The second corresponding relationship may correspond to the corresponding relationship B mentioned above, and will not be described in detail here.
[0356] In this way, the transient display brightness value can be directly called and confirmed from the pre-stored correspondence, which can save the adjustment time for each frame from the A+1 frame to the A+B-1 frame, and reduce the frame freeze caused by the failure to confirm the transient display brightness value.
[0357] In one possible implementation, B is 2; in response to the third event, one or more transient display brightness values are issued from the A+1 frame to the A+B-1 frame until the fourth display brightness value is issued in the A+B frame, including: in response to the third event, issuing a transient display brightness value of one in the A+1 frame, where the transient display brightness value of one is between the brightness threshold and the fourth display brightness value.
[0358] In this way, the brightness jump caused by mode switching is eliminated by displaying the transient brightness value corresponding to one frame.
[0359] In one possible implementation, the transient display brightness value is obtained by calculating the actual brightness of the display screen and the ideal brightness of the display screen when the third event occurs in an electronic device with the same specifications. The ideal brightness of the display screen is the brightness of the display screen that triggers the display screen in the electronic device with the same specifications to execute the fourth display brightness value; the actual brightness of the display screen is the actual brightness value of the frame after the display dimming mode of the electronic device with the same specifications is switched; the transient display brightness value after the third event is negatively correlated with the actual brightness value of the display screen.
[0360] In this way, based on the ideal display brightness and actual display brightness of an electronic device of the same specifications and type using the original display brightness value when the dimming mode is switched, the instantaneous display brightness value is adjusted and confirmed using the actual display brightness. When the actual display brightness is higher, the instantaneous display brightness value is smaller; when the actual display brightness is lower, the instantaneous display brightness value is higher.
[0361] In one possible implementation, from the A+1 frame to the A+B-1 frame, the display brightness indicated by one or more transient display brightness values after the third event is negatively correlated with the difference in display jump brightness; the display jump brightness is the difference between the actual display brightness and the ideal display brightness.
[0362] In this way, the transient display brightness value is obtained based on the difference between the ideal brightness of the electronic display screen and the display screen transition brightness. Therefore, the difference between the ideal brightness of the display screen and the obtained transient display brightness value indicates a display screen brightness that is close to the display screen transition brightness.
[0363] In a possible implementation, the transient display brightness value after the third event satisfies: Among them, DBV transient is the transient display brightness value after the third event; DBV steady state is the fourth display brightness value; LDC is the ideal brightness of the display; L transient is the actual brightness value of the display.
[0364] In this way, the transient display brightness value is inversely proportional to the actual brightness value of the display, which can reduce the display brightness jump, smooth the brightness change, reduce the flicker and jitter of the display brightness, and improve the user experience.
[0365] In one possible implementation, the second correspondence includes: multiple first-category transient display brightness values and at least one second-category transient display brightness value; the first-category transient display brightness value is obtained by calculating the actual brightness of the display screen and the ideal brightness of the display screen when the third event occurs on the second electronic device; the display screen brightness indicated by the second-category transient display brightness value is obtained by interpolation calculation of two adjacent adjusted brightnesses; the adjacent adjusted brightness refers to the display screen brightness indicated by the first-category transient display brightness value corresponding to the frame adjacent to the current frame among the multiple first-category transient display brightness values.
[0366] For example, taking frame 1, frame 2, and frame 3 as examples, frame 1 and frame 3 correspond to the first type of transient display brightness value; the second type of transient display brightness value corresponding to frame 2 can be obtained through the first type of transient display brightness value corresponding to frame 1 and the first type of transient display brightness value corresponding to frame 3.
[0367] In this way, some transient display brightness values are obtained based on measured data, while the remaining transient display brightness values are obtained based on interpolation operations. This can reduce the increase in calculations caused by obtaining too much data. It can also speed up the acquisition time of each frame of transient display brightness values and reduce the difficulty of acquisition.
[0368] In one possible implementation, the display is refreshed at a third refresh rate from frame A to frame A+B; the second correspondence is one of multiple sets of pre-stored second correspondences, and the multiple sets of second correspondences correspond one-to-one to multiple refresh rates supported by the display screen.
[0369] The second corresponding relationship may correspond to the corresponding relationship B mentioned above, and will not be described in detail here.
[0370] In this way, taking into account the switching between multiple refresh rates, providing transient display brightness values corresponding to each refresh rate when switching the dimming mode can further reduce the brightness jump, reduce the flickering and jitter of the display brightness, and improve the user experience.
[0371] In a possible implementation, obtaining the third event of switching the third display brightness value to the fourth display brightness value includes: obtaining the third event in response to a fingerprint unlocking operation; or obtaining the third event in response to a brightness adjustment operation.
[0372] It should be noted that in some embodiments, when the electronic device displays the light spot corresponding to the fingerprint, it can be in DC mode; after the fingerprint is unlocked, it enters the PWM mode display interface. In some embodiments, when the user adjusts the brightness, it may trigger a dimming mode switch.
[0373] In this way, it can be applied to various dimming mode switching scenarios and has a wide range of applications.
[0374] In one possible implementation, the method also includes: displaying the Cth frame image with a fifth display brightness value, the fifth display brightness value corresponding to the first state of the third dimming mode; obtaining a fourth event that switches the first state to the second state of the third dimming mode; the first state and the second state are different; in response to the fourth event, from the C+1th frame to the C+D-1th frame, one or more transient display brightness values are issued until the fifth display brightness value is issued in the C+Dth frame; wherein C is an integer and D is an integer greater than 1; when the number of pulses corresponding to the first state is less than the number of pulses corresponding to the second state, one or more transient display brightness values after the fourth event are all less than the fifth display brightness value; or, when the number of pulses corresponding to the first state is greater than the number of pulses corresponding to the second state, one or more transient display brightness values after the fourth event are all greater than the fifth display brightness value.
[0375] The fifth display brightness value can be DBV1280, DBV1000, or any other value, not specifically limited herein. The third dimming mode can be a PWM mode, or other dimming modes, such as a DC mode, not specifically limited herein. The first state can correspond to state A above; the second state can correspond to state B above.
[0376] This can reduce brightness jumps caused by switching between different states within the same dimming mode. For example, when an electronic device enters or exits the screen-off display (AOD) scenario, it can reduce the flashing or dimming of animations (dynamic effects) caused by state switching, reduce flickering and jitter in the display brightness, and improve the user experience.
[0377] It should be noted that the module names involved in the embodiments of the present application can be defined as other names as long as the functions of each module can be achieved, and there is no specific restriction on the names of the modules.
[0378] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0379] The brightness adjustment method of the embodiment of the present application has been described above. The following describes the device for performing the above method provided in the embodiment of the present application. Those skilled in the art will understand that the method and device can be combined and referenced with each other, and the relevant device provided in the embodiment of the present application can perform the steps in the above method.
[0380] The brightness adjustment method provided in the embodiment of the present application can be applied to electronic devices with communication functions. The electronic devices include terminal devices. The specific device form of the terminal device can refer to the above related descriptions and will not be repeated here.
[0381] An embodiment of the present application provides an electronic device, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the above method.
[0382] The present application provides a chip or chip system. The chip or chip system includes one or more processors, which are configured to invoke computer instructions to enable an electronic device to execute the technical solutions described in the above embodiments. The implementation principles and technical effects are similar to those of the above-described related embodiments and will not be further elaborated here.
[0383] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium includes computer instructions, which, when executed on an electronic device, cause the electronic device to perform the above-mentioned method. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media may include computer storage media and communication media, and may also include any medium that can transfer a computer program from one place to another. The storage medium may be any target medium that can be accessed by a computer.
[0384] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage or other magnetic storage devices, or any other medium intended to carry or store the desired program code in the form of instructions or data structures and accessible by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disk and optical disc as used herein include optical disc, laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks generally reproduce data magnetically, while optical discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0385] An embodiment of the present application provides a computer program product, which includes computer program code. When the computer program code is executed, the computer executes the above method.
[0386] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to produce a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0387] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.
Claims
1. A brightness adjustment method, characterized in that: The method comprises: Displaying the Nth frame of image at a first refresh rate and a first display brightness value; Obtaining a first event for switching the first refresh rate to a second refresh rate; In response to the first event, one or more transient display brightness values are issued from the N+1th frame to the N+M-1th frame until the first display brightness value is issued in the N+Mth frame; wherein N is an integer and M is an integer greater than 1; When the first refresh rate is less than the second refresh rate, the one or more transient display brightness values are all less than the first display brightness value; Alternatively, when the first refresh rate is greater than the second refresh rate, the one or more transient display brightness values are all greater than the first display brightness value.
2. The method according to claim 1, characterized in that The step of sending one or more transient display brightness values from the N+1th frame to the N+M-1th frame in response to the first event until the first display brightness value is sent at the N+Mth frame comprises: sending transient display brightness values frame by frame from the N+1th frame to the N+M-1th frame in response to the first event until the first display brightness value is sent at the N+Mth frame; From the N+1th frame to the N+M-1th frame, the variation trend of the transient display brightness value of each frame is close to the first display brightness value.
3. The method according to claim 1 or 2, characterized in that: The M is 4; the step of sending a transient display brightness value from the N+1th frame to the N+M-1th frame in response to the first event, until the first display brightness value is sent in the N+Mth frame, includes: In response to the first event, sending a first transient display brightness value in the N+1th frame; Sending the second transient display brightness value in the N+2th frame; Sending the third transient display brightness value in the N+3th frame; Sending the first display brightness value in the N+4th frame; Wherein, when the first refresh rate is lower than the second refresh rate, the first transient display brightness value is lower than the second transient display brightness value; the second transient display brightness value is lower than the third transient display brightness value; the third transient display brightness value is lower than the first display brightness value; When the first refresh rate is greater than the second refresh rate, the first transient display brightness value is greater than the second transient display brightness value; the second transient display brightness value is greater than the third transient display brightness value; and the third transient display brightness value is greater than the first display brightness value.
4. The method according to any one of claims 1 to 3, characterized in that: The transient display brightness value is obtained through a pre-stored first correspondence relationship, wherein the first correspondence relationship is a display brightness value, a first type frame sequence number, and the transient display brightness value corresponding to each frame, wherein the first type frame sequence number is used to indicate the i-th frame after the N-th frame.
5. The method according to any one of claims 1 to 4, characterized in that: The obtaining of a first event for switching the first refresh rate to a second refresh rate includes: The display driver obtains the first event transmitted by the image synthesis system; In response to the first event, the one or more transient display brightness values are sent from the N+1th frame to the N+M-1th frame until the first display brightness value is sent in the N+Mth frame, including: In response to the first event, the display driver sends the one or more transient display brightness values to the display screen from the N+1th frame to the N+M-1th frame, until the first display brightness value is sent to the display screen in the N+Mth frame.
6. The method according to any one of claims 1 to 5, characterized in that: The obtaining of a first event for switching the first refresh rate to a second refresh rate includes: In response to a sliding operation, the first event is obtained; or in response to an event for indicating an end of sliding, the first event is obtained; Alternatively, in response to the application switching operation, the second application is run in the foreground, and the first application is run or closed in the background, the first event is obtained, the refresh rate corresponding to the second application is the second refresh rate, and the refresh rate corresponding to the first application is the first refresh rate; Alternatively, the first event is obtained in response to a barrage opening operation; or the first event is obtained in response to a barrage clearing operation.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Obtaining a second event, where the second event is used to indicate that the first display brightness value is updated to a second display brightness value; In response to the second event, updating the transient display brightness value from the N+ith frame to the N+M-1th frame according to the second display brightness value to obtain one or more updated transient display brightness values; Sending the one or more updated transient display brightness values until the second display brightness value is sent at the N+Mth frame; When the first refresh rate is less than the second refresh rate, the one or more updated transient display brightness values are less than the second display brightness value; Alternatively, when the first refresh rate is greater than the second refresh rate, the one or more updated transient display brightness values are greater than the second display brightness value.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Displaying the A-th frame image at a third display brightness value, wherein the third display brightness value corresponds to the first dimming mode; Obtaining a third event for switching the third display brightness value to a fourth display brightness value; the fourth display brightness value corresponds to the second dimming mode; In response to the third event, one or more transient display brightness values are issued from the A+1 frame to the A+B-1 frame, until the fourth display brightness value is issued in the A+B frame; Wherein, A is an integer, B is an integer greater than 1, and from the A+1th frame to the A+B-1th frame, one or more transient display brightness values after the third event are between the brightness threshold and the fourth display brightness value, and the brightness threshold is used to determine the dimming mode; Wherein, the third display brightness value is greater than the brightness threshold, and the fourth display brightness value is less than the brightness threshold; Alternatively, the third display brightness value is smaller than the brightness threshold, and the fourth display brightness value is larger than the brightness threshold.
9. The method according to claim 8, characterized in that In response to the third event, sending one or more transient display brightness values from the A+1 frame to the A+B-1 frame until the fourth display brightness value is sent in the A+B frame, including: In response to the third event, the transient display brightness value is sent frame by frame from the A+1th frame to the A+B-1th frame, until the fourth display brightness value is sent in the A+Bth frame.
10. The method according to claim 8 or 9, characterized in that: From the A+1th frame to the A+B-1th frame, the transient display brightness value of each frame is determined based on the second corresponding relationship, wherein the second corresponding relationship is the relationship between the second type frame sequence number and the transient display brightness value, and the second type frame sequence number is used to indicate the i-th frame after the A-th frame.
11. The method according to any one of claims 8 to 10, characterized in that: The B is 2; the response to the third event, from the A+1 frame to the A+B-1 frame, one or more transient display brightness values are sent down until the fourth display brightness value is sent down in the A+B frame, including: In response to the third event, a transient display brightness value of one is issued in the A+1th frame, and the transient display brightness value of one is between the brightness threshold and the fourth display brightness value.
12. The method according to any one of claims 8 to 11, characterized in that: The transient display brightness value is obtained by calculating the actual brightness of the display screen and the ideal brightness of the display screen when the third event occurs in the electronic device with the same specifications, and the ideal brightness of the display screen is the brightness of the display screen that triggers the display screen in the electronic device with the same specifications to execute the fourth display brightness value; The actual brightness of the display screen is the actual brightness value of the frame when the display dimming mode of the electronic device with the same specification is switched; The transient display brightness value after the third event is negatively correlated with the actual brightness value of the display screen.
13. The method according to claim 12, characterized in that From the A+1th frame to the A+B-1th frame, the display screen brightness indicated by the one or more transient display brightness values after the third event is negatively correlated with the difference between the display screen jump brightness; The display screen jump brightness is the difference between the actual brightness of the display screen and the ideal brightness of the display screen.
14. The method according to claim 12, characterized in that The transient display brightness value after the third event satisfies: D D B B V V稳 瞬态 态 = L L 瞬 DC 态 ; The DBV transient is the transient display brightness value after the third event; the DBV steady state is the fourth display brightness value; the LDC is the ideal brightness of the display screen; and the L transient is the actual brightness value of the display screen.
15. The method according to any one of claims 10 to 14, characterized in that: The second corresponding relationship includes: a plurality of first-type transient display brightness values and at least one second-type transient display brightness value; The first type of transient display brightness value is obtained by calculating the actual brightness of the display screen and the ideal brightness of the display screen when the third event occurs in the second electronic device; The display screen brightness indicated by the second type of transient display brightness value is obtained by interpolating two adjacent adjusted brightnesses; the adjacent adjusted brightness refers to the display screen brightness indicated by the first type of transient display brightness value corresponding to the frame adjacent to the current frame among the multiple first type of transient display brightness values.
16. The method according to any one of claims 10 to 15, characterized in that: From the Ath frame to the A+Bth frame, refreshing the display according to a third refresh rate; The second corresponding relationship is one of a plurality of pre-stored sets of second corresponding relationships, and the plurality of sets of second corresponding relationships correspond one-to-one to a plurality of refresh rates supported by the display screen.
17. The method according to any one of claims 8 to 16, characterized in that: Obtaining a third event of switching the third display brightness value to a fourth display brightness value, comprising: In response to the fingerprint unlocking operation, obtaining the third event; Alternatively, in response to a brightness adjustment operation, the third event is obtained.
18. The method according to any one of claims 1 to 17, characterized in that: The method further comprises: Displaying the Cth frame image at a fifth display brightness value, wherein the fifth display brightness value corresponds to the first state of the third dimming mode; Obtaining a fourth event of switching the first state to a second state of the third dimming mode; the first state and the second state are different; In response to the fourth event, one or more transient display brightness values are issued from the C+1 frame to the C+D-1 frame, until the fifth display brightness value is issued in the C+D frame; Wherein, C is an integer, and D is an integer greater than 1; When the number of pulses corresponding to the first state is less than the number of pulses corresponding to the second state, one or more transient display brightness values after the fourth event are all less than the fifth display brightness value; Alternatively, when the number of pulses corresponding to the first state is greater than the number of pulses corresponding to the second state, one or more transient display brightness values after the fourth event are greater than the fifth display brightness value.
19. An electronic device, characterized in that: The electronic device comprises: one or more processors and a memory; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the electronic device to perform the method according to any one of claims 1 to 18.
20. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the method as described in any one of claims 1 to 18.
21. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device is caused to perform the method according to any one of claims 1 to 18.
22. A computer program product, characterized in that The computer program product comprises a computer program code, and when the computer program code is run on an electronic device, the electronic device is caused to perform the method according to any one of claims 1 to 18.
Citation Information
Patent Citations
Display control method and device of display panel and display device
CN114495791A
Display module brightness control method and device, display equipment and storage medium
CN116434706A
Brightness compensation method, driving circuit of display panel and display panel
CN116469352A
Screen brightness adjusting method, electronic equipment and computer readable storage medium
CN117153075A
Brightness adjustment method and device of display panel, equipment and storage medium
CN117373381A