Dynamic effect configuration method and electronic device

Through the dynamic effect configuration method, users can set the dynamic effect parameters on electronic devices independently, solving the problem of reducing user experience caused by fixed dynamic effect, and achieving flexible setting of dynamic effect and improving user experience.

WO2025001136A1PCT designated stage expired Publication Date: 2025-01-02HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/075182
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-30
Filing Date
2024-02-01
Publication Date
2025-01-02

AI Technical Summary

Technical Problem

The dynamic effects on electronic devices are fixed and cannot be changed independently, reducing the user's user experience.

Method used

Provides an animation effect configuration method, which detects user operations and displays corresponding interfaces, allows users to select and customize animation effect parameters, generate theme packages, and send them to electronic devices for updates, realizing flexible settings of animation effect .

Benefits of technology

It improves users' ability to set the animation effects of electronic devices and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024075182_02012025_PF_FP_ABST
    Figure CN2024075182_02012025_PF_FP_ABST
Patent Text Reader

Abstract

A dynamic effect configuration method and an electronic device. The method comprises: detecting a theme download request for a second electronic device, and displaying a first interface, wherein the first interface comprises a theme list, and operation conditions of themes in the theme list match device information of the second electronic device; detecting a selection operation for a first theme in the theme list, and acquiring a theme pack of the first theme, wherein the theme pack of the first theme comprises first information, and the first information is used for indicating a dynamic effect parameter value of a dynamic effect; and sending the theme pack of the first theme to the second electronic device, such that the second electronic device updates a dynamic effect parameter value of a dynamic effect in the second electronic device according to the first information. By means of the embodiments of the present application, a user can flexibly set a dynamic effect on an electronic device, thereby improving the use experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Motion effect configuration method and electronic device

[0001] This invention claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on June 30, 2023, with application number 202310799528.9 and application name “Motion Effect Configuration Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the technical field of motion effect configuration, and in particular to a motion effect configuration method and electronic device. Background Art

[0003] Electronic devices, such as smartwatches, are designed to enhance user enjoyment and user experience by providing animations. However, these animations are fixed and cannot be changed by the user, which reduces the user experience.

[0004] Summary of the Invention

[0005] The present application provides a motion effect configuration method and an electronic device, which can enable users to flexibly set motion effects on electronic devices and enhance the user experience.

[0006] In a first aspect, the present application provides a method for configuring an animation effect, applied to a first electronic device, comprising: detecting a theme download request for a second electronic device and displaying a first interface; the first interface comprising a theme list, wherein the operating conditions of the themes in the theme list match the device information of the second electronic device; detecting a selection operation for a first theme in the theme list and obtaining a theme package for the first theme; the theme package for the first theme comprising first information, wherein the first information is used to indicate an animation parameter value for an animation effect; and sending the theme package for the first theme to a second electronic device, whereby the second electronic device updates the animation parameter value for the animation effect in the second electronic device based on the first information. The first electronic device may be, for example, a mobile phone, a PC, a PAD, etc., and the second electronic device may be, for example, a mobile phone, a PC, a PAD, a wearable device, a smart TV, a smart cat-eye device, etc. The first information may be, for example, animation effect configuration information in a theme package in a subsequent embodiment. In this method, the first electronic device provides a user with a first interface comprising a theme list, wherein the user may select a first theme from the theme list, the first electronic device downloads the theme package for the first theme, and sends the theme package for the first theme to the second electronic device. The second electronic device updates the animation parameter value based on the theme package, thereby enabling the user to flexibly set animation effects on the second electronic device by downloading theme packages for different themes, thereby improving the user experience.

[0007] In one possible implementation, the first interface also includes: a custom theme; the method also includes: detecting a selection operation for the custom theme, and determining second information of the custom theme based on the user operation detected in the setting-related interface of the custom theme; the second information is used to indicate the animation parameter value of the animation; the setting-related interface is used to support the user to set the animation parameter value of the animation; determining a theme package of the custom theme based on the second information of the custom theme; sending the theme package of the custom theme to the second electronic device, so that the second electronic device updates the animation parameter value of the animation in the second electronic device based on the second information. In this method, the user can independently set the animation parameter value of the animation in the setting-related interface of the custom theme provided by the first electronic device, determine the theme package of the custom theme accordingly, send the theme package of the custom theme to the second electronic device, and the second electronic device updates the animation parameter value based on the theme package, thereby enabling the user to flexibly set the animation on the second electronic device and improving the user experience.

[0008] In one possible implementation, determining the second information of a custom theme based on a user operation detected in a setting-related interface for the custom theme includes: displaying a second interface, the second interface including: an animation type; detecting a selection operation for the animation type, displaying a third interface, the third interface including: optional options for the animation type; the optional options are used to indicate animation parameter values ​​for the animation, and for the same animation, different optional options indicate at least partially different animation parameter values ​​for the animation; detecting a selection operation for a first optional option for the animation type, determining that the second information of the custom theme includes: the animation type is the first optional option. In this method, the user only needs to set the animation type to set the animation parameter values ​​for each animation, which is simple to operate.

[0009] In one possible implementation, determining the second information of the custom theme based on a user operation detected in a custom theme setting interface includes: displaying a fourth interface, the fourth interface including a first animation effect list; detecting a selection operation for a first animation effect in the first animation effect list, displaying a fifth interface, the fifth interface including optional options for a first animation effect parameter of the first animation effect; detecting a selection operation for a second optional option for the first animation effect parameter, and determining that the second information of the custom theme includes: the first animation effect parameter of the first animation effect is the second optional option. In this method, the user can independently set the parameter value of each animation effect parameter, which provides relatively more flexible and precise settings for the animation effect.

[0010] In one possible implementation, the operating conditions of the animations in the first animation list match the device information of the second electronic device; and / or, the operating conditions of the optional items match the device information of the second electronic device. In this method, the operating conditions of the animations in the first animation list match the device information of the second electronic device; and / or, the operating conditions of the optional items match the device information of the second electronic device, so that the software operating capabilities of the second electronic device can support the animations and optional items selected by the user, and the second electronic device can achieve relatively good operating results when running the animations.

[0011] In one possible implementation, the method further includes: detecting a motion effect setting request for the second electronic device, determining the motion effect setting information based on the user operation detected in the motion effect setting related interface; the motion effect setting information is used to indicate the motion effect parameter value of the motion effect; the motion effect setting related interface is used to support the user to set the motion effect parameter value of the motion effect; sending the motion effect setting information to the second electronic device, so that the second electronic device updates the motion effect parameter value of the motion effect in the second electronic device according to the motion effect setting information. In this method, the user can independently set the motion effect parameter value of the motion effect in the motion effect setting related interface provided by the first electronic device, the first electronic device sends the corresponding motion effect setting information to the second electronic device, and the second electronic device updates the motion effect parameter value accordingly, thereby enabling the user to flexibly set the motion effect on the second electronic device and improving the user's usage experience.

[0012] In one possible implementation, determining the motion effect setting information based on a user operation detected in a motion effect setting-related interface includes: displaying a sixth interface, the sixth interface including: a motion effect type; detecting a selection operation for the motion effect type, displaying a seventh interface, the seventh interface including: optional options for the motion effect type; the optional options are used to indicate motion effect parameter values ​​for the motion effect, and different optional options indicate at least partially different motion effect parameter values ​​for the motion effect; detecting a selection operation for a third optional option of the motion effect type, and determining that the motion effect setting information includes: the motion effect type is the third optional option. In this method, the user only needs to set the motion effect type to set the motion effect parameter values ​​for each motion effect, which is simple to operate.

[0013] In a possible implementation, the operating conditions of the optional items of the motion effect type match the device information of the second electronic device.

[0014] In one possible implementation, the method further includes: displaying an eighth interface, the eighth interface including: a second animation effect list; detecting a selection operation for a second animation effect in the second animation effect list, displaying a ninth interface, the ninth interface including: optional options for a second animation effect parameter of the second animation effect; detecting a selection operation for a fourth optional option for the second animation effect parameter, and determining that the animation effect setting information includes: the second animation effect parameter of the second animation effect is the fourth optional option. In this method, the user can independently set the parameter value of each animation effect parameter, which provides relatively more flexible and precise settings for the animation effect.

[0015] In one possible implementation, the operating conditions of the animations in the second animation list match the device information of the second electronic device; and / or the operating conditions of the optional items match the device information of the second electronic device.

[0016] In one possible implementation, displaying the first interface includes: sending a first request message to a server, the first request message being used to request a topic corresponding to a second electronic device; receiving a topic list sent by the server in response to the first request message, the topic list being generated by the server by matching device information of the second electronic device with the operating conditions of each topic in turn and based on successfully matched topics; and displaying the first interface based on the topic list.

[0017] In a possible implementation, the first request message includes: device information of the second electronic device, where the device information of the second electronic device is obtained by the first electronic device from the second electronic device.

[0018] In a possible implementation, the device information of the second electronic device includes: device type, device model, number of CPU cores, and / or CPU main frequency.

[0019] In the second aspect, an embodiment of the present application provides a method for configuring an animation, which is applied to a second electronic device, and the method includes: receiving a theme package of a first theme sent by a first electronic device, and the first electronic device is used to execute the animation configuration method of any one of the first aspects; the theme package of the first theme includes first information, and the first information is used to indicate the animation parameter value of the animation; and the animation parameter value of the animation is updated according to the first information. In this method, the first electronic device provides the user with a first interface including a theme list, and the user can select the first theme from the theme list. The first electronic device downloads the theme package of the first theme and sends the theme package of the first theme to the second electronic device. The second electronic device updates the animation parameter value according to the theme package, so that the user can flexibly set the animation on the second electronic device by downloading theme packages of different themes, thereby improving the user experience.

