Dimming method and related equipment

By controlling the duty cycle of the PWM pulse signal in the electronic device, the problem of screen flickering in AOD mode or low brightness mode is solved, and the brightness of pixel points in each area is balanced, reducing the flickering phenomenon.

CN119694264AActive Publication Date: 2025-03-25HONOR DEVICE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311199977.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-15
Publication Date
2025-03-25
Estimated Expiration
2043-09-15

AI Technical Summary

Technical Problem

Electronic devices may have screen flickering problems in AOD mode or low brightness mode.

Method used

By controlling the duty cycle of the PWM pulse signal, especially during the initialization process, it is higher than the duty cycle during the non-initialization period, to reduce the scenes of alternating screen light and dark changes.

Benefits of technology

It effectively reduces the problem of screen flickering, so that the brightness values ​​of pixels in each area are generally flat, and improves the display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119694264A_ABST
    Figure CN119694264A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a dimming method and related equipment. When the electronic equipment uses pulse width modulation (PWM) for dimming, the electronic equipment refreshes any frame of image by adopting N pulse signal periods, a display screen of the electronic equipment is divided into N areas, and the method comprises the following steps: in the Nth pulse signal period, the electronic equipment receives a first pulse signal in the Nth area, and the electronic equipment receives an (i + 1) th pulse signal in the (N-i) th area, the electronic equipment receives the Nth pulse signal in the first area; the duty ratio of any pulse signal from the first pulse signal to the Mth pulse signal is larger than that of any pulse signal from the (M + 1) th pulse signal to the Nth pulse signal, and the duty ratios of the pulse signals from the (M + 1) th pulse signal to the Nth pulse signal are the same. Thus, the duty ratio of the first M pulse signals is controlled to be greater than the duty ratio of the last N-M pulse signals, so that the brightness of each area is approximately equal, and the problem of screen flicker is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a dimming method and related equipment. Background Art

[0002] Electronic devices may use dimming technology to adjust screen brightness. The dimming technology may include direct current (DC) dimming technology and pulse width modulation (PWM) dimming technology.

[0003] In some scenarios, for example, when the electronic device is in low brightness mode or in always on display (AOD) mode, the electronic device can use PWM dimming technology to control the screen brightness; when the electronic device is in working state, the electronic device can use DC dimming technology to control the screen brightness.

[0004] However, in a possible implementation, the screen flickering problem may occur when the electronic device is in the AOD mode or the low brightness mode. Summary of the invention

[0005] The embodiments of the present application provide a dimming method and related equipment, which are applied to the field of terminal technology. By controlling the duty cycle of one or more PWM pulse signals involved in the initialization process to be higher than the duty cycle of other PWM pulse signals, the scene where the screen alternates between light and dark can be reduced, thereby reducing the problem of screen flickering.

[0006] In the first aspect, an embodiment of the present application proposes a dimming method. The method is applied to an electronic device. When the electronic device uses pulse width modulation (PWM) for dimming, the electronic device uses N pulse signal cycles to refresh any frame image, and there is one pulse signal in any pulse signal cycle. The display screen of the electronic device is divided into N areas, and the N areas do not overlap with each other, and N is a positive integer; the method includes: in a first pulse signal cycle, the electronic device receives a first pulse signal in a first area; in a second pulse signal cycle, the electronic device receives a first pulse signal in a second area, and the electronic device receives a second pulse signal in the first area; the duty cycle of the first pulse signal is greater than the duty cycle of the second pulse signal; the duty cycle includes the ratio of the duration of controlling the lighting of the pixels in the first area to the pulse signal cycle, and the first area is adjacent to the second area; the first pulse signal cycle is earlier than the second pulse signal cycle; in a third pulse signal cycle, the electronic device A first pulse signal is received in the third area, the electronic device receives a second pulse signal in the second area, and the electronic device receives a third pulse signal in the first area; the duty cycle of the second pulse signal is greater than or equal to the duty cycle of the third pulse signal; the third area is adjacent to the second area; the second pulse signal period is earlier than the third pulse signal period; in the Nth pulse signal period, the electronic device receives the first pulse signal in the Nth area, the electronic device receives the i+1th pulse signal in the Nith area, and the electronic device receives the Nth pulse signal in the first area; wherein i is a positive integer less than N, the duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal is greater than the duty cycle of any pulse signal from the M+1th pulse signal to the Nth pulse signal, the duty cycles of the pulse signals from the M+1th pulse signal to the Nth pulse signal are the same, and M is a positive integer less than N.

[0007] In this way, when each area is initialized, the duty cycle of the pulse signal received by the area is relatively large, so as to reduce the impact of the initialization on the lighting time of the pixels in the area, thereby making the brightness value of the initialized area roughly the same as that of other areas, reducing the screen flickering scene.

[0008] In a possible implementation, the duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal is the same, or the duty cycle of the first pulse signal to the Mth pulse signal decreases in sequence. In this way, the electronic device controls the duty cycle of the pulse signal during the initialization period to be higher than the duty cycle of the pulse signal during the non-initialization period, so that the brightness values ​​of the pixels in each area are roughly the same, thereby reducing screen flicker.

[0009] In a possible implementation, the duty cycle of any one of the first pulse signal to the Mth pulse signal is higher than 1 / 2, and the duty cycle of any one of the (M + 1)th pulse signal to the Nth pulse signal is equal to 1 / 2. In this way, the electronic device can achieve the effect that the duty cycle of the pulse signal during initialization is higher than that of the pulse signal during non-initialization by increasing the duty cycle of the pulse signal during initialization.

[0010] In a possible implementation, the duty cycle of any one of the first pulse signal to the Mth pulse signal is equal to 1 / 2, and the duty cycle of any one of the (M + 1)th pulse signal to the Nth pulse signal is less than 1 / 2. In this way, the electronic device can achieve the effect that the duty cycle of the pulse signal during initialization is higher than that of the pulse signal during non-initialization by reducing the duty cycle of the pulse signal during non-initialization.

[0011] In a possible implementation, the display screen includes a display driving integrated circuit DDIC; the DDIC includes registers, and the duty cycles of the pulse signals in the first type of pulse signals are stored in the registers. The first type of pulse signals includes the first pulse signal to the Nth pulse signal. Before the electronic device uses pulse width modulation (PWM) for dimming, it includes: the electronic device recognizes that the electronic device enters the first mode; the first mode includes: the electronic device enables the always-on display (AOD) function and the electronic device is in the off-screen state; the electronic device sends the first indication information to the DDIC, and the first indication information is used to instruct the DDIC to output the first type of pulse signals. In this way, the electronic device can output the first type of pulse signals in the first mode to control the brightness values of the pixel points in each area to be generally equal in the first mode.

[0012] In a possible implementation, the display screen includes a DDIC; the DDIC includes registers, and the duty cycles of the pulse signals in the second type of pulse signals are stored in the registers. The second type of pulse signals includes the Jth pulse signal to the Lth pulse signal. The duty cycle of any one of the Jth pulse signal to the Kth pulse signal is greater than the duty cycle of any one of the (K + 1)th pulse signal to the Lth pulse signal, and the duty cycles of the (K + 1)th pulse signal to the Lth pulse signals are the same; J, K, and L are all positive integers, and J ≤ K < L; it further includes: the electronic device sets the brightness value of the display screen to a first brightness value, and the first brightness value is less than the brightness threshold; the electronic device recognizes that the electronic device enters the second mode, and the second mode includes: the brightness of the display screen of the electronic device is lower than the brightness threshold; the electronic device sends the second indication information to the DDIC, and the second indication information is used to instruct the DDIC to output the second type of pulse signals. In this way, the electronic device can output the second type of pulse signals in the second mode to control the brightness values of the pixel points in each area to be generally equal in the second mode.

[0013] In a possible implementation, in the first pulse signal cycle, the duration of the lighting of the pixels in the first area is controlled by the low level in the first pulse signal. In this way, the electronic device can control the brightness values ​​of the pixels in different areas by adjusting the duration of the low level in the pulse signal cycle.

[0014] In a second aspect, an embodiment of the present application provides an electronic device, which may also be referred to as a terminal device, a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. The terminal device may be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, 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, etc.

[0015] The electronic device comprises: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the method as in the first aspect.

