Power-on detection method, electronic equipment, storage medium and program product

By detecting the power supply status of the display panel in the display driver and performing power-on recovery, the problem of electronic devices failing to light up the screen is resolved, ensuring that the display screen lights up normally and improving the user experience.

CN121938280APending Publication Date: 2026-04-28HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2024-10-25
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

Electronic devices may experience screen problems during use, affecting the user experience.

Method used

After receiving a power-on command, the display driver determines whether the display panel is powered on and performs power-on recovery when the display panel is not powered on. This includes using GPIO status detection and methods to control the display to power off and then power on.

Benefits of technology

Ensure the display screen powers on successfully to avoid black screen issues and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121938280A_ABST
    Figure CN121938280A_ABST
Patent Text Reader

Abstract

The invention discloses a power-on detection method, electronic equipment, a storage medium and a program product, and belongs to the technical field of terminals. The method is applied to the electronic equipment, the electronic equipment comprises a display driver and a display screen, and the method comprises the steps that the display driver sends a power-on instruction to the display screen, and after a power-on completion message sent by the display screen is received, whether power supply exists in a display panel or not is further determined, so that whether the display screen is successfully powered on or not is more accurately determined. And when the display panel does not have power supply, performing power-on recovery on the display screen. According to the method, power-on recovery can be carried out in time when power-on of the display screen is not successful, so that normal screen lightening of the electronic equipment can be ensured to a certain extent, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to a power-on detection method, electronic device, storage medium, and program product. Background Technology

[0002] With the rapid development of terminal technology, electronic devices such as mobile phones and tablets have become increasingly feature-rich and indispensable tools in people's daily lives. However, users may encounter problems such as the screen failing to light up, which can seriously affect the user experience. Summary of the Invention

[0003] This application provides a power-on detection method, an electronic device, a storage medium, and a program product, which can, to a certain extent, ensure that the electronic device can normally light up its screen. The technical solution is as follows:

[0004] Firstly, a power-on detection method is provided. This method is applied to an electronic device, which includes a display driver and a display screen. In this method, the display driver receives a power-on command; the display driver sends a power-on command to the display screen; after receiving a power-on completion message from the display screen, the display driver determines whether the display panel in the display screen is powered on; if the display panel is not powered on, the display driver restores the power to the display screen.

[0005] This power-on command is used to instruct the display screen to be powered on.

[0006] In this application, the display driver sends a power-on command to the display screen. After receiving a power-on completion message from the display screen, it can further determine whether the display panel is receiving power, thus more accurately determining whether the display screen has been successfully powered on. If the display panel is not receiving power, the display screen is powered on again. In this way, power-on can be restored promptly when the display screen fails to power on, thereby ensuring that the electronic device can still light up normally and improving the user experience.

[0007] Optionally, the operation of the display driver to determine whether the display panel in the display screen is powered can be as follows: the display driver obtains the GPIO state, which is used to indicate whether the GPIO pin connected to the power supply terminal of the display panel is in a high-level state or a low-level state; the display driver determines whether the display panel is powered based on the GPIO state.

[0008] Optionally, the power supply terminal of the display screen can be the ELVDD output terminal of the PMIC in the display screen.

[0009] For example, the GPIO pin of the target chip in the electronic device can be pre-connected to the power supply terminal of the display panel via a voltage divider resistor, i.e., connected to the output terminal (such as the ELVDD output terminal) in the PMIC used to power the display panel. In this case, the level state of the GPIO pin can reflect whether there is a power supply voltage signal (such as the ELVDD voltage signal) at the power supply terminal of the display panel, and thus indicate whether the display panel is powered.

[0010] In this scenario, the target chip can determine the voltage level of the GPIO pin. If the GPIO pin is high, the target chip can update the GPIO state to a first value (e.g., 1); if the GPIO pin is low, the target chip can update the GPIO state to a second value (e.g., 0). The display driver can obtain this GPIO state from the target chip.

[0011] After receiving the power-on command, the display driver can also set the input mode of the GPIO pin to floating input mode. Then, when determining whether the display panel in the display screen is powered, the display driver can obtain the GPIO state; if the GPIO state indicates that the GPIO pin is high, and the GPIO state is a first state value, it is determined that the display panel is powered; if the GPIO state indicates that the GPIO pin is low, and the GPIO state is a second state value, it is determined that the display panel is not powered.

[0012] In this application, the GPIO pin of the target chip is connected to the power supply terminal of the display panel through a voltage divider resistor. In this way, the power supply terminal of the display panel can be determined simply, quickly and accurately based on the level state of the GPIO pin.

[0013] Optionally, the electronic device includes an HWC, and the operation of the display driver to restore the display screen to power-on can be as follows: the display driver sends a recovery event to the HWC, which is used to request the display screen to be restored to power-on; after receiving the recovery event, the HWC sends a target instruction to the display driver, which is used to instruct the display screen to be powered down and then powered on; after receiving the target instruction, the display driver controls the display screen to be powered down and then powered on.

[0014] In this application, by controlling the display screen to power off and then power on again, the power on of the display screen can be restored simply and quickly.

[0015] Optionally, the operation of the display driver controlling the display screen to power off and then power on can be as follows: the display driver sends a target command to the display screen. After receiving a completion message from the display screen, the display driver determines that the display screen has been successfully powered on; or, after receiving a completion message from the display screen, the display driver determines whether the display panel is powered on, and if the display panel is powered on, determines that the display screen has been successfully powered on.