[0020] In one possible implementation, updating the animation parameter value of the animation according to the first information includes: obtaining an application in the second electronic device that allows animation customization, sending the first information to the application, and having the application update the animation parameter value of the animation in the application according to the first information.

[0021] In one possible implementation, the method further includes: detecting a motion effect setting request, determining motion effect setting information based on a user operation detected in a motion effect setting-related interface; the motion effect setting information being used to indicate a motion effect parameter value for the motion effect; the motion effect setting-related interface being used to support the user in setting the motion effect parameters for the motion effect; and updating the motion effect parameter value for the motion effect based on the motion effect setting information. In this method, the user can independently set the motion effect parameter value for the motion effect in the motion effect setting-related interface provided by the second electronic device, and the second electronic device can update the motion effect parameter value accordingly, thereby enabling the user to flexibly set the motion effect on the second electronic device and improving the user experience.

[0022] In one possible implementation, determining the motion effect setting information based on a user operation detected in a motion effect setting related interface includes: displaying a tenth interface, the tenth interface including: the motion effect type; detecting a selection operation for the motion effect type, displaying an eleventh interface, the eleventh interface including: optional items for the motion effect type; the optional items are used to indicate the motion effect parameter values ​​of the motion effect, and different optional items indicate that the motion effect parameter values ​​of the motion effect are at least partially different; detecting a selection operation for the first optional item of the motion effect type, determining that the motion effect setting information includes: the motion effect type is the first optional item. In this method, the user only needs to set the motion effect type to set the motion effect parameter values ​​of each motion effect, which is easy to operate.

[0023] In one possible implementation, the method further includes: displaying a twelfth interface, the twelfth interface including a third animation effect list; detecting a selection operation for a third animation effect in the third animation effect list, displaying a thirteenth interface, the thirteenth interface including optional options for a third animation effect parameter of the third animation effect; detecting a selection operation for a fifth optional option for the third animation effect parameter, and determining that the animation effect setting information includes: the third animation effect parameter is the fifth optional option. In this method, the user can independently set the parameter value of each animation effect parameter, which provides relatively more flexibility and precision in setting the animation effect.

[0024] In a third aspect, an embodiment of the present application provides a first electronic device, comprising: a processor; and a memory; wherein one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the processor, enable the first electronic device to execute any one of the methods of the first aspect.

[0025] In a fourth aspect, an embodiment of the present application provides a second electronic device, comprising: a processor; and a memory; wherein one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the processor, enable the second electronic device to execute any one of the methods of the second aspect.

[0026] In a fifth aspect, an embodiment of the present application provides a motion effect configuration system, comprising the first electronic device of the third aspect and the second electronic device of the fourth aspect.

[0027] In a possible implementation, the system further includes: a server configured to sequentially match the device information of the second electronic device with the operating conditions of each theme, generate a theme list based on successfully matched themes, and send the theme list to the first electronic device.

[0028] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method of any one of the first aspect or the second aspect.

[0029] In a seventh aspect, an embodiment of the present application provides a computer program, which, when executed by a computer, is used to execute the method described in the first aspect.

[0030] In one possible design, the program in the seventh aspect may be stored in whole or in part on a storage medium packaged with the processor, or may be stored in whole or in part on a memory not packaged with the processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0032] 1A and 1B are schematic diagrams of the implementation structure of the system architecture provided in an embodiment of the present application;

[0033] FIG2A is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0034] FIG2B is a schematic structural diagram of a first electronic device provided in an embodiment of the present application;

[0035] FIG2C is a schematic structural diagram of a second electronic device provided in an embodiment of the present application;

[0036] FIG3A is a schematic diagram of an interface of a sliding spring dynamic effect provided in an embodiment of the present application;

[0037] FIG3B is a schematic diagram comparing interface effects under different rigidity parameter values ​​of the sliding spring dynamic effect provided by an embodiment of the present application;

[0038] 3C and 3D are schematic diagrams of the theme package structure and theme update principle provided by an embodiment of the present application;

[0039] FIG4 is a schematic diagram of an interface of a method for configuring a dynamic effect according to an embodiment of the present application;

[0040] FIG5 is a schematic diagram of a first flow chart of a method for configuring motion effects provided in an embodiment of the present application;

[0041] FIG6 is a schematic diagram of a second flow chart of the method for configuring motion effects provided in an embodiment of the present application;

[0042] 7A and 7B are schematic diagrams of interfaces of a method for configuring motion effects according to an embodiment of the present application;

[0043] FIG8 is a schematic diagram of a third flow chart of the method for configuring motion effects provided in an embodiment of the present application;

[0044] FIG9 is a schematic diagram of a fourth flow chart of the method for configuring motion effects provided in an embodiment of the present application;

[0045] 10A and 10B are schematic diagrams of interfaces of a method for configuring motion effects according to an embodiment of the present application;

[0046] FIG11 is a schematic diagram of a fifth flow chart of the method for configuring motion effects provided in an embodiment of the present application;

[0047] FIG12 is a sixth flow chart of the method for configuring motion effects according to an embodiment of the present application;

[0048] FIG13 is a seventh flow chart of the method for configuring motion effects provided in an embodiment of the present application;

[0049] FIG14 is a flowchart of the eighth method for configuring motion effects provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.

[0051] In the embodiments of the present application, attributes related to the user interface may include: dynamic attributes and static attributes. Dynamic attributes are user interface attributes that involve dynamic effects. Such dynamic effects may include: animated images, sounds, and / or vibrations, etc. Such dynamic effects may be displayed, for example, when switching from one user interface to another. Such dynamic attributes may also be referred to as motion effects. Static attributes are user interface attributes that do not involve dynamic effects, such as icons, theme colors, etc.

[0052] The method for configuring the dynamic effect of the embodiment of the present application can be applied to the system architecture shown in Figure 1A and Figure 1B . As shown in Figure 1A and Figure 1B , the system includes a first electronic device 10 , a second electronic device 20 , and a server 30 .

[0053] 1A , a first electronic device 10 can be directly connected to a second electronic device 20 via a communication method such as Bluetooth, wireless fidelity (WiFi), or ultra-wideband (UWB). The first electronic device 10 can be connected to a server 30 via a network. Alternatively, the second electronic device 20 can also be connected to the server 30 via a network.

[0054] Referring to Figure 1B, the first electronic device 10 can be connected to the server 30 through a network, the second electronic device 20 can be connected to the server 30 through a network, and the second electronic device 20 and the first electronic device 10 can be indirectly connected through another device such as the server 30. Specifically, the first electronic device 10 and the second electronic device 20 can establish an indirect connection through the server 30 by logging into the server using the same account.

[0055] The above system architecture is only an example. In the animation configuration method of the embodiment of the present application, as long as communication can be achieved between the first electronic device 10 and the second electronic device 20, and between the first electronic device 10 and the server 30, the communication method used is not limited in the embodiment of the present application.

[0056] In the embodiment of the present application, the first electronic device 10 may be, for example, a mobile phone, a personal computer (PC), a tablet computer (PAD), or the like.

[0057] The second electronic device 20 in the embodiment of the present application is an electronic device that can support motion effects, such as a mobile phone, PC, PAD, wearable devices such as smart watches and smart glasses, smart TVs, smart cat eyes, etc. Smart cat eyes can also be called electronic cat eyes.

[0058] Fig. 2A shows a schematic structural diagram of an electronic device 100. The first electronic device or the second electronic device mentioned above can be implemented by the structure shown in Fig. 2A.

[0059] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0060] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

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

[0062] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0063] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

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

[0065] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C bus lines. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, and the like via different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K via the I2C interface, enabling communication between the processor 110 and the touch sensor 180K via the I2C bus interface, thereby implementing the touch function of the electronic device 100.

[0066] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.

[0067] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0068] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.

[0069] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 100. The processor 110 and the display 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0070] The GPIO interface can be configured via software. The GPIO interface can be configured as either a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, display 194, wireless communication module 160, audio module 170, sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0071] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.

[0072] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0073] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.

[0074] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

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

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

[0077] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0078] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

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

[0080] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0081] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

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

[0083] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0084] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.

[0085] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0086] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0087] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0088] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.

[0089] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0090] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

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

[0092] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.

[0093] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.

[0094] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.

[0095] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.

[0096] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0097] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.

[0098] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0099] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.

[0100] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0101] The software system of the mobile phone and smart watch can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software structure of the mobile phone and smart watch.

[0102] The layered architecture divides software into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. The present application embodiment takes the Android system as an example to illustrate the software structure of the first electronic device of the Android system. In some embodiments, the Android system is divided into five layers, from top to bottom: the application layer, the application framework layer (also known as the system framework layer), the system library and Android runtime layer, the hardware abstraction layer (HAL), and the kernel layer.

[0103] The application layer may include several applications (hereinafter referred to as applications), such as a camera, a gallery, a calendar, and a WLAN.

[0104] The application framework layer provides the application programming interface (API) and programming framework for applications in the application layer. It includes various components and services to support Android development. The application framework layer also includes some predefined functions. For example, the application framework layer may include a window manager, content provider, resource manager, camera service, etc.

[0105] The system library and Android runtime layer include the system library and the Android runtime. The system library can include multiple functional modules. For example: a surface manager, a 2D graphics engine, a 3D graphics processing library (e.g., OpenGL ES), a media library, a font library, etc. The browser kernel is responsible for interpreting web page syntax (e.g., HTML and JavaScript under the Standard Generalized Markup Language) and rendering (displaying) the web page; the 2D graphics engine is used to implement 2D graphics drawing, image rendering, compositing, and layer processing; the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing; the media library is used to implement the input of different streaming media; and the font library is used to implement the input of different fonts. The Android runtime is responsible for scheduling and management of the Android system, specifically including the core library and the virtual machine. The core library consists of two parts: one part contains the function functions that need to be called by the Java language, and the other part is the Android core library; the virtual machine is used to run Android applications developed in Java.