[0016] In a possible implementation, the electronic device further includes a DDIC; the DDIC is configured to receive first indication information sent by the electronic device, where the first indication information is used to instruct the DDIC to output a first type of pulse signal, and the first type of pulse signal includes a first pulse signal to an Nth pulse signal; alternatively, the DDIC is further configured to receive second indication information sent by the electronic device, where the second indication information is used to instruct the DDIC to output a second type of pulse signal, and the second type of pulse signal includes a Jth pulse signal to an Lth pulse signal, and the duty cycle of any one of the Jth pulse signal to the Kth pulse signal is greater than the duty cycle of any one of the (K + 1)th pulse signal to the Lth pulse signal, and the duty cycles of the (K + 1)th pulse signal to the Lth pulse signal are the same; J, K, and L are all positive integers, and J ≤ K < L. In this way, the DDIC can output different types of pulse signals in different scenarios, thereby alleviating the screen flicker problem in this scenario and enriching the scenarios applicable to the dimming method provided in the embodiments of the present application.

[0017] In a third aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the method as in the first aspect is implemented.

[0018] In a fourth aspect, an embodiment of the present application provides a computer program product including a computer program. When the computer program is run, the computer is caused to execute the method as in the first aspect.

[0019] In a fifth aspect, an embodiment of the present application provides a chip including a processor, and the processor is configured to call a computer program in a memory to execute the method as described in the first aspect.

[0020] It should be understood that the second to fifth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation manners are similar and will not be elaborated herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 Schematic diagram of the interface of the electronic device in the AOD mode in a possible implementation;

[0022] Figure 2 Schematic diagram of the screen refresh direction of an electronic device;

[0023] Figure 3 Schematic flowchart of the screen refresh process of the electronic device in a possible implementation;

[0024] Figure 4 Schematic circuit diagram of the light emission of an OLED device;

[0025] Figure 5A schematic diagram for comparing the luminous brightness of each area in a possible implementation;

[0026] Figure 6 A schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application;

[0027] Figure 7 A software structure block diagram of the electronic device 100 provided in an embodiment of the present application;

[0028] Figure 8 A schematic diagram of a PWM pulse signal dimming process provided in an embodiment of the present application;

[0029] Fig. 9 A schematic diagram of two pulse signal adjustment methods provided in an embodiment of the present application;

[0030] Fig.10 A schematic diagram of another PWM pulse signal dimming process provided in an embodiment of the present application;

[0031] Fig.11 A schematic diagram of a dimming method provided in an embodiment of the present application;

[0032] Fig.12 A schematic diagram of a flow chart of another dimming method provided in an embodiment of the present application;

[0033] Fig.13 A schematic diagram of a low brightness mode interface provided in an embodiment of the present application;

[0034] Fig.14 Waveform diagrams of two PWM pulse signals provided in the embodiments of the present application;

[0035] Fig.15 A schematic diagram of a dimming method provided in an embodiment of the present application;

[0036] Fig.16 A schematic diagram of the structure of a dimming device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to clearly describe the technical solutions of the embodiments of the present application, some terms and technologies involved in the embodiments of the present application are briefly introduced below:

[0038] 1. AOD mode: also known as always-on display and off-screen display. AOD mode means that when an electronic device is in the off-screen state, part of the screen of the electronic device is off and part of the screen remains on; in the on-screen area, the electronic device can display information, such as time, date, and unread messages. AOD mode can save battery power of electronic devices and also make it convenient for users to check information at any time.

[0039] 2. PWM: PWM dimming is a method of adjusting the screen brightness by changing the duty cycle of the pulse signal. The PWM dimming mode allows each pixel to continuously flash on and off at a certain frequency. When the on and off alternate quickly enough, the human eye will think that the screen is always on. Among them, electronic devices control the on and off of pixels through the high and low levels of the pulse signal. For example, within a pulse signal cycle, when the pulse signal is at a low level, the pixel lights up; when the pulse signal is at a high level, the pixel goes out.

[0040] The proportion of the pixel's lighting duration in a pulse signal cycle can be called the duty cycle. The higher the duty cycle, the brighter the screen will be. For example, if the low level in the pulse signal controls the pixel to light up, the duty cycle is the ratio of the low level duration to the pulse signal cycle; if the high level in the pulse signal controls the pixel to light up, the duty cycle is the ratio of the high level duration to the pulse signal cycle; in the embodiment of the present application, the lighting duration of the pixel in the screen can be controlled by the low level in the pulse signal.

[0041] 3. Others

[0042] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in 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 specific way.

[0043] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0044] It should be noted that the "at..." in the embodiment of the present application can be the instant when a certain situation occurs, or a period of time after a certain situation occurs, and the embodiment of the present application does not specifically limit this. In addition, the display interface provided in the embodiment of the present application is only an example, and the display interface can also include more or less content.

[0045] Electronic devices can use dimming technology to control the brightness of the display screen. For example, when the electronic device is in low brightness mode or AOD mode, the electronic device can use PWM dimming technology to control the screen brightness; when the electronic device is in working state, the electronic device can use DC dimming technology to control the screen brightness.

[0046] However, in a possible implementation, a screen flicker problem may occur when the electronic device is in the AOD mode or the low brightness mode.

[0047] For example, take the flicker problem in AOD mode as an example. Figure 1 A schematic diagram of an interface of an electronic device in an AOD mode in a possible implementation is shown.

[0048] exist Figure 1 In the interface shown in a, the electronic device can display the AOD interface in the screen-off state, wherein the display screen of the electronic device can be divided into a bright screen area 101 and a screen-off area according to the brightness, wherein the bright screen area 101 can display information such as time, date, and lighting, and can also display animations, notification messages, etc.

[0049] If the screen of an electronic device flickers in AOD mode, Figure 1 The b interface and Figure 1 As shown in the c interface. Figure 1 In the interface shown in b, the brightness of area A 102 is lower than that of area B 103; Figure 1 In the interface shown in c, the brightness of area A 102 is higher than that of area B 103. It can be seen that when the electronic device displays area A 102, it will present scenes of light, dark, light, dark... When the frequency of light and dark changes is high, the human eye may not be able to perceive the light and dark changes; and when the frequency of light and dark changes is low, the human eye will see the light and dark changes of the electronic device, resulting in a scene where the screen of the electronic device flickers. Among them, the frequency of light and dark changes may be related to the frequency of the PWM pulse signal and the refresh frame rate of the screen; and when the electronic device is in AOD mode, the frequency of the PWM pulse signal is low, causing the user to perceive the light and dark changes.

[0050] Combine the following Figure 2 and Figure 3 Explain why the screen brightness changes.

[0051] For example, taking the refresh frame rate of the screen of the electronic device as 30 Hz and the frequency of the PWM pulse signal as 120 Hz, Figure 2 The relationship between the screen brightness of an electronic device and the PWM pulse signal is shown.

[0052] The direction of refreshing the frame image of the electronic device may be from the top of the display screen to the bottom of the display screen. It takes four pulse signals for the electronic device to refresh one frame of image, and the four pulse signals may be pulse signal 1 (pulse 1), pulse signal 2 (pulse 2), pulse signal 3 (pulse 3) and pulse signal 4 (pulse 4). At any moment, the above four pulse signals may respectively control four areas in the display screen, wherein the four areas may be area A 102, area B 103, area C 104 and area D 105. In the process of refreshing the image shown on the screen, any pulse signal may pass through area A 102, area B 103, area C 104 and area D 105 in sequence.

[0053] For example, Figure 3 The refresh process of the bright screen area 101 of the electronic device is shown. Figure 3 As shown:

[0054] Figure 3 Phase A in Figure 3 The d stage in the figure can be a period for the electronic device to refresh the bright screen area. When refreshing the frame image, the electronic device performs exposure line by line. Specifically:

[0055] exist Figure 3 Stage a in the process: when pulse 1 arrives, the electronic device refreshes the image in area A 102 and dims the pixels in area A 102. When pulse 1 is at a low level, the pixels in area A 102 of the electronic device are in an on state; when pulse 1 is at a high level, the pixels in area A 102 of the electronic device are in an off state. The electronic device can control the time when the pixels are in the on state and the off state. The longer the pixels are on in a single pulse signal cycle, the brighter the screen; otherwise, the darker it is. For example, if the duration of the high level in pulse 1 is the same as the duration of the low level, the brightness that the human eye can see is approximately half of the original brightness of the pixel. In the embodiments of the present application, Figure 3 The brightness change of the pixel is not shown. Figure 3 The a stage may be the visual effect seen by the user after the electronic device dims the A area 102 .

