Method and apparatus for playing transition animation, and device and storage medium

By waking up the second system from the first system and playing a transition animation, the problem of prolonged user operation response time under dual-system collaboration was solved, thus improving the user experience.

WO2026046252A1PCT designated stage Publication Date: 2026-03-05GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/117339
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-29
Filing Date
2025-08-27
Publication Date
2026-03-05

AI Technical Summary

Technical Problem

Battery life issues in mobile electronic devices, especially due to long user response latency in dual-system collaboration, lead to a poor user experience.

Method used

While the first system is running, the response latency of user operations is shortened by waking up the second system and playing a transition animation during the wake-up process, until the second system is fully running and the application interface is displayed.

Benefits of technology

By playing transition animations during the second system wake-up process, the response latency of user operations is shortened, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025117339_05032026_PF_FP_ABST
    Figure CN2025117339_05032026_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the field of electronic devices. Disclosed are a method and apparatus for playing a transition animation, and a device and a storage medium. The method comprises: when a first system is in a running state and a second system is in a non-running state other than a shutdown state, in response to a switching operation, waking up the second system to enter the running state, wherein the switching operation is used for triggering the running of an application program in the second system; starting to play a transition animation by means of the first system at a moment between a first moment and a second moment, wherein the first moment is a moment at which to start to wake up the second system, and the second moment is a moment at which the second system is woken up to start running the application program; and in response to the playing of the transition animation having been completed, displaying an application interface of the application program by means of the second system, wherein the application interface is a user interface obtained by means of the second system running the application program in the running state. The present application can shorten a response delay to a user operation.
Need to check novelty before this filing date? Find Prior Art

Description

Transition animation playback methods, devices, equipment and storage media

[0001] This application claims priority to Chinese Patent Application No. 202411207774.1, filed on August 29, 2024, entitled “Method, Apparatus, Device and Storage Medium for Playing Transition Animations”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of electronic devices, and in particular to a method, apparatus, device, and storage medium for playing transition animations. Background Technology

[0003] Mobile electronic devices (such as wearable devices) are easy to carry and use, but due to their size limitations, they typically have poor battery life.

[0004] To improve the battery life of electronic devices, it is necessary to reduce their power consumption. One related technology involves setting up a dual-system architecture for the electronic device. A lower-performance first processor runs a less complex first system, while a higher-performance second processor runs a more complex second system. Through the cooperation of these two systems, the power consumption of the electronic device can be reduced. Summary of the Invention

[0005] This application provides a method, apparatus, device, and storage medium for playing transition animations, which can shorten the response latency to user operations. The technical solution is as follows:

[0006] According to one aspect of this application, a method for playing a transition animation is provided, the method comprising:

[0007] When the first system is in a running state and the second system is in a non-running state other than a shutdown state, in response to a switching operation, the second system is woken up and enters the running state, and the switching operation is used to trigger the running of the application in the second system;

[0008] The first system starts playing a transition animation between a first moment and a second moment, where the first moment is the moment when the second system begins to wake up, and the second moment is the moment when the second system is fully woken up to start running the application.

[0009] In response to the completion of the transition animation, the application interface of the application is displayed through the second system. The application interface is the user interface obtained by the second system running the application in the running state.

[0010] According to another aspect of this application, a method for playing transition animations is provided, applied to an electronic device, the electronic device including a first system and a second system, the method comprising:

[0011] When the first system is in the running state and the second system is in either the first non-running state or the second non-running state other than the shutdown state, the transition animation is determined according to the switching operation.

[0012] The start time of the transition animation is determined based on the playback duration of the transition animation and / or the state of the second system;

[0013] The first system plays the transition animation when the start playback time arrives; wherein, the power consumption of the first non-running state is higher than that of the second non-running state, and the wake-up time of the first non-running state is shorter than that of the second non-running state.

[0014] According to another aspect of this application, a device for playing transition animation is provided, the device comprising:

[0015] The switching module is used to wake up the second system and put it into the running state in response to a switching operation when the first system is in the running state and the second system is in a non-running state other than the shutdown state. The switching operation is used to trigger the running of the application in the second system.

[0016] The display module is used to start playing a transition animation through the first system at a time between a first moment and a second moment, where the first moment is the moment when the second system is started to be woken up, and the second moment is the moment when the second system is finished to be woken up and the application starts to run.

[0017] The display module is further configured to, in response to the completion of playing the transition animation, display the application interface of the application through the second system, wherein the application interface is the user interface obtained by the second system running the application in the running state.

[0018] According to another aspect of this application, a transition animation playback device is provided, the device comprising a first system and a second system, the device comprising:

[0019] The determination module is used to determine the transition animation based on the switching operation when the state of the first system is running and the state of the second system is either a first non-running state or a second non-running state other than a shutdown state.

[0020] The determining module is further configured to determine the start time of the transition animation based on the playback duration of the transition animation and / or the state of the second system;

[0021] The display module is used for the first system to play the transition animation when the start playback time arrives; wherein the power consumption of the first non-running state is higher than that of the second non-running state, and the wake-up time of the first non-running state is shorter than that of the second non-running state.

[0022] According to another aspect of this application, an electronic device is provided, the electronic device including a processor and a memory, the memory storing at least one program, the at least one program being loaded and executed by the processor to implement the transition animation playback method as described above.

[0023] According to another aspect of this application, a computer-readable storage medium is provided, wherein at least one program is stored therein, the at least one program being loaded and executed by a processor to implement the transition animation playback method as described above.

[0024] According to another aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the transition animation playback method provided in the above aspect. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 is a schematic diagram of a process for displaying a transition animation provided in an exemplary embodiment of this application;

[0027] Figure 2 is a flowchart illustrating a method for playing transition animations provided in an exemplary embodiment of this application;

[0028] Figure 3 is a flowchart illustrating a method for playing transition animations provided in an exemplary embodiment of this application;

[0029] Figure 4 is a flowchart illustrating a method for playing transition animations provided in an exemplary embodiment of this application;

[0030] Figure 5 is a timing diagram of the application interface of a display application provided in an exemplary embodiment of this application;

[0031] Figure 6 is a timing diagram of the application interface of a display application provided in an exemplary embodiment of this application;

[0032] Figure 7 is a timing diagram of the application interface of a display application provided in an exemplary embodiment of this application;

[0033] Figure 8 is a schematic diagram of the structure of a transition animation playback device provided in an exemplary embodiment of this application;

[0034] Figure 9 is a schematic diagram of the structure of a transition animation playback device provided in an exemplary embodiment of this application;

[0035] Figure 10 is a schematic diagram of the structure of a transition animation playback device provided in an exemplary embodiment of this application;

[0036] Figure 11 is a schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application.

[0037] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0039] First, let me introduce the terms used in this application:

[0040] Dual system: A single electronic device has two processors and two different systems. For example, an electronic device has a first processor and a second processor. The first processor runs a first system, and the second processor runs a second system. The system in a dual system can be understood as a program running on the processor, such as an operating system. In some embodiments, the first and second processors may be two separately packaged chips; in other embodiments, the first and second processors may be packaged in the same chip.

[0041] Deep sleep state: For chips, deep sleep is an ultra-low-power mode that electronic devices enter to save power. In some embodiments, deep sleep is a suspend-to-memory state. When an electronic device is in deep sleep, most of the central processing unit (CPU) and hardware processes are paused, device functionality is reduced, and network connections may also be lost. In some embodiments, only critical hardware of the electronic device can interrupt the deep sleep state, such as receiving a phone call or pressing the device's power button to wake the device and bring it out of deep sleep. Compared to normal standby, deep sleep can reduce battery consumption (power consumption) even more. In some embodiments, for dual-system electronic devices, deep sleep is a state that one or more systems can enter. In some embodiments, when one system of a dual-system electronic device enters a deep sleep state, its corresponding processor and hardware processes are paused, overall device functionality is reduced, and network connections for that system may also be lost.

[0042] Standby state: For chips, standby state is the state in which some electronic components of an electronic device are turned off, such as when no business is being processed. In some embodiments, some background processes can continue to run. In some embodiments, standby state can also be understood as hibernation state and / or sleep state. In some embodiments, when in standby state, the screen of the electronic device is off and the network connection is disconnected, allowing background tasks to run. For dual-system electronic devices, standby state is a state that one or more systems can enter. Therefore, when one system enters standby state, the other system can control the display device. In some embodiments, when one system of a dual-system electronic device enters standby state, that system disconnects from the network. For example, compared to deep sleep state, standby state turns off fewer system-related electronic components, and / or the power consumption of system-related electronic components in standby state is higher than in deep sleep state.