[0106] The HAL layer is the interface layer between the operating system kernel and the hardware circuit.

[0107] The kernel layer is the layer between hardware and software.

[0108] FIG2B shows a software structure block diagram of the first electronic device provided in an embodiment of the present application.

[0109] The application layer may include a first application.

[0110] The application framework layer may include Bluetooth services, WLAN services, etc.

[0111] The HAL layer may include: a Bluetooth hardware abstraction layer (Bluetooth HAL) and a WLAN hardware abstraction layer (WLAN HAL). The Bluetooth hardware abstraction layer is used to process Bluetooth data, and the WLAN hardware abstraction layer is used to process WLAN data.

[0112] The kernel layer may include: display driver, Bluetooth driver, WLAN driver, etc.

[0113] Among them, when the first electronic device and the second electronic device communicate directly via Bluetooth, the first application in the first electronic device can call the Bluetooth service of the framework layer, and then communicate with the second electronic device via Bluetooth through the Bluetooth hardware abstraction layer and the Bluetooth driver. The specific implementation of the embodiment of this application is not described in detail.

[0114] Among them, when the first electronic device communicates with the server through the network, the first application of the first electronic device can call the WLAN service of the framework layer, and then communicate with the server through the WLAN hardware abstraction layer and WLAN driver. The specific implementation of the embodiment of this application will not be repeated here.

[0115] FIG2C shows a software structure block diagram of the second electronic device provided in an embodiment of the present application.

[0116] The application layer may include a second application and / or a third application.

[0117] The application framework layer may include: motion effect management module, device information management module, graphics engine service, Bluetooth service, etc.

[0118] The animation management module is used to manage whether the second electronic device supports user-defined animations, manage the animation configuration information of the second electronic device, such as the animations supported by the second electronic device and the parameter values ​​of the animation parameters of each animation, etc., and support users to view and modify the animation configuration information of the second electronic device through the second application.

[0119] The device information management module is used to manage the device information of the second electronic device. Optionally, the device information of the second electronic device may include, but is not limited to, the device type (e.g., a watch, a television, etc.), model, number of central processing unit (CPU) cores, CPU main frequency, etc. The number of CPU cores refers to the number of CPU cores, indicating how many cores a CPU consists of.

[0120] The HAL layer may include: a Bluetooth hardware abstraction layer (Bluetooth HAL).

[0121] The kernel layer may include: display driver, Bluetooth driver, motor driver, speaker driver, etc.

[0122] Among them, when the first electronic device and the second electronic device can communicate directly via Bluetooth, the motion effect management module, the graphics engine service, etc. can call the Bluetooth service of the framework layer, and then realize communication with the first electronic device via Bluetooth through the Bluetooth hardware abstraction layer and the Bluetooth driver. The specific implementation of the embodiment of this application will not be repeated here.

[0123] In the following embodiments, the motion effect configuration method of the embodiment of the present application will be described in detail in combination with the structures of the first electronic device and the second electronic device mentioned above.

[0124] In the following embodiment of the present application, the first electronic device is a mobile phone, the second electronic device is a smart watch, the mobile phone and the smart watch are directly connected via Bluetooth, and the mobile phone and the server are connected via the network as an example to illustrate the implementation of the motion effect configuration method of the embodiment of the present application.

[0125] It can be understood that the mobile phone in the following embodiments of the present application can be replaced by other electronic devices, and the smart watch can also be replaced by other electronic devices that support motion effects.

[0126] In one embodiment provided by the present application, a user can download a theme package for a smart watch in the first application of a mobile phone, the mobile phone sends the theme package to the smart watch, and the smart watch updates the theme according to the theme package. The above-mentioned theme package may include motion effect configuration information, and the motion effect configuration information included in the theme packages of different themes may be different, so that the user can complete the autonomous setting of the motion effects in the smart watch by downloading the theme package for the smart watch and updating the theme of the smart watch. The first application is used to provide users with the theme package download function of the smart watch, the motion effect parameter setting function of the smart watch, etc. It can be understood that the first application can also provide other functions for the user, which is not limited by the embodiment of the present application. Optionally, the first application can be an application provided by the manufacturer of the smart watch for managing the smart watch. For example, the first application can be a sports health application in the mobile phone.

[0127] The configuration information related to the motion effect in the smart watch can be called the motion effect configuration information, and the motion effect configuration information may include: motion effect, parameter values ​​of the motion effect parameters of each motion effect. In the following embodiments, the parameter values ​​of the motion effect parameters are also referred to as motion effect parameter values. For example, the motion effect may include: sliding spring motion effect, click gravity motion effect, click zoom motion effect, etc. The motion effect parameters of the sliding spring motion effect may include: rigidity, damping, etc., the motion effect parameters of the click gravity motion effect may include: gravity coefficient, gravity radius, etc., and the motion effect parameters of the click zoom motion effect may include: zoom duration, zoom ratio, etc. By setting the parameter values ​​of the motion effect parameters, the same motion effect can produce different motion effect effects. For example, as shown in FIG3A , it is a schematic diagram of the dynamic changes of a sliding spring effect. When the user performs a downward sliding gesture in the interface shown in FIG3A , the upper area 300 of the interface will display a spring-like stretched effect, that is, the length of the upper area 300 of the interface gradually becomes longer; when the user stops the sliding gesture and the finger leaves the screen, the upper area 300 of the interface will display a spring-like retracted effect, that is, the length of the upper area 300 of the interface gradually shrinks to its original length. The rigidity of the sliding spring effect can be used to control the length to which the upper area 300 of the interface is stretched when the sliding gesture slides the same length. Specifically, the larger the rigidity parameter value, the smaller the length to which the upper area 300 of the interface is stretched when the user's sliding gesture slides the same length on the screen. For example, in the comparison diagram shown in FIG3B , the rigidity parameter value of the sliding spring effect on the left is relatively small, and the rigidity parameter value of the sliding spring effect on the right is relatively large. The damping of the sliding spring dynamic effect can be used to control the speed at which the area 300 above the interface retracts to its original length when the user stops the sliding gesture and leaves the screen. Specifically, the larger the damping is, the faster the area 300 above the interface retracts to its original length.

[0128] Configuration information related to static attributes in a smartwatch is referred to as static configuration information. This information may include static attributes and their parameter values. These static attributes may include icons and theme colors. Icon parameters may include style and size, while theme color parameters may include hue, saturation, and brightness.

[0129] In one embodiment, the motion effect configuration information in the theme package may include: motion effect type.

[0130] In the embodiment of the present application, the different effects of an animation can be classified according to the user's feelings or other standards to obtain the above-mentioned animation types, so that for the same animation parameter of the same animation, different animation types can correspond to different parameter values, so that the animation parameter values ​​of each animation can be indicated by the animation type. For example, referring to Figure 3C, the animation types may include: soothing, concise, active, etc. Among them, for each animation parameter of each animation, each animation type corresponds to a parameter value of the animation parameter. For example, the parameters of the sliding spring animation include rigidity and damping. Soothing can correspond to the parameter value 2 of the rigidity parameter of the sliding spring animation, and the parameter value of the damping parameter is 2. Concise can correspond to the parameter value 5 of the rigidity parameter of the sliding spring animation, and the parameter value 6 of the damping parameter. Active can correspond to the parameter value 7 of the rigidity parameter of the sliding spring animation, and the parameter value 8 of the damping parameter. The animation parameters of the click gravity animation, click zoom animation, etc. are similar to this.

[0131] Optionally, the smart watch can preset the correspondence between different animation types and the animation parameter values ​​of each animation. When updating the theme according to the theme package, the animation parameter values ​​of each animation can be determined according to the animation type in the theme package, and then the animation configuration information in the smart watch can be updated, thereby realizing the customization of the animation in the smart watch.

[0132] It should be noted that, for the same animation, the animation parameter values ​​indicated by different animation types are at least partially different, so that different animation types correspond to different animation effects.

[0133] In another embodiment, the motion effect configuration information in the theme package may include: motion effects and motion effect parameter values ​​of each motion effect.

[0134] For example, referring to Figure 3D , the animation configuration information in the theme package still includes the sliding spring animation, the click gravity animation, and the click zoom animation. The parameters of each animation are not listed one by one. Therefore, when the smartwatch is updated based on the theme package, the animation configuration information in the theme package can be used to update the animation configuration information in the smartwatch, thereby achieving customization of the animation effects in the smartwatch.

[0135] Optionally, as shown in Figures 3C and 3D, the theme package may also include static configuration information, which is not limited in the present embodiment. The static configuration information may include: static attributes and parameter values ​​of static attribute parameters, or static attribute types. For specific implementation, please refer to the description of the dynamic effect configuration information, which will not be repeated here.

[0136] The theme packages in the embodiment of the present application are divided into two types, namely, theme packages of custom themes and theme packages of fixed themes. The information in the theme packages of custom themes can be set by the user independently, while the information in the theme packages of fixed themes cannot be set by the user independently.

[0137] FIG4 is a schematic diagram of an interface implementation of the motion effect configuration method provided in an embodiment of the present application, which is used to illustrate a possible interface implementation in which a user downloads a fixed-theme theme package for a smart watch and updates it to the smart watch.

[0138] In this embodiment, it is assumed that the user has added the smart watch to the first application of the mobile phone and completed the Bluetooth pairing connection with the smart watch. The implementation process of the Bluetooth pairing connection is not described in detail in this embodiment of the application. After the mobile phone and the smart watch are paired with Bluetooth, the mobile phone and the smart watch can communicate via Bluetooth.

[0139] FIG5 is a flow chart of a method for configuring a dynamic effect provided by an embodiment of the present application based on the interface shown in FIG4 , and FIG6 is an exemplary description of the method for configuring the dynamic effect shown in FIG5 based on the software structure shown in FIG2B and FIG2C .

[0140] Referring to FIG5 , the method may include:

[0141] Step 501: The mobile phone detects a theme download request for the smart watch and obtains device information of the smart watch.

[0142] Referring to Figure 4, a user is viewing a device list interface, such as that shown in interface 31, within a first application. The device list interface may include a list of devices, which may have been paired with the phone through the first application. Each device in the device list interface may also have corresponding controls for the user to trigger subsequent operations on the devices. For example, the device list in interface 31 includes a smartwatch and a smart TV, with corresponding controls 311 for the smartwatch and 312 for the smart TV. The user selects control 311, and the phone detects the selection of control 311 for the smartwatch, thereby detecting the selection of the smartwatch. The phone then displays a first function selection interface, such as that shown in interface 32. This first function selection interface may include operations that the user can perform on the smartwatch. For example, the first function selection interface in interface 32 includes theme downloading and has a corresponding control 321 for triggering theme downloading for the smartwatch. The user selects control 321, and the phone detects the user's selection of the theme download control, thereby detecting a theme download request for the smartwatch.

[0143] In one possible implementation, the mobile phone can request the smart watch for device information of the smart watch in real time. In response to the request of the mobile phone, the smart watch sends its own device information to the mobile phone in real time, so that the mobile phone can obtain the device information of the smart watch in real time.

[0144] In another possible implementation, the smart watch can send its own device information to the mobile phone during the pairing process or after the pairing is successful. The mobile phone stores the received device information of the smart watch locally. Accordingly, in this step, the mobile phone can obtain the device information of the smart watch locally without having to obtain it from the smart watch in real time, thereby improving the execution efficiency of obtaining the device information of the smart watch in this step.

[0145] In another possible implementation, if the smart watch does not directly send its own device information to the mobile phone after successfully pairing with the mobile phone, but before executing this step, the mobile phone has obtained the device information of the smart watch from the smart watch during the interaction with the smart watch and cached it locally, then the mobile phone can also obtain the device information of the smart watch from the local area.

[0146] Referring to steps 601 to 603 in FIG6 , in this step, the first application of the mobile phone can specifically detect a theme download request for the smart watch, request the device information of the smart watch from the device information management module of the smart watch, and the device information management module of the smart watch sends the device information of the smart watch to the first application of the mobile phone.

[0147] Step 502: The mobile phone sends a topic list request message to the server, where the topic list request message is used to request topics that match the device information of the smart watch; the topic list request message may include the device information of the smart watch; the server responds to the topic list request message, filters topics whose operating conditions match the device information of the smart watch from the stored topics, generates a topic list for the smart watch based on the filtering results, and sends the topic list for the smart watch to the mobile phone.

[0148] Optionally, the server may store the operating conditions of each theme, and the operating conditions of the theme are the hardware configuration requirements required for the electronic device to run the theme normally. The operating conditions of each theme stored in the server are associated with the device information of the electronic device, so that in this step, the server can filter out the themes whose operating conditions match the device information of the smart watch based on the device information of the smart watch. The device information of the electronic device may include hardware configuration information related to the software running capability of the electronic device, for example, it may include: device type and / or model and / or number of CPU cores and / or CPU main frequency, etc. Specifically, for each theme, the server can determine whether the device information of the smart watch meets the operating conditions of the theme. If so, the operating conditions of the theme match the device information of the smart watch. If not, the operating conditions of the theme do not match the device information of the smart watch.

[0149] For example, assuming that the device information of an electronic device includes a device type and a model, and the operating conditions of Topic A include: device type: watch, model: X-1, X-4, then if the device information of smartwatch A contains a device type of watch and a model of X-1, the server may determine that the device type in the operating conditions of Topic A includes the device type of smartwatch A, and the model includes the model of smartwatch A, so that the operating conditions of Topic A match the device information of smartwatch A.

[0150] If the device type in the device information of smart watch b is watch and the model is X-3, the server can determine that the device type in the operating conditions of topic a includes the device type of smart watch b, but the model does not include the model of smart watch b, so the operating conditions of topic a do not match the device information of smart watch b.

[0151] In this implementation, the server responds to the topic list request message and filters the topics whose operating conditions match the device information of the smart watch, so that the topics stored in the server can be dynamically increased or decreased, and the server can still dynamically obtain the topic list of the smart watch, thereby making the method provided in the embodiment of the present application compatible.

[0152] Alternatively, if the server stores device information for different electronic devices, the mobile phone may not obtain the smartwatch's device information in step 501. In this implementation, the topic list request message may carry the smartwatch's identification information. Accordingly, the server may obtain the smartwatch's device information based on the smartwatch's identification information and perform subsequent topic screening. This implementation can reduce the amount of data processing by the mobile phone and the amount of data in the topic list request message sent by the mobile phone to the server.

[0153] Referring to steps 604 to 606 in FIG6 , in this step, the first application of the mobile phone may send a theme list request message to the server; the server obtains a theme list of the smart watch based on the device information of the smart watch, and sends the theme list of the smart watch to the first application of the mobile phone.

[0154] Step 503: The mobile phone receives the theme list and displays the theme download interface of the smart watch according to the theme list.

[0155] Referring to Figure 4 , a smartwatch theme download interface, such as interface 33, is shown. The theme download interface includes a list of smartwatch themes, such as Theme 1 through Theme 6. Themes 1 through 6 are fixed themes provided by the server. The theme download interface may also include controls for each theme in the theme list, allowing users to trigger the download of theme packages for each theme, such as control 331 for Theme 1 in Figure 4 . Control 331 for Theme 1 allows users to trigger the download of theme packages for Theme 1.

[0156] Referring to step 607 in FIG. 6 , in this step, the first application of the mobile phone may display the theme download interface of the smart watch.

[0157] The theme displayed on the theme download interface in this step is a theme that matches the device information of the smart watch, or it can be said that the hardware configuration of the smart watch can support the operation of the theme. Therefore, when the user selects a theme from the theme list, the smart watch can well support the operation of the theme selected by the user, thereby achieving the corresponding dynamic effect of the theme.

[0158] Step 504: The mobile phone detects a theme package download request for the first theme in the theme download interface and sends a download request message to the server.

[0159] For example, assuming that the first theme is Theme 1 in Figure 4, if the user selects the control 331 corresponding to Theme 1, the mobile phone detects the user's control selection operation for Theme 1, that is, it detects the selection operation for Theme 1. In other words, the mobile phone detects the theme package download request for Theme 1.

[0160] The download request message is used to request downloading of the theme package of the first theme. Optionally, the download request message includes an identifier of the first theme.

[0161] Referring to steps 608 to 609 in FIG. 6 , these steps may be specifically executed by the first application of the mobile phone.

[0162] Step 505: The server sends the theme package of the first theme to the mobile phone in response to the download request message.

[0163] Optionally, the server may store theme packages of various themes. In this step, the server may obtain the theme package of the first theme according to the identifier of the first theme.

[0164] Referring to step 610 in FIG. 6 , in this step, the server may send the theme package of the first theme to the first application of the mobile phone.

[0165] Step 506: The mobile phone receives the theme package of the first theme, and sends the theme package of the first theme to the smart watch.

[0166] Optionally, the mobile phone can send the theme package of the first theme to the smart watch via Bluetooth. For example, referring to step 611 in Figure 6, in this step, the first application of the mobile phone can call the Bluetooth service to send the theme package of the first theme to the smart watch.

[0167] Step 507: The smartwatch receives the theme package of the first theme, and parses the theme package to obtain the motion effect configuration information.

[0168] Optionally, if the theme package includes static configuration information, the smart watch can also parse the theme package to obtain the static configuration information.

[0169] Referring to steps 611 to 612 in FIG. 6 , these steps may be specifically executed by the graphics engine service of the smart watch.

[0170] Step 508: The smartwatch updates the motion effect configuration information in the third application according to the motion effect configuration information in the theme package.

[0171] Optionally, the third application in the smartwatch is an application that supports the execution of motion effects and allows customization of motion effects, such as a lock screen management application. The third application can be a system application or a third-party application in the smartwatch. When the third application executes the motion effect, if the motion effect includes an animated picture, the third application can directly display the corresponding animated picture; if the motion effect includes a vibration effect, the third application can transmit vibration waveform information to the motor driver of the core layer according to the motion effect configuration information, so that the motor driver drives the motor according to the vibration waveform information to achieve the vibration effect; if the motion effect includes sound, the third application can transmit the sound signal to the speaker driver of the core layer according to the motion effect configuration information, so that the speaker driver can drive the speaker to play the sound signal.

[0172] Afterwards, the third application can play the motion effect according to the updated motion effect configuration information, that is, play the motion effect according to the motion effect configuration information in the theme package.

[0173] Optionally, the smart watch can also update the motion effect configuration information of the operating system based on the motion effect configuration information in the theme package, so that when a new application that supports customized motion effects is installed in the smart watch, the motion effect configuration information can be obtained from the operating system of the smart watch (such as the above-mentioned motion effect management module), enabling users to independently set the motion effects in the newly installed application.

[0174] Referring to steps 613 to 614 in FIG6 , when updating the motion effect configuration information of the operating system, the graphics engine service of the smart watch can send the motion effect configuration information in the theme package to the motion effect management module, and the motion effect management module updates the motion effect configuration information according to the motion effect configuration information.

[0175] Optionally, before step 508 , the method may further include: installing a third application on the smart watch, and when determining that the third application supports animation customization, updating the animation configuration information of the third application according to the animation configuration information of the smart watch operating system.

[0176] 6 , the graphics engine service of the smartwatch may send the motion effect configuration information in the theme package to the third application in step 508 , and the third application may update the motion effect configuration information in the third application according to the motion effect configuration information.