[0056] When the electronic device refreshes a new frame image in any area, the electronic device needs to initialize the area when the first pulse signal (pulse 1) arrives. Taking area A 102 as an example, before refreshing the new frame image into area A 102, the electronic device needs to clear the previous frame image first. The voltages in area A 102 are still maintained at the voltage value of the previous frame image, so the electronic device needs to be initialized when pulse 1 arrives.

[0057] During the initialization process, the electronic device can reset various voltages. For example, Figure 4 An OLED light-emitting circuit diagram is shown, wherein the VDD voltage can be a positive voltage to power the OLED device; the VSS voltage can be a negative voltage; the Vref voltage can be a reference voltage (voltage reference); the EM pin can output a PWM pulse signal, the pulse signal can control the turn-off of the first switch unit Q1, and the refresh signal can control the turn-off of the second switch unit Q2.

[0058] Specifically, when receiving a refresh signal, the electronic device closes the second switch unit Q2, so that the Vref voltage is connected to point A, and the voltage at point A is the same as the Vref voltage; wherein Vref is a negative voltage, for example, -3V, -4V; at the same time, the electronic device receives a pulse signal, and the pulse signal is at a high level, the first switch unit Q1 is disconnected, and the voltage at point A is a negative voltage. When the pulse signal becomes a low level, the first switch unit Q1 is closed, and the VDD voltage reaches point A first; after the VDD voltage pulls the voltage at point A to a positive voltage, the VDD voltage can power the OLED device and make the OLED device emit light.

[0059] The process of VDD voltage leveling the voltage at point A will take some time, which causes the OLED device to not emit light for part of the time when the pulse signal is at a low level, thereby reducing the screen brightness seen by the human eye. For example, in a normal state, the ratio of the on time to the off time of the pixel in area A 102 is 1:1, the brightness of the pixel is a, and the brightness that the human eye can see may be a / 2; during the initialization process, the on time of the pixel in area A 102 is reduced, and the off time is increased, and the brightness seen by the human eye will be less than a / 2.

[0060] For example, Figure 5 Shown in Figure 3 The brightness of area A 102 is compared with that of other areas during stage a. Among them, area A 102 receives pulse 1, area B 103 receives pulse 4, area C 104 receives pulse 3, and area D 105 receives pulse 2. Since the refresh frame rate is four times the frequency of the PWM pulse signal, when refreshing a frame of image, the electronic device may receive a refresh signal at the same time as receiving pulse 1. Therefore, area A 102 will initialize based on the refresh signal and adjust the screen brightness based on pulse 1; at this time, other areas can display the image of the previous frame, and other areas have not yet initialized the frame of image, so other areas are not affected by the initialization. This leads to Figure 3 In stage a, the brightness of region A 102 is lower than that of other regions.

[0061] It should be noted that in the embodiment of the present application, the initialization process may include: the process of the electronic device initializing various voltages during the high level period of pulse 1, and the process of the electronic device leveling the voltage at point A through the VDD voltage during the low level period of pulse 1. Since the problem of screen flickering in the embodiment of the present application is related to the low level of pulse 1, the initialization process may also specifically refer to the process of the electronic device leveling the voltage at point A through the VDD voltage during the low level period of pulse 1, which will not be described in the subsequent embodiments of the present application.

[0062] exist Figure 3 Phase b in the figure: Over time, the electronic device refreshes the B area 103. The electronic device dims the pixels in the B area 103 through pulse 1, and the electronic device dims the pixels in the A area 102 through pulse 2. Among them, the screen brightness of the B area 103 is lower than the screen brightness of the A area 102. This is because, in the process of the electronic device dimming the pixels in the A area 102 through pulse 2, the A area 102 has been initialized, so the pixels remain lit in the low-level stage of pulse 2, and the screen brightness of the A area 102 is normal. In the process of the electronic device dimming the pixels in the B area 103 through pulse 1, the electronic device also needs to initialize the B area 103. The initialization process affects the lighting time of the pixels, which causes the screen brightness of the B area 103 to be lower than the normal brightness.

[0063] pass Figure 3 Phase a and Figure 3 By comparing the b phase in the figure, we can find that: in the process of refreshing a frame of image, Figure 3 The screen brightness of area A 102 in stage a is lower than Figure 3 The screen brightness of area A 102 in stage b in the video is changed, which causes area A 102 to change between bright and dark when the electronic device refreshes each frame of the image, resulting in a screen flickering scene.

[0064] exist Figure 3 In stage c: over time, the electronic device refreshes the C region 104. The electronic device dims the pixels in the C region 104 through pulse 1, the electronic device dims the pixels in the B region 103 through pulse 2, and the electronic device dims the pixels in the A region 102 through pulse 3. The screen brightness of the C region 104 is also low in this stage due to initialization problems.

[0065] exist Figure 3In stage d: over time, the electronic device refreshes the D region 105. The electronic device dims the pixels in the D region 105 through pulse 1, the electronic device dims the pixels in the C region 104 through pulse 2, the electronic device dims the pixels in the B region 103 through pulse 3, and the electronic device dims the pixels in the A region 102 through pulse 4. The D region 105 will also have a low screen brightness in this stage due to initialization problems.

[0066] Therefore, based on the above principle, when electronic devices use PWM for dimming, screen flickering may occur.

[0067] In a possible implementation, the electronic device can shorten the time of raising the voltage at point A during the initialization process by increasing the Vref voltage. Figure 3 In the scenario shown in Figure a, the VDD voltage can be 4.6V and Vref is -3V; in a possible implementation, the increased Vref voltage can be -1V; in this way, the time it takes for the VDD voltage to pull the -3V point A to a positive voltage is greater than the time it takes for the VDD voltage to pull the -1V point A to a positive voltage, which can reduce the proportion of the time spent leveling the voltage at point A when the pulse signal is at a low level, thereby increasing the screen brightness in the area where pulse 1 is located during initialization.

[0068] However, in possible implementations, the method of increasing the Vref voltage has limited regulatory ability to reduce the screen flicker problem. This is because: there is an upper limit to the increase of the Vref voltage. It is understandable that if the Vref voltage is high, when the voltage at point A is the same as the Vref voltage, no matter whether the first switch unit Q1 is open or closed, the voltage at point A can always control the OLED device to emit light, causing the pulse signal to lose the function of controlling the OLED device to emit light. The electronic device needs to appropriately increase the Vref voltage without affecting Q1's control of the OLED device to emit light. This means that after Q1 is closed, the VDD voltage still needs to pull up the voltage at point A, so the method of increasing the Vref voltage has limited regulatory ability.

[0069] In view of this, an embodiment of the present application provides a dimming method. In a scenario where an electronic device performs PWM dimming on a screen, the refresh frame rate of the screen is equal to the frequency of N PWM pulse signals. The electronic device can reduce the scene where the screen appears to alternate between bright and dark by controlling the duty cycle of the first M pulse signals to be greater than the duty cycle of the last NM pulse signals; for example, the duty cycle of the first M pulse signals is increased, or the duty cycle of the last NM pulse signals is reduced, so that the pixel points in the area where the N pulse signals are located have the same lighting time. In this way, the brightness value of the pixel point in the area where the first M pulse signals are located is roughly the same as the brightness value of other areas, thereby reducing the problem of screen flickering.

[0070] In the embodiment of the present application, the electronic device may also be referred to as a terminal device, a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. The terminal device may be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.

[0071] Among them, wearable devices can also be called wearable smart devices, which are a general term for the intelligent design and development of wearable devices for daily wear using wearable technology, such as glasses, gloves, watches, clothing and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also realize powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and independent of smartphones to achieve complete or partial functions, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0072] In addition, in the embodiments of the present application, the electronic device may also be an electronic device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection. The embodiments of the present application do not limit the specific technology and specific device form used by the electronic device.

[0073] In an embodiment of the present application, the electronic device may include a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system may be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.

[0074] In order to better understand the embodiments of the present application, the structure of the electronic device in the embodiments of the present application is introduced below:

[0075] Figure 6 1 shows a schematic diagram of the structure of the electronic device 100. 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. 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.

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

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

