A display control method and an electronic device

CN123011166APending Publication Date: 2026-10-30HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510561035.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

而在多屏显示的场景下,部分显示模组存在异常时,电子设备对该部分显示模组的操作,可能会对其他显示模组产生不良影响,影响用户体验

Benefits of technology

[0025]可以理解的是,上述本申请提供的第二方面到第五方面提供的方案,可以分别对应到第一方面及其任一种可能的设计,因此能够达到的有益效果类似,此处不再赘述。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123011166A_ABST
    Figure CN123011166A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a display control method and an electronic device, and relate to the technical field of electronic devices. The method can specifically process display modules with abnormalities while avoiding affecting other normal display modules. The method is applied to an electronic device, which includes a first display module and a second display module. The method includes: the electronic device supplies power to the first display module and the second display module respectively, so that the first display module and the second display module respectively display images. In the case that the first display module displays abnormally, a first abnormal event is generated. According to the first abnormal event, power supply restart is performed on the first display module. The power supply of the second display module is uninterrupted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic device technology, and in particular to a display control method and an electronic device. Background Technology

[0002] Currently, some electronic devices are equipped with multiple display modules, which can provide users with multi-screen display functionality.

[0003] In some environments, strong static electricity near electronic devices can cause display abnormalities in the display module.

[0004] Correspondingly, electronic devices can restore the normal display of the display module through certain operations (such as power restart). However, in multi-screen display scenarios, if some display modules are malfunctioning, the operation of the electronic device on those display modules may adversely affect other display modules, impacting the user experience. Summary of the Invention

[0005] This application provides a display control method and an electronic device that can specifically handle abnormal display modules while avoiding affecting other normal display modules.

[0006] To achieve the above technical objectives, this application adopts the following technical solution:

[0007] A first aspect provides a display control method applied to an electronic device, the electronic device including a first display module and a second display module. The method includes: the electronic device supplying power to the first display module and the second display module respectively, so that the first display module and the second display module can respectively display images. In the event of a display malfunction in the first display module, a first malfunction event is generated. Based on the first malfunction event, a power supply restart is performed on the first display module. The power supply to the second display module remains uninterrupted.

[0008] In some possible designs, the first abnormal event includes a first identifier of the first display module. Performing a power-on restart of the first display module based on the first abnormal event includes performing the power-on restart of the first display module based on the first identifier in the first abnormal event.

[0009] In some possible designs, the electronic device generates the first abnormal event via a first thread. This first thread is used for electrostatic discharge (ESD) detection of the first display module. The power-on restart of the first display module based on the first abnormal event includes: performing the power-on restart on the first display module associated with the first thread, according to the first thread.

[0010] In some possible designs, powering off and then powering on the first display module includes: powering off the first display module and then powering it on.

[0011] In some possible designs, the first display module exhibits an abnormality, including: an electrostatic discharge (ESD) detection anomaly in the first display module. Prior to generating this first abnormal event, the method further includes: determining that the first display module has an ESD detection anomaly.

[0012] In some possible designs, determining the ESD detection anomaly of the first display module includes: determining the ESD detection anomaly of the first display module based on the first ESD parameters of the first display module and the first target parameter information corresponding to the first display module.

[0013] In some possible designs, the first ESD parameter includes at least one of the following: electrostatic voltage, electrostatic discharge current, discharge time, charge transfer amount, and resistance value.

[0014] In some possible designs, the first target parameter information includes a first target value, which indicates the value of the first parameter when the first display module is operating normally. This first parameter is included in the first ESD parameter.

[0015] In some possible designs, determining that the first display module has an ESD detection anomaly includes: determining that the first display module has an ESD detection anomaly based on the fact that the value of the first parameter in the first ESD parameter is different from the first target value.

[0016] In some possible designs, before determining that the ESD detection of the first display module is abnormal, the method further includes: obtaining the first ESD parameters of the first display module and the first target parameter information.

[0017] In some possible designs, obtaining the first ESD parameter of the first display module includes: obtaining the first ESD parameter of the first display module according to a preset period.

[0018] In some possible designs, obtaining the first target parameter information includes: obtaining the first target parameter information after the electronic device is powered on.

[0019] In some possible designs, after generating the first abnormal event, the method further includes: generating a first power-on restart command, the first power-on restart command being used to instruct a power-on restart of the first display module. Performing a power-on restart of the first display module includes: sending the first power-on restart command to the first display module. The first display module performs the power-on restart according to the first power-on command.

[0020] In some possible designs, the power supply to the second display module is uninterrupted, including: the power supply to the second display module is uninterrupted when the ESD detection of the second display module is normal.

[0021] In a second aspect, an electronic device is provided, comprising: at least two display modules, a memory, and one or more processors. The at least two display modules, the memory, and the processors are coupled. The memory stores computer program code, including computer instructions, which, when executed by the processor, cause the electronic device to perform display control on either of the at least two display modules using the methods provided in the first aspect and any possible design thereof.

[0022] Thirdly, a chip system is provided for use in an electronic device. The chip system includes one or more interface circuits and one or more processors. The interface circuits and the processors are interconnected via lines. The interface circuits are used to receive signals from the electronic device's memory and send the signals to the processor, the signals including computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device performs the methods provided in the first aspect and any of its possible designs.

[0023] Fourthly, this application also provides a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the technical solutions provided in the first aspect and any possible implementation thereof.

[0024] Fifthly, this application also provides a computer program product that, when run on a computer, causes the computer to execute the technical solutions provided in the first aspect and any possible implementation thereof.

[0025] It is understood that the solutions provided in the second to fifth aspects of this application can be respectively associated with the first aspect and any of its possible designs, and therefore the beneficial effects achieved are similar, which will not be elaborated here. Attached Figure Description