[0043] It should be noted that the deep sleep and standby states of different processors (e.g., chips) may be designed differently, and there are no specific restrictions on which modules are disabled and which are retained in deep sleep and standby states. Deep sleep and standby states can be understood as states that reflect different power consumption and wake-up times. For example, the power consumption in deep sleep state is higher than the power-off power consumption but lower than the standby power consumption; or, for example, the wake-up time in deep sleep state is shorter than the startup time in power-off state but longer than the wake-up time in standby state.

[0044] Wearable devices: Wearable devices are portable electronic devices worn directly on the user's body or integrated into the user's clothing or accessories, including but not limited to watches, bracelets, and rings. Wearable devices not only provide hardware but also offer powerful functions through the support of their built-in software (systems), combined with data interaction and cloud interaction. For example, wearable devices support monitoring health indicators, making and receiving phone calls, and providing information notifications.

[0045] Smartwatches: A smartwatch is a wearable device that combines the form factor of a watch with an intelligent system. Through its built-in system, processor, memory, and other components, a smartwatch can perform functions such as data processing, information display, and interactive control. For example, a smartwatch not only has the basic function of telling time, but can also synchronize calls, text messages, emails, photos, music, etc., from other electronic devices (such as mobile phones). It can also collect the user's activity and physiological data through various sensors (such as accelerometers, gyroscopes, and heart rate sensors), and connect to mobile phones or other electronic devices via wireless communication technology to achieve functions such as message synchronization and health management.

[0046] The following describes the switching process between different system states:

[0047] In some embodiments, certain processors, while in deep sleep mode, retain only memory and disable other hardware. Therefore, when exiting deep sleep mode to boot the system and enter the running state, information can be loaded directly from memory. In contrast, completely shutting down the system (i.e., the system is in a power-off state) takes a longer time to restart. Thus, booting the system from deep sleep mode is faster than booting from a power-off state. Furthermore, since deep sleep mode disables more functions than standby mode, it consumes less power, although waking from deep sleep mode to the running state takes longer than waking from standby mode.

[0048] In a possible practical example, a wearable device includes a small-core processor and a large-core processor. The small-core processor can be a microcontroller unit (MCU), and the large-core processor is a central processing unit (CPU) with higher performance than the small-core processor. The small-core processor runs the embedded system (MCU system), and the large-core processor runs the Android system. When the wearable device is powered off, both the MCU system and the Android system are powered off. When the wearable device is powered on, the MCU system, due to its low power consumption, is usually always running, although it can sometimes be in standby mode. The Android system can switch between running, standby, deep sleep, and powered-off states. When the MCU system is running and the Android system is in a state other than running, the display of the electronic device is controlled by the MCU system; when both the Android system and the MCU system are running, the display of the electronic device is controlled by either the Android system or the MCU system.

[0049] By configuring an electronic device with a dual-system architecture, power consumption can be reduced through the collaboration of the two systems. For example, when the display screen of an electronic device is controlled by a lower-power first system, power consumption can be effectively reduced by putting the higher-power second system into standby or deep sleep mode. In this scenario, because the second system is in standby or deep sleep mode while the first system controls the display screen to show the user interface (UI), and it takes time for the second system to exit standby or deep sleep mode and for it to start an application, when an application from the second system is launched from the first system, it is necessary to wait for the second system to wake up and enter running mode before the application's startup animation and user interface can be displayed through the second system. This results in a longer response time to user operations and a poorer user experience.

[0050] The method provided in this application enables the display of a transition animation during the process of the first system waking up the second system to enter the running state in the aforementioned scenario. Since the transition animation can respond to operations that trigger the running of the application in the second system, it can respond to user operations before the application runs and displays its interface, thereby shortening the response latency and improving the user experience.

[0051] This application provides a method for playing transition animations, the method comprising:

[0052] When the first system is in a running state and the second system is in a non-running state other than a powered-off state, in response to a switching operation, the second system is woken up to enter the running state, the switching operation being used to trigger the running of the application in the second system; a transition animation is played by the first system at a time between a first moment and a second moment, the first moment being the moment when the second system is started to be woken up, and the second moment being the moment when the second system is finished to start running the application; in response to the completion of the transition animation, the application interface of the application is displayed by the second system, the application interface being the user interface obtained by the second system running the application in the running state.

[0053] In some embodiments, different switching operations have their own corresponding transition animations; the step of starting to play the transition animation through the first system at a time between the first time and the second time includes: determining the start time of the transition animation based on the playback duration of the transition animation corresponding to the current switching operation, wherein the start time is located between the first time and the second time; playing the transition animation through the first system at the start time, wherein the end time of the transition animation played at the start time and the playback duration is equal to or later than the second time.

[0054] In some embodiments, determining the start playback time of the transition animation based on the playback duration of the transition animation corresponding to the current switching operation includes: determining the first moment as the start playback time when the playback duration of the transition animation is equal to or greater than the wake-up duration, wherein the wake-up duration is related to the state of the second system; and / or, determining the start playback time as the moment after adding an extension time to the first moment when the playback duration of the transition animation is less than the wake-up duration, wherein the extension time is equal to or greater than the difference between the wake-up duration and the playback duration.

[0055] In some embodiments, determining the first moment as the start playback moment when the playback duration of the transition animation is equal to or greater than the wake-up duration includes: determining the first moment as the start playback moment when the second system is woken up from a first non-operating state to the operating state, and the playback duration of the transition animation is equal to or greater than the first wake-up duration; and / or, determining the first moment as the start playback moment when the second system is woken up from a second non-operating state to the operating state, and the playback duration of the transition animation is equal to or greater than the second wake-up duration; wherein the power consumption of the first non-operating state is higher than that of the second non-operating state, and the first wake-up duration of the first non-operating state is less than the second wake-up duration of the second non-operating state.

[0056] In some embodiments, determining the starting playback time as the time after adding an extension time to the first time includes: determining the starting playback time as the time after adding a preset extension time to the first time; wherein the preset extension time is equal to or greater than the difference between the wake-up duration and the target playback duration, and the target playback duration is the playback duration of the transition animation with the shortest playback duration among all transition animations.

[0057] In some embodiments, determining the start playback time as the time after adding an extended period to the first time includes: determining the duration difference between the wake-up duration and the playback duration; and determining the start playback time as the time after adding the duration difference to the first time.

[0058] In some embodiments, determining the duration difference between the wake-up duration and the playback duration includes: determining a duration difference system between a first wake-up duration and the playback duration when the second system is woken up from a first non-operating state to the operating state; and / or determining a duration difference system between a second wake-up duration and the playback duration when the second system is woken up from a second non-operating state to the operating state; wherein the power consumption of the first non-operating state is higher than that of the second non-operating state, and the first wake-up duration of the first non-operating state is less than the second wake-up duration of the second non-operating state.

[0059] In some embodiments, the method further includes: if the playback duration of the transition animation is less than the wake-up duration, determining the start playback time as the time after adding the extension time to the third time, wherein the third time is the time when the switching operation ends.

[0060] In some embodiments, the method further includes: displaying a system interface while the first system is in the running state and the second system is in the non-running state, the system interface including any user interface obtained by running the first system.

[0061] This application provides a method for playing transition animations, applied to an electronic device, the electronic device including a first system and a second system, the method including:

[0062] When the first system is in a running state and the second system is in a first non-running state other than a power-off state or a second non-running state, a transition animation is determined according to a switching operation; the start playback time of the transition animation is determined according to the playback duration of the transition animation and / or the state of the second system; the first system plays the transition animation when the start playback time is reached; wherein, the power consumption of the first non-running state is higher than that of the second non-running state, and the wake-up time of the first non-running state is less than that of the second non-running state.

[0063] In some embodiments, determining the transition animation based on the switching operation includes: determining the transition animation based on the type of the switching operation and / or the object of the switching operation; wherein the type of the switching operation includes one or more of the following: click, double click, swipe, long press, press once, press twice, rotate; and / or, the object of the switching operation is the display interface or hardware corresponding to the switching operation.

[0064] In some embodiments, the start playback time is later than or equal to the start wake-up time of the second system; and / or, the start playback time is earlier than or equal to a first preset time, and playing the transition animation within the first preset time meets the operation response speed requirements.

[0065] In some embodiments, determining the start time of the transition animation based on the playback duration of the transition animation and / or the state of the second system includes: determining the start time of the transition animation based on the playback duration of the transition animation and the wake-up duration corresponding to the state of the second system.