[0016] In this application, when the display driver performs power-on recovery on the display screen, upon receiving a completion message sent by the display screen, it can determine whether the display screen has been successfully powered on based on the power supply status of the display panel, which helps to ensure that the display screen is powered on.

[0017] Optionally, the display driver updates the power-on / off status of the display to "powered on" when the display is successfully powered on.

[0018] Optionally, the display screen also includes a target chip, and the GPIO pin is a pin of the target chip. In this case, when the GPIO state changes from a first state value to a second state value, the target chip sends a target notification message to the display driver. The first state value indicates that the GPIO pin is in a high-level state, and the second state value indicates that the GPIO pin is in a low-level state. After receiving the target notification message, the display driver performs a power-on recovery on the display screen if the power-on state of the display screen is already powered on.

[0019] For example, a target notification message is used to indicate that the display panel is powered off, or a target notification message is used to indicate that the display is powered on and restored.

[0020] In this application, the target chip can detect the level state of the GPIO pin in real time and update the GPIO state accordingly. In this case, if the GPIO state changes from a first state value to a second state value, it indicates that the display panel has lost power. Therefore, the target chip can send a target notification message to the display driver in order to restore the power of the display screen.

[0021] Optionally, after receiving the target notification message, if the power-on state of the display screen is "powered on", the operation of powering up and restoring the display screen can be as follows: after receiving the target notification message, if the power-on state of the display screen is "powered on", the display driver determines whether the display panel is powered on, and if the display panel is not powered on, the display screen is powered up and restored.

[0022] In this application, after receiving the target notification message, if the power-on / off state of the display screen is "powered on", the display driver can determine that the display screen experienced an abnormal power loss while in a bright state, and thus can restore the power to the display screen.

[0023] Optionally, the display driver registers an interrupt function with the target chip. The interrupt function is triggered when the GPIO state changes from a first state value to a second state value. The interrupt function is used to send a target notification message to the display driver. In this case, the operation of the target chip sending a target notification message to the display driver when the GPIO state changes from the first state value to the second state value can be as follows: the target chip executes the interrupt function to send the target notification message to the display driver when the GPIO state changes from the first state value to the second state value.

[0024] In this application, an interrupt handling mechanism can be used to respond quickly when the display panel loses power, that is, to quickly execute the corresponding recovery process, thereby helping to quickly restore the screen after the electronic device goes black, reducing the impact on the user experience.

[0025] Secondly, a power-on detection device is provided, which has the function of implementing the power-on detection method described in the first aspect. The power-on detection device includes at least one module for implementing the power-on detection method provided in the first aspect.

[0026] Thirdly, an electronic device is provided, comprising: one or more processors, and a memory; the memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, wherein the one or more processors invoke the computer instructions to cause the electronic device to perform the power-on detection method provided in the first aspect.

[0027] Fourthly, a chip system is provided for use in an electronic device, the chip system including one or more processors, the one or more processors being used to invoke computer instructions to cause the electronic device to execute the power-on detection method provided in the first aspect.

[0028] Fifthly, a computer-readable storage medium is provided, the computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the power-on detection method provided in the first aspect.

[0029] In a sixth aspect, a computer program product is provided that, when the computer program product is run on an electronic device, causes the electronic device to perform the power-on detection method provided in the first aspect.

[0030] The technical effects achieved by the second, third, fourth, fifth, and sixth aspects mentioned above are similar to those achieved by the corresponding technical means in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0031] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0032] Figure 2 This is a block diagram of a software system for an electronic device provided in an embodiment of this application.

[0033] Figure 3 This is a schematic diagram of a display screen provided in an embodiment of this application.

[0034] Figure 4 This is a schematic diagram of a power-on scenario for a display screen provided in an embodiment of this application.

[0035] Figure 5 This is a flowchart of a power-on detection method provided in an embodiment of this application.

[0036] Figure 6 This is a schematic diagram of a detection circuit provided in an embodiment of this application.

[0037] Figure 7 This is a schematic diagram of function execution provided in an embodiment of this application.

[0038] Figure 8 This is a flowchart of a power failure detection method provided in an embodiment of this application.

[0039] Figure 9 This is a schematic diagram of another function execution provided in the embodiments of this application. Detailed Implementation

[0040] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details.

[0041] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or collections thereof. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0042] It should be understood that "one or more" as mentioned in this application refers to one, two, or more, and "multiple" as mentioned in this application refers to two or more. In the description of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. The "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone.

[0043] To facilitate a clear description of the technical solutions of this application, the terms "first" and "second" are used to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that the terms "first" and "second" do not necessarily imply that they are different.

[0044] The terms "one embodiment" or "some embodiments" used in this application mean that one or more embodiments of this application include the specific features, structures, or characteristics described in that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this application do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized.

[0045] With the rapid development of terminal technology, electronic devices such as mobile phones and tablets have become increasingly feature-rich and indispensable tools in people's daily lives. However, users may encounter problems such as the screen failing to light up, which can seriously affect the user experience.

[0046] Therefore, this application provides a power-on detection method that, after indicating that the display screen is powered on, determines whether the display screen has successfully powered on by detecting whether the display panel is receiving power. If the display screen has not successfully powered on, a recovery process is executed. This can, to a certain extent, ensure that electronic devices can display normally, improving the user experience.

