Dynamic wallpaper display method and electronic device
Patent Information
- Application Number
- PCT/CN2026/079304
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-02-25
- Filing Date
- 2026-02-13
- Publication Date
- 2026-09-03
Smart Images

Figure CN2026079304_03092026_PF_FP_ABST
Abstract
Description
A method for displaying dynamic wallpapers and an electronic device
[0001] Cross-reference of related applications
[0002] This application claims priority to Chinese Patent Application No. 202510214937.7, filed on February 25, 2025, entitled "A Method for Displaying Dynamic Wallpapers and an Electronic Device", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of electronic device technology, and in particular to a method for displaying dynamic wallpapers and an electronic device. Background Technology
[0004] With the development of electronic technology, users have increasingly higher demands for the display effects of electronic devices. They not only require electronic devices to display dazzling user interfaces, but also hope that they can interact with users. Currently, electronic devices can achieve simple interaction with users by setting themes with animation effects. After setting an animation theme, when the electronic device starts displaying the main interface or lock screen, it displays dynamically changing wallpapers.
[0005] However, current live wallpapers are not flexible in their display methods and lack rich display effects. Summary of the Invention
[0006] This application provides a method for displaying dynamic wallpapers, which improves the display flexibility and effect of dynamic wallpapers on electronic devices, thereby ensuring user experience.
[0007] Firstly, this application provides a method for displaying dynamic wallpapers, which can be applied to electronic devices. Here, "electronic device" can refer to the electronic device itself, or to a processor, module, chip, or chip system within the electronic device that implements the method. The following description uses an electronic device as an example; the method includes the following steps:
[0008] The electronic device displays a first wallpaper on the display screen; in response to a first user operation performed by the user to bring the electronic device closer to other electronic devices, the electronic device displays a first animation effect of the first wallpaper on the display screen.
[0009] This method allows electronic devices to display animated wallpaper effects in real time based on user actions, such as bringing two devices closer together. This enables the live wallpaper to generate animations based on user actions, thus achieving user interaction and enhancing the fun of the live wallpaper. The method provided in this application improves the flexibility and display effect of live wallpapers.
[0010] In one possible design, the electronic device can display a first animation effect of the first wallpaper on the display screen in response to a first user operation performed by the user to bring the electronic device closer to other electronic devices:
[0011] The electronic device acquires state information of the electronic device during the execution of the first user operation; the electronic device displays the first animation on the display screen according to the state information; wherein, the state information includes at least one of the following: device movement direction, relative position information of the electronic device and the other electronic devices, target screen position information, and device movement speed; the target screen position information is used to indicate the screen position on the display screen of the electronic device that is closest to the other electronic devices.
[0012] With this design, electronic devices can display wallpaper animations based on the state information of the electronic device during the execution of a user operation that brings two electronic devices closer together.
[0013] In one possible design, when the status information includes the device's movement direction, the first animation effect is an animation effect in which the content in the first wallpaper moves or converges in the device's movement direction;
[0014] When the status information includes the relative position information of the electronic device and the other electronic devices, the first animation effect is an animation effect in which the content in the first wallpaper moves or converges towards the other electronic devices;
[0015] When the status information includes the target screen position information, the first animation effect is an animation effect in which the content in the first wallpaper moves or converges to the screen position indicated by the target screen position information, or the first animation effect is an animation effect generated by the content in the first wallpaper within the screen position indicated by the target screen position information.
[0016] When the status information includes the device's moving speed, the change range or moving speed of the content of the first wallpaper in the first animation is positively correlated with the device's moving speed.
[0017] This design allows electronic devices to display wallpaper-related animations based on the specific state information of the electronic device during the execution of a user operation that brings two electronic devices closer together.
[0018] In one possible design, the first wallpaper includes a background image and an interactive object; the interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user; the first animation of the first wallpaper includes at least one of the following: the animation of the background image and the animation of the interactive object.
[0019] In one possible design, the actions performed by the interactive object in the animation of the interactive object are matched with the image of the interactive object.
[0020] Secondly, this application provides a method for displaying dynamic wallpapers, which can be applied to electronic devices. Here, "electronic device" can refer to the electronic device itself, or to a processor, module, chip, or chip system within the electronic device that implements the method. The following description uses an electronic device as an example; the method includes the following steps:
[0021] Display the first wallpaper on the screen;
[0022] In response to a second user action performed by the user on the first wallpaper, a second animation effect of the first wallpaper is displayed on the screen.
[0023] This method allows electronic devices to display animated effects on live wallpapers in real time based on user actions. This enables the live wallpapers to generate animations based on user interactions, thus achieving user interaction and enhancing the fun of the live wallpapers. The method provided in this application improves the flexibility and display effect of live wallpapers.
[0024] In one possible design, the electronic device can display a second animation effect of the first wallpaper on the display screen in response to a second user operation performed by the user on the first wallpaper by the following steps:
[0025] The electronic device acquires operation information of the second user operation; and displays the second animation on the display screen according to the operation information; wherein the operation information includes at least one of the following: first operation position, first operation type, and first operation duration.
[0026] This design allows electronic devices to display wallpaper animations based on the specific user actions performed on the wallpaper.
[0027] In one possible design, when the operation information includes the first operation position, the second animation effect is an animation effect in which the content in the first wallpaper moves or converges towards the first operation position; or the second animation effect is an animation effect in which part of the content in the first wallpaper changes in amplitude or position with the first operation position as the initial position.
[0028] When the operation information includes the first operation type, the action type performed by the content in the first wallpaper in the second animation corresponds to the first operation type;
[0029] When the operation information includes the first operation duration, the duration of the second animation is positively correlated with the first operation duration, and / or, the degree of change of the content of the first wallpaper in the first animation is positively correlated with the first operation duration.
[0030] In one possible design, the second user action is any of the following: a single click, a double click, a short press, a long press, a swipe, or a drag.
[0031] In one possible design, the first wallpaper includes a background image and an interactive object; the interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user; the second animation of the first wallpaper includes at least one of the following: the animation of the background image and the animation of the interactive object.
[0032] In one possible design, the actions performed by the interactive object in the animation of the interactive object are matched with the image of the interactive object.
[0033] Thirdly, this application provides a method for displaying dynamic wallpapers, which can be applied to electronic devices. Here, "electronic device" can refer to the electronic device itself, or to a processor, module, chip, or chip system within the electronic device that implements the method. The following description uses an electronic device as an example; the method includes the following steps:
[0034] An electronic device displays a first wallpaper on a screen; the electronic device acquires user behavior information, which is used to indicate the user's behavior activities; and based on the user behavior information, displays a third animation effect of the first wallpaper on the screen.
[0035] This method allows electronic devices to display animated wallpaper effects in real time based on user behavior information during the live wallpaper display process. This enables the live wallpaper on electronic devices to generate animations based on user actions, thereby achieving interaction with the user and enhancing the fun of the live wallpaper. The method provided in this application embodiment can improve the flexibility and display effect of live wallpapers.
[0036] In one possible design, the third motion effect corresponds to the behavioral activity indicated by the user behavior information.
[0037] In one possible design, the electronic device acquires user behavior information through the following steps:
[0038] The electronic device acquires sensor data collected by its sensors; and determines the user behavior information based on the sensor data.
[0039] This design allows electronic devices to determine user behavior information using data collected by their own sensors.
[0040] In one possible design, the electronic device can determine the user behavior information based on the sensor data in the following manner:
[0041] When the sensor data includes audio signals or airflow vibration signals collected by the microphone of the electronic device, the user is identified to have performed a blowing operation on the electronic device based on the audio signals or airflow vibration signals collected by the microphone; the user behavior information is determined to instruct the user to perform a blowing operation on the electronic device; or
[0042] When the sensor data includes sensor data collected by the accelerometer or gyroscope sensor of the electronic device, the user is identified to have performed a shaking operation on the electronic device based on the sensor data collected by the accelerometer or gyroscope sensor; the user behavior information is determined to instruct the user to perform a shaking operation on the electronic device.
[0043] With this design, electronic devices can determine whether a user is blowing air or shaking the device based on data collected by their own sensors.
[0044] In one possible design, when the user behavior information is used to instruct the user to perform a blowing operation on the electronic device, the third animation effect is an animation effect in which the content in the first wallpaper moves in the direction of the blowing operation; when the user behavior information is used to instruct the user to perform a shaking operation on the electronic device, the third animation effect is an animation effect in which the content in the first wallpaper shakes.
[0045] In one possible design, the first wallpaper includes a background image and an interactive object; the interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user; the third animation effect of the first wallpaper includes at least one of the following: the animation effect of the background image and the animation effect of the interactive object.
[0046] In one possible design, the actions performed by the interactive object in the animation of the interactive object are matched with the image of the interactive object.
[0047] Fourthly, this application provides a method for displaying dynamic wallpapers, which can be applied to electronic devices. Here, "electronic device" can refer to the electronic device itself, or to a processor, module, chip, or chip system within the electronic device that implements the method. The following description uses an electronic device as an example; the method includes the following steps:
[0048] The electronic device displays a first wallpaper on the screen and runs a first service in the background; the electronic device displays a fourth animation effect of the first wallpaper on the screen; the fourth animation effect is used to prompt the user with the operation information or notification message of the first service.
[0049] This method allows electronic devices to display wallpaper animations in real-time based on the running status of background processes during live wallpaper display. This enables the animations to reflect the background processes, thus alerting the user and enhancing the functionality of live wallpapers. In summary, the method provided in this application improves the flexibility and display effect of live wallpapers.
[0050] In one possible design, the electronic device can display a fourth animation effect of the first wallpaper on the display screen through the following steps:
[0051] The electronic device acquires the operation information of the first service; displays the fourth animation effect of the first wallpaper on the display screen according to the operation information of the first service; or when the electronic device displays a notification message of the first service on the display screen, it displays the fourth animation effect of the first wallpaper on the display screen according to the display position and / or notification content of the notification message.
[0052] In one possible design, the fourth motion effect includes at least one of the following: a motion effect in which the content in the first wallpaper moves or converges toward the display position, a motion effect in which the content in the first wallpaper is generated at the display position, or a motion effect in which the content in the first wallpaper matches the notification content.
[0053] With this design, when an electronic device receives a notification message from a service, the device can display wallpaper animations based on the display location or content of the notification message.
[0054] In one possible design, when the first service is a multimedia playback service, the operation information of the first service includes at least one of the following: playback status, rhythm information of the currently played multimedia file, volume of the currently played multimedia file, and file information of the currently played multimedia file.
[0055] With this design, when an electronic device is running a multimedia playback service in the background, the device can display wallpaper animations based on the operation information of that multimedia playback service.
[0056] In one possible design, the first wallpaper includes a background image and an interactive object; the interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user.
[0057] The fourth animation effect of the first wallpaper includes at least one of the following: the animation effect of the background image, and the animation effect of the interactive object.
[0058] In one possible design, the actions performed by the interactive object in the animation of the interactive object are matched with the image of the interactive object.
[0059] Fifthly, embodiments of this application provide an electronic device including one or more processors and a memory; the one or more processors are coupled to the memory, and the one or more processors are configured to read a computer program stored in the memory to execute the method provided in any of the preceding aspects. The computer program code includes computer instructions.
[0060] Sixthly, embodiments of this application provide a chip including a processor coupled to a memory. The processor is used to call computer program instructions stored in the memory during runtime to implement the methods provided in any of the above aspects. Optionally, the chip may further include components such as a memory, a communication interface, and a power supply module. The memory is used to store computer programs; the communication interface is used to receive and send data; and the power supply module is used to supply power to the processor.
[0061] In a seventh aspect, embodiments of this application provide a computer storage medium storing computer program instructions that, when executed on an electronic device, cause the computer to perform the methods provided in any of the above aspects.
[0062] Eighthly, embodiments of this application provide a computer program product comprising computer program instructions; when the computer program instructions are executed on a computer, the computer performs the method provided in any of the above aspects.
[0063] The technical effects that can be achieved by any of the fifth to eighth aspects mentioned above can be described with reference to the technical effects that can be achieved by any of the first to eighth aspects mentioned above, and the repetitions will not be discussed. Attached Figure Description
[0064] Figure 1 is an example of a user interface for setting animation themes on an electronic device according to an embodiment of this application;
[0065] Figure 2 is a structural diagram of an electronic device provided in an embodiment of this application;
[0066] Figure 3 is a schematic diagram of the software structure of an electronic device provided in an embodiment of this application;
[0067] Figure 4 is a flowchart of a dynamic wallpaper display method provided in an embodiment of this application;
[0068] Figure 5A is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0069] Figure 5B is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0070] Figure 5C is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0071] Figure 5D is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0072] Figure 6 is a flowchart of a dynamic wallpaper display method provided in an embodiment of this application;
[0073] Figure 7A is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0074] Figure 7B is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0075] Figure 8 is a flowchart of a dynamic wallpaper display method provided in an embodiment of this application;
[0076] Figure 9A is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0077] Figure 9B is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0078] Figure 10 is a flowchart of a dynamic wallpaper display method provided in an embodiment of this application;
[0079] Figure 11A is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0080] Figure 11B is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0081] Figure 11C is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0082] Figure 11D is an example diagram of a dynamic wallpaper display provided in an embodiment of this application;
[0083] Figure 12 is a structural diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0084] This application provides a method and electronic device for displaying live wallpapers, which improves the display flexibility and effect of live wallpapers on electronic devices, thereby ensuring user experience.
[0085] The following explanations of some terms used in this application are provided to facilitate understanding by those skilled in the art.
[0086] 1) Electronic equipment refers to a device or apparatus that has data connectivity, data calculation and processing, and interface display functions.
[0087] For example, the electronic device in this application can be a tablet computer, personal computer (PC), laptop computer, computer, netbook, in-vehicle computer, smartphone, smart wearable device (e.g., smartwatch, smart bracelet, smart glasses, etc.). Of course, the electronic device can also be various portable devices, in-vehicle terminal devices, personal digital assistants (PDAs), smart home devices (e.g., smart TVs, etc.), and other smart devices. This application does not limit the specific form of the electronic device.
[0088] Electronic devices can perform their functions and provide services to users through an operating system they run. For example, the electronic device may, but is not limited to, running an operating system... Or other operating systems.
[0089] 2) Themes for electronic devices define the appearance and style of the electronic device's user interface. An electronic device can store one or more themes. These themes may include, but are not limited to, themes preset by the operating system, themes provided by third-party applications, and themes downloaded by the user from a server. The user can select one of these themes as the electronic device's theme configuration. Typically, the default theme used when an electronic device is first powered on is the operating system's preset theme. The main interface, lock screen, and other user interfaces displayed on the electronic device conform to the appearance and style defined by the currently set theme.
[0090] Traditional theme schemes may include at least one of the following: wallpaper, background design, color scheme, font and text style, icon design, control style, display element layout and spacing, motion design, navigation mode, light and dark mode, etc.
[0091] Compared to traditional theme solutions, the wallpaper in a theme with animation features (hereinafter referred to as an animation theme) can be a live wallpaper. Optionally, an interactive character, i.e., an interactive object, can also be defined in the animation theme. This interactive object can be displayed in the wallpaper or in other user interfaces opened by the user. For example, as shown in Figures 1(a) and (b), after setting an animation theme, the electronic device can display a live wallpaper containing an interactive object on the lock screen and the main screen.
[0092] It should be noted that this application does not limit the specific appearance of the interactive objects in the motion effect theme; they can be characters, animals created through animation technology, or abstract objects, etc. In some scenarios, the interactive objects can also be referred to as "desktop pets."
[0093] Optionally, the dynamic wallpaper in the animation theme may include two parts: a background image and an interactive object; or the dynamic wallpaper may be an indivisible whole. The specific composition of the dynamic wallpaper in this application is not limited.
[0094] It should be understood that in the embodiments of this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.
[0095] In the embodiments of this application, descriptions such as "when," "under the circumstances," "if," and "if" all refer to the control device making corresponding actions under certain objective circumstances. They are not time limits, nor do they require the control device to make judgments during implementation, nor do they imply any other limitations.
[0096] It should be noted that in this application, "used for indicating" can include both direct and indirect indication. When describing information as being used to indicate A, it can include whether the information directly or indirectly indicates A, but does not necessarily mean that the information contains A. Taking first information used to indicate first content as an example, the first information can contain the first content, or a part of the first content, or an identifier, index, indicator, etc., of the first content, and can also contain algorithms, calculation parameters, etc., for determining the first content. This application does not limit the manner of "indication".
[0097] In this application, "containing / including A" may be equivalent to "containing / including information A". Information A is used to indicate A.
[0098] In addition, it should be understood that in the description of this application, the words "first" and "second" are used only for the purpose of distinguishing descriptions and should not be construed as indicating or implying relative importance or order.
[0099] As described in the background section, current live wallpaper display methods are not flexible enough and have poor display effects. Based on this, embodiments of this application provide a live wallpaper display method and an electronic device. Through this method, during the display of a live wallpaper, the electronic device can display the wallpaper's animation effects in real time based on user operations or the running status of background services. This method enables the live wallpaper on the electronic device to generate animation effects based on user operations, thereby achieving interaction with the user and enhancing the fun of the live wallpaper; or it enables the animation effects of the live wallpaper to reflect the running status of background services to remind the user, improving the functionality of the live wallpaper. In summary, the method provided by embodiments of this application can improve the flexibility and display effect of live wallpapers.
[0100] The solutions provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0101] This application provides an electronic device capable of implementing the dynamic wallpaper display method provided in this application. The structure of the electronic device provided in this application will be described below with reference to FIG2.
[0102] As shown in Figure 2, the electronic device 200 may include: a processor 210, an external memory interface 220, an internal memory 221, a USB interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headphone jack 270D, a sensor module 280, buttons 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a SIM card interface 295, etc.
[0103] Processor 210 may include one or more processing units. For example, processor 210 may include a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of electronic device 200. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.
[0104] The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can retrieve it directly from this memory. By providing a memory, the number of times the processor 210 accesses data in the internal memory 221 can be reduced, thus reducing the processor 210's waiting time and improving system efficiency.
[0105] The dynamic wallpaper display method provided in this application embodiment can be controlled by the processor 210 or invoked by other components, such as invoking the software program of this application embodiment stored in the internal memory 221 to render the dynamic wallpaper animation effect and control the display screen 294 to display the animation effect. The processor 210 may include different devices. For example, when integrating a CPU and a GPU, the CPU and GPU can cooperate to execute the dynamic wallpaper display method provided in this application embodiment. For example, part of the software operation in the method is executed by the CPU, and another part of the algorithm for animation display is executed by the GPU to obtain faster processing efficiency.
[0106] Display screen 294 is used to display images, videos, etc. Display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 200 may include one or N displays 294, where N is a positive integer greater than 1. Display screen 294 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces (GUIs). For example, display screen 294 can display windows, photos, videos, web pages, or documents, etc. Furthermore, it is understood that in some embodiments, the status bar may also include Bluetooth icons, WiFi icons, external device icons, etc. In some embodiments, when the processor 210 detects a user's finger (or stylus, etc.) touching the display screen, in response to the touch operation, the processor 210 can execute the action corresponding to the touch operation. In some embodiments, when the processor 210 detects an input event from an external input device (e.g., mouse, keyboard, etc.) of the electronic device 200, in response to the input event, the processor 210 can execute the action corresponding to the input event. When the electronic device activates an animated theme, the processor 210 can control the display screen 294 to display the live wallpaper in the animated theme and the animation effects of the live wallpaper.
[0107] In this embodiment, the electronic device 200 is a foldable electronic device. Therefore, a display screen 294 of the electronic device 200 can be a single flexible display screen, or it can be a spliced display screen composed of two rigid screens and a flexible screen located between the two rigid screens. By performing a folding operation on the electronic device 200, the display screen can change its folding state. Optionally, in the method provided in this embodiment, when the electronic device 200 is in a folded state, the electronic device 200 can display a live wallpaper and its animation effects on the outer screen (the display screen exposed to the outside); when the electronic device 200 is in an unfolded state, the electronic device 200 can display a live wallpaper and its animation effects on the inner screen or the unfolded screen (e.g., the dual-screen or triple-screen display screen in a tri-fold phone).
[0108] In some embodiments, depending on the different functions of the multiple displays 294 in the electronic device 200, the multiple displays 294 in the electronic device 200 may include a main screen and a secondary screen. The main screen is used to run the main tasks of the electronic device 200, displaying and completing the main functions of the electronic device, such as making and receiving phone calls, browsing web pages, editing documents, watching videos, etc. The secondary screen, as an extended workspace, can run secondary tasks of the electronic device 200. Optionally, the electronic device 200 can be a foldable electronic device. When the electronic device 200 is in a folded state, the electronic device 200 can display a live wallpaper and its animation effects on the outer screen; additionally, when the electronic device 200 is in an unfolded state, the electronic device 200 can display a live wallpaper and its animation effects on the main screen.
[0109] Camera 293 is used to capture still images or videos. Optionally, electronic device 200 may include 1 to N cameras 293. For example, camera 293 may include a front-facing camera or a rear-facing camera, or a single camera 293 may function as both a front-facing and a rear-facing camera. Typically, camera 293 may include a photosensitive element such as a lens assembly and an image sensor. The lens assembly includes multiple lenses (convex or concave lenses) for collecting light signals reflected from the object to be photographed and transmitting the collected light signals to the image sensor. The image sensor generates a raw image of the object to be photographed based on the light signals.
[0110] Internal memory 221 can be used to store computer executable program code, which includes instructions. Processor 210 executes various functional applications and data processing of electronic device 200 by running the instructions stored in internal memory 221. Internal memory 221 may include a program storage area and a data storage area. The program storage area may store the operating system, program code for at least one application, etc. The operating system may include, but is not limited to, […]. The data storage area can store data created during the use of the electronic device 200, etc.
[0111] The internal memory 221 may also store one or more computer programs for performing the methods provided in the embodiments of this application. These one or more computer programs, stored in the internal memory 221 and configured to be executed by one or more processors 210, include instructions that can be used to perform the various steps in the embodiments of this application.
[0112] In addition, the internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0113] The sensor module 280 may include a fingerprint sensor, a touch sensor, a pressure sensor, a magnetic sensor, an ambient light sensor, a barometric pressure sensor, a bone conduction sensor, etc.
[0114] A touch sensor, also known as a "touch panel," can be located on the display screen 294. The touch sensor detects touch operations applied to or near it. It transmits the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided via the display screen 294. In other embodiments, the touch sensor may also be located on the surface of the electronic device 200, in a different position than the display screen 294.
[0115] The wireless communication function of electronic device 200 can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor, and baseband processor.
[0116] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0117] The mobile communication module 250 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 200. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 250 may be housed in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 and at least some modules of the processor 210 may be housed in the same device.
[0118] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 270A, receiver 270B, etc.) or displays images or videos through the display screen 294. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 210 and may be housed in the same device as the mobile communication module 250 or other functional modules.
[0119] The wireless communication module 260 can provide solutions for wireless communication applications on the electronic device 200, including wireless local area networks (WLAN) (such as Wi-Fi), Bluetooth, global navigation satellite system (GNSS), frequency modulation (FM), NFC, infrared (IR), and UWB. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signal, and sends the processed signal to processor 210. The wireless communication module 260 can also receive signals to be transmitted from processor 210, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2. In this embodiment, the electronic device 200 can establish wireless communication connections with other electronic devices through the wireless communication module 260 for data interaction, or the electronic device 200 can access an access point through the wireless communication module 260, thereby sending instructions and data with network devices or other electronic devices through the access point. For example, electronic device 200 can establish a wireless communication connection with other electronic devices through wireless communication module 260, and transmit files and related information during content transmission through wireless communication module 260.
[0120] In addition, the electronic device 200 can implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headphone jack 270D, and an application processor, such as music playback and recording. The electronic device 200 can receive input from buttons 290, generating key signal inputs related to user settings and function control. The electronic device 200 can use a motor 291 to generate vibration alerts. The indicator 292 in the electronic device 200 can be an indicator light, used to indicate charging status, battery level changes, messages, missed calls, notifications, etc. The SIM card interface 295 in the electronic device 200 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 295 to achieve contact and separation with the electronic device 200.
[0121] In addition, in some scenarios, the electronic device 200 also has an input device interface for connecting input devices such as keyboards, mice, and gamepads. This input device interface can reuse the USB interface 230 or be a separately set up dedicated interface; this application does not limit this.
[0122] It should be understood that the electronic device 200 shown in Figure 2 is merely an example and does not constitute a limitation on the electronic device. In practical applications, the electronic device 200 may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0123] Figure 2 illustrates the hardware structure of the electronic device. The software structure of the electronic device will be described below. The software system of the electronic device provided in this application embodiment can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses a layered architecture as an example, and the software structure of the electronic device is illustrated with reference to Figure 3.
[0124] A layered architecture divides the software within an electronic device into several layers, each with a clear role and function. Layers can communicate with each other through software interfaces. As shown in Figure 3, the software structure of an electronic device, from top to bottom, includes at least: an application layer, a system service layer, and a kernel layer. Additionally, an electronic device may include a hardware abstraction layer (HAL), which provides hardware resource support for the device.
[0125] The application layer is the top layer of the operating system, including the operating system's native applications and installed third-party applications, such as camera, gallery, calendar, Bluetooth, music, video, messaging, calculator, chat applications, video applications, music applications, electronic map applications, social applications, and so on.
[0126] The system service layer is an important part of the operating system of an electronic device, including various system services provided by the operating system. For example, the system service layer may include: window management service, operation management service, notification management service, layer management service, input management service, etc.
[0127] A window management service is used to manage the display and configuration of windows. Based on display configuration and multiple management functions, the window management service can control the display of windows or interfaces on the screen, adjust the transparency, position, and size of windows or interfaces, and may also have functions such as screen locking and screenshotting. The window management service can obtain parameters such as the size and resolution of the display screen, and can also identify display areas such as the status bar in the user interface. Optionally, when the electronic device enters split-screen mode, the window management service can also be used to manage the display and configuration of the window library in each split screen. When the appearance of the electronic device is set to a theme (such as an animation theme), the window management service can control the display of the user interface according to the display-related content defined in that theme. For example, the window management service can display a dynamic wallpaper and user interface on the screen based on the content of the currently set animation theme. For example, in this embodiment, the window management service can render and display the animation of the dynamic wallpaper on the screen based on user operations through a layer management service.
[0128] The operation and management service is responsible for starting, switching, and scheduling various components in the system, as well as managing and scheduling applications.
[0129] Notification management services allow applications to display notification information in the status bar, as well as to convey informational messages. These messages can disappear automatically after a short pause, without requiring user interaction.
[0130] The input management service is used to collect, process, and distribute user operation information and input events. For example, the input management service can receive operation information reported by touch drivers or other input device drivers (such as keyboard drivers, mouse drivers, etc.), convert it into input events, and distribute the input events to other modules for processing.
[0131] Layer management service is a standalone service provided by the operating system of an electronic device. It is a low-level, resident service of the operating system. During device operation, this layer management service needs to run continuously, and the operating system prioritizes allocating resources to it to ensure that it can perform image compositing at any time, thereby ensuring that the electronic device can display the user interface in real time. The layer management service is mainly responsible for the creation, control, and management of layers. It composites and renders the image frames of the corresponding window in each layer, and finally combines the graphic frames from all layers into the image of the user interface to be displayed on the screen.
[0132] Optionally, between the application layer and the system service layer, the software architecture of the electronic device may also include an application framework layer (FWK) (not shown in the figure). The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer may include some predefined functions. For example, the application framework layer may include a content provider, a view system, a resource manager, etc. The content provider is used to store and retrieve data, making this data accessible to applications in the application layer. The view system includes visual controls, such as controls for displaying text, images, documents, etc.; the controls in the view system can be used to build the user interface of the application.
[0133] The kernel layer provides the core system services of the operating system, such as security, memory management, process management, network protocol stack, and driver models, all of which are implemented based on the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer contains many drivers related to electronic devices, including: display drivers; keyboard drivers; mouse drivers; Flash drivers for memory-based devices; camera drivers; audio drivers; Bluetooth drivers; WiFi drivers; and touch drivers.
[0134] HAL (Hardware Abstraction Layer) is the interface layer between the operating system kernel and the hardware circuitry of an electronic device, and its purpose is to abstract the hardware. For example, HAL can include various sensors, displays, cameras, hardware composers (HWCs), and other hardware components in an electronic device. The HWC is primarily responsible for image compositing and display.
[0135] It should be noted that Figure 3 is merely an example of the software structure of an electronic device, simply listing some layers and software modules, and does not constitute any limitation on the software structure of the electronic device. In practical applications, the operating system of an electronic device may include other layers, or each layer may include other software modules for implementing one or more functions or services. Furthermore, the embodiments of this application do not limit the specific layer where each software module resides. For example, some system services in the system service layer may be deployed in the application framework layer or in the kernel layer.
[0136] Furthermore, this application does not specifically limit the names of the various software modules in the software structure. For example, in In operating systems, the window management service can be WindowManagerServer (WMS), the layer management service can be the layer management engine (SurfaceFlinger), and the input management service can be InputManagerService. operating system( In an OS, the window management service can be SceneBoard (SCB), the layer management service can be RenderService (RS), and the input management service can be multi-modal input service.
[0137] To improve the flexibility and display effect of live wallpapers, this application provides a live wallpaper display method. This method can be applied to the electronic device shown in Figure 2, and the software structure of the electronic device is shown in Figure 3. The method provided by the embodiments of this application will be described in detail below with reference to the flowchart shown in Figure 4.
[0138] S401: The electronic device displays the first wallpaper on the screen.
[0139] Optionally, the electronic device can display a first wallpaper on the screen based on the currently set animation theme. This first wallpaper is the live wallpaper.
[0140] Depending on the specific application scenario, electronic devices can display a first wallpaper on the lock screen, main screen, or other screens (such as picture-in-picture or floating window screens). For example, as shown in Figure 1, an electronic device can display a first wallpaper on the lock screen or main screen.
[0141] S402: In response to a first user operation performed by the user that brings the electronic device closer to other electronic devices, the electronic device displays a first motion effect of a first wallpaper on the display screen.
[0142] In practical applications, users can achieve certain interactive purposes by bringing two electronic devices close together, such as pairing to establish a connection, exchanging information, and transferring content. For example, the current "tap-to-connect" function of devices.
[0143] Optionally, the electronic device can detect the presence of other electronic devices in the vicinity based on wireless communication technology, thereby detecting a user's first user action that brings the two electronic devices closer together. For example, wireless communication technologies may include: near field communication (NFC) technology, Bluetooth (BT) technology (e.g., ordinary BT technology, Bluetooth Low Energy (BLE) technology), wireless-fidelity (WiFi) technology, ZigBee technology, ultra-wideband (UWB) technology, or Starflash technology, etc.
[0144] In one implementation, the electronic device can perform S402 by the following steps to display the first motion effect:
[0145] Step A1: The electronic device acquires the status information of the electronic device during the execution of the first user operation.
[0146] Step A2: The electronic device displays the first animation on the screen based on the acquired status information of the electronic device;
[0147] The status information of the electronic device includes at least one of the following: the device's direction of movement, the relative position information of the electronic device and the other electronic devices, the target screen position information, and the device's speed of movement; the target screen position information is used to indicate the screen position on the display screen of the electronic device that is closest to the other electronic device.
[0148] Based on the different contents contained in the status information of electronic devices, electronic devices can implement the first animation effect of the first wallpaper through the following methods one to four.
[0149] Implementation Method 1: When the status information of the electronic device includes the direction of device movement, the first animation effect is the animation effect of the content in the first wallpaper moving or converging in the direction of device movement.
[0150] For example, as shown in Figures 5A(a) and (b), the lock screen of phone 1 displays live wallpaper 1, which contains a kitten; the lock screen of phone 2 displays live wallpaper 2, which contains a fish. As shown in Figure 5B(a), when phone 1 is on the left and phone 2 is on the right, and the two phones are close together (i.e., phone 1 moves to the right and phone 2 moves to the left), phone 1 can display the animation of the kitten running to the right in live wallpaper 1, and phone 2 can display the animation of the fish swimming to the left in live wallpaper 2. As shown in Figure 5B(b), when phone 2 is on the left and phone 1 is on the right, and the two phones are close together (i.e., phone 2 moves to the right and phone 1 moves to the left), phone 1 can display the animation of the kitten running to the left in live wallpaper 1, and phone 2 can display the animation of the fish swimming to the right in live wallpaper 2. As shown in Figure 5B(c), when phone 1 is on top and phone 2 is on the bottom, and the two phones are close together (i.e., phone 1 moves downwards and phone 2 moves upwards), phone 1 can display the animation of a kitten running downwards from Live Wallpaper 1, and phone 2 can display the animation of a fish swimming upwards from Live Wallpaper 2. As shown in Figure 5B(d), when phone 1 is on the bottom and phone 2 is on top, and the two phones are close together (i.e., phone 1 moves upwards and phone 2 moves downwards), phone 1 can display the animation of a kitten jumping upwards from Live Wallpaper 1, and phone 2 can display the animation of a fish swimming downwards from Live Wallpaper 2. It should be noted that if one of the phones is not moving, that phone may not display its live wallpaper animation at that time.
[0151] Implementation Method Two: When the status information of an electronic device includes the relative position information between the electronic device and other electronic devices, the first animation effect is an animation effect in which the content in the first wallpaper moves or converges towards other electronic devices. For example, the first animation effect can be shown in Figure 5B in Implementation Method One.
[0152] Implementation Method 3: When the status information of the electronic device includes the target screen position information, the first animation effect is the animation effect of the content in the first wallpaper moving or converging towards the screen position indicated by the target screen position information, or the first animation effect is the animation effect generated by the content in the first wallpaper within the screen position indicated by the target screen position information.
[0153] Optionally, the electronic device can determine the relative position information of the electronic device and the other electronic device, and determine the target screen position information based on the relative position information.
[0154] In this third implementation, when the first animation effect is the animation effect of the content in the first wallpaper moving or converging to the screen position indicated by the target screen position information, the first animation effect is similar to the first animation effect in the first or second implementation, and will not be described again here.
[0155] The first animation effect is the animation generated by the content in the first wallpaper within the screen position indicated by the target screen position information; that is, the first wallpaper contains animations generated at the screen position indicated by the target screen position information. Continuing with the example of the two mobile phones in Figure 5A, when mobile phone 1 and mobile phone 2 are close together and in the state shown in Figure 5C, mobile phone 1 can display the animation effect of the kitten in live wallpaper 1 moving within screen position 1, and mobile phone 3 can display the animation effect of the fish in live wallpaper 2 moving within screen position 2. Here, screen position 1 is the screen position on mobile phone 1 that is closest to mobile phone 2; screen position 2 is the screen position on mobile phone 2 that is closest to mobile phone 1.
[0156] Implementation Method 4: When the status information of the electronic device includes the device's movement speed, the change range or movement speed of the content of the first wallpaper in the first animation is positively correlated with the device's movement speed.
[0157] Optionally, the electronic device can determine its moving speed based on sensing data collected by its own acceleration sensor.
[0158] Continuing with the example of the two mobile phones in Figure 5A, when mobile phone 1 slowly approaches mobile phone 2, mobile phone 1 can display the animation effect of the kitten in live wallpaper 1 slightly increasing in size, as shown in Figure 5D(a); when mobile phone 1 quickly approaches mobile phone 2, mobile phone 1 can display the animation effect of the kitten in live wallpaper 1 increasing in size, as shown in Figure 5D(b).
[0159] It should also be noted that, in this embodiment, when the first wallpaper is an indivisible whole, the first animation effect can be the animation effect of the first wallpaper as a whole; when the first wallpaper includes a background image and an interactive object, the first animation effect of the first wallpaper includes at least one of the following: the animation effect of the background image and the animation effect of the interactive object. The interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user. In the animation effect of the interactive object, the action performed by the interactive object matches the image of the interactive object. For example, in Figures 5B to 5D above, the kitten in live wallpaper 1 performs the actions of running and jumping, and the fish in live wallpaper 2 performs the actions of swimming.
[0160] This application provides a method for displaying animated wallpapers. In this method, during the display of a live wallpaper, the electronic device can display the wallpaper's animation in real time based on user actions that bring two electronic devices close together. This method enables the live wallpaper on the electronic device to generate animations based on user actions that bring two electronic devices close together, thereby achieving interaction with the user and enhancing the fun of the live wallpaper. The method provided in this application can improve the flexibility and display effect of live wallpapers.
[0161] To improve the flexibility and display effect of live wallpapers, this application provides a live wallpaper display method. This method can be applied to the electronic device shown in Figure 2, and the software structure of the electronic device is shown in Figure 3. The method provided by the embodiments of this application will be described in detail below with reference to the flowchart shown in Figure 6.
[0162] S601: The electronic device displays the first wallpaper on the screen.
[0163] Similar to S401 in the embodiment shown in Figure 4, it will not be described again here.
[0164] S602: The electronic device responds to a second user operation performed by the user on the first wallpaper and displays a second animation of the first wallpaper on the display screen.
[0165] It should be noted that this application does not limit the type of operation of the second user operation. For example, the second user operation can be any of the following: single click operation, double click operation, short press operation, long press operation, swipe operation, and drag operation.
[0166] In one implementation, the electronic device can perform S602 by the following steps to display the second motion effect:
[0167] Step B1: The electronic device obtains the operation information of the second user.
[0168] Step B2: The electronic device displays a second animation on the screen based on the operation information provided by the second user.
[0169] The operation information of the second user operation includes at least one of the following: first operation location, first operation type, and first operation duration.
[0170] Based on the different content contained in the operation information of the second user operation, the electronic device can display the second animation effect of the first wallpaper through the following implementation methods 1 to 3.
[0171] Implementation method 1: When the operation information includes the first operation position, the second animation effect is the animation effect of the content in the first wallpaper moving or converging towards the first operation position; or the second animation effect is the animation effect of part of the content in the first wallpaper changing in amplitude or position with the first operation position as the initial position.
[0172] Continuing with the example of mobile phone 2 in Figure 5A, when the user clicks on a certain position in the live wallpaper 2 of mobile phone 2 as shown in Figure 7A(a), mobile phone 2 can display the animation of the fish in the live wallpaper 2 swimming towards that position, as shown in Figure 7A(b); or, the mobile phone can display the fish in the live wallpaper 2 changing from its original position to the position operated by the user, and changing the amplitude (i.e., enlarging) at the position operated by the user, as shown in Figure 7A(c).
[0173] Implementation method 2: When the operation information includes the first operation type, the action type performed by the content in the first wallpaper in the second animation corresponds to the first operation type.
[0174] In this implementation method 2, the content displayed by the second animation is related to the type of user operation. That is, when the user performs different user operations on the first wallpaper, the electronic device can display different animations for the first wallpaper.
[0175] For example, when the second user operation is a click operation, the second animation effect can be any random animation effect among the various animation effects of the first wallpaper; when the second user operation is a swipe operation, the second animation effect can be the animation effect of the content in the first wallpaper moving in the swipe direction; when the second user operation is a drag operation, the second animation effect can be the animation effect of the user dragging the content moving in the drag direction; when the second user operation is a long press operation, the content in the first wallpaper can change amplitude; when the second user operation is a short press operation, the content in the first wallpaper can flash.
[0176] Continuing with the example of mobile phone 2 in Figure 5A, when the user clicks on a certain position in the live wallpaper 2 of mobile phone 2 as shown in Figure 7B(a), mobile phone 2 can display any random animation effect of the live wallpaper 2. This animation effect can be any one of the animation effects in Figure 7B(b), (c) or (d).
[0177] Implementation method 3: When the operation information includes the first operation duration, the duration of the second animation is positively correlated with the first operation duration, and / or, the degree of change of the content of the first wallpaper in the first animation is positively correlated with the first operation duration.
[0178] The degree of change may include at least one of the following: degree of amplitude change, degree of displacement change, degree of color change, etc., which are not limited in this application.
[0179] It should also be noted that, in this embodiment, when the first wallpaper is an indivisible whole, the first animation effect can be the animation effect of the first wallpaper as a whole; when the first wallpaper includes a background image and an interactive object, the first animation effect of the first wallpaper includes at least one of the following: animation effect of the background image and animation effect of the interactive object. The interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user. In the animation effect of the interactive object, the action performed by the interactive object matches the image of the interactive object.
[0180] This application provides a method for displaying animated wallpapers. In this method, during the display of a live wallpaper, the electronic device can display the wallpaper's animation effects in real time based on user actions performed on the wallpaper. This method enables the live wallpaper of the electronic device to generate animation effects based on user actions on the wallpaper, thereby achieving interaction with the user and enhancing the fun of the live wallpaper. The method provided in this application can improve the flexibility and display effect of live wallpapers.
[0181] To improve the flexibility and display effect of live wallpapers, this application provides a live wallpaper display method. This method can be applied to the electronic device shown in Figure 2, and the software structure of the electronic device can be as shown in Figure 3. The method provided by the embodiments of this application will be described in detail below with reference to the flowchart shown in Figure 8.
[0182] S801: The electronic device displays the first wallpaper on the screen.
[0183] Similar to S401 in the embodiment shown in Figure 4, it will not be described again here.
[0184] S802: Electronic devices acquire user behavior information, which is used to indicate user behavior activities.
[0185] Optionally, the user's behavior may include, but is not limited to, the user's physical movements, facial expressions, and emotions.
[0186] In one implementation, the electronic device can obtain user behavior information by analyzing data collected by sensors, and the specific steps are as follows:
[0187] Step C1: The electronic device acquires sensor data collected by the electronic device's sensors.
[0188] Optionally, the sensors of the electronic device may include, but are not limited to, microphones, accelerometers, gyroscopes, temperature sensors, photoplethysmography (PPG) sensors, etc.
[0189] Step C2: The electronic device determines user behavior information based on sensor data.
[0190] In one implementation, the electronic device can determine user behavior information in the following way:
[0191] Method 1: When the sensor data includes audio signals or airflow vibration signals collected by the microphone of the electronic device, the electronic device can identify the user's blowing operation based on the audio signals or airflow vibration signals collected by the microphone; and determine the user behavior information to instruct the user to perform the blowing operation on the electronic device.
[0192] Method 2: When the sensor data includes sensor data collected by the accelerometer or gyroscope of the electronic device, the electronic device can identify the user's shaking operation based on the sensor data collected by the accelerometer or gyroscope; and determine the user behavior information to instruct the user to perform a shaking operation on the electronic device.
[0193] S803: The electronic device displays the third animation of the first wallpaper on the display screen based on user behavior information.
[0194] Optionally, the third animation effect corresponds to the behavioral activity indicated by the user behavior information. That is, different behavioral activities correspond to different animation effects for the first wallpaper. Based on this, in the embodiments of this application, the third animation effect of the first wallpaper displayed by the electronic device is also different based on the different user behavioral activities indicated by the user behavior information. For example, the electronic device can display the third animation effect in the following ways.
[0195] Implementation method a: When user behavior information is used to instruct the user to perform a blowing operation on the electronic device, the third animation effect is the animation effect of the content in the first wallpaper moving in the blowing direction of the blowing operation.
[0196] For example, as shown in Figure 9A(a), the lock screen of mobile phone 1 displays live wallpaper 1, which contains balloons. When the user blows air into the phone, mobile phone 1 can display an animation effect of the balloons in live wallpaper 1 moving in the direction of the blowing air, as shown in Figure 9A(b).
[0197] Implementation method b: When user behavior information is used to instruct the user to perform a shaking operation on the electronic device, the third animation effect is the shaking effect of the content in the first wallpaper.
[0198] Continuing with the example of mobile phone 1 in Figure 9A, when the user shakes the phone, mobile phone 1 can display the motion effect of the balloons swaying in the live wallpaper 1, as shown in Figure 9B.
[0199] It should also be noted that, in this embodiment, when the first wallpaper is an indivisible whole, the first animation effect can be the animation effect of the first wallpaper as a whole; when the first wallpaper includes a background image and an interactive object, the first animation effect of the first wallpaper includes at least one of the following: animation effect of the background image and animation effect of the interactive object. The interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user. In the animation effect of the interactive object, the action performed by the interactive object matches the image of the interactive object.
[0200] This application provides a method for displaying animated wallpapers. In this method, during the display of a live wallpaper, the electronic device can display the wallpaper's animation effects in real time based on user behavior information. This method enables the live wallpaper on the electronic device to generate animation effects based on user behavior, thereby achieving interaction with the user and enhancing the fun of the live wallpaper. The method provided in this application can improve the flexibility and display effect of live wallpapers.
[0201] To improve the flexibility and display effect of live wallpapers, this application provides a live wallpaper display method. This method can be applied to the electronic device shown in Figure 2, and the software structure of the electronic device is shown in Figure 3. The method provided by the embodiments of this application will be described in detail below with reference to the flowchart shown in Figure 10.
[0202] S1001: The electronic device displays the first wallpaper on the screen and runs the first business in the background.
[0203] Optionally, the first service can be an application or system service running in the background of the electronic device; this application does not limit this. Optionally, the electronic device can also display a first control on the screen, which can be used to display the running status of the first service or to allow the user to perform control operations on the first service without entering its window. The first control can be a card, a simplified mode player, etc.; this application does not limit this.
[0204] S1002: The electronic device displays the fourth animation effect of the first wallpaper on the display screen; the fourth animation effect is used to prompt the user with the operation information or notification message of the first service.
[0205] In one implementation, the electronic device can display a fourth animation effect of the first wallpaper on the display screen in the following manner:
[0206] Implementation Method I: The electronic device obtains the operation information of the first service; and displays the fourth animation effect of the first wallpaper on the display screen according to the operation information of the first service.
[0207] Optionally, when the first service is a multimedia playback service, the operational information of the first service includes at least one of the following: playback status, rhythm information of the currently playing multimedia file, volume of the currently playing multimedia file, and file information of the currently playing multimedia file. The rhythm information may include at least one of the following parameters of the multimedia file: beats per minute (BPM), beat, time signature, rhythm type, accent, etc. This rhythm information reflects the rhythm of the multimedia file. The file information of the multimedia file may include: filename, album name, author or artist, file poster, etc.
[0208] Optionally, the fourth animation effect can be the content of the first wallpaper in the electronic device, adjusting the speed or amplitude of movement according to the rhythm indicated by the rhythm information; or the fourth animation effect can adjust the speed or amplitude of movement according to the volume; or the fourth animation effect can reflect the playback status of the multimedia playback service, with different animation effects for the first wallpaper corresponding to different playback statuses; or the fourth animation effect can reflect the file information of the multimedia file.
[0209] Continuing with the example of mobile phone 2 in Figure 5A, as shown in Figure 11A, when mobile phone 2 is playing music, the swimming speed of the fish in the live wallpaper 2 of mobile phone 2 is related to the rhythm of the music. When the rhythm is fast, the fish swims fast; when the rhythm is slow, the fish swims slowly.
[0210] Implementation Method II: The electronic device displays a notification message for the first service on the display screen; and displays a fourth animation effect of the first wallpaper on the display screen according to the display position and / or content of the notification message.
[0211] Optionally, the fourth animation effect includes at least one of the following: an animation effect in which the content in the first wallpaper moves or converges to the display position, an animation effect in which the content in the first wallpaper is generated at the display position, or an animation effect in which the content in the first wallpaper matches the notification content.
[0212] Continuing with the example of mobile phone 2 in Figure 5A, when mobile phone 2 receives and displays a notification message for a certain service, mobile phone 2 can display an animation of the fish in the live wallpaper 2 swimming towards the display position of the notification message, as shown in Figure 11B(a); or mobile phone 2 can display something of the fish in the live wallpaper 2 swimming within the display position of the notification message, as shown in Figure 11B(b).
[0213] Continuing with the example of phone 2 in Figure 5A, when phone 2 is running a food delivery app in the background, it can display live wallpaper 2 based on the current status of the food delivery in the app's notification. When the notification indicates that the order has been accepted by the merchant, phone 2 can display the animation of the fish swimming on the left side of live wallpaper 2, as shown in Figure 11C(a); when the notification indicates that the food delivery is being delivered, phone 2 can display the animation of the fish swimming in the middle of live wallpaper 2, as shown in Figure 11C(b); and when the notification indicates that the food delivery is about to arrive, phone 2 can display the animation of the fish swimming on the right side of live wallpaper 2, as shown in Figure 11C(c).
[0214] Continuing with the example of phone 2 in Figure 5A, when phone 2 is running a ride-hailing app in the background, it can display live wallpaper 2 based on the current vehicle status in the app's notification. When the app's notification indicates that a driver has accepted an order, phone 2 can display the animation of a fish swimming on the left side of live wallpaper 2, as shown in (a) of Figure 11D; when the app's notification indicates that a driver is arriving, phone 2 can display the animation of a fish swimming in the middle of live wallpaper 2, as shown in (b) of Figure 11D; and when the app's notification indicates that the destination is being reached, phone 2 can display the animation of a fish swimming on the right side of live wallpaper 2, as shown in (c) of Figure 11D.
[0215] It should also be noted that, in this embodiment, when the first wallpaper is an indivisible whole, the first animation effect can be the animation effect of the first wallpaper as a whole; when the first wallpaper includes a background image and an interactive object, the first animation effect of the first wallpaper includes at least one of the following: animation effect of the background image and animation effect of the interactive object. The interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user. In the animation effect of the interactive object, the action performed by the interactive object matches the image of the interactive object.
[0216] This application provides a method for displaying live wallpapers. Using this method, during the display of a live wallpaper, the electronic device can display the wallpaper's animation effects in real time based on the running status of background processes. This method allows the animation effects of the electronic device to reflect the running status of background processes, thus reminding the user and improving the functionality of live wallpapers. In summary, the method provided in this application can improve the flexibility and display effect of live wallpapers.
[0217] It should be noted that in the above embodiments, the concepts and explanations of the same terms can be referred to each other, and the same or similar steps can also be referred to each other. The examples in the above embodiments do not constitute any limitation on the methods provided in the embodiments of this application.
[0218] It should also be noted that each step in the above embodiments can be executed by the corresponding device, or by components such as chips, processors, or chip systems within that device. The embodiments of this application do not limit their execution. The above embodiments are merely illustrative examples of execution by the corresponding device. Furthermore, the specific implementation methods or examples in the above embodiments do not limit the solutions provided by the embodiments of this application.
[0219] It should be noted that in the above embodiments, some steps may be selected for implementation, and the order of the steps in the figures may be adjusted. This application does not limit this. It should be understood that performing some of the steps in the figures, adjusting the order of the steps, or combining them in a specific implementation all fall within the protection scope of this application.
[0220] It is understood that, in order to achieve the functions described in the above embodiments, each device involved in the above embodiments includes a hardware structure and / or software module corresponding to perform each function. Those skilled in the art should readily recognize that, based on the units and method steps of the various examples described in conjunction with the embodiments disclosed in this application, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
[0221] It is understood that the architecture and application scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. As those skilled in the art will know, with the evolution of network architecture and the emergence of new services, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.
[0222] It should be noted that the "steps" in the embodiments of this application are merely illustrative and are intended to better understand one method of presentation used in the embodiments. They do not constitute a substantial limitation on the execution of the solution of this application. For example, the "step" can also be understood as a "feature". Furthermore, the steps do not constitute any limitation on the execution order of the solution of this application. Any changes to the order of steps, or the merging or splitting of steps made on this basis without affecting the overall solution implementation, resulting in a new technical solution, are also within the scope of disclosure of this application.
[0223] Based on the same concept, this application also provides an electronic device. As shown in FIG12, the electronic device 1200 includes a display screen 1201, one or more processors 1202, and a memory 1203. Optionally, the electronic device 1200 may also include a transceiver 1204. For example, the above-mentioned devices can be connected via one or more communication buses. The one or more computer programs are stored in the memory 1203 and configured to be executed by the one or more processors 1202. The one or more computer programs include instructions that can be used to cause the electronic device 1200 to perform various steps of the methods in the above embodiments.
[0224] For example, the one or more processors 1202 mentioned above may specifically be processor 210 in FIG2; the memory 1203 mentioned above may specifically be internal memory 221 in FIG2. The transceiver 1204 may be mobile communication module 250 or wireless communication module 260 in FIG2; the display screen 1201 mentioned above may be display screen 294 in FIG2, and the embodiments of this application do not impose any limitations on this.
[0225] Based on the same concept, embodiments of this application also provide an electronic device, which includes units for performing the various steps of the methods provided in the above embodiments.
[0226] For details on the specific functions of each module, please refer to the above embodiments; they will not be repeated here.
[0227] Based on the above embodiments, this application also provides a computer program product, which includes instructions; when the computer program is run on a computer, it causes the computer to execute the method provided in the above embodiments.
[0228] Based on the above embodiments, this application also provides a computer-readable storage medium storing computer program instructions, which, when executed by a computer, cause the computer to perform the methods provided in the above embodiments.
[0229] Optionally, the aforementioned computer may include, but is not limited to, control devices.
[0230] The storage medium can be any available medium that a computer can access. For example, but not limited to, a computer-readable medium can include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
[0231] Based on the above embodiments, this application also provides a chip for reading a computer program stored in a memory to implement the method provided in the above embodiments. Optionally, the chip may include a processor and a memory, wherein the processor is coupled to the memory and is used to read the computer program stored in the memory to implement the method provided in the above embodiments.
[0232] Based on the above embodiments, this application provides a chip system including a processor for supporting a computer device in implementing the functions involved in the control device in the above embodiments. In one possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. This chip system may be composed of chips or may include chips and other discrete components.
[0233] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0234] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more blocks of the flowchart illustrations and / or one or more blocks of the block diagrams.
[0235] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.
[0236] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.
Claims
1. A method for displaying dynamic wallpapers, applied to electronic devices, characterized in that, include: Display the first wallpaper on the screen; In response to a first user action performed by the user to bring the electronic device closer to other electronic devices, a first animation effect of the first wallpaper is displayed on the screen. Wherein, the first animation effect of displaying the first wallpaper on the display screen in response to a first user operation performed by the user to bring the electronic device closer to other electronic devices includes: Obtain the status information of the electronic device during the execution of the first user operation; Based on the status information, the first animation effect is displayed on the display screen; The status information includes at least one of the following: device movement direction, relative position information between the electronic device and the other electronic devices, target screen position information, and device movement speed; the target screen position information is used to indicate the screen position on the display screen of the electronic device that is closest to the other electronic devices.
2. The method as described in claim 1, characterized in that, When the status information includes the device's movement direction, the first animation effect is an animation effect in which the content in the first wallpaper moves or converges in the device's movement direction; When the status information includes the relative position information of the electronic device and the other electronic devices, the first animation effect is an animation effect in which the content in the first wallpaper moves or converges towards the other electronic devices; When the status information includes the target screen position information, the first animation effect is an animation effect in which the content in the first wallpaper moves or converges to the screen position indicated by the target screen position information, or the first animation effect is an animation effect generated by the content in the first wallpaper within the screen position indicated by the target screen position information. When the status information includes the device's moving speed, the change range or moving speed of the content of the first wallpaper in the first animation is positively correlated with the device's moving speed.
3. The method as described in claim 1 or 2, characterized in that, The first wallpaper includes a background image and an interactive object; the interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user. The first animation effect of the first wallpaper includes at least one of the following: the animation effect of the background image, and the animation effect of the interactive object.
4. The method as described in claim 3, characterized in that, In the animation effects of the interactive object, the actions performed by the interactive object are matched with the image of the interactive object.
5. A method for displaying dynamic wallpapers, applied to electronic devices, characterized in that, include: Display the first wallpaper on the screen; In response to a second user action performed by the user on the first wallpaper, a second animation effect of the first wallpaper is displayed on the screen; The step of displaying a second animation effect of the first wallpaper on the display screen in response to a second user operation performed by the user on the first wallpaper includes: Obtain the operation information of the second user; Based on the operation information, the second animation effect is displayed on the screen. The operation information includes at least one of the following: first operation location, first operation type, and first operation duration.
6. The method as described in claim 5, characterized in that, When the operation information includes the first operation position, the second animation effect is an animation effect in which the content in the first wallpaper moves or converges towards the first operation position; Alternatively, the second animation effect could be an animation effect in which part of the content in the first wallpaper changes in amplitude or position with the first operation position as the initial position; When the operation information includes the first operation type, the action type performed by the content in the first wallpaper in the second animation corresponds to the first operation type; When the operation information includes the first operation duration, the duration of the second animation is positively correlated with the first operation duration, and / or, the degree of change of the content of the first wallpaper in the first animation is positively correlated with the first operation duration.
7. The method as described in claim 5 or 6, characterized in that, The second user action is any one of the following: Single click, double click, short press, long press, swipe, drag.
8. The method according to any one of claims 5-7, characterized in that, The first wallpaper includes a background image and an interactive object; the interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user. The second animation effect of the first wallpaper includes at least one of the following: the animation effect of the background image, and the animation effect of the interactive object.
9. The method as described in claim 8, characterized in that, In the animation effects of the interactive object, the actions performed by the interactive object are matched with the image of the interactive object.
10. A method for displaying dynamic wallpapers, applied to electronic devices, characterized in that, include: Display the first wallpaper on the screen; Obtain user behavior information, which is used to indicate user behavior activities; Based on the user behavior information, the third animation effect of the first wallpaper is displayed on the screen. Wherein, when the user behavior information is used to instruct the user to perform a blowing operation on the electronic device, the third animation effect is an animation effect in which the content in the first wallpaper moves in the blowing direction of the blowing operation.
11. The method as described in claim 10, characterized in that, The acquisition of user behavior information includes: Acquire sensor data collected by the sensors of the electronic device; The user behavior information is determined based on the sensor data.
12. The method as described in claim 11, characterized in that, Determining the user behavior information based on the sensor data includes: When the sensor data includes audio signals or airflow vibration signals collected by the microphone of the electronic device, the user is identified to be performing a blowing operation on the electronic device based on the audio signals or airflow vibration signals collected by the microphone; the user behavior information is determined to instruct the user to perform a blowing operation on the electronic device.
13. The method according to any one of claims 10-12, characterized in that, The first wallpaper includes a background image and an interactive object; the interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user. The third animation effect of the first wallpaper includes at least one of the following: the animation effect of the background image, and the animation effect of the interactive object.
14. The method as described in claim 13, characterized in that, In the animation effects of the interactive object, the actions performed by the interactive object are matched with the image of the interactive object.
15. A method for displaying dynamic wallpapers, applied to electronic devices, characterized in that, include: Display the first wallpaper on the screen, and run the first business in the background; The fourth animation effect of the first wallpaper is displayed on the screen; The fourth animation effect is used to prompt the user with the operation information or notification message of the first service.
16. The method as described in claim 15, characterized in that, The fourth animation effect of the first wallpaper is displayed on the screen, including: Obtain the operation information of the first service; based on the operation information of the first service, display the fourth animation effect of the first wallpaper on the display screen; or The notification message of the first service is displayed on the display screen; and the fourth animation effect of the first wallpaper is displayed on the display screen according to the display position and / or notification content of the notification message.
17. The method as described in claim 16, characterized in that, The fourth animation effect includes at least one of the following: an animation effect in which the content in the first wallpaper moves or converges to the display position, an animation effect in which the content in the first wallpaper is generated at the display position, or an animation effect in which the content in the first wallpaper matches the notification content.
18. The method according to any one of claims 15-17, characterized in that, When the first service is a multimedia playback service, the operation information of the first service includes at least one of the following: playback status, rhythm information of the currently played multimedia file, volume of the currently played multimedia file, and file information of the currently played multimedia file.
19. The method according to any one of claims 15-18, characterized in that, The first wallpaper includes a background image and an interactive object; the interactive object is an image defined in the first theme currently set by the electronic device that interacts with the user. The fourth animation effect of the first wallpaper includes at least one of the following: the animation effect of the background image, and the animation effect of the interactive object.
20. The method as described in claim 19, characterized in that, In the animation effects of the interactive object, the actions performed by the interactive object are matched with the image of the interactive object.
21. An electronic device, characterized in that, The electronic device includes: A display screen used to show the user interface; Memory is used to store computer program instructions; A processor for executing the computer program instructions to support the electronic terminal device in implementing the method as described in any one of claims 1-20.
22. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that, when executed by a processing circuit, implement the method as described in any one of claims 1-20.
23. A computer program product containing instructions, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1-20.