Display method and electronic equipment

By displaying task progress on electronic devices on lock screen, wallpaper or dial interface, the problem that users cannot view time-consuming task progress in real time is solved, reducing the impact on user experience and reducing system power consumption, and achieving flexibility in task progress Display and user interaction.

CN119225875APending Publication Date: 2024-12-31HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310810146.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

When electronic devices perform time-consuming tasks, users cannot view task progress in real time, and existing display methods such as dominating the screen or floating windows will affect the user experience and increase power consumption.

Method used

Provide a display method, by receiving user operations and responding to specific conditions, displaying the task execution progress on the lock screen, wallpaper, dial or screen-off interface, supporting user interaction, and automatically refreshing the interface after the task is completed, reducing normal use of users The impact of

Benefits of technology

It realizes displaying task progress while not affecting the user experience when performing time-consuming tasks, reducing system power consumption, and supporting application customized display methods to improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225875A_ABST
    Figure CN119225875A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a display method and electronic equipment. The method comprises the following steps: receiving a first operation of starting a first task of a first application on a first interface by a user; in response to the second operation or when a specific condition is met, a second interface is displayed, and when the first task is in the ongoing state, the second interface is used for indicating the execution progress of the first task; when the first task is finished, the second interface is refreshed, and the second interface does not indicate the execution progress of the first task any more. Through the technical scheme provided by the embodiment of the invention, the influence on a user can be reduced when the execution progress of the task is displayed, a mode of displaying the execution progress in a user-defined manner is supported, and the experience feeling of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to a display method and an electronic device, and more specifically, to a display method and an electronic device. Background Art

[0002] Electronic devices support the execution of time-consuming tasks such as file downloading and timing through networking or distribution.

[0003] When executing these tasks, users need to enter the specified path of the task-related application to view the task execution progress. If the task-related application is running in the background, the application may obtain lock screen or floating window permissions and display it in a superimposed manner on the lock screen or wallpaper interface, which is more restricted and affects the normal use of users; or it may only run in the background and not display the task execution progress, so users cannot know the task execution progress. Summary of the invention

[0004] The embodiments of the present application provide a display method and an electronic device, which can display the execution progress of a time-consuming task while reducing the impact on the normal use of the user, and support application customization of the display mode to improve the user experience.

[0005] In a first aspect, a display method is provided, which is applied to an electronic device, comprising: receiving a first operation of a user to start a first task of a first application on a first interface; displaying a second interface in response to a second operation or when a specific condition is met, and when the first task is in progress, the second interface is used to indicate the execution progress of the first task; when the first task ends, refreshing the second interface, and the second interface no longer indicates the execution progress of the first task.

[0006] In this embodiment, after the electronic device receives the first operation of the user, the first task begins to execute. When responding to the second operation or meeting specific conditions, the electronic device will enter the preset display interface (second interface) of the execution progress of the first task of the first application, and indicate the execution progress of the first task through the second interface. After the execution of the first task is completed, the second interface will be refreshed, so that the second interface returns to the normal display interface. Through the technical solution of the embodiment of the present application, the execution progress of the first task can be flexibly displayed on the corresponding interface according to needs, rather than being displayed in a dominating screen or floating window manner, reducing the impact on the user's normal use of the interface, and it will automatically disappear after the task is completed, thereby improving the user experience.

[0007] In combination with the first aspect, in some implementations of the first aspect, the second interface is any one of a lock screen interface, a wallpaper interface, a watch face interface, an AOD interface, and a sliding notification bar interface.

[0008] In combination with the first aspect, in some implementations of the first aspect, when the second interface is a lock screen interface, before the first task ends, the method also includes: receiving an unlocking operation from a user; and displaying a third interface, wherein the third interface does not indicate the execution progress of the first task.

[0009] In combination with the first aspect, in some implementations of the first aspect, before the first task ends, the method further includes: displaying a first control on the second interface; receiving a user operation on the first control; and adjusting execution of the first task.

[0010] In combination with the first aspect, in some implementations of the first aspect, the first control is a pop-up control, used to prompt a user to determine the execution progress of the first task.

[0011] In combination with the first aspect, in some implementations of the first aspect, the user's operation on the first control is used to pause or start the execution progress of the first task.

[0012] The second control may be a control that supports interaction with the user. When the user clicks the control, the execution progress of the first task may be paused / started, or the execution progress of the first task confirmed by the user may be obtained. For example, in a taxi-hailing task, the user confirms that the driver has picked him up.

[0013] In combination with the first aspect, in some implementations of the first aspect, when the electronic device enters the second interface, the first application is in a background running state.

[0014] When the embodiment of the present application displays the execution progress of the first task, it is not limited whether the first application is running in the foreground or the background, and it can be freely displayed on a predetermined interface, and the application scope is wide.

[0015] In combination with the first aspect, in some implementations of the first aspect, the electronic device includes a first application, a hosting management module and at least one display module, the first application receives a first operation of a user to start a first task of the first application on the first interface, and before receiving the first operation of the user to start the first task of the first application on the first interface, the method also includes: the first application sends a first message to the hosting management module, the first message includes a hosted display type of the first task, a hosted control configuration of the first task and a hosted callback interface of the first task, the hosted display type of the first task includes one of the following: AOD display, dial display, wallpaper display, card display; the hosted management module sends a second message to a first display module corresponding to the first task in the at least one display module according to the hosted display type of the first task, the second message includes the hosted control configuration of the first task and the hosted callback interface of the first task; wherein, displaying the second interface includes: the first display module displays the second interface according to the hosted control configuration and the hosted callback interface.

[0016] In combination with the first aspect, in some implementations of the first aspect, the method also includes: the first application sends a third message to the hosting management module based on the first operation, and the third message is used to start the display hosting operation corresponding to the first task; the hosting management module sends a fourth message to the first display module, and the fourth message is used to start the display hosting operation corresponding to the first task.

[0017] In combination with the first aspect, in some implementations of the first aspect, the hosting management module sends the fourth message to the first display module in response to the second operation or when determining that a specific condition is met.

[0018] In combination with the first aspect, in some implementations of the first aspect, the method also includes: the first display module determines that the first task is in progress based on the fourth message; wherein the second interface is displayed in response to the second operation or when a specific condition is met, including: the first display module obtains the execution progress of the first task from the first application through the callback interface in response to the second operation or when a specific condition is met; the first display module displays the second interface according to the execution progress of the first task.

[0019] In combination with the first aspect, in some implementations of the first aspect, the method also includes: the hosting management module obtains the execution progress of the first task from the first application according to the third message, wherein the second interface is displayed in response to the second operation or when a specific condition is met, including: the first display module obtains the execution progress of the first task from the hosting management module when the second operation is responded to or when a specific condition is met.

[0020] In combination with the first aspect, in some implementations of the first aspect, the method also includes: when the first task ends, the first application sends a fifth message to the hosting management module, and the fifth message is used to stop the display hosting operation corresponding to the first task; the hosting management module sends a sixth message to the first display module, and the sixth message is used to stop the display hosting operation corresponding to the first task; the first display module determines that the first task ends based on the sixth message.

[0021] In combination with the first aspect, in some implementations of the first aspect, the third message includes an identifier of the first task, and the method further includes: the hosting management module determines that the destination of the fourth message is the first display module based on the identifier of the first task.

[0022] In combination with the first aspect, in some implementations of the first aspect, the third message includes an identifier of the first display module.

[0023] In combination with the first aspect, in some implementations of the first aspect, the at least one display module includes: an AOD module, a dial module, and a wallpaper module.

[0024] In combination with the first aspect, in some implementations of the first aspect, the first task is any one of a download task, an upload task, a countdown task, and a taxi task.

[0025] In combination with the first aspect, in some implementations of the first aspect, the second interface includes a second control, and the second control is used to indicate the execution progress of the first task, and the second control is at least one of a progress bar, a clock face, and text.

[0026] In combination with the first aspect, in some implementations of the first aspect, when the first task is in an ending state before the second interface is displayed, the second interface does not indicate the execution progress of the first task.

[0027] In a second aspect, a display method is provided, which is applied to an electronic device, wherein the electronic device includes a first application, a hosting management module and at least one display module, and the method includes: the first application sends a first message to the hosting management module, the first message includes the hosted display type of a first task of the first application, the hosted control configuration of the first task and the hosted callback interface of the first task, the hosted display type of the first task includes one of the following: AOD display, dial display, wallpaper display, card display; the hosted management module sends a second message to a first display module corresponding to the first task in the at least one display module according to the hosted display type of the first task, the second message includes the hosted control configuration of the first task and the hosted callback interface of the first task; when the electronic device enters a state corresponding to the first display module and the first task is in an execution state, the first display module displays a second interface according to the second message, and the second interface is used to indicate the execution progress of the first task.