[0047] The power-on detection method provided in this application can be applied to electronic devices. For example, the electronic device may be a mobile phone, tablet computer, wearable device, digital camera, in-vehicle device, augmented reality (AR) device, virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), laptop, etc., and this application does not limit the scope of the application.

[0048] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. See also... Figure 1 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, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer 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.

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

[0050] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, memory, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0051] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.

[0052] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from this memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves system efficiency.

[0053] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions, such as saving music, video, and other files on the external memory card.

[0054] Internal memory 121 can be used to store computer-executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created by electronic device 100 during use (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0055] The wireless communication function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.

[0056] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D and application processor.

[0057] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0058] Electronic device 100 can realize display function through GPU, display screen 194 and application processor.

[0059] A GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU performs mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

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

[0061] Touch sensor 180K, also known as a touch panel (TP) sensor, can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also called a "touchscreen". Touch sensor 180K detects touch operations applied to or near it. Touch sensor 180K can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.

[0062] Buttons 190 include power buttons, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.

[0063] For example, the power button is used to turn the display 194 on or off. For instance, when the display 194 is on, pressing the power button will turn the display 194 off. Or, when the display 194 is off, pressing the power button will turn the display 194 on.

[0064] The software system of the electronic device will be explained next.

[0065] The software system of an electronic device can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application uses the layered architecture of the Android system as an example to illustrate the software system of an electronic device. It should be noted that although this application uses the Android system as an example, its basic principles are equally applicable to electronic devices based on operating systems such as iOS or Windows.

[0066] Figure 2 This is a block diagram of a software system for an electronic device provided in an embodiment of this application. See also... Figure 2 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 the application layer, application framework layer, Android Runtime, system layer, hardware abstraction layer (HAL), and kernel layer.

[0067] The application layer can include a series of applications. For example... Figure 2 As shown, the application layer can include applications such as camera, calendar, map, WLAN, music, SMS, gallery, call, navigation, Bluetooth, and always-on display (AOD).

[0068] AOD (Awaiting On Demand) applications are used to implement the AOD function. The principle behind AOD is that after the electronic device's screen is off, some pixels are illuminated to display basic information such as time, date, SMS messages, and call reminders, while other pixels remain black. This allows users to conveniently view the information they need without turning on the entire screen, while also reducing the device's power consumption.

[0069] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0070] like Figure 2 As shown, the application framework layer may include a power management service (PMS), a Surfaceflinger service, and an input manager.

[0071] The Power Management System (PMS) is used to manage the power-on and power-off of the display screen and can record the power mode. For example, if the PMS records the power mode as "On", it can power on the display screen; if the PMS records the power mode as "Off", it can power off the display screen.

[0072] For example, when the power mode is On, the display is on, and the system will run all applications normally in this mode. For example, when the power mode is Off, the display is off, and the system will reduce resource usage to maintain basic functionality.

[0073] The Surfaceflinger service is a system service primarily used to implement functions such as layer creation, control, and management. For example, the Surfaceflinger service can obtain layer data from one or more sources (i.e., applications), that is, obtain layer data for one or more layers, and then composite these layers to obtain a frame of image data for display.

[0074] The input manager is used to handle input events. After receiving an input event reported by the input subsystem, the input manager can send the input event to the corresponding application or system service.

[0075] like Figure 2 As shown, the application framework layer may also include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0076] The window manager manages windowed applications. It can determine the screen size, the presence of a status bar, screen lock, and screen capture. The content provider stores and retrieves data, making it accessible to applications. This data can include videos, images, audio, incoming and outgoing calls, browsing history and bookmarks, and phone books. The view system includes visual controls, such as controls for displaying text and images. The view system is used to build the application's display interface, which can consist of one or more views, such as a view displaying SMS notification icons, a view displaying text, and a view displaying images. The phone manager provides communication functionality for electronic devices, such as managing call status (including connection and disconnection). The resource manager provides applications with various resources, such as localized strings, icons, images, layout files, and video files. The notification manager allows applications to display notifications in the status bar. These notifications can be used to convey informational messages and can disappear automatically after a short pause without user interaction. For example, the notification manager can be used to notify of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the system's top status bar, such as notifications from background applications. The notification manager can also display notifications as dialog boxes on the screen, such as text messages in the status bar, sound alerts, vibrations of electronic devices, and flashing indicator lights.

[0077] The Android Runtime comprises the core libraries and the virtual machine. The Android Runtime is responsible for the scheduling and management of the Android system. The core libraries consist of two parts: one part contains the functionalities that Java calls, and the other part is the core Android library itself. The application layer and application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0078] The system layer can include multiple functional modules, such as a surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), and 2D graphics engines (e.g., SGL). The surface manager manages the display subsystem and provides fusion of two-dimensional (2D) and three-dimensional (3D) layers for multiple applications. The media libraries support playback and recording of various common audio and video formats, as well as still image files. The media libraries can support various audio and video coding formats, such as Moving Picture Experts Group (MPEG) 4, H.264 (also known as Advanced Video Coding, AVC), Moving Picture Experts Group Audio Layer III (MP3), Advanced Audio Coding (AAC), Adaptive Multi-rate (AMR), Joint Photographic Experts Group (JPG), and Portable Network Graphics (PNG). 3D graphics processing libraries are used to implement 3D graphics drawing, image rendering, compositing, and layer processing. 2D graphics engines are drawing engines for 2D graphics.