[0026] Figure 1 A schematic diagram of a foldable device provided in an embodiment of this application;

[0027] Figure 2 A schematic diagram illustrating a dual-screen simultaneous display scenario provided in an embodiment of this application;

[0028] Figure 3 A schematic diagram illustrating yet another dual-screen simultaneous display scenario provided in an embodiment of this application;

[0029] Figure 4A schematic diagram illustrating the composition of an electronic device provided in an embodiment of this application;

[0030] Figure 5 A schematic diagram illustrating the composition of yet another electronic device provided in this application embodiment;

[0031] Figure 6 This is a schematic diagram of the composition of a display module provided in an embodiment of this application;

[0032] Figure 7 This is a flowchart illustrating a display control method.

[0033] Figure 8 This is a flowchart illustrating yet another display control method;

[0034] Figure 9 A flowchart illustrating yet another display control method provided in an embodiment of this application;

[0035] Figure 10 A flowchart illustrating yet another display control method provided in an embodiment of this application;

[0036] Figure 11 A schematic diagram illustrating the composition of yet another electronic device provided in this application embodiment;

[0037] Figure 12 This is a schematic diagram of the composition of a chip system provided in an embodiment of this application. Detailed Implementation

[0038] Currently, electronic devices can be configured with two or more displays to provide users with a better display experience.

[0039] For example, an electronic device can have a foldable screen on one side and a non-foldable screen on the other. When the electronic device is in the unfolded state, the foldable screen (also known as the inner screen) faces the user, providing display functionality. When the electronic device is in the closed state, the non-foldable screen (also known as the outer screen) faces the user, providing display functionality.

[0040] As an example, see reference Figure 1 This is a schematic diagram of a foldable device provided in an embodiment of this application.

[0041] In this embodiment of the application, the electronic device equipped with a foldable screen may be referred to as a foldable device.

[0042] In such Figure 1In the example, the foldable screen of a foldable device can include two parts: screen A and screen B. Screen A and screen B are located on opposite sides of the folding edge. When the foldable device is in the closed state, screen A and screen B are interlocked. When the foldable device is in the unfolded state, screen A and screen B are on the same plane. In different implementations, screen A and screen B can be used as a logical division, but are actually implemented as a single foldable screen. Alternatively, screen A and screen B can also be two independent non-foldable screens (e.g., rigid screens). The following explanation uses the example of the inner screen, composed of screens A and B, being implemented as a single foldable screen.

[0043] like Figure 1 As shown, foldable devices can have three display states. For example, as Figure 1 The expansion state shown in (a) is as follows: Figure 1 The closed state (also known as the folded state) shown in (c) and as shown in Figure 1 The half-folded state (also known as the hovering state) shown in (b) is between the two states.

[0044] In the unfolded state, the inner screen angle (the angle between screen A and screen B) is 180 degrees. In the closed state, the inner screen angle is 0 degrees, screens A and B are interlocked, and the outer screen (e.g., screen C) is located on the outer surface of the foldable device. An inner screen angle between 0 and 180 degrees corresponds to the semi-folded state.

[0045] It should be pointed out that, Figure 1 This example only shows a foldable device with an inner screen angle between 0 and 180 degrees. In some other implementations, the foldable device can also support folding angles greater than 180 degrees. In this case, screens A and B can serve as the outer surfaces of the foldable device, providing display functionality to the user.

[0046] Based on such Figure 1 In the example, screens A and B together form the inner screen, and screen C forms the outer screen.

[0047] The above Figure 1 The examples provided include a single-fold foldable device. A single-fold device has one folding axis and is capable of folding once. Foldable devices can also include multi-fold devices. A multi-fold device can have two or more folding axes, each capable of providing a single fold. The display configuration for multi-fold devices can be found in [reference needed]. Figure 1 The examples in the text are expanded upon, and will not be repeated here.

[0048] In some scenarios, the inner and outer screens can be displayed simultaneously, i.e., dual-screen display.

[0049] refer to Figure 2 This is a schematic diagram of a dual-screen simultaneous display scenario provided in an embodiment of this application.

[0050] Should Figure 2 In the dual-screen simultaneous display scenario example 1 shown, the electronic device is in the unfolded state, providing the user with a shooting function as an example.

[0051] When the electronic device is in the unfolded state, after the user clicks the camera application, such as Figure 2 As shown, the electronic device can display an inner screen display interface 21 by combining the A screen display area and the B screen display area. This inner screen display interface 21 can show preview images to the user.

[0052] In addition, the electronic device can also display an external screen display interface 22 on the C-screen display area. The display elements of the external screen display interface 22 may include the preview image displayed on the internal screen, so that other users on the external screen side can see the current preview image through the C-screen.

[0053] refer to Figure 3 This is a schematic diagram of another dual-screen display scenario provided in the embodiments of this application.

[0054] Should Figure 3 In the dual-screen simultaneous display scenario example 2 shown, the example is that the electronic device is in the unfolded state and is automatically (e.g., the electronic device automatically restarts when updating the system) or actively (e.g., the user clicks the restart control when the electronic device is running, or the user presses and holds the power button when the electronic device is powered off).

[0055] When the electronic device is in its unfolded state and powered on, such as Figure 3 As shown, the electronic device can display an inner screen display interface 23 by combining the A screen display area and the B screen display area. This inner screen display interface 23 can display a welcome screen to the user during the power-on process.

[0056] In addition, the electronic device can also display an external screen display interface 24 on the C-screen display area. The display elements of the external screen display interface 24 may include the welcome screen displayed on the internal screen.