[0028] The hosting management module may be located in the application framework layer of the electronic device operating system, and the display module (including the first display module) may be located in the application layer or the application framework layer. The hosting management module may be a system service for the electronic device.

[0029] When the first application is installed, started for the first time, or developed, it can register for display hosting operations with the hosting management module and the display module (configure display hosting parameters), so that when the first application's task is executed, the task execution progress can be displayed according to the configured parameters. Since the execution progress of the first task of the first application is started and displayed by the first display module of the electronic device according to the needs of the first application rather than the first application itself displaying it through floating windows, screen dominance, etc., it can save the overhead and power consumption caused by displaying the execution progress of the task, and it supports the first application to customize the display method of the execution progress of the first task, so that the displayed interface is more in line with the user's usage habits.

[0030] In combination with the second aspect, in some implementations of the second aspect, the method also includes: the first application sends a third message to the hosting management module based on the user's first operation, the third message is used to start the display hosting operation corresponding to the first task, and the first operation is used to execute the first task; the hosting management module sends a fourth message to the first display module based on the third message, and the fourth message is used to start the display hosting operation corresponding to the first task; the first display module determines that the first task is in an execution state based on the fourth message.

[0031] After the first task is started, the first application can notify the first display module through the hosting management module, so that the first display module is informed of the start of the first task and displays the execution progress of the first task when the electronic device is in a corresponding state.

[0032] Optionally, after the first task is started, the first application and the hosted management module can interact with each other on the execution progress of the first task, and the first display module can determine from the hosted management module whether there is information of the first task to be displayed when the electronic device is in a corresponding state, such as a screen-off state. If so, it can be displayed according to the requirements of the first task; if not, it can be displayed according to the general screen-off interface.

[0033] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the first display module obtains the execution progress of the first task through the managed callback interface.

[0034] In combination with the second aspect, in some implementations of the second aspect, the method also includes: the first application synchronizes the execution progress of the first task to the hosted management module through the hosted callback interface; and the first display module obtains the execution progress of the first task from the hosted management module.

[0035] In the embodiment of the present application, the progress of the first task can be obtained by the first display module directly interacting with the first application, or can be obtained indirectly from the first application by the first display module interacting with the hosting management module. The first display module can start to obtain the progress of the first task when the electronic device is in a corresponding state (for example, the screen is off state), thereby avoiding frequent waking up of the first display module.

[0036] In combination with the second aspect, in some implementations of the second aspect, the at least one display module includes: an AOD module, a dial module, and a wallpaper module.

[0037] Optionally, if the electronic device is configured with more than one processing core, for example, the electronic device is configured with a smart core and a power-saving core, the display module may also include an AOD module of the power-saving core, a wallpaper module of the power-saving core, and a dial module of the power-saving core, and the corresponding hosted display types may also include an AOD display of the power-saving core, a wallpaper display of the power-saving core, a dial display of the power-saving core, and a card display of the power-saving core.

[0038] In combination with the second aspect, in some implementations of the second aspect, the third message includes an identifier of the first display module.

[0039] In combination with the second aspect, in some implementations of the second aspect, the third message includes an identifier of the first task, and the method further includes: the hosting management module determines that the destination of the fourth message is the first display module based on the identifier of the first task.

[0040] The first application may have multiple tasks that require the display module to assist in displaying the progress of task execution, and in addition to the first application, there may be other applications that require the display module to perform display hosting operations. When sending the third message to start the display hosting operation corresponding to the first task, the identifier of the first task is carried, so that the hosting management module can query the first display unit corresponding to the first task from the storage unit according to the identifier of the first task, triggering the display hosting operation. The identifier of the first task can also be carried in the fourth message and the second message, so that the first display module can distinguish its different tasks.

[0041] In combination with the second aspect, in some implementations of the second aspect, the second interface includes a first control, and the method also includes: the first display module receives a second operation of the user on the first control; the first display module sends a fifth message to the first application based on the second operation; and the first application performs an operation corresponding to the fifth message based on the fifth message.

[0042] The first control may be a control that supports interaction with the user or supports user control (interaction button). When the user operates the first control, for example, operating the first control to confirm whether the driver has received the user in the taxi-hailing task, the display module may return a message to the first application according to the user's operation on the first control, so that the first application can perform corresponding operations according to the corresponding message. In this way, the user can adjust the execution of the task on the display interface provided by the display module, and the user does not need to enter the application interface, which makes the user's operation more concise and improves the user's experience.

[0043] In combination with the second aspect, in some implementations of the second aspect, the method also includes: when the execution of the first task is completed, the first application sends a fifth message to the hosting management module, and the fifth message is used to stop the display hosting operation corresponding to the first task; the hosting management module sends a sixth message to the first display module based on the fifth message, and the sixth message is used to stop the display hosting operation corresponding to the first task; the first display module stops the display hosting operation corresponding to the first task based on the sixth message.

[0044] When the first task is finished, the first application can instruct the first display module to stop the display hosting operation of the first task through the hosting management module, so that the display module can stop the display hosting operation corresponding to the first task by deleting the display information of the first task. In this way, the user can know that the task has been completed.

[0045] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the first display module determines that the execution of the first task is completed according to the execution progress of the first task; and the first display module stops the display hosting operation corresponding to the first task.

[0046] The first display block can determine whether the first task is completed according to the acquired execution progress of the first task, and delete the display information of the first task after the first task is completed. For example, the first task is completed when the download progress reaches 100%.

[0047] In combination with the second aspect, in some implementations of the second aspect, the first task is one of a taxi task, a countdown task, a download task, and an upload task.

[0048] According to a third aspect, a display method is provided, comprising: a hosting management module receives a first message from a first application, the first message includes a hosted display type of a first task of the first application, a hosted control configuration of the first task and a hosted callback interface of the first task, the hosted display type of the first task including one of the following: AOD, watch face display, wallpaper display and card display; the hosted management module sends a second message to a first display module corresponding to the first task among the at least one display module according to the hosted display type of the first task, the second message includes the hosted control configuration of the first task and the hosted callback interface of the first task.

[0049] In combination with the third aspect, in some implementations of the third aspect, the method also includes: the hosting management module receives a third message from the first application, and the third message is used to start the display hosting operation corresponding to the first task; the hosting management module sends a fourth message to the first display module based on the third message, and the fourth message is used to start the display hosting operation corresponding to the first task.

[0050] In combination with the third aspect, in some implementations of the third aspect, the method further includes: the hosting management module obtains the execution progress of the first task from the first application; and the hosting management module synchronizes the execution progress of the first task to the first display module.

[0051] In combination with the third aspect, in some implementations of the third aspect, the at least one display module includes: an AOD module, a dial module, and a wallpaper module.

[0052] Optionally, if the electronic device is configured with more than one processing core, for example, the electronic device is configured with a smart core and a power-saving core, the display module may also include an AOD module of the power-saving core, a wallpaper module of the power-saving core, and a dial module of the power-saving core, and the corresponding hosted display types may also include an AOD display of the power-saving core, a wallpaper display of the power-saving core, a dial display of the power-saving core, and a card display of the power-saving core.

[0053] In combination with the third aspect, in some implementations of the third aspect, the third message includes an identifier of the first display module.

[0054] In combination with the third aspect, in some implementations of the third aspect, the third message includes an identifier of the first task, and the method further includes: the hosting management module determines that the destination of the fourth message is the first display module based on the identifier of the first task.

[0055] In combination with the third aspect, in some implementations of the third aspect, the method also includes: when the execution of the first task is completed, the hosting management module receives a fifth message from the first application, and the fifth message is used to stop the display hosting operation corresponding to the first task; the hosting management module sends a sixth message to the first display module based on the fifth message, and the sixth message is used to stop the display hosting operation corresponding to the first task.

[0056] In combination with the third aspect, in some implementations of the third aspect, the first task is one of a taxi task, a countdown task, a download task, and an upload task.

[0057] In a fourth aspect, a display method is provided, including: a first display module receives a second message from a hosting management module, the second message including a hosting control configuration of the first task and a hosting callback interface of the first task; when the electronic device enters a state corresponding to the first display module and the first display module determines that the first task is in an execution state, the first display module displays a second interface according to the second message, and the second interface is used to indicate the execution progress of the first task.

[0058] In combination with the fourth aspect, in some implementations of the fourth aspect, the method also includes: the first display module receives a fourth message from the hosting management module, and the fourth message is used to start a display hosting operation corresponding to the first task; the first display module determines that the first task is in an execution state based on the fourth message.