[0079] HAL is used to provide a generic, call-driven interface to the application framework layer. For example... Figure 2 As shown, HAL can include hardware composers (HWC), etc. HWC is used for layer composition and display, providing hardware support for the SurfaceFlinger service.

[0080] The kernel layer is the layer between hardware and software. For example... Figure 2 As shown, the kernel layer can include display driver, input subsystem, camera driver, audio driver, sensor driver, etc.

[0081] The input subsystem manages events from various input devices (such as buttons, touch sensors, etc.) and can report received input events to the input manager.

[0082] In addition, the hardware layer of an electronic device may include a GPU, a display screen, a power button, etc.

[0083] Understandably, Figure 2 The layers in the software system shown, and the functional modules included in each layer, do not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer layers than shown, and each layer may include more or fewer functional modules; this application does not limit this.

[0084] The above embodiments illustrate the power-on detection of electronic devices using only the division of functional modules described above. In practical applications, these functions can be assigned to different functional modules as needed, meaning the internal structure of the electronic device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the specific names of each functional module are merely for easy differentiation and are not intended to limit the scope of protection of the embodiments of this application.

[0085] This application does not specifically limit the structure of the execution subject of the power-on detection method. As long as the code containing the power-on detection method provided in this application is run, the processing can be performed according to the power-on detection method provided in this application. For example, the execution subject of the power-on detection method provided in this application can be a functional module in an electronic device that can call and execute a program, or it can be a processing device applied in an electronic device, such as a chip.

[0086] The display screen involved in the embodiments of this application will be described below.

[0087] Figure 3 This is a schematic diagram of a display screen provided in an embodiment of this application. See also... Figure 3 The display screen may include a power management integrated circuit (PMIC), a display driver integrated circuit (DDIC), and a display panel. The PMIC is used to power the DDIC and the display panel. The DDIC is used to control the image display on the display panel.

[0088] Even when the display is powered off, the PMIC can receive a power-on command from the display driver. Afterward, the PMIC can supply power to the DDIC and the display panel.

[0089] For example, the first output terminal of the PMIC is connected to the power supply terminal of the DDIC, and the PMIC can output a voltage signal through its first output terminal to power the DDIC.

[0090] For example, the second output terminal of the PMIC is connected to the power supply terminal of the display panel. The PMIC can output a voltage signal to power the display panel through its second output terminal. For instance, the second output terminal of the PMIC can be the ELVDD output terminal of the PMIC, which is used to output the ELVDD voltage signal.

[0091] In some cases, the second output terminal of the PMIC may not output a voltage signal due to PMIC failure, DDIC malfunction, or abnormality in the main board circuit or sub-main board circuit of the display, which will cause the electronic device to go black.

[0092] Since the PMIC's second output is the port through which the PMIC supplies power to the display panel, the DDIC cannot sense the voltage status of the PMIC's second output. Consequently, the display driver cannot obtain the voltage status of the PMIC's second output from the DDIC. Therefore, even if the DDIC returns a power-on completion message to the display driver after it has completed its own power-on process, the display panel may still not receive power, leading to a black screen issue.

[0093] To address this, this application provides a power-on detection method. After sending a power-on command to the display screen, the display driver, upon receiving a power-on completion message from the display screen, can determine the voltage status of the second output terminal of the PMIC, i.e., the voltage status of the power supply terminal of the display panel, thereby determining whether the display screen has successfully powered on. If the display screen fails to power on successfully, a recovery process can be initiated promptly. This ensures that the electronic device can display normally, improving the user experience.

[0094] The power-on detection method provided in this application can be executed in various power-on scenarios of displays.

[0095] In some embodiments, such as Figure 4As shown in Figure (a), if the user does not operate the electronic device for a long time while the screen is on, or if the user presses the power button while the screen is on, the electronic device, with the AOD (Always-On Display) function enabled, can trigger an off-screen display after a brief period of screen off. This off-screen image includes information such as time, date, SMS messages, and incoming call reminders in a portion of the image, while the remaining area is black. In this case, the display screen will power off and then power on. Therefore, the power-on detection method provided in this application embodiment can be executed when the display screen is powered on.

[0096] It should be noted that the "always-on display" mentioned in the embodiments of this application refers to the display operation of the AOD function, that is, the display operation of lighting up some pixels in the screen to display some basic information while keeping other pixels black.

[0097] In some embodiments, such as Figure 4 As shown in Figure (b), when the electronic device screen is off, the screen can be turned on if the user unlocks it with a fingerprint, double-clicks the screen, or presses the power button. In this case, the display screen is powered on. Therefore, the power-on detection method provided in this application embodiment can be executed when the display screen is powered on.

[0098] Of course, the power-on detection method provided in this application embodiment is not limited to the above-mentioned power-on scenarios of the display screen. In practical applications, the power-on detection method provided in this application embodiment can also be executed in other power-on scenarios of the display screen. This application embodiment does not limit this.

[0099] The following example illustrates the power-on process of a display screen by showing a user pressing the power button to turn on the screen when it is off:

[0100] Figure 5 This is a flowchart of a power-on detection method provided in an embodiment of this application. See also... Figure 5 The method may include the following steps:

[0101] Step 501: A power button event is generated when the power button is pressed.

[0102] Users can press the power button to turn on the screen of an electronic device when the screen is off. After the user presses the power button, a power button event is generated.

[0103] For example, the power button event may include one or more of the following: keyCode, action, eventTime, repeatCount, etc.

[0104] The key code indicates the pressed key; for example, the key code in this power button event could indicate the power button. The action indicates the action performed on the key, which could be key press (ACTION_DOWN), key release (ACTION_UP), or multiple key presses (ACTION_MULTIPLE); for example, the action in this power button event could indicate key press. The timestamp indicates the time the event occurred, optionally in milliseconds. The repetition count indicates the number of times the key was pressed; for example, the repetition count in this power button event could be 1 time.

[0105] Step 502: The power button sends the power button event to the input subsystem.

[0106] Step 503: After receiving the power button event, the input subsystem sends the power button event to the input manager.

[0107] Step 504: After receiving the power button event, the input manager sends the power button event to the PMS.

[0108] After receiving the power button event, the input manager can determine that the power button event is used to trigger the screen to turn on if the electronic device is currently in a screen-off state. Therefore, the input manager can send the power button event to the PMS, and the PMS can implement the relevant screen-on logic.

[0109] Step 505: After receiving the power button event, PMS sends a power-on command to the Surfaceflinger service.

[0110] This power-on command is used to instruct the display screen to be powered on.

[0111] Optionally, after receiving the power button event, if the electronic device is currently in a screen-off state, i.e., the power mode is currently Off, the PMS determines that the screen needs to be turned on. At this time, the power mode can be updated to On, and a power-on command can be sent to the Surfaceflinger service.

[0112] Step 506: After receiving the power-on command, the Surfaceflinger service sends the power-on command to HWC.

[0113] Step 507: After receiving the power-on command, HWC sends the power-on command to the display driver.

[0114] Step 508: After receiving the power-on command, the display driver sends the power-on command to the display screen.

[0115] Optionally, the display driver can record the power-on / off state of the display screen. In this case, after the display driver sends the power-on command to the display screen, it can update the power-on / off state of the display screen to "Powering on".

[0116] After receiving the power-on command, the display screen can power on. Optionally, the PMIC in the display screen can receive the power-on command, and then the PMIC can supply power to the DDIC and the display panel. After the DDIC is powered on, it can perform self-test and initialization, and after the self-test and initialization are completed, it can send a power-on completion message to the display driver.

[0117] Step 509: The display driver receives the power-on complete message sent by the display screen.

[0118] It should be noted that in related technologies, the display driver considers the display to be successfully powered on upon receiving a power-on completion message from the display. However, in reality, this power-on completion message only indicates that the DDIC has been successfully powered on; at this point, the display panel may not necessarily be receiving power. If the display panel is not receiving power, the black screen problem will still occur.

[0119] Therefore, in this embodiment, after receiving the power-on completion message from the display screen, the display driver can further execute steps 510 to 511 to further determine whether the display screen has successfully powered on, and promptly restore power if the display screen has not successfully powered on. This can, to a certain extent, ensure that the electronic device can power on normally, thus guaranteeing the user experience.

[0120] Step 510: The display driver determines whether the display panel in the display screen is powered.

[0121] The power-on completion message indicates that the DDIC has been successfully powered on, and in this case, the display driver can further determine whether the display panel is receiving power.

[0122] In some embodiments, the general-purpose input / output (GPIO) pins of the target chip can be pre-connected to the power supply terminal of the display panel via voltage divider resistors, i.e., connected to the second output terminal (such as the ELVDD output terminal) in the PMIC used to power the display panel. In this case, the level state of the GPIO pin can reflect whether there is a power supply voltage signal (such as the ELVDD voltage signal) at the power supply terminal of the display panel, and thus indicate whether the display panel is powered.

[0123] In this scenario, the target chip can determine the voltage level of the GPIO pin. If the GPIO pin is high, the target chip can update the GPIO state to a first value (e.g., 1); if the GPIO pin is low, the target chip can update the GPIO state to a second value (e.g., 0). The display driver can obtain this GPIO state from the target chip.

[0124] For example, the target chip can be a system on chip (SoC). Of course, the target chip can also be other types of chips, and this application embodiment does not limit this.

[0125] For example, the target chip can record the GPIO state. For instance, the GPIO state can be stored in a register within the target chip.

[0126] It should be noted that the high-level and low-level states described in the embodiments of this application are relative. For example, a voltage value can be preset, such as a preset voltage value set according to the resistance value of the voltage divider resistor and the power supply voltage value of the display panel. When the voltage value of the GPIO pin is greater than or equal to the preset voltage value, the target chip can determine that the GPIO pin is in a high-level state; when the voltage value of the GPIO pin is less than the preset voltage value, the target chip can determine that the GPIO pin is in a low-level state.

[0127] In this case, after receiving the power-on command, the display driver can also set the input mode of the GPIO pin to floating input mode. Then, in step 510, the operation of the display driver determining whether the display panel in the display screen is powered can be as follows: the display driver acquires the GPIO state and determines whether the display panel is powered based on the GPIO state. The GPIO state is used to indicate the level state of the GPIO pin.