[0057] The above Figure 2 and Figure 3 Two specific examples of dual-screen simultaneous display are provided. In other scenarios, electronic devices can also provide display functionality to the user simultaneously through an inner screen and an outer screen while running other applications or providing other functions. The display elements on the inner and outer screens can also be partially or completely different.

[0058] For example, when an electronic device is running translation software, it can display the translation result for language A to user A on the inner screen and the translation result for language B to user B on the outer screen. This achieves an effect close to simultaneous interpretation.

[0059] In other scenarios, only one of the inner and outer screens may provide display functionality to the user. Correspondingly, the other screen may display an always-on display, a black screen, or nothing at all.

[0060] Electronic devices can support the display of at least one of the two or more displays through configured components.

[0061] refer to Figure 4 This is a schematic diagram of the composition of an electronic device provided in an embodiment of this application.

[0062] like Figure 4 As shown, the electronic device may be configured with an application processor (AP) and two or more display modules.

[0063] In this application, each display module may include a display driver integrated circuit (DDIC) and a display screen. The DDIC can be used to control the display screen to display images. The DDIC can also control the power supply to the display screen, such as power-on, power-off, and power-on restart (e.g., power-off followed by power-on).

[0064] The access point (AP) is communicatively connected to each of the two or more display modules. Thus, the AP can control the display modules to power on and display corresponding content via control signals; alternatively, the AP can control the display modules to power off and turn off the screen via control signals. In some embodiments, the control signals may include a power-on restart command.

[0065] How Figure 4 The hardware components shown can work together with the software in electronic devices to control each display screen.

[0066] The specific implementation of the electronic device in this application embodiment can be diverse. For example, the electronic device may include at least one of the following: mobile phone, foldable electronic device, tablet computer, desktop computer, laptop computer, handheld computer, laptop, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (AI) device, wearable device, in-vehicle device, smart home device, or smart city device. This application embodiment does not impose any special limitation on the specific type of the electronic device.

[0067] In some implementations of this application, the software system of the electronic device may adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application uses the layered architecture Android system as an example to exemplify the software structure of the electronic device.

[0068] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom: the application layer, the application framework layer, the Android runtime (ART) and native C / C++ libraries, the Hardware Abstraction Layer (HAL), and the kernel layer.

[0069] As an example, see reference Figure 5 This is a schematic diagram illustrating the composition of another electronic device provided in an embodiment of this application.

[0070] like Figure 5 As shown, the AP of an electronic device can be configured with a HAL and a kernel layer. In some embodiments, Android...

[0071] The system's application layer, application framework layer, Android runtime, and native C / C++ libraries are also configured in AP.

[0072] HAL can run in user space, encapsulate kernel-level drivers, and provide calling interfaces to the upper layers.

[0073] For example, the hardware abstraction layer may include a display HAL module, an audio HAL module, a camera HAL module, a Bluetooth HAL module, etc. The hardware abstraction layer can also be called an abstraction layer.

[0074] In this embodiment of the application, the HAL may also include a hardware composer (HWC). The system can utilize hardware resources more efficiently through HWC.

[0075] In some implementations, HWC can composite different graphics layers together and then hand them over to the display module for display. HWC can utilize hardware acceleration to improve the efficiency of graphics compositing, reduce the processor load, and thus improve overall graphics performance and display quality.

[0076] In some implementations, HWC can also participate in the power-on / off logic of the management decision display module.

[0077] For example, such as Figure 5 As shown, HWC can be configured with a decision module and an execution module.

[0078] The decision module can determine that one or more display modules are malfunctioning based on events generated by the electronic device. Correspondingly, the decision module can generate a power-on restart command, which can be used to trigger a power-off and power-on cycle for the display modules. This power-on restart allows the display modules to recover from the malfunction and resume normal display operation.

[0079] As an example, events generated by electronic devices may include uevents.

[0080] In the Android system, uevent is an event notification mechanism issued by the kernel, used to send relevant event information to user-space processes when the system hardware state changes.

[0081] For example, an electronic device may generate this uevent if an electrostatic discharge (ESD) detection abnormality occurs during the display process of the display module.

[0082] Understandably, in the event of an ESD detection anomaly, static electricity in the current environment will significantly affect the normal display of the display module.

[0083] ESD detection anomalies may include: abnormal charge accumulation and / or abnormal signal timing, etc.

[0084] For example, if abnormal charge accumulation occurs in some or all areas of the display module due to static electricity buildup, the display module may fail to display properly (e.g., display distortion). In this case, the electronic device can generate a uevent based on the ESD detection anomaly.

[0085] For example, if an electrostatic discharge (ESD) environment causes abnormalities in the timing of signals required for the display module to work, the display module may fail to display properly. In such cases, electronic devices can generate a uevent based on ESD detection anomalies.

[0086] The execution module in HWC can be used to execute power-on restart commands.

[0087] For example, the execution module can cooperate with relevant components in the kernel layer of the electronic device to power and restart the display module.

[0088] In this application, the kernel layer is the layer between the hardware and the software. The kernel layer includes at least the display driver, camera driver, audio driver, Bluetooth driver, etc.

[0089] exist Figure 5 In the example, the display driver in the kernel layer can detect and control one or more display modules through the configuration of multiple modules.

[0090] In this application, taking an electronic device with two display modules as an example, the two display modules are referred to as display module 1 and display module 2, respectively.

[0091] For example, the two display modules can correspond to the relevant components of the inner screen and outer screen in the aforementioned example, respectively.

[0092] like Figure 5 As shown, the display driver can be configured with processing module 1, structure 1, processing module 2, structure 2, and display serial interface (DSI) module.

[0093] Among them, the processing module 1 and the structure 1 correspond to the display module 1.