[0066] Figure 1 is a schematic diagram of a display transition animation process provided by an exemplary embodiment of this application. As shown in Figure 1, when the first system is in a running state and the second system is in a non-running state other than a power-off state, the electronic device wakes up the second system to enter the running state in response to a switching operation that triggers the application running in the second system. Optionally, the non-running state includes a first non-running state and / or a second non-running state, for example, the first non-running state is a standby state and the second non-running state is a deep sleep state. After the second system switches to the running state, it starts running the application to draw / render the application interface, which is the user interface obtained by running the application. When the first system is in the running state and the second system is in the non-running state, the display screen of the electronic device is controlled by the first system, for example, it can display the system interface of the first system, which includes any user interface obtained by running the first system, such as a dial interface and the user interface of the application of the first system. After waking up the second system to enter the running state, the display screen of the electronic device can be controlled by the second system or the first system to display the application interface of the application in the second system. Optionally, the first system is run by a first processor and the second system is run by a second processor. The power consumption of the first non-operating state is higher than that of the second non-operating state, and the first wake-up duration of the first non-operating state is shorter than the second wake-up duration of the second non-operating state. In some embodiments, the first wake-up duration is the duration for waking the second system from the first non-operating state to the operating state, and the second wake-up duration is the duration for waking the second system from the second non-operating state to the operating state.

[0067] During the process of waking up the second system to run the application in the second system, the electronic device will play a transition animation through the first system between the first time 101 and the second time 102. Here, the first time 101 is the time when the second system begins to be woken up, and the second time 102 is the time when the second system is fully woken up and the application begins to run. The transition animation is played by the first system. Optionally, different switching operations have their own corresponding transition animations, and different transition animations have their own corresponding playback durations. For example, a switching operation implemented by swiping and a switching operation implemented by clicking correspond to different transition animations. Exemplarily, playing a transition animation between the first time 101 and the second time 102 includes, but is not limited to, the four cases shown in Figure 1: In the first case, the playback duration of the transition animation is longer than the wake-up time required to wake up the second system, in which case the transition animation can start playing at the first time 101. In the second case, the playback duration of the transition animation is equal to the wake-up time, in which case the transition animation can also start playing at the first time 101. In the third case, the duration of the transition animation is less than the wake-up duration. In this case, the transition animation can begin playing at a time after adding an extension period to the first time point 101. This extension period ensures that the end of the transition animation occurs at or after the second time point 102. In the fourth case, the duration of the transition animation is less than the wake-up duration. In this case, the transition animation can begin playing at a time after adding an extension period to the first time point 101. This extension period ensures that the end of the transition animation occurs at the second time point 102.

[0068] When the application in the second system is triggered to run while the second system is not in operation, the first system displays a transition animation. Since the transition animation can respond to the operation that triggers the application to run, and the transition animation is displayed during the process of waking up the second system to enter the running state, it can respond to user operations before the application runs and displays the application interface, thereby shortening the response latency to user operations and improving the user experience.

[0069] Figure 2 is a flowchart illustrating a method for playing a transition animation according to an exemplary embodiment of this application. This method can be used in electronic devices. As shown in Figure 2, the method includes:

[0070] Step 202: When the first system is in the running state and the second system is in a non-running state other than the shutdown state, in response to the switching operation, wake up the second system and enter the running state.

[0071] In some embodiments, the switching operation may include one or more actions, such as clicking which includes touching and releasing, and swiping which includes touching, moving and releasing. Therefore, it is possible that one action in the switching operation (such as clicking the touch application icon in the operation) triggers the wake-up of the second system, and another action (such as clicking the release touch screen in the operation) triggers the application running the second system. Of course, it is also possible that one action triggers the wake-up of the second system and the application running the second system, both of which are within the protection scope of this application.

[0072] The electronic device supports dual systems, comprising a first system and a second system. Optionally, the relationship between the first and second systems includes one or more of the following: the second system is more complex than the first system; the second system has more functions than the first system; the power consumption of the first system in its operating state is lower than that of the second system in its operating state; the power consumption of the first system in its operating state is higher than that of the first system in other states; and the power consumption of the second system in its operating state is higher than that of the second system in other states. Optionally, other states of the first system include one or more of standby, deep sleep, and power-off states. Other states of the second system include one or more of standby, deep sleep, and power-off states. In some embodiments, the aforementioned non-operating states can also be understood as low-power states or energy-saving states. Non-operating states are different from operating states and power-off states.

[0073] The following provides illustrative examples of different system states: In some embodiments, from an energy-saving perspective, the system's power consumption in the running state is higher than in the standby state, and the system's power consumption in the standby state is higher than in the deep sleep state, and the system's power consumption in the deep sleep state is higher than in the shutdown state. In some embodiments, the system's power consumption in the shutdown state is 0, but if a shutdown timer task is set, such as a shutdown alarm, the system's power consumption in the shutdown state is greater than 0. In terms of the functions provided by the system, the system provides more functions in the running state than in the standby state, and the system provides more functions in the standby state than in the deep sleep state, and the system provides more functions in the deep sleep state than in the shutdown state. For example, in terms of the activation status of the corresponding electronic components in the system, for some processors, the system has more electronic components activated in the running state than in the standby state, and the system has more electronic components activated in the standby state than in the deep sleep state, and the system has more electronic components activated in the deep sleep state than in the shutdown state. In terms of wake-up time, the wake-up time from standby to running state is shorter than that from deep sleep state, and the wake-up time from deep sleep state to running state is shorter than that from shutdown to running state. In some embodiments, in running state, the system-related hardware works normally; in standby state, most of the system-related hardware is shut down; in deep sleep state, most of the system-related hardware is shut down, providing only the most basic system functions; in shutdown state, all system-related hardware is shut down and power is cut off, or only scheduled task functions are provided.

[0074] In some embodiments, the running state is the state that provides the most functionality among the different states of the system, such as the state that provides all functions, and / or the state in which the most electronic components used to run the system are in the on state, and / or the state that supports the system running its corresponding application, such as the state that supports the system running its corresponding application in the foreground. The deep sleep state is the state in which the most electronic components of the second system are turned off, excluding the shutdown state. For example, the deep sleep state is a state that only maintains power supply to the memory corresponding to the second system and turns off power to other electronic components corresponding to the second system. For example, the shutdown state may turn off power to all electronic components corresponding to the second system, while in some embodiments, the deep sleep state will always maintain power supply to the memory corresponding to the second system so that the application can continue to run based on the information in the memory after the second system enters the running state. The number of electronic components turned off in the standby state of the second system is less than the number of electronic components turned off in the deep sleep state of the second system. For example, the standby state is a state in which the second system is disconnected from the network but can maintain the running of some background processes of the second system.

[0075] In some embodiments, the first system is an embedded system and the second system is a non-embedded system; for example, the first system is an MCU system and the second system is an Android system. It should be noted that the electronic device may support systems other than the first and second systems, and this application does not impose any limitations on this.

[0076] Optionally, the electronic device includes a first processor and a second processor, with the first system running on the first processor and the second system running on the second processor. The relationship between the first processor and the second processor includes one or more of the following: the second processor has higher performance than the first processor; the second processor consumes more power than the first processor; the second processor consumes more power when running the second system than the first processor consumes power when running the first system; and the second processor has better energy efficiency than the first processor. In some embodiments, the first processor is an MCU and the second processor is a CPU.

[0077] When an electronic device is powered on, if the first system is running and the second system is not running, the display screen of the electronic device is controlled by the first system. If the first system is not running but the second system is running, the display screen of the electronic device is controlled by the second system. If both the first and second systems are running, the display screen of the electronic device is controlled by either the first system or the second system.

[0078] The switching operation is used to trigger the execution of applications in the second system. Applications in the second system include applications pre-installed on the electronic device and executed by the second system, and / or applications installed on the electronic device by the user and executed by the second system. Optionally, the file extensions of the applications in the second system are among those supported by the second system; for example, if the second system is Android, the application extension is .apk.

[0079] Since the application triggered to run is an application in the second system, and the second system needs to be in a running state to run applications, when the application is triggered to run, the electronic device wakes up the second system from a non-running state to a running state, thereby enabling the application in the second system to run. Optionally, the non-running state of the second system includes a first non-running state and / or a second non-running state, such as standby state and / or deep sleep state. The application triggered to run by the switching operation can be any application in the second system.

[0080] In some embodiments, the electronic device includes a wearable device, such as a smartwatch.