[0128] For example, if the GPIO state indicates that the GPIO pin is in a high-level state, and the GPIO state is a first state value, the display driver can determine that the display panel is powered; if the GPIO state indicates that the GPIO pin is in a low-level state, and the GPIO state is a second state value, the display driver can determine that the display panel is not powered.

[0129] As an example, this GPIO pin can be accessed via Figure 6 The detection circuit shown is connected to the power supply terminal of the display panel. For example... Figure 6 As shown, the detection circuit may include resistors R1 and R2.

[0130] The first end of resistor R1 is connected to the power supply terminal of the display panel, and the second end of resistor R1 is connected to the first end of resistor R2 and the GPIO pin. The second end of resistor R2 is connected to ground.

[0131] Resistors R1 and R2 are voltage divider resistors. In this case, the preset voltage value used to determine the high / low level state of this GPIO pin can be set based on the resistance values ​​of resistor R1 and R2, and the power supply voltage of the display panel. For example, the resistance value of resistor R1 can be 100 kΩ, and the resistance value of resistor R2 can be 56 kΩ.

[0132] By setting a voltage divider resistor, the voltage signal at the power supply terminal of the display panel can be prevented from damaging the GPIO pin when detecting the voltage at the power supply terminal of the display panel through the GPIO pin.

[0133] Furthermore, such as Figure 6 As shown, the detection circuit may also include a capacitor C. Capacitor C is connected between the GPIO pin and ground. Capacitor C is used for voltage regulation and filtering. For example, the capacitance of capacitor C is 100 nanofarads.

[0134] Of course, it is not limited to the above. Figure 6 The detection circuit shown can be used in practical applications, where the GPIO pin can also be connected to the power supply terminal of the display panel through other detection circuits. This application embodiment does not limit this.

[0135] If the display panel in the display screen is powered, the display driver can determine that the display screen has been successfully powered on and end the operation. If the display panel in the display screen is not powered, the display driver can determine that the display screen has not been successfully powered on. In this case, the display driver can perform a recovery process, as described in step 511.

[0136] Step 511: The display driver restores power to the display screen when there is no power supply to the display panel.

[0137] In some embodiments, the operation of the display driver to restore the display screen to power-on can be as follows: the display driver sends a recovery event to the HWC, which is used to request the display screen to be restored to power-on; after receiving the recovery event, the HWC sends a target instruction to the display driver, which is used to instruct the display screen to be powered down and then powered on; after receiving the target instruction, the display driver controls the display screen to be powered down and then powered on.

[0138] As an example, the operation of controlling the display screen to power down and then power on can be as follows: The display driver sends a target command to the display screen. After receiving the target command, the display screen first powers down and then powers on, and after completion, it can send a completion message to the display driver. After receiving the completion message, the display driver can determine that the display screen has successfully powered on; or, after receiving the completion message, the display driver can again determine whether the display panel is receiving power, and only determine that the display screen has successfully powered on if the display panel is receiving power.

[0139] Thus, in this embodiment, the display driver can, upon receiving a power-on completion message from the display panel, determine whether the display has successfully powered on, and promptly restore power if the display has not successfully powered on. This, to a certain extent, ensures that the electronic device can power on normally, improving the user experience.

[0140] Optionally, after determining that the display has been successfully powered on, the display driver can also update the power-on / off status of the display to "Powered on".

[0141] Optionally, after determining that the display screen has failed to power on, the display driver can also generate an error log to record the power-on failure. For example, the error log may include one or more of the following: timestamp, error code, display model, exception description, system status, number of retries, etc. Furthermore, the electronic device can also send the error log to a server so that the server can perform maintenance and testing based on it.

[0142] Understandably, in some embodiments, after receiving a power-down command, the display driver can send a power-down command to the display screen. At this time, the display driver can update the power-up / power-down status of the display screen to "Powering down". Subsequently, after determining that the display screen has successfully powered down, such as after receiving a power-down completion message from the display screen, the display driver can update the power-up / power-down status of the display screen to "Powered down".

[0143] The following is combined with Figure 7 The functions executed by the display driver after receiving the power-on command in the embodiments of this application are described exemplarily as follows:

[0144] like Figure 7 As shown, after receiving the power-on command, the display driver can first execute the `dsi_display_prepare` function. The `dsi_display_prepare` function is used to prepare for the initialization process of the Display Serial Interface (DSI). For example, the `dsi_display_prepare` function can initialize the DSI interface and also send a series of initialization commands to the display screen to set display parameters such as resolution and color format. In this embodiment, the `dsi_display_prepare` function is also used to set the GPIO pin to floating input mode.

[0145] Afterward, the display driver can execute the `dsi_display_enable` function. The `dsi_display_enable` function enables the DSI display's functionality. For example, the `dsi_display_enable` function can activate the display, such as by sending a power-on command to the display to put it into operation. The `dsi_display_enable` function can also configure the display's parameters, such as display mode, resolution, refresh rate, etc.

[0146] Afterwards, the display driver can execute the `elvdd_status_read` function. The `elvdd_status_read` function is used to obtain the GPIO status. The display driver can end the operation when the GPIO status is the first status value, and execute the `DMD_report` and `recover` functions when the GPIO status is the second status value. The `DMD_report` function is used to generate an error log, and the `recover` function is used to power-on restore the display.

