Display method, electronic equipment and storage medium

By introducing a preset number of control signals and Gamma parameters into the display driving circuit of the OLED display screen, combining PWM and DC dimming modes, the problems of display screen efficiency and color unevenness at low brightness are solved, and brightness uniformity and Flashing avoids.

CN119252188APending Publication Date: 2025-01-03HONOR DEVICE CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202310811357.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-03
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In the case of low brightness and low grayscale, the efficiency and color reduction degree are poor, resulting in uneven color and brightness, and the risk of flickering is prone to switching dimming mode.

Method used

By introducing a preset number of control signals into the display driving circuit, the brightness of the display screen is gradually adjusted, thereby avoiding flickering when switching dimming mode. The combination of PWM dimming mode and DC dimming mode is adopted to determine the target brightness and pre- Set brightness to determine the appropriate dimming mode and Gamma parameters to ensure the display effect.

Benefits of technology

It effectively avoids the flickering problem of the display when switching dimming mode, improves brightness uniformity and color reproduction, and ensures the stability of the display effect and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119252188A_ABST
    Figure CN119252188A_ABST
Patent Text Reader

Abstract

The invention provides a display method, electronic equipment and a storage medium, and relates to the technical field of terminals. The display method comprises the steps that a dimming request is received, and a display drive circuit DDIC determines a current corresponding first dimming mode and a corresponding first number of control signals; according to the dimming request, the AP sends target brightness to the DDIC; if it is determined that the dimming mode corresponding to the target brightness is a second dimming mode, determining a second number of control signals corresponding to the second dimming mode; determining a preset number of control signals based on the first number and the second number; the DDIC is controlled to work in a PWM dimming mode, and a preset number of control signals are transmitted in each control period, so that the brightness of the display screen is adjusted to preset display brightness; and controlling the DDIC to work in a second dimming mode, and transmitting a second number of control signals in each control period, so that the brightness of the display screen is adjusted from the preset display brightness to the target brightness. By utilizing the embodiment of the invention, the splash screen of the display screen can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of terminal technology, and in particular to a display method, an electronic device, and a storage medium. Background Art

[0002] Organic Light-Emitting Diode (OLED) display screens can light up and control each pixel individually, and have the advantages of clear black and white and high color saturation. Therefore, more and more terminal devices use OLED display screens.

[0003] Based on the principle and characteristics of OLED display screens that are driven by current to emit light, the operating current corresponding to the OLED display screen is very small under low brightness and low grayscale conditions. The efficiency and color reproduction of the OLED under low current density operation are poor, resulting in poor color and brightness uniformity of the display screen, and serious color deviation and mura problems (for example, uneven brightness of the display screen). Generally, in the process of adjusting the display brightness of the display screen, when the display brightness is high, the direct current (DC) dimming mode can be used to adjust the display brightness of the display screen. When the display brightness is low, the pulse width modulation (PWM) dimming mode can be used to adjust the brightness of the display screen. However, when the display brightness is low, if the low-frequency PWM dimming mode is used, it is easy to cause a bad effect on the human eye, so a high-frequency PWM dimming mode can be used. However, at the moment of switching between the DC dimming mode and the PWM dimming mode, or at the moment of switching between the high-frequency PWM dimming mode and the low-frequency PWM dimming mode, there may be a risk of flickering. Summary of the invention

[0004] In view of the above, it is necessary to provide a display method, an electronic device and a storage medium to solve the problem of screen flickering.

[0005] In a first aspect, the present application provides a display method, which is applied to an electronic device, wherein the electronic device includes an application processor and a display screen, and the display screen includes a display driving circuit. The method includes: receiving a dimming request, the display driving circuit determining a currently corresponding first dimming mode and a first number of control signals corresponding to the first dimming mode; according to the dimming request, the application processor sends a target brightness to the display driving circuit; if the display driving circuit determines that the dimming mode corresponding to the target brightness is a second dimming mode, determining a second number of control signals corresponding to the second dimming mode; determining a preset number of control signals based on the first number and the second number, and the preset number of control signals corresponds to a preset display brightness; controlling the display driving circuit to operate in a pulse width modulation (PWM) dimming mode, transmitting the preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to the preset display brightness; and controlling the display driving circuit to operate in the second dimming mode, transmitting the second number of control signals in each control cycle, so that the brightness of the display screen is adjusted from the preset display brightness to the target brightness. Through the above technical solution, when the dimming mode of the display screen is switched, a preset number of control signals can be determined, the display screen is first adjusted to a preset display brightness according to the preset number of control signals, and then the display brightness of the display screen is adjusted from the preset display brightness to the target brightness according to the switched dimming mode, thereby avoiding screen flickering.

[0006] In one embodiment of the present application, the control signal of the preset number is determined based on the first number and the second number, and the control signal of the preset number corresponds to the preset display brightness, including: determining N preset numbers of control signals based on the first number and the second number, wherein the N preset numbers of control signals are different from each other and each preset number of control signals corresponds to a preset display brightness, and N is an integer greater than 1; controlling the display driving circuit to gradually adjust the brightness of the display screen to the Nth preset display brightness corresponding to the Nth preset number of control signals based on the PWM dimming mode and the N preset numbers of control signals. Through the above scheme, the N preset numbers of control signals can be determined when the dimming mode of the display screen is switched to avoid the screen flickering phenomenon of the display screen.

[0007] In one embodiment of the present application, the control of the display driving circuit based on the PWM dimming mode and the N preset number of control signals to gradually adjust the brightness of the display screen to the Nth preset display brightness corresponding to the Nth preset number of control signals includes: controlling the display driving circuit to work in the PWM dimming mode, transmitting the first preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to the first preset brightness corresponding to the first preset number of control signals; continuing to control the display driving circuit to transmit the second preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to the second preset brightness corresponding to the second preset number of control signals; repeating the above process until the brightness of the display screen is adjusted to the Nth preset brightness corresponding to the Nth preset number of control signals. Through the above scheme, when the dimming mode of the display screen is switched, the N preset number of control signals can be determined, and the brightness of the display screen can be gradually adjusted to the target brightness according to the N preset number of control signals to avoid the screen flickering phenomenon of the display screen.

[0008] In an embodiment of the present application, the determining of a preset number of control signals based on the first number and the second number includes: if the absolute difference between the first number and the second number is greater than or equal to a first preset value, determining the preset number of control signals. Through the above technical solution, it can be determined that when the difference between the first number and the second number is large, a preset number of control signals is determined, and the brightness of the display screen is adjusted according to the preset number of control signals to avoid flickering of the display screen.

[0009] In an embodiment of the present application, if the absolute difference between the first number and the second number is less than the first preset value, the display driving circuit is controlled to operate in the second dimming mode, and the control signal of the second number is transmitted in each control cycle, so that the brightness of the display screen is adjusted to the target brightness. Through the above technical solution, it can be determined that when the difference between the first number and the second number is small, the display screen will not flicker when switching the dimming mode, and the brightness of the display screen can be adjusted directly according to the control signal of the second number.

[0010] In one embodiment of the present application, the control signal of the preset number is determined based on the first number and the second number, including: calculating the first duty cycle of the control signal according to the first number; calculating the second duty cycle of the control signal according to the second number; if the absolute difference between the first duty cycle and the second duty cycle is greater than or equal to a second preset value, determining the control signal of the preset number. Through the above technical solution, it can be determined that when the difference between the duty cycles corresponding to the first number and the second number is large, the control signal of the preset number is determined, and the brightness of the display screen is adjusted according to the control signal of the preset number to avoid the flickering phenomenon of the display screen.

[0011] In an embodiment of the present application, the method further includes: if the absolute difference between the first duty cycle and the second duty cycle is less than the second preset value, the display driving circuit is controlled to operate in the second dimming mode, and the second number of control signals are transmitted in each control cycle, so that the brightness of the display screen is adjusted to the target brightness. Through the above technical solution, it can be determined that when the difference between the duty cycles corresponding to the first number and the second number is small, the display screen will not flicker when switching the dimming mode, and the brightness of the display screen can be adjusted according to the second number of control signals.

[0012] In an embodiment of the present application, the method further includes: determining a dimming mode corresponding to the target brightness according to the magnitude of the target brightness and the preset brightness. Through the above technical solution, the dimming mode corresponding to the target brightness can be determined to ensure the display effect of the display screen.

[0013] In one embodiment of the present application, the dimming mode corresponding to the target brightness is determined according to the size of the target brightness and the preset brightness, including: when the target brightness is less than or equal to the preset brightness, the dimming mode corresponding to the target brightness is determined to be the PWM dimming mode; or when the target brightness is greater than the preset brightness, the dimming mode corresponding to the target brightness is determined to be the direct current DC dimming mode. Through the above technical solution, in order to ensure the display effect of the display screen, the display brightness of the display screen can be adjusted by using the PWM dimming mode when the display brightness is low, and the display brightness of the display screen can be adjusted by using the DC dimming mode when the display brightness is high.

[0014] In an embodiment of the present application, the first dimming mode is a direct current (DC) dimming mode, and the second dimming mode is the PWM dimming mode; or the first dimming mode is the PWM dimming mode, and the second dimming mode is the DC dimming mode. Through the above technical solution, in order to ensure the display effect of the display screen, different dimming modes can be used to adjust the display brightness of the display screen.

[0015] In the second aspect, the present application provides a display method, which is applied to an electronic device, wherein the electronic device includes an application processor and a display screen, and the display screen includes a display driver circuit, and the method includes: when the electronic device is in a first display scene, determining a first number of control signals and a first group of Gamma parameters corresponding to the display driver circuit working in a first dimming mode; if the electronic device enters a second display scene, determining a second number of control signals and a second group of Gamma parameters corresponding to the display driver circuit working in the second dimming mode; determining a preset number of control signals and a third group of Gamma parameters based on the first number and the second number; controlling the display driver circuit to work in a pulse width modulation PWM dimming mode, and adjusting the brightness of the display screen based on the preset number of control signals and the third group of Gamma parameters; controlling the display driver circuit to work in the second dimming mode, and adjusting the brightness of the display screen based on the second number of control signals and the second group of Gamma parameters. Through the above technical solution, when the display scene of the display screen is switched, a preset number of control signals and corresponding Gamma parameters can be determined to adjust the brightness of the display screen according to the preset number of control signals and the corresponding Gamma parameters to avoid screen flickering.

[0016] In one embodiment of the present application, N preset numbers of control signals and M groups of Gamma parameters are determined based on the first number and the second number, wherein the N preset numbers of control signals are different from each other, N is an integer greater than 1, and M=N.

[0017] In an embodiment of the present application, the display driving circuit is controlled to operate in the PWM dimming mode, and the brightness of the display screen is adjusted based on the N preset numbers of control signals and the M groups of Gamma parameters.

[0018] In an embodiment of the present application, controlling the display driving circuit to operate in the PWM dimming mode and adjusting the brightness of the display screen based on the N preset numbers of control signals and the M groups of Gamma parameters includes: controlling the display driving circuit to operate in the PWM dimming mode, transmitting a third preset number of control signals in each control cycle, determining a fourth group of Gamma parameters according to a pre-established correspondence between display brightness and a fourth group of Gamma parameters, and adjusting the brightness of the display screen according to the determined fourth group of Gamma parameters; continuing to control the display driving circuit to operate in the PWM dimming mode, transmitting a fourth preset number of control signals in each control cycle, determining a fifth group of Gamma parameters according to a pre-established correspondence between display brightness and a fifth group of Gamma parameters, and adjusting the brightness of the display screen according to the determined fifth group of Gamma parameters; repeating the above process until the display driving circuit is controlled to operate in the PWM dimming mode, transmitting an Nth preset number of control signals in each control cycle, determining an Mth group of Gamma parameters according to a pre-established correspondence between display brightness and an Mth group of Gamma parameters, and adjusting the brightness of the display screen according to the determined Mth group of Gamma parameters. Through the above technical solution, when the display scene of the display screen is switched, N preset numbers of control signals and corresponding M groups of Gamma parameters can be determined to adjust the brightness of the display screen according to the N preset numbers of control signals and corresponding M groups of Gamma parameters to avoid screen flickering.

[0019] In an embodiment of the present application, the determining of a preset number of control signals and a third group of Gamma parameters based on the first number and the second number includes: if the absolute difference between the first number and the second number is greater than or equal to a third preset value, determining the preset number of control signals and the third group of Gamma parameters. Through the above technical solution, it can be determined that when the difference between the first number and the second number is large, the preset number of control signals and the third group of Gamma parameters are determined, and the brightness of the display screen is adjusted according to the preset number of control signals and the third group of Gamma parameters to avoid flickering of the display screen.