[0081] Step 204: Start playing the transition animation through the first system at the time between the first and second moments.

[0082] The first moment is the moment when the second system begins to wake up; that is, the first moment is the start moment when the second system is woken up from a non-running state to a running state. The second moment is the moment when waking up the second system to start running the application corresponding to the switching operation is complete. For example, the second moment can be the moment when waking up the second system from a non-running state to a running state is complete, or it can be the moment when the second system starts running the application corresponding to the switching operation. In some embodiments, since the interval between the moment when waking up the second system from a non-running state to a running state is short and the moment when the application corresponding to the switching operation starts running is started, these two moments can be regarded as the same moment.

[0083] The transition animation is provided by the first system and is preset in the first system. Optionally, the transition animation is an animation used to transition the system interface displayed by the first system to the application interface of the application. For example, if the switching operation is a swipe operation on the system interface, the transition animation could be an animation that slides the system interface out of the display area of ​​the screen and slides the application interface into the display area of ​​the screen. For example, if the switching operation is a click operation on the application icon in the system interface, the transition animation could be an animation that enlarges the application icon and switches the display of the application interface when the application icon is enlarged to a preset ratio. The system interface includes any user interface obtained by running the first system, such as a dial interface and the user interface of the application of the first system.

[0084] Optionally, different switching operations have their own corresponding transition animations, and different transition animations have their own corresponding playback durations. The types and / or objects of different switching operations are different. Optionally, the types of switching operations include one or more of the following: click, double-click, swipe, long press, press once, press twice, and rotate. Optionally, the objects of switching operations include the display interface and / or hardware corresponding to the switching operation. For example, a switching operation is an operation on the display interface of an electronic device's screen, and / or a switching operation is an operation on the physical buttons of an electronic device. For example, click and long press operations correspond to scaling transition animations, and swipe operations correspond to left and right swiping transition animations. The playback duration of the transition animation for a click operation is shorter than or the same as the duration of the transition animation for a long press operation. Furthermore, the transition animation for clicking an application icon in the user interface differs from the transition animation for clicking a component (widget) in the user interface; the transition animation for clicking a component (widget) in the user interface also differs from the transition animation for clicking an icon in the control center. Optionally, during the playback of the transition animation, the first system will determine the transition animation to be played in the preset transition animation based on the switching operation, and then start playing the determined transition animation at the time between the first moment and the second moment.

[0085] Step 206: In response to the completion of the playback transition animation, the application's interface is displayed through the second system.

[0086] The application interface is the user interface obtained by the second system running the application. The second system renders the application interface by running the application, thereby displaying the application interface through the second system. The moment when the transition animation finishes playing refers to the end time of the transition animation. In some embodiments, the end time of the transition animation is between the first and second moments. In some embodiments, the end time of the transition animation is after the second moment. In some embodiments, the end time of the transition animation is within the second moment.

[0087] In some embodiments, during the process of displaying the application interface through the second system, the electronic device transfers control of the display screen from the first system to the second system. For example, when it is necessary to display the application interface through the second system, control of the display screen is transferred to the second system.

[0088] In summary, the method provided in this embodiment displays a transition animation by the first system when an application in the second system is triggered to run while the second system is in a non-running state. Since the transition animation can respond to the operation that triggers the running application, and the transition animation is displayed during the process of waking up the second system to enter the running state, it can respond to user operations before the application is running and the application interface is displayed, thereby shortening the response latency to user operations and improving the user experience.

[0089] Figure 3 is a flowchart illustrating a method for playing a transition animation according to an exemplary embodiment of this application. This method can be used in electronic devices. As shown in Figure 3, the method includes:

[0090] Step 302: If the first system is in the running state and the second system is in either the first non-running state or the second non-running state other than the shutdown state, determine the transition animation based on the switching operation.

[0091] The electronic device supports dual systems, comprising a first system and a second system. Optionally, the first non-operating state is a standby state, and the second non-operating state is a deep sleep state. In some embodiments, the power consumption of the first non-operating state is higher than that of the second non-operating state, and the first wake-up time of the first non-operating state is shorter than the second wake-up time of the second non-operating state. The first wake-up time is the time required to wake the second system from the first non-operating state to the operating state, and the second wake-up time is the time required to wake the second system from the second non-operating state to the operating state.

[0092] The switching operation is used to trigger the running of applications in the second system. Different switching operations may have different types and / or objects. Optionally, the types of switching operations include one or more of the following: click, double click, swipe, long press, press once, press twice, and rotate. Optionally, the object of the switching operation includes the display interface and / or hardware corresponding to the switching operation. For example, the switching operation is an operation on the display interface of the electronic device's screen, and / or the switching operation is an operation on the physical button of the electronic device.

[0093] The transition animation is provided by the first system and is preset in the first system. Optionally, the transition animation is an animation used to transition the system interface displayed by the first system to the application interface of the application. For example, if the switching operation is a swipe operation on the system interface, the transition animation could be an animation that slides the system interface out of the display area of ​​the screen and slides the application interface into the display area of ​​the screen. For example, if the switching operation is a click operation on the application icon in the system interface, the transition animation could be an animation that enlarges the application icon and switches the display of the application interface when the application icon is enlarged to a preset ratio. The system interface includes any user interface obtained by running the first system, such as a dial interface and the user interface of the application of the first system.

[0094] Different switching operations have their own corresponding transition animations. Upon receiving a switching operation, the first system determines the corresponding transition animation from a set of preset transition animations. For example, a tap and a long press correspond to a scaling transition animation, while a swipe corresponds to a left-right swiping transition animation. The duration of the tap transition animation is shorter than or the same as the duration of the long press transition animation. The transition animation for tapping an application icon in the user interface also differs from the transition animation for tapping a component in the user interface; similarly, the transition animation for tapping a component in the user interface differs from the transition animation for tapping an icon in the control center.

[0095] Step 304: Determine the start time of the transition animation based on the playback duration of the transition animation and / or the state of the second system.

[0096] Different transition animations have their own corresponding playback durations, which may be the same or different. Once the transition animation corresponding to the switching operation is determined, its playback duration can be obtained. The state of the second system refers to whether the second system is in a first non-operating state or a second non-operating state before being woken up. In some embodiments, when determining the start playback time of the transition animation based on the state of the second system, the determined start playback time may be different for the second system in the first non-operating state and the second non-operating state.

[0097] In some embodiments, the start playback time is later than or equal to the start wake-up time of the second system. In some embodiments, the start wake-up time of the second system can be understood as the second moment. In some embodiments, the electronic device determines the start playback time of the transition animation based on the playback duration of the transition animation and the wake-up duration corresponding to the state of the second system. The process of determining the start playback time of the transition animation can be found in other embodiments, and will not be elaborated upon here.

[0098] In some embodiments, the start playback time is earlier than or equal to a first preset time, and the first system plays the transition animation within the first preset time to meet the operation response speed requirements. Optionally, the first preset time corresponds to a preset duration, which is preset in the electronic device. When the electronic device receives a switching operation, it determines the time after adding the preset duration to the time when the switching operation is received as the first preset time, thereby playing the transition animation before or at the first preset time. For example, the electronic device starts playing the transition animation 50ms after receiving the switching operation.

[0099] In some embodiments, the end time of the transition animation should be controlled to be no earlier than the start of the application corresponding to the second system, so as to ensure that the application interface can be switched to after the transition animation finishes playing. The end time is the time when the transition animation ends when it is played according to the start time.

[0100] Step 306: The first system plays a transition animation when the start playback time arrives.

[0101] It should be noted that this embodiment can be implemented alone or in combination with the content of other embodiments, and this application does not limit it in this way.

[0102] In summary, the method provided in this embodiment displays a transition animation when the first system receives a switching operation that triggers the running of an application in the second system while the second system is in a non-running state. Since the transition animation can respond to the operation that triggers the running of the application, and since the transition animation is provided by the first system, it can be displayed during the process of waking up the second system to enter the running state. This allows for a response to user operations before the application runs and displays its interface, thereby shortening the response latency and improving the user experience.

[0103] Figure 4 is a flowchart illustrating a method for playing a transition animation according to an exemplary embodiment of this application. This method can be used in electronic devices. As shown in Figure 4, the method includes:

[0104] Step 402: When the first system is in a running state and the second system is in a non-running state other than a shutdown state, in response to the switching operation, wake up the second system and put it into a running state.