[0094] The processing module 1 and the structure 1 can be used to detect and judge the display module 1.

[0095] For example, the processing module 1 can trigger the reading of the ESD parameters of the display screen 1 according to a certain period or according to the instructions generated by the electronic device.

[0096] In this application, ESD parameters may include at least one of the following: electrostatic voltage, electrostatic discharge current, discharge time, charge transfer amount, and resistance value.

[0097] Among them, electrostatic voltage is the most basic data in ESD detection, and its unit is volt (V). It reflects the amount of electrostatic charge accumulated on the surface of the display screen or in the environment.

[0098] Electrostatic discharge current, measured in amperes (A), describes the instantaneous current intensity released during electrostatic discharge. The magnitude of the electrostatic discharge current directly affects the degree of damage to the display screen. Generally speaking, the larger the electrostatic discharge current, the higher the likelihood of damage to the display screen.

[0099] Discharge time, measured in seconds (s), refers to the time it takes for static electricity to accumulate and be completely released. A shorter discharge time may mean higher discharge energy, which can be more damaging to the display screen.

[0100] Charge transfer, measured in coulombs (C), represents the amount of charge transferred during electrostatic discharge. Charge transfer is related to factors such as electrostatic voltage and discharge current, and is one of the important parameters for assessing the impact of electrostatic discharge on objects.

[0101] Resistance, measured in ohms (Ω), is primarily used to test the static electricity dissipation performance of an object. For example, by measuring the resistance of antistatic flooring, work clothes, etc., it can be determined whether they can effectively conduct static electricity and prevent its accumulation.

[0102] Structure 1 stores the target parameter information of the display screen 1 of the display module 1. The target parameter information indicates the normal values ​​of each ESD parameter. This target parameter information can be used as the threshold for ESD detection of the display module 1. Based on the target parameter information, the reading module 1 can combine the read ESD parameters to determine whether there is an ESD detection anomaly in the display module 1. Consequently, if an ESD detection anomaly exists, the reading module 1 generates an exception event (e.g., uevent).

[0103] Processing module 2 and structure 2 correspond to display module 2.

[0104] The specific functions of processing module 2 and structure 2 can be found in the description of processing module 1 and structure 1 above, and will not be repeated here.

[0105] Furthermore, the DSI module in the kernel layer is a high-speed serial interface that serves as a scalable channel between the display module and the processor (such as the AP), providing data transmission capabilities based on the corresponding interface communication protocol. It supports one clock channel and 1 to 4 data channels. The DSI module enables control and communication between the AP and the display module based on MIPI (Mobile Industry Processor Interface) signals.

[0106] For example, in conjunction with the above description of the decision module and the execution module, in some embodiments, when the execution module receives a power-on restart command, it can send a power-on restart command to the display module through the DSI module.

[0107] The power restart command sent to the display module via the DSI module can be a MIPI protocol command. In some embodiments, the power restart command may include: power restart command A and power restart command B.

[0108] Among them, the power restart command A is used to instruct the DDIC of the display module to restart the power supply.

[0109] The power restart command B is used to instruct the DDIC to control the power supply to the display screen, so that the DDIC can control the display screen to restart.

[0110] exist Figure 5 The examples also provide examples of display module 1 and display module 2.

[0111] Taking display module 1 as an example, display module 1 may include DDIC 1 and display screen 1.

[0112] DDIC 1 is used to control the various functions of display module 1. Display screen 1 is used to display images under the control of DDIC 1.

[0113] Based on the foregoing description, ESD testing of display module 1 can include: DDIC1 of display module 1 performing ESD testing on display screen 1. Correspondingly, the ESD parameters of display module 1 can include the ESD parameters obtained after ESD testing of display screen 1. Therefore, the ESD parameters of display module 1 are also the ESD parameters of display screen 1.

[0114] refer to Figure 6 This is a schematic diagram of the composition of a display module provided in an embodiment of this application.

[0115] The DDIC can be configured with control units and registers 1-n, where n is a positive integer.

[0116] The control unit can be used to control the display screen. It can also be used to perform ESD detection on the display screen and acquire ESD parameters. These ESD parameters can be stored in different registers. For example, taking ESD parameters including electrostatic voltage and electrostatic discharge current, the control unit can store the electrostatic voltage acquired after ESD detection in register 1; and the control unit can store the electrostatic discharge current acquired after ESD detection in register 2.

[0117] In this example, DDIC 1 can be used to perform ESD detection on display screen 1, and the acquired ESD parameter 1 is stored in various registers within DDIC 1. This ESD parameter 1 can correspond to display screen 1. Based on the above example, this ESD parameter 1 can include one or more ESD parameters, such as at least one of electrostatic voltage, electrostatic discharge current, discharge time, charge transfer amount, and resistance value.

[0118] Some registers in this DDIC can also be used to store target parameter information for the corresponding display screen.

[0119] Based on the above description of the processing module and structure, the processing module 1 can read the corresponding ESD parameter 1 of the display screen 1 from the corresponding register of DDIC 1 when it is necessary to read the ESD parameter of the display screen 1.

[0120] The above description uses display module 1 as an example to explain the function of each component. The functions of each component in display module 2 are similar to those in display module 1.

[0121] For example, DDIC 2 can perform ESD detection on display screen 2 and store the acquired ESD parameters 2 in various registers within DDIC 2. Processing module 2 can obtain the target parameter information of display screen 2 from the corresponding registers of DDIC 2 and store it in structure 2; processing module 2 can also read the ESD parameters 2 of display screen 2 from other registers.