[0059] In combination with the fourth aspect, in some implementations of the fourth aspect, the method further includes: the first display module obtains the execution progress of the first task through the managed callback interface.

[0060] In combination with the fourth aspect, in some implementations of the fourth aspect, the method further includes: the first display module obtains the execution progress of the first task from the hosting management module.

[0061] In combination with the fourth aspect, in some implementations of the fourth aspect, the at least one display module includes: an AOD module, a dial module, and a wallpaper module.

[0062] In combination with the fourth aspect, in some implementations of the fourth aspect, the second interface includes a first control, and the method also includes: the first display module receives a second operation of the user on the first control; the first display module sends a fifth message to the first application based on the second operation; the first application performs an operation corresponding to the fifth message based on the fifth message.

[0063] In combination with the fourth aspect, in some implementations of the fourth aspect, the method also includes: when the execution of the first task is completed, the first display module receives a sixth message from the hosting management module, and the sixth message is used to stop the display hosting operation corresponding to the first task; the first display module stops the display hosting operation corresponding to the first task according to the sixth message.

[0064] In combination with the fourth aspect, in some implementations of the fourth aspect, the method further includes: the first display module determines that the execution of the first task is completed according to the execution progress of the first task; and the first display module stops the display hosting operation corresponding to the first task.

[0065] In combination with the fourth aspect, in some implementations of the fourth aspect, the first task is one of a taxi task, a countdown task, a download task, and an upload task.

[0066] In a fifth aspect, an electronic device is provided for executing the method described in the first aspect or any implementation manner of the first aspect to the fourth aspect or any implementation manner of the fourth aspect.

[0067] In combination with the fifth aspect, in some implementations of the fifth aspect, the electronic device is a smart watch.

[0068] In the sixth aspect, an electronic device is provided, comprising: one or more processors; one or more memories; the one or more memories storing one or more computer programs, the one or more computer programs comprising instructions, which, when executed by the one or more processors, enable the method described in the first aspect or any implementation of the first aspect to the fourth aspect or any implementation of the fourth aspect to be executed.

[0069] In the seventh aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the method described in the first aspect or any implementation manner of the first aspect to the fourth aspect or any implementation manner of the fourth aspect is executed.

[0070] In an eighth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions. When the computer instructions are executed on a computer, the method described in the first aspect or any implementation of the first aspect to the fourth aspect or any implementation of the fourth aspect is executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 It is a schematic diagram of the hardware structure of an electronic device to which the embodiments of the present application are applicable.

[0072] Figure 2 It is a schematic diagram of the software structure of an electronic device to which the embodiments of the present application are applicable.

[0073] Figure 3 A schematic flow chart of a display method provided by an embodiment of the present application is shown.

[0074] Figure 4 A graphical user interface provided by an embodiment of the present application is shown.

[0075] Figure 5 A schematic flow chart of a display method provided in an embodiment of the present application is shown.

[0076] Figure 6 A schematic flowchart and a graphical user interface schematic diagram of another display method provided in an embodiment of the present application are shown.

[0077] Figure 7 A schematic block diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0078] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0079] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0080] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0081] The method provided in the embodiments of the present application is applied to electronic devices, including but not limited to mobile phones, tablet computers, vehicle-mounted devices, wearable devices (e.g., smart watches or bracelets), augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), smart screens, and other electronic devices with display screens. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.

[0082] For example, Figure 1 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0083] like Figure 1As shown, the electronic device 100 may include: a processor 110, a memory 120, 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 sensor module 180, a display screen 192, a button 193, etc.

[0084] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.

[0085] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0086] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory, thereby avoiding repeated access, reducing the waiting time of the processor 110, and thus improving the efficiency of the system.

[0087] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

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

[0089] The charging management module 140 is used to receive charging input from the charger. The power management module 141 is used to connect to the battery 142. While the charging management module 140 is charging the battery 142, the power management module 141 can also be used to power the electronic device 100. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, and battery health status.

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

[0091] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0092] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the same device as at least some modules of the processor 110.

[0093] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0094] The electronic device 100 implements the display function through a GPU, a display screen 192, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 192 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

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

[0096] The memory 120 is used to store data and / or instructions.

[0097] The memory 120 may include an internal memory. The internal memory is used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory. The internal memory may include a program storage area and a data storage area. Among them, the program storage area may store an operating system; the program storage area may also store one or more applications (such as a gallery, contacts, etc.). The data storage area may store data (such as images, contacts, etc.) created during the use of the electronic device 100. In addition, the internal memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, universal flash storage (UFS), etc. In some embodiments, the processor 110 may execute instructions stored in the internal memory, and / or instructions stored in a memory provided in the processor 110, so that the electronic device 100 executes the card sharing method provided in the embodiment of the present application.

[0098] The memory 120 may also include an external memory, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory may communicate with the processor 110 via an external memory interface to implement a data storage function, such as storing music, video and other files in the external memory.

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

[0100] The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an acceleration sensor 180C, a distance sensor 180D, a touch sensor 180E, and some other sensors.

[0101] It should be understood that in the embodiment of the present application, there is no limitation on the type of sensors included in the sensor module 180, and the sensor module 180 may include more or fewer sensors, depending on actual needs, which will not be described in detail here.

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

[0103] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0104] The above describes a possible hardware structure diagram of the electronic device 100. The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the electronic device 100 is exemplified.

[0105] Figure 2 FIG. 1 shows a software structure block diagram of an electronic device provided in an embodiment of the present application. Figure 2 As shown in FIG. 1 , the layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, The system is divided into four layers, from top to bottom: application layer, application framework layer, system runtime layer (including system library and Android runtime) and kernel layer. Below the kernel layer is the hardware layer.

[0106] The application layer can include a series of application (APP) packages. Figure 2As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0107] The first application in the embodiment of the present application may be located at the application layer.

[0108] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Figure 2 As shown, the application framework layer may include a window manager, a content provider, a phone manager, a resource manager, a notification manager, a view system, a card service engine, and the like.

[0109] The hosting management module of the embodiment of the present application may be located in the application framework layer, and the display module may be located in the application framework layer or in the application layer. The display module may be located in different processing cores of the electronic device. For example, when the electronic device includes an intelligent core and a power-saving core, the display module may be a module, service or application located in the intelligent core or the power-saving core. The display module may be an application located in the application layer, such as a watch face application, a wallpaper application, etc.; or, the display module may be a module or service located in the application framework layer, for example, the display module may be an always on display (AOD) module or a power-saving-AOD module.

[0110] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0111] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0112] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0113] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0114] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the terminal device vibrates, the indicator light flashes, etc.

[0115] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0116] The system runtime library layer (libraries) can be divided into two parts: system libraries and Android runtime.

[0117] Android runtime is the Android operating environment, including the core library and virtual machine. Android runtime is responsible for the scheduling and management of the Android system. The core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library.

[0118] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0119] The system library is the support of the application framework and can include multiple functional modules, such as: surface manager, media libraries, 2D graphics engine (such as SGL), 3D graphics processing library (such as OpenGL ES), image processing library, etc.

[0120] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0121] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0122] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing, etc.

[0123] A 2D graphics engine is a drawing engine for 2D drawings.

[0124] The kernel layer is the layer between hardware and software, which is used to provide essential functions of the operating system such as file management, memory management, process management, network protocol stack, etc. The kernel layer includes at least display driver, camera driver, audio driver, sensor driver, Bluetooth driver, etc.

[0125] For ease of understanding, the following embodiments of the present application will be described with Figure 1 and Figure 2 Taking the electronic device with the structure shown as an example, the display method provided in the embodiment of the present application is specifically described in combination with the accompanying drawings and application scenarios.

[0126] Electronic devices support networking or distributed capabilities, and can execute time-consuming tasks that consume a long time through the network or distributed methods, such as downloading audio, document, video and other files, or timing, countdown, taxi hailing, audio and video playback and other tasks.

[0127] However, when the electronic device executes these tasks, the user needs to enter the specified path of the task-related application to view the task execution progress. If the task-related application is running in the background, the task execution progress is either not displayed in the foreground, so that the user cannot view the task execution progress; or the task execution progress is displayed in a dominant screen or floating window manner, which consumes a lot of power in the electronic device.

[0128] An embodiment of the present application provides a display method that can reduce system power consumption when an electronic device performs a time-consuming task while allowing a user to conveniently view the progress of task execution, thereby improving the user experience.