[0078] In an embodiment of the present application, the processor of the electronic device can identify the state of the electronic device. When the electronic device enters the AOD mode or the low brightness mode, the processor can send instructions to the DDIC in the display screen to enable the electronic device to dim through a PWM pulse signal.

[0079] In some embodiments, the processor 110 may include one or more communication interfaces (referred to as interfaces). The interfaces may include, for example but not limited to: 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 MIPI, a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0080] Among them, in the embodiment of the present application, the MIPI interface can be used to connect the processor 110 and peripheral devices such as the display screen 194. The MIPI interface may include a display serial interface (DSI). For example, the processor 110 and the display screen 194 communicate through the DSI interface to realize the display function of the electronic device 100.

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

[0082] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display driver integrated circuit (DDIC) and a display panel.

[0083] DDIC is a device (e.g., a chip) inside the display screen 194 for controlling the operation of the display screen 194. For example, in the embodiment of the present application, the DDIC can generate a certain pulse signal to control the display panel to display an image. The memory of the DDIC may include one or more registers, and the registers may pre-store pulse signals of multiple waveforms so that the DDIC uses different pulse signals in different scenarios.

[0084] The display panel may 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.

[0085] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.

[0086] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture, etc. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100. Figure 7 It is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.

[0087] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0088] The application layer can include a series of application packages.

[0089] like Figure 7 As shown, the application package may include applications such as setting applications and AOD.

[0090] Among them, the AOD application can be used to realize the display of the AOD interface. The AOD interface can be, for example, Figure 1 The interface shown in a in the figure; the Settings application can be used to set the brightness of the display.

[0091] The kernel layer is the layer between hardware and software. The kernel layer is the core of the operating system of an electronic device. It is the first layer of software expansion based on hardware, providing the most basic functions of the operating system. It is the basis for the operation of the operating system. It is responsible for managing the system's processes, memory, device drivers, files, and network systems, and determines the performance and stability of the system. For example, the kernel can determine the operating time of an application on a certain part of the hardware. The kernel layer can include display drivers.

[0092] In the embodiment of the present application, the display driver can receive instructions from the application layer and control the display of the hardware layer to display images.

[0093] In an embodiment of the present application, the display screen in the hardware can display an AOD interface and a low-brightness interface. The low-brightness interface can be an interface displayed by the electronic device when the brightness value of the display screen is lower than a brightness threshold.

[0094] Combine the following Figure 7 The following describes possible implementations of the dimming method according to the embodiment of the present application.

[0095] In one possible implementation, when the electronic device enters the AOD mode, the AOD application can send instructions to the display driver of the kernel layer. The display of the hardware layer includes DDIC and a display panel. DDIC receives instructions from the display driver and outputs corresponding pulse signals through registers. DDIC controls the display panel to display the AOD interface based on the pulse signals.

[0096] In another possible implementation, the electronic device can obtain the brightness value of the screen by setting the application. When the brightness value is lower than the brightness threshold, the electronic device can send instructions from the application layer to the display driver of the kernel layer. The DDIC in the display receives the instructions of the display driver and outputs the corresponding pulse signal through the register. The DDIC controls the display panel to display the low brightness interface based on the pulse signal.

[0097] In the embodiment of the present application, the electronic device can adjust the duty cycle of the pulse signal so that the duty cycle of the pulse signal received by the area involved in the refresh initialization process is higher than that of other areas. In one possible implementation, the frequency of the PWM pulse signal is low, the period of the pulse signal is long, and the refresh initialization can be completed within the period; in another possible implementation, the frequency of the PWM pulse signal is high, the period of the pulse signal is short, and the refresh initialization needs to be completed within the period of multiple pulse signals.

[0098] In the AOD scenario, for example, there are 4 pulse signals in any period of refreshing a frame of an image by an electronic device. The pulse signals may be pulse 1', pulse 2', pulse 3' and pulse 4'. The electronic device completes the refresh initialization during pulse 1'. The display screen of the electronic device is divided into 4 areas (area A, area B, area C and area D), and the 4 areas do not overlap. Figure 8 The process of refreshing a frame of image in the first possible implementation is described. Figure 8 A dimming method provided by an embodiment of the present application is shown. Figure 8 As shown:

[0099] It should be noted that the number of areas in the electronic device is the same as the number of PWM pulse signals in one refresh cycle. This is because: the time it takes for the electronic device to refresh a frame of image is equal to the time of N pulse signals, and the periods of each pulse signal are the same; the size of the area refreshed within the time of any pulse signal is the same. The embodiment of the present application can define the area according to the size of the screen refreshed within the period of a single pulse signal.

[0100] Exemplarily, S801, within a first pulse signal cycle, the electronic device receives pulse 1' in area A.

[0101] The first pulse signal period may correspond to Figure 8 In the a stage, pulse 1' is related to the refresh signal of the electronic device. It can be understood that in this embodiment, the refresh frame rate of the screen is equal to the frequency of 4 pulses. Therefore, 4 pulse signal cycles are required in one refresh cycle, and when the electronic device receives the refresh signal, it will also receive the pulse for dimming. Here, the pulse signal received simultaneously with the refresh signal is defined as pulse 1'.

[0102] Among them, since the cycle of a single pulse signal is relatively large, the time from the VDD voltage in the electronic device leveling the voltage at point A to lighting up the OLED device can be controlled within one pulse signal cycle. When refreshing area A, the duty cycle of pulse 1' is greater than the duty cycle of other pulse signals. For example, there is a difference between the duration of the low level in pulse 1' and the duration of the low level in other pulse signals, and the difference is related to the time taken by the VDD voltage to level the voltage at point A and light up the OLED device.

[0103] S802: In the second pulse signal cycle, the electronic device receives pulse 1' in area B, and the electronic device receives pulse 2' in area A; wherein the duty cycle of pulse 1' is greater than the duty cycle of pulse 2'.

[0104] The second pulse signal period may correspond to Figure 8 In the b phase, the electronic device refreshes the B region, wherein the duty cycle of pulse1' is greater than the duty cycle of pulse 2'. Thus, in a possible implementation, when the electronic device refreshes the B region, the brightness of the B region decreases due to the initialization process; and in the embodiment of the present application, when the electronic device refreshes the B region, the duty cycle of pulse1' is relatively large, so that the luminous time of the pixel points in the B region is equal to the luminous time of the pixel points in the A region. The difference between the brightness value of the pixel points in the A region and the brightness value of the pixel points in the B region is less than a preset threshold; wherein the preset threshold may be a threshold at which the human eye can distinguish changes in brightness.

[0105] S803: In the third pulse signal cycle, the electronic device in the C region receives pulse 1', the electronic device in the B region receives pulse 2', and the electronic device in the A region receives pulse 3'.

[0106] The third pulse signal period may correspond to Figure 8 In the c phase, the electronic device refreshes the C region, wherein the duty cycle of pulse1' is greater than the duty cycle of pulse 2', and the duty cycle of pulse 2' is equal to the duty cycle of pulse 3'. The brightness values ​​of the pixels in the A region and the B region are the same, and the difference between the brightness value of the pixels in the C region and the brightness value of the pixels in the B region is less than the preset threshold value; so that the human eye cannot recognize the difference between the brightness of the C region and the brightness of the A region and the B region.

[0107] S804: In the fourth pulse signal cycle, the electronic device receives pulse 1' in area D, the electronic device receives pulse 2' in area C, the electronic device receives pulse 3' in area B, and the electronic device receives pulse 4' in area A.

[0108] The fourth pulse signal period may correspond to Figure 8 In the d phase, the electronic device refreshes the D region, wherein the duty cycle of pulse 1' is greater than the duty cycle of pulse 2', and the duty cycles of pulse 2', pulse 3' and pulse 4 are the same. The brightness values ​​of the pixels in the A region, the B region and the C region are the same, and the difference between the brightness value of the pixels in the D region and the brightness value of the pixels in the C region is less than a preset threshold value; so that the human eye cannot recognize the difference between the brightness of the D region and the brightness of the A region, the B region and the C region.

[0109] Optionally, the electronic device can reduce the brightness difference between the initialization area and other areas by adjusting the duty cycle of the pulse signal. Fig. 9 Shows Figure 3 The pulse signal in the d phase is Figure 8 Schematic diagram of the comparison of pulse signals in stage d.

