EP-4738083-A1 - DISPLAY METHOD AND ELECTRONIC DEVICE
Abstract
A display method and an electronic device are provided. The electronic device includes a power-on detection unit (205), a main chip (202), a first control unit, a display power supply (207), a display driver chip (208), and a display panel (210). The first control unit is configured to perform initialization when receiving a first signal sent by the power-on detection unit (205) (S301), where the first signal indicates the electronic device to power on. The main chip (202) is configured to perform initialization when receiving a second signal sent by the power-on detection unit (205) or the first control unit (S302). The first control unit is configured to send a third signal to the display power supply (207) when the initialization is completed (S303). The first control unit is configured to send a fourth signal to the display driver chip (208) when the initialization is completed (S304), where the fourth signal is used to trigger the display panel (210) to display a first icon. In this application, a delay in displaying an icon after power-on can be reduced, waiting time and anxiety of a user can be reduced, and a power-on status of an electronic device can be indicated to the user in a timely manner, thereby preventing the user from performing another power-on operation redundantly, and improving user experience.
Inventors
- WANG, JINFENG
- CHENG, Lv
- WU, KEMING
Assignees
- Huawei Technologies Co., Ltd.
Dates
- Publication Date
- 20260506
- Application Date
- 20241227
Claims (20)
- An electronic device, comprising a power-on detection unit, a main chip, a first control unit, and a display module, wherein the display module comprises a display power supply, a display driver chip, and a display panel, wherein the first control unit is configured to perform initialization when receiving a first signal sent by the power-on detection unit, wherein the first signal indicates the electronic device to power on; the main chip is configured to perform initialization when receiving a second signal sent by the power-on detection unit or the first control unit; the first control unit is configured to send a third signal to the display power supply when the initialization is completed, wherein the third signal is used to enable the display power supply; and the first control unit is configured to send a fourth signal to the display driver chip when the initialization is completed, wherein the fourth signal is used to trigger the display panel to display a first icon, and the first icon is an icon stored in the display module.
- The electronic device according to claim 1, wherein first duration for the initialization of the first control unit is less than second duration for the initialization of the main chip.
- The electronic device according to claim 1 or 2, wherein the first control unit is configured to send the second signal to the main chip when receiving the first signal sent by the power-on detection unit; and the main chip is configured to perform the initialization when receiving the second signal sent by the first control unit.
- The electronic device according to claim 1 or 2, wherein the first control unit comprises a system control unit and an icon display control unit, and the system control unit is configured to: when receiving the first signal sent by the power-on detection unit, send an enable signal to the icon display control unit, and send the second signal to the main chip; the icon display control unit is configured to perform initialization when receiving the enable signal, wherein duration for the initialization of the icon display control unit is less than the second duration for the initialization of the main chip; and the main chip is configured to perform the initialization when receiving the second signal sent by the system control unit.
- The electronic device according to claim 4, wherein the system control unit and the icon display control unit are integrated as a whole.
- The electronic device according to any one of claims 1 to 5, wherein the electronic device comprises an OR gate, the first control unit, the main chip, and the display power supply are connected through the OR gate, and the first control unit is configured to send the third signal to the OR gate when the initialization is completed; and the OR gate is configured to send the received third signal to the display power supply.
- The electronic device according to any one of claims 1 to 6, wherein the main chip is configured to send a second icon to the display driver chip when the initialization is completed, wherein the second icon is an icon stored in a memory of the main chip; the main chip is configured to send a first message to the first control unit, wherein the first message indicates that the main chip sends the second icon to the display driver chip; and the first control unit is configured to send a fifth signal to the display driver chip based on the first message, wherein the fifth signal is used to trigger the display panel to display the second icon.
- The electronic device according to claim 7, wherein the electronic device comprises the OR gate, the first control unit, the main chip, and the display power supply are connected through the OR gate, and the main chip is configured to send a sixth signal to the OR gate when the initialization is completed, wherein the sixth signal is used to enable the display power supply; the first control unit is configured to send a seventh signal to the OR gate based on the first message, wherein the seventh signal is used to disable the display power supply; and the OR gate is configured to send an eighth signal to the display power supply based on the sixth signal and the seventh signal, wherein the eighth signal is a signal obtained through an OR operation performed on the sixth signal and the seventh signal, and the eighth signal is used to enable the display power supply.
- The electronic device according to claim 7 or 8, wherein the fourth signal is different from the fifth signal, the fourth signal is a signal in a first state, the fifth signal is a signal in a second state, and the first state and the second state are different states of signals used to trigger display of icons.
- The electronic device according to claim 8, wherein the sixth signal is different from the seventh signal, the sixth signal is a signal in a third state, the seventh signal is a signal in a fourth state, and the third state and the fourth state are different states of signals used to enable the display power supply.
- The electronic device according to any one of claims 1 to 10, wherein the second duration for the initialization of the main chip is greater than third duration, and the third duration is a sum of duration for initialization of the display module and the first duration for the initialization of the first control unit.
- A display method, applied to an electronic device, wherein the electronic device comprises a power-on detection unit, a main chip, a first control unit, and a display module, the display module comprises a display power supply, a display driver chip, and a display panel, and the method comprises: performing, by the first control unit, initialization when the first control unit receives a first signal sent by the power-on detection unit, wherein the first signal indicates the electronic device to power on; performing, by the main chip, initialization when the main chip receives a second signal sent by the power-on detection unit or the first control unit; sending, by the first control unit, a third signal to the display power supply when the initialization of the first control unit is completed, wherein the third signal is used to enable the display power supply; and sending, by the first control unit, a fourth signal to the display driver chip when the initialization of the first control unit is completed, wherein the fourth signal is used to trigger the display panel to display a first icon, and the first icon is an icon stored in the display module.
- The method according to claim 12, wherein first duration for the initialization of the first control unit is less than second duration for the initialization of the main chip.
- The method according to claim 12 or 13, wherein the method further comprises: sending, by the first control unit, the second signal to the main chip when the first control unit receives the first signal sent by the power-on detection unit; and performing, by the main chip, the initialization when the main chip receives the second signal sent by the first control unit.
- The method according to claim 12 or 13, wherein the first control unit comprises a system control unit and an icon display control unit, and the method further comprises: when the system control unit receives the first signal sent by the power-on detection unit, sending, by the system control unit, an enable signal to the icon display control unit, and sending, by the system control unit, the second signal to the main chip; performing, by the icon display control unit, initialization when the icon display control unit receives the enable signal, wherein duration for the initialization of the icon display control unit is less than the second duration for the initialization of the main chip; and performing, by the main chip, the initialization when the main chip receives the second signal sent by the system control unit.
- The method according to claim 15, wherein the system control unit and the icon display control unit are integrated as a whole.
- The method according to any one of claims 12 to 16, wherein the electronic device comprises an OR gate, the first control unit, the main chip, and the display power supply are connected through the OR gate, and the method further comprises: sending, by the first control unit, the third signal to the OR gate when the initialization of the first control unit is completed; and sending, by the OR gate, the received third signal to the display power supply.
- The method according to any one of claims 12 to 17, wherein the method further comprises: sending, by the main chip, a second icon to the display driver chip when the initialization of the main chip is completed, wherein the second icon is an icon stored in a memory of the main chip; sending, by the main chip, a first message to the first control unit, wherein the first message indicates that the main chip sends the second icon to the display driver chip; and sending, by the first control unit, a fifth signal to the display driver chip based on the first message, wherein the fifth signal is used to trigger the display panel to display the second icon.
- The method according to claim 18, wherein the electronic device comprises the OR gate, the first control unit, the main chip, and the display power supply are connected through the OR gate, and the method further comprises: sending, by the main chip, a sixth signal to the OR gate when the initialization of the main chip is completed, wherein the sixth signal is used to enable the display power supply; sending, by the first control unit, a seventh signal to the OR gate based on the first message, wherein the seventh signal is used to disable the display power supply; and sending, by the OR gate, an eighth signal to the display power supply based on the sixth signal and the seventh signal, wherein the eighth signal is a signal obtained through an OR operation performed on the sixth signal and the seventh signal, and the eighth signal is used to enable the display power supply.
- The method according to claim 18 or 19, wherein the fourth signal is different from the fifth signal, the fourth signal is a signal in a first state, the fifth signal is a signal in a second state, and the first state and the second state are different states of signals used to trigger display of icons.
Description
This application claims priority to Chinese Patent Application No. 202311852655.7, filed with the China National Intellectual Property Administration on December 28, 2023 and entitled "DISPLAY METHOD AND ELECTRONIC DEVICE", which is incorporated herein by reference in its entirety. TECHNICAL FIELD This application relates to the field of computer technologies, and in particular, to a display method and an electronic device. BACKGROUND Currently, after receiving a power-on operation of a user, an electronic device may power on, and display an icon on a display to indicate to the user that the electronic device has powered on. However, time from the electronic device receiving the power-on operation to displaying the icon on the display is 3 seconds or even longer. During this period, it is difficult for the user to perceive whether the electronic device has powered on, and consequently, the user may perform an invalid power-on operation, for example, pressing a power button again, resulting in poor user experience. SUMMARY This application discloses a display method and an electronic device, to reduce a delay in displaying an icon after power-on, reduce waiting time and anxiety of a user, indicate a power-on status of the electronic device to the user in a timely manner, prevent the user from performing another power-on operation redundantly, and improve user experience. According to a first aspect, an embodiment of this application provides an electronic device, including a power-on detection unit, a main chip, a first control unit, and a display module. The display module includes a display power supply, a display driver chip, and a display panel. The first control unit is configured to perform initialization when receiving a first signal sent by the power-on detection unit, where the first signal indicates the electronic device to start power-on. The main chip is configured to perform initialization when receiving a second signal sent by the power-on detection unit or the first control unit. The first control unit is configured to send a third signal to the display power supply when the initialization is completed, where the third signal is used to enable the display power supply. The first control unit is configured to send a fourth signal to the display driver chip when the initialization is completed, where the fourth signal is used to trigger the display panel to display a first icon, and the first icon is an icon stored in the display module. In the foregoing electronic device, the first control unit is added to the electronic device, so that after receiving the first signal, the electronic device does not need to wait for completion of the initialization of the main chip before displaying the icon (after the initialization of the first control unit is completed), but before the initialization of the main chip is completed, the electronic device may control, by using the first control unit, the display module to be powered on and complete initialization, so as to display the first icon. The electronic device decouples the initialization of the display module from the initialization of the main chip, so that time for independent initialization of the first control unit is shorter, thereby reducing a delay in displaying the icon after power-on, reducing waiting time and anxiety of a user, preventing the user from performing another power-on operation redundantly, and improving user experience. In a possible implementation, first duration for the initialization of the first control unit is less than second duration for the initialization of the main chip. In the foregoing electronic device, because the first duration (generally less than 1 second) required for the initialization of the first control unit is less than the second duration (generally greater than or equal to 2 seconds) required for the initialization of the main chip, a delay in displaying the icon after power-on is reduced, and the user can determine whether the electronic device has powered on without waiting for a relatively long time, thereby preventing the user from performing another power-on operation redundantly, and improving user experience. In a possible implementation, the first control unit is configured to send the second signal to the main chip when receiving the first signal sent by the power-on detection unit; and the main chip is configured to perform the initialization when receiving the second signal sent by the first control unit. In a possible implementation, the first control unit includes a system control unit and an icon display control unit. The system control unit is configured to: when receiving the first signal sent by the power-on detection unit, send an enable signal to the icon display control unit, and send the second signal to the main chip. The icon display control unit is configured to perform initialization when receiving the enable signal, where duration for the initialization of the icon display contr