[0129] Figure 3 A display method provided by an embodiment of the present application is shown, such as Figure 3 As shown, the method includes:

[0130] S310, receiving a first operation of a user to start a first task of a first application on a first interface.

[0131] S320, in response to the second operation or when a specific condition is met, displaying a second interface, when the first task is in progress, the second interface is used to indicate the execution progress of the first task.

[0132] S330, when the first task is completed, the second interface is refreshed, and the second interface no longer indicates the execution progress of the first task.

[0133] The technical solution provided in the embodiments of the present application can be applied to different electronic devices, for example, it can be applied to terminal devices such as smart phones, tablets, computers, and can also be applied to wearable devices such as smart watches and bracelets. The following mainly takes smart watches as an example to introduce the technical solution of the embodiments of the present application.

[0134] In S310, the first task may be one of an upload task, a download task, a timing task, a countdown task, a taxi-hailing task, etc. The first task is not limited to these tasks, and may also be, for example, a navigation task, a shopping task, etc. The execution of the first task may consume a certain amount of time. For example, after the user triggers the execution of the first task, before exiting the current application interface, the execution of the first task is still not completed, so that the user may check the execution progress of the first task later.

[0135] The user can perform the first task through a first operation, where the first operation can be a click operation of a control on the first application interface, or can be voice input, text input, etc. on the first application interface.

[0136] For example, the first task is a file download or upload task, and the first application is a music or video application. The user can enter the details page of the video or music and click the control to download or upload the music or video file, thereby triggering the execution of the first task. For another example, the first task is a taxi task, and the first application is a taxi application. The user can trigger the execution of the taxi task by waking up the voice assistant and inputting the taxi destination by voice; or the user can trigger the execution of the taxi task by inputting the taxi destination through text or controls. For another example, the first task is a countdown task. The user can trigger the execution of the first task after setting parameters such as the countdown duration or the timing duration.

[0137] In S320, the second interface may be a watch face interface, an AOD interface or a wallpaper interface, a lock screen interface, a sliding notification bar interface, etc. The electronic device may enter the second interface in response to a second operation of the user, for example, the user exits the application interface and enters the watch face interface or the main interface, or the user operates a button on the electronic device with the screen off to make the electronic device enter the lock screen interface, or the user operates a button on the electronic device with the screen on to make it enter the screen off interface. The electronic device may enter the second interface when specific conditions are met, for example, the electronic device automatically enters the screen off display interface if the user does not operate for a long time.

[0138] When the first task is in progress, the second interface can indicate the execution progress of the first task. The second interface can indicate the execution progress of the first task through a second control on the interface. Depending on the first task, the second control can be at least one of a progress bar, a clock face, a text box, etc.

[0139] Figure 4A graphical user interface provided by an embodiment of the present application is shown. Figure 4 (a) shows a graphical user interface showing the progress of execution of the first task on the screen-off display interface. In addition to the control 414 (including a progress bar and text) for the progress of execution of the first task, the interface 410 also includes a time and date control 412 displayed when the screen is off. Figure 4 (c) shows a graphical user interface showing the execution progress of the first task on the watch face interface. In addition to the control 438 indicating the download progress of the first task, the watch face also displays a control 432 indicating the time, a control 434 indicating the weather, and a control 436 indicating the number of steps. Figure 4 In (e), the execution progress of the first task is displayed through a card, which can be set on the screen display interface, the wallpaper interface, the dial interface, and the negative one screen interface. Interface 450 includes multiple cards, for example, card 451, card 452, card 453, card 454, and card 455, wherein card 452 displays the execution progress of the first task.

[0140] It should be understood that in the embodiments of the present application, the screen-off interface, watch face interface, wallpaper interface, negative one screen interface, etc. are not limited to including only the second interface displayed by the AOD module, watch face application, wallpaper application, etc. For example, the first application performs display hosting, but the second application does not perform display hosting. Then, when the time-consuming task in the second application is executed, the second application may display its own interface (such as a small window for music playback), and the electronic device may superimpose the second interface displayed by the second application and the second interface of the display module on the display screen of the electronic device in a certain manner.

[0141] The embodiments of the present application can also be applied to electronic devices with multiple cores. For example, when the electronic device includes a smart core and a power-saving core, the wallpaper interface, lock screen interface, dial interface and AOD interface are the lock screen interface, wallpaper interface, dial interface and AOD interface displayed when the electronic device is in power-saving mode or (hybrid mode).

[0142] When the second interface is the lock screen interface, the execution progress of the first task can be displayed through the control on the lock screen interface, or through a card on the lock screen interface like other notification messages. If the first task is not configured to be displayed on other interfaces such as the sliding notification bar interface (which can be called a pull-down screen or a pull-down list), then when the user unlocks the device, the execution progress of the first task will not be displayed on other interfaces such as the sliding notification bar interface.

[0143] In addition to the second control indicating the execution progress of the first task, the second interface may also include a first control that can provide interaction with the user, for example, the user can pause or start the download / upload task by operating the corresponding control. The first control may also have the function of interacting with the user, for example, the user can click on the progress bar indicating the progress of the download / upload task to pause or start the download / upload task. In addition, the second interface may also have a control for the user to terminate the first task, for example, the user can click on the delete button (for example, ×) provided by the download task to terminate the execution of the first task.

[0144] The above-mentioned first control and second control can be controls fixedly displayed on the second interface. In addition to the above-mentioned fixedly displayed controls, during the execution of the first task, a pop-up control can also be displayed on the second interface. For example, in a taxi-hailing task, a pop-up control can be used to prompt the user to confirm the execution progress of the taxi-hailing task (the pop-up control supports interaction with the user), such as prompting the user to confirm whether to pick up the user.

[0145] The displayed pop-up control may not support interaction with the user. For example, when the taxi-hailing task reaches different stages, different texts or icons may pop up to prompt the user of the current progress of the taxi-hailing task, such as the current stage of "the driver is on the way" or "the driver has arrived".

[0146] In the embodiment of the present application, when the second interface is displayed, it is not limited whether the first application is in the foreground or background. For example, for a taxi task, if during the execution of the taxi task, the user exits the taxi application and does not operate the electronic device for a long time, the electronic device can enter the screen-off state. If the taxi task is configured to display the taxi progress on the lock screen interface or wallpaper interface, the electronic device can display the execution progress of the taxi task when entering the lock screen interface or wallpaper interface (main interface).

[0147] In S330, when the first task is finished, the electronic device may refresh the second interface so that the second interface no longer indicates the execution progress of the first task. For example, the second interface no longer includes the second control indicating the execution progress of the first task.

[0148] Figure 4 (b) Figure 4 (d) Figure 4 (f) shows the display interface of the electronic device after the hosting is completed when the screen is off, the dial is displayed, and the card is displayed. Figure 4 (a) Figure 4 (c) and Figure 4 Compared with (e), the interface no longer has controls 414, 438, and 452 indicating the execution progress of the first task.

[0149] When the execution progress of the first task is displayed in the sliding notification bar, after the execution of the first task is completed, the sliding notification bar interface no longer includes cards, controls, etc. indicating the execution progress of the first task. The sliding notification bar interface may also include other notification information, but the notification information is still displayed normally unless the user manually deletes the notification information in the sliding notification bar.

[0150] When executing the technical solution of the embodiment of the present application, the first application can display the execution progress of the first task on the second interface as required, such as on the AOD interface, the lock screen interface, the wallpaper interface, and the sliding notification bar interface. When the first application customizes different display modes, it can be through different modules in the electronic device, thereby facilitating the execution of the technical solution of the embodiment of the present application. For example, the electronic device may include a first application, multiple display modules, and a hosting management module.

[0151] In order to display the execution progress of the first task according to the needs of the first application, the first application and the first display module can configure the display hosting parameters of the first task through interaction, so that the first display module can store the display hosting parameters of the first task in advance, so that when the first task is executed, the second interface is displayed at work according to the stored display hosting parameters. Specifically, the following steps can be performed when the first application is installed, or when the first application is started for the first time, or when the first application is developed: the first application sends a first message to the hosting management module, the first message includes the hosting display type of the first task, the hosting control configuration of the first task and the hosting callback interface of the first task, and the hosting display type of the first task includes one of the following: AOD display on the screen, dial display, wallpaper display, card display; the hosting management module sends a second message to the first display module corresponding to the first task in at least one display module according to the hosting display type of the first task, the second message includes the hosting control configuration of the first task and the hosting callback interface of the first task, so as to configure appropriate display hosting parameters according to the needs of the first application, so that the first display unit can display the above-mentioned second interface according to the hosting control configuration and the hosting callback interface. For example, if the operating system of the electronic device has a display hosting function, the developer of the first application can automatically configure the display hosting parameters when adapting the first application to the operating system during development or when installing or starting the first application for the first time.