[0122] Understandably, when a DDIC includes multiple registers, different registers can correspond to different addresses or IDs to facilitate differentiation. For example, register addresses can include: 0a, 91, 03, 0d, etc. Therefore, taking ESD parameter 1 of display screen 1 as an example: One ESD parameter of display screen 1 (such as electrostatic voltage) can be stored in register 1 at register address 0a. Another ESD parameter of display screen 1 (such as electrostatic discharge current) can be stored in register 1 at register address 91. Correspondingly, processing module 1 can obtain the electrostatic voltage of display screen 1 from the corresponding register 1 based on register address 0a. Processing module 2 can obtain the electrostatic discharge current of display screen 1 from the corresponding register 2 based on register address 91.

[0123] It should be noted that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0124] In the following description, the solutions provided in the embodiments of this application are applied to, for example, Figure 5 Take the electronic device shown as an example.

[0125] Based on this Figure 5 The electronic device shown can, in the event of an ESD fault, allow the HWC to control the power supply to one or more display modules via modules in the HAL to restart. This power restart resets the display module's state, attempting to eliminate the fault.

[0126] Take the case of display module 1 having an anomaly as an example.

[0127] refer to Figure 7 This is a flowchart illustrating a display control method.

[0128] like Figure 7 As shown, the solution may include:

[0129] S701 and DDIC 1 send target parameter information 1 of display screen 1 to structure 1.

[0130] S702, Structure 1 stores target parameter information 1.

[0131] For example, after the electronic device is powered on, the DDIC of each display module can synchronize the target parameter information of the corresponding display module to the corresponding structure. For example, the electronic device can execute S701-S702 on the first power-on after leaving the factory, and on each subsequent restart.

[0132] Taking display module 1 as an example, DDIC 1 can synchronize the target parameter information 1 corresponding to the display screen 1 to the structure 1 after the electronic device is powered on.

[0133] In some implementations, the execution of S701 can specifically involve the processing module 1 reading the target parameter information 1 from multiple registers of DDIC 1. For example, the processing module 1 can obtain the target parameter information 1 corresponding to the display screen 1 from multiple registers of DDIC 1 according to a pre-configured register address. The processing module 1 can also write the target parameter information 1 into structure 1.

[0134] Based on the foregoing description, target parameter information 1 may include thresholds (normal values) corresponding to one or more ESD parameters. For example, target parameter information 1 may include at least one of the following: electrostatic voltage of display screen 1, electrostatic discharge current, discharge time, charge transfer amount, and resistance value.

[0135] Figure 7S701 and S702 are taken as examples of display module 1. Display module 2 is similar to display module 1. After the electronic device is powered on, DDIC 2 can synchronize the target parameter information 2 corresponding to display screen 2 to the display driver structure 2.

[0136] This target parameter information can be used to determine ESD detection.

[0137] How Figure 7 The example uses a display driver configured to perform periodic ESD checks according to an ESD detection cycle. In some implementations, this ESD detection cycle can be less than 10 seconds. For example, the ESD detection cycle can be 5 seconds.

[0138] S703, Processing module 1 reads target parameter information 1 from structure 1.

[0139] S704, Processing module 1 reads ESD parameter 1 from DDIC 1.

[0140] In some embodiments, the processing module 1 may execute S703-S704 when the ESD detection cycle arrives.

[0141] The target parameter information 1 can be the ESD parameters of the display screen 1 under normal conditions, obtained and stored by structure 1 from DDIC 1 after the electronic device is powered on.

[0142] DDIC 1 can acquire and update the ESD parameters of display screen 1 according to a certain period. For example, DDIC 1 can perform ESD detection on display screen 1 every time a tearing effect (TE) signal is generated, thereby acquiring and updating the ESD parameters of the display screen.

[0143] It is understandable that the TE signal is a signal periodically generated by the DDIC. Whenever a TE signal is generated, the DDIC can process the display result at the head of the queue from one or more display results that have entered the display queue, and then control the display screen to display according to that display result.

[0144] In other words, DDIC 1 can update the ESD parameter 1 of display screen 1 each time an image is sent for display. The updated ESD parameter 1 can be stored in the corresponding register of DDIC 1.

[0145] In this way, the ESD parameter 1 stored in the register corresponding to DDIC 1 can accurately represent the current state of display screen 1, such as whether there is an ESD abnormality. If an ESD abnormality exists, the ESD parameter 1 will deviate from the normal value.

[0146] S705, Processing module 1 determines whether an ESD exception exists.

[0147] If yes, then execute S706; otherwise, wait for the next ESD detection cycle to arrive and execute S703 again.

[0148] For example, an ESD anomaly is also known as an ESD detection anomaly. In this case, display screen 1 cannot display normally.

[0149] In this example, processing module 1 can compare ESD parameter 1 with the corresponding normal value in target parameter information 1. If all parameters are the same as the corresponding normal value, there is no ESD anomaly; if at least one parameter is different from the corresponding normal value, there is an ESD anomaly.

[0150] S706, Processing module 1 generates exception event 71.

[0151] For example, the exception event 71 can be used to indicate that there is an ESD exception in the display of the display module.

[0152] In some embodiments, the exception event 71 may include uevent.

[0153] S707, Processing module 1 sends exception event 71 to decision module.

[0154] S708, the decision module generates a power supply restart command 72 and sends the power supply restart command 72 to the execution module.

[0155] The power restart command 72 can be used to instruct the display module to be powered on and restarted.

[0156] In this embodiment, power restart may include sequentially performing power-down and power-on operations. The power-down operation may include instructing the DDIC to power down the display screen, and powering down the DDIC itself. The power-on operation may include powering on the DDIC, and instructing the DDIC to power on the display screen.

[0157] S709, The execution module sends a power restart command 72 to the DSI module.

[0158] The S710 and DSI modules send a power-on restart command 72 to DDIC 1.