[0105] The electronic device supports dual systems, comprising a first system and a second system. Optionally, the non-operating states of the second system include a first non-operating state and / or a second non-operating state; for example, the first non-operating state is a standby state, and the second non-operating state is a deep sleep state. In some embodiments, the power consumption of the first non-operating state is higher than that of the second non-operating state, and the first wake-up time of the first non-operating state is shorter than the second wake-up time of the second non-operating state. The first wake-up time is the time required to wake the second system from the first non-operating state to the operating state, and the second wake-up time is the time required to wake the second system from the second non-operating state to the operating state.

[0106] In some embodiments, the first system is an embedded system, and the second system is a non-embedded system; for example, the first system is an MCU system, and the second system is an Android system. In some embodiments, the electronic device is equipped with a first processor and a second processor, with the first system running on the first processor and the second system running on the second processor. In some embodiments, the electronic device includes a wearable device, such as a smartwatch.

[0107] The switching operation is used to trigger the execution of applications in the second system. Different switching operations have different types and / or objects. Optionally, the types of switching operations include one or more of the following: click, double-click, swipe, long press, single press, double press, and rotation. Optionally, the object of the switching operation includes the display interface and / or hardware corresponding to the switching operation. For example, the switching operation is an operation on the display interface shown on the screen of the electronic device, and / or the switching operation is an operation on the physical button of the electronic device. Since the application triggered to run is an application in the second system, the second system needs to be in a running state to run the application. Therefore, when the application is triggered to run, the electronic device will wake up the second system from a non-running state to a running state, thereby enabling the application in the second system to run.

[0108] In some embodiments, when the first system is running and the second system is not running, the display screen of the electronic device is controlled by the first system. In this case, if the electronic device is in a screen-on state, it can display a system interface, which includes any user interface obtained by running the first system, such as a watch face interface and the user interface of the application of the first system. When both the first and second systems are running, the display screen of the electronic device is controlled by either the first or the second system. In this case, if the electronic device is in a screen-on state, it can display a user interface obtained by running the second system, such as the application interface of the aforementioned application.

[0109] Step 404: Determine the start time of the transition animation based on the playback duration of the transition animation corresponding to this switching operation.

[0110] The start playback time is located between the first time point and the second time point. Optionally, "between the first time point and the second time point" includes a time located between the first time point and / or the first time point and the second time point. The first time point is the time when the second system begins to wake up, that is, the first time point is the start time when the second system is woken up from a non-running state to a running state. The second time point is the time when the second system is woken up to start running the application corresponding to the switching operation, that is, the second time point is the completion time when the second system is woken up from a non-running state to a running state. The second time point can also be the time when the second system starts running the application corresponding to the switching operation. In some embodiments, since the interval between the completion time of waking up the second system from a non-running state to a running state and the time when the application corresponding to the switching operation starts running is short, these two times can be regarded as the same time point.

[0111] The transition animation is provided by the first system and is preset in the first system. Optionally, the transition animation is used to transition the system interface displayed by the first system to the application interface of the application. The system interface includes any user interface obtained by running the first system, such as a dial interface and the user interface of the application of the first system. The application interface is the user interface obtained by the second system running the application corresponding to the switching operation. For example, if the switching operation is a swipe operation on the system interface, the transition animation may be an animation that slides the system interface out of the display area of ​​the screen and slides the application interface into the display area of ​​the screen. For example, if the switching operation is a click operation on the application icon in the system interface, the transition animation may be an animation that enlarges the application icon and switches the display of the application interface when the application icon is enlarged to a preset ratio.

[0112] Different switching operations have their own corresponding transition animations, and different transition animations have their own corresponding playback durations. In some embodiments, the above correspondence is preset in the electronic device. Different switching operations are of different types and / or objects. For example, click operations and long press operations correspond to scaling transition animations, and swipe operations correspond to left and right swiping transition animations. The playback duration of the transition animation for a click operation is shorter than or the same as the playback duration of the transition animation for a long press operation. For example, the transition animation for clicking an application icon in the user interface differs from the transition animation for clicking a component in the user interface; the transition animation for clicking a component in the user interface also differs from the transition animation for clicking an icon in the control center. In some embodiments, the start playback time of the transition animation is determined based on the playback duration of the transition animation corresponding to the switching operation, so that the end playback time of the transition animation, which plays at the start playback time and playback duration, is equal to or later than the second time. The end playback time is the moment when the transition animation finishes playing, provided that the playback duration is equal to the start playback time.

[0113] Optionally, if the playback duration of the transition animation is equal to or greater than the wake-up duration, the electronic device determines the first moment as the start playback moment of the transition animation. This can be understood as the playback duration of the transition animation exceeding the time required to wake up the second system, thus ensuring that the second system has completed wake-up when the transition animation ends. If the playback duration of the transition animation is less than the wake-up duration, the electronic device determines the start playback moment as the moment after adding an extension time to the first moment. This can be understood as the playback duration of the transition animation being insufficient to wake up the second system, thus determining the moment after extending the first moment as the start playback moment of the transition animation, thus ensuring that the second system has completed wake-up when the transition animation ends. The wake-up duration is related to the state of the second system; it is the time required to wake the second system from a non-operating state to an operating state. For example, the wake-up duration of the second system in the first non-operating state is less than the wake-up duration of the second system in the second non-operating state. Optionally, the wake-up duration is determined by developers based on statistical results of multiple calculations of the time required to wake the second system from a non-operating state to an operating state, for example, the average of the statistical results. The extension time is equal to or greater than the difference between the wake-up time and the playback time.

[0114] For cases where the playback duration of the transition animation is equal to or greater than the wake-up duration: Optionally, the non-operating states of the second system include a first non-operating state and / or a second non-operating state. For example, the first non-operating state is a standby state, and the second non-operating state is a deep sleep state. When the second system wakes up from the first non-operating state to the operating state, and the playback duration of the transition animation is equal to or greater than the first wake-up duration, the electronic device will determine the first moment as the start playback moment. When the second system wakes up from the second non-operating state to the operating state, and the playback duration of the transition animation is equal to or greater than the second wake-up duration, the electronic device will determine the first moment as the start playback moment. Here, the first wake-up duration is the duration for the second system to wake up from the first non-operating state to the operating state. The second wake-up duration is the duration for the second system to wake up from the second non-operating state to the operating state. In some embodiments, the power consumption of the first non-operating state is higher than that of the second non-operating state, and the first wake-up duration of the first non-operating state is less than the second wake-up duration of the second non-operating state.

[0115] For transition animations where the playback duration is less than the wake-up duration: In one possible implementation, the electronic device determines the starting playback time as the time after adding a preset extension time to the first moment. The preset extension time is equal to or greater than the difference between the wake-up duration and the target playback duration, where the target playback duration is the shortest transition animation among all transition animations of the electronic device. That is, regardless of the type of switching operation corresponding to the transition animation, the time after adding the preset extension time to the first moment is always determined as the starting playback time. Since the preset extension time is equal to or greater than the difference between the wake-up duration and the target playback duration, for any transition animation corresponding to a switching operation, the starting playback time determined in the above manner ensures that the end playback time of the transition animation is located at or after the second moment. It should be noted that when the second system is woken up from the first non-operating state, the aforementioned wake-up duration refers to the first wake-up duration; when the second system is woken up from the second non-operating state, the aforementioned wake-up duration refers to the second wake-up duration.

[0116] In another possible implementation, the electronic device determines the duration difference between the wake-up duration and the playback duration, and determines the starting playback time as the time after adding the duration difference to the first time. In this case, the starting playback time determined in the above manner ensures that the end playback time of the transition animation is located at the second time. In some embodiments, the electronic device calculates the duration difference based on the wake-up duration and the playback duration each time it needs to obtain the aforementioned duration difference. In some embodiments, the electronic device obtains the duration difference based on the state of the second system and the playback duration each time it needs to obtain the aforementioned duration difference, without calculating the duration difference. Optionally, different combinations of states of the second system and different playback durations, as well as the duration differences corresponding to different combinations, are preset in the electronic device. Different states of the second system refer to the types of non-operating states of the second system.

[0117] Optionally, the non-operating states of the second system include a first non-operating state and / or a second non-operating state. For example, the first non-operating state is a standby state, and the second non-operating state is a deep sleep state. When the second system switches from the first non-operating state to the operating state, the electronic device determines the duration difference between the first wake-up time and the playback time as the duration difference used to determine the start playback time. When the second system switches from the second non-operating state to the operating state, the electronic device determines the duration difference between the second wake-up time and the playback time as the duration difference used to determine the start playback time. The power consumption of the first non-operating state is higher than that of the second non-operating state, and the first wake-up time of the first non-operating state is shorter than the second wake-up time of the second non-operating state.