[0152] The hosting management module may provide a registration interface, and the first application may register the interface to configure the display hosting configuration parameters. Specifically, the first application may send a first message to the hosting management module, and the first message includes the hosting display type of the first task, the hosting control configuration of the first task, and the hosting callback interface of the first task. Correspondingly, the hosting management module receives the first message from the first application.

[0153] The managed display type may include one of an AOD display, a wallpaper display, a dial display, and a card display. Corresponding to different managed display types, the execution progress of the first task is displayed on different interfaces (second interfaces) on the electronic device.

[0154] The wallpaper display is a hosted display type when the electronic device is a smart phone, a tablet or other electronic device, and the dial display is a hosted display type when the electronic device is a smart watch, a bracelet or other electronic device.

[0155] Always on display (AOD) is an important function in electronic devices at this stage. AOD is usually used in electronic devices that use organic light-emitting diode (OLED) screens. AOD uses the single-pixel self-luminous characteristics of the OLED screen to light up only local pixels on the OLED screen to display the clock and some commonly used information. In this way, the user does not have to press the entire power button to light up the entire OLED screen every time to check the clock or commonly used information, which helps save power for electronic devices. When the screen is off, the content to be displayed can be displayed through timed display, touch display or all-day display.

[0156] When the hosted display type is AOD display, the execution progress of the first task can be displayed on the screen-off display interface, and the second interface is the screen-off display interface.

[0157] When the hosted display type is a dial display, the execution progress of the first task can be displayed through the controls on the dial, and the second interface is the dial interface.

[0158] When the hosted display type is card display, the execution progress of the first task can be displayed through a card on the dial / wallpaper or through a card on the negative one screen. When the hosted display type is card display, the execution progress of the first task is not limited to being displayed only through the wallpaper / dial or the card on the negative one screen. For example, it can also be displayed on the screen through a card on the screen-off interface or the lock screen interface, or displayed on the sliding notification bar. This application does not limit this. The second interface can be a dial interface, a negative one screen interface, a wallpaper interface, a lock screen interface, a sliding notification bar interface, or a screen-off interface.

[0159] In addition, when the electronic device is configured with multiple processing cores, each processing core may have a similar display module, for example, each processing core has a corresponding dial module. The display module for each processing core may have a corresponding managed display type, for example, the dial display may be divided into dial display 1, dial display 2, ... dial display n, and the dial display may be performed under n processing cores respectively. Exemplarily, the electronic device may be configured with an intelligent core and a power-saving core (the power-saving core may be a microcontroller unit MCU core), so that the AOD display may be further subdivided into the AOD display of the intelligent core and the AOD display of the power-saving core, the wallpaper display may be further divided into the wallpaper display of the intelligent core and the wallpaper display of the power-saving core, the dial display may be further divided into the dial display of the intelligent core and the dial display of the power-saving core, and the card display may be further divided into the card display of the intelligent core and the card display of the power-saving core. When the electronic device is a folding screen mobile phone, the display of the folding main screen may use the intelligent core, and in order to reduce power consumption, in addition to the folding main screen, in the folded state, a small screen may be set for the user to simply handle various tasks, and the display of the small screen may use the power-saving core, thereby reducing the power consumption of the electronic device. Alternatively, the electronic device is a smart watch, and the smart watch may be equipped with a power saving core. When there is no user operation on the smart watch for a period of time, the power saving core may be enabled, thereby reducing the power consumption of the electronic device.

[0160] The second interface may have a control to indicate the execution progress of the first task. The managed control configuration may include the types of controls required to display the execution progress, for example, it may include the types of controls (progress bar, clock face, etc.) and other controls that indicate the execution progress of the first task. The control indicating the execution progress of the first task may be different depending on the type of the first task. For example, for a download or upload task, the managed control may include a progress bar and / or numbers corresponding to the upload and download progress; for a timing or countdown task, the managed control may include a clock face and / or numbers; for a taxi task, the managed control may include a text box that displays the progress of the taxi. Controls are divided into controls that support interaction with the user and controls that do not support interaction with the user. Controls that support interaction with the user may be interactive buttons. The interactive button requirements of the first task can be determined through the managed control configuration of the first task, that is, whether the first task requires an interactive button. For downloading or uploading tasks, interactive buttons may or may not be needed, for example, buttons are provided for users to pause / start downloading or uploading, so the hosted control may also include corresponding buttons; for timing or countdown tasks, interactive buttons may or may not be needed, for example, buttons are also provided to users for pausing / starting timing or countdown tasks, and the hosted control may also include corresponding buttons; for taxi-hailing tasks, if the user needs to be prompted to confirm the corresponding taxi-hailing progress, corresponding interactive buttons (capsules) are required, for example, allowing the user to choose whether the driver should pick up the user.

[0161] The callback interface is an interface created by the first application for interacting with the execution progress of the first task. The first display module can directly or indirectly obtain the execution progress of the first task through the callback interface and update the first control indicating the execution progress of the first task.

[0162] In addition, different capabilities can be pre-configured for different hosted display types, such as supporting different control types (whether to support interactive buttons), and whether to support jumping to the corresponding application (jumping to the interface of the corresponding application when the user clicks the control) can also vary with different hosted display types. For example, AOD display, card display, and wallpaper display can support interactive buttons, while dial display may not support interactive buttons. Card display, wallpaper display, and dial display can support jumping to the corresponding application, while AOD display does not support jumping to the corresponding application. When the electronic device has a power-saving core, different hosted display types under the power-saving core may not support jumping to the corresponding application, thereby reducing the overhead when the power-saving core is used. Taking into account the overhead and types of different electronic devices, the same hosted display type can also have different capabilities. For example, the dial display can also be configured to support interactive buttons, etc. When application developers determine the display hosting parameters required for the first task, different hosted display templates can be provided to these developers. Different templates can provide developers with different hosted display types, including the types of controls supported, whether jumps are supported, and other information. In this way, developers can refer to the capabilities of different templates and select the appropriate hosted display type, thereby avoiding problems with hosted display due to the selected hosted display type not supporting the required controls. For example, application developers hope that the first task hosted display will support jumping to the application. If the AOD display does not support jumping to the application, the developer cannot set the first task to use the AOD display.

[0163] The hosting management module can distribute the interface registered by the first application to the corresponding display module according to the hosted display type, and after receiving the first message sent by the first application, it can send a second message (S320) from at least one display module of the electronic device to the corresponding first display module according to the hosted display type of the first task in the first message, wherein the second message includes the hosted control configuration of the first task and the hosted callback interface of the first task.

[0164] For the hosted display type required for the first task display, the corresponding first display module may be a different module in the electronic device, for example, it may be one of an AOD module, a wallpaper module, and a dial module.

[0165] When the managed display type of the first task is AOD display, the corresponding first display module can be an AOD module (the AOD module can be an application or a process); when the managed display type of the first task is wallpaper display, the corresponding first display module can be a wallpaper module (the wallpaper module can be a wallpaper application, a desktop application, a home application, etc.); when the managed display type of the first task is dial display, the corresponding first display module can be a dial module (the dial module can be a dial application); when the managed display type of the first task is card display, the first display module can be a dial module, a wallpaper module or an AOD module according to the position of the card, that is, the card display can be further divided into a dial card display, a wallpaper card display and an AOD card display, which respectively display the execution progress of the first task through cards on the dial, cards on the wallpaper and cards on the screen-off interface, and the corresponding first display modules are dial modules, wallpaper modules or AOD modules. When the electronic device has multiple cores, the display module can also be a corresponding module in other cores, such as a dial module, a wallpaper module, an AOD module, etc. under a power-saving core.

[0166] Optionally, the above-mentioned AOD module, wallpaper module, and dial module can all be sub-modules of the display module. After the hosting management module receives the first message of the first application, it can directly send the hosted display type of the first task, the hosted control configuration of the first task, and the hosted callback interface of the first task to the display module through the second message. The display module can determine the target sub-display module for displaying the hosted operation based on the hosted display type, and inform the corresponding sub-module of the hosted control configuration of the first task and the hosted callback interface of the first task, so that the corresponding sub-display module can display according to the demand.

[0167] Through the above configuration process, the first display module can store the display hosting parameters of the first task, so that when the first task is subsequently executed, the first display module can display the execution progress of the first task (display the second interface) according to the display hosting parameters.