[0159] In this way, the execution module can send the power restart command 72 to DDIC 1 through the DSI module.

[0160] In some embodiments, the power restart command sent by the execution module to DDIC 1 may be the same as the power restart command generated by the decision module.

[0161] In other embodiments, the power restart command sent by the execution module to DDIC 1 may be generated by the execution module based on the power restart command generated by the decision module.

[0162] Therefore, DDIC 1 can perform a power restart of display module 1 according to the received power restart command 72.

[0163] In this way, by powering off display module 1, all ESD parameters of display screen 1 can be reset. After powering off, the ESD parameters of display screen 1 can match the normal values ​​in the target parameter information. Thus, display screen 1 can be restored to normal operation.

[0164] In this example, the execution module can also send a power-on restart command 72 to other display modules via the DSI module.

[0165] S711, The execution module sends a power-on restart command 72 to DDIC 2 through the DSI module.

[0166] Understandably, in this example, exception event 71 can be used to indicate the presence of an ESD exception in the display module. Correspondingly, the decision module and the execution module do not distinguish between display modules with exceptions and those without.

[0167] In this way, the execution module can send the power-on restart command 72 to the DDIC of all display modules after receiving the power-on restart command 72. This ensures that display modules with ESD faults can be powered on and restarted.

[0168] This could potentially affect display modules that do not have ESD issues.

[0169] For example, refer to Figure 8 This is a flowchart illustrating another display control method.

[0170] Taking the example that the display screen 2 of display module 2 does not have an ESD abnormality.

[0171] like Figure 8 As shown, the solution may include:

[0172] S801 and DDIC 2 send target parameter information 2 of display screen 2 to structure 2.

[0173] S802, Structure 2 stores target parameter information 2.

[0174] S803, Processing module 2 reads target parameter information 2 from structure 2.

[0175] S804, Processing module 2 reads ESD parameter 2 from DDIC 2.

[0176] For example, the execution of S801-S804 can be referred to Figure 7 S701-S704 are listed here. They will not be elaborated upon further.

[0177] Through the above S801-S804, the processing module 2 can determine whether there is an ESD abnormality in the display module 2 through S805.

[0178] S805, Processing module 2 determines whether an ESD exception exists.

[0179] In this example, we take the case where display screen 2 does not have an ESD exception.

[0180] For example, the processing module 2 can compare the ESD parameter 2 with the corresponding normal value in the target parameter information 2, and determine that the ESD detection of the display module 2 is normal based on the fact that all parameters are the same as the corresponding normal value.

[0181] In this way, processing module 2 can wait for the next ESD detection cycle to arrive and execute S803-S805 again.

[0182] Since processing module 2 determines that display screen 2 does not have an ESD exception, it will not execute the following steps: Figure 7 S706-S707, i.e., processing module 2 will not generate abnormal events for reporting.

[0183] However, combined Figure 7 As explained in the description, if an ESD fault occurs on display 1, processing module 1 can send an exception event 71 to the decision module via S707. Since the decision module and execution module do not know which display module has an ESD fault, when any display module has an ESD fault, the execution module will send a power restart command 72 to all display modules.

[0184] like Figure 7 As shown in S711, the execution module sends a power-on restart command 72 to DDIC2.

[0185] This step S711 and Figure 8 This corresponds to S806 in [the context]. Thus, as shown... Figure 8 As shown in S806: DDIC 2 can receive a power-on restart command 72 from the execution module.

[0186] Therefore, DDIC 2 will perform a power restart on display module 2 according to power restart command 72.

[0187] Thus, if one display module experiences an ESD fault, it can cause other display modules to restart abnormally.

[0188] Combination Figure 2 Example 1 of a dual-screen simultaneous display scenario. In a photography scenario, if the outer screen experiences ESD abnormalities, the electronic device can, according to... Figure 7 The solution shown performs a power restart on the external screen to resolve the ESD anomaly. Simultaneously, the electronic device also performs a power restart on the internal screen. This way, the user will visually experience a sudden, momentary blackout of the internal screen while it is functioning normally.

[0189] Combination Figure 3 Example 2 of a dual-screen simultaneous display scenario. In the power-on scenario, if the external screen experiences an ESD abnormality, the electronic device can, according to... Figure 7 The solution shown performs a power restart on the external screen to resolve the ESD anomaly. Simultaneously, the electronic device also performs a power restart on the internal screen. This way, the user will visually see the internal screen suddenly go black while displaying the welcome screen normally.

[0190] Similar situations can occur in other dual-screen display scenarios.

[0191] It is understandable that a momentary blackout during normal display would result in a poor user experience.

[0192] To address this, this application also provides a display control method that ensures that when a display screen in one of the display modules of an electronic device experiences an ESD fault and undergoes a power restart, other normally functioning display modules are not affected. This improves the user experience in various display scenarios, including dual-screen simultaneous display.

[0193] For example, refer to Figure 9 This is a flowchart illustrating another display control method provided in an embodiment of this application.

[0194] Take the case of ESD anomaly on display screen 1 as an example.

[0195] like Figure 9 As shown, the solution may include:

[0196] S901 and DDIC 1 send target parameter information 1 of display screen 1 to structure 1.

[0197] S902, Structure 1 stores target parameter information 1.

[0198] S903, Processing module 1 reads target parameter information 1 from structure 1.

[0199] S904, Processing module 1 reads ESD parameter 1 from DDIC 1.

[0200] S905, Processing module 1 determines whether an ESD exception exists.

[0201] For example, the execution of S901-S905 can be referred to Figure 7 The S701-S705 are listed here. They will not be elaborated upon further.

[0202] Therefore, processing module 1 can determine whether display module 1 has an ESD anomaly by comparing ESD parameter 1 and target parameter information 1.