[0118] In some embodiments, the electronic device can also determine the start time of the transition animation as a third moment, and / or the third moment plus an extended time. For example, if the playback duration of the transition animation is equal to or greater than the wake-up duration, the electronic device determines the start time of the transition animation as the third moment; and / or, if the playback duration of the transition animation is less than the wake-up duration, the electronic device determines the start time of the transition animation as the third moment plus an extended time. The third moment is located after the first moment and before the second moment, and is the moment when the switching operation ends. For example, if the switching operation is a swipe operation, and the swipe distance meets a distance threshold, it will trigger the wake-up of the second system to run the application. However, after triggering, the swipe operation may not have ended yet. In this case, the third moment is the end time of the swipe operation. For example, if the swipe operation is a finger sliding on the display screen, the third moment is the moment when the finger leaves the display screen after sliding. For example, the switching operation can be a click operation. A click operation can be clicking the display screen or clicking a physical button on an electronic device. When the click operation hits the area on the display screen that triggers the activation of the second system's running application, the second system's running application is activated. However, after activation, the click operation may not yet be complete; for example, the finger may not have left the display screen. In this case, the third moment is the end moment of the click operation, such as the moment the finger leaves the display screen after clicking. In some embodiments, the extension time for the third moment can be the aforementioned preset extension time, or it can be determined based on the difference between the duration of the third moment and the second moment and the playback duration of the transition animation. For example, the extension time can be equal to or greater than this difference.

[0119] Step 406: Play the transition animation at the start of playback using the first system.

[0120] After determining the start time of the transition animation, the first system controls the electronic device's display screen to begin playing the transition animation from that start time. As mentioned earlier, the end time of the transition animation is at or after the second time. Therefore, when the transition animation finishes playing, the second system is already awake and running, allowing it to control the electronic device's display screen and run the application to show the corresponding program interface.

[0121] For example, switching operations include, but are not limited to, one or more of the following: swiping operations, such as switching the displayed user interface by swiping right; operations on physical buttons, such as tapping, long-pressing, or repeatedly pressing a physical button; tapping a widget in the watch face displayed on the electronic device; tapping the watch face displayed on the electronic device; long-pressing the watch face displayed on the electronic device; tapping a card button displayed on the electronic device; tapping a button in the control center interface displayed on the electronic device; tapping a notification message displayed on the electronic device; and tapping the icon corresponding to an application displayed on the electronic device.

[0122] Figure 5 is a timing diagram of the application interface of a display application provided in an exemplary embodiment of this application. As shown in Figure 5, the first system is an MCU system, and the second system is an Android system. The first system runs on a small core, and the second system runs on a large core. The switching operation that triggers the running of the application in the Android system is a swipe operation. The playback duration of the transition animation corresponding to this switching operation is relatively long, longer than the wake-up duration. When a finger touches the display screen of the electronic device and begins to swipe to trigger the switching operation, the electronic device begins to wake up the Android system and starts launching the application in the Android system after the Android system is woken up. During this process, the screen is controlled by the MCU system. When a finger touches the display screen of the electronic device and begins to swipe, the electronic device immediately begins to play the transition animation through the MCU system, with the starting playback time being time 501. When the transition animation ends, the electronic device hands over control of the display screen to the Android system, thereby displaying the application interface obtained by the Android system running the application.

[0123] Figure 6 is a timing diagram of the application interface of a display application provided in an exemplary embodiment of this application. As shown in Figure 6, the first system is an MCU system, and the second system is an Android system. The first system runs on a small core, and the second system runs on a large core. The switching operation that triggers the running of the application in the Android system is a click operation. The playback duration of the transition animation corresponding to this switching operation is short, less than the wake-up duration. When a finger clicks on a component area in the display screen of the electronic device to trigger the switching operation, the electronic device begins to wake up the Android system and starts the application in the Android system after the Android system is woken up. At the end time 601 of the click operation, for example, when the finger is released, the electronic device will start playing the transition animation through the MCU system at time 602, which is an extension time after time 601. This extension time is dynamically calculated based on the playback duration of the transition animation, and the calculated extension time will not affect the user's experience of the response speed when clicking the screen. In this case, the end time of the transition animation playback is after the time when the Android system is woken up. When the transition animation playback ends, the electronic device will hand over control of the display screen to the Android system, thereby displaying the application interface obtained by the Android system running the application.

[0124] Figure 7 is a timing diagram of the application interface of a display application provided in an exemplary embodiment of this application. As shown in Figure 7, the first system is an MCU system, and the second system is an Android system. The first system runs on a small core, and the second system runs on a large core. The switching operation that triggers the running of the application in the Android system is a click operation. The playback duration of the transition animation corresponding to this switching operation is short, less than the wake-up duration. When a finger clicks on a component area in the display screen of the electronic device to trigger the switching operation, the electronic device begins to wake up the Android system and starts the application in the Android system after the Android system is woken up. At the end time 701 of the click operation, for example, when the finger is released, the electronic device will start playing the transition animation through the MCU system at time 702, which is an extension of time from time 701. In this case, the end time of the transition animation is the time when the Android system is fully woken up. When the transition animation ends, the electronic device will hand over control of the display screen to the Android system, thereby displaying the application interface obtained by the Android system running the application.

[0125] Step 408: In response to the completion of the transition animation, the application's interface is displayed through the second system.

[0126] The application interface is the user interface obtained by running the application in the second system's running state. By running the application, the second system can render the application interface and display it. As mentioned above, the end time of the transition animation is after the second moment, and / or the end time of the transition animation is within the second moment. Therefore, when the transition animation finishes playing, the application interface can be displayed through the second system.

[0127] In summary, the method provided in this embodiment displays a transition animation by the first system when an application in the second system is triggered to run while the second system is in a non-running state. Since the transition animation can respond to the operation that triggers the running application, and the transition animation is displayed during the process of waking up the second system to enter the running state, it can respond to user operations before the application is running and the application interface is displayed, thereby shortening the response latency to user operations and improving the user experience.

[0128] The method provided in this embodiment further enhances the user experience by setting different transition animation playback durations for different scenarios (e.g., switching operations) and selecting the timing (start playback time) of the transition animation playback based on its duration. This allows for a seamless transition effect when switching from the first system to the second system by playing a transition animation to respond to user actions before waking up the second system to display the application interface, thus improving the system switching effect and achieving an optimal user experience. By setting the wake-up duration to select the timing of the transition animation playback, it is ensured that the end time of the transition animation playback is always either at or after the completion of waking up the second system. By playing the transition animation with extended time, even with a shorter transition animation duration, it is possible to ensure that the end time of the transition animation playback is always either at or after the completion of waking up the second system, further improving the user experience.

[0129] It should be noted that this application may display prompt interfaces, pop-ups, or output voice prompts before and during the collection of user data. These prompt interfaces, pop-ups, or voice prompts are used to inform the user that their data is being collected. This ensures that the application only begins the steps for collecting user data after receiving confirmation from the user regarding the prompt interface or pop-up; otherwise (i.e., without user confirmation), the steps for collecting user data end, meaning no user data is collected. In other words, all user data collected in this application is collected with the user's consent and authorization, and the collection, use, and processing of related user data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.

[0130] It should be noted that the order of the method steps provided in the embodiments of this application can be appropriately adjusted, and the steps can also be added or removed as appropriate. Any method variations that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application, and therefore will not be elaborated further.

[0131] Figure 8 is a schematic diagram of a transition animation playback device provided in an exemplary embodiment of this application. As shown in Figure 8, the device includes:

[0132] The switching module 801 is used to wake up the second system and put it into the running state in response to a switching operation when the first system is in the running state and the second system is in a non-running state other than the shutdown state. The switching operation is used to trigger the running of the application in the second system.

[0133] Display module 802 is configured to start playing a transition animation through the first system at a time between a first moment and a second moment, wherein the first moment is the moment when the second system is started to be woken up, and the second moment is the moment when the second system is finished to be woken up to start running the application;

[0134] The display module 802 is further configured to display the application interface of the application through the second system in response to the completion of playing the transition animation. The application interface is the user interface obtained by the second system running the application in the running state.

[0135] In an optional design, different switching operations have their own corresponding transition animations; as shown in Figure 9, the device further includes a determining module 803, used to determine the start playback time of the transition animation based on the playback duration of the transition animation corresponding to the current switching operation, the start playback time being located between the first time and the second time; the display module 802 is used to play the transition animation through the first system at the start playback time, the end playback time of the transition animation played at the start playback time and the playback duration being equal to or later than the second time.