[0110] In some embodiments, the electronic device may increase the duty cycle of the push button 1' so that the duty cycle of the push button 1' is higher than the duty cycle of the push button 2'; Fig. 9As shown in Figure a: the pulse signals before adjustment may be pulse 1, pulse 2, pulse 3 and pulse 4, and the pulse signals after adjustment may be pulse 1', pulse 2', pulse 3' and pulse 4'. Exemplarily, the electronic device does not adjust the duty cycle of pulse 2, pulse 3 and pulse 4, and the duty cycles of pulse 1, pulse 2, pulse 3, pulse 4 and pulse 2', pulse 3' and pulse 4' are the same; the electronic device increases the duty cycle of pulse 1, wherein the duty cycle of pulse 1' is higher than the duty cycle of pulse 1; the difference between the duty cycle of pulse 1' and the duty cycle of pulse 1 may be related to the time of the initialization process.

[0111] Specifically, the duty ratios of pulse 1, pulse 2, pulse 3, and pulse 4 before adjustment may be 1 / 2, the duty ratio of pulse 1' after adjustment is greater than 1 / 2, and the duty ratios of pulse 2', pulse 3', and pulse 4' are equal to 1 / 2.

[0112] In some other embodiments, the electronic device may reduce the duty cycle of pull 2', pull 3' and pull 4', so that the duty cycle of pull 1' is higher than the duty cycle of pull 2'; Fig. 9 As shown in b: the pulse signals before adjustment may be pulse 1, pulse 2, pulse 3 and pulse 4, and the pulse signals after adjustment may be pulse 1', pulse 2', pulse 3' and pulse 4'. Exemplarily, the electronic device does not adjust the duty cycle of pulse 1, and the duty cycles of pulse 1, pulse 2, pulse 3, pulse 4 and pulse 1' are the same; the electronic device reduces the duty cycles of pulse 2, pulse 3 and pulse 4, wherein the duty cycle of pulse 2' is lower than the duty cycle of pulse 2, the duty cycle of pulse 3' is lower than the duty cycle of pulse 3, and the duty cycle of pulse 4' is lower than the duty cycle of pulse 4; the difference between the duty cycle of pulse 2' and the duty cycle of pulse 2 may be related to the time of the initialization process.

[0113] Specifically, the duty ratios of pulse 1, pulse 2, pulse 3, and pulse 4 before adjustment may be 1 / 2, the duty ratio of pulse 1' after adjustment is equal to 1 / 2, and the duty ratios of pulse 2', pulse 3', and pulse 4' are less than 1 / 2.

[0114] The embodiment of the present application exemplifies two methods for adjusting the duty cycle of pulse signals, and the embodiment of the present application can also increase pulse 1' while reducing the duty cycle of pulse 2', pulse 3' and pulse 4', so that the duty cycle of pulse 1' is greater than the duty cycle of pulse 2'. The embodiment of the present application does not limit this.

[0115] The above embodiment introduces a dimming method by taking the case where the initialization time during the refresh process of an electronic device is less than the period of a pulse signal as an example. In another possible implementation, the frequency of the pulse signal is higher, and the initialization time during the refresh process of the electronic device may be greater than the period of a pulse signal. The electronic device needs to go through multiple pulse signal periods before the brightness of the initialization area can return to normal. The following describes the process of refreshing a frame of an image by an electronic device, taking the case where the VDD voltage levels the voltage at point A and the time taken to light up the OLED device as M pulse signal periods as an example. Fig.10 A dimming method provided by the present application is shown. Fig.10 As shown:

[0116] When an electronic device uses pulse width modulation (PWM) for dimming, there are N pulse signals in any cycle when the electronic device refreshes a frame of image. N is also called the pulse number, and N is a positive integer. In general scenarios, N is an even number, for example, N is 4, 6, 8, etc. The display screen of the electronic device is divided into N areas, for example, area A, area B, area C... area M... area N. The N areas do not overlap with each other, and N is a positive integer. The dimming methods include:

[0117] S1001. In the first pulse signal cycle, the electronic device receives pulse 1' in area A.

[0118] The electronic device initializes the A region, and receives pulse 1'. The duty cycle of pulse 1' is higher than the duty cycle of pulse N'.

[0119] It is understandable that the initialization process involves M pulse signal cycles, so the electronic device needs to adjust the duty cycle of pulse1' to pulse M' so that the duty cycle of the pulse signal during the initialization process is higher than the duty cycle of the pulse signal after initialization. Fig.10 In the first pulse signal cycle in , the pulse signal in the dotted line portion may be a pulse signal related to refreshing the previous frame image, and the pulse signal in the solid line portion may be a pulse signal related to refreshing the current frame image.

[0120] S1002: In the second pulse signal cycle, the electronic device receives pulse 1' in area B, and the electronic device receives pulse 2' in area A.

[0121] The electronic device initializes area A and area B, area B receives pulse 1', and area A receives pulse 2'. The duty cycle of pulse 1' is greater than the duty cycle of pulse N', and the duty cycle of pulse 2' is greater than the duty cycle of pulse N'; the duty cycle of pulse 1' is greater than the duty cycle of pulse 2'.

[0122] Exemplarily, during the second pulse signal cycle, region A undergoes two initialization processes. For example, during the first pulse signal cycle, region A is initialized by pulse 1', and a single pulse signal cycle can only make the 4.6V VDD voltage pull the voltage at point A to 3V, and the OLED device lights up based on the 3V voltage; during the second pulse signal cycle, region A continues to complete initialization through pulse2', and the 4.6V VDD voltage pulls the 3V voltage at point A to 4.6V, and the OLED device lights up based on the 4.6V voltage. In the first pulse signal cycle and the second pulse signal cycle, the luminous voltage of the pixels in region A is different, so the duty cycle of pulse 1' can be greater than the duty cycle of pulse 2', so that the brightness of the pixels in region A is roughly the same at the two moments.

[0123] S1003: In the third pulse signal cycle, the electronic device receives pulse 1' in area C, the electronic device receives pulse 2' in area B, and the electronic device receives pulse 3' in area A.

[0124] The electronic device initializes area A, area B, and area C, area C receives pulse 1', area B receives pulse 2', and area A receives pulse 3'. The duty cycle of pulse 3' is greater than the duty cycle of pulse N', and the duty cycle of pulse 2' is greater than the duty cycle of pulse 3'.

[0125] And so on.

[0126] S1004. In the Mth pulse signal cycle, the electronic device receives pulse 1' in the M region, pulse 2' in the M-1 region, ... pulse M-2' in the C region, pulse M-1' in the B region, and pulse M' in the A region.

[0127] The electronic device initializes the area A to the area M. The duty cycle of any pulse signal from pulse 1' to pulse M' is greater than the duty cycle of any pulse signal from pulse M+1' to pulse N'.

[0128] It can be understood that, in the Mth pulse signal cycle, the electronic device completes the initialization of the current frame image in area A; in the M+1th pulse signal cycle, the electronic device dims in area A based on the pulse signal, and the initialization process is no longer involved, so in the refresh cycle, the duty cycle of the first M pulse signals is greater than the duty cycle of the last NM pulse signals, and the duty cycles of the last NM pulse signals are the same.

[0129] And so on.

[0130] S1005. In the Nth pulse signal cycle, the electronic device receives pulse 1' in area N, pulse 2' in area N-1, ..., pulse N-2' in area C, pulse N-1' in area B, and pulse N' in area A.

[0131] The electronic device completes the task of refreshing the current frame image. Among them, between the first pulse signal cycle and the Nth pulse signal cycle, the time difference between any two adjacent moments is the cycle of a pulse signal, and at any moment, the difference in screen brightness between any two areas in the N areas is less than a preset threshold.

[0132] The above embodiments are combined Figure 8-Figure 10 The pulse signals in two initialization scenarios are described below. Fig.12 The execution process of the dimming method provided in the embodiment of the present application is described as follows: Fig.11 As shown:

[0133] In an embodiment of the present application, the electronic device may include a processor and a display screen. The display screen may include a DDIC and a display panel; and the DDIC includes one or more registers.

[0134] Exemplarily, S1101, when the processor recognizes that the electronic device enters the AOD state, the processor sends first indication information to the DDIC.

[0135] The electronic device starting the AOD state can be understood as: an AOD mode switch is set in the electronic device (for example, the AOD mode switch is placed in the setting application), the AOD mode switch is in the on state, and the electronic device receives a trigger operation for turning off the screen. The first indication information is used to instruct the DDIC to enter the AOD mode.