[0177] Optionally, referring to step S1 of FIG6 , in order to allow the graphics engine service of the smartwatch to know whether the smartwatch supports customized motion effects, the motion effect management module may send an indication of whether the smartwatch supports customized motion effects to the graphics engine service in advance. For example, the motion effect management module may send the above indication to the graphics engine service at startup. In the embodiment of the present application, the motion effect management module indicates to the graphics engine service that the smartwatch supports customized motion effects as an example.

[0178] Optionally, referring to step S2 of FIG6 , in order for the graphics engine service to know whether the third application supports customized motion effects, the third application may pre-register with the graphics engine service whether it supports customized motion effects. For example, the third application may register with the graphics engine service whether it supports customized motion effects when it is started. In the embodiment of the present application, the third application registers with the graphics engine service that it supports customized motion effects as an example.

[0179] Optionally, referring to steps S3 to S5 of Figure 6, after the third application registers itself with the graphics engine service to support animation customization, the graphics engine server can request animation configuration information from the animation management module. The animation management module sends its own stored animation configuration information to the graphics engine service in response to the above request, and the graphics engine service sends the received animation configuration information to the third application. Through the above processing, the animation configuration information in the smart watch can be synchronized to the third application, so that the third application can execute animation according to the animation configuration information of the smart watch.

[0180] Optionally, if the theme package of the first theme includes static configuration information, the graphics engine service in step 612 can also parse the static configuration information. Afterwards, the graphics engine service can send the static configuration information to the static property management module of the operating system and the third application, etc., to implement the update of the static configuration information in the static property management module and the third application, thereby enabling the user to independently set the static configuration information in the smart watch.

[0181] In the embodiment of the present application shown in Figure 5, the user downloads a theme package for the smart watch on the mobile phone and sends the theme package to the smart watch. The smart watch updates the theme according to the theme package, thereby enabling the user to independently set the motion effect configuration information in the smart watch, that is, to realize the independent setting of the motion effects in the smart watch.

[0182] Different from the server screening the theme list of the smart watch in step 502, in another embodiment provided by the present application, step 502 can be replaced by the following steps:

[0183] The server sends the running conditions of all themes to the mobile phone, and the mobile phone selects themes whose running conditions match the device information of the smart watch, and generates a theme list for the smart watch based on the screening results.

[0184] The implementation of the mobile phone screening themes whose running conditions match the device information of the smart watch can refer to the implementation of the server screening themes whose running conditions match the device information of the smart watch in step 502, which will not be repeated here.

[0185] This embodiment can reduce the data processing pressure of the server.

[0186] Different from the theme selection interface displayed on the mobile phone in Figure 4 which provides users with downloads of fixed themes such as Theme 1 to Theme 6, in another embodiment provided in the present application, the theme selection interface displayed on the mobile phone can provide users with downloads of custom themes.

[0187] 7A and 7B are another interface implementation diagram of the motion effect configuration method provided in an embodiment of the present application, which is used to illustrate a possible interface implementation in which a user downloads a theme package of a custom theme for a smart watch and updates it to the smart watch.

[0188] In conjunction with the interface implementation shown in Figures 7A and 7B, the embodiment of the present application provides a motion effect configuration method shown in Figure 8. Figure 9 is an exemplary description of the motion effect configuration method shown in Figure 8 based on the software structure shown in Figures 2B and 2C.

[0189] Step 801: The mobile phone detects a theme package download request for a custom theme in the theme download interface and sends a first configuration information request message to the server; the server responds to the first configuration information request message, determines the first motion effect configuration related information of the custom theme corresponding to the smart watch, and sends the first motion effect configuration related information to the mobile phone.

[0190] The first configuration information request message is used to request the server for the first animation configuration information related to the custom theme of the smart watch

[0191] 7A and 7B , the mobile phone may display a theme selection interface, such as interface 33-a. Interface 33-a includes a control 332 corresponding to a custom theme, which allows the user to trigger the download of a theme package for the custom theme. If the user selects control 332 corresponding to the custom theme, the mobile phone detects the user's selection of the custom theme control, thereby detecting a theme package download request for the custom theme.

[0192] Optionally, if the custom theme further includes static configuration information, the first configuration information request message may also be used to request first static configuration related information of the custom theme of the smart watch from the server.

[0193] Optionally, the first motion effect configuration related information may include: motion effect type, options for the motion effect type; or, the first motion effect configuration related information may include: motion effects supported by the smartwatch, and constraint information of motion effect parameters. The above constraint information may include multiple parameter value options, or parameter value ranges. For example, in Figure 7A, the parameter value options for the motion effect type may include: soothing, concise, active, etc.; for example, in Figure 7B, the constraint information of the "rigidity" parameter of the sliding spring motion effect may include the parameter value range [0, 6], and the constraint information of the "damping" parameter may include the parameter value range [0, 7].

[0194] Optionally, the first motion effect configuration-related information may be matched with the device information of the smartwatch. Specifically, the higher the hardware configuration of the smartwatch and the higher the software operating capability, the more parameter value options generally provided by the constraint information in the first motion effect configuration-related information and the larger the parameter value range generally. The lower the hardware configuration of the smartwatch and the lower the software operating capability, the fewer parameter value options provided by the constraint information in the first motion effect configuration-related information and the smaller the parameter value range generally.

[0195] For example, suppose that the CPU of smartwatch A has 2 cores and a main frequency of 1.4 GHz, and the CPU of smartwatch B has 4 cores and a main frequency of 1.8 GHz. The hardware configuration of smartwatch B is higher than that of smartwatch A. Then:

[0196] For example, the optional motion effect types in the first motion effect configuration related information of smartwatch a may include: soothing and simple types, which have relatively low hardware configuration requirements. Accordingly, the optional motion effect types provided to the user in the motion effect type setting interface of smartwatch a may include soothing and simple types. For example, the optional motion effect types in the first motion effect configuration related information of smartwatch b may include: soothing and simple types, which have relatively low hardware configuration requirements, and active types, which have relatively high hardware configuration requirements. Accordingly, the optional motion effect types provided to the user in the motion effect type setting interface of smartwatch b may include: soothing, simple, and active types.

[0197] Alternatively, if the first motion effect configuration related information includes: the parameter value range of the "rigidity" parameter of the sliding spring motion effect, then for the above-mentioned smart watch a and smart watch b, the hardware configuration of smart watch a is relatively low, and the parameter value range of its corresponding "rigidity" parameter can be, for example, [0,5], and the hardware configuration of smart watch b is relatively higher, and the parameter value range of the "rigidity" parameter corresponding to smart watch b can be, for example, [0,10].

[0198] In one embodiment, the server can store the first motion effect configuration related information of the custom theme of each electronic device separately according to the electronic device, and the above-mentioned first configuration information request message can include: the device identification of the smart watch. In this step, the server can obtain the first motion effect configuration related information of the custom theme of the smart watch according to the device identification of the smart watch.

[0199] In another embodiment, the server may store the first motion effect configuration information corresponding to each category of the custom theme according to the category of the electronic device. The first configuration information request message may include the category of the smartwatch. In this step, the server may obtain the first motion effect configuration information of the custom theme of the smartwatch based on the category of the smartwatch. This embodiment can save server storage space.

[0200] The categories of the above-mentioned electronic devices can be divided according to the device information such as the device type, device model, and / or hardware configuration of the electronic device. The specific classification standards are not limited in the embodiments of this application. For example, if the hardware parameters of the smart watches of the same model provided by the smart watch manufacturer are the same, then the server can set the first motion effect configuration related information of the custom theme according to the model of the smart watch, without having to set the first motion effect configuration related information of the custom theme for each smart watch of the same model, thereby saving the storage space of the server. Alternatively, if the number of CPU cores of the smart watches of the same model provided by the smart watch manufacturer is different, then the server can set the first motion effect configuration related information of the custom theme according to the model and number of CPU cores of the smart watch, which can also save the storage space of the server.

[0201] In another embodiment, the server may dynamically determine the first motion effect configuration related information corresponding to the custom theme of the smart watch based on the device information of the smart watch, and the above-mentioned first configuration information request message may include: the device information of the smart watch.

[0202] Optionally, if the server stores the device information of the smart watch or caches the device information of the smart watch sent by the mobile phone, the first configuration information request message may not include the device information of the smart watch, but instead include the identifier of the smart watch, which is used by the server to obtain the device information of the smart watch from the server locally based on the identifier of the smart watch.

[0203] In one possible implementation, if the first motion effect configuration related information includes the motion effect type and optional items of the motion effect type, the server can preset the operating conditions of each optional item of the motion effect type, and the above operating conditions can be associated with the device information of the electronic device. Therefore, in this step, for each optional item of the motion effect type, the server can determine whether the device information of the smart watch meets the operating conditions of the optional item. If so, the optional item is an optional item that matches the smart watch, and the first motion effect configuration related information of the smart watch includes the optional item. Otherwise, the optional item is not included.

[0204] Continuing with the example in this step, assuming that the operating conditions of the active type include: the minimum number of CPU cores is 4, and the minimum main frequency is 1.6GHz, then the above-mentioned smart watch b meets the operating conditions of the active type, and the optional options of the animation type in the first animation configuration related information of smart watch b include the active type.

[0205] In another possible implementation, if the first animation configuration related information includes the animation and the constraint information of the animation parameters, the server can preset the operating conditions of each animation, and the operating conditions of the animation can be associated with the device information of the electronic device, so that in this step, for each animation, the server can determine whether the device information of the smart watch meets the operating conditions of the animation. If it does, the animation is an animation that matches the smart watch, and the first animation configuration related information of the smart watch can include the animation. Otherwise, the animation is not included. The server can also preset the operating conditions of the optional items or parameter value range of each animation parameter of each animation, and the operating conditions can also be associated with the device information of the electronic device, so that in this step, if the server determines that the first animation configuration related information of the smart watch includes an animation, the device information of the smart watch can be matched with the operating conditions of the optional items of the animation parameters of the animation, or with the operating conditions of the parameter value range of the animation parameters of the animation, to further determine the constraint information of each animation parameter of the animation.