[0136] In an optional design, the determining module 803 is configured to determine the first moment as the starting playback moment when the playback duration of the transition animation is equal to or greater than the wake-up duration, wherein the wake-up duration is related to the state of the second system; and / or, when the playback duration of the transition animation is less than the wake-up duration, determine the starting playback moment as the moment after adding an extension time to the first moment, wherein the extension time is equal to or greater than the difference between the wake-up duration and the playback duration.

[0137] In an optional design, the determining module 803 is configured to determine the first moment as the starting playback moment when the second system is woken up from a first non-operating state to the operating state, and the playback duration of the transition animation is equal to or greater than the first wake-up duration; and / or, when the second system is woken up from a second non-operating state to the operating state, and the playback duration of the transition animation is equal to or greater than the second wake-up duration, the first moment is determined as the starting playback moment; wherein the power consumption of the first non-operating state is higher than that of the second non-operating state, and the first wake-up duration of the first non-operating state is less than the second wake-up duration of the second non-operating state.

[0138] In an optional design, the determining module 803 is used to determine the starting playback time as the time after adding a preset extension time to the first time; wherein the preset extension time is equal to or greater than the difference between the wake-up duration and the target playback duration, and the target playback duration is the playback duration of the transition animation with the shortest playback duration among all transition animations.

[0139] In an optional design, the determining module 803 is used to determine the duration difference between the wake-up duration and the playback duration; and to determine the starting playback time as the first time plus the duration difference.

[0140] In an optional design, the determining module 803 is configured to determine the duration difference between the first wake-up duration and the playback duration when the second system is woken up from the first non-operating state to the operating state; and / or, determine the duration difference between the second wake-up duration and the playback duration when the second system is woken up from the second non-operating state to the operating state; wherein the power consumption of the first non-operating state is higher than that of the second non-operating state, and the first wake-up duration of the first non-operating state is less than the second wake-up duration of the second non-operating state.

[0141] In an optional design, the device further includes a determining module 803, configured to determine, when the playback duration of the transition animation is less than the wake-up duration, that the starting playback time is the time after the extension time is added to the third time, wherein the third time is the time when the switching operation ends.

[0142] In an optional design, the display module 802 is used to display a system interface while the first system is in the running state and the second system is in the non-running state, the system interface including any user interface obtained by running the first system.

[0143] Figure 10 is a schematic diagram of a transition animation playback device provided in an exemplary embodiment of this application. The device includes a first system and a second system, as shown in Figure 8. The device includes:

[0144] The determining module 1001 is used to determine a transition animation based on a switching operation when the state of the first system is running and the state of the second system is either a first non-running state or a second non-running state other than a shutdown state.

[0145] The determining module 1001 is further configured to determine the start time of the transition animation based on the playback duration of the transition animation and / or the state of the second system;

[0146] Display module 1002 is used for the first system to play the transition animation when the start playback time arrives; wherein, the power consumption of the first non-running state is higher than that of the second non-running state, and the wake-up time of the first non-running state is less than that of the second non-running state.

[0147] In an optional design, the determining module 1001 is used to determine the transition animation based on the type of the switching operation and / or the object of the switching operation; wherein the type of the switching operation includes one or more of the following: click, double click, swipe, long press, press once, press twice, rotate; and / or, the object of the switching operation is the display interface or hardware corresponding to the switching operation.

[0148] In an optional design, the start playback time is later than or equal to the start wake-up time of the second system; and / or, the start playback time is earlier than or equal to a first preset time, and playing the transition animation within the first preset time meets the operation response speed requirements.

[0149] In an optional design, the determining module 1001 is used to determine the start playback time of the transition animation based on the playback duration of the transition animation and the wake-up duration corresponding to the state of the second system.

[0150] It should be noted that the transition animation playback device provided in the above embodiments is only an example of the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the transition animation playback device and the transition animation playback method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0151] Embodiments of this application also provide an electronic device, which includes a processor and a memory. The memory stores at least one instruction, at least one program, code set, or instruction set. The processor loads and executes the at least one instruction, at least one program, code set, or instruction set to implement the transition animation playback method provided in the above-described method embodiments.

[0152] For example, Figure 11 is a schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application. In some embodiments, the terminal described above is implemented as an electronic device, such as a wearable device.

[0153] Typically, terminal 1100 includes a processor 1101 and a memory 1102.

[0154] Processor 1101 may include one or more processing cores, such as a quad-core processor, an eleven-core processor, etc. Processor 1101 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1101 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1101 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1101 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0155] The memory 1102 may include one or more computer-readable storage media, which may be non-transitory. The memory 1102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1102 is used to store at least one instruction, which is executed by the processor 1101 to implement the transition animation playback method provided in the method embodiments of this application.

[0156] In some embodiments, the terminal 1100 may also optionally include a peripheral device interface 1103 and at least one peripheral device. The processor 1101, memory 1102, and peripheral device interface 1103 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1104, a display screen 1105, a camera assembly 1106, an audio circuit 1107, and a power supply 1108.

[0157] Peripheral device interface 1103 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1101 and memory 1102. In some embodiments, processor 1101, memory 1102 and peripheral device interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1101, memory 1102 and peripheral device interface 1103 can be implemented on separate chips or circuit boards, and this application embodiment does not limit this.

[0158] The radio frequency (RF) circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1104 can communicate with other terminals via at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1104 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0159] Display screen 1105 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1105 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1101 for processing. In this case, display screen 1105 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1105, which serves as the front panel of terminal 1100; in other embodiments, there may be at least two display screens, respectively disposed on different surfaces of terminal 1100 or in a folded design; in still other embodiments, display screen 1105 may be a flexible display screen, disposed on a curved or folded surface of terminal 1100. Furthermore, display screen 1105 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0160] The camera assembly 1106 is used to acquire images or videos. Optionally, the camera assembly 1106 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal 1100, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1106 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cool light flash, which can be used for light compensation at different color temperatures.

[0161] The audio circuit 1107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1101 for processing, or input to the radio frequency circuit 1104 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1100. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1107 may also include a headphone jack.

[0162] Power supply 1108 is used to power the various components in terminal 1100. Power supply 1108 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 1108 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0163] In some embodiments, the terminal 1100 further includes one or more sensors 1109. The one or more sensors 1109 include, but are not limited to: an acceleration sensor 1110, a gyroscope sensor 1111, a pressure sensor 1112, an optical sensor 1113, and a proximity sensor 1114.

[0164] Accelerometer 1110 can detect the magnitude of acceleration along the three axes of a coordinate system established with terminal 1100. For example, accelerometer 1110 can be used to detect the components of gravitational acceleration along the three axes. Processor 1101 can control touchscreen 1105 to display the user interface in landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1110. Accelerometer 1110 can also be used for games or for acquiring user motion data.

[0165] The gyroscope sensor 1111 can detect the orientation and rotation angle of the terminal 1100. The gyroscope sensor 1111 can work in conjunction with the accelerometer sensor 1110 to collect the user's 3D movements on the terminal 1100. Based on the data collected by the gyroscope sensor 1111, the processor 1101 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.

[0166] The pressure sensor 1112 can be disposed on the side bezel of the terminal 1100 and / or on the lower layer of the touch display screen 1105. When the pressure sensor 1112 is disposed on the side bezel of the terminal 1100, it can detect the user's grip signal on the terminal 1100, and the processor 1101 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1112. When the pressure sensor 1112 is disposed on the lower layer of the touch display screen 1105, the processor 1101 can control the operable controls on the UI interface based on the user's pressure operation on the touch display screen 1105. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0167] Optical sensor 1113 is used to collect ambient light intensity. In one embodiment, processor 1101 can control the display brightness of touch screen 1105 based on the ambient light intensity collected by optical sensor 1113. Specifically, when the ambient light intensity is high, the display brightness of touch screen 1105 is increased; when the ambient light intensity is low, the display brightness of touch screen 1105 is decreased. In another embodiment, processor 1101 can also dynamically adjust the shooting parameters of camera assembly 1106 based on the ambient light intensity collected by optical sensor 1113.

[0168] The proximity sensor 1114, also known as a distance sensor, is typically located on the front panel of the terminal 1100. The proximity sensor 1114 is used to detect the distance between the user and the front of the terminal 1100. In one embodiment, when the proximity sensor 1114 detects that the distance between the user and the front of the terminal 1100 is gradually decreasing, the processor 1101 controls the touchscreen display 1105 to switch from a screen-on state to a screen-off state; when the proximity sensor 1114 detects that the distance between the user and the front of the terminal 1100 is gradually increasing, the processor 1101 controls the touchscreen display 1105 to switch from a screen-off state to a screen-on state.