[0147] Understandably, the embodiments in this application are only for illustrative purposes. Figure 7 The power-on detection process of this application embodiment is illustrated by taking the function shown as an example. In actual applications, it is not limited to this. Other functions can also be used to implement the power-on detection process provided in this application embodiment. This application embodiment does not limit this.

[0148] It should be noted that the above text Figure 5 This embodiment uses the example of a user pressing the power button to turn on the screen when the electronic device is off to illustrate the processing flow of the display driver when powering on the display. In practical applications, it is not limited to this; the display driver can also power on the display according to steps 508 to 511 above when it receives a power-on command in other situations.

[0149] For example, when a user unlocks an electronic device with their fingerprint while the screen is off, the relevant system service can send a power-on command to the display driver to instruct the display to be powered on and illuminated. In this case, after receiving the power-on command, the display driver can power on the display according to steps 508 to 511 described above.

[0150] For example, if a user performs a preset gesture operation (including but not limited to double-tapping the screen) on the screen of an electronic device while the screen is off, the relevant system service can send a power-on command to the display driver to instruct the display to be powered on and turn on. In this case, after receiving the power-on command, the display driver can power on the display according to steps 508 to 512 above.

[0151] For example, when the AOD (Always-On Display) function is enabled on an electronic device, if the user does not operate the device for an extended period while the screen is on, or if the user presses the power button while the screen is on, the electronic device can briefly turn off the screen and then resume displaying an off-screen mode. In this case, when the screen-off display is required, the relevant system service can send a power-on command to the display driver to instruct the display to be powered on for the off-screen display. Upon receiving the power-on command, the display driver can power on the display according to steps 508 to 512 described above.

[0152] The above embodiments describe the power-on detection process of the display driver when the display screen is powered on. In some embodiments, this application can also implement power-off detection of the display panel to promptly detect and repair black screen problems, which will be described below.

[0153] Figure 8 This is a flowchart of a power-off detection method provided in an embodiment of this application. See also... Figure 8 The method may include the following steps:

[0154] Step 801: When the GPIO state changes from the first state value to the second state value, the target chip sends a target notification message to the display driver.

[0155] The first state value indicates that the GPIO pin is in a high-level state, and the second state value indicates that the GPIO pin is in a low-level state.

[0156] The target notification message is used to indicate that the display panel is powered off, or the target notification message is used to indicate that the display is powered on and restored.

[0157] The target chip can detect the level state of the GPIO pin in real time and update the GPIO state accordingly. In this case, if the GPIO state changes from the first state value to the second state value, it indicates that the display panel has lost power. Therefore, the target chip can send a target notification message to the display driver in order to restore the power of the display screen.

[0158] In some embodiments, the display driver can register an interrupt function in the target chip. The parameters of the interrupt function may include an interrupt number, trigger conditions, etc.

[0159] The interrupt function is triggered when the GPIO state changes from a first state value to a second state value. In this case, an interrupt will be triggered when the GPIO state changes from the first state value to the second state value. Specifically, the interrupt function corresponding to the interrupt number will be executed, and this interrupt function is used to send a target notification message to the display driver.

[0160] In this embodiment of the application, the interrupt handling mechanism can quickly respond when the display panel loses power, that is, quickly execute the corresponding recovery process, which helps to quickly restore the screen after the electronic device goes black, reducing the impact on the user experience.

[0161] Step 802: After receiving the target notification message, the display driver restores the power to the display screen if the power-on status of the display screen is "powered on".

[0162] In some embodiments, after receiving the target notification message, the display driver can directly power on and restore the display if the power-on state of the display is already powered on.

[0163] In other embodiments, after receiving the target notification message, if the power-on / off state of the display screen is "powered on", the display driver can first determine whether the display panel is powered on; if the display panel is not powered on, the display screen can be powered on and restored; if the display panel is powered on, no operation is performed.

[0164] The operation of the display driver to determine whether the display panel is powered is similar to the operation of the display driver to determine whether the display panel is powered in step 510 above, and will not be described again in this embodiment.

[0165] The operation of the display driver to restore the display screen upon power-on is similar to the operation of the display driver to restore the display screen upon power-on in step 511 above, and will not be described again in this embodiment.

[0166] It should be noted that after the display driver receives the target notification message, if the power-on status of the display screen is "powered on", then the display driver can determine that the display screen experienced an abnormal power loss while in a bright state, and can therefore perform the above-mentioned power-on recovery process on the display screen.

[0167] If the display driver receives the target notification message and the power-on / off status of the display screen is not "powered on", then the display driver can determine that the display screen is likely to be powered off normally, and therefore the display screen does not need to perform the above power-on recovery process.

[0168] In some embodiments, after receiving the target notification message, if the display screen's power-on state is "powered on," the display driver can also generate an error log to record the abnormal power outage. For example, the error log may include one or more of the following: timestamp, error code, display screen model, exception description, system status, number of retries, etc. Furthermore, the electronic device can also send the error log to a server so that the server can perform maintenance and testing based on it.

[0169] In this embodiment, the target chip can detect the power supply status of the display panel in a timely manner based on the GPIO state. When it determines that the display panel is powered off, it can notify the display driver, which will then power on the display screen to restore its functionality. This allows the screen to automatically return to normal operation when it suddenly goes black during screen-on, thus minimizing the impact on the user experience.