[0206] Continuing with the example in this step, assuming that the operating conditions of the sliding spring effect include: the minimum number of CPU cores is 2, and the minimum main frequency is 1.6GHz, then the above-mentioned smart watch b meets the operating conditions of the sliding spring effect, and the first effect configuration related information of smart watch b includes the sliding spring effect.

[0207] Assuming that the operating conditions of the parameter value range [0,3] of the "rigidity" parameter of the sliding spring dynamic effect include: the minimum number of CPU cores is 4, and the minimum main frequency is 1.6GHz, and the operating conditions of the parameter value range [0,6] include: the minimum number of CPU cores is 4, and the minimum main frequency is 1.8GHz, then the above-mentioned smart watch b meets the operating conditions of the parameter value range [0,3] and the parameter value range [0,6] at the same time. In the first dynamic effect configuration related information of smart watch b, the parameter value range of the "rigidity" parameter of the sliding spring dynamic effect can be determined as [0,6]. That is, when the operating conditions of multiple parameter value ranges are met, a relatively larger parameter value range is taken.

[0208] In this embodiment, the server determines the first motion effect configuration related information of the custom theme corresponding to the smart watch based on the device information of the smart watch. If the above-mentioned motion effect type or motion effect stored in the server changes or increases or decreases, the first motion effect configuration related information of the custom theme corresponding to the smart watch determined by the server will also be adaptively changed, thereby making the first motion effect configuration related information of the custom theme determined by the server more flexible and compatible.

[0209] Optionally, if the theme package of the custom theme includes static configuration information, the server can also determine the first static configuration-related information of the custom theme corresponding to the smart watch for the smart watch in this step. The implementation of the first static configuration-related information and the method for the server to determine the first static configuration-related information can refer to the description of the first motion effect configuration-related information in the embodiment of the present application, which will not be repeated here.

[0210] In this step, the first animation configuration related information is matched with the device information of the smart watch. For example, if the device information (such as model, hardware configuration, etc.) of the two smart watches is different, the parameter value ranges supported by the two smart watches for the same animation parameter of the same animation may be different. Therefore, in the subsequent steps, when the mobile phone displays the setting-related interface of the smart watch according to the first animation configuration related information, it can ensure that the user can independently set the animation parameters within the range supported by the smart watch, and then the smart watch can execute the animation according to the parameters set by the user, preventing the problem of poor animation execution effect or inability to execute due to hardware limitations of the smart watch. For example, the parameter value range of the "rigidity" parameter supported by smart watch 1 is [0, 6], so the user can set the parameter value of the "rigidity" parameter between 0 and 6, and cannot set the "rigidity" parameter of smart watch 1 to a parameter value that exceeds the execution capability of smart watch 1, such as 10. The hardware configuration conditions of smart watch 2 are higher than those of smart watch 1, and the parameter value range of the "rigidity" parameter it can support can be [0, 10], for example. The user can set the parameter value of the "rigidity" parameter between 0 and 10, and cannot set the "rigidity" parameter of smart watch 2 to a parameter value that exceeds the execution capability of smart watch 2, such as 15.

[0211] Referring to steps 901 to 904 in Figure 9, in this step, the first application of the mobile phone can detect a download request for the custom theme, and send a first configuration information request message of the custom theme to the server. The server obtains the first motion effect configuration related information of the custom theme based on the device information of the smart watch, and sends the first motion effect configuration related information of the custom theme to the first application of the mobile phone.

[0212] Step 802: The mobile phone displays the setting interface of the custom theme of the smart watch according to the first motion effect configuration related information of the custom theme.

[0213] The custom theme setting interface provided in the embodiment of the present application is used to support users to independently set the dynamic effect configuration information in the custom theme. The implementation of the custom theme setting interface can refer to interfaces 34 to 36 in Figure 7A and interfaces 34-b, 35-b and 36-b in Figure 7B.

[0214] 7A , when the mobile phone detects a user's request to download a theme package for a custom theme, it can display the custom theme setting main interface of the smart watch, such as shown in interface 34. The custom theme setting main interface can include an animation type, and the corresponding control is control 341, which is used by the user to trigger the setting of the animation type.

[0215] The user selects control 341 corresponding to the animation type. The phone detects the user's selection of the animation type, i.e., the user's request to set the animation type, and displays the animation type setting interface, such as shown in interface 35. The animation type setting interface may include optional animation types and corresponding controls. For example, in interface 35, where the animation type options include "soothing," "concise," and "active," control 351 corresponds to the "soothing" option, allowing the user to trigger the setting of the animation type to "soothing." The user selects control 351 corresponding to the "soothing" option. The phone detects the user's selection of the "soothing" option, i.e., the request to set the animation type to "soothing," records the animation type parameter value as "soothing," and displays a "√" checkmark on control 351 as a selection mark. The user can then return to the main interface for customizing the theme, which is shown in interface 36, with the animation type recorded as "soothing."

[0216] Through the above interface, users can complete the independent settings of the motion effects in the custom theme.

[0217] Referring to FIG7B , when the mobile phone detects a user's request to download a theme package for a custom theme, it may display the smartwatch's main interface for custom theme settings, such as interface 34-a. This interface may include a list of supported animations, such as a sliding spring effect, a click gravity effect, and a click zoom effect. Each animation is assigned a corresponding control for the user to trigger the setting of its parameters. For example, the control corresponding to the sliding spring effect is control 342, which is used by the user to trigger the setting of its parameters.

[0218] Optionally, a corresponding selection control can be provided for each animation effect in the main interface for setting the custom theme, allowing the user to select the animation effects included in the custom theme. For example, in interface 34-a, the selection control 343 corresponding to the sliding spring animation effect indicates that if the user selects this animation effect, the sliding spring animation effect can be included in the custom theme; otherwise, the sliding spring animation effect is not included.

[0219] The user selects the control 342 corresponding to the sliding spring effect. Accordingly, the mobile phone detects the user's selection operation for the sliding spring effect, that is, detects the user's setting request for the sliding spring effect, and displays the sliding spring effect setting interface, such as shown in interface 35-a. The sliding spring effect setting interface may include: "rigidity" parameter and its parameter setting control 352, "damping" parameter and its parameter setting control 353. The parameter value range of the above-mentioned effect parameters matches the device information of the smart watch. The user operates the parameter setting controls 352 and 353 respectively to complete the setting of the "rigidity" parameter and the "damping" parameter. Accordingly, the mobile phone can determine the parameter values ​​set by the user for the "rigidity" parameter and the "damping" parameter according to the user operation. Afterwards, the user can return to the main interface of the custom theme setting, such as shown in interface 36-a.

[0220] Through the above interface, users can independently set the animation parameters in the custom theme.

[0221] Optionally, the custom theme can also include static configuration information, and the custom theme setting main interface can also display static attributes that match the smart watch or static attribute types similar to the above-mentioned motion effect types. For example, interface 34 and interface 34-a use the theme color and icon style of static attributes for example. The mobile phone can also provide a setting interface similar to the above-mentioned interface 35 and interface 35-a to enable users to independently set the static attributes in the custom theme, which will not be repeated here.

[0222] Referring to step 905 in FIG. 9 , this step may be specifically executed by the first application of the mobile phone.

[0223] Step 803: The mobile phone detects the setting confirmation operation for the custom theme, and sends the setting information of the custom theme to the server. The server generates a theme package of the custom theme according to the setting information of the custom theme and sends the theme package to the mobile phone.

[0224] 7A and 7B , the user can click the confirmation control 361 or the confirmation control 362 in the main interface for setting the custom theme to confirm the setting. Accordingly, the mobile phone detects the setting confirmation operation for the custom theme.

[0225] Optionally, the mobile phone can determine the setting information of the custom theme based on the user operation detected in the setting-related interface of the custom theme. The setting information of the custom theme may include the setting information of the dynamic effect, and may also include the setting information of the static attribute. For example, in Figure 7A, the setting information of the custom theme may include: (dynamic effect type - soothing), (theme color - red), (icon - style 2), etc. For example, in Figure 7B, the setting information of the custom theme may include: (theme color - red), (icon - style 2), sliding spring dynamic effect - (rigidity, 3) - (damping, 5), etc.

[0226] Optionally, when the server generates a theme package of a custom theme based on the setting information of the custom theme, it can perform format conversion, encryption, packaging, etc. on the setting information of the custom theme to obtain the theme package of the custom theme. The specific implementation of the embodiment of the present application is not limited.

[0227] Referring to steps 906 to 909 in FIG9 , this step can specifically be performed by the first application of the mobile phone detecting the setting confirmation operation of the custom theme, sending the setting information of the custom theme to the server, and the server generating a theme package of the custom theme based on the setting information of the custom theme, and sending the theme package to the first application of the mobile phone.

[0228] In other embodiments provided in the present application, in this step, the mobile phone may also generate a theme package of the custom theme according to the setting information of the custom theme.

[0229] Step 804: The mobile phone sends the theme package of the customized theme to the smart watch.

[0230] Referring to step 910 in FIG. 9 , this step may be specifically executed by the first application of the mobile phone.

[0231] Step 805: The smartwatch receives the theme package of the custom theme, and parses the theme package of the custom theme to obtain the motion effect configuration information.

[0232] Optionally, if the theme package of the custom theme includes static configuration information, the smart watch can also parse the static configuration information from the theme package to update the static configuration information in the smart phone.

[0233] Referring to steps 910 to 911 in FIG. 9 , in this step, the graphics engine service of the smartwatch may receive a theme package of the custom theme and parse the theme package to obtain the motion effect configuration information.

[0234] Step 806: The smartwatch updates the motion effect configuration information in the third application according to the motion effect configuration information in the theme package.

[0235] The implementation of this step can refer to step 508 and will not be described in detail here.