[0136] After the screen is off, the electronic device enters the AOD mode. After the processor recognizes that the electronic device enters the AOD mode, it can send first indication information to the DDIC based on the communication interface; wherein the communication interface can be, for example, a MIPI interface.

[0137] It is understandable that before the electronic device enters the AOD mode, the electronic device may use DC dimming; after the electronic device enters the AOD mode, the electronic device may use PWM dimming. Step S1101 may be a way for the electronic device to switch from DC dimming to PWM dimming.

[0138] S1102. When receiving the first indication information, the DDIC outputs a first type of pulse signal through a register.

[0139] The first type of pulse signal is a PWM pulse signal suitable for AOD scenarios. For example, there are multiple pulses in the period of the first type of pulse signal, such as Figure 8 The pulse signals in (such as the 4 pulses in pulse 1' to pulse 4'), for example Fig.10 The pulse signal in (such as N pulses in pulse 1' to pulse N').

[0140] Multiple groups of register values ​​can be pre-stored in the DDIC. When the DDIC receives the first indication information, the DDIC can set the register value to enable the register to generate a first type of pulse signal; for example, the period of the first type of pulse signal is determined by the value of the modulus register, and the value of the modulus register can be, for example, pwm_mod; the duty cycle of the first type of pulse signal is determined by the value of the channel register, and the value of the channel register can be, for example, pwm_CxV (x is a natural number).

[0141] It can be understood that the register of DDIC can store the duty cycle of each pulse signal in the first type of pulse signal, and DDIC can output pulse signals of different waveforms through the register. For example, when DDIC receives the first indication information, DDIC outputs the first type of pulse signal based on the register.

[0142] S1103 . The DDIC controls the display panel to display a first frame of image based on the first type of pulse signal.

[0143] The first frame image may be a frame image to be refreshed in the AOD mode.

[0144] The display panel can be divided into N areas, for example, area A, area B, ..., N areas, etc., and the N areas overlap complementary. DDIC controls the display panel to display the first frame of image through the first type of pulse signal, which can correspond to Figure 8 Steps S801-S804 in, or corresponding to Fig.10 In steps S1001-S1005, DDIC can brush the first frame image onto the display panel in the above manner, which will not be described in detail in this embodiment of the present application.

[0145] In the AOD mode, the electronic device can improve the screen flickering problem of the electronic device during PWM dimming through steps S1101-S1103. Figure 1 As shown in the effect of interface a in the figure, when the electronic device refreshes any frame of image, the brightness of each area of ​​the display panel is roughly consistent, and the human eye will not observe the alternation between light and dark.

[0146] In the embodiment of the present application, in addition to the AOD mode being able to trigger the dimming method of the embodiment of the present application, the electronic device also triggers the dimming method of the embodiment of the present application in the low brightness mode. Fig.12 FIG. 2 shows a flow chart of another dimming method in an embodiment of the present application; Fig.12 As shown:

[0147] S1201: When the processor recognizes that the brightness value of the display screen is less than or equal to the brightness threshold, the processor sends second indication information to the DDIC.

[0148] The processor may be an AP, the brightness value of the display screen may be a display brightness value (DBV), and the second indication information may be used to instruct the DDIC to enter a low brightness mode. The brightness threshold may be, for example, 70 nit.

[0149] In some embodiments, when the brightness value of the display screen is greater than a brightness threshold, the dimming mode of the electronic device is DC dimming; when the brightness value of the display screen is less than or equal to the brightness threshold, the dimming mode of the electronic device is PWM dimming.

[0150] S1202: When receiving the second indication information, the DDIC outputs a PWM pulse signal corresponding to the brightness value through a register.

[0151] There are multiple pulses in the period of the PWM pulse signal corresponding to the brightness value, for example Figure 8 The pulse signals in (such as the 4 pulses in pulse1' to pulse 4'), for example Fig.10 The second indication information may include a pulse signal in pulse 1' to pulse N' (such as N pulses in pulse 1' to pulse N'); the second indication information may include a brightness value of the display screen, and the DDIC may output a corresponding pulse signal according to the brightness value.

[0152] Exemplarily, in some embodiments, the brightness value of the display screen is a first brightness, and the first brightness is less than a brightness threshold; when receiving the second indication information, the DDIC outputs a second type of pulse signal through a register, and the waveform of the second type of pulse signal is different from the waveform of the first type of pulse signal.

[0153] In other embodiments, the brightness value of the display screen is a second brightness, the second brightness is less than a brightness threshold, and the second brightness is different from the first brightness value; when receiving the second indication information, the DDIC outputs a third type of pulse signal through a register, and the waveform of the second type of pulse signal is different from the waveform of the second type of pulse signal.

[0154] Exemplarily, the register of DDIC pre-stores pulse signals of various output forms, for example, the first type of pulse signal in AOD mode; various PWM pulse signals in low brightness mode, for example, the second type of pulse signal, the third type of pulse signal, etc. The period of each type of pulse signal is the same as the refresh period of the screen; due to different applicable scenarios, the various types of pulse signals are different; for example, the duty cycle of pulse i' (1≤i≤N) in the first type of pulse signal is different from the duty cycle of pulseei' in the second type of pulse signal; the number of pulses N in a single cycle of the first type of pulse signal is different from the number of pulses N in a single cycle of the second type of pulse signal. DDIC can output different pulse signals according to the scenario.

[0155] S1203 . The DDIC controls the display panel to display a second frame of image based on the pulse signal corresponding to the brightness value.

[0156] The second frame image may be a frame image to be refreshed in low brightness mode, for example Fig.13 The frame image in the middle display, Fig.13 A schematic diagram of an interface of an electronic device under low brightness is shown.

[0157] The display panel can be divided into N areas, for example, area A, area B, and N areas, and the N areas overlap complementary. DDIC controls the display panel to display the second frame image through a pulse signal corresponding to the brightness value, which can correspond to Figure 8 Steps S801-S804 in, or corresponding to Fig.10 In steps S1001-S1005, DDIC can brush the second frame image onto the display panel in the above manner, which will not be described in detail in this embodiment of the present application.

[0158] In the low brightness mode, the electronic device can improve the screen flickering problem of the electronic device during PWM dimming through steps S1201-S1203. Fig.13 As shown in the effect, when the electronic device refreshes any frame of image, the brightness of each area of ​​the display panel is roughly consistent, and the human eye will not observe the alternating changes between light and dark.

[0159] Optionally, in an embodiment of the present application, the electronic device may connect the display screen to a flexible printed circuit (FPC), and the electronic device measures the pulse signal of the EM pin in the DDIC through the FPC to obtain a waveform diagram of the PWM pulse signal output by the DDIC.

[0160] For example, Fig.14 The waveform diagrams of two PWM pulse signals are shown.

[0161] In one possible implementation, the DDIC may output, for example, Fig.14 As shown in the waveform diagram of Figure a in FIG, the duty cycle of pulse1' is greater than the duty cycle of pulse 2', and the duty cycles of pulse 2' to pulse N' are the same.

[0162] In another possible implementation, the DDIC may output, for example, Fig.14 The waveform diagram shown in Figure b in FIG. 1 is a waveform diagram in which the duty cycle of any pulse from pulse1′ to pulse M′ is greater than the duty cycle of any pulse from pulse M+1′ to pulse N′, and the duty cycles of pulse M+1′ to pulse N′ are the same.

[0163] Based on the above embodiments, the present application provides a dimming method. For example, Fig.15 A schematic diagram of a flow chart of a dimming method provided in an embodiment of the present application.

[0164] like Fig.15 As shown, when the electronic device uses pulse width modulation PWM for dimming, the electronic device uses N pulse signal cycles to refresh any frame image, and any pulse signal cycle has one pulse signal. The display screen of the electronic device is divided into N areas, and the N areas do not overlap with each other, and N is a positive integer; the dimming method may include the following steps:

[0165] S1501. In a first pulse signal period, an electronic device receives a first pulse signal in a first area.

[0166] The first pulse signal period may correspond to Figure 8 The first pulse signal period in the first region may be region A, and the first pulse signal may be pulse 1'; or the first pulse signal period may correspond to Fig.10 In the first pulse signal period of , the first region may be region A, and the first pulse signal may be pulse 1'.