[0168] The second interface can be displayed by the first display module, and in S320, the first display module displays the second interface in response to the second operation or when a specific condition is met. When the first display module is an AOD module, the electronic device will enter the screen-off state in response to the user's second operation or due to long-term inactivity; when the first display module is a wallpaper module (or home module), the electronic device will enter the main interface (wallpaper interface, interface displayed after exiting the application) or lock screen interface or sliding notification bar interface in response to the user's second operation; when the first display module is a dial module, the electronic device will enter the dial interface.

[0169] In order to display the second interface and make the second interface indicate the execution progress of the first task, the first display module can trigger the acquisition of the execution progress of the first task in a variety of ways. For example, according to the message sent by the first application to the first display module through the hosting management module after the first task is executed, that is, when the first task just starts to be executed, the first display module is informed of the execution of the first task. If the first display module is in a working state when receiving the message, that is, when the electronic device enters the corresponding interface, the first display module can directly determine that the first task is in progress after receiving the fourth message, and synchronize the execution progress of the first task through the hosting callback interface, or obtain the execution progress of the first task through the hosting management module; if the first display module is in a non-working state when receiving the message, the first display module can determine that the first task is in the execution process after working according to the fact that the message that the first task has been ended sent by the first application is not received, thereby directly obtaining the execution progress of the first task through the first application or indirectly obtaining the execution progress of the first task through the hosting management module.

[0170] For another example, when the first task is executed, the first application may also only notify the hosting management module, and the hosting management module may determine whether the first display module is in working state. If it is not in working state, it will temporarily not send a message to the first display module to notify that the first task has started. After the first display module is started, the hosting management module may send a message to the first display module to notify the execution of the first task, or the hosting management module may not send a message. The first display module may always obtain from the hosting management module whether there is a task to be displayed after work, and if so, directly obtain the execution progress of the first task directly or indirectly. Or the first display module obtains the execution progress of the first task directly or indirectly from the first application only after it learns that there is a task being executed based on the fourth message.

[0171] That is to say, when the first application notifies the hosting management module to start the first task through the hosting management module, the first application can send a third message to the hosting management module after receiving the first operation triggered by the user to execute the first task, so as to start the display hosting operation corresponding to the first task. Correspondingly, the hosting management module can receive the third message from the first application.

[0172] After parsing the third message and determining the hosted display type of the first task, the hosting management module sends a fourth message to the first display module corresponding to the first task to start the display hosting operation corresponding to the first task. Correspondingly, the first display module receives the fourth message from the hosting management module.

[0173] When the execution progress of the first task is exchanged between the first application and the first display module, the first application can actively synchronize the execution progress of the first task to the display module through the callback interface, and the synchronization of the execution progress can be periodic or non-periodic. Of course, in the embodiment of the present application, the first display module can also actively obtain the execution progress of the first task, for example, periodically obtain the execution progress of the first task and update the second control indicating the execution progress of the first task.

[0174] When the first application obtains the execution progress of the first task through the hosting management module, after the first task is executed, the first application and the hosting management module can synchronize the execution progress of the first task in real time. After the first display module works, the execution progress of the first task can be obtained from the hosting management module and the corresponding controls or interfaces can be updated.

[0175] In an embodiment of the present application, in addition to the first task, the first application can also execute the second task, the third task, etc., and these tasks may also require corresponding display hosting operations; in addition, in addition to the first application, the electronic device may also have a second application and a third application that execute other tasks that require display hosting operations. Therefore, in order to enable the hosting management module to distinguish different tasks of different applications, the third message and the fourth message may carry the identifier of the first task, so that the hosting management module can determine the display hosting parameters of the first task according to the identifier of the first task, and determine the first display module corresponding to the first task, thereby sending the fourth message to the first display module, and then the first display module can display the second interface according to the display hosting parameters.

[0176] In one embodiment, the identifier of the first task may have a corresponding relationship with the first application, so that different tasks executed by different applications can be distinguished, which facilitates the display module to manage the display hosting parameters of different tasks. In another embodiment, the identifier of the first task may also have no corresponding relationship with the first application. For example, tasks of different applications may have the same identifier. In this case, the fourth message may also carry the identifier of the first application, so that the display module can determine the display hosting parameters of the first task according to the second message.

[0177] In some embodiments, the third message may also carry the identifier of the corresponding first display module, so that after receiving the third message, the hosting management module can directly determine the corresponding first display module sent by the fourth message based on the identifier of the first display module, thereby reducing the overhead and delay caused by the hosting management module reading the display hosting parameters corresponding to the first task.

[0178] In an embodiment of the present application, when the second interface includes a first control that supports further user operations. After the second interface is displayed on the display screen of the electronic device, the first display module can receive the user's operation. When the first display module receives the user's operation on the first control, it can send a message to the first application according to the operation, so that the first application can adjust the execution of the first task according to the message, such as pausing and starting the first task as described above. For example, the first control can be a control that prompts the user to determine the execution progress of the taxi-hailing task. After the taxi-hailing application preliminarily determines that the driver has received the user based on the positioning of the application and the feedback of the driver, it can instruct the first display module to display the first control on the user's electronic device interface to prompt the user to determine whether the driver has received the user. After the user clicks on the first control, the first display module can carry the user's feedback information in the message and send it to the taxi-hailing application, so as to facilitate the taxi-hailing application to further process according to the feedback result. When the user feedbacks that the driver has received it, the subsequent progress of the taxi-hailing task can be entered. When the user feedbacks that the driver has not received it, it can further determine whether other emergencies have occurred.

[0179] When the execution of the first task is completed, the first application may also send a fifth message to the hosting management module to stop the display hosting operation corresponding to the first task. The hosting management module will send a sixth message to the first display module. The sixth message is used to stop the display hosting operation corresponding to the first task, so that the first display module stops the display hosting operation corresponding to the first task according to the sixth message. The fifth and sixth messages may carry the identifier of the first task, so that it is convenient for the hosting management module and the display module to determine that the task for which the display hosting operation needs to be stopped is the first task. Similarly, the fifth message may also carry the identifier of the first display module, so that it is convenient for the hosting management module to determine the target object of the sixth message.

[0180] If the first display module obtains the execution progress of the first task from the hosting management module, the sixth message may not be sent.

[0181] Optionally, the first application may also directly send a message to the first display module to instruct to stop the display hosting operation of the first task after the task is completed, for example, after the download progress reaches 100%.

[0182] Optionally, the first display module can automatically stop the display hosting operation of the first task after the first task is executed. For example, when the download or upload reaches 100%, or when the countdown ends, or when the taxi is taken, the first display module can automatically stop the display hosting operation of the first task.

[0183] The foregoing text introduces the technical solution of the embodiment of the present application by taking the first application registering a hosted display type for the display hosting operation of the first task as an example. The first application may also register multiple hosted display types for the execution of the first task at the same time. For example, the display hosting operation of the first task may use the dial display and the AOD display at the same time. In one embodiment, when the first task is executed, a default display type may be pre-set in the two display types, and the default display type may be preferentially started to perform the display hosting operation of the first task. In another embodiment, the default display type may not be set, but multiple methods may be used simultaneously to display the execution progress of the first task. If the user can make a certain display type unusable according to his or her own usage habits, for example, the screen-off display function may be turned off, then the screen-off display preset by the first application may not work. Since the first application has registered multiple hosted display types for the first task, the execution progress of the first task may also be displayed through other hosted display types.

[0184] In addition, if the first application registers multiple hosted display types for the first task, during the registration process, the hosted management module will perform signaling interaction with the display module corresponding to the hosted display type, so that the multiple display modules can store corresponding display hosting parameters. However, after the first task is executed, the hosted management module will determine whether to use one or more methods to perform the display hosting operation based on the user's system settings, and send a signal to the corresponding display module to start the display hosting operation. For example, the hosted management module determines through the first message that the first task to start the display hosting displays the execution progress of the first task through the AOD display and the dial display, but the hosted management module finds that the user has turned off the screen display function, then it can only send a third message to the dial application to start the display hosting operation of the first task. Of course, the hosted management module can also send the third message to both the AOD module and the dial module, but the AOD module cannot display due to the user's settings.

[0185] The embodiment of the present application only takes the example that the hosting management module and the first display module are different modules to introduce the technical solution of the embodiment of the present application. In actual situations, the hosting management module and the first display module can also be one module. For example, each display module is configured with the function of the hosting management module, and the hosting management module can be distributed on each display module. This application does not limit this.