[0203] If there is an ESD fault on display 1, then execute S906; if there is no ESD fault on display 1, then wait for the next ESD detection cycle to arrive and execute S903-S905 again.

[0204] S906, Processing module 1 generates exception event 91.

[0205] In this example, processing module 1 can generate an exception event 91 corresponding to display module 1 when there is an ESD exception on display screen 1.

[0206] Unlike Figure 7 Exception 71 in the example, and exception 91 in this example, can indicate that there is an ESD exception on display 1.

[0207] In some embodiments, the abnormal event 91 may include information about the display module 1. For example, the information about the display module 1 may include at least one of the following: the hardware ID of the display module 1, the identifier of DDIC 1, the screen ID of the display screen 1, etc.

[0208] Thus, exception event 91 can directly indicate that the display module experiencing an ESD exception is display module 1. Correspondingly, this allows HWC in HAL to perform different operations for different display modules.

[0209] S907, Processing module 1 sends abnormal event 91 to decision module.

[0210] S908, the decision module generates a power supply restart command 92 and sends the power supply restart command 92 to the execution module.

[0211] As described in S906, the decision module can determine that there is an ESD anomaly on display screen 1 based on abnormal event 91.

[0212] In some other embodiments, the abnormal event 91 may not carry information about the display module 1. Instead, the decision module determines the display module corresponding to the abnormal event based on the processing module that generated the abnormal event.

[0213] Combination Figure 5As explained, different display modules can correspond to different processing modules. In the specific implementation, these different processing modules can be executed by different threads. Thus, different processing modules can have different thread IDs. For example, the thread ID of processing module 1 is thread 1; and the thread ID of processing module 2 is thread 2.

[0214] The decision module can determine the correspondence between the transmission exception event 91 and the display module based on the thread ID of the processing module of the transmission exception event 91.

[0215] For example, the decision module can obtain the abnormal event 91 from the processing module 1 corresponding to thread 1. In this way, the decision module can determine the association between the abnormal event 91 and the display module 1 based on the pre-set correspondence between processing module 1 and display module 1 in the electronic device, or the pre-set correspondence between thread 1 and display module 1 in the electronic device.

[0216] Therefore, the decision module can determine that there is an ESD anomaly on display screen 1.

[0217] Correspondingly, the decision module can generate a power-on restart command 92. This power-on restart command 92 is associated with display module 1. That is, the power-on restart command 92 is only used to restart the power supply to display module 1. For other display modules, HWC may not send the power-on restart command 92, or the power-on restart command 92 may not take effect for other display modules.

[0218] In the following example, HWC does not send a power-on restart command 92 to other display modules different from display module 1.

[0219] S909, The execution module sends a power restart command 92 to the DSI module.

[0220] The S910 and DSI modules send a power-on restart command 92 to DDIC 1.

[0221] In this way, HWC can send the power restart command 92 corresponding to display module 1 to DDIC 1 corresponding to display module 1 through the DSI module. This allows DDIC 1 to control display module 1 to restart its power supply according to the power restart command 92.

[0222] In this example, since exception event 91 is associated with display module 1, HWC will not send a power-on restart command to other display modules, including display module 2, based on exception event 91.

[0223] refer to Figure 10 This is a flowchart illustrating another display control method provided in an embodiment of this application.

[0224] Taking the case where display screen 2 does not have an ESD anomaly as an example.

[0225] like Figure 10 As shown, the solution may include:

[0226] S1001 and DDIC 2 send target parameter information 2 of display screen 2 to structure 2.

[0227] S1002, Structure 2 stores target parameter information 2.

[0228] S1003, Processing module 2 reads target parameter information 2 from structure 2.

[0229] S1004, Processing module 2 reads ESD parameter 2 from DDIC 2.

[0230] S1005. Processing module 2 determines whether an ESD exception exists.

[0231] For example, the execution process of S1001-S1005 can be referred to Figure 8 S801-S805 are listed here. They will not be elaborated upon further.

[0232] Thus, if there is no ESD abnormality on display screen 2, processing module 2 determines that there is no ESD abnormality. Therefore, processing module 2 can wait for the next ESD detection cycle to arrive and execute S1003-S1005 again.

[0233] contrast Figure 8 The example in, due to Figure 9 The provided logic associates abnormal events with the corresponding display modules, so display module 2 will not receive a power-on restart command in the absence of an ESD abnormality.

[0234] Thus, combined Figure 9 and Figure 10 The solution allows HWC to selectively power and restart the display modules with ESD abnormalities when some display modules in an electronic device have ESD abnormalities, without affecting the normal display of other display modules.

[0235] Understandable, Figure 10 In the example, we assume that display module 2 does not have an ESD exception. In other cases, when processing module 2 determines that display module 2 also has an ESD exception, we can refer to... Figure 7 The proposed solution reports abnormal events associated with display module 2 to HWC, so that HWC can power on and restart display module 2.

[0236] The above solutions are all illustrated using an electronic device with two display modules as an example. It should be understood that this solution can also be extended to electronic devices with more display modules, allowing for targeted power supply restarts of display modules experiencing ESD faults without affecting the normal operation of other display modules.

[0237] It is understood that the electronic device provided in this application embodiment includes hardware structures and / or software modules corresponding to perform each function in order to achieve the above-mentioned functions. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.

[0238] This application embodiment can divide the above-described electronic device into functional modules based on the method example described above. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0239] The foregoing mainly describes the solutions provided by the embodiments of this application from the perspective of various functional modules. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0240] The integrated modules described above can be implemented in hardware or as software functional modules. It should be noted that the module division in this embodiment is illustrative and represents only one logical functional division; in actual implementation, other division methods may be used.

