Interface display method and electronic device
By dynamically reproducing background wallpapers across AOD, screen lock, and desktop interfaces, the method addresses the disjointed visual experience in existing technologies, enhancing the visual appeal and reducing power consumption.
Patent Information
- Application Number
- JP2023515162
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-09-07
- Filing Date
- 2021-08-06
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2041-08-06
AI Technical Summary
The existing interface display methods for electronic devices, particularly when transitioning between Always On Display (AOD), screen lock, and desktop interfaces, result in a disjointed and visually poor experience due to independent presentation of background wallpapers at each stage.
The method involves dynamically and continuously reproducing the background wallpaper as the electronic device enters or exits the AOD, screen lock, or desktop interface, ensuring a seamless and visually consistent experience by associating the wallpapers across these stages.
This approach enhances the visual effect of interface presentation, meeting user demands for a cool and personalized interface display while reducing power consumption by ensuring continuous playback of live wallpapers.
Smart Images

Figure 0007661672000001 
Figure 0007661672000002 
Figure 0007661672000003
Abstract
Description
[Technical field]
[0001] This application claims priority to Chinese Patent Application No. 202010930870.4, entitled “INTERFACE DISPLAY METHOD AND ELECTRONIC DEVICE,” filed with the China National Intellectual Property Office on September 7, 2020, and incorporated herein by reference in its entirety.
[0002] The present application relates to the technical field of terminals, and in particular to an interface display method and electronic device. [Background technology]
[0003] An always on display (AOD) may be a display screen of a terminal (such as a mobile phone or tablet computer) that is turned on after the display screen is turned off, and may display an AOD interface. The AOD interface may include information such as time, date, and notifications, so that the time, date, and notifications can be viewed without the user having to perform any operation. Additionally, the AOD interface may further include a background wallpaper to enhance the visual effect of the AOD interface.
[0004] Specifically, when the terminal displays the AOD interface, the user may tap the power key to power on the entire display screen, enter the screen lock interface, and enter the desktop after the interface is unlocked. However, when the terminal switches from the AOD interface to the screen lock interface, and then switches from the screen lock interface to the desktop, the background wallpapers in different interface display stages are presented independently of each other and cannot be visually associated. Therefore, the visual effect of the presentation is relatively poor, which cannot meet the user's demand for a stylish and personalized interface display. Summary of the Invention
[0005] An embodiment of this application provides an interface display method and an electronic device, so that when the electronic device enters a desktop or screen lock interface from an AOD interface, and returns to the AOD interface from the desktop or screen lock interface, the background wallpaper is dynamically and continuously played, thereby enhancing the visual effect of the interface presentation and helping to meet users' requirements for stylish and personalized interface display.
[0006] According to a first aspect, an embodiment of the present application provides an interface display method, the method specifically includes, in an AOD stage, an electronic device receiving a screen-on operation. When the electronic device receives the screen-on operation, the electronic device displays a first interface. The first interface includes a first wallpaper and a first wallpaper upper layer element. In response to the screen-on operation, the electronic device terminates the AOD stage and displays a second interface. The second interface includes a second wallpaper upper layer element and a second wallpaper, and the first interface is associated with or is the same as the second interface.
[0007] In this embodiment of the application, the second interface is associated with or is the same as the first interface, so that the background wallpaper appears to be dynamically and continuously played when the electronic device enters the second interface from the first interface, thereby helping to enhance the visual effect of the interface presentation. Additionally, the electronic device exits the AOD stage and then displays the second interface, thereby helping to reduce the power consumption of the electronic device.
[0008] In a possible design, in this embodiment of this application, the first interface may be related to or the same as the second interface in the following manner.
[0009] The first wallpaper is related to or is the same as the second wallpaper, and / or the layout of the first wallpaper top layer elements is related to or is the same as the layout of the second wallpaper top layer elements, which helps to simplify implementation.
[0010] In a possible design, the second wallpaper is a picture of the first frame of the first live wallpaper. After displaying the second interface, the electronic device sequentially displays the picture of the second frame to the picture of the Nth frame of the live wallpaper, where N is a positive integer equal to or greater than 2. This helps to further enhance the visual effect of the interface presentation.
[0011] In a possible design, during the screen lock display phase, the electronic device receives a screen off operation. In response to the screen off operation, the electronic device sequentially displays the Nth frame picture through the first frame picture of the first live wallpaper, which serves to further enhance the visual effect of the interface presentation from the screen lock display phase to the AOD phase.
[0012] In a possible design, after displaying a picture of the first frame of the first live wallpaper, the electronic device enters an AOD stage and displays a third interface, the third interface includes a third wallpaper and a third wallpaper upper layer element, the first wallpaper is the same as the third wallpaper, and the layout of the third wallpaper upper layer element is the same as the layout of the first wallpaper upper layer element.
[0013] In a possible design, during the screen lock display phase, the electronic device receives an unlock operation. Upon receiving the unlock operation, the electronic device displays a fourth interface. The fourth interface includes a fourth wallpaper. In response to the unlock operation, the electronic device exits the screen lock phase and displays a fifth interface. The fifth interface includes a fifth wallpaper, where the fourth wallpaper is the same as or associated with the fifth wallpaper. This serves to further enhance the visual effect of the interface presentation from the screen lock display phase to the screen unlock display phase.
[0014] In a possible design, the fifth wallpaper is a picture of a first frame of the second live wallpaper. After displaying the fifth interface, the electronic device displays pictures of the second frame through the Mth frame of the second live wallpaper, where M is a positive integer equal to or greater than 2. This helps to further enhance the visual effect of the interface presentation from the screen lock display stage to the screen unlock display stage.
[0015] In a possible design, during a screen unlock display phase, the electronic device receives a screen off operation.
[0016] In response to a screen-off operation, the electronic device terminates the screen unlock display phase and sequentially displays the Mth frame picture through the first frame picture of the second live wallpaper and the Nth frame picture through the first frame picture of the first live wallpaper. The electronic device enters the AOD phase after displaying the first frame picture of the first live wallpaper.
[0017] Sequentially displaying the Mth frame picture to the first frame picture of the second live wallpaper and the Nth frame picture to the first frame picture of the first live wallpaper may be understood as first sequentially displaying the Mth frame picture to the first frame picture of the second live wallpaper, and then, after displaying the first frame picture of the second live wallpaper, sequentially displaying the Nth frame picture to the first frame picture of the first live wallpaper.
[0018] This helps further enhance the visual effect of the interface presentation from the screen unlock display stage to the AOD stage.
[0019] In a possible design, after entering the AOD stage, the electronic device displays a sixth interface, the sixth interface including a sixth wallpaper, the sixth wallpaper being the same as or associated with a picture of the first frame of the first live wallpaper.
[0020] In a possible design, in this embodiment of the application, the electronic device may be capable of displaying the second interface in response to a screen-on operation in the following manner:
[0021] In response to the screen-on operation, the electronic device obtains first position information. The first position information is used to indicate a position of the screen-on area on the first interface. The electronic device displays the second interface according to the first position information. This helps simplify implementation.
[0022] In a possible design, the location of the screen-on area includes a display location of the first wallpaper and a display location of a layer element above the first wallpaper.
[0023] In a possible design, the electronic device displays the second interface based on the first location information in the following manner.
[0024] The electronic device determines a position of a display object of the second wallpaper according to the display position of the first wallpaper, determines a display position of a second wallpaper upper layer element according to the display position of the first wallpaper upper layer element, and displays a second interface according to the position of the display object and the display position of the second wallpaper upper layer element, which is helpful for simplifying implementation.
[0025] In a possible design, in response to the screen-on operation, the electronic device may exit the AOD phase and display the second interface in the following two cases:
[0026] In response to the screen-on operation, the electronic device exits the AOD phase, enters a screen lock phase, and displays the second interface, or in response to the screen-on operation, the electronic device exits the AOD phase, enters a desktop phase, and displays the second interface.
[0027] According to a second aspect, there is provided an electronic device of an embodiment of this application. The electronic device includes modules / units for performing the method of the first aspect or any one of the possible designs of the first aspect above. These modules / units may be implemented by hardware or by the hardware executing corresponding software.
[0028] According to a third aspect, there is provided a chip provided by an embodiment of this application. The chip is coupled to a memory in an electronic device and configured to call a computer program stored in the memory and execute the technical solution of any one of the above first aspect and possible designs of the first aspect in the embodiment of this application. In this embodiment of this application, "coupled" means that two components are directly or indirectly coupled to each other.
[0029] According to a fourth aspect, there is provided a computer-readable storage medium of an embodiment of this application, the computer-readable storage medium including a computer program, which, when executed in an electronic device, enables the electronic device to implement the technical solution of any one of the above first aspect and possible designs of the first aspect.
[0030] According to a fifth aspect, there is provided a computer program of an embodiment of this application, the computer program comprising instructions, which, when executed in a computer, enable the computer to implement the technical solution of any one of the above first aspect and possible designs of the first aspect.
[0031] According to a sixth aspect, a graphic user interface on an electronic device of an embodiment of this application is provided. The electronic device has a display screen, one or more memories, and one or more processors. The one or more processors are configured to execute one or more computer programs stored in the one or more memories, and the graphic user interface includes a graphic user interface that is displayed when the electronic device executes any one of the technical solutions of the above first aspect and possible designs of the first aspect.
[0032] For the beneficial effects of the second to sixth aspects, please refer to the beneficial effects of the first aspect, and the details will not be described again here. [Brief description of the drawings]
[0033] [Figure 1A] 1 is a schematic diagram of an AOD interface according to an embodiment of this application;
[0034] [Figure 1B] 1 is a schematic diagram of another AOD interface according to an embodiment of the present application.
[0035] [Diagram 2] FIG. 1 is a schematic diagram of a hardware structure of a terminal according to an embodiment of this application;
[0036] [Diagram 3] FIG. 2 is a schematic diagram showing an interface according to an embodiment of the present application;
[0037] [Figure 4] FIG. 13 is a schematic diagram showing another interface according to an embodiment of the present application.
[0038] [Diagram 5] FIG. 2 is a schematic diagram of the software structure of a terminal according to an embodiment of this application;
[0039] [Figure 6A] FIG. 2 is a schematic diagram showing an interface according to an embodiment of the present application;
[0040] [Figure 6B] 1 is a flowchart of an interface display method according to an embodiment of the present application.
[0041] [Figure 7A] FIG. 13 is a schematic diagram showing another interface according to an embodiment of the present application.
[0042] [Figure 7B]4 is a flowchart of another interface display method according to an embodiment of the present application.
[0043] [Figure 8A] FIG. 13 is a schematic diagram showing another interface according to an embodiment of the present application.
[0044] [Figure 8B] 4 is a flowchart of another interface display method according to an embodiment of the present application.
[0045] [Figure 9A] FIG. 13 is a schematic diagram showing another interface according to an embodiment of the present application.
[0046] [Figure 9B] 4 is a flowchart of another interface display method according to an embodiment of the present application.
[0047] [Figure 10] FIG. 2 is a schematic diagram of an interface according to an embodiment of the present application.
[0048] [Figure 11] FIG. 2 is a schematic diagram of another interface according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0049] With the introduction of AOD, when the display screen of an electronic device is powered off, a portion of the display screen may be powered on to display an AOD interface. The AOD interface may include information such as time, date, and notifications, so that a user can view the time, date, notifications, etc. without operating the electronic device to power on the display screen. The information such as time, date, notifications, etc. may be understood as elements of a wallpaper upper layer. For example, as shown in FIG. 1A, the AOD interface includes the time and date.
[0050] Additionally, the AOD interface may further include a background wallpaper to improve the visual effect of the AOD interface. For example, as shown in FIG. 1B, the AOD interface includes a time, a date, and a background wallpaper. It can be understood that the background wallpaper may overlap the time and / or the date. For example, when the background wallpaper overlaps with the time and / or the date, the time and / or the date are located on top of the background wallpaper, so as to avoid the background wallpaper covering the time and / or the date and affecting the user's viewing of the time and / or the date.
[0051] The background wallpaper included in the AOD interface is dynamic or static. Generally, in order to reduce the power consumption of the electronic device, the background wallpaper included in the AOD interface is static, that is, the background wallpaper presented in the AOD interface to the user is one frame or one picture.
[0052] When the background wallpaper is static, it can be understood that the background wallpaper is a still wallpaper. A still wallpaper can be understood as a frame, or a picture or a photograph. When the background wallpaper is dynamic, the background wallpaper can be understood as a still wallpaper. LiveIt can be understood that the live wallpaper is a wallpaper. One live wallpaper may include multiple frames or multiple associated pictures or photos. The electronic device may sequentially display multiple frames of the associated pictures included in the live wallpaper according to the association order of the pictures to form a forward animation effect. Alternatively, the electronic device may display multiple frames of the associated pictures included in the live wallpaper in reverse order according to the association order of the pictures to form a backward animation effect. For example, the live wallpaper includes 10 frames of associated pictures, which are consecutive from picture 1 to picture 10. When the electronic device displays the live wallpaper on the display screen, if the live wallpaper is played sequentially from picture 1 to picture 10, the electronic device presents a forward animation effect to the user, and if the live wallpaper is played sequentially from picture 10 to picture 1, the electronic device presents a backward animation effect to the user.
[0053] It should be noted that when the screen of the electronic device is powered off, the position of the screen-on area changes, so that the display screen does not burn out. For example, the position of the time and date included in the AOD interface shown in FIG. 1A is the position of the screen-on area when the screen of the electronic device is powered off. Therefore, the position of the time and date included in the AOD interface shown in FIG. 1A has changed. As another example, the position of the time, date, and background wallpaper included in the AOD interface shown in FIG. 1B is the position of the screen-on area when the screen of the electronic device is powered off. Therefore, the position of the time, date, and background wallpaper included in the AOD interface shown in FIG. 1B has changed. Specifically, when the position of the time, date, and background wallpaper change, the relative positional relationship of the time, date, and background wallpaper may or may not change. This is not limited.
[0054] When the electronic device displays the AOD interface, the user may tap the power key or the home key to power on the display screen, enter the screen lock interface, and enter the desktop after the screen is unlocked. However, when the electronic device enters the screen lock interface from the AOD interface and then enters the desktop from the screen lock interface, the background wallpapers are presented independently at different interface display stages. In other words, when the screen of the electronic device is powered off, the AOD interface is displayed on the display screen, and the background wallpaper of the screen off stage is presented to the user. If the electronic device is not unlocked after the screen is powered on, the screen lock interface is displayed on the display screen, and the background wallpaper of the screen lock stage is presented to the user. After the electronic device is unlocked, the desktop is displayed on the display screen, and the background wallpaper after unlocking is presented to the user. In this case, if the background wallpaper in the screen lock stage and the background wallpaper displayed after unlocking are the same live wallpaper, regardless of how far the live wallpaper in the screen lock stage has been played when the electronic device displays the screen lock interface, when the electronic device is unlocked, the electronic device will stop playing the live wallpaper in the screen lock stage, display the desktop, and then play the live wallpaper from the beginning instead of continuing playing the live wallpaper from where the live wallpaper in the screen lock stage was stopped. As a result, the visual effect of the presentation is relatively poor and cannot meet users' demands for a cool and personalized interface display.
[0055] For example, the background wallpaper in the screen lock stage and the background wallpaper displayed after unlocking are both live wallpaper 1, and live wallpaper 1 includes 15 frames of associated pictures that are consecutive from picture 1 to picture 15. If the electronic device starts playing live wallpaper 1 from picture 1 in the order from picture 1 to picture 15, when picture 6 of the live wallpaper is played, the user unlocks the electronic device and the electronic device switches from the screen lock interface to the desktop. When the electronic device displays the desktop on the display screen, live wallpaper 1 is played according to the order from picture 1 to picture 15, rather than from picture 7. Therefore, when the electronic device enters the desktop from the screen lock interface, the pictures presented to the user are not consistent, and the visual effect of the presentation is relatively poor.
[0056] It should be noted that in this embodiment of the application, the screen-off phase is also called the always-on display phase or AOD phase, which refers to the phase in which the AOD interface is displayed when the screen of the electronic device is powered off. The background wallpaper of the screen-off phase is a background wallpaper included in the AOD interface and belongs to a part of the AOD interface. The screen-lock phase is a phase in which the screen-lock interface is displayed when the screen of the electronic device is powered on, and in the screen-lock phase, the electronic device is not unlocked. It should be noted that the background wallpaper of the screen-lock phase is not a part of the screen-lock interface. The background wallpaper displayed after unlocking is a background wallpaper included in the desktop and belongs to a part of the desktop. The phase in which the interface is displayed by the electronic device after unlocking is the screen-unlock display phase. In the screen-unlock display phase, the electronic device may display the desktop.
[0057] It should be understood that the screen lock interface in this embodiment of the application may include wallpaper-higher layer elements such as timer, date, notification, unlock prompt information, etc. In this embodiment of the application, the background wallpaper included in the screen lock interface may be transparent.
[0058] In consideration of this, an embodiment of this application provides an interface display method, so that when an electronic device enters a desktop or screen lock interface from an AOD interface, and when an electronic device returns to an AOD interface from the desktop or screen lock interface, a background wallpaper is dynamically and continuously played, thereby enhancing the visual effect of the interface presentation and helping to meet users' requirements for stylish and personalized interface display.
[0059] It should be understood that "at least one" in the embodiments of this application refers to one or more. "multiple of" means two or more. "And / or" describes a related relationship between related objects and indicates that three relationships may exist. For example, A and / or B may represent three cases: only A is present, both A and B are present, and only B is present. A and B may be singular or plural. The character " / " typically indicates an "or" relationship between related objects. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or multiple items. For example, at least one of a, b, or c may represent seven cases: a, b, c, a and b, a and c, b and c, and a, b, and c. Each of a, b, and c may be an element or a set including one or more elements.
[0060] In this application, the words "an example," "in some embodiments," "in some other embodiments," and the like are used to denote providing an example, illustration, or explanation. In this application, an embodiment or design described as "an example" or "for example" should not be described as preferred or as having more advantages over other embodiments or designs. Rather, use of the word "example" is used to present concepts in a particular way.
[0061] It should be noted that in the embodiments of this application, terms such as "first" and "second" are used only for purposes of distinction in the description and should not be understood as an indication or implication of relative importance or of sequence.
[0062] The electronic device of this embodiment of the application may be a mobile terminal, such as a mobile phone, a tablet computer, a notebook computer, or a wearable electronic device (such as a smart watch). For example, the mobile terminal may include, but is not limited to, IOS, Android, Windows, or other operating systems. Additionally, the electronic device of this embodiment of the application may be a mobile terminal, such as a desktop computer with a touch-sensitive surface.
[0063] A terminal used as an electronic device is taken as an example. For example, FIG. 2 is a schematic diagram of a hardware structure of a terminal according to an embodiment of this application. Specifically, as shown in the figure, the terminal includes a processor 110, an internal storage device 120, a display screen 130, a microprocessor 131, a power management module 140, a power key 141, a battery 142, a charging management module 143, a universal serial bus (USB) interface 144, a sensor module 150, a camera 160, a subscriber identification module (SIM) card interface 170, an audio module 180, a microphone 180A, a loudspeaker 180B, a receiver 180C, a headset interface 180D, a mobile communication module 190, a wireless communication module 191, etc. The sensor module 180 may include a fingerprint sensor, a touch sensor, etc.
[0064] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), a video codec, a digital signal processor (DSP), a baseband processor, a neural-network processing unit (NPU), etc. The different processing units may be separate components, or two or more different processing units may be integrated into one component.
[0065] The memory may further be located within the processor 110 and configured to store programs and / or data. In some embodiments, the storage device within the processor 110 is a cache. The memory may store instructions or data that are just used or periodically used by the processor 110. When the processor 110 needs to use the program or data again, the processor 110 may directly retrieve the program or data from the memory. This avoids repeated accesses, reduces the latency of the processor 110, and improves the efficiency of the system.
[0066] In some embodiments, the processor 110 may include one or more interfaces. For example, the processor 110 may include a USB interface 144 and a SIM card interface 170. In another example, the processor 110 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, etc.
[0067] The USB port 130 is a port conforming to the USB standard specification, and may specifically be a mini USB port, a micro USB port, a USB Type-C port, etc. The USB interface 130 may be configured to be connected to a charger for charging the terminal, configured to transmit data between the terminal and a peripheral device, or configured to be connected to a headset for playing audio through the headset. The interface may be further configured to be connected to another terminal, for example, an AR device.
[0068] The SIM card interface 170 is configured to be connected to a SIM card. The SIM card may be inserted into the SIM card interface 170 or removed from the SIM card interface 170 to implement contact with or separation from the terminal. The electronic device may support two or N SIM card interfaces, where N is a positive integer greater than two. The SIM card may include a nano SIM card, a micro SIM card, a SIM card, etc. Multiple SIM cards may be inserted into the same SIM card interface 170 at the same time. The multiple SIM cards may be of the same type or different types. In some embodiments, the SIM card interface 170 may also be compatible with an external storage card. Alternatively, in this embodiment of the application, the terminal may use an embedded SIM card, i.e., an eSIM. The eSIM is built into or embedded in the terminal and cannot be separated from the terminal.
[0069] It may be understood that the interface connection relationships between all modules shown in Figure 2 in this embodiment of the present application are merely schematic illustrations and do not constitute architectural limitations of the terminal. For example, in some other embodiments, the modules in the terminal shown in Figure 2 may be connected to each other using a bus, and the bus may include an address bus, a data bus, a control bus, etc.
[0070] The power management module 140 is configured to be coupled to the battery 142, the charging management module 143, and the processor 110. The power management module 140 receives input from the battery 142 and / or the charging management module 143 and provides power to the processor 110, the internal storage 120, the display 130, the camera 160, the wireless communication module 191, etc. The power management module 140 may be configured to monitor parameters such as battery capacity, battery cycle count, battery health (leakage and impedance), etc. In some other implementations, the power management module 140 may alternatively be disposed in the processor 110. Alternatively, the power management module 140 and the charging management module 143 may be located within the same device.
[0071] The power key 141 is used by a user to control power on, power off, screen on, and screen off of the terminal. For example, when the terminal is powered off, the terminal is powered on in response to a long press operation on the power key 141 by the user. In another example, when the screen of the terminal is off, the screen of the terminal is powered on in response to a tap operation on the power key 141 by the user. In another example, when the screen of the terminal is on, the screen of the terminal is powered off in response to a tap operation on the power key 141 by the user. For example, when displaying a screen lock interface or a desktop, the terminal enters an AOD interface in response to a tap operation on the power key 141 by the user, i.e., the AOD interface is displayed on the display screen. For example, when displaying an AOD interface, the terminal enters a desktop or screen lock interface in response to a tap operation on the power key 141 by the user, i.e., the desktop or screen lock interface is displayed on the display screen.
[0072] The charging management module 143 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 143 may receive the wired charger charging input via the USB port 144. In some wireless charging embodiments, the charging management module 143 may receive the wireless charging input through a wireless charging coil of the terminal. When charging the battery 142, the charging management module 143 may also provide power to other modules of the terminal using the power management module 140.
[0073] The wireless communication function of the terminal may be implemented using antenna 1, antenna 2, mobile communication module 190, wireless communication module 191, a modem, a baseband processor, and the like.
[0074] The mobile communication module 190 may be applied to a terminal and provide a wireless communication solution including standards such as 2G / 3G / 4G / 5G, etc. The mobile communication module 190 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
[0075] The wireless communication module 191 may be applied to a terminal device and provide wireless communication solutions including wireless local area networks (WLAN) (e.g., Wi-Fi networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technologies, etc.
[0076] In some embodiments, antenna 1 of the terminal is coupled to mobile communication module 190 and antenna 2 is coupled to wireless communication module 191, such that the terminal may be able to communicate with networks and other devices using wireless communication technologies that may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-CDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, IR technologies, and the like. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a BeiDou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation system (SBAS).
[0077] The terminal implements a display function using a GPU, a display screen 130, an application processor, etc. The display screen 130 is configured to display a user interface, such as an AOD interface, a screen lock interface, a desktop interface, or an application program (such as an address book or settings) interface. For example, after the screen of the terminal is turned off, the AOD interface displayed on the display screen 130 is controlled by the microprocessor 131. After the screen of the terminal is turned on, the interface (e.g., the screen lock interface or the desktop) displayed on the display screen 130 is controlled by the processor 110. In general, the power consumption of the microprocessor 131 is less than the power consumption of the processor 110. For example, the microprocessor 131 may be a sensor hub.
[0078] The display 130 includes a display panel, which may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-LED, a quantum dot light emitting diode (QLED), etc. In some embodiments, the terminal may include one or N display screens 130, where N is a positive integer greater than 1.
[0079] The terminal may implement image capture functionality through the use of an ISP, a camera 160, a video codec, a GPU, a display screen 130, an application processor, and the like.
[0080] The internal storage device 120 includes an active memory and an internal storage device. The active memory may be configured to store programs and / or data, etc. The processor 110 executes the programs stored in the active memory to execute various suspended function applications and data processing. For example, the active memory may include a high-speed random access memory. The internal storage device may also be referred to as an internal external memory, etc., and may be configured to store programs and / or data. For example, the internal storage device may store an operating system, applications, etc. In general, after the terminal loads the programs and / or data in the internal storage device into the active memory, the processor 110 can execute the corresponding programs and / or data to implement the corresponding functions. Additionally, the internal storage device 120 may include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory, and a universal flash storage (UFS).
[0081] The terminal may implement audio functions such as playing and recording music using an audio module 180, a loudspeaker 180A, a receiver 180B, a microphone 180C, a headset interface 180D, an application processor, etc.
[0082] It may be understood that the structure shown in this embodiment of the application does not constitute a specific limitation on the terminal. In some other embodiments of the application, the terminal may include more or fewer components than those shown in the figures, some components may be combined, some components may be split, and there may be different component layouts. The components shown in the figures may be implemented using hardware, software, or a combination of software and hardware.
[0083] The animation display method of this embodiment of the present application will be described in detail with reference to a specific scenario, using a terminal having the hardware structure shown in FIG. 2 as an example.
[0084] As shown in FIG. 3, interfaces A3 to C3 are interfaces that are displayed when the terminal screen is powered off, and interfaces D3 to J3 are interfaces that are displayed when the terminal screen is powered on. Interfaces A3 and C3 are AOD interfaces, interface B3 is a black frame, interfaces D3 to H3 are screen lock interfaces, and interfaces I3 and J3 are desktops. Interfaces A3 and C3 only show the background wallpaper in the screen off stage, and do not show information such as time, date, and notifications. Interfaces D3 to H3 only show the background wallpaper in the screen lock stage, and do not show information such as time, date, and so on. Interfaces I3 and J3 shown in FIG. 3 only show the background wallpaper displayed after unlocking, and do not show information such as desktop application program icons and time.
[0085] For example, if the background wallpaper in the screen lock stage and the background wallpaper displayed after unlocking are live wallpapers, when the user taps the power key while interface A3 is displayed on the display screen of the terminal, in response to the user's operation of tapping the power key, the terminal triggers the playing of the live wallpaper, powers on the display screen, and enters the screen lock interface, i.e., the screen lock interface and the live wallpaper are displayed on the display screen. For example, the live wallpaper is located below the screen lock interface so as to prevent it from covering the content on the screen lock interface. The screen of the terminal is controlled to be powered off by the microprocessor, and triggering the playing of the live wallpaper involves switching from the microprocessor to the processor. Thus, in response to the user's operation of tapping the power key, the terminal displays a black frame such as interface B3 on the display screen. Then, after switching to the processor, the terminal triggers the playing of the live wallpaper and prepares to power on the display screen. While preparing to power on the display screen, the terminal continues to display an AOD interface such as interface C3 on the display screen. After the display screen is ready to be powered on, the terminal terminates the AOD, powers on the display screen, and displays the screen lock interface and the live wallpaper on the display screen, so that the user can see the live wallpaper image during the screen lock stage.
[0086] In response to a user tapping the power key, the terminal triggers the playing of a live wallpaper, but the live wallpaper is not displayed on the display screen, and the AOD interface continues to be displayed. For example, when the terminal displays interface C3, the playing of the live wallpaper is triggered, but interface C3 covers the live wallpaper, i.e., the live wallpaper is located below and covered by interface C3. Therefore, the user cannot see the playing wallpaper using the display screen of the terminal, and can only see interface C3. Alternatively, the terminal may cover interface C3 with the live wallpaper, so that the terminal presents the playing live wallpaper to the user in a screen-off phase. However, in this case, the live wallpaper covers interface C3, so that the user cannot see interface C3 using the display screen. Alternatively, the terminal may use a live wallpaper to cover the background wallpaper included in interface C3, but the live wallpaper is located below wallpaper upper layer elements such as the time, date, and notifications included in interface C3, preventing the live wallpaper from covering the date, time, notifications, etc., so that in the screen-off phase, the user can view information such as the time, date, and notifications included in interface C3 using the display screen of the terminal. In this case, the background wallpaper included in interface C3 is covered by the live wallpaper, and the user cannot view the background wallpaper included in interface C3 using the display screen of the terminal.
[0087] Furthermore, when the terminal displays interface H3, if the user unlocks the terminal (for example, by sliding upward on interface H3 or using a password, fingerprint, or face recognition), the terminal responds to the unlock operation performed by the user on the terminal by exiting the screen lock interface and displays a desktop, such as interface I3, interface J3, etc., on the display screen. The desktop includes a live wallpaper and a wallpaper upper layer element. During the display of the desktop, the terminal continues playing the live wallpaper from where the live wallpaper stopped playing when the terminal exited the screen lock interface. Thus, when the user enters the screen lock interface from the AOD interface and enters the desktop from the screen lock interface, the background wallpaper appears to be played continuously, and the visual effect is relatively good.
[0088] However, in the process of implementing continuous playback of background wallpaper, the terminal will trigger the playback of live wallpaper during the screen-off phase, which will involve the AOD in switching from low power consumption to high power consumption, thereby easily increasing the power consumption of the AOD.
[0089] From this perspective, an embodiment of this application provides another animation display method. Thus, during AOD, the terminal terminates AOD in response to an operation of turning on the display screen (i.e., a screen-on operation), such as tapping the power key, and displays the screen lock interface and the background wallpaper of the screen lock stage on the display screen. Unlike triggering the playback of the live wallpaper before terminating AOD in response to the user's operation of turning on the display screen in FIG. 3 when the background wallpaper of the screen lock stage is a live wallpaper, in this embodiment of this application, the terminal triggers the playback of the live wallpaper when terminating AOD. Thus, the switch from low power consumption to high power consumption does not involve AOD, and the goal of reducing the power consumption of the terminal is achieved. Additionally, the background wallpaper included in the AOD interface in the screen off stage is associated with the background wallpaper displayed in the screen lock stage. Thus, the dynamic effect of the background wallpaper presented to the user during the transition from the screen off stage to the screen lock stage is consistent, thereby helping to improve the visual effect.
[0090] It should be understood that in this embodiment of this application, the terminal exiting the AOD may be understood as the terminal exiting the display of the AOD interface.
[0091] In this embodiment of the application, the background wallpaper included in the AOD interface in the screen lock phase is associated with the background wallpaper displayed in the screen lock phase, which may be understood as the background wallpaper included in the AOD interface in the screen lock phase is associated with the content presented by the background wallpaper displayed in the screen lock phase, or the dynamic effect of the background wallpaper included in the AOD interface in the screen off phase and the content presented by the background wallpaper displayed in the screen lock phase is continuous. For example, the background wallpaper included in the last frame of the AOD interface of the terminal in the screen off phase is the same as or associated with the background wallpaper when the terminal displays the first frame of the screen lock interface in the screen lock phase, i.e., the background wallpaper included in the last frame of the AOD interface of the terminal in the screen off phase is the same as or associated with the displayed content of the background wallpaper when the terminal displays the first frame of the screen lock interface in the screen lock phase.
[0092] When the background wallpaper in the screen lock stage is a live background wallpaper, the background wallpaper when the terminal displays the first frame of the screen lock interface in the screen lock stage may be understood as a picture presented by the live wallpaper when the terminal displays the first frame of the screen lock interface in the screen lock stage, i.e., the first frame of the picture of the live wallpaper in the screen lock stage. For example, the live wallpaper in the screen lock stage includes picture 1 to picture 10, and the content presented by picture 1 to picture 10 is associated with it. When the live wallpaper in the screen lock stage is played sequentially according to the order from picture 1 to picture 10, picture 1 is the first frame of the picture of the live wallpaper in the screen lock stage. Alternatively, when the live wallpaper in the screen lock stage is played sequentially according to the order from picture 10 to picture 1, picture 10 is the picture of the first frame of the live wallpaper.
[0093] Further, in some embodiments, the wallpaper top layer element included in the screen lock interface is associated with the wallpaper top layer element included in the AOD interface. For example, the layout of the wallpaper top layer element included in the first frame of the screen lock interface in the screen lock stage is the same as or associated with the layout of the wallpaper top layer element included in the last frame of the AOD interface in the screen off stage. Thus, when the terminal enters the screen lock interface from the AOD interface, the presentation of the background wallpaper appears continuous or consistent, and the presentation of the wallpaper top layer element appears continuous or consistent. For example, the wallpaper top layer element included in the last frame of the AOD interface in the screen off stage includes the time and date, and the wallpaper top layer element included in the first frame of the screen lock interface in the screen lock stage includes the time and date. For example, with regard to the time and date included in a screen lock interface and the time and date included in an AOD interface, the display size, display position, relative positional relationship, display color, etc. of the time and date included in the two interfaces may be the same, or the display size and display position of the time and date included in the two interfaces may be similar but not completely the same, and the display color may be the same or different.
[0094] For example, the background wallpaper in the screen lock stage is a live wallpaper. For example, as shown in FIG. 4, interfaces A4 to C4 are interfaces displayed when the screen of the terminal is powered off, and interfaces D4 to J4 are interfaces displayed when the screen of the terminal is powered on. Interfaces A4 and B4 are AOD interfaces, interface C4 is a black frame, interfaces D4 to H4 are screen lock interfaces, and interfaces I4 and J4 are desktops. For example, when interface B4 is displayed on the display screen of the terminal, if a user taps the power key, in response to the user's operation of tapping the power key, the terminal terminates the AOD, triggers the playback of the live wallpaper, powers on the display screen, and enters the screen lock interface, i.e., the screen lock interface and the live wallpaper are displayed on the display screen. In this way, the terminal may present the user with a playback image of the live wallpaper when entering the screen lock interface. For example, the live wallpaper may be displayed below the lock screen interface to prevent the live wallpaper from covering any upper layer elements of the wallpaper, such as content, time, date, etc. on the lock screen interface.
[0095] Specifically, in response to the user tapping the power key, the terminal terminates the AOD, switches from the microprocessor to the processor, and after switching to the processor, triggers the playing of the live wallpaper, powers on the display screen, and displays the screen lock interface and the live wallpaper on the display screen. The picture played by the live wallpaper when the terminal displays the first frame of the screen lock interface in the screen lock phase is the same as or associated with the background wallpaper included in the last frame of the AOD interface in the screen off phase. For example, if the first frame of the screen lock interface displayed by the terminal in the screen lock phase is interface D4, and the last frame of the AOD interface displayed by the terminal in the screen off phase is interface B4, the picture played by the live wallpaper when the terminal displays interface D4 is the same as or associated with the background wallpaper included in interface B4. It should be noted that in the process of switching the terminal from the microprocessor to the processor, the terminal displays a black frame, such as interface C4, on the display screen. For example, the duration for a terminal to display a black frame on a display screen is 260ms to 300ms when it takes about 260ms to 300ms to realize the microprocessor-to-processor switch. The time required for the microprocessor-to-processor switch is related to the device processing capability of the terminal. Terminals with different device processing capabilities have different times required for the microprocessor-to-processor switch. A higher processing capability of the terminal indicates a shorter duration required for the microprocessor-to-processor switch.
[0096] Furthermore, when the terminal displays interface H4, if the user unlocks the terminal (e.g., the user slides upward on interface H4 or uses a password, fingerprint, or face recognition), the terminal responds to the unlock operation performed by the user on the terminal by exiting the screen lock interface and displaying the desktop on the display screen. The desktop includes a background wallpaper and wallpaper upper layer elements (application program icons, time, date, widgets, etc.), such as interface I4 and interface J4. When the background wallpaper included in the desktop is a live wallpaper, after the terminal is unlocked, that is, when the desktop is displayed, the live wallpaper continues to play from where the live wallpaper stopped playing when the terminal exited the screen lock interface. Thus, the background wallpaper appears to be dynamically and continuously played from the AOD interface to the screen lock interface and from the screen lock interface to the desktop. Alternatively, if the background wallpaper included in the desktop is a static wallpaper, when the desktop is displayed after the device is unlocked, the static wallpaper included in the desktop is the same as or related to the background wallpaper when the device displays the last frame of the screen lock interface in the screen lock phase, such that the dynamic effect of the background wallpaper appears continuous or consistent from the screen lock interface to the desktop.
[0097] It should be noted that when the background wallpaper in the screen lock stage is a live wallpaper, the background wallpaper when the terminal displays the last frame of the screen lock interface in the screen lock stage may be understood as the picture played by the live wallpaper when the terminal displays the last frame of the screen lock interface in the screen lock stage. For example, the live wallpaper in the screen lock stage includes 10 frames of pictures, i.e., picture 1 to picture 10. If the live wallpaper is played in picture 8 when the terminal displays the last frame of the screen lock interface in the screen lock stage, the background wallpaper when the terminal displays the last frame of the screen lock interface in the screen lock stage is picture 8. Alternatively, if the playback of the live wallpaper ends when the terminal displays the last frame of the screen lock interface in the screen lock stage, the background wallpaper when the terminal displays the last frame of the screen lock interface in the screen lock stage is the last frame of the live wallpaper in the screen lock stage. For example, the live wallpaper in the screen lock stage includes 10 frames of pictures, i.e., picture 1 to picture 10. If the terminal sequentially plays picture 1 to picture 10 in the screen lock stage, the picture of the last frame of the live wallpaper in the screen lock stage is picture 10. If the terminal sequentially plays picture 10 to picture 1 in the screen lock stage, the picture of the last frame of the live wallpaper in the screen lock stage is picture 1.
[0098] If the background wallpaper during the screen lock stage and the background wallpaper displayed after unlocking are live wallpapers, the live wallpaper may be presented to the user and played after the device enters the screen lock interface and desktop, but power consumption will be normal.
[0099] The software architecture of the terminal in this embodiment of the application is introduced below. The software architecture of the terminal in this embodiment of the application may be a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, a cloud architecture, etc. For example, it is taken as an example that the software architecture of the terminal may be the architecture of the Android operating system. As shown in Figure 5, the software architecture of the terminal is divided from top to bottom into three layers: an application layer, a frame layer, and a kernel layer.
[0100] The application layer includes application programs, such as an AOD application, a screen lock application, and a desktop application. The desktop application may include a wallpaper module and a wallpaper upper layer element module. In this embodiment of the application, the wallpaper module may be classified into a static wallpaper module and a live wallpaper module. The wallpaper upper layer element module may be configured to manage the display of wallpaper upper layer elements, such as an application program icon, a time, a power consumption icon, an operator icon, or a widget.
[0101] The frame layer may include an AOD display service, a power manager service, a windows manager service (WMS), an activity manager service (AMS), a wallpaper manager service, and the like.
[0102] The AOD Display Service is used to control the position and content of the screen-on area of the AOD interface.
[0103] The power manager service is used to control the power of the device and trigger the power on of the screen (e.g., to display the screen lock interface) or the power off of the screen (e.g., to display the AOD interface). For example, after receiving a user tapping the power key, the power manager service in the frame layer determines that the user tapping the power key is a screen on event and indicates the screen on event to the AOD application in the application layer. After receiving the indication of the screen on event, the AOD application obtains the current AOD position information from the AOD display service in the frame layer. The current AOD position information is used to indicate the position of the screen on area of the last frame of the AOD interface in the screen off phase before the screen lock interface is switched in response to the screen on event.
[0104] The Wallpaper Manager service is used to control background wallpaper switching for lock screen and desktop applications and to control the duration for which live wallpapers are displayed for lock screen and desktop applications.
[0105] WMS is used for window management, for example, WMS is used to manage the display of wallpaper top layer elements, such as wallpaper top layer elements included in a desktop.
[0106] AMS is used to manage the processes of application programs.
[0107] The kernel layer is a layer located between the hardware and the software, and includes at least the key driver, the sensor driver, the display driver, etc.
[0108] Additionally, in some embodiments, the software architecture of the terminal may further include an Android runtime and a system library. The Android runtime and the system library are located between the frame layer and the kernel layer. The Android runtime schedules and manages the Android operating system. The Android runtime includes a kernel library and a virtual machine. The system library may include a number of function modules, a surface manager, media libraries, a 3D graphics processing library (e.g., OpenGL FS), and a 2D graphics engine (e.g., SGL).
[0109] The interface display method of this embodiment of this application will be specifically introduced below in combination with the software structure of the terminal shown in FIG.
[0110] Embodiment I: The following events are taken as an example: the terminal switches from an AOD interface to a screen lock interface, and switches from the screen lock interface to a desktop or application program interface, the background wallpaper in the screen-off stage is a static wallpaper, and the background wallpaper in the screen lock stage and the background wallpaper displayed after unlocking are live wallpapers.
[0111] As shown in FIG. 6A, interface A6 is an AOD interface, which includes prompt information such as time, date, remaining power, and static wallpaper. Interface B6 is a black frame. Interfaces C6 and D6 are screen lock interfaces with live wallpaper. Interface E 6 is the desktop. Interface F 6 is the address book interface.
[0112] For example, when the screen of the terminal is powered off, interface A6 is displayed on the display screen. If the user taps the power key 6 when the terminal displays interface A6 on the display screen, in response to the user's operation of tapping the power key 6, the terminal terminates the AOD and prepares to power on the display screen. The terminal may display interface B6 on the display screen in the process of preparing to power on the display screen. After the preparation to power on the display screen is completed, the terminal triggers the playing of the live wallpaper in the screen lock phase, and displays the screen lock interface and the live wallpaper on the display screen. In this case, interface A6 is the last frame of the AOD interface in the screen off phase. Specifically, the static wallpaper included in the last frame of the AOD interface in the screen off phase may be the same as or associated with the picture of the first frame of the live wallpaper when the terminal displays the first frame of the screen lock interface in the screen lock phase. Thus, the dynamic effect of the background wallpaper appears continuous or consistent during the switch from the AOD interface to the screen lock interface. For example, when the terminal displays the first frame of the screen lock interface in the screen lock stage, the interface obtained after the screen lock interface and the live wallpaper are superimposed is interface C6, and the background wallpaper included in interface C6 is the picture of the first frame of the live wallpaper in the screen lock stage and is the same as the background wallpaper included in interface A6. Furthermore, in some embodiments, the layout of the wallpaper upper layer elements included in the first frame of the screen lock interface in the screen lock stage is the same as or related to the layout of the wallpaper upper layer elements included in the last frame of the AOD interface in the screen off stage.Thus, the presentation of the wallpaper top layer elements appears continuous or consistent during switching from the AOD interface to the screen lock interface.
[0113] For example, after the terminal exits AOD, the switch from the microprocessor to the processor is involved in the preparation process for powering on the display screen, and the duration for the terminal to display a black frame on the display screen is related to the duration required for the switch from the microprocessor to the processor. For example, if the time required for the switch from the microprocessor to the processor is 260ms to 300ms, the duration for the terminal to display a black frame on the display screen is 260ms to 300ms, or the duration for the terminal to display a black frame on the display screen is slightly longer than the duration required for the switch from the microprocessor to the processor.
[0114] Also, when the terminal displays the interface D6, if the user unlocks the terminal, the terminal may end the display of the screen lock interface and display the desktop on the display screen in response to the unlock operation performed by the user on the terminal. The desktop includes a wallpaper upper layer element and a live wallpaper. When the terminal displays the desktop, the live wallpaper may start playing from where it was stopped when the terminal ended the screen lock interface. Additionally, the live wallpaper ends playing when the last frame is played. When the picture of the last frame of the live wallpaper is played, the live wallpaper is no longer played. When the terminal continues to display the desktop on the display screen, the picture of the last frame of the live wallpaper is continuously displayed as the background wallpaper of the desktop, thereby achieving the goal of saving power consumption. For example, a live wallpaper including picture 1 to picture 15 is taken as an example. The live wallpaper in the screen lock stage includes picture 1 to picture 10, and the background wallpaper displayed after unlocking includes picture 11 to picture 15. When the terminal finishes displaying the screen lock interface, the live wallpaper in the screen lock stage is played up to picture 10, i.e., when the last frame of the screen lock interface in the screen lock stage is displayed, the terminal is unlocked. When the terminal displays the desktop, the live wallpaper is played continuously from picture 11. After the live wallpaper is played up to picture 15, the terminal ends the playback of the live wallpaper. If the terminal continues to display the desktop, picture 15 is displayed continuously as the background wallpaper of the desktop. It should be understood that the contents presented by picture 1 to picture 15 may be associated and form an animation effect. Picture 10 and picture 11 are associated with each other, so that the dynamic effect of the background wallpaper appears continuous or consistent in switching from the screen lock interface to the desktop.
[0115] For example, when the terminal enters a screen lock interface from an AOD interface, and then enters the desktop from the screen lock interface, the flow of the interface display method may be as shown in FIG. 6B, specifically including the following steps:
[0116] 601. The key driver detects a user tapping the power key event and sends an indication of the user tapping the power key event to the power manager service.
[0117] 602. When the terminal screen is powered off, the power manager service, after receiving an indication of a user tapped power key event, determines that the user tapped power key event is used to trigger a screen-on event.
[0118] 603. The power manager service sends an AOD termination command to the AOD application.
[0119] 604. The power manager service sends a screen-on preparation command to the screen lock application.
[0120] 605. After receiving the AOD end command, the AOD application sends an AOD end command to the AOD display service.
[0121] 606. The AOD display service sends the current AOD position information to the AOD application after receiving the AOD end command.
[0122] The current AOD position information is used to indicate the position of the screen-on area of the last frame of the AOD interface in the screen-off stage before the screen lock interface is switched in response to a screen-on event. For example, when the last frame of the AOD interface includes a background wallpaper and a wallpaper upper layer element, the position of the screen-on area may include the position of the background wallpaper and the display position of the wallpaper upper layer element included in the last frame of the AOD interface.
[0123] 607. After the AOD application receives the current AOD location information, it closes the AOD and sends the current AOD location information to the screen lock application. Note that when the AOD application closes the AOD, a black frame may be displayed on the display screen before the display screen is powered on, i.e., a black screen is presented to the user.
[0124] For example, the AOD application terminates the AOD. The process of preparing to power on the display screen before powering on the display screen involves a microprocessor-to-processor switchover. Therefore, at this time, the terminal displays a black frame on the display screen and presents the user with a black screen.
[0125] 608. The power manager service sends a screen-on command to the screen lock application.
[0126] 609. After receiving the screen-on command, the screen lock application sends a first live wallpaper play command to the desktop application. For example, the first live wallpaper play command is used to indicate to the desktop application to play the live wallpaper in the screen lock phase. When switching from the AOD interface to the screen lock interface, the live wallpaper in the screen lock phase refers to the live wallpaper from the AOD phase to the screen lock phase.
[0127] For example, the screen lock application sends a first live wallpaper play command to the wallpaper module of the desktop application after receiving a screen on command.
[0128] 610-1. The screen lock application displays a screen lock interface on the display screen.
[0129] 610-2. After receiving the first live wallpaper playing command, the desktop application plays the wallpaper according to the first live wallpaper playing command and displays the live wallpaper on the display screen.
[0130] The static wallpaper included in the last frame of the AOD interface in the screen-off stage is the same as or related to the picture of the first frame of the live wallpaper when the terminal displays the first frame of the screen lock interface in the screen lock stage. For details not described again in this specification, please refer to the relevant descriptions above.
[0131] There is no necessary order between steps 610-1 and 610-2, for example steps 610-1 and 610-2 may be performed simultaneously.
[0132] 611. The Screen Lock Application receives an event that the user has performed an unlock operation.
[0133] 612. The screen lock application finishes displaying the screen lock interface.
[0134] 613. The screen lock application sends a second live wallpaper play command to the desktop. For example, the second live wallpaper play command is used to indicate a live wallpaper to be displayed after unlocking. When switching from the screen lock interface to the desktop, the live wallpaper to be displayed after unlocking refers to the live wallpaper from the screen lock phase to the desktop phase.
[0135] For example, the screen lock application sends a second live wallpaper play command to the wallpaper module of the desktop application.
[0136] The picture of the last frame of the live wallpaper from the AOD stage to the screen lock stage is associated with the picture of the first frame of the live wallpaper from the screen lock stage to the desktop stage, so that the dynamic effect presented to the user by the live wallpaper is continuous or consistent when the terminal enters the desktop from the screen lock interface.
[0137] 614. After receiving the second live wallpaper play command, the desktop application plays the live wallpaper according to the second live wallpaper play command, displays the live wallpaper and the wallpaper upper layer elements on the display screen, and achieves switching from the screen lock interface to the desktop.
[0138] For example, the live wallpaper from the AOD stage to the screen lock stage and from the screen lock stage to the desktop stage are continuous. In addition, the live wallpaper may implement the connection of the live wallpaper played in different interface display stages by playing the corresponding live wallpaper at the moment when the playback of the live wallpaper from the AOD stage to the screen lock stage is stopped and with reference to the playback command of the live wallpaper from the screen lock stage to the desktop stage. Thus, when viewed by the eye, the live wallpaper appears consistently when the terminal switches from the screen lock interface to the desktop. For example, take as an example a live wallpaper including 20 frames of pictures including picture 1 to picture 20. The live wallpaper from the AOD stage to the screen lock stage includes picture 1 to picture 10, and the live wallpaper from the screen lock stage to the desktop stage includes picture 11 to picture 20. In the screen lock stage, the terminal plays picture 1 to picture 10 sequentially. After being unlocked, the terminal plays picture 11 to picture 20 sequentially. If the live wallpaper from the AOD stage to the screen lock stage is played up to picture 5 when the last frame of the screen lock interface is displayed in the screen lock stage, the terminal is unlocked. After the terminal enters the desktop, the playback starts from picture 6 to picture 20. In this case, after entering the desktop, the terminal may accelerate the playback of the live wallpaper, so that the duration required for the terminal to play picture 6 to picture 20 is the same as the duration required for the terminal to play picture 11 at a normal speed, thereby achieving the purpose of reducing the power consumption of the terminal.
[0139] In some other embodiments, the terminal may further display an interface of an application program on the display screen in response to a user's unlock operation, for example, interface F6 as shown in FIG. 6A. For example, if the user taps the power key when the terminal displays interface F6, in response to the user's operation of tapping the power key, the screen of the terminal is powered off and the AOD interface is displayed on the display screen. In this case, if the user taps the power key to enter a screen lock interface when the terminal displays the AOD interface, the terminal ends the display of the screen lock interface after being unlocked, displays interface F6 on the display screen, and stops playing the live wallpaper.
[0140] Additionally, it should be noted that the static background wallpaper in the screen-off phase may be further replaced by a live background wallpaper in the screen-off phase. In this case, the background wallpaper included in the last frame of the AOD interface in the screen-off phase is the same as or associated with the picture of the first frame of the live wallpaper when the terminal displays the first frame of the screen lock interface in the screen lock phase. The background wallpaper included in the last frame of the AOD interface in the screen-off phase may be understood as the picture played by the live wallpaper included in the AOD interface when the terminal displays the last frame of the AOD interface in the screen-off phase. For example, take as an example that the live wallpaper included in the AOD interface includes picture 1 to picture 5. If the live wallpaper is played up to picture 5 when the terminal displays the last frame of the AOD interface in the screen-off phase, the background wallpaper included in the last frame of the AOD interface in the screen-off phase is picture 5.
[0141] Alternatively, the live background wallpaper displayed after unlocking (i.e., the background wallpaper from the screen lock stage to the desktop stage) may be replaced with a static background wallpaper displayed after unlocking (i.e., the background wallpaper from the screen lock stage to the desktop stage), in which case the picture of the last frame of the live wallpaper from the AOD stage to the screen lock stage is associated with or is the same as the static wallpaper from the screen lock stage to the desktop stage.
[0142] Embodiment II: The following event is taken as an example: the terminal switches from the AOD interface to the desktop, the background wallpaper in the screen-off stage is a static wallpaper, and the background wallpaper in the screen-lock stage and the background wallpaper displayed after unlocking are live wallpapers.
[0143] As shown in Fig. 7A, interface A7 is an AOD interface, which includes prompt information such as time, date, remaining power, and static wallpaper; interface B7 is a fingerprint unlock interface; interface C7 and interface D7 are desktops.
[0144] When the screen of the terminal is powered off, the AOD screen is displayed on the display screen. An example is taken in which the interface A7 is used as the AOD interface. For example, when the interface A7 is displayed on the display screen, if the user taps the power key 7, in response to the user tapping the power key 7, the terminal terminates the AOD, powers on the display screen, and displays a screen lock interface on the display screen. For example, an example is taken in which the interface B7 is used as the screen lock interface. After the user's fingerprint verification is successful, the terminal triggers the playing of a live wallpaper and displays a desktop on the display screen. The desktop includes wallpaper upper layer elements and a live wallpaper. The static wallpaper included in the last frame of the AOD interface in the screen-off phase is the same as or associated with the background wallpaper when the first frame of the desktop is displayed after the terminal is unlocked. For example, the first frame of the desktop displayed by the terminal after the terminal is unlocked may not include wallpaper upper layer elements. Starting from the second frame, the terminal's desktop includes wallpaper top layer elements, i.e., the user may see wallpaper top layer elements, e.g., application program icons, on the display screen. The background wallpaper when the terminal displays the first frame of the desktop after unlocking may be understood as the picture of the first frame of the live wallpaper after unlocking, i.e., the picture of the first frame of the live wallpaper from the AOD stage to the desktop stage. For example, the live wallpaper displayed after unlocking includes 20 frames of pictures, including picture 1 to picture 20. After being unlocked, the terminal starts playing pictures in the order from picture 1 to picture 20, and the picture of the first frame of the live wallpaper displayed after unlocking is picture 1. Alternatively, after being unlocked, the terminal starts playing pictures in the order from picture 20 to picture 1, and the picture of the first frame of the live wallpaper displayed after unlocking is picture 20.
[0145] It should be understood that if the user taps the power key 7 when the interface A7 is displayed on the display screen, the interface A7 is the last frame of the AOD interface in the screen-off phase or the AOD interface displayed when the terminal terminates the AOD. In response to the user tapping the power key 7, the first frame of the desktop displayed on the display screen may be the interface C7.
[0146] Since the terminal enters the desktop directly from the AOD interface, the live wallpaper that needs to be played from the AOD stage to the screen lock stage in embodiment I may be displayed when the terminal displays the desktop, and the playing of the live wallpaper from the screen lock stage to the desktop stage continues after the playing is completed. Furthermore, in some embodiments, the terminal may accelerate the playing of the live wallpaper from the AOD stage to the desktop stage to reduce the power consumption of the terminal. For example, the time required for the terminal to play the live wallpaper from the AOD stage to the screen lock stage and the live wallpaper from the screen lock stage to the desktop stage is shortened to be the same as the time required for the terminal to play only the live wallpaper from the screen lock stage to the desktop stage.
[0147] For example, when the terminal enters the desktop directly from the AOD interface, the flow of the interface display method may be as shown in FIG. 7B, which specifically includes the following steps:
[0148] 701. The key driver detects a user tapped power key event and sends an indication of the user tapped power key event to the power manager service.
[0149] 702. When the terminal screen is powered off, the power manager service, after receiving an indication of a user tapped power key event, determines that the user tapped power key event is used to trigger a screen-on event.
[0150] 703. The power manager service sends an AOD termination command to the AOD application.
[0151] 704. The power manager service sends a screen-on preparation command for screen lock.
[0152] 705. After receiving the AOD end command, the AOD application sends an AOD end command to the AOD display service.
[0153] 706. The AOD display service sends the current AOD position information to the AOD application after receiving the AOD end command.
[0154] The current AOD position information is used to indicate the position of the screen-on area in the last frame of the AOD interface in the screen-off phase before the screen lock interface is switched on in response to a screen-on event.
[0155] 707. After the AOD application receives the current AOD location information, it closes the AOD and sends the current AOD location information to the screen lock application. Note that the AOD application closes the AOD. Before the display screen is powered on, a black frame is displayed on the display screen, i.e., a black frame is presented to the user.
[0156] For example, the AOD application terminates the AOD. The process of preparing to power on the display screen before powering on the display screen involves a microprocessor-to-processor switchover. Therefore, at this time, the terminal displays a black frame on the display screen and presents the user with a black screen.
[0157] 708. The power manager service sends a screen-on command to the screen lock application.
[0158] 709. A screen lock application receives the screen-on command and triggers the display of a screen lock interface on the display screen, which is used by the user to unlock the terminal, for example interface B7.
[0159] It should be noted that in this embodiment of the application, the screen lock interface used by the user to unlock the terminal may be a face unlock interface, a password unlock interface, etc. This is not limited.
[0160] 710. After receiving an event that a user performs an unlock operation, the screen lock application sends a live wallpaper play command to the desktop application if the unlock verification is successful. The live wallpaper play command is used to instruct the desktop to play a live wallpaper from the AOD stage to the desktop stage, and the live wallpaper play command includes current AOD position information.
[0161] For example, a screen lock application may send a live wallpaper play command to the wallpaper module of a desktop application.
[0162] 711. After receiving the live wallpaper play command, the desktop application plays the wallpaper according to the live wallpaper play command and displays the live wallpaper on the display screen. The static wallpaper included in the last frame of the AOD interface in the screen-off phase is the same as or related to the background wallpaper when displaying the first frame of the desktop after the terminal is unlocked. Thus, the dynamic effect of the background wallpaper appears continuous or consistent from the AOD interface to the desktop.
[0163] For example, the desktop may speed up the playback of a live wallpaper from the AOD stage to the desktop stage.
[0164] It should be noted that in some embodiments, after a successful unlock verification performed by a user, when the terminal displays an interface of an application program on the display screen, the playing of a live wallpaper is not triggered.
[0165] Additionally, in a scenario where the terminal enters the desktop directly from the AOD interface, it should be noted that the background wallpaper included in the AOD interface may also be a live wallpaper. In this case, the background wallpaper included in the last frame of the AOD interface in the screen-off phase is the same as or related to the background wallpaper when the terminal displays the first frame of the desktop after being unlocked. For a related description of the background wallpaper included in the last frame of the AOD interface in the screen-off phase, please refer to the related description of embodiment I.
[0166] Embodiment III: The following event is taken as an example: the terminal switches from a screen lock interface to an AOD interface, the background wallpaper in the screen-off stage is a static wallpaper, and the background wallpaper in the screen lock stage and the background wallpaper displayed after unlocking are live wallpapers.
[0167] As shown in Fig. 8A, interfaces A8 and B8 are screen lock interfaces with live wallpapers, interface C8 is a black frame, and interface D8 is an AOD interface.
[0168] When the screen of the terminal is locked, a screen lock interface is displayed on the display screen. For example, when the terminal displays interface A8 on the display screen, if the user taps the power key 8, in response to the user's operation of tapping the power key 8, the terminal triggers the playing of a live wallpaper from the screen lock stage to the AOD stage. After playing the live wallpaper from the screen lock stage to the AOD stage, the terminal ends the display of the screen lock interface and displays an AOD interface such as interface D8 on the display screen. The picture of the last frame of the live wallpaper from the screen lock stage to the AOD stage is the same as or associated with the background wallpaper included in the first frame of the AOD interface in the screen off stage after the terminal ends the display of the screen lock interface. In this embodiment of the application, the picture of the last frame of the live wallpaper from the screen lock stage to the AOD stage may be understood as the picture played by the live wallpaper when the terminal displays the last frame of the screen lock interface in the screen lock stage. Further, in some embodiments, the layout of the wallpaper top layer elements included in the last frame of the screen lock interface in the screen lock phase is the same as or related to the layout of the wallpaper top layer elements included in the first frame of the desktop.
[0169] When the picture of the last frame of the live wallpaper from the screen lock stage to the AOD stage is the same as the background wallpaper included in the first frame of the AOD interface in the screen off stage, and the layout of the elements of the wallpaper upper layer included in the last frame of the screen lock interface in the screen lock stage is the same as the layout of the elements of the wallpaper upper layer included in the first frame of the desktop, if the screen lock interface included in interface B8 is the last frame of the screen lock interface in the screen lock stage, interface D8 is the first frame of the desktop, i.e., interface B8 is the same as interface D8. Therefore, the dynamic effect of the background wallpaper appears continuous or consistent during the switching of the terminal from the screen lock interface to the AOD interface.
[0170] Additionally, after the terminal finishes displaying the screen lock interface and before the AOD interface is displayed on the display screen, a switch from the processor to the microprocessor and a process of preparing to display the AOD interface is involved. Thus, the terminal displays a black frame, such as interface C8, on the display screen during this period. For example, the duration of presenting the black screen to the user after the terminal finishes displaying the screen lock interface and displays the AOD interface may be 260ms to 300ms.
[0171] For example, when the terminal enters the AOD interface from the screen lock interface, the flow of the interface display method may be as shown in FIG. 8B, specifically including the following steps:
[0172] The 801.key driver detects the user tapped the power key event and sends an indication of the user tapped the power key event to the power manager service.
[0173] 802. When the terminal screen is being powered off, the power manager service, after receiving an indication of a user tapped power key event, determines that the user tapped power key event is used to trigger a screen-off event.
[0174] 803. The power manager service sends a screen off command to the screen lock application.
[0175] 804. The screen lock application receives the screen off preparation command and terminates or fades out the display of the screen lock interface.
[0176] 805. The screen lock application sends a first live wallpaper play command to the desktop application, for example, the first live wallpaper play command is used to instruct the desktop application to play the live wallpaper from the AOD stage to the screen lock stage in reverse order, or the first live wallpaper play command is used to instruct the desktop application to play the live wallpaper from the screen lock stage to the AOD stage.
[0177] Please note that the timing of the dynamic effects of the live wallpaper from the screen lock stage to the AOD stage and the dynamic effects of the live wallpaper from the AOD stage to the screen lock stage are reversed. For example, a live wallpaper including 10 frames of pictures, picture 1 to picture 10, is taken as an example. The live wallpaper from the screen lock stage to the AOD stage starts to play from picture 10 in the order from picture 10 to picture 1. The live wallpaper from the AOD stage to the screen lock stage starts to play from picture 1 to picture 10 in the order from picture 1 to picture 10.
[0178] For example, a screen lock application may send a first live wallpaper play command to a wallpaper module of a desktop application.
[0179] 806-1: After receiving the first live wallpaper play command, the desktop application plays the wallpaper according to the first live wallpaper play command and displays the live wallpaper on the display screen. For example, the desktop application plays the live wallpaper from the AOD stage to the screen lock stage in reverse order according to the first live wallpaper play command.
[0180] 806-2. The screen lock application displays the screen lock interface.
[0181] The picture of the last frame of the live wallpaper from the screen lock stage to the AOD stage is the same as or associated with the background wallpaper included in the first frame of the AOD interface in the screen off stage after the terminal finishes displaying the screen lock interface. For example, the display position of the picture of the last frame of the live wallpaper from the screen lock stage to the AOD stage is determined according to the first AOD position information. The first AOD position information is used to indicate the position of the screen on area of the last frame of the AOD interface in the screen off stage before the screen lock interface is switched in response to a screen on event.
[0182] In some embodiments, the layout of the wallpaper top layer element included in the last frame of the screen lock interface in the screen lock phase is the same as or related to the layout of the wallpaper top layer element included in the first frame of the desktop, and the display position and display size of the wallpaper top layer element included in the last frame of the screen lock interface in the screen lock phase are determined according to the first AOD position information.
[0183] It should be noted that there is no required sequence between steps 806-1 and 806-2, and steps 806-1 and 806-2 may be performed simultaneously, or step 806-2 may be performed before step 806-1. This is not intended to be limiting.
[0184] 807. When the playback of the live wallpaper from the screen lock stage to the AOD stage ends, the screen lock application fades out or ends the display of the screen lock interface, and sends an AOD display command to the AOD application. Note that the screen lock application fades out of the screen lock interface. Before displaying the AOD interface, the terminal displays a black frame on the display screen to prevent the user from seeing a black screen.
[0185] For example, when a screen lock application fades out of the screen lock interface, a switch flow from the processor to the microprocessor may be involved before the AOD interface is displayed, so that the terminal can enter a low-power display mode after switching to the AOD interface.
[0186] 808. The AOD application receives an AOD display command and obtains first AOD position information.
[0187] 809. The AOD application sends an AOD interface display command to the AOD display service, where the AOD interface display command includes the first AOD position information.
[0188] 810. The AOD display service receives an AOD interface display command and triggers the AOD interface to be displayed on the display screen. The background wallpaper included in the first frame of the AOD interface and the display position of the wallpaper upper layer element included in the first frame of the AOD interface are displayed according to the first AOD position information. Thus, the continuity of the presentation of the background wallpaper is maintained during switching from the screen lock interface to the AOD interface.
[0189] Embodiment IV: The following event is taken as an example: a terminal switches from a desktop to a screen lock interface, and then switches from the screen lock interface to an AOD interface, the background wallpaper in the screen-off stage is a static wallpaper, and the background wallpaper in the screen lock stage and the background wallpaper displayed after unlocking are live background wallpapers.
[0190] As shown in FIG. 9A, interface A9 is a desktop. Interface B9 is a blank screen lock interface with a live wallpaper. In this embodiment of the application, a blank screen lock interface may be understood as a screen lock interface that does not include wallpaper upper layer elements, such as time or date. Interface C9 is a screen lock interface with a live wallpaper. In this specification, a screen lock interface refers to a non-blank screen lock interface, that is, the screen lock interface may include wallpaper upper layer elements. Interface D9 is a black frame. Interface E9 is an AOD interface.
[0191] Take an interface A9 used as a desktop as an example. For example, when the terminal displays the interface A9 on the display screen, if the user taps the power key 9, in response to the user's operation of tapping the power key 9, the terminal ends or fades out the display of the desktop, triggers the playing of the live wallpaper from the desktop stage to the screen lock stage, displays the blank screen lock interface and the live wallpaper on the display screen, displays the non-blank screen lock interface when the live wallpaper from the desktop stage to the screen lock stage is played to the last frame, then ends or fades out the display of the screen lock interface, and displays the AOD screen on the display screen. The interface obtained by superimposing the picture of the last frame of the live wallpaper from the desktop stage to the screen lock stage and the non-blank screen lock interface is the same as or associated with the first frame of the AOD interface in the screen off stage. The non-blank screen lock interface is the last frame of the screen lock interface in the screen off stage. The layout of the wallpaper top layer elements included in the interface is the same as or related to the layout of the wallpaper top layer elements included in the first frame of the AOD interface in the screen off phase, and / or the last frame of the picture of the live wallpaper from the desktop to the screen lock phase is the same as or related to the static wallpaper included in the first frame of the AOD interface in the screen off phase. For example, the interface obtained by superimposing the last frame of the live wallpaper from the desktop to the screen lock phase and the non-blank screen lock interface is interface C9, and the first frame of the AOD interface in the screen off phase is interface E9, and interface C9 and interface E9 are the same.
[0192] Additionally, before the terminal fades out of the display of the screen lock interface and displays the AOD interface on the display screen, the terminal first switches from the processor to the microprocessor, and the microprocessor controls the AOD interface to be displayed, and then powers off the screen to reduce the power consumption of the terminal. Note that in the process of switching from the processor to the microprocessor, the terminal, for example, displays a black frame, for example, interface B8, on the display screen, that is, presents a black screen to the user. Then, after switching to the microprocessor, the terminal displays the AOD interface on the display screen. For example, the duration for the terminal to switch from the processor to the microprocessor again may be 260ms to 300ms. Therefore, the duration for presenting a black screen to the user after fading out of the screen lock interface and before displaying the AOD interface may be 260ms to 300ms.
[0193] For example, when a terminal enters an AOD interface from a desktop, the flow of the interface display method may be as shown in FIG. 9B, which specifically includes the following steps:
[0194] 901. The key driver detects a user tapped power key event and sends an indication of the user tapped power key event to the power manager service.
[0195] 902. When the terminal screen is being powered off, the power manager service, after receiving an indication of a user tapped power key event, determines that the user tapped power key event is used to trigger a screen-off event.
[0196] 903. The power manager service sends a screen off command to the screen lock application.
[0197] 904. The screen lock application receives the screen off preparation indication and displays a blank screen lock interface.
[0198] 905. The screen lock application sends a live wallpaper play command to the desktop application. For example, the live wallpaper play command is used to trigger the desktop application to play the live wallpaper from the desktop phase to the AOD phase, or the live wallpaper play command is used to trigger the desktop application to play the live wallpaper in reverse order from the AOD phase to the desktop phase.
[0199] Please note that the dynamic effect of the live wallpaper from the desktop phase to the AOD phase and the dynamic effect of the live wallpaper from the AOD phase to the desktop phase are reversed.
[0200] In some embodiments, the screen lock application sends a first live wallpaper play instruction to the desktop application. The first live wallpaper play instruction is used to trigger the desktop application to play the live wallpaper from the desktop phase to the screen lock phase, or the first live wallpaper play instruction is used to trigger the desktop application to play the live wallpaper in reverse order from the screen lock phase to the desktop phase. The screen lock application then sends a second live wallpaper play instruction to the desktop application after the desktop application finishes playing according to the first live wallpaper play instruction. For example, the second live wallpaper play instruction is used to trigger the desktop application to play the live wallpaper from the screen lock phase to the AOD phase, or the second live wallpaper play instruction is used to trigger the desktop application to play the live wallpaper in reverse order from the AOD phase to the screen lock phase.
[0201] It should be noted that the first live wallpaper play instruction may be replaced with a static wallpaper display instruction and used to trigger the desktop application to display a static wallpaper from the desktop phase to the screen lock phase, where the static wallpaper is the same as or associated with the first frame picture of the live wallpaper from the screen lock phase to the AOD phase.
[0202] Alternatively, the second live wallpaper play instruction may be replaced with a static wallpaper display instruction and used to trigger the desktop application to display the static wallpaper from the screen lock phase to the AOD phase, in which case the picture of the last frame of the live wallpaper from the desktop to the screen lock phase is the same as or related to the static wallpaper from the screen lock phase to the AOD phase.
[0203] For example, the screen lock application may determine that playback of the live wallpaper from the desktop phase to the screen lock phase has ended in accordance with a live wallpaper playback end command from the desktop application, or may infer that the desktop application has ended playback of the live wallpaper from the desktop phase to the screen lock phase in accordance with the playback time of the live wallpaper from the desktop phase to the screen lock phase.
[0204] 906. After receiving the live wallpaper play command, the desktop application plays the live wallpaper according to the live wallpaper play command.
[0205] 907. When the playing of the live wallpaper ends, the screen lock application displays a screen lock interface according to the first AOD position information, and the desktop application displays a picture of the last frame of the live wallpaper according to the first AOD position information, the first AOD position information being used to indicate a position of a screen-on area of the last frame of the AOD interface in a screen-off phase before the display screen was most recently powered on in response to a screen-on event.
[0206] 908-1. The screen lock application terminates or fades out the display of the screen lock interface.
[0207] 908-2. The screen lock application sends an AOD display command to the AOD application.
[0208] Note that there is no necessary sequence between steps 908-1 and 908-2, for example steps 908-1 and 908-2 may be performed simultaneously.
[0209] 909. The AOD application receives an AOD display command and obtains first AOD position information.
[0210] 910. The AOD application sends an AOD interface display command to the AOD display service, where the AOD interface display command includes the first AOD position information.
[0211] 911. The AOD display service receives an AOD interface display command and triggers the AOD interface to be displayed on the display screen. The first frame of the AOD interface is displayed according to the first AOD position information. Thus, the continuity of the presentation of the background wallpaper is maintained during the switching from the screen lock interface to the AOD interface.
[0212] In some embodiments, in the above-mentioned embodiments I to IV, the terminal triggers a screen-off operation or a screen-on operation in response to a user tapping a power key. Indeed, the user may trigger a screen-on operation or a screen-off operation in another manner, for example, by tapping a home key. The home key may be a virtual key or a physical key. As another example, the user may also trigger a screen-on operation or a screen-off operation by a shortcut gesture operation, a voice command, or the like. Alternatively, in embodiment III or embodiment IV, when the screen is powered on, for example, when the desktop or screen lock interface is displayed, the terminal device may automatically turn off the screen if no user operation is detected within a target duration. The animation display method in this embodiment of this application may also be applicable to a scenario in which the terminal device automatically powers off the screen.
[0213] The embodiment II and the embodiment IV are taken as an example. The wallpaper in the process of the terminal entering the desktop from the AOD interface and the process of the terminal entering the AOD interface from the desktop is played in reverse order. For example, the live wallpaper in the process of the terminal entering the desktop from the AOD interface is played forward, and the live wallpaper in the process of the terminal entering the AOD interface from the desktop is played backward. For example, the forward play of the live wallpaper from night to morning is taken as an example. The live wallpaper is played according to the order from night to morning in the process of the terminal entering the desktop from the AOD interface, and the live wallpaper is played according to the order from morning to night in the process of the terminal entering the AOD interface from the desktop.
[0214] Additionally, in some other embodiments of this application, the user may set the AOD screen lock desktop wallpaper according to the user's needs. For example, the user may select a corresponding theme from the setting interface to set the background wallpaper in the AOD interface, and set the background wallpaper to be played in the screen lock stage and the unlock stage. For example, the user enables the super wallpaper mode in the interface A10 shown in FIG. 10, taps to select the new theme option, and displays the interface B10 on the display screen. The theme options are preset in the terminal before the terminal is shipped, and more options are optional theme options provided in the network. The user can select the corresponding theme according to his needs. In this way, the user's personal pursuit is satisfied.
[0215] Alternatively, the user may set a corresponding background wallpaper according to the user's needs, and the background wallpaper displayed in the AOD interface is recommended to the user according to the background wallpaper selected by the user. For example, as shown in FIG. 11, in response to the user tapping an option for selecting background wallpaper on the interface A11, an interface B11 is displayed on the display screen. The interface B11 includes a plurality of optional background wallpaper options. For example, if the user selects background wallpaper option 4, an interface C11 is displayed on the display screen. The interface C11 includes the options of the background wallpaper recommended by the terminal for background wallpaper option 4 and displayed in the AOD interface.
[0216] The foregoing embodiments may be used separately or in combination to achieve different technical effects.
[0217] In the foregoing embodiments provided in this application, the methods provided in the embodiments of this application are described in terms of an electronic device acting as an execution entity. To realize the functions in the methods provided in the foregoing embodiments of this application, the electronic device may include a hardware structure and / or a software module, and may implement the functions in the form of a hardware structure, a software module, or a combination of a hardware structure and a software module. Whether one of the foregoing functions is implemented in the manner of a hardware structure, a software module, or a hardware structure and a software module depends on the specific application and design constraints of the technical solution.
[0218] An embodiment of the present application further provides an electronic device including a display screen, a processor, a memory, one or more sensors, one or more power keys, one or more application programs, and one or more computer programs. The aforementioned components may be connected via one or more communication buses. The one or more computer programs are stored in the memory and configured to be executed by the one or more processors. The one or more computer programs include instructions, which may be used to enable the electronic device to perform all steps of the interface display method in the aforementioned embodiment.
[0219] For example, the processor may specifically be the processor 110 shown in FIG. 2. The memory may specifically be the internal storage device 120 shown in FIG. 2 and / or an external memory connected to the electronic device. The display screen may specifically be the display screen 130 shown in FIG. 2. The sensor may specifically be one or more sensors in the sensor module 150 shown in FIG. 2. The power key may specifically be the power key 141 shown in FIG. 2. This embodiment of the application does not impose any limitation thereon.
[0220] Additionally, an embodiment of the present application further provides a graphical user interface (GUI) for the electronic device, specifically including a GUI that is displayed when the electronic device executes an embodiment of the aforementioned method.
[0221] Depending on the context, the term "when" used in the above embodiments may be interpreted as meaning "if," "after," "in response to determining," or "in response to detecting." Similarly, the phrases "when it is determined that," or "when (condition or event description) is detected," may be interpreted as "when it is determined that," "in response to determining," "when (condition or event description) is detected," or "in response to detecting (condition or event description)," depending on the context.
[0222] All or part of the aforementioned embodiments may be implemented using software, hardware, firmware, or any combination thereof. When software is used to implement the aforementioned embodiments, all or part of the embodiments may be implemented in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions according to the embodiments of the present invention are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or another programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired manner (e.g., using coaxial cable, optical fiber, or digital subscriber line (DSL)) or wireless manner (e.g., infrared, radio, or microwave). The computer-readable storage medium may be any available medium accessible by a computer, or a data storage device that integrates one or more available media, such as a server or a data center. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, or a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc. If no contradiction occurs, the solutions in the foregoing embodiments may be combined for use.
[0223] Please note that portions of the document of this patent application contain copyrighted material. The copyright owner retains the copyright except when copies are made for the patent document or the content of the patent document at the Patent Office.
Claims
1. An interface display method, comprising: displaying, by the electronic device, a first interface including a first wallpaper and a first wallpaper upper layer element in an AOD stage of the electronic device; receiving a screen-on operation by the electronic device in the AOD stage; in response to the screen-on operation, terminating the AOD phase and displaying a second interface by the electronic device, the second interface including a second wallpaper upper layer element and a second wallpaper; the content of the first wallpaper is the same as the content of the second wallpaper and / or the layout of the first wallpaper upper layer elements is the same as the layout of the second wallpaper upper layer elements, the first wallpaper is a static wallpaper and the second wallpaper is a picture of a first frame of a first live wallpaper; The method further includes, after displaying, by the electronic device, a second interface: The method further includes sequentially displaying, by the electronic device, pictures of a second frame through a picture of an Nth frame of the first live wallpaper, where N is a positive integer greater than or equal to two.
2. receiving, by the electronic device, a screen off operation during a screen lock display stage; 2. The method of claim 1, further comprising: in response to the screen-off operation, sequentially displaying, by the electronic device, pictures of the Nth frame through the first frame of the first live wallpaper.
3. 3. The method of claim 2, further comprising: after displaying the first frame of the first live wallpaper, entering the AOD stage, by the electronic device, and displaying a third interface, the third interface including a third wallpaper and third wallpaper upper layer elements, the first wallpaper being the same as the third wallpaper, and a layout of the third wallpaper upper layer elements being the same as a layout of the first wallpaper upper layer elements.
4. In a screen lock display step, receiving an unlock operation by the electronic device, and displaying a fourth interface when receiving the unlock operation by the electronic device, the fourth interface including a fourth wallpaper; 2. The method of claim 1, further comprising: in response to the unlock operation, exiting the screen lock display phase, by the electronic device, and displaying a fifth interface, the fifth interface including a fifth wallpaper, the fourth wallpaper being the same as or associated with the fifth wallpaper.
5. the fifth wallpaper is a picture of a first frame of a second live wallpaper, and after displaying the fifth interface, 5. The method of claim 4, further comprising displaying, by the electronic device, pictures of a second frame through an Mth frame of the second live wallpaper, where M is a positive integer greater than or equal to 2.
6. receiving, by the electronic device, a screen-off operation during a screen unlock display stage; in response to the screen-off operation, terminating the screen unlock display phase by the electronic device and sequentially displaying pictures of the Mth frame through the first frame of the second live wallpaper and pictures of the Nth frame through the first frame of the first live wallpaper; The method of claim 5 , further comprising: entering the AOD stage after displaying, by the electronic device, a picture of the first frame of the first live wallpaper.
7. 7. The method of claim 6, further comprising displaying, by the electronic device, a sixth interface after entering the AOD stage, the sixth interface including a sixth wallpaper, the sixth wallpaper being the same as or associated with the first frame picture of the first live wallpaper.
8. terminating the AOD phase and displaying a second interface by the electronic device in response to the screen-on operation; acquiring, by the electronic device in response to the screen-on operation, first position information, the first position information being used to indicate a position of a screen-on area on the first interface; and displaying, by the electronic device, the second interface in accordance with the first location information.
9. The method of claim 8 , wherein the location of the screen-on area includes a display location of the first wallpaper and a display location of a layer element above the first wallpaper.
10. Displaying, by the electronic device, the second interface according to the first location information, determining, by the electronic device, a position of a display object of the second wallpaper according to the display position of the first wallpaper; determining, by the electronic device, a display position of the second wallpaper upper layer element according to the display position of the first wallpaper upper layer element; and displaying, by the electronic device, the second interface according to the position of the display object and the display position of the second wallpaper top layer element.
11. terminating the AOD phase and displaying a second interface by the electronic device in response to the screen-on operation; in response to the screen-on operation, exiting the AOD phase, entering a screen-lock phase, and displaying the second interface, by the electronic device; or A method according to any one of claims 1 to 10, comprising in response to the screen-on operation, exiting, by the electronic device, the AOD phase, entering a desktop phase and displaying the second interface.
12. 1. An electronic device including one or more processors and one or more memories, An electronic device, wherein the one or more memories store one or more computer programs, the one or more computer programs including instructions that, when executed by the one or more processors, enable the electronic device to perform a method according to any one of claims 1 to 11.
13. A computer readable storage medium comprising a computer program, the computer program being capable of enabling an electronic device to perform the method according to any one of claims 1 to 11 when the computer program is executed on the electronic device.
14. A computer program comprising instructions, which when run on a computer enable the computer to carry out the method according to any one of claims 1 to 11.
15. A graphical user interface on an electronic device, the electronic device having a display screen, one or more memories, and one or more processors, the one or more processors configured to execute one or more computer programs stored in the one or more memories, the graphical user interface comprising a graphical user interface displayed when the electronic device executes a method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Display state switching method, display state switching device and storage medium
CN111580904A
Information processing device and information processing method
JP2018073287A
Electronic device and method for displaying screen thereof
US20180240260A1