[0236] In the embodiment of the present application shown in Figure 8, the update of the motion effect management module in the smart watch and the motion effect configuration information in the third application is realized. Since the motion effect configuration information included in the theme package of the custom theme is determined based on the user's autonomous settings, the update of the motion effect configuration information in the smart watch is completed based on the user's autonomous settings, thereby realizing the user's autonomous setting of the motion effects in the smart watch and improving the user experience.

[0237] Figures 10A and 10B are another interface implementation diagram of the motion effect configuration method provided in an embodiment of the present application. In this embodiment, the user can independently set the motion effect in the smart watch in the motion effect setting related interface provided by the first application of the mobile phone. Specifically, in the embodiment shown in Figure 10A, the user can set the motion effect type of the smart watch in the interface provided by the mobile phone for the user. In the embodiment shown in Figure 10B, the user can specifically set the motion effect parameters that the smart watch can support in the interface provided by the mobile phone for the user.

[0238] Figure 11 is a flow chart of a method for configuring an animation effect provided by an embodiment of the present application based on the interface shown in Figures 10A and 10B. Figure 12 is an exemplary description of the method for configuring an animation effect shown in Figure 11 based on the software structure shown in Figures 2B and 2C.

[0239] As shown in FIG11 , the method may include:

[0240] Step 1101: The mobile phone detects a motion effect setting request for the smart watch.

[0241] Referring to Figures 10A and 10B, the mobile phone displays a device list interface such as that shown in interface 31, detects a selection operation for a smart watch in the device list interface, and displays a second function selection interface such as that shown in interface 37. The second function selection interface may include a motion effect setting control such as that shown in control 371; the mobile phone detects a selection operation for the motion effect setting control, that is, detects a motion effect setting request for the smart watch.

[0242] Referring to step 1201 in FIG. 12 , this step may be specifically executed by the first application of the mobile phone.

[0243] Step 1102: The mobile phone sends a second motion effect information request message to the server. The server responds to the motion effect information request message, obtains the second motion effect configuration related information of the smart watch, and sends the second motion effect configuration related information to the mobile phone.

[0244] The second motion effect information request message is used to request the second motion effect configuration related information of the smart watch.

[0245] The implementation of the server obtaining the second motion effect configuration related information of the smart watch can refer to step 801. The main difference is that the first motion effect configuration related information of the custom theme in step 801 is replaced by the second motion effect configuration related information in this step.

[0246] This implementation method can increase the animation effects that smart watches can support. For example, smart watches originally support sliding spring animation effects, but through this implementation method, mobile phones can obtain other animation effects that match smart watches in addition to sliding spring animation effects, such as click-to-zoom animation effects. If the user selects and sets this animation effect, the click-to-zoom animation effect can be added to the smart watch through subsequent steps, so that the smart watch can support sliding spring animation effects and click-to-zoom animation effects.

[0247] In other embodiments provided in the present application, if the smart watch stores its own animation configuration related information, then in this step the mobile phone can send a third animation information request message to the smart watch, and the third animation information request message is used to request the second animation configuration related information of the smart watch; the smart watch responds to the third animation information request message and sends its own second animation configuration related information to the mobile phone.

[0248] In this implementation, the mobile phone does not need to communicate with the server, and only needs to communicate with the smart watch to support the user to complete the independent setting of the motion effects in the smart watch.

[0249] Step 1103: The mobile phone displays the motion effect setting related interface of the smart watch according to the second motion effect configuration related information, and determines the motion effect setting information according to the user operation detected in the motion effect setting related interface.

[0250] In this step, the mobile phone displays the animation setting related interface to support users to complete the independent setting of the animation in the smart watch.

[0251] As shown in Figure 10A, assuming that the information related to the second animation configuration includes the animation type and animation type options, the animation setting related interface may include, for example, the animation setting main interface shown in interface 38. The implementation of interface 38 can refer to interface 35 and will not be repeated here.

[0252] As shown in FIG10B , assuming that the second dynamic effect configuration related information includes the dynamic effects supported by the smartwatch and the constraint information of the dynamic effect parameters, the dynamic effect setting related interface may include, for example, the dynamic effect setting main interface shown in interface 38-a and the sliding spring dynamic effect setting interface shown in interface 39-a.

[0253] The mobile phone displays the main interface of the animation setting, such as interface 38-a, according to the animation effects supported by the smart watch. The main interface of the animation setting may include the animation effects supported by the smart watch. The specific implementation of interface 38-a can refer to interface 34-a and will not be repeated here.

[0254] The mobile phone detects a selection operation for a first motion effect (e.g., a sliding spring motion effect) and displays a first motion effect setting interface, such as shown in FIG39 - a , based on the constraint information of the motion effect parameters of the first motion effect. The first motion effect setting interface may include: motion effect parameters of the first motion effect and parameter setting controls (e.g., controls 391 and 392 ). The parameter setting controls are set based on the constraint information of the motion effect parameters.

[0255] The mobile phone detects a user's operation on a parameter setting control of a first motion effect parameter, and determines the motion effect setting information according to the operation, including: the first motion effect parameter is a parameter value indicated by the operation.

[0256] Referring to steps 1205 to 1206 in FIG. 12 , these steps may be specifically executed by the first application of the mobile phone.

[0257] Step 1104: The mobile phone detects the setting confirmation operation for the motion effect of the smart watch and sends the motion effect setting information to the smart watch.

[0258] 10A , the user can click the confirmation control 382 in the main interface of the motion effect setting to confirm the setting. Accordingly, the mobile phone detects the user's selection operation on the confirmation control 382 , that is, detects the confirmation operation on the motion effect setting.

[0259] 10B , after the user completes the parameter setting of the sliding spring effect, he or she may select the confirmation control 393 in the interface 39 . Accordingly, the mobile phone detects the setting confirmation operation for the sliding spring effect of the smart watch.

[0260] Referring to step 1207 in FIG. 12 , this step may be specifically executed by the first application of the mobile phone.

[0261] Step 1105: The smartwatch receives the motion effect setting information, and updates the motion effect configuration information in the third application according to the received motion effect setting information.

[0262] Afterwards, the third application can execute the animation according to the updated animation configuration information, that is, according to the information set by the user in the mobile phone, thereby realizing the user's independent setting of the animation in the mobile phone.

[0263] The implementation of this step can refer to step 508. The main difference is that in step 508, the motion effect configuration information parsed from the theme package is used to update the motion effect configuration information in the third application and the operating system, while the smart watch in this step uses the received motion effect setting information to update the motion effect configuration information in the third application and the operating system.

[0264] In the embodiment of the present application shown in Figure 11, the mobile phone first obtains the second motion effect configuration related information of the smart watch, and then displays the motion effect setting related interface of the smart watch, such as the motion effect setting main interface, the setting interface of a certain motion effect, etc. In another embodiment provided by the present application, the mobile phone can obtain the corresponding second motion effect configuration related information from the server based on the motion effect setting related interface to be displayed.

[0265] In one embodiment, if the information related to the second animation configuration includes the animations supported by the smart watch, the animation parameters of the animations, and the constraint information of each animation parameter, after the mobile phone detects the animation setting request for the smart watch, it can only request the animations supported by the smart watch from the server. Accordingly, the server sends the animations supported by the smart watch to the mobile phone, and the mobile phone displays the animation setting main interface of the smart watch (for example, interface 38-a) according to the animations supported by the smart watch; the mobile phone detects the setting request for the first animation (for example, the sliding spring animation) in the animation setting main interface, requests the animation parameters of the first animation and the constraint information of each animation parameter from the server, and displays the setting interface of the first animation (for example, interface 39-a) accordingly. This embodiment can prevent the transmission of redundant data and save transmission resources between the mobile phone and the server.

[0266] In another embodiment provided by the present application, the user can independently set the motion effects in the smart watch in the motion effect setting related interface provided by the smart watch.

[0267] Figure 13 is another flow chart of the method for configuring the dynamic effect provided by the embodiment of the present application based on the above interface implementation. Figure 14 is an exemplary description of the method for configuring the dynamic effect shown in Figure 13 based on the software structure shown in Figures 2B and 2C.

[0268] As shown in FIG13 , the method may include:

[0269] Step 1301: The smartwatch displays a third function selection interface, which may include a motion effect setting control.

[0270] The third function selection interface displayed by the smart watch can refer to interface 37 in Figures 10A and 10B, which will not be described here.

[0271] 14 , this step may be specifically performed by a second application in the smartwatch. The second application may be an application in the smartwatch that supports the user to independently set the motion effects of the smartwatch, such as a settings application.

[0272] Step 1302: The smartwatch detects a selection operation on the motion effect setting control, and displays a motion effect setting related interface.

[0273] Optionally, the smart watch may specifically display an interface related to motion effect settings according to the third motion effect configuration related information pre-stored in the smart watch.

[0274] Optionally, the third motion effect configuration related information may include: motion effect type, and optional items of the motion effect type; or, the third motion effect configuration related information may include: motion effects supported by the smartwatch, and constraint information of motion effect parameters.

[0275] The implementation of the dynamic effect setting related interface of this step can be referred to Figures 10A and 10B, which will not be repeated here.

[0276] Referring to steps 1402 to 1407 in Figure 14, in this step, the second application of the smart watch can specifically detect the selection operation for the motion effect setting control, that is, detect the motion effect setting request, request the third motion effect setting related information from the graphics engine service, the graphics engine service requests the third motion effect setting related information from the motion effect management module, the motion effect management module sends the third motion effect setting related information to the graphics engine service, the graphics engine service sends the third motion effect setting related information to the second application, and the second application displays the motion effect setting related interface according to the third motion effect setting related information.

[0277] Step 1303: The smartwatch determines the motion effect setting information according to the user operation detected in the motion effect setting related interface.

[0278] The animation setting interface in this step is used to support users to complete the independent setting of animation effects in smart watches.