[0020] In one embodiment of the present application, the method of determining a preset number of control signals and a third group of Gamma parameters based on the first number and the second number includes: calculating a first duty cycle of the control signal according to the first number; calculating a second duty cycle of the control signal according to the second number; and determining the preset number of control signals and the third group of Gamma parameters when the absolute difference between the first duty cycle and the second duty cycle is greater than or equal to a fourth preset value. Through the above technical solution, it can be determined that when the difference between the duty cycles corresponding to the first number and the second number is large, a preset number of control signals and the third group of Gamma parameters are determined, and the brightness of the display screen is adjusted according to the preset number of control signals and the third group of Gamma parameters to avoid flickering of the display screen.

[0021] In one embodiment of the present application, the first group of Gamma parameters, the second group of Gamma parameters and the third group of Gamma parameters are different from each other. Through the above technical solution, the brightness of the display screen can be adjusted in different display scenes through different Gamma parameters to avoid screen flickering.

[0022] In one embodiment of the present application, the control of the display driving circuit to operate in the pulse width modulation (PWM) dimming mode, and adjusting the brightness of the display screen based on the preset number of control signals and the third group of Gamma parameters includes: controlling the display driving circuit to operate in the PWM dimming mode, transmitting the preset number of control signals in each control cycle, and determining the third group of Gamma parameters according to the pre-established correspondence between the display brightness and the third group of Gamma parameters, and adjusting the brightness of the display screen by the third group of Gamma parameters. Through the above technical solution, the brightness of the display screen can be adjusted by the determined third group of Gamma parameters to avoid screen flickering.

[0023] In one embodiment of the present application, the controlling the display driving circuit to operate in the second dimming mode, and adjusting the brightness of the display screen based on the second number of control signals and the second group of Gamma parameters includes: controlling the display driving circuit to operate in the second dimming mode, transmitting the second number of control signals in each control cycle, and determining the second group of Gamma parameters according to a pre-established correspondence between the display brightness and the second group of Gamma parameters, and adjusting the brightness of the display screen by the second group of Gamma parameters. Through the above technical solution, the brightness of the display screen can be adjusted by the determined second group of Gamma parameters to avoid screen flickering.

[0024] In one embodiment of the present application, when the electronic device is in the first display scene, the frequency of the control signal corresponding to the first dimming mode is greater than or equal to the preset frequency; when the electronic device is in the second display scene, the frequency of the control signal corresponding to the second dimming mode is less than the preset frequency. Through the above technical solution, the screen flickering phenomenon can be avoided when the electronic device switches the display scene.

[0025] In one embodiment of the present application, the first dimming mode is a direct current (DC) dimming mode or the PWM dimming mode; or the second dimming mode is the PWM dimming mode or the DC dimming mode. Through the above technical solution, in order to ensure the display effect of the display screen, different dimming modes can be used to adjust the display brightness of the display screen.

[0026] In a third aspect, the present application provides an electronic device comprising a display screen, a memory and a processor; the memory is used to store program instructions; the processor is used to read the program instructions stored in the memory to adjust the display brightness of the display screen through the above-mentioned display method.

[0027] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the above-mentioned display method is implemented.

[0028] In addition, the technical effects brought about by the third aspect to the fourth aspect can be found in the description related to the methods of each design in the above method part, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 This is a hardware architecture diagram of an electronic device provided by an embodiment of the present application;

[0030] Figure 2 is a structural schematic diagram of a pixel driving circuit provided by an embodiment of the present application;

[0031] Figure 3 A software architecture diagram of an electronic device provided in one embodiment of the present application;

[0032] Figure 4 A timing diagram of related signals during a screen scanning process provided by an embodiment of the present application;

[0033] Figure 5 A schematic diagram of a black insertion situation of an EM signal during screen scanning provided by an embodiment of the present application;

[0034] Figure 6 A flow chart of a display method provided in one embodiment of the present application;

[0035] Fig. 7A A schematic diagram of a brightness adjustment curve provided in an embodiment of the present application;

[0036] Figure 7B A schematic diagram of a brightness adjustment curve provided in yet another embodiment of the present application;

[0037] Figure 8 This is a timing diagram of an EM signal provided in an embodiment of the present application.

[0038] Fig. 9 A flowchart of a display method provided in yet another embodiment of the present application;

[0039] Fig.10 A timing diagram of an EM signal provided in another embodiment of the present application;

[0040] Fig.11A A schematic diagram of a brightness adjustment curve provided in an embodiment of the present application;

[0041] Fig. 11B A schematic diagram of a brightness adjustment curve provided in yet another embodiment of the present application;

[0042] Fig. 11C A schematic diagram of a brightness adjustment curve provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0043] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way.

[0044] To facilitate understanding of the following introduction to the display method provided in the embodiments of the present application, some terms used in the embodiments of the present application are explained below for easier understanding.

[0045] (1) Gate driver on array (GOA) signal (also called Gate signal), used to control the drive circuit (for example, Figure 2The GOA signal is a signal for the switching state of the transistor in the 7T1C driving circuit shown in the figure. The display state of the OLED display can be controlled by the GOA signal. Specifically, in the OLED display, each pixel can be individually controlled by the driving circuit, wherein the driving circuit may include multiple transistors and a capacitor. The pixels can be controlled by controlling the switching states of multiple transistors. The switching time and sequence of multiple transistors in the driving circuit can be controlled by the GOA signal to achieve precise control of the brightness and color of the pixels.

[0046] (2) Emission (EM) signal (also called enable signal or control signal), which is a signal used to control the pixel state in the OLED display. The lighting / extinguishing of the pixels in the OLED display can be controlled by the EM signal. Specifically, the EM signal is a low-level signal. When the EM signal is sent to the OLED display, the corresponding pixel will be lit. If a pixel needs to be extinguished, the EM signal of the pixel can be set to a high level. In practical applications, the power and duty cycle of the EM signal can be adjusted to achieve different brightness adjustment effects on the OLED display. For example, in DC dimming mode, EM is always in the on state (low level). By adjusting the size of the current or voltage corresponding to the EM signal, the brightness of the OLED display can be adjusted to different levels; in PWM dimming mode, the brightness of the OLED display can be adjusted to different levels by changing the duty cycle of the EM signal.

[0047] (3) Principle of PWM dimming: If the EM signal is a PWM signal (for ease of understanding, the EM signal is described as a PWM signal in the subsequent embodiments), when the EM signal is input to a row of pixels in the display screen, the pixels in the row will be lit when the EM signal is at a low level, and will be extinguished (not lit) when the EM signal is at a high level. Therefore, under the control of the EM signal, the pixels in the row will flash alternately "on→off→on→off→on→off" according to the frequency of the EM signal (the frequency is a flickering frequency that is difficult for the human eye to detect). In addition, by adjusting the duty cycle of the EM signal, the proportion of the high-level width (i.e., high-level duration) and low-level width (low-level duration) of the EM signal in a single flickering cycle can be adjusted, thereby adjusting the time ratio of "on" and "off" of the pixels in the row, and realizing screen brightness adjustment from 0% to 100%. For example, by extending the high-level width of the EM signal, that is, extending the duration of the "off" state, and taking advantage of the visual persistence phenomenon of the human eye, the eyes can be given the illusion that the screen seems to be darkened. On the contrary, if the low-level width of the EM signal is extended, that is, the duration of the "bright" state is extended, the screen will feel brighter. It should be noted that the screen brightness depends on the ratio of the duration of "bright" and "off" of each row of pixels in a flashing cycle (that is, the duty cycle of the EM signal), and does not depend on the frequency of the EM signal. That is, as long as the ratio of the time of "bright" and "off" in a flashing cycle remains unchanged, the screen brightness remains unchanged. Moreover, the flashing process of "bright" or "off" of the row of pixels here is invisible to the human eye. The off screen seen by the human eye in daily life means that the pixels in this row are always in the "off" state, and the on screen seen by the human eye in daily life means that the pixels in this row switch between the two states of on and off, and the different on and off times will result in different brightness of the bright screen seen by the human eye.

[0048] (4) Display screen scanning time h: The display screen scanning process is the process of refreshing a frame of the screen. The commonly mentioned screen refresh rate is such as 120Hz, which means refreshing 120 frames in 1 second, that is, completing 120 scans of the display screen in 1 second. For a display screen with a screen resolution of 1200×2800RGB, scanning each pixel in the display screen until each pixel is scanned is considered to complete a display screen scanning process. When the display screen scan is completed, the display screen will present a frame of the screen. When the display screen is working, the display driver circuit (Display Driver IC, DDIC) usually controls a certain timing to drive the GOA signal, EM signal and TFT timing related to the display screen to complete the reset, initialization, charging and light-emitting of the display screen. There is precise hardware timing control for scanning each row of pixels in the display screen. The internal clock of the electronic device can set the duration of scanning each row of pixels in the display screen, that is, the display screen scanning time h (Hsync) per row. For example, for a screen with a resolution of 1200×2800 and a refresh rate of 120 Hz, assuming that the interval time (porch) between each frame includes the column forward extension interval (Vertical Front Porch, VFP) and the column backward extension interval (Vertical Back Porch, VBP), totaling 80 h (actually it can be flexibly set according to the needs of different products), then the approximate scanning time h of each row of the display screen is h=1 / 120 / (2800+80)=2.894us.

[0049] (5) Calculation of EM duty: If the EM signal is in the form of PWM, the high or low level duration of the PWM signal can usually be calculated based on the number of h. Taking a screen with a resolution of 1200×2800 and a refresh rate of 120Hz as an example, assuming that VFP and VBP total 80 h, then the approximate duration of each line scan time h of the display is 2.894us. In this case, if the display is lit, it can be achieved by adjusting the duty cycle of the PWM signal. Assuming that the duty cycle of the PWM signal is x%, the EMduty is approximately 1-(x / (2800+80))×100%. This means that when the duty cycle of the PWM signal is x%, the proportion of the time that the display will continue to light up in a complete cycle is 1-x%. Therefore, by adjusting the duty cycle of the PWM signal, precise control of the brightness of the display can be achieved.

[0050] (6) Display Brightness Value (DBV): In order to provide users with a good user experience, a display brightness value (DBV) for adjusting the brightness of the display screen can be pre-set in the electronic device. The user can adjust the brightness of the display screen by changing the display brightness value. When the external light is strong, the user can increase the DBV of the display screen so that the user can see the content displayed on the display screen clearly; when the external light is weak, the user can reduce the DBV of the display screen to avoid the user's eyes being hurt by the large difference in brightness between the external light and the display screen. Among them, there is generally a one-to-one correspondence between the preset DBV (unitless) and the actual brightness value of the display screen (unit is nit). For example, taking the maximum actual brightness value of 1600nit and the DBV value of 12bits (that is, there are 4095 DBV values) as an example, the DBV value of 4095 corresponds to the maximum brightness value of 1600nit.

[0051] In some embodiments, the DBV value can also be, for example, 8 bits (i.e., 256 DBV values) or 10 bits (i.e., 1024 DBV values). When the maximum actual brightness value is determined, the larger the DBV value range, the smaller the actual brightness value changed by adjusting each DBV, that is, the actual brightness adjustment accuracy of the display screen is higher.

[0052] (7) Grayscale: Grayscale is the process of dividing the brightness variation between the brightest and darkest brightness that a display screen can display into several parts, so as to facilitate the control of the brightness of the display screen. Each frame of the display screen is composed of the colors displayed by multiple sub-pixels P. Usually, each pixel can present different colors, and each color is composed of three primary colors: red, green, and blue. Each pixel includes multiple sub-pixels P. For example, each pixel includes a red sub-pixel, a green sub-pixel, and a blue sub-pixel. Each sub-pixel P can show different brightness levels, and the grayscale represents the different brightness levels from the darkest to the brightest. The more levels of different brightness between the darkest and the brightest, the more delicate the picture effect that can be presented.

[0053] There is a certain correspondence between the grayscale and the gamma voltage, and each grayscale corresponds to a different gamma voltage. For example, as the grayscale increases, the gamma voltage also increases. Figure 2The data signal transmitted by the data signal terminal Vdata in the 7T1C driving circuit shown is generated according to the gamma voltage, and the voltage value of each data signal basically corresponds to a gamma voltage. Therefore, the voltage value of the data signal can be characterized by the gamma voltage. It can be seen that there is a definite corresponding relationship between the display brightness value and the grayscale, and there is also a definite corresponding relationship between the gamma voltage and the display brightness value. By adjusting the gamma parameter corresponding to the gamma voltage, the display brightness of the display screen can be adjusted.

[0054] More and more mobile phones and other electronic devices are beginning to use organic light-emitting diode (OLED) screens as display screens. Compared with traditional display screens, OLED screens have the advantages of being thinner and lighter and having higher luminous efficiency. It should be noted that for the sake of convenience, the display screens in the following text are introduced using OLED display screens as an example.

[0055] In the embodiments provided in the present application, the electronic device can be in various forms, for example, a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a wearable terminal device, and the like.

[0056] Figure 1 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.

[0057] 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.

[0058] It is to be understood that the structure illustrated in the embodiment of the present application 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.

[0059] 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 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.

[0060] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0061] The processor 110 may also be provided with a memory 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 instructions or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0062] 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.

