Display dimming methods and related equipment
By reusing the pulse specifications supported by existing display driver chips in OLED screens, and combining the screen refresh rate and preset number of pulses to determine the pulse timing, the problem of uneven image quality under low brightness and low grayscale is solved, the display effect is improved and meets eye protection standards, and the dependence on new DDIC and costs are reduced.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-09
- Publication Date
- 2026-03-10
AI Technical Summary
Existing OLED screens suffer from uneven color and brightness at low brightness and low grayscale levels, and higher frequency PWM dimming requires new DDIC support, leading to increased costs.
By repeatedly using the pulse specifications supported by the current display driver chip of the electronic device in the low brightness range, combined with the screen refresh rate and preset number of times, the timing of the first pulse is determined, thereby achieving higher frequency dimming and meeting the dimming requirements of different screen refresh rates.
It improves display quality, meets eye protection standards, reduces reliance on the new DDIC, and saves time and costs.
Smart Images

Figure CN120014969B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and in particular to display dimming methods and related equipment. Background Technology
[0002] For Organic Light-Emitting Diode (OLED) screens, the current required at low brightness and low grayscale levels is small, resulting in poor color and brightness uniformity, color shift, and uneven brightness. To improve the display effect at low brightness and low grayscale levels and address these issues, Pulse Width Modulation (PWM) dimming is typically used. The principle of PWM dimming is to control the brightness perceived by the human eye by adjusting the ratio of the light-emitting time to the off-light time within a pixel's flicker cycle. For example, within 8 milliseconds, when the light-emitting time is 5 milliseconds and the off-light time is 3 milliseconds, the brightness perceived by the human eye is higher; conversely, within 8 milliseconds, when the light-emitting time is 3 milliseconds and the off-light time is 5 milliseconds, the brightness perceived by the human eye is lower.
[0003] For a scenario with a 3-millisecond light-off time and a 5-millisecond off time within an 8-millisecond timeframe, the frequency (pulse specification) of pixel brightness switching can differ. For example, in a scenario with a 3-millisecond light-off time and a 5-millisecond off timeframe, pixel A has a pulse specification of 4 Pluses, meaning it switches between brightness and darkness 7 times within 8 milliseconds (dark-bright-dark-bright-dark-bright), while pixel B has a pulse specification of 12 Pluses, meaning it switches between brightness and darkness 23 times within 8 milliseconds (dark-bright-dark-bright...dark-bright-dark-bright). Pixels A and B have the same ratio of light-off time to off-light time within their flicker cycles (3 milliseconds: 5 milliseconds), but pixel B switches more frequently than pixel A. Therefore, pixel B has a better display effect and, according to current lighting standards, a higher frequency is more beneficial for eye protection.
[0004] In summary, higher frequency PWM dimming results in better display quality and is more eye-friendly. However, higher frequency PWM dimming requires more resources from the display driver IC (DDIC), and new DDICs need to be developed to support higher frequency PWM dimming. For example, existing DDICs only support a maximum pulse specification of 32 pulses. If a 36-pulse PWM dimming specification is desired, a new DDIC needs to be developed. Summary of the Invention
[0005] This application provides a display dimming method and related equipment, which can achieve higher frequency dimming, thereby improving the display effect and being more beneficial to eye protection.
[0006] Firstly, some embodiments of this application provide a display dimming method. This display dimming method may include: when the screen brightness is detected to be in a low-brightness range, determining a first pulse specification based on a first screen refresh rate, wherein the first pulse specification is a pulse specification not supported by the 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 range; dimming by repeating a second pulse specification a preset number of times during the display time of each frame, wherein the pulse specification reached after the second pulse specification is repeated a preset number of times is the same as the first pulse specification, and the second pulse specification is a preset pulse specification supported by the display driver chip in the electronic device, and the display time of one frame is determined based on the first screen refresh rate of the electronic device.
[0007] By repeating the pulse specifications supported by the display driver chip in the electronic device a preset number of times within the display time of each frame, the pulse specifications corresponding to the preset low brightness range are achieved. This enables higher frequency dimming, thereby improving display quality and being more eye-friendly.
[0008] In one possible implementation, dimming is performed by repeating a second pulse specification a preset number of times during the display time of each frame. Specifically, a first pulse timing sequence is determined based on the first screen refresh rate of the electronic device, the second pulse specification, and the preset number of times the second pulse specification is repeated. The first pulse timing sequence satisfies the first pulse specification. The pixels are then controlled to alternate between light and dark based on the first pulse timing sequence.
[0009] Using the above method, the timing of the first pulse is determined based on the current screen refresh rate of the electronic device, the preset second pulse specification, and the preset number of pulses. This allows for dimming using the first pulse specification for different screen refresh rates, and enables accurate control of pixel brightness alternation based on the first pulse timing.
[0010] In one possible implementation, the pixel's brightness alternation is controlled based on the first pulse timing sequence. Specifically, the pixel is reset during the first high level of the pulse timing sequence corresponding to each second pulse specification within the hold time of the first pulse timing sequence; during the hold time, excluding the first high level of the pulse timing sequence corresponding to each second pulse specification, the pixel's brightness alternation is performed based on the first pulse timing sequence. The hold time is the time period excluding the first high level of the first pulse timing sequence.
[0011] By using the above method, the pixel is reset within the first high level of the pulse timing corresponding to each second pulse specification during the hold time in the first pulse timing. This can satisfy the process requirements of different screens and meet the different reset timing requirements.
[0012] In one possible implementation, in the first pulse timing sequence, the time period corresponding to the first high level in the pulse timing sequence corresponding to any second pulse specification is greater than the time periods corresponding to other high levels in the pulse timing sequence corresponding to the second pulse specification, excluding the first high level.
[0013] Using the above method, the time period corresponding to the first high level is longer than the time periods corresponding to other high levels, saving time and enabling better high-frequency operation.
[0014] In one possible implementation, the pixel includes a light-emitting diode (LED), and the first pulse timing sequence includes a high level and a low level. The pixel is alternately brightened and darkened based on the first pulse timing sequence. Specifically, when the first pulse timing sequence is at a high level (excluding the time period corresponding to the first high level in any second pulse specification), the LED in the pixel is controlled to not emit light; when the first pulse timing sequence is at a low level, the LED in the pixel is controlled to emit light.
[0015] Using the above method, the alternation of brightness and darkness of pixels can be accurately controlled, 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 a second pulse specification; the electronic device controls pixels 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] Using 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 so that dimming can be performed at various screen refresh rates.
[0018] In one possible implementation, the method further includes: when the screen brightness is detected to be in the high brightness range, determining a third pulse specification, wherein the third pulse specification is a pulse specification corresponding to a preset high brightness range; and performing dimming by repeating a fourth pulse specification a preset number of times during the display time of each frame, wherein the pulse specification reached after the fourth pulse specification is repeated a preset number of times is the same as the third pulse specification, wherein the fourth pulse specification is a pulse specification supported by a preset display driver chip in the electronic device.
[0019] 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 within the display time of each frame, so as to achieve the pulse specifications corresponding to the preset high brightness range.
[0020] Secondly, this application provides an electronic device including 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 code, including computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the display dimming method in any possible implementation of the first aspect described above.
[0021] Thirdly, this application provides a display dimming device, which can be an electronic device, a device within an electronic device, or a device compatible with an electronic device; wherein, the display dimming device can also be a chip system, and the display dimming device can execute the method executed by the electronic device in the first aspect. The function of the display dimming device can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions. The unit can be software and / or hardware. The operation performed by the display dimming device and its beneficial effects can be found in the method and beneficial effects described in the first aspect above, and will not be repeated here.
[0022] Fourthly, this application provides a chip including a processor and an interface, the processor and the interface being coupled; the interface is used to receive or output signals, and the processor is used to execute code instructions to perform the display dimming method in any possible implementation of the first aspect above.
[0023] Fifthly, this application provides a computer program product that, when run on a computer, causes the computer to execute the display dimming method in any possible implementation of the first aspect described above. Attached Figure Description
[0024] Figure 1A This is a schematic diagram of a PWM dimming principle provided in an embodiment of this application;
[0025] Figure 1B A timing diagram of a 7T1C structure circuit provided in this application embodiment within two frames;
[0026] Figure 1C This application provides a schematic diagram of EM timing with three pulse specifications identical for each embodiment.
[0027] Figure 2 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;
[0028] Figure 3 This is a schematic diagram of the hardware structure of the screen of an electronic device provided in an embodiment of this application;
[0029] Figure 4This application provides a schematic flowchart of a display dimming method based on a hardware structure.
[0030] Figure 5 This application provides a schematic diagram of a user manually adjusting the screen brightness of an electronic device.
[0031] Figure 6 This is a schematic diagram of the software structure of an electronic device provided in an embodiment of this application;
[0032] Figure 7 This is a schematic flowchart of a display dimming method provided in an embodiment of this application;
[0033] Figure 8A This is a pulse timing diagram provided in an embodiment of this application;
[0034] Figure 8B This is a schematic diagram of the hold time in a pulse timing sequence provided in an embodiment of this application;
[0035] Figure 8C This is a schematic diagram of pulse timing at different screen refresh rates provided in an embodiment of this application;
[0036] Figure 8D This is another pulse timing diagram provided in an embodiment of this application;
[0037] Figure 9 This is a schematic diagram of the structure of a display dimming device provided in an embodiment of this application;
[0038] Figure 10 This is a schematic diagram of the structure of a chip provided in an embodiment of this application. Detailed Implementation
[0039] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0040] It should be understood that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0041] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.
[0042] To facilitate understanding of the solutions provided in the embodiments of this application, the relevant concepts involved in the embodiments of this application are introduced below:
[0043] Organic Light-Emitting Diode (OLED) screens: OLED screens utilize organic light-emitting diode technology. They provide brightness through self-illuminating pixels. For example, an OLED screen with a resolution of 1920*1080 means it is illuminated by 2,073,600 pixels. Another common screen type is the Liquid Crystal Display (LCD), which uses a backlight. This requires fewer bulbs and is easier to control. Typically, OLED screens have only three layers internally, while LCD screens have seven layers. Therefore, OLED screens are thinner and lighter than LCD screens, and in today's era of increasingly thinner and lighter mobile phones, OLED screens are finding wider application.
[0044] Pulse Width Modulation (PWM) dimming: PWM dimming is a technique that controls brightness by adjusting the pulse width of a signal. It simulates different brightness levels by periodically changing the power supply and off-time. For example, if a user sets their phone's brightness to 75%, the LEDs on the electronic device's screen will emit light 75% of the time and remain off 25% of the time within a very short period. Due to the persistence of vision, the screen will appear to the naked eye to be constantly at 75% brightness.
[0045] PWM dimming achieves overall dimming by adjusting the pulse width and period, thereby changing the brightness of each pixel. For example... Figure 1A As shown, Figure 1A This is a schematic diagram of the PWM dimming principle. Figure 1A This is a circuit with a 7T1C structure (7T1C means that the circuit includes 7 thin-film transistors and one capacitor). Figure 1A In the diagram, ELVDD represents the internal operating voltage of the device, ELVSS represents the common ground voltage of the circuit, Cst represents the capacitor, Scan1, Scan2, and Scan3 all represent scan signal lines, Electromagnetic (EM) represents the light emission control line, Vdata represents the data transmission line, the electronic component marked 101 is a light-emitting diode 101, and the electronic components marked T1, T2, T3, T4, T5, T6, and T7 are transistors. The scan signal lines are used to control the gate scanning signals. Scanning mainly includes resetting, charging, and compensating pixels.
[0046] The following is combined Figure 1A The principle of PWM dimming will be further explained. Figure 1A The workflow of the 7T1C structure circuit shown is mainly divided into a write phase and a hold phase.
[0047] Writing phase: Scan1 is at a negative potential, turning on transistor T4 connected to Scan1 to charge capacitor Cst; Scan2 is at a negative potential, turning on transistors T2, T1, and T3; Scan3 is at a negative potential, turning on transistor T7 to reset the OLED. For example... Figure 1B As shown, Figure 1B For the above Figure 1A The timing diagram of the 7T1C structure circuit shown is shown for two frames during operation. Figure 1B The 120Hz in the text indicates that the screen refresh rate of the electronic device is 120Hz, which means that one frame corresponds to 1 / 120th of a second, or 8.3 milliseconds. Within this frame, the H1 time period corresponds to the write phase. This H1 is the first high level in each frame's EM timing sequence.
[0048] Hold phase: By controlling the high and low levels of EM, transistors T5 and T6 are turned on, allowing transistor T1 to operate in the saturation region, driving the OLED to emit light. Figure 1A (The light-emitting diode 101 in the middle emits light). For example Figure 1B As shown, the time period corresponding to this holding phase is Figure 1B The time period excluding 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 in the above is called the duty cycle, and 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 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, this 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 hardware structure of the electronic device 100 will be introduced below. 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 this application.
[0052] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity 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 understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0054] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0055] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.
[0056] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system. The processor 110 retrieves the instructions or data stored in the memory, causing the electronic device 100 to execute the display dimming method performed by the electronic device in the following method embodiments.
[0057] In some embodiments, the processor 110 may include one or more interfaces. Interfaces 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 the charger. 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, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc. In some other embodiments, the power management module 141 may also be located in the processor 110.
[0060] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[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 one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0062] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0063] A modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates 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 processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor.
[0064] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), BLE broadcasting, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. 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 antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via 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 networks and other devices through wireless communication technology.
[0066] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify 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 one or N display screens 194, where N is a positive integer greater than 1. The display screen 194 may be an outward-folding screen, i.e., a display screen that folds outwards.
[0068] Electronic device 100 can perform shooting functions through an ISP, camera 193, video codec, GPU, display screen 194, and application processor. The ISP processes data fed back by the camera 193. The camera 193 captures still images or videos. The camera 193 may include a front-facing camera and a rear-facing camera; the front-facing camera is located on the display area of the screen, and the rear-facing camera is located on the back area of the screen. The digital signal processor processes digital signals, including digital image signals and other digital signals. The video codec is used to compress or decompress digital video. Electronic device 100 may support one or more video codecs.
[0069] NPU stands for Neural-Network (NN) Computing Processor. By drawing inspiration from the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can quickly process input information and continuously learn on its own.
[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 through the external memory interface 120 to perform data storage functions.
[0071] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as a sound playback function), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data), etc. Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as flash memory devices.
[0072] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0073] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0074] A speaker 170A, also called a "loudspeaker," is used to convert audio electrical signals into sound signals. A receiver 170B, also called a "handpiece," is used to convert audio electrical signals into sound signals. A microphone 170C, also called a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. A headphone jack 170D is used to connect wired headphones. A pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be located on the display screen 194. A gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. A barometric pressure sensor 180C is used to measure barometric pressure. A magnetic sensor 180D includes a Hall effect sensor. An accelerometer 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). A distance sensor 180F is used to measure distance. A proximity sensor 180G may include, for example, a light-emitting diode (LED) and a photosensor. An ambient light sensor 180L is used to sense ambient light intensity. A fingerprint sensor 180H is used to collect fingerprints. Temperature sensor 180J is used to detect temperature. Touch sensor 180K, also known as a "touch panel," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180K detects touch operations applied to or near it. Bone conduction sensor 180M can acquire vibration signals. Buttons 190 include power button, volume buttons, etc. Motor 191 can generate vibration prompts. Indicator 192 can be an indicator light, used to indicate charging status, battery level changes, messages, missed calls, notifications, etc. SIM card interface 195 is used to connect a SIM card.
[0075] To better understand the display dimming method of this application embodiment, the relevant hardware structure of the electronic device screen is further described below. Please refer to... Figure 3 , Figure 3 This is a schematic diagram of the hardware structure of a screen for an electronic device according to an embodiment of this application. The screen of the electronic device includes a display area, a GOA unit, and a DDIC. The display area and the DDIC are connected to the GOA unit, and the GOA unit is connected to the DDIC.
[0076] Display area (display module): This display area includes multiple pixels. The higher the screen resolution of the electronic device, the more pixels the display area includes. For example, if the screen resolution of the electronic device is 1080x1920 pixels, then each row of the display area includes 1080 pixels, each column includes 1920 rows of pixels, and the display area includes a total of 2,073,600 pixels. 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 enables progressive scan driving of the display area. It should be noted that the display of this electronic device may consist of only one GOA unit (containing only...). Figure 3 The GOA unit shown on the left, or only includes, as shown Figure 3 The GOA unit shown on the right can also include two GOA units (such as...). Figure 3 (As shown). Because the GOA unit drives the display area line by line, pixels within the same row are scanned and driven simultaneously, while pixels in different rows may be driven inconsistently. That is, when dimming, the LEDs of pixels within the same row light up simultaneously, while the LEDs of pixels in different rows may not light up simultaneously.
[0078] For example, the display area includes the following six pixels: A11, A12, A13, A21, A22, and A23, where A11, A12, and A13 are located in the first row of the display area, and A21, A22, and A23 are located in the second row. A11 and A21 are located in the first column of the display area, and similarly for A12 and A22, and A13 and A23. When the LED in A11 emits light, the LEDs in A12 and A13 also emit light, while the LEDs in A21, A22, and A23 do not emit light.
[0079] DDIC: DDIC sends drive signals and data to the display panel in the form of electrical signals, and controls the screen brightness and color to enable image information such as letters and pictures to be displayed on the screen.
[0080] Data monitoring module: Used to detect the brightness and refresh rate of electronic device screens. This data monitoring module can be embedded within the DDIC or operate independently of the DDIC.
[0081] Based on the hardware structure of the screen of the aforementioned electronic device, this application provides a flowchart of a display dimming method based on the aforementioned hardware structure. For example... Figure 4 As shown, the display dimming method includes the following steps 401 to 407. Wherein:
[0082] 401. When the data monitoring module detects a change in the brightness range of the electronic device's screen brightness, it determines the first brightness range.
[0083] Here, the brightness range is a preset brightness range. For example, the preset brightness ranges are the following two brightness ranges: brightness range A [0 nits, 90 nits], brightness range B [90 nits, 200 nits]. When the screen brightness of the electronic device changes from 180 nits to 80 nits, the brightness range in which the screen brightness of the electronic device is located changes from brightness range B (the brightness range where 180 nits is located) to brightness range A (the brightness range where 80 nits is located). The first brightness range is brightness range A.
[0084] In one possible implementation, the screen brightness of the electronic device can be manually adjusted by the user, for example, such as... Figure 5 As shown, the user is Figure 5 The interface shown in the image on the left is triggered by swiping from the top right corner of the electronic device screen down. Figure 5 The interface is shown in the image on the right. Users slide the screen brightness slider marked 501 to manually adjust the screen brightness of the electronic device. It should be noted that the above... Figure 5 This application is merely an example and does not impose any restrictions on how users can manually adjust the screen brightness of electronic devices.
[0085] Optionally, the screen brightness of an electronic device can be adjusted automatically based on the ambient brightness. Specifically, when the photosensitive module in the electronic device senses that the ambient brightness has increased, the device automatically increases the screen brightness so that the user can see the screen clearly even in bright environments; or, when the photosensitive module senses that the ambient brightness has decreased, the device automatically decreases the screen brightness to protect the user's eyes in darker environments.
[0086] 402. The data monitoring module sends the first brightness range to the DDIC.
[0087] The DDIC and the first brightness range are described above and will not be repeated here.
[0088] 403. DDIC determines the first pulse specification based on the received first brightness range.
[0089] The pulse specification indicates the number of pulses within a frame. For example, if the first pulse specification is 4 Pulses, then there are 4 pulses in a frame (4 high-level pulses and 4 low-level pulses). A larger pulse specification indicates a greater number of pulses in a frame. The pulse specification is not the same as the pulse timing sequence; one pulse specification can correspond to multiple different pulse timing sequences, for example... Figure 1C As shown, Figure 1CThe pulse specification for EM1, EM2 and EM3 timing sequences is 4 Pluse, but they are three different pulse timing sequences.
[0090] In one possible embodiment, the electronic device has a pre-defined mapping table between brightness ranges and pulse specifications. This mapping table can be stored in the DDIC (Digital Direct Controller Interface). There is a one-to-one correspondence between brightness ranges and pulse specifications. For example, the mapping relationship between brightness ranges and pulse specifications is as follows: brightness range A — pulse specification A, brightness range B — pulse specification B. If the first brightness range is brightness range A, then the first pulse specification determined by the DDIC based on the first brightness range is pulse specification A. Similarly, if the first brightness range is brightness range B, then the first pulse specification determined by the DDIC based on the first brightness range is pulse specification B.
[0091] Optionally, steps 401 to 403 above can be replaced by the following steps: When the data monitoring module detects a change in the brightness range of the electronic device's screen brightness, it determines a first brightness range; based on the first brightness range, the data monitoring module determines a first pulse specification; and the data monitoring 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 range can be performed by the DDIC, or it can be performed by the data monitoring module, which then sends the first pulse specification to the DDIC.
[0092] 404. The data monitoring module sends the first screen refresh rate to DDIC.
[0093] The first screen refresh rate is the current screen refresh rate of the electronic device. This first screen refresh rate indicates the number of times the screen refreshes per second, and can also be used to indicate the time corresponding to one frame. For example, if the first screen refresh rate is 120 Hz (HZ), then when the screen of the electronic device has a refresh rate of 120 Hz, the screen of the electronic device refreshes 120 times per second. At this screen refresh rate, the time corresponding to one frame is: 1 / 120 Hz = 8.3 milliseconds.
[0094] In one possible embodiment, the data monitoring module sends a first screen refresh rate to the DDIC. Specifically, after sending a first brightness range to the DDIC, the data monitoring module sends the first screen refresh rate to the DDIC. That is, the first screen refresh rate is sent when the brightness range in which the electronic device's screen brightness falls changes. This step 404 can be located before step 403. Alternatively, the data monitoring module sends both the first brightness range and the first screen refresh rate to the DDIC. That is, the first screen refresh rate is sent simultaneously when the brightness range in which the electronic device's screen brightness falls changes.
[0095] Optionally, the data monitoring module sends the first screen refresh rate to the DDIC. Specifically, when the data monitoring module detects a change in the screen refresh rate of the electronic device, it sends the first screen refresh rate to the DDIC. In other words, even if the screen brightness of the electronic device remains unchanged, but the screen refresh rate changes, the data monitoring module will still send the first screen refresh rate to the DDIC.
[0096] 405. DDIC determines the timing of the first pulse based on the first pulse specification and the first screen refresh rate.
[0097] The pulse specifications, screen refresh rate, and pulse timing can be found in the above descriptions, and will not be repeated here.
[0098] 406. DDIC sends the first pulse timing sequence to the display module.
[0099] Optionally, the DDIC sends the first pulse timing sequence to the display module, which can be specifically: the DDIC sends the first pulse timing sequence to the GOA unit, and the GOA unit sends the first pulse timing sequence to the display module to drive the pixels in the display module row by row.
[0100] 407. The display module dims based on the timing of the first pulse.
[0101] The display module includes multiple pixels. Taking any single pixel as an example, when the first pulse timing is high, the pixel's LED does not emit light; when the first pulse timing is low, the pixel's LED emits light.
[0102] By employing the method described above, the pulse specifications supported by the display driver chip in the electronic device are repeated a preset number of times within the display time of each frame, thereby achieving the pulse specifications corresponding to the preset low-brightness range. This enables higher-frequency dimming, thus improving the display effect.
[0103] Figure 6 This is a schematic diagram of the software structure of an electronic device 100 provided in an embodiment of this application.
[0104] A layered architecture divides software into several layers, each with a clear role and function. 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 libraries, and the kernel layer.
[0105] The application layer can include a series of application packages. For example... Figure 6As shown, the application layer can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0106] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. For example... Figure 6 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0107] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0108] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0109] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0110] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).
[0111] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0112] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating the user's device, and flashing indicator lights.
[0113] The Android runtime consists of core libraries and a virtual machine. The Android runtime is responsible for scheduling and managing the Android system.
[0114] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0115] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0116] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0117] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0118] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[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 graphics engine for 2D drawing.
[0121] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0122] The display dimming method provided in the embodiments of this application will be further described below:
[0123] Please see Figure 7 , Figure 7 This is a schematic flowchart of a display dimming method provided in an embodiment of this application. Wherein:
[0124] 701. When the electronic device detects that the screen brightness is in the low brightness range, it determines the first pulse specification based on the first screen refresh rate. The first pulse specification is a pulse specification that is not supported by the display driver chip in the electronic device. The first pulse specification is the pulse specification corresponding to the first screen refresh rate in the preset low brightness range.
[0125] The low brightness range is a pre-set brightness range. When the electronic device detects that the screen brightness is in the low brightness range, the first pulse specification can be determined as follows: the electronic device determines the first pulse specification when it detects that the screen brightness changes from the high brightness range to the low brightness range. The pulse specification and DDIC can be found in the above description, and will not be repeated 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 at the factory. Commonly used pulse specifications supported by DDIC include 4 Pluse, 12 Pluse, and 32 Pluse. Currently, the upper limit for pulse specifications supported by DDIC is 32 Pluse. The first pulse specification can be 20 Pluse, etc.
[0128] In one possible embodiment, the first pulse specification is a pulse specification higher than the upper limit of the pulse specifications supported by DDIC, for example, the first pulse specification is 36 Pluse (higher than 32 Pluse).
[0129] In one possible embodiment, when the electronic device detects that the screen brightness is in the low brightness range, it determines the first pulse specification based on the first screen refresh rate. Specifically, when the electronic device detects that the brightness is in the low brightness range, it determines the second pulse specification through a preset brightness range and pulse specification mapping table; it determines the preset number of repetitions based on the first screen refresh rate and the time period corresponding to the second pulse specification; and it 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 (12 Pluse) 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 12 Pluse x 3 = 36 Pluse.
[0131] Optionally, when the electronic device detects that the screen brightness is in the low-brightness range, it determines the first pulse specification based on the first screen refresh rate. Specifically, it determines the first pulse timing based on the mapping relationship between the first screen refresh rate and a preset refresh rate and pulse timing. For example, the preset refresh rate and pulse timing mapping relationship is: 120Hz-36Puse pulse timing, 60Hz-72Puse pulse timing. When the first screen refresh rate is 120Hz, the first pulse specification is 36Puse.
[0132] 702. The electronic device performs dimming by repeating the second pulse specification a preset number of times during 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 preset pulse specification supported by the display driver chip in the electronic device. The display time of one frame is determined based on the first screen refresh rate of the electronic device.
[0133] Within each frame, a second pulse specification is repeated a preset number of times to ensure that the pulse specification within each frame is identical to the first pulse specification. This second pulse specification is a pulse specification supported by DDIC (such as 4 Pulse, 12 Pulse, and 32 Pulse). The time period corresponding to one frame is determined based on the refresh rate of the electronic device's first screen. For example, if the refresh rate of the electronic device's first screen is 120Hz, then the time period corresponding to one frame is 1 / 120Hz = 8.3 milliseconds; if the refresh rate of the electronic device's first screen is 60Hz, then the time period corresponding to one frame is 1 / 120Hz = 16.6 milliseconds.
[0134] For example, the first pulse specification is 36 Pluse, the second pulse specification is 12 Pluse, and the preset number of times is 3. The 12 Pluse (second pulse specification) is repeated 3 times, so that the achieved pulse specification (3x12 Pluse) is the same as the 36 Pluse (first pulse specification).
[0135] In one possible embodiment, the electronic device performs dimming by repeating a second pulse specification a preset number of times during the display time of each frame, including: the electronic device determining a first pulse timing based on the 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; and controlling the pixels to alternate between light and dark based on the first pulse timing.
[0136] In this context, the number of high-level pulses in the first pulse timing sequence is the same as the number of pulses in the first pulse specification, or the number of low-level pulses in the first pulse timing sequence (the number of high-level pulses is the same as the number of low-level pulses) is the same as the number of pulses in the first pulse specification. For example, if the first pulse specification is 36 Pulses, then the first pulse timing sequence contains 36 high-level pulses and 36 low-level pulses. The first screen refresh rate is the current refresh rate of the electronic device's screen. A pixel is any single pixel on the electronic device's screen.
[0137] For example, please refer to Figure 8A As shown, Figure 8A The timing sequence marked 801 is the pulse timing sequence corresponding to the second pulse specification. The pulse specification of this pulse timing sequence 801 is 12 Pluse, and the first pulse specification is 36 Pluse. Figure 8A The timing sequence marked 802 is the first pulse timing sequence 802. Repeating the pulse timing sequence 801 three times yields the first pulse timing sequence 802, which has a pulse specification of 36 Pluses, satisfying the first pulse specification.
[0138] Using the above method, the timing of the first pulse is determined based on the current screen refresh rate of the electronic device, the preset second pulse specification, and the preset number of pulses. This allows for dimming using the first pulse specification for different screen refresh rates, and enables accurate control of pixel brightness alternation based on the first pulse timing.
[0139] In one possible embodiment, the electronic device controls the pixel to alternate between bright and dark based on a first pulse timing sequence. Specifically, the electronic device resets the pixel during the first high level of the pulse timing sequence corresponding to each second pulse specification within the hold time of the first pulse timing sequence; during the hold time, excluding the first high level of the pulse timing sequence corresponding to each second pulse specification, the pixel alternates between bright and dark based on the first pulse timing sequence. The hold time is the time period excluding the first high level of the first pulse timing sequence.
[0140] The scanning of pixels is described in the background section above and will not be repeated here. The holding time is also described in the holding phase section of the background section and will not be repeated here either. In this embodiment, the pulse timing corresponding to each repetition of the second pulse specification in the first pulse timing sequence is reset. For example... Figure 8A As shown, pulse timing 801 is repeated three times in the first pulse timing sequence 802. Each pulse timing sequence 801 resets the pixel within the time period corresponding to the first high level, meaning it is reset three times within one frame. For example, as... Figure 8B As shown, Figure 8B The time period corresponding to the pulse timing segment marked with 803 is the hold time.
[0141] By using the above method, the pixel is reset within the first high level of the pulse timing corresponding to each second pulse specification during the hold time in the first pulse timing. This can satisfy the process requirements of different screens and meet the different reset timing requirements.
[0142] In one possible embodiment, in the first pulse timing sequence, the time period corresponding to the first high level in the pulse timing sequence corresponding to any second pulse specification is greater than the time periods corresponding to other high levels in the pulse timing sequence corresponding to the second pulse specification, excluding the first high level.
[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 can also be equal to the time period corresponding to any high level within the holding time.
[0145] Using the above method, the time period corresponding to the first high level is longer than the time periods corresponding to other high levels, saving time and enabling better high-frequency operation.
[0146] In one possible implementation, the pixel includes a light-emitting diode (LED), and the first pulse timing sequence includes a high level and a low level. The pixel is alternately brightened and darkened based on the first pulse timing sequence. Specifically, when the first pulse timing sequence is at a high level (excluding the time period corresponding to the first high level in any second pulse specification), the LED in the pixel is controlled to not emit light; when the first pulse timing sequence is at a low level, the LED in the pixel is controlled to emit light.
[0147] Specifically, during any high level within the hold time of the first pulse sequence, the LED in the control pixel does not emit light; during any low level within the hold time of the first pulse sequence, the LED in the control pixel emits light. It should be noted that during the first high level of the first pulse sequence, the LED in that pixel also does not emit light. See details in [link to relevant documentation]. Figure 1A As shown in the circuit diagram, LED 101 can be controlled by transistors T1, T5 and T6 to determine whether current flows through it, thereby controlling whether LED 101 emits light.
[0148] In one possible embodiment, after detecting that the electronic device's first screen refresh rate changes to a second screen refresh rate, the electronic device determines a second pulse timing sequence based on the second screen refresh rate and a second pulse specification; the electronic device then controls the pixels to alternate between bright and dark states based on the second pulse timing sequence. The pulse specification corresponding to the second pulse timing sequence is different from the first pulse specification.
[0149] The second screen refresh rate differs from the first screen refresh rate, and the time period of one frame corresponding to the second screen refresh rate also differs from the time period of one frame corresponding to the first screen refresh rate. Since the second pulse specification is preset and unchanging, the number of second pulse specifications at the second screen refresh rate differs from the number of second pulse specifications at the first screen refresh rate.
[0150] For example, if the first screen refresh rate is 120Hz, the first frame at this refresh rate takes 8.3ms. The first pulse specification at this refresh rate is 36 pluse, and the second pulse specification is 12 pluse. One second pulse specification lasts for 2.76ms. The second pulse specification is repeated 3 times within the 8.3ms interval at the first refresh rate to achieve the first pulse specification. When the screen refresh rate changes from 120Hz to 60Hz, the first frame at this refresh rate takes 16.6ms, and one second pulse specification lasts for 2.76ms. The second pulse specification can be repeated 6 times within the 16.6ms interval at the first refresh rate, meaning the pulse specification at the second refresh rate is 12 pluse x 6 = 72 pluse. In other words, the frame time corresponding to 60Hz is twice the frame time corresponding to 120Hz. Therefore, the number of repetitions of the second pulse specification at 60Hz is twice the number of repetitions of the second pulse specification at 120Hz. Figure 8C As shown, if the pulse specification at 120Hz is 36 Pluse (pulse timing marked 804), then the pulse specification at 60Hz is 72 Pluse (pulse timing marked 805).
[0151] In one 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 time period corresponding to the second screen refresh rate and 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 60Hz (one frame takes 16.6ms), and the time period corresponding to the second pulse specification is 2.76ms, then the number of repetitions is 16.6ms / 2.76ms = 6 times. Therefore, the second pulse timing is the pulse timing corresponding to the second pulse specification repeated 6 times.
[0153] Optionally, after detecting that the electronic device's first screen refresh rate changes to the second screen refresh rate, the electronic device determines the second pulse timing based on the mapping relationship between the second screen refresh rate and a preset refresh rate and pulse timing; the electronic device controls the pixels to alternate between bright 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 refresh rate and pulse timing mapping relationship is: 120Hz—36Puse pulse timing, 60Hz—72Puse pulse timing. When the electronic device detects that the refresh rate of the electronic device has changed to 60Hz, it determines that the second pulse timing is 72Puse.
[0155] In one possible embodiment, the pulse specification corresponding to the second pulse timing is higher than the upper limit of the pulse specifications supported by DDIC.
[0156] In one possible embodiment, when the electronic device detects that the screen brightness is in the high brightness range, it determines a third pulse specification, which is a pulse specification corresponding to a preset high brightness range; the electronic device performs dimming by repeating a fourth pulse specification a preset number of times during the display time of each frame, and the pulse specification reached after the fourth pulse specification is repeated a preset number of times is the same as the third pulse specification, which is a pulse specification supported by a preset display driver chip in the electronic device.
[0157] The high brightness range is a pre-set brightness range. When the electronic device detects that the screen brightness is in the high brightness range, the third pulse specification can be determined as follows: the electronic device determines the third pulse specification when it detects that the screen brightness changes from the low brightness range to the high brightness range. The pulse specification and DDIC can be found in the above description, and will not be repeated 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, Figure 8D As shown, Figure 8D The pulse timing marked 806 corresponds to the fourth pulse specification, the timing marked 807 corresponds to the third pulse specification, and the timing marked 808 corresponds to the reset / compensation operation via the GOA unit. Pulse timing 806 is repeated three times to obtain pulse timing 807 that meets the third pulse specification.
[0160] Different display modules manufactured using different processes have different reset timing requirements. As mentioned above... Figure 1A The reset timing requirements for the 7T1C and 8T1C (8T1C refers to a circuit containing 8 thin-film transistors and one capacitor) are different. Typically, resets are performed at equal time intervals during the high level of a pulse sequence. Existing implementations require precise control of the high level of each reset pulse by the DDIC; for example, for the 8T1C, resets are required on the 1st, 13th, and 15th pulses. This necessitates a redesign of the DDIC, consuming significant time and resources. The display dimming method provided in this application, however, only requires setting a pulse specification (either the second or fourth pulse specification) and repeating the reset at equal time intervals a preset number of times, thus meeting the reset requirements of the 8T1C.
[0161] Please see Figure 9 , Figure 9 This is a schematic diagram of the structure of a display dimming device 900 provided in an embodiment of this application. Figure 9 The display dimming device shown can be an electronic device, a device within an electronic device, or a device that can be used in conjunction with an electronic device. Figure 9 The display dimming device shown may include a processing unit 901 and a control unit 902. Wherein:
[0162] The processing unit 901 is used to determine a first pulse specification based on a first screen refresh rate when the screen brightness is detected to be in a low brightness range. The first pulse specification is a pulse specification that is not supported by the 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.
[0163] The control unit 902 is used to perform dimming by repeating a second pulse specification a preset number of times during 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 preset pulse specification supported by the display driver chip in the electronic device. The display time of one frame is determined based on the first screen refresh rate of the electronic device.
[0164] In one possible implementation, the processing unit 901 is further configured to determine a first pulse timing based on the 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 also used to control the brightness alternation of pixels based on the timing of the first pulse.
[0166] In one possible implementation, the control unit 902 is further configured to scan the pixel during the time period corresponding to the first high level in the pulse timing sequence corresponding to each second pulse specification in the first pulse timing sequence; and during the holding time, to perform alternating brightness and darkness of the pixel based on the first pulse timing sequence, wherein the holding time is the time period other than the time period corresponding to the first high level in the pulse timing sequence corresponding to each second pulse specification in the first pulse timing sequence.
[0167] In one possible implementation, in the first pulse timing sequence, the time period corresponding to the first high level in the pulse timing sequence corresponding to any second pulse specification is greater than the time periods corresponding to other high levels in the pulse timing sequence corresponding to the second pulse specification, excluding the first high level.
[0168] In one possible implementation, the control unit 902 is further configured to control the light-emitting diode in the pixel to not emit light when the pixel is at a high level other than the time period corresponding to the first high level in the pulse timing sequence corresponding to any second pulse specification; and to control the light-emitting diode in the pixel to emit light when the pixel is at a low level in the first pulse timing sequence.
[0169] In one possible implementation, the processing unit 901 is further configured to reset the pixel within the first high level of the pulse timing corresponding to each second pulse specification during the hold time in the first pulse timing; the control unit 902 is further configured to perform alternating brightness and darkness of the pixel based on the first pulse timing during the time interval other than the first high level of the pulse timing corresponding to each second pulse specification during the hold time. The hold time is the time interval other than the first high level in the first pulse timing.
[0170] In one possible implementation, the processing unit 901 is further configured to determine a third pulse specification when the screen brightness is detected to be in the high brightness range. The third pulse specification is a pulse specification corresponding to a preset high brightness range. The control unit 902 is further configured to perform dimming by repeating a fourth pulse specification a preset number of times during the display time of each frame. The pulse specification reached after the fourth pulse specification is repeated a preset number of times is the same as the third pulse specification. The fourth pulse specification is a pulse specification supported by a preset display driver chip in the electronic device.
[0171] For cases where the display dimming device can be a chip or a chip system, please refer to [link / reference]. Figure 10 The diagram shows the structure of the chip. Figure 10 The chip 1000 shown includes a processor 1001 and an interface 1002. Optionally, it may also include a memory 1003. The number of processors 1001 can be one or more, and the number of interfaces 1002 can be multiple.
[0172] For cases where the chip is used to implement the electronic device in the embodiments of this application:
[0173] The interface 1002 is used to receive or output signals;
[0174] The processor 1001 is used to perform data processing operations of the electronic device.
[0175] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0176] It is understood that some optional features in the embodiments of this application can be implemented independently in certain scenarios without relying on other features, such as the current solution on which they are based, to solve the corresponding technical problems and achieve the corresponding effects. Alternatively, they can be combined with other features as needed in certain scenarios. Accordingly, the display dimming device given in the embodiments of this application can also implement these features or functions, which will not be elaborated here.
[0177] It should be understood that the processor in the embodiments of this application can be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0178] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0179] This application also provides a computer-readable storage medium storing a computer program, the computer program including program instructions that, when executed on an electronic device, implement the functions of any of the above method embodiments.
[0180] This application also provides a computer program product that, when run on a computer, enables the computer to perform the functions of any of the above method embodiments.
[0181] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented, in whole or in part, as 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, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., high-density digital video discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).
[0182] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A display dimming method, characterized by, The method comprises: based on the screen brightness being in a first brightness interval, repeating screen dimming based on a second pulse specification corresponding to a pulse timing N times in the display time of each frame of picture, the N being related to a first screen refresh rate, and the N being a positive integer greater than 1, the pulse timing corresponding to the second pulse specification being repeated N times to reach a first pulse timing corresponding to a first pulse specification, the display time of each frame of picture being determined based on the first screen refresh rate of the electronic device; based on the screen brightness being in a second brightness interval, repeating screen dimming based on a third pulse specification corresponding to a pulse timing I times in the display time of each frame of picture, the I being related to a third screen refresh rate, and the I being a positive integer greater than 1, the pulse timing corresponding to the third pulse specification being repeated I times to reach a second pulse timing corresponding to a fourth pulse specification; wherein the first brightness interval and the second brightness interval are different, and the second pulse specification and the third pulse specification are different.
2. The method of claim 1, wherein, The repeating screen dimming based on the second pulse specification a preset number of times in the display time of each frame of picture comprises: determining a first pulse timing based on the first screen refresh rate of the electronic device, the second pulse specification, and the preset number of times of repeating the second pulse specification, the first pulse timing satisfying the first pulse specification; controlling the pixels to alternate between bright and dark based on the first pulse timing.
3. The method of claim 2, wherein, The controlling the pixels to alternate between bright and dark based on the first pulse timing comprises: scanning the pixels in a time period corresponding to a first high level in each pulse timing corresponding to the second pulse specification in the first pulse timing; alternating the pixels between bright and dark based on the first pulse timing in a holding time, the holding time being a time period other than the time period corresponding to the first high level in each pulse timing corresponding to the second pulse specification in the first pulse timing.
4. The method of claim 3, wherein, In the first pulse timing, a time period corresponding to a first high level in any pulse timing corresponding to the second pulse specification is greater than a time period corresponding to other high levels other than 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 pixels comprise light-emitting diodes, the first pulse timing comprises high levels and low levels, and the alternating the pixels between bright and dark based on the first pulse timing comprises: controlling the light-emitting diodes in the pixels not to emit light when in a high level other than the time period corresponding to the first high level in any pulse timing corresponding to the second pulse specification in the first pulse timing; controlling the light-emitting diodes in the pixels to emit light when in a low level in the first pulse timing.
6. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: resetting the pixels in the first high level in each pulse timing corresponding to the second pulse specification in the holding time in the first pulse timing, the holding time being a time period other than the first high level in the first pulse timing. In the holding time, the pixel is alternately brightened and darkened based on the first pulse sequence except for the first high level in the pulse sequence corresponding to each second pulse specification.
7. The method according to any one of claims 1 to 4, characterized in that, The method further includes: After detecting that the first screen refresh rate of the electronic device becomes a second screen refresh rate, determining a second pulse sequence based on the second screen refresh rate and the second pulse specification; Controlling the pixel to be alternately brightened and darkened based on the second pulse sequence, the pulse specification corresponding to the second pulse sequence being different from the first pulse specification.
8. An electronic device comprising one or more memories, one or more processors, wherein the device is configured to perform the method of any of claims 1-7. The memory is configured to store a computer program, and the processor is configured to invoke the computer program, so that the electronic device executes the method in any one of claims 1-7.
9. A chip system applied to an electronic device, characterized by comprising: a plurality of chips; a plurality of chip connectors; a plurality of chip connector connectors; and a plurality of chip connector connectors. The chip system includes at least one processor and an interface configured to receive instructions and transmit the instructions to the at least one processor, and the at least one processor is configured to execute the instructions so that the electronic device executes the method in any one of claims 1-7.
10. A computer storage medium, characterized in that The computer program product includes: Computer instructions configured to cause the electronic device to execute the method in any one of claims 1-7 when the computer instructions are executed on the electronic device.
Citation Information
Patent Citations
Liquid crystal display device and backlight driving method thereof
CN103606356A
Display backlighting systems and methods for adaptive pulse width modulation and modulo pulse width modulation
CN112017601A