[0279] The implementation of this step can refer to step 1103, the main difference is that the execution subject is changed from a mobile phone to a smart watch.

[0280] Referring to step 1408 in FIG. 14 , this step may be specifically executed by the second application of the smart watch.

[0281] Step 1304: The smartwatch detects the setting confirmation operation of the motion effect and updates the motion effect configuration information in the third application according to the motion effect setting information.

[0282] Afterwards, the third application can execute the animation according to the updated animation configuration information, that is, according to the animation setting information set by the user in the smart watch, thereby realizing the user's independent setting of the animation in the smart watch.

[0283] The implementation of this step can refer to step 508. The main difference is that in step 508, the motion effect configuration information parsed from the theme package is used to update the motion effect configuration information in the third application and the operating system, while the smart watch in this step uses the motion effect setting information determined by the smart watch to update the motion effect configuration information in the third application and the operating system.

[0284] An embodiment of the present application also provides a first electronic device, including a processor and a memory, wherein the processor is used to execute the method provided in the embodiment of the present application.

[0285] An embodiment of the present application also provides a second electronic device, including a processor and a memory, wherein the processor is used to execute the method provided in the embodiment of the present application.

[0286] An embodiment of the present application also provides a server, including a processor and a memory, wherein the processor is used to execute the method provided in the embodiment of the present application.

[0287] An embodiment of the present application also provides a motion effect configuration system, including the first electronic device and the second electronic device provided in the embodiment of the present application, or including the first electronic device, the second electronic device and the server provided in the embodiment of the present application.

[0288] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is run on a computer, the computer executes the method provided by the embodiment of the present application.

[0289] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program product is run on a computer, it enables the computer to execute the method provided by the embodiment of the present application.

[0290] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single or multiple.

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

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

[0293] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk, and other media that can store program code.

[0294] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.

Claims

1. A method for configuring a dynamic effect, characterized in that: Applied to a first electronic device, the method includes: A theme download request for a second electronic device is detected, and a first interface is displayed; the first interface includes: a theme list, and the running conditions of the themes in the theme list match the device information of the second electronic device; Detecting a selection operation on a first theme in the theme list, obtaining a theme package of the first theme; the theme package of the first theme includes first information, and the first information is used to indicate a motion effect parameter value of a motion effect; The theme package of the first theme is sent to the second electronic device, so that the second electronic device updates the animation parameter value of the animation in the second electronic device according to the first information.

2. The method according to claim 1, characterized in that The first interface further includes: a custom theme; the method further includes: A selection operation for the custom theme is detected, and second information of the custom theme is determined according to the user operation detected in the setting-related interface of the custom theme; the second information is used to indicate the animation parameter value of the animation; the setting-related interface is used to support the user to set the animation parameter value of the animation; Determine a theme package of the custom theme according to the second information of the custom theme; The theme package of the custom theme is sent to the second electronic device, so that the second electronic device updates the motion effect parameter value of the motion effect in the second electronic device according to the second information.

3. The method according to claim 2, characterized in that The determining the second information of the custom theme according to the user operation detected in the setting related interface of the custom theme includes: Displaying a second interface, wherein the second interface includes: an animation type; A selection operation for the motion effect type is detected, and a third interface is displayed, wherein the third interface includes: optional items of the motion effect type; the optional items are used to indicate the motion effect parameter value of the motion effect, and for the same motion effect, the motion effect parameter values ​​indicated by different optional items are at least partially different; A selection operation for a first optional item of the motion effect type is detected, and second information of determining the custom theme includes: the motion effect type is the first optional item.

4. The method according to claim 2, characterized in that: The determining the second information of the custom theme according to the user operation detected in the setting related interface of the custom theme includes: Displaying a fourth interface, the fourth interface comprising: a first motion effect list; A selection operation on the first motion effect in the first motion effect list is detected, and a fifth interface is displayed, wherein the fifth interface includes: optional items of the first motion effect parameter of the first motion effect; A selection operation of a second optional item for the first motion effect parameter is detected, and second information of determining the custom theme includes: the first motion effect parameter of the first motion effect is the second optional item.

5. The method according to claim 4, characterized in that The running conditions of the animations in the first animation list match the device information of the second electronic device; and / or, The operating condition of the optional item matches the device information of the second electronic device.

6. The method according to claim 1, characterized in that The method further comprises: Detecting a motion effect setting request for the second electronic device, and determining motion effect setting information according to a user operation detected in a motion effect setting related interface; the motion effect setting information is used to indicate a motion effect parameter value of the motion effect; and the motion effect setting related interface is used to support the user to set the motion effect parameter value of the motion effect; The motion effect setting information is sent to the second electronic device, so that the second electronic device updates the motion effect parameter value of the motion effect in the second electronic device according to the motion effect setting information.

7. The method according to claim 6, characterized in that The determining of the motion effect setting information according to the user operation detected in the motion effect setting related interface includes: Displaying a sixth interface, the sixth interface including: an animation type; A selection operation for the motion effect type is detected, and a seventh interface is displayed, wherein the seventh interface includes: optional items for the motion effect type; the optional items are used to indicate the motion effect parameter values ​​of the motion effect, and the motion effect parameter values ​​indicated by different optional items are at least partially different; A selection operation for a third optional item of the motion effect type is detected, and determining that the motion effect setting information includes: the motion effect type is the third optional item.

8. The method according to claim 3 or 7, characterized in that: The operating conditions of the optional items of the animation type match the device information of the second electronic device.

9. The method according to claim 6, characterized in that The method further comprises: Displaying an eighth interface, the eighth interface including: a second motion effect list; A selection operation on the second motion effect in the second motion effect list is detected, and a ninth interface is displayed, wherein the ninth interface includes: optional items of a second motion effect parameter of the second motion effect; A selection operation of a fourth optional item for the second motion effect parameter is detected, and determining the motion effect setting information includes: the second motion effect parameter of the second motion effect is the fourth optional item.

10. The method according to claim 9, characterized in that The running conditions of the animations in the second animation list match the device information of the second electronic device; and / or, The operating condition of the optional item matches the device information of the second electronic device.

11. The method according to any one of claims 1 to 10, characterized in that: The displaying of the first interface includes: Sending a first request message to a server, where the first request message is used to request a theme corresponding to the second electronic device; receiving a topic list sent by the server in response to the first request message, the topic list being generated by the server matching device information of the second electronic device with the operating conditions of each topic in sequence and based on successfully matched topics; The first interface is displayed according to the topic list.

12. The method according to claim 11, characterized in that The first request message includes: device information of the second electronic device, where the device information of the second electronic device is obtained by the first electronic device from the second electronic device.

13. The method according to any one of claims 1 to 10, characterized in that: The device information of the second electronic device includes: device type, device model, number of CPU cores, and / or CPU main frequency.

14. A method for configuring a dynamic effect, characterized in that: Applied to a second electronic device, the method includes: Receiving a theme package of a first theme sent by a first electronic device, the first electronic device being used to execute the motion effect configuration method according to any one of claims 1 to 13; the theme package of the first theme comprising first information, the first information being used to indicate a motion effect parameter value of the motion effect; Update the animation parameter value of the animation according to the first information.

15. The method according to claim 14, characterized in that The updating of the animation parameter value of the animation according to the first information includes: An application in the second electronic device that allows customized motion effects is obtained, and the first information is sent to the application, so that the application updates a motion effect parameter value of the motion effect in the application according to the first information.

16. The method according to claim 14, characterized in that Also includes: A motion effect setting request is detected, and the motion effect setting information is determined according to the user operation detected in the motion effect setting related interface; The motion effect setting information is used to indicate the motion effect parameter value of the motion effect; The animation setting related interface is used to support the user to set the animation parameters of the animation; Update the animation parameter value of the animation according to the animation setting information.

17. The method according to claim 16, characterized in that The determining of the motion effect setting information according to the user operation detected in the motion effect setting related interface includes: Displaying a tenth interface, the tenth interface including: an animation type; Detecting a selection operation for the motion effect type, displaying an eleventh interface, the eleventh interface including: optional items for the motion effect type; the optional items are used to indicate motion effect parameter values ​​of the motion effect, and different optional items indicate motion effect parameter values ​​that are at least partially different; A selection operation for a first optional item of the motion effect type is detected, and determining the motion effect setting information includes: the motion effect type is the first optional item.

18. The method according to claim 16, characterized in that The method further comprises: Displaying a twelfth interface, the twelfth interface comprising: a third motion effect list; A selection operation for a third motion effect in the third motion effect list is detected, and a thirteenth interface is displayed, wherein the thirteenth interface includes: optional items of a third motion effect parameter of the third motion effect; A selection operation of a fifth optional item for the third motion effect parameter is detected, and determining that the motion effect setting information includes: the third motion effect parameter is the fifth optional item.

19. A first electronic device, characterized in that: include: processor; memory; wherein one or more computer programs are stored in the memory, and the one or more computer programs include instructions, and when the instructions are executed by the processor, the first electronic device executes any one of claims 1 to 13 method.

20. A second electronic device, characterized in that: include: processor; Memory; wherein one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the processor, enable the second electronic device to execute the method described in any one of claims 14 to 18.

21. A dynamic effect configuration system, characterized in that: The invention comprises the first electronic device as claimed in claim 19 and the second electronic device as claimed in claim 20.

22. The system according to claim 21, characterized in that Also includes: The server is used to match the device information of the second electronic device with the operating conditions of each theme in sequence, generate the theme list according to the successfully matched themes, and send the theme list to the first electronic device.

23. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Dynamic effect configuration method and electronic equipment

    CN119225589A

  • Haptic theme framework

    CN107450728A

  • Vehicle display interface theme updating method and system

    CN113050966A

  • Theme rendering method and device, electronic equipment and computer readable storage medium

    CN113934477A

  • Device theme setting method and device, storage medium and electronic device

    CN115314332A