[0167] It can be understood that when the pulse signal cycle is longer, the electronic device can complete initialization within one pulse signal cycle; when the pulse signal cycle is shorter, the electronic device may complete initialization after multiple pulse signal cycles.

[0168] S1502. In the second pulse signal cycle, the electronic device receives the first pulse signal in the second area, and the electronic device receives the second pulse signal in the first area; the duty cycle of the first pulse signal is greater than the duty cycle of the second pulse signal; the duty cycle includes the ratio of the duration of lighting of the pixels in the first area to the pulse signal cycle, and the first area is adjacent to the second area; the first pulse signal cycle is earlier than the second pulse signal cycle.

[0169] The second pulse signal period may correspond to Figure 8 The second pulse signal period in the first region may be region A, the second region may be region B, the first pulse signal may be pulse 1', and the second pulse signal may be pulse 2'; or the second pulse signal period may correspond to Fig.10 In the second pulse signal period of , the first area may be area A, the second area may be area B, the first pulse signal may be pulse 1', and the second pulse signal may be pulse 2'. The duty cycle of pulse 1' is greater than the duty cycle of pulse 2'.

[0170] S1503. In the third pulse signal cycle, the electronic device receives the first pulse signal in the third area, the electronic device receives the second pulse signal in the second area, and the electronic device receives the third pulse signal in the first area; the duty cycle of the second pulse signal is greater than or equal to the duty cycle of the third pulse signal; the third area is adjacent to the second area; the second pulse signal cycle is earlier than the third pulse signal cycle.

[0171] The third pulse signal period may correspond to Figure 8 In the third pulse signal cycle, the first area may be area A, the second area may be area B, the third area may be area C, the first pulse signal may be pulse 1', the second pulse signal may be pulse 2', and the third pulse signal may be pulse 3'. The duty cycle of pulse 2' is equal to the duty cycle of pulse 3'.

[0172] The third pulse signal period may correspond to Fig.10In the third pulse signal cycle, the first area may be area A, the second area may be area B, the third area may be area C, the first pulse signal may be pulse 1', the second pulse signal may be pulse 2', and the third pulse signal may be pulse 3'. The duty cycle of pulse 2' is greater than or equal to the duty cycle of pulse 3'.

[0173] S1504. In the Nth pulse signal cycle, the electronic device receives the first pulse signal in the Nth area, the electronic device receives the i+1th pulse signal in the Nith area, and the electronic device receives the Nth pulse signal in the first area; wherein, i is a positive integer less than N, the duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal is greater than the duty cycle of any pulse signal from the M+1th pulse signal to the Nth pulse signal, the duty cycles of the pulse signals from the M+1th pulse signal to the Nth pulse signal are the same, and M is a positive integer less than N.

[0174] The Nth pulse signal period may correspond to Figure 8 In the fourth pulse signal cycle of , the first area may be area A, the second area may be area B, the third area may be area C, the Nth area may be area D, the first pulse signal may be pulse 1', the second pulse signal may be pulse 2', the third pulse signal may be pulse 3', and the Nth pulse signal may be pulse 4'. M=1, the duty cycle of pulse 1' is greater than the duty cycle of any pulse signal from pulse 2' to pulse 4'.

[0175] Alternatively, the Nth pulse signal period may correspond to Fig.10 In the Nth pulse signal cycle, the first area may be area A, the second area may be area B, the third area may be area C, the Nth area may be area N, the first pulse signal may be pulse 1', the second pulse signal may be pulse 2', the third pulse signal may be pulse 3', the Mth pulse signal may be pulse M', and the Nth pulse signal may be pulse N'. M is not 1, and the duty cycle of any pulse signal from pulse 1' to pulse M' is greater than the duty cycle of any pulse signal from pulse M+1' to pulse N'.

[0176] In this way, when each area is initialized, the duty cycle of the pulse signal received by the area is relatively large, so as to reduce the impact of the initialization on the lighting time of the pixels in the area, thereby making the brightness value of the initialized area roughly the same as that of other areas, reducing the screen flickering scene.

[0177] Optionally, the duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal is the same, or the duty cycle of the first pulse signal to the Mth pulse signal decreases sequentially.

[0178] When the initialization process of any area involves multiple pulse signal cycles, the duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal may be the same or different.

[0179] For example, the duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal is the same, the brightness of the area controlled by the first pulse signal is lower than the brightness of the area controlled by the Mth pulse signal, but the difference between the two brightness values ​​is less than the preset threshold. For another example, the duty cycle of the first pulse signal to the Mth pulse signal decreases successively, and the brightness of the area controlled by the first pulse signal is the same as the brightness of the area controlled by the Mth pulse signal.

[0180] In this way, the electronic device controls the duty cycle of the pulse signal during the initialization period to be higher than the duty cycle of the pulse signal during the non-initialization period, so that the brightness values ​​of the pixels in each area are roughly the same, thereby reducing screen flicker.

[0181] Optionally, the duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal is higher than 1 / 2, and the duty cycle of any pulse signal from the M+1th pulse signal to the Nth pulse signal is equal to 1 / 2.

[0182] In this way, the electronic device can achieve the effect that the duty ratio of the pulse signal during the initialization period is higher than the duty ratio of the pulse signal during the non-initialization period by increasing the duty ratio of the pulse signal during the initialization period.

[0183] Optionally, the duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal is equal to 1 / 2, and the duty cycle of any pulse signal from the M+1th pulse signal to the Nth pulse signal is less than 1 / 2.

[0184] In this way, the electronic device can achieve the effect that the duty ratio of the pulse signal during the initialization period is higher than the duty ratio of the pulse signal during the non-initialization period by reducing the duty ratio of the pulse signal during the non-initialization period.

[0185] Optionally, the display screen includes a display driver integrated circuit (DDIC); the DDIC includes registers, and the duty cycles of the pulse signals in the first type of pulse signals are stored in the registers. The first type of pulse signals includes a first pulse signal to an Nth pulse signal. Before the electronic device uses pulse width modulation (PWM) for dimming, it includes: the electronic device recognizes that the electronic device enters a first mode; the first mode includes: the electronic device enables the always-on display (AOD) function, and the electronic device is in the off-screen state; the electronic device sends first indication information to the DDIC, and the first indication information is used to instruct the DDIC to output the first type of pulse signals.

[0186] In this way, the electronic device can output the first type of pulse signals in the first mode to control the brightness values of the pixel points in each area in the first mode to be generally equal.

[0187] Optionally, the display screen includes a DDIC; the DDIC includes registers, and the duty cycles of the pulse signals in the second type of pulse signals are stored in the registers. The second type of pulse signals includes a Jth pulse signal to an Lth pulse signal. The duty cycle of any one of the Jth pulse signal to the Kth pulse signal is greater than the duty cycle of any one of the (K + 1)th pulse signal to the Lth pulse signal, and the duty cycles of the pulse signals from the (K + 1)th pulse signal to the Lth pulse signal are the same; J, K, and L are all positive integers, and J ≤ K < L. It further includes: the electronic device sets the brightness value of the display screen to a first brightness value, and the first brightness value is less than the brightness threshold; the electronic device recognizes that the electronic device enters a second mode, and the second mode includes: the brightness of the display screen of the electronic device is lower than the brightness threshold; the electronic device sends second indication information to the DDIC, and the second indication information is used to instruct the DDIC to output the second type of pulse signals.

[0188] It can be understood that the second type of pulse signals is different from the first type of pulse signals. The setting process of the Jth pulse signal to the Lth pulse signal can refer to Figure 8 or Fig.10 , which will not be elaborated in the embodiments of this application. When the electronic device is in different modes, the waveforms of the pulse signals used are different.

[0189] In this way, the electronic device can output the second type of pulse signals in the second mode to control the brightness values of the pixel points in each area in the second mode to be generally equal.

[0190] Optionally, in the first pulse signal period, the lighting duration of the pixel points in the first area is controlled by the low level in the first pulse signal.

[0191] In this way, the electronic device can control the brightness values of the pixel points in different areas by adjusting the duration of the low level in the pulse signal period.

[0192] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0193] The dimming method of the embodiment of the present application has been described above, and the device for performing the dimming method provided by the embodiment of the present application is described below. Those skilled in the art can understand that the method and the device can be combined and referenced with each other, and the relevant device provided by the embodiment of the present application can perform the steps in the dimming method.