[0241] For example, Figure 11 A schematic diagram of the composition of an electronic device 1100 is shown. (As shown) Figure 11As shown, the electronic device 1100 may include a processor 1101 and a memory 1102. The memory 1102 is used to store computer execution instructions. Exemplarily, in some embodiments, when the processor 1101 executes the instructions stored in the memory 1102, the electronic device 1100 may perform any of the methods shown in the above embodiments.

[0242] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0243] Figure 12 A schematic diagram of a chip system 1200 is shown. The chip system 1200 may include a processor 1201 and a communication interface 1202, used to support related devices in implementing the functions involved in the above embodiments. In one possible design, the chip system also includes a memory for storing necessary program instructions and data of the electronic device. This chip system may be composed of chips or may include chips and other discrete devices. It should be noted that in some implementations of this application, the communication interface 1202 may also be referred to as an interface circuit.

[0244] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0245] This application also provides a computer-readable storage medium storing a computer program thereon. When executed by a computer, the computer program implements the method flow related to the electronic device in any of the above method embodiments. Specifically, the computer can be the aforementioned electronic device.

[0246] This application also provides a computer program or a computer program product including a computer program, which, when executed on a computer, causes the computer to implement the method flow related to the electronic device in any of the above method embodiments. Specifically, the computer can be the aforementioned electronic device.

[0247] The functions, actions, operations, or steps in the above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. When implemented using software programs, they can be implemented, in whole or in part, in the form of a computer program product. This computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or include one or more data storage devices such as servers and data centers that can be integrated with the medium. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks, SSDs), etc.

[0248] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the scope of this application. Accordingly, this specification and drawings are merely exemplary illustrations of the application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the scope of this application. Thus, if such modifications and modifications of this application fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and modifications.

Claims

1. A display control method, characterized in that, The method is applied to an electronic device, the electronic device including a first display module and a second display module; the method includes: The electronic device supplies power to the first display module and the second display module respectively, so that the first display module and the second display module can display images respectively; In the event of a display malfunction in the first display module, a first exception event is generated; Based on the first abnormal event, the power supply to the first display module is restarted; The power supply to the second display module is uninterrupted.

2. The method according to claim 1, characterized in that, The first abnormal event includes the first identifier of the first display module; The step of restarting the power supply to the first display module based on the first abnormal event includes: Based on the first identifier in the first abnormal event, the power supply to the first display module is restarted.

3. The method according to claim 1, characterized in that, The electronic device generates the first abnormal event through a first thread; the first thread is used to perform electrostatic discharge (ESD) detection on the first display module. The step of restarting the power supply to the first display module based on the first abnormal event includes: According to the first thread, the power supply restart is performed on the first display module associated with the first thread.

4. The method according to any one of claims 1-3, characterized in that, Restarting the first display module by powering it includes: Power on the first display module after powering it off.

5. The method according to any one of claims 1-4, characterized in that, The first display module displays abnormalities, including: The electrostatic discharge (ESD) detection of the first display module is abnormal. Before generating the first abnormal event, the method further includes: It was determined that the ESD detection of the first display module was abnormal.

6. The method according to claim 5, characterized in that, The determination of an ESD detection anomaly in the first display module includes: Based on the first ESD parameter of the first display module and the first target parameter information corresponding to the first display module, it is determined that the ESD detection of the first display module is abnormal.

7. The method according to claim 6, characterized in that, The first ESD parameter includes at least one of the following: Electrostatic voltage, electrostatic discharge current, discharge time, charge transfer amount, and resistance value.

8. The method according to claim 6 or 7, characterized in that, The first target parameter information includes a first target value, which indicates the value of the first parameter when the first display module is working normally; the first parameter is included in the first ESD parameter.

9. The method according to claim 8, characterized in that, The determination of an ESD detection anomaly in the first display module includes: Based on the fact that the value of the first parameter in the first ESD parameter is different from the first target value, it is determined that the ESD detection of the first display module is abnormal.

10. The method according to any one of claims 6-9, characterized in that, Before determining that the ESD detection of the first display module is abnormal, the method further includes: Obtain the first ESD parameter of the first display module and the first target parameter information.

11. The method according to claim 10, characterized in that, The step of obtaining the first ESD parameter of the first display module includes: According to a preset period, the first ESD parameter of the first display module is obtained.

12. The method according to claim 10 or 11, characterized in that, The step of obtaining the first target parameter information includes: After the electronic device is powered on, the first target parameter information is acquired.

13. The method according to any one of claims 1-12, characterized in that, After generating the first abnormal event, the method further includes: A first power-on restart command is generated, which is used to instruct the first display module to restart the power supply. The step of powering the first display module to restart includes: Send the first power supply restart command to the first display module; The first display module restarts its power supply according to the first power supply command.

14. The method according to any one of claims 1-13, characterized in that, The second display module is powered without interruption, including: Under normal ESD detection conditions, the power supply to the second display module remains uninterrupted.

15. An electronic device, characterized in that, The electronic device includes: at least two display modules, a memory, and one or more processors; the at least two display modules, the memory, and the processors are coupled together. The memory is used to store computer program code, which includes computer instructions. When the processor executes the computer instructions, it causes the electronic device to perform the method as described in any one of claims 1-14 to control the display of any one of the at least two display modules.

16. A chip system, characterized in that, The chip system is applied to an electronic device; the chip system includes one or more interface circuits and one or more processors; the interface circuits and the processors are interconnected via lines; the interface circuits are used to receive signals from the memory of the electronic device and send the signals to the processors, the signals including computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device performs the method as described in any one of claims 1-14.

17. A computer-readable storage medium, characterized in that, Includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-14.