[0186] The embodiment of the present application only introduces the display hosting operation started by the first task of the first application. The first application may also have other tasks that require display hosting operations. For example, the display hosting of the download task and the music playback task of the music application can use the same or different hosting display types. In addition, different applications can perform display hosting operations together. For example, different tasks of multiple applications can also perform download operations at the same time. In order for users to distinguish the execution progress of different tasks, the tasks of different applications can be distinguished through controls during display, thereby making the display interface clearer.

[0187] In addition, in an embodiment of the present application, the third message may be sent after the user performs the first operation, and the first application finds that the electronic device has entered a state corresponding to the hosted display type based on the display hosting parameters, and then sends the third message to the hosting management module to start the display hosting operation. For example, when the first task is displayed through AOD, the first application can start the display hosting operation through the third message after the first task is executed and the electronic device enters the screen-off state.

[0188] based on Figure 3 The display method shown, Figure 5 An embodiment of the display method provided by the embodiment of the present application is shown. Figure 5 As shown, the following steps are included:

[0189] S502, the music application sends a registration message to the hosting management module.

[0190] S504: The hosting management module sends a registration message to the AOD module.

[0191] In S502 and S504, the music application can register for the display hosting operation when it is installed or when the user opens the application for the first time. The music application can carry the hosting display type (AOD display), hosting control configuration (progress bar, no interactive button required) and hosting callback interface (download progress interface) in the registration message. The hosting management module can distribute the interface registered by the music application to the AOD module according to the hosting display type, and send a registration message to the AOD module, carrying information such as hosting control configuration and hosting callback interface. The registration message can also carry the identifier of the download task.

[0192] S506: The music application receives a download operation from the user.

[0193] When a user enters the interface of a music application, he or she can click the control on the music details page to download the music file of interest.

[0194] S508: The music application sends a message to the hosting management module to instruct the start of the display hosting operation.

[0195] After receiving the download operation from the user, the music application may send a message to the hosting management module to instruct the start of the display hosting operation for the download task, and the message may carry information indicating that the task is a download task. Optionally, the message may also indicate that the corresponding display module is an AOD module.

[0196] S510: The hosting management module sends a message to the AOD module to start a display hosting operation.

[0197] After receiving the message of the music application, the hosting management module may send a message to the AOD module to instruct the AOD module to start the display hosting operation for the download task of the music application. The message may carry information indicating the download task of the music application.

[0198] S512, when the electronic device enters the screen-off state, the AOD module obtains the download progress of the music application through the callback interface, displays a second interface including the download progress of the music application, and the second interface is displayed on the screen-off interface.

[0199] After receiving the start display hosting message from the hosting management module, the AOD module can add the display hosting task of the music application download task to the display task and wait for the electronic device to enter the screen-off state. After the electronic device enters the screen-off state, it can obtain the execution progress of the download task through interaction with the music application, and draw and display the corresponding control indicating the download progress according to the needs of the music application.

[0200] S514, after the download is completed, the music application sends a message to the hosting management module, instructing to stop displaying the hosting operation.

[0201] S516: The hosting management module sends a message to the AOD module, instructing to stop the display hosting operation.

[0202] After the music application is downloaded, it can send a message to the hosting management module to stop displaying the hosting operation, and the hosting management module can send a message to the AOD module to instruct it to stop displaying the hosting operation of the music application download task. The message can carry information indicating the music application download task, so that the AOD module can determine the task that needs to stop displaying the hosting operation.

[0203] S518, the AOD module deletes the download task display information of the music application.

[0204] The AOD module can delete the display information of the music application download task, and the control indicating the execution progress of the music application download task on the interface is also deleted, thereby stopping the display hosting operation of the music application download task. At this time, there may also be controls indicating the execution progress of other tasks on the screen display interface, which is not limited in this application.

[0205] based on Figure 3 The embodiment shown, Figure 6 Another embodiment of the display method provided by the embodiment of the present application is shown. Figure 6 (a), comprising the following steps:

[0206] S602, the taxi-hailing application sends a registration message to the hosting management module.

[0207] S604, the hosting management module sends a registration message to the dial module of the power saving core.

[0208] In S602 and S604, taxi-hailing applications can register for display hosting operations when they are installed or when users open the application for the first time. Taxi-hailing applications can carry the hosting display type (the dial display of the power-saving core), hosting control configuration (text box, pop-up button) and hosting callback interface (taxi-hailing task interface) in the registration message. The hosting management module can distribute the interface registered by the taxi-hailing application to the dial module of the power-saving core according to the hosting display type, and send a registration message to the dial module of the power-saving core, carrying information such as the hosting control configuration and the hosting callback interface. The registration message can also carry the identifier of the taxi-hailing task.

[0209] S606, the taxi-hailing application receives the user's taxi-hailing operation.

[0210] After setting the taxi destination on the taxi interface, the user can click on controls such as "Confirm Call" to confirm the taxi, and the taxi application will receive the user's taxi operation.

[0211] S608, the taxi-hailing application sends a message to the hosting management module to instruct the start of the display hosting operation.

[0212] S610, the hosting management module sends a message to the dial module of the power saving core to start the display hosting operation.

[0213] The dial module is in the power-saving core of the watch, and the trusteeship management module can be located in the smart core. Then, through cross-core communication, a message to start the display trusteeship operation can be sent to the dial module of the power-saving core (the dial module of the power-saving core). If the trusteeship management module is located in the power-saving core, it can directly interact with the dial module of the power-saving core.

[0214] S612, when the electronic device enters the power saving mode, the dial module of the power saving core obtains the taxi-hailing progress from the taxi-hailing application, and draws an interface including controls indicating the taxi-hailing progress, which is displayed on the dial interface.

[0215] The power-saving core's dial module can obtain the taxi-hailing progress by interacting with taxi-hailing applications, and can display an interface including controls indicating the taxi-hailing progress. The interface is displayed on the dial. For example, the dial may display words or icons such as "The driver is on his way" or "The driver has arrived" to indicate the taxi-hailing progress.

[0216] like Figure 6 As shown in (b), the taxi-hailing progress “the driver is on the way” can be displayed on the dial interface 610 through the control 618 (text box).

[0217] S614, the dial module of the power saving core prompts the user to confirm whether to receive the call, and obtains user confirmation information.

[0218] When the driver arrives, the power-saving core dial module can also prompt the user to confirm whether the driver has picked up the user through a pop-up button. The user can click the corresponding button to confirm whether the driver has picked up the user.

[0219] like Figure 6 As shown in (c), if the taxi-hailing progress is updated to the driver having arrived, a control 620 may pop up on the interface 610, prompting the user to confirm whether the driver has picked up the user. The user may confirm the taxi-hailing progress by clicking on the control 620.

[0220] S616, the dial module of the power saving core returns user feedback information to the taxi-hailing application.

[0221] After the user confirms, the power-saving core's watch face module will return the result to the taxi-hailing app through the callback interface for the app's backend processing.

[0222] S618, the taxi hailing is completed, and the taxi hailing application sends a message to the hosting management module, instructing to stop displaying the hosting operation.

[0223] S620, the hosting management module sends a message to the dial module of the power saving core, instructing to stop the display hosting operation.

[0224] S622, the watch face module of the power saving core deletes the display information of the taxi-hailing application.

[0225] After deleting the display information of the taxi-hailing application, if the electronic device is still in the watch face interface, the watch face interface of the power saving core will still display the interface, but the interface will not include controls indicating the progress of the taxi.

[0226] Figure 6 Taxi-hailing apps can also use other display types, such as wallpaper display, card display, and screen-off display light. Taxi-hailing apps can run in the foreground or in the background.

[0227] Above through Figures 3 to 6 The display method provided by the embodiment of the present application is introduced. Figure 7An electronic device provided in an embodiment of the present application is introduced.

[0228] Figure 7 An electronic device 700 provided in an embodiment of the present application is shown. The electronic device 700 includes a first application 710 and a first display module 720, and may optionally include a hosted display module 730. The first application 710 is used to execute Figure 3 Corresponding to step S310 of the embodiment, the first display module 720 is used to execute steps S320 and S330.

[0229] Specifically, the first application 710 is used to receive a first operation from a user to start a first task of the first application 710 on a first interface; the first display module 720 is used to display a second interface in response to a second operation or when a specific condition is met, and when the first task is in progress, the second interface is used to indicate the execution progress of the first task; when the first task ends, the second interface is refreshed, and the second interface no longer indicates the execution progress of the first task.

[0230] In the embodiment of the present application, the second interface is any one of a lock screen interface, a wallpaper interface, a watch face interface, an AOD interface, and a sliding notification bar interface.

[0231] In an embodiment of the present application, when the second interface is a lock screen interface, before the first task is completed and after receiving an unlocking operation from the user, the first display unit is also used to display a third interface, which does not indicate the execution progress of the first task.