[0194] like Fig.16 As shown, the dimming device 1600 can be used in a communication device, a circuit, a hardware component or a chip, and the dimming device includes: a display unit 1601 and a processing unit 1602. The display unit 1601 is used to support the display step performed by the dimming device 1600; the processing unit 1602 is used to support the dimming device 1600 to perform the information processing step.

[0195] In a possible implementation, the dimming device 1600 may also include a communication unit 1603. Specifically, the communication unit is used to support the dimming device 1600 to perform the steps of sending and receiving data. The communication unit 1603 may be an input or output interface, a pin or a circuit.

[0196] In a possible embodiment, the dimming device may further include: a storage unit 1604. The processing unit 1602 and the storage unit 1604 are connected via a line. The storage unit 1604 may include one or more memories, and the memory may be a device used to store programs or data in one or more devices or circuits. The storage unit 1604 may exist independently and be connected to the processing unit 1602 of the dimming device via a communication line. The storage unit 1604 may also be integrated with the processing unit 1602.

[0197] The storage unit 1604 may store computer-executable instructions of the method in the terminal device so that the processing unit 1602 executes the method in the above embodiment. The storage unit 1604 may be a register, a cache, or a RAM, etc. The storage unit 1604 may be integrated with the processing unit 1602. The storage unit 1604 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, and the storage unit 1604 may be independent of the processing unit 1602.

[0198] The dimming method provided in the embodiment of the present application can be applied to electronic devices with communication functions. The electronic devices include terminal devices, and the specific device form of the terminal devices can refer to the above related descriptions, which will not be repeated here.

[0199] An embodiment of the present application provides an electronic device, which includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the above method.

[0200] Optionally, the electronic device also includes a DDIC, which is used to receive first indication information sent by the electronic device, the first indication information is used to instruct the DDIC to output a first type of pulse signal, and the first type of pulse signal includes a first pulse signal to an Nth pulse signal; or, the DDIC is also used to receive second indication information sent by the electronic device, the second indication information is used to instruct the DDIC to output a second type of pulse signal, and the second type of pulse signal includes a Jth pulse signal to an Lth pulse signal, and the duty cycle of any pulse signal from the Jth pulse signal to the Kth pulse signal is greater than the duty cycle of any pulse signal from the K+1th pulse signal to the Lth pulse signal, and the duty cycle of each pulse signal from the K+1th pulse signal to the Lth pulse signal is the same; J, K and L are all positive integers, and J≤K <L。

[0201] The embodiment of the present application provides a chip. The chip includes a processor, and the processor is used to call a computer program in a memory to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above related embodiments, and will not be repeated here.

[0202] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. The above method is implemented when the computer program is executed by the processor. The method described in the above embodiment can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the function can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.

[0203] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVD), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.

[0204] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method.

[0205] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0206] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.

Claims

1. A dimming method, characterized in that: Applied to an electronic device, when the electronic device uses pulse width modulation (PWM) for dimming, the electronic device uses N pulse signal cycles to refresh any frame image, and any pulse signal cycle has one pulse signal. The display screen of the electronic device is divided into N areas, and the N areas do not overlap with each other, and N is a positive integer; the method includes: In a first pulse signal cycle, the electronic device receives a first pulse signal in a first area; In the second pulse signal cycle, the electronic device receives the first pulse signal in the second area, and the electronic device receives the second pulse signal in the first area; the duty cycle of the first pulse signal is greater than the duty cycle of the second pulse signal; the duty cycle includes the ratio of the duration of controlling the lighting of the pixels in the first area to the pulse signal cycle, the first area is adjacent to the second area; the first pulse signal cycle is earlier than the second pulse signal cycle; In a third pulse signal cycle, the electronic device receives the first pulse signal in the third area, the electronic device receives the second pulse signal in the second area, and the electronic device receives the third pulse signal in the first area; the duty cycle of the second pulse signal is greater than or equal to the duty cycle of the third pulse signal; the third area is adjacent to the second area; the second pulse signal cycle is earlier than the third pulse signal cycle; In the Nth pulse signal cycle, the electronic device receives the first pulse signal in the Nth area, the electronic device receives the i+1th pulse signal in the Nith area, and the electronic device receives the Nth pulse signal in the first area; wherein, i is a positive integer less than N, the duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal is greater than the duty cycle of any pulse signal from the M+1th pulse signal to the Nth pulse signal, the duty cycles of each pulse signal from the M+1th pulse signal to the Nth pulse signal are the same, and M is a positive integer less than N.

2. The method according to claim 1, characterized in that The duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal is the same, or the duty cycle of the first pulse signal to the Mth pulse signal decreases sequentially.

3. The method according to claim 1 or 2, characterized in that: The duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal is higher than 1 / 2, and the duty cycle of any pulse signal from the M+1th pulse signal to the Nth pulse signal is equal to 1 / 2.

4. The method according to claim 1 or 2, characterized in that: The duty cycle of any pulse signal from the first pulse signal to the Mth pulse signal is equal to 1 / 2, and the duty cycle of any pulse signal from the M+1th pulse signal to the Nth pulse signal is less than 1 / 2.

5. The method according to any one of claims 1 to 4, characterized in that: The display screen includes a display driver integrated circuit DDIC; the DDIC includes a register, the register stores a duty cycle of each pulse signal in a first type of pulse signal, the first type of pulse signal includes the first pulse signal to the Nth pulse signal, and before the electronic device uses pulse width modulation PWM for dimming, it includes: The electronic device recognizes that the electronic device enters the first mode; the first mode includes: the electronic device enables the Always-on Display (AOD) function and the electronic device is in the screen-off state; The electronic device sends first indication information to the DDIC, and the first indication information is used to instruct the DDIC to output the first type of pulse signal.

6. The method according to any one of claims 1 to 5, characterized in that: The display screen includes a DDIC; the DDIC includes registers, and the duty ratios of the pulse signals in the second type of pulse signal are stored in the registers. The second type of pulse signal includes the Jth pulse signal to the Lth pulse signal. The duty ratio of any one of the Jth pulse signal to the Kth pulse signal is greater than the duty ratio of any one of the (K + 1)th pulse signal to the Lth pulse signal, and the duty ratios of the (K + 1)th pulse signal to the Lth pulse signal are the same; J, K, and L are all positive integers, and J ≤ K < L; it further includes: The electronic device sets the brightness value of the display screen to a first brightness value, and the first brightness value is less than the brightness threshold. The electronic device recognizes that the electronic device enters the second mode, and the second mode includes: the brightness of the display screen of the electronic device is lower than the brightness threshold. The electronic device sends second indication information to the DDIC, and the second indication information is used to instruct the DDIC to output the second type of pulse signal.

7. The method according to any one of claims 1 to 6, characterized in that: In the first pulse signal period, the lighting duration of the pixel points in the first area is controlled by the low level in the first pulse signal.

8. An electronic device, characterized in that: It includes: A processor and a memory; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory, so that the electronic device executes the method described in any one of claims 1-7.

9. The electronic device according to claim 8, characterized in that: The electronic device further includes a DDIC; The DDIC is used to receive the first indication information sent by the electronic device. The first indication information is used to instruct the DDIC to output the first type of pulse signal. The first type of pulse signal includes the first pulse signal to the Nth pulse signal; Alternatively, the DDIC is further used to receive the second indication information sent by the electronic device. The second indication information is used to instruct the DDIC to output the second type of pulse signal. The second type of pulse signal includes the Jth pulse signal to the Lth pulse signal. The duty ratio of any one of the Jth pulse signal to the Kth pulse signal is greater than the duty ratio of any one of the (K + 1)th pulse signal to the Lth pulse signal, and the duty ratios of the (K + 1)th pulse signal to the Lth pulse signal are the same; J, K, and L are all positive integers, and J ≤ K < L.

10. A computer-readable storage medium storing a computer program, characterized in that: The computer program, when executed by the processor, implements the method described in any one of claims 1-7.

11. A computer program product, characterized in that It includes a computer program, and when the computer program is run, it causes the computer to execute the method described in any one of claims 1-7.

Citation Information

Patent Citations

  • Backlight system for display

    CN102411908A

  • Display panel and display driving method therefor, and display device

    CN112449712A

  • Backlight plate driving method and display screen

    CN116129820A

  • Display panel and display device

    CN116189597A

  • Display panel and driving method thereof

    CN116645903A