[0169] Those skilled in the art will understand that the structure shown in FIG11 does not constitute a limitation on terminal 1100, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0170] This application also provides a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set. When the at least one instruction, at least one program, code set, or instruction set is loaded and executed by the processor of an electronic device, the transition animation playback method provided in the above-described method embodiments is implemented.

[0171] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. The processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the transition animation playback method provided in the above-described method embodiments.

[0172] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0173] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent switching, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for playing a transition animation, characterized in that, The method includes: When the first system is in a running state and the second system is in a non-running state other than a shutdown state, in response to a switching operation, the second system is woken up and enters the running state, and the switching operation is used to trigger the running of the application in the second system; The first system starts playing a transition animation between a first moment and a second moment, where the first moment is the moment when the second system begins to wake up, and the second moment is the moment when the second system is fully woken up to start running the application. In response to the completion of the transition animation, the application interface of the application is displayed through the second system. The application interface is the user interface obtained by the second system running the application in the running state.

2. The method according to claim 1, characterized in that, Different switching operations have their own corresponding transition animations; the step of starting to play the transition animation through the first system between the first time moment and the second time moment includes: Based on the playback duration of the transition animation corresponding to the switching operation, the start playback time of the transition animation is determined, and the start playback time is located between the first time and the second time. The transition animation is played by the first system at the start playback time, and the end playback time of the transition animation, which is played at the start playback time and the playback duration, is equal to or later than the second time.

3. The method according to claim 2, characterized in that, Determining the start playback time of the transition animation based on the playback duration of the transition animation corresponding to the current switching operation includes: If the playback duration of the transition animation is equal to or greater than the wake-up duration, the first moment is determined as the start playback moment, and the wake-up duration is related to the state of the second system; and / or, If the playback duration of the transition animation is less than the wake-up duration, the starting playback time is determined to be the time after adding an extension time to the first time, wherein the extension time is equal to or greater than the difference between the wake-up duration and the playback duration.

4. The method according to claim 3, characterized in that, When the playback duration of the transition animation is equal to or greater than the wake-up duration, determining the first moment as the start playback moment includes: When the second system is woken up from a first non-running state to the running state, and the playback duration of the transition animation is equal to or greater than the first wake-up duration, the first moment is determined as the start playback moment; and / or, When the second system is woken up from the second non-running state to the running state, and the playback duration of the transition animation is equal to or greater than the second wake-up duration, the first moment is determined as the starting playback moment; The power consumption of the first non-operating state is higher than that of the second non-operating state, and the first wake-up time of the first non-operating state is shorter than the second wake-up time of the second non-operating state.

5. The method according to claim 3, characterized in that, Determining the starting playback time as the time after adding an extension period to the first time includes: The starting playback time is determined to be the time after adding a preset extension time to the first time. Wherein, the preset extension time is equal to or greater than the difference between the wake-up duration and the target playback duration, and the target playback duration is the playback duration of the transition animation with the shortest playback duration among all transition animations.

6. The method according to claim 3, characterized in that, Determining the starting playback time as the time after adding an extension period to the first time includes: Determine the duration difference between the wake-up duration and the playback duration; The starting playback time is determined to be the time after adding the duration difference to the first time.

7. The method according to claim 6, characterized in that, Determining the duration difference between the wake-up duration and the playback duration includes: When the second system is woken up from a first non-operating state to the operating state, a system is established to determine the duration difference between the first wake-up duration and the playback duration; and / or, When the second system is woken up from the second non-operating state to the operating state, a system is established to determine the duration difference between the second wake-up duration and the playback duration. The power consumption of the first non-operating state is higher than that of the second non-operating state, and the first wake-up time of the first non-operating state is shorter than the second wake-up time of the second non-operating state.

8. The method according to any one of claims 3 to 7, characterized in that, The method further includes: If the playback duration of the transition animation is less than the wake-up duration, the starting playback time is determined to be the time after the extension time is added to the third time, where the third time is the time when the switching operation ends.

9. The method according to any one of claims 1 to 7, characterized in that, The method further includes: During the period when the first system is in the running state and the second system is in the non-running state, a system interface is displayed, the system interface including any user interface obtained by running the first system.

10. A method for playing a transition animation, characterized in that, Applied to an electronic device, the electronic device comprising a first system and a second system, the method includes: When the first system is in the running state and the second system is in either the first non-running state or the second non-running state other than the shutdown state, the transition animation is determined according to the switching operation. The start time of the transition animation is determined based on the playback duration of the transition animation and / or the state of the second system; The first system plays the transition animation when the start playback time arrives; wherein, the power consumption of the first non-running state is higher than that of the second non-running state, and the wake-up time of the first non-running state is shorter than that of the second non-running state.

11. The method according to claim 10, characterized in that, The step of determining the transition animation based on the switching operation includes: The transition animation is determined based on the type of the switching operation and / or the object of the switching operation; The switching operation type includes one or more of the following: click, double click, swipe, long press, press once, press twice, rotate; and / or, the object of the switching operation is the display interface or hardware corresponding to the switching operation.

12. The method according to claim 10 or 11, characterized in that, The start playback time is later than or equal to the start wake-up time of the second system; and / or, the start playback time is earlier than or equal to the first preset time, and playing the transition animation within the first preset time meets the operation response speed requirements.

13. The method according to claim 10 or 11, characterized in that, Determining the start time of the transition animation based on its playback duration and / or the state of the second system includes: The start time of the transition animation is determined based on the playback duration of the transition animation and the wake-up duration corresponding to the state of the second system.

14. A device for playing transition animation, characterized in that, The device includes: The switching module is used to wake up the second system and put it into the running state in response to a switching operation when the first system is in the running state and the second system is in a non-running state other than the shutdown state. The switching operation is used to trigger the running of the application in the second system. The display module is used to start playing a transition animation through the first system at a time between a first moment and a second moment, where the first moment is the moment when the second system is started to be woken up, and the second moment is the moment when the second system is finished to be woken up and the application starts to run. The display module is further configured to, in response to the completion of playing the transition animation, display the application interface of the application through the second system, wherein the application interface is the user interface obtained by the second system running the application in the running state.

15. The apparatus according to claim 14, characterized in that, Different switching operations have their own corresponding transition animations; The device further includes a determining module, used to determine the start playback time of the transition animation based on the playback duration of the transition animation corresponding to the current switching operation, wherein the start playback time is located between the first time and the second time. The display module is used to play the transition animation at the start playback time through the first system, wherein the end playback time of the transition animation is equal to or later than the second time when it is played at the start playback time and the playback duration.

16. The apparatus according to claim 15, characterized in that, The determining module is used for: If the playback duration of the transition animation is equal to or greater than the wake-up duration, the first moment is determined as the start playback moment, and the wake-up duration is related to the state of the second system; and / or, If the playback duration of the transition animation is less than the wake-up duration, the starting playback time is determined to be the time after adding an extension time to the first time, wherein the extension time is equal to or greater than the difference between the wake-up duration and the playback duration.

17. A device for playing transition animation, characterized in that, The device includes a first system and a second system, the device comprising: The determination module is used to determine the transition animation based on the switching operation when the state of the first system is running and the state of the second system is either a first non-running state or a second non-running state other than a shutdown state. The determining module is further configured to determine the start time of the transition animation based on the playback duration of the transition animation and / or the state of the second system; The display module is used for the first system to play the transition animation when the start playback time arrives; wherein the power consumption of the first non-running state is higher than that of the second non-running state, and the wake-up time of the first non-running state is shorter than that of the second non-running state.

18. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing at least one program, which is loaded and executed by the processor to implement the method for playing transition animations as described in any one of claims 1 to 13.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one program, which is loaded and executed by a processor to implement the method for playing transition animations as described in any one of claims 1 to 13.

20. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium, a processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the electronic device to perform the transition animation playback method as described in any one of claims 1 to 13.

Citation Information

Patent Citations

  • Switching animation display method and device for switching of multiple systems

    CN105872711A

  • User interface display method and device, equipment and storage medium

    CN115167954A

  • Image display method and electronic equipment

    CN117135257A

  • Transition animation playing method and device, equipment and storage medium

    CN119201311A

  • Variable length animations based on user inputs

    US20140111523A1