[0063] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0064] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0065] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0066] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0067] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0068] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0069] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices 100, such as AR devices, etc.

[0070] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0071] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.

[0072] 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, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0073] 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.

[0074] 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.

[0075] 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.

[0076] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent 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 the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0077] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), 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 frequency of the electromagnetic wave signal and performs filtering, 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 of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0078] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0079] 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.

[0080] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oled, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0081] Taking an OLED display screen as an example, an OLED display screen may include a plurality of OLED pixels arranged in an array. Each pixel controls the corresponding OLED pixel to present different colors and brightness through a pixel driving circuit. In this way, each OLED pixel in the OLED display screen can display a corresponding picture under different driving voltages output by the driving circuit. Among them, the structure of the pixel driving circuit includes multiple structures, which can be selected and set according to actual needs. Exemplarily, the structure of the pixel driving circuit may include structures such as "6T1C", "7T1C", "6T2C" or "7T2C". Here, "T" represents a transistor, and the number in front of "T" represents the number of transistors, and "C" represents a storage capacitor, and the number in front of "C" represents the number of storage capacitors. It should be noted that the pixel driving circuit includes a driving transistor and at least one light-emitting control transistor.

[0082] like Figure 2 As shown, the structure of the above-mentioned pixel driving circuit is a 7T1C structure as an example. The pixel driving circuit includes a driving transistor and two light-emitting control transistors. The driving transistor can provide a driving signal (that is, a driving current) to the corresponding light-emitting device L according to the control signal input to the pixel driving circuit (the control signal comes from the data signal terminal Vdata), and the light-emitting control transistor can control the conduction and disconnection between the driving transistor and the light-emitting device L under the control of the enable signal transmitted by the enable signal terminal EM. In one embodiment, the magnitude of the voltage value of the control signal can control the magnitude of the driving current provided to the light-emitting device L; the enable signal can control whether the driving current is transmitted to the light-emitting device L and the duration of the driving current transmitted to the light-emitting device L, that is, the enable signal can control whether the light-emitting device L emits light and control the light-emitting duration of the light-emitting device L.

[0083] Exemplarily, the enable signal is a pulse width modulation signal. In a light-emitting stage, by adjusting the duty cycle of the pulse width modulation signal, the duration of the drive current transmitted to the light-emitting device L can be controlled, thereby adjusting the display brightness of the display screen. The method of adjusting the brightness of the display screen described here is the PWM dimming mode described above. For example, the higher the duty cycle of the pulse width modulation signal, the longer the light-emitting duration of the corresponding light-emitting device L in a light-emitting stage, and the higher the display brightness of the display screen. Conversely, if the duty cycle of the pulse width modulation signal is lower, the shorter the light-emitting duration of the corresponding light-emitting device L in a light-emitting stage, the lower the display brightness of the display screen.

[0084] Exemplarily, in a light-emitting stage, by adjusting the voltage value of the control signal, the magnitude of the driving current can be controlled, thereby adjusting the display brightness of the display screen. The method of adjusting the brightness of the display screen described here is the DC dimming mode described above. For example, the higher the voltage value of the control signal, the smaller the driving current, the lower the corresponding light-emitting brightness of the light-emitting device L in a light-emitting stage, and the lower the display brightness of the display screen. Conversely, if the voltage value of the control signal is lower, the larger the driving current, the higher the corresponding light-emitting brightness of the light-emitting device L in a light-emitting stage, and the higher the display brightness of the display screen.

[0085] Here, Figure 2 The multiple transistors included in the pixel driving circuit shown are P-type transistors as an example. In the case where the multiple transistors included in the pixel driving circuit are N-type transistors, the higher the voltage value of the control signal, the greater the driving current, the higher the luminous brightness of the corresponding light-emitting device L in a luminous phase, and the higher the display brightness of the display screen. Conversely, the lower the voltage value of the control signal, the smaller the driving current, the lower the luminous brightness of the corresponding light-emitting device L in a luminous phase, and the lower the display brightness of the display screen. From the above, it can be seen that the display brightness of each pixel in the OLED display screen and the display brightness of the display screen are at least jointly controlled by the control signal (Gamma parameter) and the enable signal (EM signal).

[0086] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0087] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0088] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0089] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0090] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0091] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0092] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0093] Random access memory may include 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, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.;

[0094] Non-volatile memory may include disk storage devices and flash memory.

[0095] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; can be divided into single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential level; can be divided into universal flash storage (UFS), embedded multi media card (eMMC), etc. according to the storage specification.

[0096] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.

[0097] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .

[0098] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.

[0099] The electronic device 100 can implement audio functions such as media data playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0100] 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. The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.

[0101] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0102] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0103] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0104] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0105] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0106] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0107] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0108] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device 100 and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0109] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0110] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0111] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0112] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0113] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0114] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0115] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0116] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0117] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0118] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0119] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0120] Figure 3 It is a software structure block diagram of an electronic device 100 provided in an embodiment of the present application.

[0121] 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. Taking the Android system as an example, in some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the system library, and the kernel layer.

[0122] The application layer may include a series of application packages. In the embodiment of the present application, the application package may include applications related to fingerprint recognition, such as fingerprint recognition, for example, fingerprint unlocking, access to application locks, fingerprint photography, fingerprint answering calls, etc. Figure 3 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0123] 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 3 As shown, the application framework layer may also include: a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0124] The system library may include multiple functional modules, such as a surface manager, a media library, a 3D graphics processing library (such as OpenGL ES), a 2D graphics engine (such as SGL), an image processing library, etc.

[0125] 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.

[0126] In the embodiment of the present application, the hardware layer is the hardware of the electronic device, and the hardware layer at least includes a pixel driving circuit, a display driving circuit and a display screen.

[0127] Understandably, Figure 3 The layers in the software structure shown and the components contained in each layer do not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer layers than shown in the figure, and each layer may include more or fewer components, which is not limited in the present application.

[0128] It should be noted that although the embodiments of the present application are based on The system is used as an example to illustrate, but its basic principles are also applicable to the Hongmeng system or Electronic devices with other operating systems.

[0129] Before describing in detail the display method and electronic device provided in the embodiments of the present application, Figures 4 to 5 , the screen scanning process and principle are explained.

[0130] The process of screen scanning is the process of refreshing a frame of picture on the screen. The commonly referred to screen refresh rate is such as 120hz, which means refreshing 120 frames in 1 second, that is, completing 120 screen scans on the screen in 1 second. For a screen with a screen resolution of 1200*2800RGB, each pixel in the screen is scanned until the scanning of each pixel is completed, which is considered to be the completion of a screen scanning process. When the screen scan is completed, the screen will present a frame of picture. For the convenience of explanation, the embodiment of the present application refers to the picture frame that the screen is scanning as the current picture frame, the previous frame of the current picture frame as the previous picture frame, and the next frame of the current picture frame as the next picture frame.

[0131] After the screen scan of the previous picture frame is completed, the frame synchronization (vertical synchronization, Vsync) signal of the display driving circuit will generate a rising edge, and then enter the screen scan of the current picture frame. For the screen scan of the current picture frame, the scanning will start from the first row of pixels in the order from top to bottom and from left to right until the scanning of the 1200th row of pixels is completed, that is, the scanning of the current picture frame is completed. At this time, the display driving circuit will generate another rising edge, and then enter the scanning of the next picture frame. It can be seen that one cycle of Vsync is the time required to complete a screen scanning process (hereinafter referred to as the screen scanning cycle), and it is also the refresh time required to refresh a frame of the picture. Based on this, the frequency and cycle of Vsync depend on what is commonly referred to as the screen refresh rate.

[0132] The scanning process of a single row of pixels is described below by taking the Mth row of pixels (1≤M≤1200, and M is an integer) as an example.