[0232] In an embodiment of the present application, before the first task is completed, the first display unit is further used to: display the first control on the second interface; receive user operations on the first control; and the first application 710 is further used to adjust the execution of the first task.

[0233] In the embodiment of the present application, the first control is a pop-up control, which is used to prompt the user to determine the execution progress of the first task.

[0234] In the embodiment of the present application, the user's operation on the first control is used to pause or start the execution progress of the first task.

[0235] In the embodiment of the present application, when the electronic device enters the second interface, the first application 710 is in the background running state.

[0236] In an embodiment of the present application, the electronic device also includes a hosting management module 730 and at least one display module (including a first display module 720), and the first application 710 is also used to: send a first message to the hosting management module 730, the first message including the hosted display type of the first task, the hosted control configuration of the first task and the hosted callback interface of the first task, the hosted display type of the first task including one of the following: AOD display on the screen, dial display, wallpaper display, card display; the hosting management module 730 is used to send a second message to the first display module 720 corresponding to the first task in the at least one display module according to the hosted display type of the first task, the second message including the hosted control configuration of the first task and the hosted callback interface of the first task; wherein the first display module 720 is specifically used to: display the second interface according to the hosted control configuration and the hosted callback interface.

[0237] In an embodiment of the present application, the first application 710 is also used to send a third message to the hosting management module 730 based on the first operation, and the third message is used to start the display hosting operation corresponding to the first task; the hosting management module 730 is also used to send a fourth message to the first display module 720, and the fourth message is used to start the display hosting operation corresponding to the first task.

[0238] In the embodiment of the present application, the hosting management module 730 is used to send the fourth message to the first display module 720 in response to the second operation or when it is determined that a specific condition is met.

[0239] In an embodiment of the present application, the first display module 720 is also used to determine that the first task is in progress based on the fourth message; wherein the first display module 720 is specifically used to: in response to the second operation or satisfying specific conditions, obtain the execution progress of the first task from the first application 710 through the callback interface; according to the execution progress of the first task, display the second interface.

[0240] In an embodiment of the present application, the hosting management module 730 is also used to obtain the execution progress of the first task from the first application 710 according to the third message; wherein the first display unit is specifically used to: obtain the execution progress of the first task from the hosting management module 730 in response to the second operation or when specific conditions are met.

[0241] In an embodiment of the present application, when the first task ends, the first application 710 is also used to send a fifth message to the hosting management module 730, and the fifth message is used to stop the display hosting operation corresponding to the first task; the hosting management module 730 is also used to send a sixth message to the first display module 720, and the sixth message is used to stop the display hosting operation corresponding to the first task; the first display module 720 is also used to determine the end of the first task based on the sixth message.

[0242] In the embodiment of the present application, the third message includes the identifier of the first task, and the hosting management module 730 is further used to determine that the sending object of the fourth message is the first display module 720 according to the identifier of the first task.

[0243] In the embodiment of the present application, the third message includes the identifier of the first display module 720 .

[0244] In an embodiment of the present application, the at least one display module includes: an AOD module, a dial module, and a wallpaper module.

[0245] In the embodiment of the present application, the first task is any one of a download task, an upload task, a countdown task, and a taxi task.

[0246] In an embodiment of the present application, the second interface includes a second control, and the second control is used to indicate the execution progress of the first task. The second control is at least one of a progress bar, a clock face, and text.

[0247] In the embodiment of the present application, when the first task is in an ending state before the second interface is displayed, the second interface does not indicate the execution progress of the first task.

[0248] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0249] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0250] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0251] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0252] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0253] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0254] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A display method, applied to an electronic device, characterized in that: include: Receiving a first operation of a user starting a first task of a first application on a first interface; In response to a second operation or when a specific condition is met, a second interface is displayed, and when the first task is in progress, the second interface is used to indicate the execution progress of the first task; When the first task is completed, the second interface is refreshed, and the second interface no longer indicates the execution progress of the first task.

2. The method according to claim 1, characterized in that The second interface is any one of a lock screen interface, a wallpaper interface, a watch face interface, an AOD interface, and a sliding notification bar interface.

3. The method according to claim 1 or 2, characterized in that: When the second interface is a lock screen interface, before the first task ends, the method further includes: Receive the user's unlocking operation; A third interface is displayed, and the third interface does not indicate the execution progress of the first task.

4. The method according to any one of claims 1 to 3, characterized in that Before the first task is completed, the method further includes: Displaying a first control on the second interface; Receiving an operation of the first control by a user; The execution of the first task is adjusted.

5. The method according to claim 4, characterized in that The first control is a pop-up control, which is used to prompt the user to confirm the execution progress of the first task.

6. The method according to claim 4, characterized in that The user's operation on the first control is used to pause or start the execution progress of the first task.

7. The method according to any one of claims 1 to 6, characterized in that When the electronic device enters the second interface, the first application is in the background running state.

8. The method according to any one of claims 1 to 7, characterized in that The electronic device includes a first application, a hosting management module and at least one display module, the first application receives a first operation of a user starting a first task of the first application on the first interface, and before receiving the first operation of the user starting the first task of the first application on the first interface, the method further includes: The first application sends a first message to the hosting management module, where the first message includes a hosting display type of the first task, a hosting control configuration of the first task, and a hosting callback interface of the first task, where the hosting display type of the first task includes one of the following: AOD display, dial display, wallpaper display, and card display; The hosting management module sends a second message to a first display module corresponding to the first task among the at least one display module according to the hosting display type of the first task, wherein the second message includes the hosting control configuration of the first task and the hosting callback interface of the first task; The displaying of the second interface includes: the first display module displays the second interface according to the managed control configuration and the managed callback interface.

9. The method according to claim 8, characterized in that The method further comprises: The first application sends a third message to the hosting management module according to the first operation, wherein the third message is used to start a display hosting operation corresponding to the first task; The hosting management module sends a fourth message to the first display module, where the fourth message is used to start a display hosting operation corresponding to the first task.

10. The method according to claim 9, characterized in that The hosting management module sends the fourth message to the first display module in response to the second operation or when determining that a specific condition is met.

11. The method according to claim 9 or 10, characterized in that: The method further comprises: The first display module determines, according to the fourth message, that the first task is in progress; wherein in response to the second operation or when a specific condition is met, displaying the second interface includes: The first display module obtains the execution progress of the first task from the first application through the callback interface in response to the second operation or when a specific condition is met; The first display module displays the second interface according to the execution progress of the first task.

12. The method according to claim 9 or 10, characterized in that: The method further comprises: The hosting management module obtains the execution progress of the first task from the first application according to the third message. The step of displaying the second interface in response to the second operation or when a specific condition is met includes: The first display module obtains the execution progress of the first task from the hosting management module in response to the second operation or when a specific condition is met.

13. The method according to any one of claims 9 to 12, characterized in that The method further comprises: When the first task is finished, the first application sends a fifth message to the hosting management module, where the fifth message is used to stop the display hosting operation corresponding to the first task; The hosting management module sends a sixth message to the first display module, where the sixth message is used to stop the display hosting operation corresponding to the first task; The first display module determines, according to the sixth message, that the first task is completed.

14. The method according to any one of claims 9 to 13, characterized in that The third message includes an identifier of the first task, and the method further includes: The hosting management module determines, according to the identifier of the first task, that the destination of sending the fourth message is the first display module.

15. The method according to any one of claims 9 to 13, characterized in that The third message includes an identifier of the first display module.

16. The method according to any one of claims 9 to 13, characterized in that The at least one display module comprises: AOD module, dial module, wallpaper module.

17. The method according to any one of claims 1 to 16, characterized in that The first task is any one of a downloading task, an uploading task, a countdown task, and a taxi-hailing task.

18. The method according to any one of claims 1 to 17, characterized in that The second interface includes a second control, and the second control is used to indicate the execution progress of the first task. The second control is at least one of a progress bar, a clock face, and text.

19. The method according to claim 1, characterized in that When the first task is in an ending state before the second interface is displayed, the second interface does not indicate the execution progress of the first task.

20. An electronic device, characterized in that: include: one or more processors; One or more memories; the one or more memories store one or more computer programs, the one or more computer programs include instructions, when the instructions are executed by one or more processors, the display method as described in any one of claims 1 to 19 is executed.

21. A chip, characterized in that: The chip includes a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the display method according to any one of claims 1 to 19 is executed.

22. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the display method according to any one of claims 1 to 19 is executed.

Citation Information

Cited By

  • Dynamic wallpaper display method and electronic equipment

    CN120276694A