[0170] The following is combined with Figure 9 The functions executed during the power failure detection process in the embodiments of this application are described by way of example:

[0171] like Figure 9 As shown, the display driver can execute the `elvdd_irq_register` function. The `elvdd_irq_register` function registers an interrupt function in the target chip; here, we assume this interrupt function is `elvdd_exception_isr`. Then, the target chip can trigger an interrupt under specific conditions—that is, when the GPIO state changes from a first state value to a second state value, specifically at the falling edge of the display panel's power supply voltage signal—to execute the `elvdd_exception_isr` function. The `elvdd_exception_isr` function sends a target notification message to the display driver. Afterward, the display driver can execute the `DMD_report` and `recover` functions. The `DMD_report` function generates an error log, and the `recover` function performs a power-on recovery of the display.

[0172] Understandably, the embodiments in this application are only for illustrative purposes. Figure 9 The power failure detection process of this application embodiment is illustrated by taking the function shown as an example. In actual applications, it is not limited to this. Other functions can also be used to implement the power failure detection process provided in this application embodiment. This application embodiment does not limit this.

[0173] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0174] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0175] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the steps in the various method embodiments described above.

[0176] This application also provides a computer program product that, when run on an electronic device, enables the electronic device to perform the steps described in the various method embodiments above.

[0177] This application also provides a chip system including a processor coupled to a memory. The processor executes a computer program stored in the memory to implement the steps of any method embodiment of this application. The chip system can be a single chip or a chip module composed of multiple chips.

[0178] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. This computer program product includes one or more computer instructions. When these computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic cable, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave) means. The computer-readable storage medium can be any available medium accessible to a computer, or a data storage device such as a server or data center that integrates one or more available media. The available media can be magnetic media (such as floppy disks, hard disks, magnetic tapes, etc.), optical media (such as Digital Versatile Discs (DVDs), etc.) or semiconductor media (such as Solid State Disks (SSDs), etc.).

[0179] 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, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0180] The above-described embodiments are optional embodiments provided by this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the technical scope disclosed in this application should be included within the protection scope of this application.

Claims

1. A power-on detection method, characterized in that, Applied to an electronic device, the electronic device including a display driver and a display screen, the method includes: The display driver receives a power-on command; The display driver sends the power-on command to the display screen; After receiving the power-on completion message from the display screen, the display driver determines whether the display panel in the display screen is powered. If the display panel is not powered, the display driver will power on the display screen to restore power.

2. The method as described in claim 1, characterized in that, The display driver determines whether the display panel in the display screen is powered, including: The display driver acquires the general purpose input / output (GPIO) status, which indicates whether the GPIO pin connected to the power supply terminal of the display panel is in a high-level or low-level state. The display driver determines whether the display panel is powered based on the GPIO status.

3. The method as described in claim 1 or 2, characterized in that, The electronic device includes a hardware synthesizer (HWC), and the display driver performs power-on recovery on the display screen, including: The display driver sends a recovery event to the HWC, the recovery event being used to request a power-on recovery of the display screen; After receiving the recovery event, the HWC sends a target instruction to the display driver, the target instruction being used to instruct the display screen to be powered down and then powered on again. After receiving the target instruction, the display driver controls the display screen to power off and then power on.

4. The method as described in claim 3, characterized in that, The display driver controls the display screen to power off and then power on, including: The display driver sends the target instruction to the display screen; After receiving a completion message from the display screen, the display driver determines that the display screen has been successfully powered on; or, after receiving a completion message from the display screen, the display driver determines whether the display panel is powered on, and if the display panel is powered on, determines that the display screen has been successfully powered on.

5. The method as described in claim 2, characterized in that, The method further includes: When the display screen is successfully powered on, the display driver updates the power-on / off status of the display screen to "powered on". The display screen also includes a target chip, and the GPIO pin is a pin of the target chip. The method further includes: When the GPIO state changes from a first state value to a second state value, the target chip sends a target notification message to the display driver. The first state value is used to indicate that the GPIO pin is in a high-level state, and the second state value is used to indicate that the GPIO pin is in a low-level state. After receiving the target notification message, the display driver restores the power to the display screen if the power-on state of the display screen is already powered on.

6. The method as described in claim 5, characterized in that, After receiving the target notification message, the display driver, if the power-on state of the display screen is "powered on", performs a power-on recovery of the display screen, including: After receiving the target notification message, if the power-on / off state of the display screen is "powered on", the display driver determines whether the display panel is powered on. If the display panel is not powered on, the driver restores the power to the display screen.

7. The method as described in claim 5 or 6, characterized in that, The method further includes: The display driver registers an interrupt function on the target chip. The interrupt function is triggered when the GPIO state changes from the first state value to the second state value. The interrupt function is used to send the target notification message to the display driver. When the GPIO state changes from a first state value to a second state value, the target chip sends a target notification message to the display driver, including: When the GPIO state changes from the first state value to the second state value, the target chip executes the interrupt function to send the target notification message to the display driver.

8. The method as described in any one of claims 2, 5 to 7, characterized in that, The power supply terminal of the display screen is the ELVDD output terminal of the power management chip PMIC in the display screen.

9. An electronic device, characterized in that, The electronic device includes: one or more processors, and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the electronic device to perform the method as described in any one of claims 1 to 8.

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

11. A computer program product, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 1 to 8.