[0133] The GOA signal is used to control the Mth row of pixels to turn on (which can be understood as turning on the power supply. After the power supply is turned on, the EM signal can be used to control the brightness later), and the EM signal (such as Figure 4 EM1 or EM2 shown in the figure is connected to the Mth row of pixels to drive the pixels in the row, so as to achieve the purpose of controlling the brightness of the pixels in the Mth row and complete the scanning of the pixels in the Mth row. After the scanning of the pixels in the Mth row is completed, the Hsync signal of the display driving circuit group will generate a rising edge, and then enter the scanning of the pixels in the M+1th row. It can be seen that one cycle of Hsync is the scanning time used to scan one row. Since one frame has 1200 rows of pixels, completing the scanning of one frame will generate 1200 cycles of Hsync, that is, one cycle of Vsync will have 1200 cycles of Hsync.

[0134] OLED screens are usually scanned line by line (including reset, initialization, charging, luminescence, etc.). For each row of pixels, reset, initialization, charging, etc. are usually completed within the first EM high level (no light). Among them, the first EM signal of each pixel at the beginning of the current frame is a high level, that is, the off state. The lit state cannot be reset or charged. The light is emitted in other EM intervals after the first EM high level. Since the signals for reset, initialization, and charging operations need to use corresponding scanning operation signals respectively, such as Figure 4As shown in the figure, Scan1, Scan2, Scan3 (may be 2, 3 or 4, 5 signals, different circuit architectures correspond to different scanning operation signals), the corresponding EM signal width needs to be wider to ensure that the above scanning signal is valid within the time range corresponding to the first EM high level. Other EM signals in the non-scanning charging interval usually meet the minimum requirements of the display circuit. Figure 4 As shown, EM1 is the EM signal waveform corresponding to the DC dimming mode in the high brightness range, and EM2 is the EM signal waveform corresponding to the PWM dimming mode in the low brightness range. Scan1, Scan2 and Scan3 are valid within the time range corresponding to the first high level of EM1, and are also valid within the time range corresponding to the first high level of EM2.

[0135] Ginseng Figure 5 As shown, during the screen scanning process of the OLED display, when the OLED display uses the PWM dimming mode to adjust the brightness of the display, the pixels of the OLED display will appear a scrolling picture with alternating bright stripes (blank areas) and dark stripes (black areas). When the OLED display uses the DC dimming mode to adjust the brightness of the display, the display will not appear a scrolling picture with alternating bright stripes and dark stripes. However, during the display refresh of a frame, if the EM signal black insertion is wider (that is, the dark stripes are wider), it means that the EM duty is smaller and the brightness of the display is darker; if the EM signal black insertion is narrower, it means that the EM duty is larger and the brightness of the display is brighter. Generally, when the OLED display uses the DC dimming mode to adjust the brightness of the display, the EM duty can reach more than 90%, or even more than 98%. When OLED displays use PWM dimming mode to adjust the brightness of the display, the EM duty becomes smaller and smaller due to higher PWM specifications, such as 2160Hz, 3840Hz, etc., and the use of new low-temperature polycrystalline oxide (LTPO) displays (LTPO displays require long scanning and reset compensation times).

[0136] In some embodiments, when the display screen is in high brightness, the EM duty of the control signal is usually large when the DC dimming mode is used, while when the display screen is in low brightness, the EM duty of the control signal is usually small when the PWM dimming mode is used. In the process of switching the display screen from low brightness to high brightness, or from high brightness to low brightness, it is necessary to switch the DC dimming mode and the PWM dimming mode. Since the EM duty corresponding to the DC dimming mode and the EM duty corresponding to the PWM dimming mode are quite different, the risk of flickering of the display screen increases when the two are switched. For example, if the display screen uses the DC dimming mode for brightness adjustment, the number of control signals transmitted in each control cycle is 1 pulse, and if the display screen uses the PWM dimming mode for brightness adjustment, the number of control signals transmitted in each control cycle is 32 pulses. If the black insertion width of each control signal is 40h, assuming the porch duration is 80h, the total duration is 2800+80=2880h, then the EM duty in PWM dimming mode is 1-(40*32 / 2800)*100%=55.6%, and the EM duty in DC dimming mode is 1-(40*1 / 2880)*100%=98.6%. The difference between the two is large. At this time, if the dimming mode of the display is switched from DC dimming mode to PWM dimming mode, the display will flicker.

[0137] In order to improve the above-mentioned screen flickering phenomenon, the embodiments of the present application provide a display method, an electronic device, and a storage medium. In the process of adjusting the brightness of the display screen, one or more preset control signals can be added when switching the dimming mode, and the display brightness of the display screen can be adjusted based on the dimming mode corresponding to the preset control signals. Figure 4 The display method provided by the embodiment of the present application is described in detail. The display method is applied to an electronic device, and the electronic device may include an application processor (AP), a display driver circuit (DDIC) and a display screen. The display method includes the following steps:

[0138] S100 , in response to a change in ambient light or a manual adjustment, an application processor generates a dimming request.

[0139] In one embodiment of the present application, the application processor may determine whether the display brightness of the display screen needs to be adjusted based on changes in ambient light or manual adjustment of the display brightness of the display screen, and generate a dimming request when it is determined that the display brightness of the display screen needs to be adjusted.

[0140] S101: An application processor sends a dimming request to a display driving circuit.

[0141] In one embodiment of the present application, after the application processor generates a dimming request, it sends the dimming request to the display driving circuit to control the display driving circuit to adjust the brightness of the display screen.

[0142] S102: The display driving circuit determines a currently corresponding first dimming mode and a first number of control signals corresponding to the first dimming mode.

[0143] In general, in order to ensure the display effect of the display screen when the display brightness is less than or equal to the preset brightness, and to ensure the display effect of the display screen when the display brightness is greater than the preset brightness, different dimming modes can be used to adjust the brightness of the display screen for different display brightnesses. For example, when the display brightness of the display screen is greater than the preset brightness (i.e., the high-brightness low-frequency interval), the DC dimming mode (Gamma dimming, i.e., adjusting the current / voltage size of the EM signal) is usually used to adjust the display brightness of the display screen, that is, the number of control signals transmitted in each control cycle in the DC dimming mode is set to 1Pulse, 2Pulse, 3Pulse, etc. A few pulse numbers. Gamma dimming is used by fixing the EM duty of the control signal. That is, the display brightness of the display screen is adjusted by calling the Gamma parameter corresponding to the current / voltage size of the EM signal; when the display brightness of the display screen is less than or equal to the preset brightness (i.e., the low-brightness high-frequency interval), the PWM dimming mode (i.e., adjusting the duty cycle of the EM signal) is usually used to adjust the display brightness of the display screen. In an embodiment of the present application, the preset brightness can be 90nit or other values, and the present application is not limited to this.

[0144] It should be noted that in some embodiments, in the low-brightness and high-frequency range, in addition to adjusting the brightness of the display screen by adjusting the duty cycle of the EM signal, the duty cycle of the high-frequency EM signal can also be fixed in some brightness ranges (such as 2nit~5nit) to adjust the brightness of the display screen by gamma dimming.

[0145] In the embodiment of the present application, before adjusting the display brightness of the display screen, the current dimming mode of the display screen and the number of control signals transmitted in each control cycle under the current dimming mode are first determined. In this way, when the AP receives a dimming request, the first corresponding dimming mode and the first number of control signals corresponding to the first dimming mode can be first determined.

[0146] In one embodiment of the present application, it is assumed that the current dimming mode of the display screen is the first dimming mode, that is, it is determined that the display driving circuit operates in the first dimming mode, and it is determined that the display driving circuit corresponds to a first number of control signals when operating in the first dimming mode. Wherein, the first dimming mode can be a DC dimming mode or a PWM dimming mode. If the display driving circuit operates in the DC dimming mode, then the display driving circuit adjusts the display brightness of the display screen by transmitting a first number of control signals in each control cycle. Wherein, the first number can be 1, that is, when the display driving circuit operates in the DC dimming mode, 1 control signal (1 pulse) is transmitted in each control cycle. If the display driving circuit operates in the PWM dimming mode, then the display driving circuit adjusts the display brightness of the display screen by transmitting a first number of control signals in each control cycle. Wherein, the first number can be 32, that is, when the display driving circuit operates in the PWM dimming mode, 32 control signals (32 pulses) are transmitted in each control cycle. In other embodiments, the first number can also be a smaller value such as 2 or 3, which is not limited in the present application.

[0147] S103: The application processor AP determines a target brightness according to the dimming request.

[0148] In one embodiment of the present application, after the application processor AP generates a dimming request, the AP determines the target brightness according to the dimming request. For example, in one application scenario, when a user holds an electronic device from outdoors to indoors, the application processor can determine that the display brightness of the display screen needs to be adjusted according to the changes in the outdoor ambient light and the indoor ambient light, generate a dimming request when determining that the display brightness of the display screen needs to be adjusted, and determine the target brightness according to the dimming request.

[0149] The application processor may also determine whether the display brightness of the display screen needs to be adjusted according to a manual adjustment method. For example, in response to a user sliding a brightness bar on a brightness adjustment interface, it is determined that the display brightness of the display screen needs to be adjusted, and the application processor generates a dimming request and determines the target brightness according to the dimming request.

[0150] S104: The application processor sends the target brightness to the display driving circuit.

[0151] S105 , the display driving circuit determines whether the corresponding dimming mode is the first dimming mode or the second dimming mode according to the target brightness.

[0152] In the embodiment of the present application, in order to ensure the display effect of the display screen, when the display driving circuit adjusts the brightness of the display screen to the target brightness, the display driving circuit needs to determine whether the dimming mode corresponding to the target brightness is the first dimming mode or the second dimming mode, so as to adjust the display brightness of the display screen to the target brightness according to the determined dimming mode. It is determined whether the dimming mode needs to be switched according to the current dimming mode and the target brightness. If it is determined that the dimming mode needs to be switched, the brightness of the display screen can be adjusted to the target brightness according to the switched dimming mode.

[0153] In the embodiment of the present application, the dimming mode corresponding to the target brightness can be determined to be the first dimming mode or the second dimming mode according to the size of the target brightness and the preset brightness. Specifically, when the target brightness is less than or equal to the preset brightness, the dimming mode corresponding to the target brightness is determined to be the first dimming mode; or when the target brightness is greater than the preset brightness, the dimming mode corresponding to the target brightness is determined to be the second dimming mode.

[0154] For example, when the target brightness is less than or equal to the preset brightness, in order to ensure the display effect of the display screen at low display brightness, the corresponding dimming mode is determined to be the first dimming mode, and the first dimming mode is the PWM dimming mode. When the target brightness is greater than the preset brightness, in order to ensure the display effect of the display screen at high display brightness, the corresponding dimming mode is determined to be the second dimming mode, and the second dimming mode is the DC dimming mode.

[0155] If it is determined that the dimming mode corresponding to the target brightness is the second dimming mode, the process executes steps S105 to S109. If it is determined that the dimming mode corresponding to the target brightness value is the first dimming mode, the process executes step S110.

[0156] It is determined that the dimming mode corresponding to the target brightness is the second dimming mode, and step S105 is executed to determine a second number of control signals corresponding to the second dimming mode.

[0157] In the embodiment of the present application, if the dimming mode corresponding to the target brightness is determined to be the second dimming mode, before adjusting the display brightness of the display screen to the target brightness, it is also necessary to determine the second number of control signals transmitted in the second dimming mode. For example, when the second dimming mode is determined to be the DC dimming mode, the control signal of 1 pulse is determined to be transmitted in the DC dimming mode; when the second dimming mode is determined to be the PWM dimming mode, the control signal of 32 pulse is determined to be transmitted in the PWM dimming mode.

[0158] S106: Determine a preset number of control signals based on the first number and the second number.

[0159] In one embodiment of the present application, in order to ensure that the display driving circuit does not flicker when adjusting the display brightness of the display screen, it is necessary to ensure that the display driving circuit does not flicker when switching from the first dimming mode to the second dimming mode.

[0160] For example, when the display driver circuit adjusts the display brightness of the display screen through a 1pluse control signal in the DC mode, after the application processor sends the target brightness to the display driver circuit, the display driver circuit determines that the dimming mode needs to be switched to the PWM dimming mode according to the target brightness, and determines that a 32-pulse control signal needs to be transmitted in the PWM dimming mode. Since the EM duty of the control signal is greatly different in the process of directly switching from transmitting a 1-pulse control signal to transmitting a 32-pulse control signal. For example, in the 1-pulse DC dimming mode, the EM duty of the control signal is 98.6%, and in the 32-pulse PWM dimming mode, the EM duty of the control signal is 55.6%. There is a large difference between the two, and direct switching will cause the problem of screen flickering. In order to improve the problem of screen flickering, in the process of switching the dimming mode, the display driver circuit can first adjust the brightness of the display screen through a preset number of control signals, and then adjust the brightness of the display screen to the target brightness through the control signal corresponding to the switched dimming mode (such as the PWM dimming mode) (such as the 32-pulse control signal), so as to achieve the EMduty of the control signal from 98.6% to 55.6% slowly, so as to improve the problem of screen flickering.

[0161] In one embodiment of the present application, the preset brightness is the inflection point brightness when the display screen switches from the PWM dimming mode to the DC dimming mode, or from the DC dimming mode to the PWM dimming mode during the dimming process. For example, assuming that the inflection point brightness of the switch between the DC dimming mode and the PWM dimming mode is n1 nit, that is, the DC dimming mode is used when the display brightness is greater than or equal to n1 nit, and the high-frequency PWM dimming mode is used when the display brightness is less than n1 nit (such as n2 nit). If the EM duty difference is too large when switching from the DC dimming mode to the PWM dimming mode, the display screen will have a flickering phenomenon. In order to avoid the flickering phenomenon, an n12 nit is added between n1 nit and n2 nit (that is, the preset display brightness is n12 nit), and n12 nit is set to correspond to a Gamma parameter, and the number of control signals corresponding to the Gamma parameter is 16 pulses. Then the EM duty corresponding to the display brightness corresponding to n12 nit = 1-(16*40 / 2880) = 77.8%. In this way, you can first switch from the DC dimming mode to the 16-pulse PWM dimming mode, and then switch from the 16-pulse PWM dimming mode to the 32-pulse PWM dimming mode. Reduce the EM duty from 98.6% to 77.8%, and then from 77.8% to 55.6% to solve the screen flickering problem. In one embodiment of the present application, the brightness range between n1 nit and n2 nit can be set very narrow, such as less than 1nit, or a smaller range. The purpose is to allow users to stay within the more eye-friendly 32-pulse PWM dimming and DC dimming range as much as possible. In this way, it can be achieved that during the dimming process, it is possible to stay in the more eye-friendly high-frequency PWM dimming mode and DC dimming mode as much as possible.

[0162] In the embodiment of the present application, the preset number may be between the first number and the second number. For example, if the first number is 1 pulse and the second number is 32 pulses, then the preset number may be 24 pulses, 16 pulses or 8 pulses, and the present application does not limit this.

[0163] In an embodiment of the present application, determining a preset number of control signals based on the first number and the second number includes: comparing the absolute difference between the first number and the second number with the first preset value, if the absolute difference between the first number and the second number is greater than or equal to the first preset value, determining that the EM duty of the control signal in the first dimming mode is relatively different from the EM duty of the control signal in the second dimming mode, and in the process of switching the dimming mode, a flickering phenomenon is likely to occur, and it is necessary to increase the transition point for dimming, for example, the preset display brightness corresponding to the preset number of control signals mentioned in the above embodiment. That is, in addition to adjusting the brightness of the display screen by transmitting the second number of control signals within the control cycle, the brightness of the display screen can also be adjusted by transmitting the preset number of control signals within the control cycle. If the absolute difference between the first number and the second number is less than the first preset value, it is determined that the EM duty of the control signal in the first dimming mode is relatively different from the EM duty of the control signal in the second dimming mode, and in the process of switching the dimming mode, it is not necessary to increase the transition point for dimming. For example, when the first number is 1 pulse and the second number is 32 pulses, the first preset value can be 31. In the embodiment of the present application, the size of the first preset value is not limited.

[0164] In another embodiment of the present application, determining a preset number of control signals based on the first number and the second number further includes: calculating a first duty cycle of the control signal according to the first number; calculating a second duty cycle of the control signal according to the second number; comparing the absolute difference between the first duty cycle and the second duty cycle with the second preset value, if the absolute difference between the first duty cycle and the second duty cycle is greater than or equal to the second preset value, determining that the EM duty of the control signal in the first dimming mode is relatively different from the EM duty of the control signal in the second dimming mode, and in the process of switching the dimming mode, a flickering screen phenomenon is likely to occur, and it is necessary to increase the transition point for dimming. That is, in addition to adjusting the brightness of the display screen by transmitting the second number of control signals within the control cycle, the brightness of the display screen can also be adjusted by transmitting the preset number of control signals within the control cycle. If the absolute difference between the first duty cycle and the second duty cycle is less than the second preset value, determining that the EM duty of the control signal in the first dimming mode is relatively different from the EM duty of the control signal in the second dimming mode, and in the process of switching the dimming mode, there is no need to increase the transition point for dimming. For example, when the first number is 1 pulse and the second number is 32 pulses, the second preset value can be 43%. In the embodiment of the present application, the size of the second preset value is not limited.

[0165] It should be noted that for a specific example of adjusting the brightness of the display screen according to a preset number of control signals in the embodiment of the present application, reference can be made to the following Fig. 7Aand Figure 7B The introduction of will not be repeated here.

[0166] In one embodiment of the present application, if after determining a preset number of control signals based on the first number and the second number, the duty cycle of the first number of control signals is still significantly different from the duty cycle of the preset number of control signals, then the problem of screen flickering during the dimming process may still not be solved. In this case, N preset numbers of control signals may be determined based on the first number and the second number, wherein the N preset numbers of control signals are different from each other and each preset number of control signals corresponds to a preset display brightness, and N is an integer greater than 1; the display driving circuit is controlled to gradually adjust the brightness of the display screen to the Nth preset display brightness corresponding to the Nth preset number of control signals based on the PWM dimming mode and the N preset numbers of control signals, so as to solve the screen flickering problem.

[0167] In an embodiment of the present application, to avoid screen flickering, N preset numbers of control signals are different from each other and each preset number of control signals corresponds to a preset display brightness, where N is an integer greater than or equal to 1.

[0168] In some embodiments, according to Fig. 7A and Figure 7B It can be seen from the brightness adjustment curve shown that the preset display brightness corresponds to an actual brightness DBV, and the actual brightness DBV corresponds to the setting of a corresponding Gamma parameter point, so that according to the determined N preset number of control signals, a Gamma parameter point corresponding to the preset display brightness corresponding to each control signal in the N preset number of control signals can be added to a set of Gamma parameters, so as to correct the display screen to achieve the target color and brightness and meet the color and brightness specification requirements.

[0169] S108, controlling the display driving circuit to operate in a pulse width modulation (PWM) dimming mode, transmitting the preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to the preset display brightness.

[0170] In one embodiment of the present application, a preset number of control signals is determined based on the first number and the second number, and the preset number of control signals corresponds to a preset display brightness. The display brightness of the display screen can be adjusted to the preset display brightness according to the preset number of control signals. Specifically, the display driving circuit is controlled to operate in a pulse width modulation (PWM) dimming mode, and the preset number of control signals is transmitted in each control cycle, so that the brightness of the display screen is adjusted to the preset display brightness.

[0171] In one embodiment of the present application, if N preset numbers of control signals are determined based on the first number and the second number, the display driver circuit is controlled to gradually adjust the brightness of the display screen to the Nth preset display brightness corresponding to the Nth preset number of control signals based on the PWM dimming mode and the N preset numbers of control signals, so that the screen flickering phenomenon can be avoided. Specifically, the display driver circuit is controlled to operate in the PWM dimming mode, and the first preset number of control signals are transmitted in each control cycle, so that the brightness of the display screen is adjusted to the first preset brightness corresponding to the first preset number of control signals; the display driver circuit is continuously controlled to transmit the second preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to the second preset brightness corresponding to the second preset number of control signals; the above process is repeatedly executed until the brightness of the display screen is adjusted to the Nth preset brightness corresponding to the Nth preset number of control signals.

[0172] For example, if three preset numbers of control signals are determined based on the first number and the second number, wherein each preset number of control signals corresponds to a preset brightness. If the three preset numbers of control signals are respectively the first preset number of control signals, the second preset number of control signals and the third preset number of control signals. Wherein, the first preset number of control signals is a 24-pulse control signal, and the 24-pulse control signal corresponds to the first preset brightness; the second preset number of control signals is a 16-pulse control signal, and the 16-pulse control signal corresponds to the second preset brightness; and the third preset number of control signals is an 8-pulse control signal, and the 8-pulse control signal corresponds to the third preset brightness. Then, in the PWM dimming mode, the display driving circuit is controlled to transmit a 24-pulse control signal in each control cycle, so that the brightness of the display screen is adjusted to the first preset brightness; the display driving circuit is continuously controlled to transmit a 16-pulse control signal in each control cycle until the brightness of the display screen is adjusted to the second preset brightness; the display driving circuit is continuously controlled to transmit an 8-pulse control signal in each control cycle until the brightness of the display screen is adjusted to the third preset brightness. On the contrary, in the PWM dimming mode, the display driving circuit is controlled to transmit an 8-pulse control signal in each control cycle, so that the brightness of the display screen is adjusted to the third preset brightness; the display driving circuit is continued to be controlled to transmit a 16-pulse control signal in each control cycle until the brightness of the display screen is adjusted to the second preset brightness; the display driving circuit is continued to be controlled to transmit a 24-pulse control signal in each control cycle until the brightness of the display screen is adjusted to the first preset brightness.

[0173] Specifically, if it is determined that the display driving circuit works in the PWM dimming mode, the corresponding EM signal is 32 pulses, and the display brightness of the current display screen is less than 90 nit; when the AP sends the target brightness of 91 nit to the display driving circuit, the display driving circuit determines that the dimming mode corresponding to the target brightness of 91 nit is the DC dimming mode, and corresponds to the EM signal of 1 pulse. Since the EM duty of 98.6% in the DC dimming mode is too different from the EM duty of 55.6% in the PWM dimming mode, a flickering screen phenomenon may occur in the process of adjusting the display brightness of the display screen from less than 90 nit to 91 nit. In order to avoid the flickering screen phenomenon, the display driving circuit determines that the PWM dimming mode also corresponds to three preset numbers of EM signals, namely, a 24-pulse EM signal, a 16-pulse EM signal, and an 8-pulse EM signal. And the actual brightness value corresponding to the 24-pulse EM signal is set to 89.2 nit, the actual brightness value corresponding to the 16-pulse EM signal is set to 89.5 nit, and the actual brightness value corresponding to the 8-pulse EM signal is set to 89.8 nit. Then the display driver circuit can continue to work in the PWM dimming mode, and adjust the display brightness of the display screen to 89.2nit through the 24pulse EM signal; adjust the display brightness of the display screen to 89.5nit through the 16pulse EM signal; adjust the display brightness of the display screen to 89.8nit through the 8pulse EM signal; and then switch from the PWM dimming mode to the DC dimming mode, and adjust the display brightness of the display screen to 91nit through the 1pulse EM signal in the DC dimming mode. In this way, the screen flickering phenomenon can be avoided in the process of adjusting the brightness of the display screen from less than 90nit to 91nit.

[0174] In another embodiment of the present application, if it is determined that the display driver circuit operates in the PWM dimming mode corresponding to the 32-pulse EM signal, and the display brightness of the current display screen is less than 90 nit; when the AP determines that the target brightness of 91 nit needs to be sent to the display driver circuit according to the dimming request, it is first determined that the dimming mode corresponding to the target brightness of 91 nit is the PWM dimming mode, and the PWM dimming mode also corresponds to three preset numbers of EM signals, namely, 24-pulse EM signals, 16-pulse EM signals, and 8-pulse EM signals. And the actual brightness value corresponding to the 24-pulse EM signal is set to 89.2 nit, the actual brightness value corresponding to the 16-pulse EM signal is set to 89.5 nit, and the actual brightness value corresponding to the 8-pulse EM signal is set to 89.8 nit. The AP needs to continuously send the DBV values ​​corresponding to 89.2 nit, 89.5 nit, and 89.8 nit to the display driver circuit respectively, and the display driver circuit switches the brightness and the corresponding set EM pulse number in turn according to the received DBV value.

[0175] In the embodiment of the present application, the brightness of the display screen can also be adjusted to the preset display brightness according to the Gamma parameter corresponding to the preset display brightness. Gamma is a nonlinear function that can convert the original pixel value of the display screen into a displayable brightness value. In the process of adjusting the brightness using the Gamma parameter, the higher the Gamma value, the lower the brightness of the display screen, and the lower the Gamma value, the higher the brightness of the display screen.

[0176] S109, controlling the display driving circuit to operate in the second dimming mode, transmitting the second number of control signals in each control cycle, so that the brightness of the display screen is adjusted from the preset display brightness to the target brightness.

[0177] In an embodiment of the present application, after adjusting the brightness of the display screen to the preset display brightness through a preset number of control signals, it is also necessary to adjust the brightness of the display screen from the preset display brightness to the target brightness. Specifically, by controlling the display driving circuit to operate in the second dimming mode, the second number of control signals are transmitted in each control cycle, so that the brightness of the display screen is adjusted from the preset display brightness to the target brightness. In this way, after the electronic device receives the dimming request, the brightness of the display screen can be gradually adjusted to the target brightness without flickering on the display screen, thereby improving the display effect of the display screen.

[0178] It is determined that the dimming mode corresponding to the target brightness is the first dimming mode, and step S110 is executed to control the display driving circuit to adjust the brightness of the display screen to the target brightness based on the first dimming mode and the first number of control signals.

[0179] In an embodiment of the present application, if it is determined that the dimming mode corresponding to the target brightness is still the first dimming mode, then it is determined that in the process of adjusting the brightness of the display screen to the target brightness, there is no need to switch the dimming mode, and the display driving circuit can be controlled to adjust the brightness of the display screen to the target brightness value based on the first dimming mode and the first number of control signals.

[0180] For example, when the first dimming mode is the DC dimming mode, the first number is 1 pulse. If it is determined that the dimming mode corresponding to the target brightness is still the DC dimming mode, the display driving circuit is controlled to operate in the DC dimming mode, and the brightness of the display screen is adjusted to the target brightness by transmitting a control signal of 1 pulse in each control cycle. When the first dimming mode is the PWM dimming mode, the first number is 32 pulses. If it is determined that the dimming mode corresponding to the target brightness is still the PWM dimming mode, the display driving circuit is controlled to operate in the PWM dimming mode, and the brightness of the display screen is adjusted to the target brightness by transmitting a control signal of 32 pulses in each control cycle.

[0181] The display method provided in the above embodiment of the present application can add one or more intermediate dimming intervals between the high-brightness low-frequency DC interval and the low-brightness high-frequency PWM interval (i.e., add N preset control signals in the corresponding dimming mode) to avoid screen flickering when switching between the DC dimming mode and the PWM dimming mode. N corresponding gamma points can also be set for the added N preset control signals, so that screen flickering can also be avoided when using gamma dimming.

[0182] It should be noted that in an embodiment of the present application, a set of Gamma parameters corresponding to the actual brightness can be pre-set, and the set of Gamma parameters can correspond to all actual brightnesses of the display screen. For example, from the lowest brightness of 2nit to the highest brightness of 1600nit. The set of Gamma parameters is set to include a preset number of Gamma bands (such as 10 Gamma bands), each Gamma band includes multiple Gamma binding points, and each Gamma binding point corresponds to multiple actual brightnesses. In this way, a correspondence between the Gamma parameters and the actual brightness can be established. According to the correspondence between the Gamma parameters and the actual brightness values, and the correspondence between the actual brightness and DBV, it is possible to adjust the display brightness of the display screen by adjusting the Gamma parameters.

[0183] In the embodiment of the present application, the maximum actual brightness is 1600nit and the DBV is 12bits (that is, there are 4095 DBV values) as an example, that is, when the DBV value is 4095, the corresponding maximum brightness value is 1600nit. Fig. 7AIn the schematic diagram of the brightness adjustment curve shown, the horizontal axis represents DBV and the vertical axis represents the actual brightness (Brightness). According to the EM signals corresponding to the DC dimming mode and the PWM dimming mode, two intervals can be divided on the brightness adjustment curve. For example, the DC dimming mode (corresponding to the control signal of 1 pulse) is used when the actual brightness value is set to be above 90 nit, and the PWM dimming mode (corresponding to the control signal of 32 pulse) is used when the actual brightness value is below 90 nit. Then, the brightness adjustment curve can be divided from 90 nit to 1600 nit into a high-brightness low-frequency DC interval, and 2 nit to 90 nit can be divided into a low-brightness high-frequency PWM interval. It should be noted that the entire display brightness interval of the display screen corresponds to a set of Gamma parameters (such as Gamma 1 to Gamma 10), and the set of Gamma parameters can correspond to the brightness values ​​of the display screen from 2 nit to 1600 nit. Since the brightness values ​​of the display screen from 2 nit to 1600 nit correspond to fixed DBV values ​​through the Gamma curve. Then, Gamma1 to Gamma10 also correspond to fixed DBV values. By adjusting the Gamma parameters, the actual display brightness of the display screen can be adjusted accordingly.

[0184] In one embodiment, if it is determined that the display driver circuit operates in a DC dimming mode corresponding to an EM signal of 1 pulse, and the display brightness of the current display screen is greater than 90 nit; after the AP sends a target brightness of 89 nit to the display driver circuit, the display driver circuit determines that the dimming mode corresponding to the target brightness of 89 nit is the PWM dimming mode, and corresponds to a 32-pulse EM signal. Since the EM duty in the DC dimming mode is 98.6%, which is too different from the EM duty in the PWM dimming mode of 55.6%, a screen flickering phenomenon may occur in the process of adjusting the display brightness of the display screen from greater than 90 nit to 89 nit. In order to avoid the screen flickering phenomenon, the display driver circuit determines that the PWM dimming mode also corresponds to an EM signal of 16 pulses, and sets the preset display brightness corresponding to the 16-pulse EM signal (i.e. Fig. 7A The actual brightness represented by the vertical axis) is 89.5nit. Then the display driver circuit can first switch from the DC dimming mode to the PWM dimming mode, and adjust the display brightness of the display screen to 89.5nit through the 16-pulse EM signal (for example, the preset number of control signals mentioned in the above embodiment) in the PWM dimming mode; then continue to work in the PWM dimming mode, and adjust the display brightness of the display screen to 89nit through the 32-pulse EM signal. In this way, the screen flickering phenomenon can be avoided in the process of adjusting the brightness of the display screen from greater than 90nit to 89nit.

[0185] At the same time, three intervals can be obtained on the brightness adjustment curve, that is, from 90nit to 1600nit is divided into a high-brightness low-frequency DC interval, 89nit to 90nit is divided into a transition interval, and 2nit to 89nit is divided into a low-brightness high-frequency PWM interval, such as Figure 7B As shown. And according to the above method of calculating EM duty, the EMduty corresponding to the 16-pulse EM signal can be calculated as 1-(40*16 / 2880)*100%=77.8%. Among them, the timing diagrams of the 1-pulse EM signal in DC dimming mode, the 16-pulse EM signal in PWM dimming mode, and the 32-pulse EM signal in PWM dimming mode are as follows: Figure 8 shown.

[0186] In another embodiment, if it is determined that the display driver circuit works in the PWM dimming mode corresponding to the EM signal of 32 pulses, and the display brightness of the current display screen is less than 90 nit; when the AP sends the target brightness of 91 nit to the display driver circuit, the display driver circuit determines that the dimming mode corresponding to the target brightness of 91 nit is the DC dimming mode, and corresponds to the EM signal of 1 pulse. Since the EM duty in the DC dimming mode is 98.6%, which is too different from the EM duty in the PWM dimming mode of 55.6%, a flickering phenomenon may occur in the process of adjusting the display brightness of the display screen from less than 90 nit to 91 nit. In order to avoid the flickering phenomenon, the display driver circuit determines that the PWM dimming mode also corresponds to the EM signal of 16 pulses, and sets the preset display brightness corresponding to the EM signal of 16 pulses to 89.5 nit. Then the display driver circuit can continue to work in the PWM dimming mode, and adjust the display brightness of the display screen to 89.5 nit through the EM signal of 16 pulses; then switch from the PWM dimming mode to the DC dimming mode, and adjust the display brightness of the display screen to 91 nit through the EM signal of 1 pulse in the DC dimming mode. In this way, screen flickering can be avoided when the brightness of the display screen is adjusted from less than 90 nit to 91 nit.

[0187] In one embodiment of the present application, a Gamma point corresponding to a preset display brightness of 89.5 nit may also be set, so that when the brightness of the display screen is adjusted to 89 nit by adjusting the Gamma parameter, screen flickering may also be avoided.

[0188] Through the above display method, when switching the dimming mode, one or more preset numbers (i.e., one or N preset numbers) of control signals can be added, and the display brightness of the display screen can be adjusted in the PWM dimming mode based on the preset number of control signals to avoid screen flickering.

[0189] In another embodiment of the present application, in some specific application scenarios, such as the Always On Display (AOD) scenario, a low-frequency PWM dimming mode is generally used to adjust the brightness of the display screen, that is, the frequency of the control signal in the PWM dimming mode is less than the preset frequency. If the AOD scene needs to be switched to a preset scene (for example, a game scene) in response to the user's scene switching operation, and in the preset scene, a high-frequency or medium-frequency PWM dimming mode is needed to adjust the brightness of the display screen, that is, the frequency of the control signal in the PWM dimming mode is greater than or equal to the preset frequency. In this way, because the EM duty of the control signal in different scenarios is too different, the display screen will have a flickering problem in the process of switching the display scene of the electronic device. If the frequency of the control signal transmitted in the PWM dimming mode becomes higher (that is, the larger the number of control signals transmitted in each control cycle), the flickering problem of the display screen will be more serious in the process of switching the display scene.

[0190] In order to improve the above-mentioned screen flickering phenomenon, the embodiments of the present application provide another display method, electronic device and storage medium. In the process of switching the display scene of the electronic device, by adding a preset number of control signals (i.e., control signals of transition gears) and corresponding Gamma parameters, the brightness of the display screen can be adjusted based on the preset number of control signals and Gamma parameters to avoid the screen flickering phenomenon. Fig. 9 The display method provided by the embodiment of the present application is described in detail. The display method is applied to an electronic device, and the electronic device may include an application processor (AP), a display driver circuit (DDIC) and a display screen. The display method includes the following steps:

[0191] S200: When the electronic device is in a first display scene, determine a first number of control signals and a first group of Gamma parameters corresponding to the display driving circuit operating in a first dimming mode.

[0192] Since the electronic device has different screen parameter settings when working in different display scenes, the use requirements of the display screen in different display scenes are met. For example, when the electronic device works in different display scenes, the dimming mode corresponding to the display drive circuit is different, and the number of control signals corresponding to the dimming mode is also different. For example, in a normal use scenario, the screen refresh rate of the display screen is 120Hz, and the dimming mode corresponding to the display drive circuit is a DC dimming mode or a PWM dimming mode. If it is a DC dimming mode, a 1pulse control signal can be used to adjust the brightness of the display screen; if it is a PWM dimming mode, a 32pulse control signal can be used to adjust the brightness of the display screen. In certain specific scenarios, such as in an AOD scenario, the screen refresh rate of the display screen is 30Hz, and power consumption needs to be saved. The dimming mode corresponding to the display drive circuit is a PWM dimming mode, and a 4pulse (or 12pulse or other number) control signal can be used to adjust the brightness of the display screen. When the electronic device is in a first display scene, determine the first number of control signals corresponding to the display drive circuit working in the first dimming mode.

[0193] It should be noted that in the process of adjusting the brightness of the display screen, in addition to adjusting Figure 2 The duty cycle of the EM signal in the display driving circuit shown (i.e., adjusting the number of control signals corresponding to the first dimming mode) can also adjust the voltage of the EM signal (corresponding to adjusting the Gamma parameter). Therefore, when the electronic device is operating in the first display scene, after determining the first number of control signals corresponding to the display driving circuit operating in the first dimming mode, it is also necessary to determine the first group of Gamma parameters corresponding to the display driving circuit operating in the first dimming mode. The brightness of the display screen can be adjusted based on the first number of control signals and the corresponding first group of Gamma parameters.

[0194] In one embodiment of the present application, adjusting the brightness of the display screen based on the first number of control signals and the first group of Gamma parameters includes: controlling the display driving circuit to operate in a first dimming mode, transmitting the first number of control signals in each control cycle, and determining the first group of Gamma parameters according to a first correspondence relationship between the display brightness and the first group of Gamma parameters established in advance, so as to adjust the brightness of the display screen according to the first group of Gamma parameters. Since the first group of Gamma parameters corresponds to the first group of Gamma voltages, the brightness of the display screen can be adjusted by adjusting the Gamma voltages. Figure 2The voltage of the EM signal in the display driving circuit shown is adjusted to adjust the brightness of each pixel in the display screen to adjust the brightness of the display screen. Therefore, after the first corresponding relationship between the display brightness and the first group of Gamma parameters is established in advance, the display brightness of the display screen can be adjusted by adjusting the Gamma parameters.

[0195] Specifically, in this embodiment, a group of Gamma parameters corresponding to the display brightness can be pre-set, and the group of Gamma parameters can correspond to all display brightnesses of the display screen. For example, from the lowest brightness 2nit to the highest brightness 1600nit. The group of Gamma parameters is set to include a preset number of Gamma bands (such as 10 Gamma bands), each Gamma band includes multiple Gamma binding points, and each Gamma binding point corresponds to multiple display brightnesses. In this way, a correspondence between display brightness and Gamma parameters can be established. According to the correspondence between display brightness and Gamma parameters, and the correspondence between display brightness and DBV, it is possible to adjust the display brightness of the display screen by adjusting the Gamma parameters.

[0196] In the embodiment of the present application, the first dimming mode may be a DC dimming mode or a PWM dimming mode.

[0197] S201: If the electronic device enters a second display scene, determine a second number of control signals and a second set of Gamma parameters corresponding to the display driving circuit operating in the second dimming mode.

[0198] In an embodiment of the present application, in response to a scene switching operation, the electronic device enters a second display scene, and the electronic device switches from the first display scene to the second display scene. For example, the electronic device switches from a normal display scene to an AOD display scene. It should be noted that when the electronic device is in the first display scene, the control signal corresponding to the first dimming mode is a high-frequency control signal (such as a 32-pulse EM signal or an EM signal with a higher frequency). For example, the frequency of the control signal corresponding to the first dimming mode is greater than or equal to the preset frequency. When the electronic device is in the second display scene, the control signal corresponding to the second dimming mode is a medium-frequency control signal or a low-frequency control signal (such as a 4-pulse EM signal or an EM signal with a lower frequency). For example, the frequency of the control signal corresponding to the second dimming mode is less than the preset frequency.

[0199] When the display scene of the electronic device changes, it can be determined that the electronic device is operating in a second dimming mode corresponding to the second display scene, and the second dimming mode corresponds to a second number of control signals and a second set of Gamma parameters, wherein the second set of Gamma parameters is different from the first set of Gamma parameters. In an embodiment of the present application, the second dimming mode is a DC dimming mode or a PWM dimming mode. If it is a PWM dimming mode, it corresponds to a 32-pulse control signal and a second set of Gamma parameters.

[0200] S202: Determine a preset number of control signals and a third set of Gamma parameters based on the first number and the second number.

[0201] In the embodiment of the present application, due to the change of the display scene of the electronic device, the number of control signals transmitted in the dimming mode corresponding to the display driving circuit will change, and the EM duty of the corresponding control signal will also change. In order to solve the screen flickering problem that may be caused by the change of EM duty, the display method provided by the present application can adjust the brightness of the display screen by determining a preset number of control signals and the corresponding third group of Gamma parameters in the PWM dimming mode.

[0202] Specifically, determining a preset number of control signals and a third group of Gamma parameters based on the first number and the second number includes: comparing the absolute difference between the first number and the second number and the third preset value, if the absolute difference between the first number and the second number is greater than or equal to the third preset value, then determining that the EM duty of the control signal corresponding to the first display scene is relatively different from the EM duty of the control signal corresponding to the second display scene, then a flickering screen phenomenon may occur during the process of adjusting the display brightness of the display screen. The present application determines a preset number of control signals and a corresponding third group of Gamma parameters, and adjusts the display brightness of the display screen according to the preset number of control signals and the corresponding third group of Gamma parameters. In the process of switching the electronic device from the first display scene to the second display scene, the EM duty of the control signal corresponding to the first display scene is gradually changed to the EM duty of the control signal corresponding to the second display scene to solve the problem of flickering screen. If the absolute difference between the first number and the second number is less than the third preset value, then determining that the EM duty of the control signal corresponding to the first display scene is relatively different from the EM duty of the control signal corresponding to the second display scene, then no flickering screen phenomenon will occur during the process of adjusting the display brightness of the display screen. For example, when the first number is 32 pulses and the second number is 8 pulses, the third preset value may be 24. In the embodiment of the present application, the size of the third preset value is not limited.

[0203] In another embodiment of the present application, the first duty cycle of the control signal can also be calculated according to the first quantity; the second duty cycle of the control signal can be calculated according to the second quantity; the absolute difference between the first duty cycle and the second duty cycle is compared with the size of the fourth preset value, and if the absolute difference between the first duty cycle and the second duty cycle is greater than or equal to the fourth preset value, the preset number of control signals and the third group of Gamma parameters are determined. If the absolute difference between the first duty cycle and the second duty cycle is less than the fourth preset value, the display driving circuit is controlled to operate in the second dimming mode, and the brightness of the display screen is adjusted based on the second number of control signals and the second group of Gamma parameters. For example, when the first number is 32 pulses and the second number is 8 pulses, the fourth preset value can be 33.2%. In the embodiment of the present application, the size of the fourth preset value is not limited.

[0204] In the embodiment of the present application, the first group of Gamma parameters, the second group of Gamma parameters, and the third group of Gamma parameters are different from each other. That is, the first group of Gamma parameters are different from the second group of Gamma parameters, the first group of Gamma parameters are different from the third group of Gamma parameters, and the second group of Gamma parameters are also different from the third group of Gamma parameters. In this way, different Gamma parameters can be set for different numbers of control signals.

[0205] In another embodiment of the present application, N preset numbers of control signals and M groups of Gamma parameters are determined based on the first number and the second number, wherein the N preset numbers of control signals are different from each other, N is an integer greater than 1, M is a positive integer and M=N. Among them, each preset number of control signals in the N preset numbers of control signals corresponds to a group of the third group of Gamma parameters. For example, two preset numbers of control signals (i.e., 16-pulse and 8-pulse control signals) are determined, then the 16-pulse control signal can correspond to a group of the third group of Gamma parameters, and the 8-pulse control signal can also correspond to a group of the third group of Gamma parameters. In this way, different groups of Gamma parameters can be corresponding to different numbers of control signals, so that the display driving circuit can adjust the brightness of the display screen in different display scenarios according to different Gamma parameters. Among them, the timing diagram of the 4-pulse control signal (i.e., EM signal) in the PWM dimming mode, the 8-pulse control signal in the PWM dimming mode, the 16-pulse control signal in the PWM dimming mode, and the 32-pulse control signal in the PWM dimming mode is as shown in Fig.10 shown.

[0206] In an embodiment of the present application, when the electronic device operates in different display scenarios and uses different dimming modes or the same dimming mode to adjust the brightness of the display screen, if different numbers of control signals and different EMduty are corresponding to different display scenarios, in order to ensure the display effect of the display screen, a set of Gamma parameters needs to be set. That is, any two of the first set of Gamma parameters, the second set of Gamma parameters, and the M set of Gamma parameters are different from each other.

[0207] S203, controlling the display driving circuit to operate in a pulse width modulation (PWM) dimming mode, and adjusting the brightness of the display screen based on the preset number of control signals and a third group of Gamma parameters.

[0208] In the embodiment of the present application, after a new set of independent Gamma parameters (such as the third set of Gamma parameters) and corresponding new PWM parameters (such as a preset number of control signals) are set, the Gamma parameters can be determined according to the first corresponding relationship between the pre-established display brightness and the newly added Gamma parameters, so as to adjust the brightness of the display screen through the Gamma parameters. Specifically, the display driving circuit is controlled to work in the PWM dimming mode, the preset number of control signals are transmitted in each control cycle, and the third set of Gamma parameters is determined according to the first corresponding relationship between the pre-established display brightness and the third set of Gamma parameters, and the brightness of the display screen is adjusted through the determined third set of Gamma parameters.

[0209] It should be noted that a brightness adjustment curve (such as a GAMMA2.2 curve) can be formed based on the first number of control signals and the first group of Gamma parameters, based on the second number of control signals and the second group of Gamma parameters, and based on the preset number of control signals and the third group of Gamma parameters. Fig.11A In the embodiment, a first brightness adjustment curve is formed based on a first number of control signals and a first group of Gamma parameters, Fig. 11B A second brightness adjustment curve is formed based on a preset number of control signals and a third group of Gamma parameters, Fig. 11CA third brightness adjustment curve is formed based on the second number of control signals and the second group of Gamma parameters. Among them, the display brightness corresponding to the same DBV value in the first brightness adjustment curve, the second brightness adjustment curve and the third brightness adjustment curve is the same. In this way, the consistency of the display brightness after different scenes are switched under the same display brightness can be ensured. The brightness adjustment curve in the ideal state is obtained after being modulated by independent Gamma curves and PWM parameters (such as the number of control signals transmitted in each control cycle). For example, when the PWM parameters are 32Pulse, 16Pulse, 8Pulse and 4Pulse respectively corresponding to the same DBV value, the final display brightness of the display screen is the same. For example, if the DBV value sent by the AP is 2 and the corresponding display brightness is 2nit, then when the DBV value is 2 when the PWM parameters are 32Pulse, 16Pulse, 8Pulse and 4Pulse respectively, the corresponding display brightness should all be 2nit. This ensures the consistency of the display brightness after different display scenes are switched (that is, after the PWM parameters change) under the same DBV value. Similarly, when the DBV values ​​are 3 nit or 4 nit or other values, different PWM parameters correspond to the same DBV value and the corresponding display brightness is the same.

[0210] S204, controlling the display driving circuit to operate in the second dimming mode, and adjusting the brightness of the display screen based on the second number of control signals and the second set of Gamma parameters.

[0211] In an embodiment of the present application, the display driving circuit first adjusts the display brightness of the display screen through the newly added third group of Gamma parameters, and then adjusts the display brightness of the display screen through the second group of Gamma parameters, so that there is no screen flickering when the electronic device switches from the first display scene to the second display scene.

[0212] Specifically, in an embodiment of the present application, the display driving circuit is controlled to operate in the second dimming mode, the second number of control signals is transmitted in each control cycle, the second group of Gamma parameters is determined according to a second corresponding relationship between the display brightness and the second group of Gamma parameters established in advance, and the brightness of the display screen is adjusted according to the determined second group of Gamma parameters.

[0213] In another embodiment of the present application, in order to ensure the display effect of the display screen, when the absolute difference between the first number and the second number is greater than or equal to a fourth preset value, N preset numbers of control signals and M groups of Gamma parameters may be determined, where N is an integer greater than 1. That is, multiple transition levels (multiple preset numbers of control signals and multiple groups of Gamma parameters) may be added to adjust the display brightness of the display screen to improve the screen flickering problem.

[0214] After determining N preset numbers of control signals and M groups of Gamma parameters, the display driving circuit is controlled to operate in the PWM dimming mode, and the brightness of the display screen is adjusted based on the N preset numbers of control signals and the M groups of Gamma parameters. Specifically, the display driving circuit is controlled to operate in the PWM dimming mode, and the third preset number of control signals are transmitted in each control cycle, and the fourth group of Gamma parameters are determined according to the pre-established correspondence between the display brightness and the fourth group of Gamma parameters, and the brightness of the display screen is adjusted according to the determined fourth group of Gamma parameters; the display driving circuit is continued to operate in the PWM dimming mode, and the fourth preset number of control signals are transmitted in each control cycle, and the fifth group of Gamma parameters are determined according to the pre-established correspondence between the display brightness and the fifth group of Gamma parameters, and the brightness of the display screen is adjusted according to the determined fifth group of Gamma parameters; the above process is repeatedly executed until the display driving circuit is controlled to operate in the PWM dimming mode, and the Nth preset number of control signals are transmitted in each control cycle, and the Mth group of Gamma parameters are determined according to the pre-established correspondence between the display brightness and the Mth group of Gamma parameters, and the brightness of the display screen is adjusted according to the determined Mth group of Gamma parameters.

[0215] For example, if the electronic device uses a DC dimming mode in a high-brightness interval in a first display scene through a control signal of a first number (such as 1 pulse, or 2 pulses, or 3 pulses), and uses a PWM dimming mode in a low-brightness interval in the first display scene through a control signal of a first number (such as 32 pulses), and a first group of Gamma parameters to adjust the display brightness of the display screen (such as from 2 nit to 1600 nit); the DC dimming mode is used in a high-brightness interval in a second display scene through a control signal of a second number (such as 1 pulse, or 2 pulses, or 3 pulses), and the PWM dimming mode is used in a low-brightness interval in the second display scene through a control signal of a second number (such as 8 pulses), and a second group of Gamma parameters to adjust the display brightness of the display screen (such as from 2 nit to 1600 nit). Since the first number (32 pulses) of the low-brightness interval in the first display scene is significantly different from the second number (8 pulses) of the low-brightness interval in the second display scene, the EM duty of the first number of control signals is significantly different from the EM duty of the second number of control signals, in order to avoid a screen flickering phenomenon when the electronic device switches from the first display scene to the second display scene. Two sets of Gamma parameters (such as the third set of Gamma parameters and the fourth set of Gamma parameters) of two preset numbers of control signals (such as 24pulse and 16pulse) can be determined to adjust the display brightness of the display screen (such as from 2nit to 1600nit) based on the 24pulse control signal and the 16pulse control signal, as well as the fourth set of Gamma parameters and the fifth set of Gamma parameters through the PWM dimming mode. That is, the display brightness of the display screen can be adjusted based on the 32pluse control signal and the corresponding first set of Gamma parameters in the first display scenario; then the display brightness of the display screen can be adjusted based on the 24pluse control signal and the corresponding third set of Gamma parameters; then the display brightness of the display screen can be adjusted based on the 16pluse control signal and the corresponding fourth set of Gamma parameters; and finally, in the second display scenario, the display brightness of the display screen can be adjusted based on the 8pluse control signal and the corresponding second set of Gamma parameters.

[0216] In order to better understand the above display method, the following example is given. Fig.11AIn the brightness adjustment curve shown, the horizontal axis represents DBV, and the vertical axis represents the actual brightness value (i.e., display brightness Brightness). In general use scenarios, the entire display brightness range of the display screen corresponds to the first group of Gamma parameters (such as Gamma 1 to Gamma 10), and the first group of Gamma parameters can correspond to the brightness values ​​of the display screen from 2nit to 1600nit. Since the brightness values ​​of the display screen from 2nit to 1600nit can correspond to a fixed DBV value through the first Gamma curve. Then, Gamma 1 to Gamma 10 also correspond to fixed DBV values. The display brightness of the display screen can be adjusted accordingly by adjusting the first group of Gamma parameters. In different display scenarios, the display driver circuit can operate in DC dimming mode and / or PWM dimming mode. For example, when the display brightness of the display screen is greater than or equal to 90nit, the display driver circuit operates in DC dimming mode, and the DC dimming mode corresponds to an EM signal of lpulse; when the display brightness of the display screen is less than 90nit, the display driver circuit operates in PWM dimming mode, and the PWM dimming mode corresponds to an EM signal of 32pulse.

[0217] In response to the scene switching operation, the electronic device switches from the first display scene to the second display scene (such as the AOD scene), and the entire display brightness range of the display screen corresponds to the second set of Gamma parameters (such as Gamma 1' to Gamma 10'), and the second set of Gamma parameters can correspond to the brightness value of the display screen from 2nit to 500nit. Since the brightness value of the display screen from 2nit to 500nit can be corresponded to a fixed DBV value through the second Gamma curve (such as Fig. 11C ). Then, Gamma1' to Gamma10' also correspond to fixed DBV values. The display brightness of the display screen can be adjusted accordingly by adjusting the second set of Gamma parameters. In the AOD scenario, in order to save power consumption, the display driver circuit operates in PWM dimming mode, and the PWM dimming mode corresponds to a 4-pulse or 12-pulse EM signal, and the 4-pulse EM signal corresponds to a second set of Gamma parameters, and the 12-pulse EM signal corresponds to another second set of Gamma parameters. The display driver circuit can adjust the brightness of the display screen through different numbers of EM signals and corresponding second sets of Gamma parameters.

[0218] Since the EM signal corresponding to the PWM dimming mode in the AOD scenario is the EM duty corresponding to 4 pulses or 12 pulses, which is quite different from the EM duty corresponding to the 32 pulse EM signal corresponding to the PWM dimming mode of the electronic device working in the general use scenario, in order to avoid the screen flickering phenomenon when the electronic device switches from the general use scenario to the AOD scenario, it is necessary to add one or more groups of control signals of a third quantity (such as 16 pulses or 24 pulses) and add the corresponding third group of Gamma parameters (such as Gamma 1" to Gamma 10"). The third group of Gamma parameters can correspond to the brightness value of the display from 2nit to 1600nit. Since the brightness value of the display from 2nit to 1600nit can be corresponded to a fixed DBV value through the third Gamma curve (such as Fig. 11B ). Then, Gamma1" to Gamma 10" also correspond to fixed DBV values ​​(that is, the newly added third group of Gamma parameters correspond to the display brightness). At this time, the display driving circuit is first controlled to adjust the brightness of the display screen through the PWM dimming mode based on the 16-pulse control signal and the third group of Gamma parameters; and then the brightness of the display screen is adjusted through the PWM dimming mode based on the 4-pulse or 12-pulse control signal and the corresponding second group of Gamma parameters, so as to avoid screen flickering when the electronic device switches from a general usage scenario to an AOD scenario.

[0219] In some embodiments, Figure 6 The display method shown in the figure adjusts the brightness of the display screen, and then adjusts the brightness of the display screen in response to the scene switching operation. Fig. 9 The display method shown adjusts the brightness of the display screen to meet the needs of different scenarios.

[0220] Through the display method provided by the present application, the first number of control signals of the electronic device working in the first display scene can be determined first, and then after the electronic device switches to the second display scene, the second number of control signals and Gamma parameters of the electronic device working in the second display scene can be determined, and the control signals of a preset number of one or more transitional gears and the corresponding Gamma parameters can be increased based on the first number and the second number, and the display brightness of the display screen can be adjusted with the corresponding Gamma parameters, and then the display brightness of the display screen in the second display scene can be adjusted according to the Gamma parameters corresponding to the second display scene. In this way, the screen flickering phenomenon can be avoided when the electronic device switches from the first display scene to the second display scene.

[0221] A display method provided in an embodiment of the present application may be a step executed by a display driver included in an electronic device, or may be executed by a display chip included in the electronic device. When the display chip is running, the computer program stored in the memory is called to implement the steps executed by the above electronic device.

[0222] 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.

Claims

1. A display method, applied to an electronic device, characterized in that: The electronic device includes an application processor and a display screen, the display screen includes a display driving circuit, and the method includes: Receiving a dimming request, the display driving circuit determining a currently corresponding first dimming mode and a first number of control signals corresponding to the first dimming mode; According to the dimming request, the application processor sends a target brightness to the display driving circuit; If the display driving circuit determines that the dimming mode corresponding to the target brightness is the second dimming mode, determining a second number of control signals corresponding to the second dimming mode; Determining a preset number of control signals based on the first number and the second number, the preset number of control signals corresponding to a preset display brightness; Controlling the display driving circuit to operate in a pulse width modulation (PWM) dimming mode, transmitting the preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to the preset display brightness; and The display driving circuit is controlled to operate in the second dimming mode, and the second number of control signals are transmitted in each control cycle, so that the brightness of the display screen is adjusted from the preset display brightness to the target brightness.

2. The display method according to claim 1, characterized in that: The determining a preset number of control signals based on the first number and the second number, wherein the preset number of control signals corresponds to a preset display brightness, includes: Determining N preset numbers of control signals based on the first number and the second number, wherein the N preset numbers of control signals are different from each other and each preset number of control signals corresponds to a preset display brightness, and N is an integer greater than 1; The display driving circuit is controlled to gradually adjust the brightness of the display screen to an Nth preset display brightness corresponding to the Nth preset number of control signals based on the PWM dimming mode and the N preset numbers of control signals.

3. The display method according to claim 2, characterized in that: The controlling the display driving circuit to gradually adjust the brightness of the display screen to an Nth preset display brightness corresponding to the Nth preset number of control signals based on the PWM dimming mode and the N preset number of control signals comprises: Controlling the display driving circuit to operate in the PWM dimming mode, transmitting a first preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to a first preset brightness corresponding to the first preset number of control signals; Continue to control the display driving circuit to transmit a second preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to a second preset brightness corresponding to the second preset number of control signals; The above process is repeatedly executed until the brightness of the display screen is adjusted to the Nth preset brightness corresponding to the Nth preset number of control signals.

4. The display method according to claim 1, characterized in that: The control signal of determining a preset number based on the first number and the second number includes: If the absolute difference between the first number and the second number is greater than or equal to a first preset value, the preset number of control signals is determined.

5. The display method according to claim 4, characterized in that: The method further comprises: If the absolute difference between the first number and the second number is less than the first preset value, the display driving circuit is controlled to operate in the second dimming mode, and the control signal of the second number is transmitted in each control cycle, so that the brightness of the display screen is adjusted to the target brightness.

6. The display method according to claim 1, characterized in that: The determining a preset number of control signals based on the first number and the second number, wherein the preset number of control signals corresponds to a preset display brightness, includes: Calculating a first duty cycle of the control signal according to the first quantity; calculating a second duty cycle of the control signal according to the second quantity; If the absolute difference between the first duty cycle and the second duty cycle is greater than or equal to a second preset value, the preset number of control signals is determined.

7. The display method according to claim 6, characterized in that: The method further comprises: If the absolute difference between the first duty cycle and the second duty cycle is less than the second preset value, the display driving circuit is controlled to operate in the second dimming mode and the second number of control signals are transmitted in each control cycle so that the brightness of the display screen is adjusted to the target brightness.

8. The display method according to claim 1, characterized in that: The method further includes: determining a dimming mode corresponding to the target brightness according to the magnitude between the target brightness and a preset brightness.

9. The display method according to claim 8, characterized in that: The determining, according to the magnitude of the target brightness and the preset brightness, a dimming mode corresponding to the target brightness includes: When the target brightness is less than or equal to the preset brightness, determining that the dimming mode corresponding to the target brightness is the PWM dimming mode; or When the target brightness is greater than the preset brightness, it is determined that the dimming mode corresponding to the target brightness is a direct current (DC) dimming mode.

10. The display method according to any one of claims 1 to 9, characterized in that: The first dimming mode is a direct current (DC) dimming mode, and the second dimming mode is the PWM dimming mode; or The first dimming mode is the PWM dimming mode, and the second dimming mode is the DC dimming mode.

11. A display method, applied to an electronic device, characterized in that: The electronic device includes an application processor and a display screen, the display screen includes a display driving circuit, and the method includes: When the electronic device is in a first display scene, determining a first number of control signals and a first set of Gamma parameters corresponding to the display driving circuit operating in a first dimming mode; If the electronic device enters a second display scene, determining a second number of control signals and a second set of Gamma parameters corresponding to the display driving circuit operating in the second dimming mode; Determining a preset number of control signals and a third set of Gamma parameters based on the first number and the second number; Controlling the display driving circuit to operate in a pulse width modulation (PWM) dimming mode, and adjusting the brightness of the display screen based on the preset number of control signals and a third group of Gamma parameters; and The display driving circuit is controlled to operate in the second dimming mode, and the brightness of the display screen is adjusted based on the second number of control signals and the second group of Gamma parameters.

12. The display method according to claim 11, characterized in that: The method further comprises: Based on the first number and the second number, N preset numbers of control signals and M groups of Gamma parameters are determined, wherein the N preset numbers of control signals are different from each other, N is an integer greater than 1, M is a positive integer, and M=N.

13. The display method according to claim 12, characterized in that: The method further includes: controlling the display driving circuit to operate in the PWM dimming mode, and adjusting the brightness of the display screen based on the N preset numbers of control signals and the M groups of Gamma parameters.

14. The display method according to claim 13, characterized in that: The step of controlling the display driving circuit to operate in the PWM dimming mode and adjusting the brightness of the display screen based on the N preset control signals and the M groups of Gamma parameters comprises: Controlling the display driving circuit to operate in the PWM dimming mode, transmitting a third preset number of control signals in each control cycle, determining a fourth group of Gamma parameters according to a pre-established correspondence between display brightness and a fourth group of Gamma parameters, and adjusting the brightness of the display screen according to the determined fourth group of Gamma parameters; Continue to control the display driving circuit to operate in the PWM dimming mode, transmit a fourth preset number of control signals in each control cycle, determine a fifth group of Gamma parameters according to a pre-established correspondence between display brightness and a fifth group of Gamma parameters, and adjust the brightness of the display screen according to the determined fifth group of Gamma parameters; The above process is repeated until the display driving circuit is controlled to operate in the PWM dimming mode, an Nth preset number of control signals are transmitted in each control cycle, and the Mth group of Gamma parameters are determined according to the pre-established correspondence between the display brightness and the Mth group of Gamma parameters, and the brightness of the display screen is adjusted according to the determined Mth group of Gamma parameters.

15. The display method according to claim 11, characterized in that: The determining of a preset number of control signals and a third group of Gamma parameters based on the first number and the second number includes: If the absolute difference between the first number and the second number is greater than or equal to a third preset value, the preset number of control signals and the third set of Gamma parameters are determined.

16. The display method according to claim 11, characterized in that: The determining of a preset number of control signals and a third group of Gamma parameters based on the first number and the second number includes: Calculating a first duty cycle of the control signal according to the first quantity; calculating a second duty cycle of the control signal according to the second quantity; When an absolute difference between the first duty cycle and the second duty cycle is greater than or equal to a fourth preset value, the preset number of control signals and the third set of Gamma parameters are determined.

17. The display method according to any one of claims 11 to 16, characterized in that: The first set of Gamma parameters, the second set of Gamma parameters, and the third set of Gamma parameters are different from each other.

18. The display method according to claim 11, characterized in that: The step of controlling the display driving circuit to operate in a pulse width modulation (PWM) dimming mode and adjusting the brightness of the display screen based on the preset number of control signals and a third group of Gamma parameters includes: Control the display driving circuit to operate in the PWM dimming mode, transmit the preset number of control signals in each control cycle, determine the third group of Gamma parameters according to a pre-established correspondence between the display brightness and the third group of Gamma parameters, and adjust the brightness of the display screen by the third group of Gamma parameters.

19. The display method according to claim 11, characterized in that: The step of controlling the display driving circuit to operate in the second dimming mode and adjusting the brightness of the display screen based on the second number of control signals and the second group of Gamma parameters includes: Control the display driving circuit to operate in the second dimming mode, transmit the second number of control signals in each control cycle, determine the second group of Gamma parameters according to a pre-established correspondence between the display brightness and the second group of Gamma parameters, and adjust the brightness of the display screen by the second group of Gamma parameters.

20. The display method according to claim 11, characterized in that: When the electronic device is in a first display scene, the frequency of the control signal corresponding to the first dimming mode is greater than or equal to a preset frequency; When the electronic device is in a second display scene, the frequency of the control signal corresponding to the second dimming mode is less than the preset frequency.

21. The display method according to any one of claims 11 to 20, characterized in that: The first dimming mode is a direct current (DC) dimming mode or the PWM dimming mode; or The second dimming mode is the PWM dimming mode or the DC dimming mode.

22. An electronic device, characterized in that: The electronic device comprises a display screen, a memory and a processor; The display screen, the memory and the processor are coupled; The memory is used to store program instructions; The processor is used to read the program instructions stored in the memory to implement the display method according to any one of claims 1 to 21 to adjust the display brightness of the display screen.

23. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the display method according to any one of claims 1 to 21 is implemented.

Citation Information

Cited By

  • Vehicle-mounted display screen dual-mode dimming control method, device and equipment and storage medium

    CN120472858A

  • Timing controller, display device and driving method thereof

    CN121565091A

  • Driving method for display screen, display driver and electronic device

    WO2026157786A1