Display dimming method and related equipment
By determining the pulse specification based on the screen refresh rate during the low brightness interval of the OLED screen and repeating it for dimming, the problem of poor display effect in the low brightness interval is solved, and PWM dimming at a higher frequency is achieved, which improves the display effect and reduces the demand for DDIC resources.
Patent Information
- Application Number
- CN202311498669.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-09
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2043-11-09
AI Technical Summary
The existing OLED screens have poor uniformity in picture color and brightness, uneven color shift and brightness in low brightness, and higher frequency PWM dimming requires new DDIC support.
When detecting that the screen brightness is in the low brightness range, the first pulse specification is determined based on the first screen refresh rate, and the second pulse specification of the preset number of times is repeated during the display time of each frame of the screen, a higher frequency dimming is achieved.
It improves the display effect and is more conducive to eye protection. There is no need to develop a new DDIC, which meets the needs of PWM dimming at higher frequencies.
Smart Images

Figure CN120014969A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and in particular to a display dimming method and related equipment. Background Art
[0002] For Organic Light-Emitting Diode (OLED) screens, the corresponding current is small at low brightness and low grayscale, resulting in poor uniformity of picture color and brightness, color cast and uneven brightness. In order to improve the display effect at low brightness and low grayscale and solve the above-mentioned problems at low brightness and low grayscale, pulse width modulation (PWM) dimming is usually used. The principle of PWM dimming is to control the brightness observed by the human eye by adjusting the ratio of the light-on time and the off time within the pixel flashing cycle. For example, within 8 milliseconds, when the light-on time is 5 milliseconds and the off time is 3 milliseconds, the brightness observed by the human eye is higher; within 8 milliseconds, when the light-on time is 3 milliseconds and the off time is 5 milliseconds, the brightness observed by the human eye is lower.
[0003] When the light-on time is 3 milliseconds and the off time is 5 milliseconds within 8 milliseconds, the frequency (pulse specification) of pixel light-dark switching can be different. For example, in the same scenario where the light-on time is 3 milliseconds and the off time is 5 milliseconds, the pulse specification of pixel A is 4Pluse, which means that the light-dark switching is performed 7 times within 8 milliseconds (dark-bright-dark-bright-dark-bright), and the pulse specification of pixel B is 12Pluse, which means that the light-dark switching is performed 23 times within 8 milliseconds (dark-bright-dark-bright...dark-bright-dark-bright). The ratio of the light-on time to the off time in the flashing cycle of pixel A and pixel B is the same (3 milliseconds: 5 milliseconds), but the switching frequency of pixel B is greater than that of pixel A, so pixel B has a better display effect and is more in line with current lighting standards. The higher the frequency, the more beneficial it is for eye protection.
[0004] In summary, higher frequency PWM dimming will make the display effect better and more conducive to eye protection, but higher frequency PWM dimming requires the display driver IC (DDIC) to have more resource support, and new DDICs need to be developed to support higher frequency PWM dimming. For example, the existing DDIC only supports a maximum of 32Pluse pulse specifications. If you want to use PWM dimming with a 36Pluse pulse specification, you need to develop a new DDIC. Summary of the invention
[0005] The present application provides a display dimming method and related equipment, which can achieve higher frequency dimming, thereby improving the display effect and being more conducive to eye protection.
[0006] In a first aspect, some embodiments of the present application provide a display dimming method. The display dimming method may include: when it is detected that the screen brightness is in a low brightness range, determining a first pulse specification based on a first screen refresh rate, the first pulse specification is a pulse specification not supported by a display driver chip in an electronic device, and the first pulse specification is a pulse specification corresponding to a first screen refresh rate in a preset low brightness range; dimming is performed by repeating a second pulse specification for a preset number of times within the display time of each frame, the pulse specification reached after the second pulse specification is repeated a preset number of times is the same as the first pulse specification, the second pulse specification is a pulse specification supported by a display driver chip in a preset electronic device, and the display time of a frame is determined based on the first screen refresh rate of the electronic device.
[0007] Through the above method, the pulse specifications supported by the display driver chip in the electronic device are repeated for a preset number of times during the display time of each frame to achieve the pulse specifications corresponding to the preset low-brightness interval, thereby achieving higher frequency dimming, thereby improving the display effect and being more conducive to eye protection.
[0008] In one possible implementation, dimming is performed by repeating a preset number of second pulse specifications during the display time of each frame, specifically: based on the first screen refresh rate of the electronic device, the second pulse specification and the preset number of repetitions of the second pulse specification, a first pulse timing is determined, and the first pulse timing meets the first pulse specification; based on the first pulse timing, pixels are controlled to alternate between light and dark.
[0009] Through the above method, the first pulse timing is determined based on the current screen refresh rate of the electronic device, the preset second pulse specification and the preset number of times, so that the first pulse specification can be used for dimming for different screen refresh rates, and the pixel light and dark alternation can be accurately controlled based on the first pulse timing.
[0010] In a possible implementation, the pixel is controlled to alternate between light and dark based on the first pulse timing, specifically: the pixel is reset within the first high level in the pulse timing corresponding to each second pulse specification within the holding time in the first pulse timing; the pixel is alternately controlled to alternate between light and dark based on the first pulse timing except for the first high level in the pulse timing corresponding to each second pulse specification within the holding time. The holding time is the time period other than the first high level in the first pulse timing.
[0011] Through the above method, the pixel is reset within the first high level in the pulse timing corresponding to each second pulse specification within the holding time in the first pulse timing, which can meet the processes of different screens and meet different reset timing requirements.
[0012] In one possible implementation, in the first pulse timing, the time period corresponding to the first high level in the pulse timing corresponding to any second pulse specification is greater than the time period corresponding to other high levels except the first high level in the pulse timing corresponding to the second pulse specification.
[0013] Through the above method, the time period corresponding to the first high level is longer than the time periods corresponding to other high levels, which saves time and enables better high frequency.
[0014] In one possible implementation, the pixel includes a light-emitting diode, the first pulse timing includes a high level and a low level, and the pixel is alternately lit and dark based on the first pulse timing, specifically: when it is at a high level in the first pulse timing except for a time period corresponding to the first high level in a pulse timing corresponding to any second pulse specification, the light-emitting diode in the pixel is controlled not to emit light; when it is at a low level in the first pulse timing, the light-emitting diode in the pixel is controlled to emit light.
[0015] Through the above method, the pixels can be accurately controlled to alternate between light and dark, thereby achieving accurate dimming according to the first pulse specification.
[0016] In one possible implementation, the method further includes: after detecting that the first screen refresh rate of the electronic device changes to the second screen refresh rate, determining a second pulse timing based on the second screen refresh rate and the second pulse specification; and the electronic device controls the pixel to alternate between light and dark based on the second pulse timing. The pulse specification corresponding to the second pulse timing is different from the first pulse specification.
[0017] Through the above method, after the screen refresh rate of the electronic device changes, the pulse timing that meets the first pulse specification is re-determined to achieve dimming at all screen refresh rates.
[0018] In one possible implementation, the method also includes: when it is detected that the screen brightness is in the highlight range, determining a third pulse specification, the third pulse specification is a pulse specification corresponding to a preset highlight range; repeating a fourth pulse specification a preset number of times during the display time of each frame to perform dimming, the pulse specification achieved after the fourth pulse specification is repeated a preset number of times is the same as the third pulse specification, and the fourth pulse specification is a pulse specification supported by a display driver chip in a preset electronic device.
[0019] Through the above method, the pulse specification supported by the display driver chip in the electronic device is repeated a preset number of times within the display time of each frame of the picture to achieve the pulse specification corresponding to the preset highlight interval.
[0020] In a second aspect, the present application provides an electronic device, comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the display dimming method in any possible implementation of the first aspect.
[0021] In a third aspect, the present application provides a display dimming device, which may be an electronic device, or a device in an electronic device, or a device that can be used in combination with an electronic device; wherein the display dimming device may also be a chip system, and the display dimming device may execute the method executed by the electronic device in the first aspect. The functions of the display dimming device may be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more units corresponding to the above functions. The unit may be software and / or hardware. The operations and beneficial effects performed by the display dimming device may refer to the methods and beneficial effects described in the first aspect above, and the repeated parts will not be repeated.
[0022] In a fourth aspect, the present application provides a chip comprising a processor and an interface, wherein the processor and the interface are coupled; the interface is used to receive or output signals, and the processor is used to execute code instructions to execute the display dimming method in any possible implementation of the first aspect above.
[0023] In a fifth aspect, the present application provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the display dimming method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1A A schematic diagram of a PWM dimming principle provided in an embodiment of the present application;
[0025] Figure 1B A timing diagram of a circuit of a 7T1C structure within two frames provided in an embodiment of the present application;
[0026] Figure 1C A schematic diagram of an EM timing sequence with three pulses of the same specifications provided in an embodiment of the present application;
[0027] Figure 2 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0028] Figure 3 It is a schematic diagram of the hardware structure of a screen of an electronic device provided in an embodiment of the present application;
[0029] Figure 4The present application provides a flowchart of a display dimming method based on a hardware structure;
[0030] Figure 5 The embodiment of the present application provides a schematic diagram of a user manually adjusting the screen brightness of an electronic device;
[0031] Figure 6 It is a schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;
[0032] Figure 7 is a flow chart of a display dimming method provided in an embodiment of the present application;
[0033] Fig. 8A This is a pulse timing diagram provided in an embodiment of the present application;
[0034] Figure 8B It is a schematic diagram of the holding time in a pulse timing provided in an embodiment of the present application;
[0035] Figure 8C This is a pulse timing diagram under different screen refresh rates provided by an embodiment of the present application;
[0036] Fig.8D is another pulse timing diagram provided in an embodiment of the present application;
[0037] Fig. 9 is a structural schematic diagram of a display dimming device provided in an embodiment of the present application;
[0038] Fig.10 It is a schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0040] It should be understood that the terms "first", "second", etc. in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0041] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.
[0042] In order to facilitate understanding of the solution provided by the embodiment of the present application, the following introduces the relevant concepts involved in the embodiment of the present application:
[0043] Organic Light-Emitting Diode (OLED) screen: It is an organic light-emitting diode technology. OLED screen provides brightness through pixel self-luminescence. For example, the resolution of OLED screen is 1920*1080, which means that 2073600 pixels emit light. Another common screen is Liquid Crystal Display (LCD), which emits light through backlight, with few bulbs and easy to control. Generally, OLED screen has only three layers of internal structure, while LCD screen has seven layers of internal structure, so OLED screen is thinner and lighter than LCD screen. In the current era of pursuing thinner and lighter mobile phones, OLED screens are increasingly used.
[0044] Pulse Width Modulation (PWM) dimming: PWM dimming is a technology that controls brightness by adjusting the pulse width of a signal. By periodically changing the power supply time and power outage time, the effect of different brightness is simulated. For example, the user sets the brightness of the mobile phone to 75%. In a very short period of time, the light-emitting diodes on the screen of the electronic device will emit light 75% of the time and not emit light 25% of the time. Due to the persistence of vision effect of the human eye, the screen of the electronic device will appear to the naked eye as if it is always on at 75% brightness.
[0045] PWM dimming can change the brightness of each pixel by adjusting the pulse width and period, thereby achieving the purpose of overall dimming. Figure 1A As shown, Figure 1A This is a schematic diagram of the PWM dimming principle. Figure 1A The circuit is a 7T1C structure circuit (7T1C means that the circuit includes 7 thin film transistors and a capacitor). Figure 1A ELVDD indicates the internal working voltage of the device, ELVSS indicates the voltage of the common ground terminal of the circuit, Cst indicates the capacitor, Scan1, Scan2 and Scan3 all indicate the scanning signal lines, Electromagnetic (EM) indicates the light emitting control line, Vdata indicates the data transmission line, the electronic component marked with 101 is the light emitting diode 101, and the electronic components marked with T1, T2, T3, T4, T5, T6 and T7 are triodes. The scanning signal line is used to control the gate scanning signal, and the scanning mainly includes resetting, charging and compensating the pixels.
[0046] Combine the following Figure 1A The PWM dimming principle is further introduced. Figure 1A The working process of the circuit of the 7T1C structure shown is mainly divided into a writing phase and a holding phase.
[0047] Writing stage: Scan1 is at a negative potential, and the T4 tube connected to Scan1 is turned on to charge the capacitor Cst; Scan2 is at a negative potential, and the T2, T1, and T3 tubes are turned on; Scan3 is at a negative potential, and the T7 tube is turned on to reset the OLED. Figure 1B As shown, Figure 1B For the above Figure 1A The circuit of the 7T1C structure shown is a timing diagram corresponding to two frames when it is working. Figure 1B The 120HZ in the figure indicates that the screen refresh rate of the electronic device is 120HZ, that is, the time corresponding to one frame is 1 / 120 second, that is, 8.3 milliseconds. Within the one frame time, the H1 time period is the time period corresponding to the writing phase. The H1 is located at the first high level in each frame EM timing sequence.
[0048] Holding stage: Through the high and low levels of EM, T5 and T6 are turned on, allowing T1 to work in the saturation area and drive the OLED to emit light ( Figure 1A The light emitting diode 101 in the embodiment emits light). Figure 1B As shown, the time period corresponding to the holding phase is Figure 1B Time periods other than H1.
[0049] The ratio of the time when the light-emitting diode emits light to the time when the light-emitting diode does not emit light is called the duty cycle. The duty cycle of the time when the light-emitting diode emits light to the time when the light-emitting diode does not emit light is determined by the EM timing. The duty cycle determines the brightness of the screen of the electronic device. The more the total time period corresponding to all low levels in the EM timing accounts for the EM timing, the brighter the screen of the electronic device. As Figure 1C shown Figure 1C shows three EM timings with the same pulse specifications. Among them, the total time period corresponding to the low level in the EM1 timing accounts for the least of the EM1 timing, and the total time period corresponding to the low level in the EM3 timing accounts for the most of the EM3 timing. Figure 1C The proportion of the total time period corresponding to the low level of the three EM timings shown in the EM timing is: EM1 < EM2 < EM3. Therefore, the brightness of the screens of the electronic devices corresponding to the three timings is: the brightness of the screen of the electronic device corresponding to the EM1 timing < the brightness of the screen of the electronic device corresponding to the EM2 timing < the brightness of the screen of the electronic device corresponding to the EM3 timing.
[0050] Since the above-mentioned PWM dimming continuously switches between the light-emitting diode emitting light and not emitting light, the low-frequency PWM dimming at low brightness does not meet the eye protection standard according to the lighting standard. In order to achieve higher-frequency dimming and thus improve the display effect, the present application provides a display control method and related devices. In a specific implementation, the above-mentioned display dimming method can be executed by the electronic device 100. Among them, the electronic device 100 has a communication function, and the display screen of the electronic device 100 is an OLED display screen, but it is not limited thereto.
[0051] The following introduces the hardware structure of the electronic device 100. Please refer to Figure 2 , Figure 2 which is a schematic diagram of the hardware structure of the electronic device 100 provided by an embodiment of the present application.
[0052] The electronic device 100 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.
[0053] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0054] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0055] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0056] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system. The processor 110 calls the instructions or data stored in the memory, so that the electronic device 100 executes the display dimming method executed by the electronic device in the following method embodiment.
[0057] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0058] The charging management module 140 is used to receive charging input from a charger, where the charger can be a wireless charger or a wired charger.
[0059] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. In some other embodiments, the power management module 141 can also be set in the processor 110.
[0060] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0061] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0062] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0063] The modulation and demodulation processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor.
[0064] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as Wi-Fi networks), bluetooth (BT), BLE broadcast, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0065] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with the network and other devices through wireless communication technology.
[0066] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0067] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1. The display screen 194 may be an outward folding screen, that is, a display screen that is folded outward.
[0068] The electronic device 100 can realize the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor. The ISP is used to process the data fed back by the camera 193. The camera 193 is used to capture static images or videos. The camera 193 may include a front camera and a rear camera, the front camera is located in the display area of the screen, and the rear camera is located in the back area of the screen. The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. The video codec is used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs.
[0069] NPU is a neural-network (NN) computing processor. It can quickly process input information by drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, and can also continuously self-learn.
[0070] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement a data storage function.
[0071] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function), etc. The data storage area may store data (such as audio data) created during the use of the electronic device 100, etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as a flash memory device, etc.
[0072] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0073] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0074] Speaker 170A, also known as "speaker", is used to convert audio electrical signals into sound signals. Receiver 170B, also known as "earpiece", is used to convert audio electrical signals into sound signals. Microphone 170C, also known as "microphone" and "microphone", is used to convert sound signals into electrical signals. Headphone interface 170D is used to connect wired headphones. Pressure sensor 180A is used to sense pressure signals and can convert pressure signals into electrical signals. In some embodiments, pressure sensor 180A can be set on display screen 194. Gyroscope sensor 180B can be used to determine the motion posture of electronic device 100. Air pressure sensor 180C is used to measure air pressure. Magnetic sensor 180D includes Hall sensor. Acceleration sensor 180E can detect the magnitude of acceleration of electronic device 100 in various directions (generally three axes). Distance sensor 180F is used to measure distance. Proximity light sensor 180G can include, for example, light emitting diode (LED) and light detector. Ambient light sensor 180L is used to sense ambient light brightness. Fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect the temperature. The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The bone conduction sensor 180M can obtain vibration signals. The buttons 190 include a power button, a volume button, etc. The motor 191 can generate vibration prompts. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect a SIM card.
[0075] In order to better understand the display dimming method of the embodiment of the present application, the following further introduces the relevant hardware structure of the screen of the electronic device. Figure 3 , Figure 3 1 is a schematic diagram of the hardware structure of a screen of an electronic device provided in an embodiment of the present application. The screen of the electronic device includes a display area, a GOA unit and a DDIC. The display area is connected to the DDIC and the GOA unit, and the GOA unit is connected to the DDIC.
[0076] Display area (display module): The display area includes multiple pixels. The higher the resolution of the screen of the electronic device, the more pixels the display area includes. For example, if the resolution of the screen of the electronic device is 1080x1920 pixels, each row in the display area includes 1080 pixels, each column includes 1920 rows of pixels, and the display area includes 2073600 pixels in total. Figure 3 As shown, Figure 3 A small square in the display area corresponds to one pixel.
[0077] GOA unit: The GOA unit is connected to the display area, and the GOA unit can realize the line-by-line scanning driving function of the display area. It should be noted that the display of the electronic device can only include one GOA unit (including only Figure 3 The GOA unit on the left side shown, or only includes Figure 3 The GOA unit on the right side shown in FIG. 1 may also include two GOA units (such as Figure 3 As shown in FIG. 1 ). Since the GOA unit drives the display area row by row, the pixels in the same row are scanned and driven at the same time, and the pixels in different rows may be driven inconsistently. That is, when the pixels in the same row are dimmed, the LEDs of the pixels in the same row are lit at the same time, while when the pixels in different rows are dimmed, the LEDs of the pixels in different rows may not be lit at the same time.
[0078] Exemplarily, the display area includes the following six pixels: A11, A12, A13, A21, A22, A23, wherein A11, A12, A13 are located in the first row of the display area, and A21, A22, A23 are located in the second row of the display area. A11 and A21 are located in the first column of the display area, and the same is true for A12 and A22, and the same is true for A13 and A23. When the light-emitting diode in A11 emits light, the light-emitting diodes in A12 and A13 also emit light, while the light-emitting diodes in A21, A22 and A23 do not emit light.
[0079] DDIC: DDIC sends driving signals and data to the display panel in the form of electrical signals. By controlling the brightness and color of the screen, image information such as letters and pictures can be presented on the screen.
[0080] Data monitoring module: used to detect the brightness of the electronic device screen and the refresh rate of the electronic device screen. The data monitoring module can be embedded in the DDIC or independent of the DDIC.
[0081] Based on the hardware structure of the screen of the electronic device, the embodiment of the present application provides a process of a display dimming method based on the hardware structure. Figure 4 As shown, the display dimming method includes the following steps 401 to 407. Among them:
[0082] 401. When a data monitoring module detects that a brightness interval in which the screen brightness of an electronic device is located changes, a first brightness interval is determined.
[0083] The brightness interval is a preset brightness interval, for example, the preset brightness interval is the following two brightness intervals: brightness interval A [0 nits, 90 nits], brightness interval B [90 nits, 200 nits]. When the screen brightness of the electronic device changes from 180 nits to 80 nits, the brightness interval in which the screen brightness of the electronic device is located changes from brightness interval B (brightness interval where 180 nits is located) to brightness interval A (brightness interval where 80 nits is located), and the first brightness interval is brightness interval A.
[0084] In a possible implementation, the screen brightness of the electronic device may be changed by manual adjustment by a user, for example, Figure 5 As shown, the user Figure 5 The interface shown in the left image is triggered by sliding from the upper right corner of the electronic device screen from top to bottom. Figure 5 The user slides the screen brightness slider marked with 501 to manually adjust the screen brightness of the electronic device. Figure 5 This is for example only, and this application does not limit how a user manually adjusts the screen brightness of an electronic device.
[0085] Optionally, the change in screen brightness of the electronic device may be automatically adjusted by the electronic device according to the brightness of the environment in which the electronic device is currently located. Specifically, when the photosensitive module in the electronic device senses that the brightness of the environment has become brighter, the electronic device automatically adjusts the screen brightness up so that the user can clearly see the electronic device screen in a high-brightness environment; or, when the photosensitive module in the electronic device senses that the brightness of the environment has become darker, the electronic device automatically adjusts the screen brightness down so that the user's eyes can be protected in a darker environment.
[0086] 402. The data monitoring module sends a first brightness interval to the DDIC.
[0087] Among them, DDIC and the first brightness range can be found in the above introduction, and this application will not elaborate on them here.
[0088] 403. DDIC determines a first pulse specification based on the received first brightness interval.
[0089] The pulse specification is used to indicate the number of pulses in a frame. For example, if the first pulse specification is 4Pluse, the number of pulses in a frame is 4 (there are 4 high levels in a frame and 4 low levels in a frame). The larger the pulse specification, the more pulses there are in a frame. The pulse specification is not equivalent to the pulse timing. One pulse specification can correspond to multiple different pulse timings, for example Figure 1C As shown, Figure 1CThe pulse specifications of EM1 timing, EM2 timing and EM3 timing are all 4Pluse, but EM1 timing, EM2 timing and EM3 timing are three different pulse timings.
[0090] In a possible embodiment, a mapping table between brightness intervals and pulse specifications is preset in the electronic device. The mapping table between the brightness intervals and the pulse specifications may be stored in the DDIC. There is a one-to-one correspondence between the brightness intervals and the pulse specifications. For example, the mapping relationship between the brightness intervals and the pulse specifications is as follows: brightness interval A—pulse specification A, brightness interval B—pulse specification B. If the first brightness interval is brightness interval A, the first pulse specification determined by the DDIC based on the first brightness interval is pulse specification A. Similarly, if the first brightness interval is brightness interval B, the first pulse specification determined by the DDIC based on the first brightness interval is pulse specification B.
[0091] Optionally, the above steps 401 to 403 can be replaced by the following steps: when the data supervision module detects that the brightness interval in which the screen brightness of the electronic device is located changes, the data supervision module determines the first brightness interval; based on the first brightness interval, the data supervision module determines the first pulse specification; the data supervision module sends the first pulse specification to the DDIC. In other words, the step of determining the first pulse specification based on the first brightness interval can be performed by the DDIC, or it can be performed by the data supervision module and then the first pulse specification is sent to the DDIC.
[0092] 404. The data supervision module sends the first screen refresh rate to the DDIC.
[0093] The first screen refresh rate is the current screen refresh rate of the electronic device, and the first screen refresh rate is used to indicate the number of screen refreshes per second, and thus can also be used to indicate the time corresponding to one frame. For example, if the first screen refresh rate is 120 Hertz (HZ), then when the screen of the electronic device has a refresh rate of 120HZ, the screen of the electronic device refreshes 120 times per second, and at this screen refresh rate, the time corresponding to one frame is: 1\120HZ=8.3 milliseconds.
[0094] In a possible embodiment, the data supervision module sends the first screen refresh rate to the DDIC, specifically: after the data supervision module sends the first brightness interval to the DDIC, the data supervision module sends the first screen refresh rate to the DDIC. That is, when the brightness interval in which the screen brightness of the electronic device is located changes, the first screen refresh rate is sent, and this step 404 can be located before step 403. Alternatively, the data supervision module sends the first brightness interval and the first screen refresh rate to the DDIC. That is, when the brightness interval in which the screen brightness of the electronic device is located changes, the first screen refresh rate is sent at the same time.
[0095] Optionally, the data supervision module sends the first screen refresh rate to the DDIC, specifically: when the data supervision module detects that the screen refresh rate of the electronic device has changed, the data supervision module sends the first screen refresh rate to the DDIC. That is, if the screen brightness of the electronic device has not changed, but the screen refresh rate of the electronic device has changed, the data supervision module will also send the first screen refresh rate to the DDIC.
[0096] 405. The DDIC determines a first pulse timing based on the first pulse specification and the first screen refresh rate.
[0097] Among them, the pulse specifications, screen refresh rate and pulse timing can be found in the above introduction, and this application will not go into details here.
[0098] 406. The DDIC sends a first pulse sequence to the display module.
[0099] Optionally, the DDIC sends the first pulse timing to the display module, which may be specifically as follows: the DDIC sends the first pulse timing to the GOA unit, and the GOA unit sends the first pulse timing to the display module, so as to drive the pixels in the display module row by row.
[0100] 407. The display module performs dimming based on the first pulse timing sequence.
[0101] The display module includes multiple pixels. Taking any one pixel as an example, when the first pulse timing is at a high level, the light-emitting diode of the pixel does not emit light; when the first pulse timing is at a low level, the light-emitting diode of the pixel emits light.
[0102] By using the above method, the pulse specifications supported by the display driver chip in the electronic device are repeated a preset number of times during the display time of each frame to achieve the pulse specifications corresponding to the preset low-brightness interval, thereby achieving higher frequency dimming and improving the display effect.
[0103] Figure 6 A schematic diagram of the software structure of an electronic device 100 provided in an embodiment of the present application.
[0104] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0105] The application layer can include a series of application packages. Figure 6As shown, the application layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0106] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Figure 6 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0107] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0108] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0109] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0110] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0111] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0112] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the user terminal vibrates, the indicator light flashes, etc.
[0113] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0114] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0115] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0116] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0117] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0118] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0119] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0120] A 2D graphics engine is a drawing engine for 2D drawings.
[0121] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0122] The following further introduces the display dimming method provided by the embodiment of the present application:
[0123] See also Figure 7 , Figure 7 : is a flow chart of a display dimming method provided in an embodiment of the present application.
[0124] 701. When the electronic device detects that the screen brightness is in a low brightness range, the electronic device determines a first pulse specification based on a first screen refresh rate. The first pulse specification is a pulse specification not supported by a display driver chip in the electronic device. The first pulse specification is a pulse specification corresponding to the first screen refresh rate in a preset low brightness range.
[0125] The low brightness interval is a preset brightness interval. When the electronic device detects that the screen brightness is in the low brightness interval, the first pulse specification can be determined as follows: when the electronic device detects that the screen brightness changes from the high brightness interval to the low brightness interval, the first pulse specification is determined. The pulse specification and DDIC can be referred to the above description, and this application will not elaborate on them here.
[0126] For example, at the first moment, the screen brightness of the electronic device is 100 nits, the low brightness range is [0 nits, 90 nits], and the high brightness range is [90 nits, 200 nits]. At the second moment, the screen brightness of the electronic device becomes 80 nits. At this time, the electronic device detects that the screen brightness is in the low brightness range, and the electronic device determines the first pulse specification.
[0127] The pulse specifications supported by DDIC are designed by DDIC when it leaves the factory. The pulse specifications supported by DDIC in common use include: 4Pluse, 12Pluse and 32Pluse, etc. Among them, the upper limit of the pulse specifications supported by DDIC is 32Pluse. The first pulse specification can be 20Pluse, etc.
[0128] In a possible embodiment, the first pulse specification is a pulse specification higher than the upper limit of the pulse specification supported by DDIC, for example, the first pulse specification is 36Pluse (higher than 32Pluse).
[0129] In a possible embodiment, when the electronic device detects that the screen brightness is in a low brightness range, the electronic device determines the first pulse specification based on the first screen refresh rate. Specifically, when the electronic device detects that the brightness is in a low brightness range, the electronic device determines the second pulse specification through a preset brightness range and pulse specification mapping table; determines the preset number of repetitions based on the first screen refresh rate and the time period corresponding to the second pulse specification; and determines the first pulse specification based on the preset number of repetitions and the second pulse specification.
[0130] The time period corresponding to the second pulse specification is preset. For example, the time period corresponding to the second pulse specification (12Pluse) is 2.67 milliseconds, the first screen refresh rate is 120HZ, and the time of one frame corresponding to the first screen refresh rate is 8.3 milliseconds. Based on the first screen refresh rate and the time period corresponding to the second pulse specification, the preset number of repetitions is determined to be: 8.3 milliseconds / 2.67 milliseconds = 3 times. Therefore, the first pulse specification is 12Plusex3 = 36Pluse.
[0131] Optionally, when the electronic device detects that the screen brightness is in the low brightness range, the first pulse specification is determined based on the first screen refresh rate, specifically: the first pulse timing is determined based on the first screen refresh rate and the preset refresh rate and pulse timing mapping relationship. For example, the preset refresh rate and pulse timing mapping relationship is: 120HZ-36Pluse pulse timing, 60HZ-72Pluse pulse timing, when the first screen is refreshed to 120HZ, the first pulse specification is 36Pluse.
[0132] 702. The electronic device repeats the second pulse specification for a preset number of times to perform dimming during the display time of each frame. The pulse specification reached after the second pulse specification is repeated the preset number of times is the same as the first pulse specification. The second pulse specification is a pulse specification supported by a display driver chip in a preset electronic device. The display time of one frame is determined based on a first screen refresh rate of the electronic device.
[0133] Among them, within each frame time, the second pulse specification is repeated a preset number of times, so that the pulse specification within each frame time is the same as the first pulse specification. The second pulse specification is a pulse specification supported by DDIC (such as 4Pluse, 12Pluse and 32Pluse, etc.), and the time period corresponding to one frame is determined based on the first screen refresh rate of the electronic device. For example, if the first screen refresh rate of the electronic device is 120HZ, then the time period corresponding to one frame is 1 / 120HZ=8.3 milliseconds; if the first screen refresh rate of the electronic device is 60HZ, then the time period corresponding to one frame is 1 / 120HZ=16.6 milliseconds.
[0134] Exemplarily, the first pulse specification is 36Pluse, the second pulse specification is 12Pluse, the preset number of times is 3 times, and 12Pluse (second pulse specification) is repeated 3 times, so that the achieved pulse specification (3x12Pluse) is the same as 36Pluse (first pulse specification).
[0135] In a possible embodiment, the electronic device repeats a second pulse specification for a preset number of times to perform dimming within the display time of each frame, including: the electronic device determines a first pulse timing based on a first screen refresh rate of the electronic device, the second pulse specification, and a preset number of times the second pulse specification is repeated, and the first pulse timing satisfies the first pulse specification; and the pixels are controlled to alternate between light and dark based on the first pulse timing.
[0136] The number of high levels in the first pulse sequence is the same as the number of pulses in the first pulse specification, or the number of low levels in the first pulse sequence (the number of high levels is the same as the number of low levels) is the same as the number of pulses in the first pulse specification. For example, if the first pulse specification is 36Pluse, there are 36 high levels and 36 low levels in the first pulse sequence. The first screen refresh rate is the current refresh rate of the electronic device screen. The pixel is any pixel in the screen of the electronic device.
[0137] For example, see Fig. 8A As shown, Fig. 8A The timing marked with 801 is the pulse timing corresponding to the second pulse specification. The pulse specification of the pulse timing 801 is 12Pluse, and the first pulse specification is 36Pluse. Fig. 8A The timing marked with 802 is the first pulse timing 802. The pulse timing 801 is repeated three times to obtain the first pulse timing 802. The pulse specification of the first pulse timing 802 is 36Pluse, which meets the first pulse specification.
[0138] Through the above method, the first pulse timing is determined based on the current screen refresh rate of the electronic device, the preset second pulse specification and the preset number of times, so that the first pulse specification can be used for dimming for different screen refresh rates, and the pixel light and dark alternation can be accurately controlled based on the first pulse timing.
[0139] In a possible embodiment, the electronic device controls the pixel to alternate between light and dark based on the first pulse timing, specifically: the electronic device resets the pixel within the first high level in the pulse timing corresponding to each second pulse specification within the holding time in the first pulse timing; and within the holding time, except for the first high level in the pulse timing corresponding to each second pulse specification, the pixel is alternately controlled to alternate between light and dark based on the first pulse timing. The holding time is the time period other than the first high level in the first pulse timing.
[0140] The scanning of pixels can refer to the description in the above background technology, and the present application will not elaborate on it here. The holding time can refer to the holding stage in the background technology, and the present application will not elaborate on it here. The embodiment of the present application resets the pulse timing corresponding to the second pulse specification repeated each time in the first pulse timing. Fig. 8A As shown, the first pulse sequence 802 repeats the pulse sequence 801 three times, and each pulse sequence 801 resets the pixel in the time period corresponding to the first high level, that is, resets three times in one frame. Figure 8B As shown, Figure 8B The time period corresponding to the pulse timing segment marked with 803 is the holding time.
[0141] Through the above method, the pixel is reset within the first high level in the pulse timing corresponding to each second pulse specification within the holding time in the first pulse timing, which can meet the processes of different screens and meet different reset timing requirements.
[0142] In a possible embodiment, in the first pulse timing, the time period corresponding to the first high level in the pulse timing corresponding to any second pulse specification is greater than the time period corresponding to other high levels except the first high level in the pulse timing corresponding to the second pulse specification.
[0143] That is, the time period corresponding to the first high level is greater than the time period corresponding to any high level within the holding time, or the time period corresponding to the first high level is greater than the time period corresponding to any low level within the holding time.
[0144] It should be noted that the time period corresponding to the first high level may also be equal to the time period corresponding to any high level in the holding time.
[0145] Through the above method, the time period corresponding to the first high level is longer than the time periods corresponding to other high levels, which saves time and enables better high frequency.
[0146] In one possible implementation, the pixel includes a light-emitting diode, the first pulse timing includes a high level and a low level, and the pixel is alternately lit and dark based on the first pulse timing, specifically: when it is at a high level in the first pulse timing except for a time period corresponding to the first high level in a pulse timing corresponding to any second pulse specification, the light-emitting diode in the pixel is controlled not to emit light; when it is at a low level in the first pulse timing, the light-emitting diode in the pixel is controlled to emit light.
[0147] Among them, when it is at any high level within the holding time of the first pulse timing, the light-emitting diode in the pixel is controlled not to emit light; when it is at any low level within the holding time of the first pulse timing, the light-emitting diode in the pixel is controlled to emit light. It should be noted that when it is at the first high level in the first pulse timing, the light-emitting diode in the pixel does not emit light. For details, please refer to Figure 1A As shown in the circuit diagram, the light emitting diode 101 can be controlled by the T1 tube, the T5 tube and the T6 tube to jointly control whether current flows through, thereby controlling whether the light emitting diode 101 emits light.
[0148] In a possible embodiment, after detecting that the first screen refresh rate of the electronic device changes to the second screen refresh rate, the electronic device determines a second pulse timing based on the second screen refresh rate and the second pulse specification; the electronic device controls the pixel to alternate between light and dark based on the second pulse timing. The pulse specification corresponding to the second pulse timing is different from the first pulse specification.
[0149] The second screen refresh rate is different from the first screen refresh rate, and the time period of one frame corresponding to the second screen refresh rate is also different from the time period of one frame corresponding to the first time refresh rate. Since the second pulse specification is preset and unchanged, the number of the second pulse specifications at the second screen refresh rate is different from the number of the second pulse specifications at the first screen refresh rate.
[0150] For example, the first screen refresh rate is 120HZ, the time corresponding to the first frame at the first screen refresh rate is 8.3ms, the first pulse specification at the first screen refresh rate is 36Pluse, the second pulse specification is 12Pluse, and the time period corresponding to a second pulse specification is 2.76ms. The second pulse specification is repeated 3 times at the first screen refresh rate (within 8.3ms) to achieve the first pulse specification. When the screen refresh rate changes from the first screen refresh rate (120HZ) to the second screen refresh rate (60HZ), the time corresponding to the first frame at the second screen refresh rate is 16.6ms, and the time period corresponding to a second pulse specification is 2.76ms. The second pulse specification can be repeated 6 times at the first screen refresh rate (within 16.6ms), that is, the pulse specification at the second screen refresh rate is 12Plusex6=72Pluse. That is to say, the time of one frame corresponding to 60HZ is twice that of one frame corresponding to 120HZ, so the number of repetitions of the second pulse specification at 60HZ is twice that of the second pulse specification at 120HZ, that is, Figure 8C As shown, if the pulse specification at 120HZ is 36Pluse (pulse timing marked by 804), the pulse specification at 60HZ is 72Pluse (pulse timing marked by 805).
[0151] In a possible embodiment, the electronic device determines the second pulse timing based on the second screen refresh rate and the second pulse specification. Specifically, the electronic device determines the number of repetitions based on the second screen refresh rate and the time period corresponding to the second pulse specification; the electronic device determines the second pulse timing based on the number of repetitions and the second pulse specification.
[0152] For example, if the second screen refresh rate is 60 Hz (one frame time is 16.6 ms), the time period corresponding to the second pulse specification is 2.76 ms, and the number of repetitions is 16.6 ms / 2.76 ms = 6 times. The second pulse timing is a pulse timing corresponding to the second pulse specification repeated 6 times.
[0153] Optionally, after detecting that the first screen refresh rate of the electronic device is changed to the second screen refresh rate, the electronic device determines a second pulse timing based on a mapping relationship between the second screen refresh rate and a preset refresh rate and pulse timing; the electronic device controls the pixel to alternate between light and dark based on the second pulse timing. The pulse specification corresponding to the second pulse timing is different from the first pulse specification.
[0154] For example, the preset mapping relationship between refresh rate and pulse timing is: 120HZ-36Pluse pulse timing, 60HZ-72Pluse pulse timing. When the electronic device detects that the refresh rate of the electronic device becomes 60HZ, it determines that the second pulse timing is a 72Pluse pulse timing.
[0155] In a possible embodiment, the pulse specification corresponding to the second pulse timing is higher than the upper limit of the pulse specification supported by the DDIC.
[0156] In a possible embodiment, when the electronic device detects that the screen brightness is in the highlight range, it determines a third pulse specification, and the third pulse specification is a pulse specification corresponding to a preset highlight range; the electronic device repeats the fourth pulse specification a preset number of times within the display time of each frame to perform dimming, and the pulse specification reached after the fourth pulse specification is repeated the preset number of times is the same as the third pulse specification, and the fourth pulse specification is a pulse specification supported by a display driver chip in a preset electronic device.
[0157] The high brightness interval is a preset brightness interval. When the electronic device detects that the screen brightness is in the high brightness interval, the third pulse specification can be determined as follows: when the electronic device detects that the screen brightness changes from the low brightness interval to the high brightness interval, the third pulse specification is determined. The pulse specification and DDIC can be referred to in the above description, and this application will not elaborate on them here.
[0158] For example, at the first moment, the screen brightness of the electronic device is 80 nits, the low brightness range is [0 nits, 90 nits], and the high brightness range is [90 nits, 200 nits]. At the second moment, the screen brightness of the electronic device becomes 100 nits. At this time, the electronic device detects that the screen brightness is in the high brightness range, and the electronic device determines the third pulse specification.
[0159] For example, Fig.8D As shown, Fig.8D The pulse timing marked with 806 is the pulse timing 806 corresponding to the fourth pulse specification, the timing marked with 807 is the pulse timing 806 corresponding to the third pulse specification, and the timing marked with 808 is the timing 808 corresponding to the reset / compensation operation by the GOA unit. The pulse timing 806 is repeated three times to obtain the pulse timing 807 that meets the third pulse specification.
[0160] For display modules with different processes, there are different reset timing requirements. Figure 1A The reset timing requirements of the 7T1C and 8T1C (8T1C means that the circuit includes 8 thin-film transistors and a capacitor) shown are different. Usually the reset is performed at equal time intervals and at the high level of the pulse timing. The existing implementation method requires DDIC to accurately control each high level for reset. For example, for 8T1C, it is necessary to reset at the 1st, 13th and 15th. It is necessary to redesign the DDIC, which takes a lot of time and resources. The display dimming method provided in the present application only needs to set a pulse specification (the second pulse specification or the fourth pulse specification), and reset at equal time intervals by repeating a preset number of times to meet the reset requirements of 8T1C.
[0161] See also Fig. 9 , Fig. 9 A schematic diagram of the structure of a display dimming device 900 provided in an embodiment of the present application. Fig. 9 The display dimming device shown may be an electronic device, or a device in an electronic device, or a device that can be used in conjunction with an electronic device. Fig. 9 The display dimming device shown may include a processing unit 901 and a control unit 902. Among them:
[0162] The processing unit 901 is used to determine a first pulse specification based on a first screen refresh rate when it is detected that the screen brightness is in a low brightness interval, where the first pulse specification is a pulse specification that is not supported by a display driver chip in the electronic device, and the first pulse specification is a pulse specification corresponding to the first screen refresh rate in a preset low brightness interval;
[0163] The control unit 902 is used to repeat the second pulse specification for a preset number of times for dimming within the display time of each frame of the picture. The pulse specification reached after the second pulse specification is repeated the preset number of times is the same as the first pulse specification. The second pulse specification is a pulse specification supported by the display driver chip in the preset electronic device. The display time of one frame of the picture is determined based on the first screen refresh rate of the electronic device.
[0164] In a possible implementation, the processing unit 901 is further configured to determine a first pulse timing based on a first screen refresh rate of the electronic device, a second pulse specification, and a preset number of repetitions of the second pulse specification, wherein the first pulse timing satisfies the first pulse specification;
[0165] The control unit 902 is further used to control the pixels to alternate between light and dark based on the first pulse timing.
[0166] In one possible implementation, the control unit 902 is also used to scan the pixels within the time period corresponding to the first high level in the pulse timing corresponding to each second pulse specification in the first pulse timing; within the holding time, the pixels are alternately lit and dark based on the first pulse timing, and the holding time is the time period excluding the time period corresponding to the first high level in the pulse timing corresponding to each second pulse specification in the first pulse timing.
[0167] In one possible implementation, in the first pulse timing, the time period corresponding to the first high level in the pulse timing corresponding to any second pulse specification is greater than the time period corresponding to other high levels except the first high level in the pulse timing corresponding to the second pulse specification.
[0168] In one possible implementation, the control unit 902 is also used to control the light-emitting diode in the pixel not to emit light when it is at a high level in the first pulse timing except for the time period corresponding to the first high level in the pulse timing corresponding to any second pulse specification; and to control the light-emitting diode in the pixel to emit light when it is at a low level in the first pulse timing.
[0169] In a possible implementation, the processing unit 901 is further used to reset the pixel within the first high level in the pulse timing corresponding to each second pulse specification within the holding time in the first pulse timing; the control unit 902 is further used to perform light and dark alternation on the pixel based on the first pulse timing in the time interval other than the first high level in the pulse timing corresponding to each second pulse specification within the holding time. The holding time is the time period other than the first high level in the first pulse timing.
[0170] In one possible implementation, the processing unit 901 is further used to determine a third pulse specification when it is detected that the screen brightness is in the highlight range, and the third pulse specification is a pulse specification corresponding to the preset highlight range; the control unit 902 is also used to repeat the fourth pulse specification for a preset number of times within the display time of each frame for dimming, and the pulse specification achieved after the fourth pulse specification is repeated the preset number of times is the same as the third pulse specification, and the fourth pulse specification is a pulse specification supported by the display driver chip in the preset electronic device.
[0171] For the case where the display dimming device can be a chip or a chip system, see Fig.10 Schematic diagram of the chip structure shown. Fig.10 The chip 1000 shown includes a processor 1001 and an interface 1002. Optionally, it may also include a memory 1003. The number of the processors 1001 may be one or more, and the number of the interfaces 1002 may be multiple.
[0172] For the case where the chip is used to implement the electronic device in the embodiment of the present application:
[0173] The interface 1002 is used to receive or output signals;
[0174] The processor 1001 is used to execute data processing operations of the electronic device.
[0175] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
[0176] It is understandable that some optional features in the embodiments of the present application may be implemented independently in certain scenarios without relying on other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects. They may also be combined with other features according to needs in certain scenarios. Accordingly, the display dimming device provided in the embodiments of the present application may also realize these features or functions accordingly, which will not be elaborated here.
[0177] It should be understood that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0178] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0179] The present application also provides a computer-readable storage medium, in which a computer program is stored. The computer program includes program instructions. When the program instructions are executed on an electronic device, the functions of any of the above method embodiments are implemented.
[0180] The present application also provides a computer program product. When the computer program product is executed on a computer, the computer can implement the functions of any of the above method embodiments.
[0181] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0182] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A display dimming method, characterized in that: The method comprises: When it is detected that the screen brightness is in a low brightness interval, a first pulse specification is determined based on a first screen refresh rate, the first pulse specification being a pulse specification not supported by a display driver chip in the electronic device, and the first pulse specification being a pulse specification corresponding to the first screen refresh rate in the preset low brightness interval; The second pulse specification is repeated a preset number of times for dimming during the display time of each frame of the picture. The pulse specification reached after the second pulse specification is repeated a preset number of times is the same as the first pulse specification. The second pulse specification is a pulse specification supported by the display driver chip in the preset electronic device. The display time of one frame of the picture is determined based on the first screen refresh rate of the electronic device.
2. The method according to claim 1, characterized in that The dimming is performed by repeating the second pulse specification for a preset number of times within the display time of each frame of the picture, including: Determining a first pulse timing based on a first screen refresh rate of the electronic device, the second pulse specification, and the preset number of times the second pulse specification is repeated, wherein the first pulse timing satisfies the first pulse specification; The pixel is controlled to alternate between light and dark based on the first pulse timing.
3. The method according to claim 2, characterized in that The step of controlling the pixel to alternate between light and dark based on the first pulse timing comprises: Scanning the pixel in a time period corresponding to a first high level in a pulse timing sequence corresponding to each of the second pulse specifications in the first pulse timing sequence; During the holding time, the pixel is alternately lit and dark based on the first pulse timing, and the holding time is the time period in the pulse timing corresponding to each of the second pulse specifications in the first pulse timing except the time period corresponding to the first high level.
4. The method according to claim 3, characterized in that In the first pulse timing, the time period corresponding to the first high level in the pulse timing corresponding to any of the second pulse specifications is greater than the time periods corresponding to other high levels except the first high level in the pulse timing corresponding to the second pulse specification.
5. The method according to claim 3 or 4, characterized in that: The pixel includes a light emitting diode, the first pulse timing includes a high level and a low level, and the step of performing light and dark alternation on the pixel based on the first pulse timing includes: When the first pulse timing is at a high level except for a time period corresponding to a first high level in a pulse timing corresponding to any one of the second pulse specifications, the light emitting diode in the pixel is controlled not to emit light; When the first pulse timing is at a low level, the light emitting diode in the pixel is controlled to emit light.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Resetting the pixel within the first high level in the pulse timing corresponding to each second pulse specification within the holding time in the first pulse timing, wherein the holding time is the time period other than the first high level in the first pulse timing; During the holding time, except for the first high level in the pulse timing corresponding to each second pulse specification, the pixel is alternately bright and dark based on the first pulse timing.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: After detecting that the first screen refresh rate of the electronic device changes to a second screen refresh rate, determining a second pulse timing based on the second screen refresh rate and the second pulse specification; The pixel is controlled to alternate between light and dark based on the second pulse timing, and the pulse specification corresponding to the second pulse timing is different from the first pulse specification.
8. An electronic device, comprising one or more memories and one or more processors, characterized in that: The memory is used to store a computer program; the processor is used to call the computer program so that the electronic device executes the method according to any one of claims 1 to 7.
9. A chip system, applied to electronic equipment, characterized in that: The chip system includes at least one processor and an interface, wherein the interface is used to receive instructions and transmit them to the at least one processor; the at least one processor executes the instructions so that the electronic device executes the method as described in any one of claims 1-7.
10. A computer storage medium, characterized in that: include: Computer instructions; when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
LED (Light-Emitting Diode) dimming drive circuit
CN102651930A
Liquid crystal display device and backlight driving method thereof
CN103606356A
Circuit design method for reducing refresh rate and saving power consumption of AMOLED display driving chip
CN111768738A
Display backlighting systems and methods for adaptive pulse width modulation and modulo pulse width modulation
CN112017601A
Dimming method and device for display panel
CN113053312A