Theme setting method and related device

The user-selected images or videos generate personalized theme packages on the cloud server, which solves the problem of lack of personalization of existing electronic device theme wallpapers, realizes the interaction between live wallpapers and voice assistants, and improves the user experience.

CN120335671APending Publication Date: 2025-07-18HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410064499.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-16
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

Existing electronic device theme wallpapers cannot meet users' personalized needs, and the designer's pre-designed wallpaper styles are fixed, which lacks flexibility and interactivity.

Method used

Through user-selected images or videos, use AI models to generate personalized theme packages on cloud servers, including screen-off, lock screen and desktop wallpaper, and display them on electronic devices, supporting dynamic wallpaper and voice assistant interactions.

Benefits of technology

It realizes personalization and interactiveness of the theme display of electronic devices, improves the user experience, and enhances the interaction and privacy between the device and users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335671A_ABST
    Figure CN120335671A_ABST
Patent Text Reader

Abstract

According to the theme setting method and the related device provided by the embodiment of the invention, the theme of a personalized style can be generated through the AI model according to the image or the video selected by the user, and is applied to the electronic equipment used by the user, so that the personal privateness of the theme display effect on the electronic equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of terminals, and particularly to a theme setting method and related devices. Background Art

[0002] With the popularization of terminals and the continuous development of communication technologies, people have put forward higher requirements for the functions of terminals. The theme wallpapers of electronic devices have also become the main factor for users' personalized choices. Among them, the theme wallpapers can be applied to the lock screen interface, unlock interface, and screen-off interface, etc.

[0003] Currently, electronic devices can download some theme wallpapers from the network and apply them to the electronic devices. However, the theme wallpapers downloaded from the network are generally designed in advance by designers, and the styles are relatively fixed, which cannot meet the personalized needs of users. Summary of the Invention

[0004] This application provides a theme setting method and related devices, which realizes generating a personalized style theme according to the image or video selected by the user through an AI model and applying it to the electronic device used by the user, increasing the personal privacy of the theme display effect on the electronic device.

[0005] In a first aspect, this application provides a theme setting method, which is applied to a communication system of an electronic device and a cloud server; the method includes: the electronic device receives a first operation of the user to select to use a first image or a first video to make a theme package; in response to the first operation, the electronic device sends the first image or the first video to the cloud server, the first image includes a first object, and the first video includes the first object; the cloud server generates a target theme package based on the first object in the first image or the first video through an artificial intelligence AI model, the target theme package includes a target screen-off wallpaper, a target lock screen wallpaper, and a target desktop wallpaper, and the target virtual object corresponding to the first object is included in the target screen-off wallpaper, the target lock screen wallpaper, and the target desktop wallpaper; the cloud server sends the target theme package to the electronic device; after the electronic device receives a second operation of the user to apply the target theme package, the electronic device performs at least one of the following: displaying the target screen-off wallpaper in the screen-off state; displaying the target lock screen wallpaper in the lit and locked state; or, displaying the target desktop wallpaper on the desktop in the lit and unlocked state.

[0006] Through a theme setting method provided by this application, it is possible to upload an image or video selected or taken by the user on the electronic device to the cloud server, generate a personalized style theme through the AI model on the cloud server, and apply it to the electronic device used by the user, increasing the personal privacy of the theme display effect on the electronic device.

[0007] In a possible implementation, before the electronic device receives a first operation in which the user selects to use a first image or a first video to create a theme package, the method includes: the electronic device receives an operation to open the settings application; in response to the operation to open the settings application, the electronic device displays a settings application interface, the settings application interface includes one or more setting entries, and the one or more setting entries include a first setting entry; after the electronic device receives an operation by the user on the first setting entry, the electronic device displays a first theme setting interface, the first theme setting interface includes an adding control and a theme sample; after the electronic device receives an operation by the user on the adding control, the electronic device obtains the first image or the first video selected or captured by the user; after the electronic device obtains the first image or the first video selected by the user, the electronic device displays a second theme setting interface, the second theme setting interface includes a start generation control, and the first image or the first video; wherein, the first operation is an operation on the start generation control.

[0008] In this way, when the user sets a theme in the settings application, the user can select an image or a video to upload to the cloud server to generate a target theme package and apply the target theme package to the electronic device.

[0009] In a possible implementation, before the electronic device receives a second operation in which the user applies the target theme package, the method further includes: after the electronic device receives the target theme package, the electronic device displays a third theme setting interface, the third theme setting interface includes a preview effect diagram of the target theme package and a theme usage control, and the second operation is an operation on the theme usage control.

[0010] In a possible implementation, the target lock screen wallpaper includes a first dynamic lock screen wallpaper, and the first dynamic lock screen wallpaper includes an animation in which the target virtual object performs a first action; when the electronic device is in the lock screen state, displaying the target lock screen wallpaper specifically includes: if the electronic device detects a first behavior of the user, the electronic device displays the first dynamic lock screen wallpaper.

[0011] In a possible implementation, the target lock screen wallpaper further includes a second dynamic lock screen wallpaper, and the second dynamic lock screen wallpaper includes an animation in which the target virtual object performs a second action; the method further includes: when the electronic device is in the lock screen state, if it detects a second behavior of the user, it displays the second dynamic lock screen wallpaper, where the first behavior is different from the second behavior, and the first action is different from the second action.

[0012] In this way, multiple dynamic lock screen wallpapers can be generated by the AI model based on the images or videos selected by the user. The virtual characters in different dynamic lock screen wallpapers perform different actions. When the electronic device is in the lock screen state, different dynamic lock screen wallpapers can be matched and displayed according to different behaviors of the user, so that the virtual characters displayed on the lock screen pose different actions. This increases the interactivity between the user and the virtual character when the electronic device displays the virtual character in the lock screen state.

[0013] In a possible implementation manner, the method further includes: when the electronic device is in the lock screen state, if the electronic device detects a third behavior of the user, and if the electronic device fails to determine a dynamic lock screen wallpaper matching the third behavior from the target lock screen wallpaper and the number of times the third behavior is detected during the lock screen is greater than a specified threshold, the electronic device sends the third behavior and the first image or the first video to the cloud server; the cloud server generates a third dynamic lock screen wallpaper corresponding to the third behavior based on the third behavior, where the third dynamic lock screen wallpaper includes an animation of the target virtual object performing a third action, and the first behavior, the second behavior, and the third behavior are different from each other, and the first action, the second action, and the third action are different from each other; the cloud server sends the third dynamic lock screen wallpaper to the electronic device; if the electronic device detects the third behavior of the user again when it is in the lock screen state, the electronic device displays the third dynamic lock screen wallpaper.

[0014] In this way, if a new behavior of the user is detected during the lock screen, new dynamic lock screen wallpapers can also be supplemented and displayed in a timely manner, so that the user can get timely feedback when making a new behavior.

[0015] In a possible implementation manner, the target lock screen wallpaper includes a first dynamic lock screen wallpaper, and the first dynamic lock screen wallpaper includes an animation of the target virtual object performing a fourth action; the electronic device displays the target lock screen wallpaper when it is in the lit screen and lock screen state, specifically including: if the electronic device detects a fourth behavior of the user, the electronic device displays the first dynamic lock screen wallpaper.

[0016] In a possible implementation manner, the target lock screen wallpaper further includes a second dynamic lock screen wallpaper, and the second dynamic lock screen wallpaper includes an animation of the target virtual object performing a fifth action; the method further includes: when the electronic device is in the lit screen and lock screen state, if it detects a fifth behavior of the user, it displays the second dynamic lock screen wallpaper, where the fourth behavior is different from the fifth behavior, and the fourth action is different from the fifth action.

[0017] In this way, multiple dynamic lock screen wallpapers can be generated through an AI model based on the images or videos selected by the user, and the virtual characters in different dynamic lock screen wallpapers perform different actions. When the electronic device is locked and the screen is on, different dynamic lock screen wallpapers can be matched and displayed according to different behaviors of the user, so that the virtual characters displayed when the screen is locked pose different actions. This increases the interactivity between the user and the virtual characters when the virtual characters are displayed on the lock screen interface of the electronic device.

[0018] In a possible implementation, the target desktop wallpaper includes a first dynamic desktop wallpaper, and the first dynamic desktop wallpaper includes an animation in which the target virtual object performs a sixth action; when the electronic device is on the screen and in an unlocked state, it displays the target desktop wallpaper on the desktop, specifically including: when the electronic device is on the screen and in an unlocked state, if it detects a sixth behavior of the user, it displays the first dynamic desktop wallpaper.

[0019] In a possible implementation, the target desktop wallpaper further includes a second dynamic desktop wallpaper, and the second dynamic desktop wallpaper includes an animation in which the target virtual object performs a seventh action; the method further includes: when the electronic device is on the screen and in an unlocked state, if it detects a seventh behavior of the user, it displays the second dynamic desktop wallpaper, where the sixth behavior is different from the seventh behavior, and the sixth action is different from the seventh action.

[0020] In this way, multiple dynamic desktop wallpapers can be generated through an AI model based on the images or videos selected by the user, and the virtual characters in different dynamic desktop wallpapers perform different actions. When the electronic device unlocks and enters the desktop, different dynamic desktop wallpapers can be matched and displayed according to different behaviors of the user, so that the virtual characters displayed on the desktop wallpaper pose different actions. This increases the interactivity between the user and the virtual characters when the virtual characters are displayed on the desktop wallpaper of the electronic device.

[0021] In a possible implementation, the target theme package further includes a virtual object image, where the virtual object image includes the target virtual object; the method further includes: after the electronic device receives a second operation by the user to apply the target theme package, the electronic device receives a third operation by the user to start the voice assistant; in response to the third operation, the electronic device displays a dialogue window of the voice assistant, where the dialogue window includes the virtual object image.

[0022] In this way, when the electronic device calls out the voice assistant, the effect of the user having a conversation with the target virtual object can be simulated, enhancing the voice interaction experience between the user and the electronic device.

[0023] In a possible implementation, when the electronic device sends the first video to the cloud server, the first video includes first audio, and the first audio has the first sound feature of the first object; the method further includes: the cloud server sends a first file to the electronic device, where the first file is obtained by the cloud server according to the first audio; after the electronic device receives the second operation of the user applying the target theme pack, the electronic device receives a third operation of the user starting a voice assistant; in response to the third operation, the electronic device plays a reply voice according to the first file, and the reply voice has the first sound feature.

[0024] In this way, according to the video uploaded by the user, a voice pack with the sound feature of the specified object in the video can be generated while generating the target theme pack, and the voice pack can be used as the dialogue voice of the virtual character in the voice assistant, giving the user a feeling of having a real conversation when interacting with the electronic device by voice, and improving the voice interaction experience between the user and the electronic device.

[0025] In a possible implementation, when the electronic device sends the first video to the cloud server, the first video includes first audio, and the first audio has the first sound feature of the first object; the method further includes: the cloud server sends a second file to the electronic device, where the second file includes prompt sounds for one or more scenarios, the prompt sounds for the one or more scenarios include a first prompt sound for a first scenario, and the prompt sounds for the one or more scenarios have the first sound feature; when the electronic device detects that it is in the first scenario, it plays the first prompt sound.

[0026] In this way, according to the video uploaded by the user, prompt sounds for one or more scenarios with the sound feature of the specified object in the video can be generated while generating the target theme pack and applied to the electronic device. It can enable the user to feel the familiar voice in different scenarios when using the electronic device, improving the prompting effect of the prompt sounds.

[0027] In a possible implementation, the method further includes: in response to the first operation, the electronic device sending the device model of the electronic device to the cloud server; the cloud server generating a target theme package based on the first object in the first image or the first video through an artificial intelligence (AI) model, specifically including: the cloud server generating a virtual image based on the first image or the first video through the AI model, the virtual image including the target virtual object; the cloud server determining the pixel size of the target lock screen wallpaper, the pixel size of the target home screen wallpaper, and the pixel size of the target lock screen wallpaper based on the device model of the electronic device; the cloud server determining the target lock screen wallpaper in the target theme package from the virtual image according to the pixel size of the target lock screen wallpaper; the cloud server determining the target home screen wallpaper in the target theme package from the virtual image according to the pixel size of the target home screen wallpaper; and the cloud server determining the target home screen wallpaper in the target theme package from the virtual image according to the pixel size of the target home screen wallpaper.

[0028] In this way, since the sizes and / or resolutions of the displays on different models of devices are different, the effects of displaying the same image on the displays of different models of devices are also different. If the size and / or resolution of the display is small and the pixel size of the image is too large, the display cannot show the original clarity of the image when displaying the image. If the size and / or resolution of the display is large and the pixel size of the image is too small, the display cannot fully utilize the display capabilities of the display itself when displaying the image. Therefore, determining the size of the wallpaper according to the model of the electronic device can make the wallpaper have an appropriate pixel size, thereby reducing the data volume of the theme package without affecting the display effect of the electronic device.

[0029] In a possible implementation, the pixel size of the target lock screen wallpaper is greater than the pixel size of the target home screen wallpaper, and the pixel size of the target home screen wallpaper is greater than the pixel size of the target lock screen wallpaper.

[0030] Due to the different attentions of users to the lock screen wallpaper displayed on the lock screen interface and the home screen wallpaper displayed on the home screen. For example, there are fewer operable controls or icons on the lock screen interface than those on the home screen. The user's attention to the lock screen wallpaper on the lock screen interface is higher than that to the home screen wallpaper on the home screen. For the user, the clarity of the lock screen wallpaper when displayed is higher, which can enhance the user's visual experience more. Therefore, for the lock screen wallpaper and the home screen wallpaper displayed on the same electronic device, the pixel size of the lock screen wallpaper can be set to be greater than that of the home screen wallpaper.

[0031] In a possible implementation, the target virtual object in the target lock screen wallpaper assumes a first posture, the target virtual object in the target lock screen wallpaper assumes a second posture, and the target virtual object in the target desktop wallpaper assumes a third posture; wherein, the first posture, the second posture, and the third posture are all different.

[0032] In a possible implementation, the AI model includes an image-to-image model and a video-to-image model; when the cloud server receives the first image, the cloud server generates the target theme package based on the first image and the image-to-image model; when the cloud server receives the first video, the cloud server generates the target theme package based on the first video and the video-to-image model.

[0033] In a possible implementation, the degree of abstraction of the target virtual object in the target lock screen wallpaper relative to the first object is a first degree of abstraction, the degree of abstraction of the target virtual object in the target lock screen wallpaper relative to the first object is a second degree of abstraction, and the degree of abstraction of the target virtual object in the target desktop wallpaper relative to the first object is a third degree of abstraction; wherein, the third degree of abstraction is greater than the second degree of abstraction is greater than the first degree of abstraction, or, the third degree of abstraction is less than the second degree of abstraction is less than the first degree of abstraction.

[0034] In this way, during the process of the electronic device switching from the screen-off state to the lock screen state and then from the lock screen state to the unlocked state, the user can be gradually brought from the real world to the virtual world in terms of visual display.

[0035] In a possible implementation, the third degree of abstraction is less than the second degree of abstraction is less than the first degree of abstraction. In this way, during the process of the electronic device switching from the screen-off state to the lock screen state and then from the lock screen state to the unlocked state, the user can be gradually brought from the virtual world to the real world in terms of visual display.

[0036] In a possible implementation, the target theme package further includes a first transition animation; the method further includes: when the electronic device displays the target lock screen wallpaper in the screen-off state, detecting a screen-on operation by the user; in response to the screen-on operation, the electronic device displays the first transition animation, and after the first transition animation is displayed, displays the target lock screen wallpaper, and the first transition animation includes an animation transitioning from the target lock screen wallpaper to the target lock screen wallpaper.

[0037] In a possible implementation, the target theme package further includes a second transition animation; the method further includes: when the electronic device is in the locked and lit screen state, detecting a user's unlocking operation; if the electronic device unlocks successfully, the electronic device displays the second transition animation, and after the second transition animation is displayed, displays the target desktop wallpaper, and the second transition animation includes an animation of transitioning from the target lock screen wallpaper to the target desktop wallpaper.

[0038] In this way, there can be a visual continuity during the process of the electronic device switching from the off-screen state to the locked screen state and then from the locked screen state to unlocking.

[0039] In a second aspect, the present application provides another theme setting method, which is applied to an electronic device. The method includes: receiving a first operation by the user to select to use a first image or a first video to create a theme package; in response to the first operation, sending the first image or the first video to a cloud server, where the first image includes a first object, the first video includes the first object, and the first image or the first video is used for the cloud server to generate a theme package; receiving the target theme package sent by the cloud server, where the target theme package includes a target off-screen wallpaper, a target lock screen wallpaper, and a target desktop wallpaper, and the target virtual object corresponding to the first object is included in the target off-screen wallpaper, the target lock screen wallpaper, and the target desktop wallpaper; after receiving a second operation by the user to apply the target theme package, the electronic device performs at least one of the following: displaying the target off-screen wallpaper in the off-screen state; displaying the target lock screen wallpaper in the lit and locked screen state; or, displaying the target desktop wallpaper on the desktop in the lit and unlocked state.

[0040] In a possible implementation, before receiving the first operation by the user to select to use a first image or a first video to create a theme package, the method includes: receiving an operation to open the settings application; in response to the operation to open the settings application, displaying a settings application interface, where the settings application interface includes one or more setting entries, and the one or more setting entries include a first setting entry; after receiving an operation by the user on the first setting entry, displaying a first theme setting interface, where the first theme setting interface includes an add control and a theme sample; after receiving an operation by the user on the add control, obtaining the first image or the first video selected or taken by the user; after obtaining the first image or the first video selected by the user, displaying a second theme setting interface, where the second theme setting interface includes a start generation control and the first image or the first video; where the first operation is an operation on the start generation control.

[0041] In a possible implementation, before receiving the second operation by the user to apply the target theme package, the method further includes: after receiving the target theme package, displaying a third theme setting interface, where the third theme setting interface includes a preview effect picture of the target theme package and a theme usage control, and the second operation is an operation on the theme usage control.

[0042] In a possible implementation, the target screen-off wallpaper includes a first dynamic screen-off wallpaper, and the first dynamic screen-off wallpaper includes an animation of the target virtual object performing a first action; displaying the target screen-off wallpaper in the screen-off state specifically includes: if the electronic device detects a first behavior of the user, the electronic device displays the first dynamic screen-off wallpaper in the screen-off state.

[0043] In a possible implementation, the target screen-off wallpaper further includes a second dynamic screen-off wallpaper, and the second dynamic screen-off wallpaper includes an animation of the target virtual object performing a second action; the method further includes: in the screen-off state, if a second behavior of the user is detected, displaying the second dynamic screen-off wallpaper, where the first behavior is different from the second behavior, and the first action is different from the second action.

[0044] In a possible implementation, the method further includes: in the screen-off state, detecting a third behavior of the user; if no dynamic screen-off wallpaper matching the third behavior is determined from the target screen-off wallpaper and the number of times the third behavior is detected during screen-off is greater than a specified threshold, sending the third behavior and the first image or the first video to the cloud server; receiving a third dynamic screen-off wallpaper, where the third dynamic screen-off wallpaper corresponds to the third behavior, and the third dynamic screen-off wallpaper includes an animation of the target virtual object performing a third action, the first behavior, the second behavior, and the third behavior are all different from each other, and the first action, the second action, and the third action are all different from each other; if the third behavior of the user is detected again in the screen-off state, displaying the third dynamic screen-off wallpaper.

[0045] In a possible implementation, the target lock screen wallpaper includes a first dynamic lock screen wallpaper, and the first dynamic lock screen wallpaper includes an animation of the target virtual object performing a fourth action; displaying the target lock screen wallpaper in the lit and locked state specifically includes: if a fourth behavior of the user is detected, displaying the first dynamic lock screen wallpaper.

[0046] In a possible implementation, the target lock screen wallpaper further includes a second dynamic lock screen wallpaper, and the second dynamic lock screen wallpaper includes an animation of the target virtual object performing a fifth action; the method further includes: in the lit and locked state, if a fifth behavior of the user is detected, displaying the second dynamic lock screen wallpaper, where the fourth behavior is different from the fifth behavior, and the fourth action is different from the fifth action.

[0047] In a possible implementation, the target desktop wallpaper includes a first dynamic desktop wallpaper, and an animation of the target virtual object performing a sixth action is included in the first dynamic desktop wallpaper; displaying the target desktop wallpaper on the desktop when the screen is on and unlocked specifically includes: when the electronic device is in the state where the screen is on and unlocked, if a sixth behavior of the user is detected, the first dynamic desktop wallpaper is displayed.

[0048] In a possible implementation, the target desktop wallpaper further includes a second dynamic desktop wallpaper, and an animation of the target virtual object performing a seventh action is included in the second dynamic desktop wallpaper; the method further includes: when the screen is on and locked, if a seventh behavior of the user is detected, the second dynamic desktop wallpaper is displayed, where the sixth behavior is different from the seventh behavior, and the sixth action is different from the seventh action.

[0049] In a possible implementation, the target theme package further includes a virtual object image, where the virtual object image includes the target virtual object; the method further includes: after receiving a second operation by the user to apply the target theme package, receiving a third operation by the user to activate the voice assistant; in response to the third operation, displaying a dialogue window of the voice assistant, where the dialogue window includes the virtual object image.

[0050] In a possible implementation, when the first video is sent to the cloud server, the first video includes a first audio, and the first audio has a first sound feature of the first object; the method further includes: receiving a first file sent by the cloud server, where the first file is obtained by the cloud server based on the first audio; after receiving a second operation by the user to apply the target theme package, receiving a third operation by the user to activate the voice assistant; in response to the third operation, playing a reply voice according to the first file, and the reply voice has the first sound feature.

[0051] In a possible implementation, when the electronic device sends the first video to the cloud server, the first video includes a first audio, and the first audio has a first sound feature of the first object; the method further includes: receiving a second file sent by the cloud server, where the second file includes a prompt sound for one or more scenarios, the prompt sound for one or more scenarios includes a first prompt sound for a first scenario, and the prompt sound for the one or more scenarios has the first sound feature; when the electronic device detects that it is in the first scenario, playing the first prompt sound.

[0052] In a possible implementation, the pixel size of the target lock screen wallpaper is larger than the pixel size of the target desktop wallpaper, and the pixel size of the target desktop wallpaper is larger than the pixel size of the target screen-off wallpaper.

[0053] In a possible implementation, the target virtual object in the target lock screen wallpaper assumes a first pose, the target virtual object in the target lock screen wallpaper assumes a second pose, and the target virtual object in the target home screen wallpaper assumes a third pose; wherein, the first pose, the second pose, and the third pose are all different.

[0054] In a possible implementation, the degree of abstraction of the target virtual object in the target lock screen wallpaper with respect to the first object is a first degree of abstraction, the degree of abstraction of the target virtual object in the target lock screen wallpaper with respect to the first object is a second degree of abstraction, and the degree of abstraction of the target virtual object in the target home screen wallpaper with respect to the first object is a third degree of abstraction; wherein, the third degree of abstraction is greater than the second degree of abstraction which is greater than the first degree of abstraction, or, the third degree of abstraction is less than the second degree of abstraction which is less than the first degree of abstraction.

[0055] In a possible implementation, the target theme package further includes a first transition animation; the method further includes: when the target lock screen wallpaper is displayed in the locked screen state, detecting a screen-on operation by the user; in response to the screen-on operation, displaying the first transition animation, and after the first transition animation is displayed, displaying the target lock screen wallpaper, where the first transition animation includes an animation of transitioning from the target lock screen wallpaper to the target lock screen wallpaper.

[0056] In a possible implementation, the target theme package further includes a second transition animation; the method further includes: when the device is locked and the screen is on, detecting an unlocking operation by the user; if the electronic device is successfully unlocked, the electronic device displays the second transition animation, and after the second transition animation is displayed, displays the target home screen wallpaper, where the second transition animation includes an animation of transitioning from the target lock screen wallpaper to the target home screen wallpaper.

[0057] In a third aspect, the present application provides an electronic device, including a display screen, one or more processors, and one or more memories. The display screen, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store a computer program. When the one or more processors execute the computer program, the electronic device is caused to execute the methods in the second aspect and any possible implementation manner in the second aspect.

[0058] In a fourth aspect, an embodiment of the present application provides a computer storage medium, including a computer program. When the computer program runs on an electronic device, the electronic device is caused to execute the methods in the second aspect and any possible implementation manner in the second aspect.

[0059] Fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, it causes the computer to execute the methods in the above-mentioned second aspect and any possible implementation manners in the second aspect.

[0060] Sixth aspect, an embodiment of the present application provides a chip, including a processing circuit and an interface circuit. The interface circuit is configured to receive code instructions and transmit them to the processing circuit, and the processing circuit is configured to run the code instructions so that the chip executes the methods in the above-mentioned second aspect and any possible implementation manners in the second aspect.

[0061] For the beneficial effects of the above-mentioned second aspect to the sixth aspect, reference can be made to the beneficial effects in the above-mentioned first aspect and any possible implementation manners in the first aspect, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application;

[0063] Figure 2 It is a schematic software structure diagram of an electronic device provided by an embodiment of the present application;

[0064] Figure 3 It is a schematic hardware structure diagram of a cloud server provided by an embodiment of the present application;

[0065] Figures 4A - 4K It is a schematic diagram of an interface for generating a group of theme packages provided by an embodiment of the present application;

[0066] Figures 5A - 5F It is a schematic diagram of an interface for a group of screen-off displays provided by an embodiment of the present application;

[0067] Figures 6A - 6B It is a schematic diagram of an interface for a group of voice interactions provided by an embodiment of the present application;

[0068] Figure 7 It is a schematic flowchart of a theme setting method provided by an embodiment of the present application;

[0069] Figure 8 It is a schematic diagram of a process for a screen-off display target screen-off wallpaper provided by an embodiment of the present application;

[0070] Figures 9A - 9C It is a schematic diagram of an interface for a group of landscape / portrait screen switches provided by an embodiment of the present application;

[0071] Figures 10A - 10B It is a schematic diagram of wallpaper transformation for a group of landscape / portrait screen switches provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0072] The technical solutions in the embodiments of the present application will be clearly and in detail described below with reference to the accompanying drawings. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may mean A or B. The "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B may mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.

[0073] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" is two or more.

[0074] The electronic device 100 provided in the embodiments of the present application will be described below with reference to the accompanying drawings.

[0075] Figure 1 The schematic diagram of the hardware structure of the electronic device 100 is shown.

[0076] The embodiments will be specifically described below taking the electronic device 100 as an example. It should be understood that Figure 1 the illustrated electronic device 100 is only an example, and the electronic device 100 may have more or fewer components than Figure 1 those shown, may combine two or more components, or may have different component configurations. Figure 1 The various components shown in may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0077] 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, a headphone jack 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, a barometric 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.

[0078] It can be understood that the structure schematically shown in the embodiments of the present invention does 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 in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0079] 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 memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0080] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.

[0081] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can hold the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the said memory. This avoids repeated accesses and reduces the waiting time of the processor 110, thus improving the efficiency of the system.

[0082] 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, etc.

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

[0084] 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 the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as the battery capacity, the number of battery cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.

[0085] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.

[0086] The mobile communication module 150 can provide solutions for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device 100.

[0087] The modulation and demodulation processor can include a modulator and a demodulator. Among them, 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. Subsequently, the demodulator 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 transmitted 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 modulation and demodulation processor can be an independent device. In some other embodiments, the modulation and demodulation processor can be independent of the processor 110 and be disposed in the same device as the mobile communication module 150 or other functional modules.

[0088] The wireless communication module 160 can provide solutions for wireless communication 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 technology (IR), etc. applied to the electronic device 100.

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

[0090] The 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

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

[0092] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light passes through the lens and is transmitted to the camera sensor. The optical signal is converted into an electrical signal, and the camera sensor transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also optimize the noise and brightness of the image through algorithms.

[0093] The camera 193 is used to capture static images or videos. The electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0094] 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 internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. 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.

[0095] The electronic device 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor. For example, music playback, recording, etc. 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 speaker 170A, also known as a "speaker", is used to convert audio electrical signals into sound signals. The receiver 170B, also known as a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or voice message, the voice can be answered by placing the receiver 170B close to the human ear. The microphone 170C, also known as a "microphone" or "microphone", is used to convert sound signals into electrical signals. The headphone jack 170D is used to connect wired headphones. The pressure sensor 180A is used to sense pressure signals and can convert pressure signals into electrical signals.

[0096] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0097] The barometric pressure sensor 180C is used to measure barometric pressure. The magnetic sensor 180D includes a Hall sensor. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to functions such as landscape / portrait screen switching and pedometer applications. The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance through infrared or laser. The proximity light sensor 180G can include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The ambient light sensor 180L is used to sense the brightness of ambient light. The fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect temperature. The touch sensor 180K, also known as the "touch panel". The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also known as the "touch display screen". The touch sensor 180K is used to detect touch operations acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a different position from that of the display screen 194. The bone conduction sensor 180M can obtain vibration signals. The keys 190 include a power-on key, volume keys, etc. The keys 190 can be mechanical keys. The motor 191 can generate vibration prompts. The indicator 192 can be an indicator light, which can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card.

[0098] In the embodiments of the present application, the device type of the electronic device 100 can be a mobile phone, a tablet computer, a handheld computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), and smart home devices such as a smart large screen and a smart speaker, wearable devices such as a smart bracelet, a smart watch, and smart glasses, extended reality (XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), in-vehicle devices or smart city devices, etc., any one of them.

[0099] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present invention, taking the Android system with a layered architecture as an example, the software structure of the electronic device 100 is exemplarily described.

[0100] Figure 2 It is a software structure block diagram of the electronic device 100 in the embodiments of the present application.

[0101] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom are the application layer, the application framework layer, the Android runtime and the system libraries, and the kernel layer.

[0102] The application layer may include a series of application packages.

[0103] As Figure 2 shown, the application packages may include applications such as a camera, a gallery, a calendar, a call, a map, a navigation, a WLAN, a Bluetooth, music, a video, a short message, etc.

[0104] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.

[0105] As Figure 2 shown, the application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc.

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

[0107] The content provider is used to store and obtain data, and make this data accessible to applications. The data may include videos, images, audio, incoming and outgoing calls, browsing history and bookmarks, a phone book, etc.

[0108] The view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a short message notification icon may include a view for displaying text and a view for displaying pictures.

[0109] The telephone manager is used to provide the communication function of the electronic device 100. For example, the management of call status (including connection, disconnection, etc.).

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

[0111] The notification manager enables applications to display notification information in the status bar. It can be used to convey informational messages that can disappear automatically after a short stay without user interaction. For example, the notification manager is used to inform that a download is complete, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of background running applications, or a notification that appears on the screen in the form of a dialog window. For example, it can prompt text information in the status bar, emit a prompt sound, vibrate the electronic device, blink the indicator light, etc.

[0112] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for the scheduling and management of the Android system.

[0113] The core libraries contain two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core libraries of Android.

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

[0115] The system libraries can include multiple functional modules. For example: surface manager, Media Libraries, 3D graphics processing libraries (such as: OpenGL ES), 2D graphics engine (such as: SGL), etc.

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

[0117] The media libraries support the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media libraries can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

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

[0119] The 2D graphics engine is a drawing engine for 2D drawing.

[0120] The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.

[0121] The working processes of the software and hardware of the electronic device 100 will be exemplarily described below in combination with the scenario of capturing a photo.

[0122] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including information such as touch coordinates and the timestamp of the touch operation). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation and the control corresponding to the click operation as the control of the camera application icon as an example, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture a static image or video through the camera 193.

[0123] The hardware structure of the cloud server 200 provided by the embodiments of the present application will be introduced below.

[0124] Figure 3 A schematic diagram of the hardware structure of a cloud server 200 provided by the embodiments of the present application is shown.

[0125] As Figure 3 shown, the cloud server 200 includes one or more processors 211, a communication interface 212, and a memory 213. The processors 211, the communication interface 212, and the memory 213 can be connected through a bus or other means. In the embodiments of the present application, the connection through the bus 214 is taken as an example. Among them:

[0126] The processor 211 can be composed of one or more general-purpose processors, such as a CPU. The processor 211 can be used to run the program code related to the device control method.

[0127] The communication interface 212 can be a wired interface (such as an Ethernet interface) or a wireless interface (such as a cellular network interface or a wireless local area network interface) for communicating with other nodes. In the embodiments of the present application, the communication interface 212 can be specifically used to communicate with the electronic device 100.

[0128] The memory 213 may include volatile memory, such as RAM; the memory may also include non-volatile memory, such as ROM, flash memory, HDD, or solid state disk (SSD); the memory 213 may further include a combination of the above types of memory. The memory 213 can be used to store a set of program codes so that the processor 211 can call the program codes stored in the memory 213 to implement the implementation method of this application embodiment on the server. In the embodiment of this application, the memory 213 can also be a storage array, and so on.

[0129] In some embodiments, the cloud server 200 may include multiple servers, for example, a device cloud server, a far-field cloud server, and so on. The hardware structures of these multiple servers can all refer to the Figure 2 hardware structure of the cloud server 200 shown above.

[0130] It should be noted that Figure 3 the cloud server 200 shown above is only one implementation manner of the embodiment of this application. In practical applications, the cloud server 200 may further include more or fewer components, which are not limited here.

[0131] In an application scenario, the electronic device 100 can receive a first image or a first video taken by the user or selected locally. The electronic device 100 can send the first image or the first video to the cloud server 200. Among them, the first image and the first video include a first object. The cloud server 200 can generate a target theme package based on the first image or the first video through an AI model. The cloud server 200 can send the target theme package to the electronic device 100. After receiving the target theme package, the electronic device 100 can apply the target theme package according to the user's operation. Among them, the target theme package may include one or more of a target lock screen wallpaper, a target home screen wallpaper, and a target always-on display (AOD) wallpaper. The target lock screen wallpaper, the target home screen wallpaper, and the target AOD wallpaper all include a target virtual object. After applying the target theme package, the electronic device 100 can set the home screen wallpaper to the target home screen wallpaper in the target theme package, and / or display the target lock screen wallpaper in the target theme package on the lock screen interface, and / or display the target AOD wallpaper on the display screen by using the always-on display (AOD) technology when the screen is off. In this way, a personalized theme can be generated according to the image selected by the user and applied to the electronic device 100 used by the user, increasing the personal privacy of the theme display effect on the electronic device 100.

[0132] In a possible implementation, the cloud server 200 may first generate a target virtual object in a specified style based on the first image or the first video through an AI model. Then, the cloud server 200 may generate a target theme package based on the target virtual object.

[0133] In a possible implementation, the AI model on the above cloud server may be deployed on the electronic device 100. After receiving the first image or the first video taken by the user or selected locally, the electronic device 100 may generate a target theme package based on the first image or the first video through the AI model. After receiving the target theme package, the electronic device 100 may apply the target theme package according to the user's operation.

[0134] Exemplarily, as Figure 4A shown, the electronic device 100 may display a desktop 410. A page with application icons is displayed in the desktop 410, and the page includes multiple application icons (for example, weather application icon, stock application icon, calculator application icon, settings application icon 411, mail application icon, gallery application icon, music application icon, video application icon, browser application icon, etc.).

[0135] The electronic device 100 may receive an operation by the user on the settings application icon 411 in the desktop 410. In response to this operation, the electronic device 100 may display a settings application interface 420 as Figure 4B shown.

[0136] As Figure 4B shown, the settings application interface 420 may include one or more setting entries. Among them, the one or more setting entries include desktop and personalization setting entries 421 (which may be referred to as the first setting entries) and wireless and network setting entries, device connection setting entries, application and notification setting entries, battery setting entries, display setting entries, sound setting entries, storage setting entries, biometrics and password entries, etc.

[0137] The electronic device 100 may receive an operation by the user on the desktop and personalization setting entries 421. In response to this operation, the electronic device 100 may display a desktop and personalization setting interface 430 as Figure 4C shown.

[0138] As Figure 4C shown, the desktop and personalization setting interface 430 may include multiple setting options. Among them, the multiple setting options include a theme setting option 431, a wallpaper setting option, a screen-off display setting option, a magazine lock screen option, an icon setting option, etc.

[0139] The electronic device 100 can receive a user's operation (such as a click) on the theme setting option 431. In response to this operation, the electronic device 100 can display the Figure 4D theme setting interface 440 as shown.

[0140] As Figure 4D shown, the theme setting interface 440 can include multiple types of theme options. Among them, the multiple types of theme options can include options for recommended themes, magazine themes, and personalized themes. For example, the options for recommended themes can include options for the Highlight Dance theme, the Boundless theme, the Moist theme, and so on. The options for magazine themes can include options for the Art Protagonist theme, the Fashion Album theme, and so on. The options for personalized themes can include the option 441 for the portrait theme and the option 442 for the pet theme. Among them, the options for the personalized theme can be used to trigger the electronic device 100 to generate a target theme package with a personalized style according to the image selected by the user.

[0141] The electronic device 100 can receive a user's operation (such as a click) on the option 441 for the portrait theme. In response to this operation, the electronic device 100 can Figure 4E display the personalized theme setting interface 450 as shown.

[0142] As Figure 4E shown, the personalized theme setting interface 450 (which can be called the first theme setting interface) can include a theme sample sheet for the portrait theme and an addition control 451. For example, the theme sample sheet for the portrait theme can include sample sheets for the screen-off display, the lock screen wallpaper, the home screen wallpaper, etc. Among them, the addition control 451 can be used to trigger the electronic device 100 to select an image according to the user's input.

[0143] The electronic device 100 can receive a user's operation (such as a click) on the addition control 451. In response to this operation, the electronic device 100 can display Figure 4F the image selection interface 460 as shown.

[0144] As Figure 4F shown, the image selection interface 460 can include one or more images or videos stored locally on the electronic device 100. For example, one or more locally stored images can include the image 461, and among them, the image 461 can include a human face.

[0145] The electronic device 100 can receive the user's selection operation on the image 461. In response to this selection operation, the electronic device 100 can display Figure 4G the personalized theme setting interface 470 as shown.

[0146] As Figure 4GAs shown, the personalized theme setting interface 470 (which can be referred to as the second theme setting interface) may include a theme sample of the personalized theme, an image 461, a re-selection control 471, and a start generation control 472. The theme sample of the personalized theme may include samples of the screen-off display, the lock screen wallpaper, the home screen wallpaper, etc. The re-selection control 471 can trigger the electronic device 100 to re-select an image or video that can be used to generate a theme of a specified style according to the user's operation. The start generation control 472 can be used to trigger the electronic device 100 to generate a target theme package of a specified style based on the image 461.

[0147] The electronic device 100 can receive an operation (such as a click) from the user for the start generation control 472. In response to this operation, the electronic device 100 can input the image or video selected by the user to the AI model, and the AI model can generate a target theme package based on the image or video selected by the user. Among them, the AI model can be on the cloud server 200 or on the electronic device 100. The target theme package may include a target screen-off wallpaper, a target lock screen wallpaper, and a target home screen wallpaper. Among them, the target screen-off wallpaper, the target lock screen wallpaper, and the target home screen wallpaper all include a target virtual object. Based on the image or video selected by the user, the target screen-off wallpaper, the target lock screen wallpaper, and the target home screen wallpaper including the target virtual object are generated at one time, so that the styles of the screen-off wallpaper, the lock screen wallpaper, and the home screen wallpaper of the electronic device are unified.

[0148] In the embodiment of the present application, the above operation for the start generation control 472 can be referred to as the first operation.

[0149] As Figure 4HAs shown, after the electronic device 100 obtains the target theme package, it can display a personalized theme setting interface 480. The personalized theme setting interface 480 may include a regenerate theme control 483, a theme usage control 484, and a preview effect diagram of the target theme package. The preview effect diagram of the target theme package may include at least one of the preview effect diagrams of the screen-off display, the lock screen interface, and the desktop after using the target theme package. Among them, the preview effect diagram of the target theme package may be generated by the cloud server 200 after generating the target screen-off wallpaper, the target lock screen wallpaper, and the target desktop wallpaper in the target theme package. Optionally, the preview effect diagram of the target theme package may also be generated by the electronic device 100 based on the target screen-off wallpaper, the target lock screen wallpaper, and the target desktop wallpaper in the target theme package after obtaining the target theme package. The regenerate theme control 483 can be used to trigger the electronic device 100 to re-receive the images or videos selected by the user and generate a theme package according to the images or videos selected by the user. The theme usage control 484 can be used to trigger the electronic device 100 to apply the generated target theme package, or to apply and save the generated target theme package. Optionally, the personalized theme setting interface 480 displays a wallpaper image including the target virtual object in the target theme package and a save wallpaper control 482. The save wallpaper control 482 can be used to trigger the electronic device 100 to save the wallpaper image including the target virtual object to the local.

[0150] The electronic device 100 can receive an operation (such as a click) of the user on the theme usage control 484. In response to this operation, the electronic device 100 can apply the target theme package.

[0151] In the embodiment of the present application, the above-mentioned operation on the theme usage control 484 may be referred to as a second operation.

[0152] In a possible implementation manner, the electronic device 100 can receive an operation of the user to apply the target theme package, and apply any one or more of the target screen-off wallpaper, the target lock screen wallpaper, or the target desktop wallpaper in the target theme package.

[0153] As Figure 4I shown, after the electronic device 100 applies the target desktop wallpaper, when the desktop 490 is displayed, the wallpaper of the desktop 490 can be the target desktop wallpaper 491 in the target theme package, where the target desktop wallpaper 491 includes a target virtual object.

[0154] As Figure 4J shown, after the electronic device 100 applies the target lock screen wallpaper, when the lock screen interface is displayed, the target lock screen wallpaper 511 in the target theme package can be displayed in the lock screen interface 510, where the target lock screen wallpaper includes a target virtual object.

[0155] AsFigure 4K As shown, after the electronic device 100 applies the target lock screen wallpaper, when the screen is locked, the target lock screen wallpaper 521 can be displayed on the display screen through the AOD technology. Among them, the target lock screen wallpaper includes a target virtual object.

[0156] In one implementation, after the electronic device 100 applies the target theme pack, when the desktop 490 is displayed, the wallpaper of the desktop 490 can be the target desktop wallpaper 491 in the target theme pack, where the target desktop wallpaper 491 includes a target virtual object; when the lock screen interface is displayed, the target lock screen wallpaper 511 in the target theme pack is displayed in the lock screen interface 510, where the target lock screen wallpaper includes a target virtual object; when the screen is locked, the target lock screen wallpaper 521 is displayed on the display screen through the AOD technology, where the target lock screen wallpaper includes a target virtual object.

[0157] In one possible implementation, the posing actions, expressions, or postures of the target virtual objects in the target desktop wallpaper, the target lock screen wallpaper, and the target lock screen wallpaper are the same or different. For example, the target virtual object in the target lock screen wallpaper poses a first posture, the target virtual object in the target lock screen wallpaper poses a second posture, and the target virtual object in the target desktop wallpaper poses a third posture; among them, the first posture, the second posture, and the third posture are all different.

[0158] In some embodiments, the target lock screen wallpaper in the target theme package may include a dynamic lock screen wallpaper with one or more actions, and the dynamic lock screen wallpaper may include an animation with one or more actions. For example, the dynamic lock screen wallpaper with one or more actions may include a dynamic lock screen wallpaper in which the target virtual object performs a blinking animation, a dynamic lock screen wallpaper in which the target virtual object performs a head-tilting animation, a dynamic lock screen wallpaper in which the target virtual object performs a smiling animation, a dynamic lock screen wallpaper in which the target virtual object performs a head-turning animation, and a dynamic lock screen wallpaper in which the target virtual object performs a blinking and smiling animation, etc. After the electronic device 100 obtains the target theme package, in the case of the screen being locked, the electronic device 100 may first display a static lock screen wallpaper on the display screen through the AOD technology. If the electronic device 100 detects a first behavior, the electronic device 100 may play a first dynamic lock screen wallpaper. If the electronic device 100 detects a second behavior, the electronic device 100 may play and display a second dynamic lock screen wallpaper. The target virtual object in the first dynamic lock screen wallpaper performs a first action, and the target virtual object in the second dynamic lock screen wallpaper performs a second action. Herein, the first behavior is different from the second behavior, and the first action and the second action may be the same or different. Among them, the dynamic lock screen wallpaper corresponds to a playing time. Before the playing time of the first dynamic lock screen wallpaper ends, if the electronic device 100 detects the second behavior, then the electronic device 100 may play the second dynamic lock screen wallpaper after the playing time corresponding to the first dynamic lock screen wallpaper. Before the playing time of the first dynamic lock screen wallpaper ends, if the electronic device 100 does not detect the user's behavior, then the electronic device 100 may display the static lock screen wallpaper after the playing time corresponding to the first dynamic lock screen wallpaper until the electronic device 100 detects the user's second behavior and then plays the second dynamic lock screen wallpaper.

[0159] In a possible implementation manner, the static lock screen wallpaper may be a frame image in the dynamic lock screen wallpaper. For example, the static lock screen wallpaper may be the first frame image or the last frame image in the dynamic lock screen wallpaper. In another possible implementation manner, the target lock screen wallpaper in the target theme package may include a static lock screen wallpaper and a dynamic lock screen wallpaper with an animation of one or more actions.

[0160] In a possible implementation manner, the electronic device 100 may store the correspondence between the user's behavior and the action, and the correspondence between the action and the dynamic lock screen wallpaper in the target lock screen wallpaper. If the electronic device 100 detects the target behavior of the user (for example, the first behavior or the second behavior), the electronic device 100 may determine the target action corresponding to the target behavior from the correspondence between the user's behavior and the action based on the target behavior of the user. Then, the electronic device 100 may determine the target dynamic lock screen wallpaper corresponding to the target action from the correspondence between the action and the dynamic lock screen wallpaper based on the target action.

[0161] In a possible implementation, the electronic device 100 may store the correspondence between the user's behavior and the dynamic lock screen wallpaper. If the electronic device 100 detects the user's target behavior, the electronic device 100 may determine the target dynamic lock screen wallpaper corresponding to the target behavior from the correspondence between the user's behavior and the dynamic lock screen wallpaper based on the user's target behavior.

[0162] Exemplarily, as Figure 5A 、 Figure 5B shown, after using the target theme pack, the electronic device 100 can display the static lock screen wallpaper 531 on the display screen through the AOD technology when the screen is off. The static lock screen wallpaper 531 includes the target virtual object. When the electronic device 100 detects through the front camera 501 that the user's behavior is that the line of sight is fixed on the display screen, the electronic device 100 can display the dynamic lock screen wallpaper 532 on the display screen through the AOD technology. The target virtual object in the dynamic lock screen wallpaper 532 can perform at least one action such as blinking or smiling. After the target virtual object in the dynamic lock screen wallpaper 532 finishes performing the blinking and smiling actions, the electronic device 100 can continue to display the above-mentioned static lock screen wallpaper 531 on the display screen through the AOD technology.

[0163] Another exemplarily, as Figure 5C 、 Figure 5D shown, after using the target theme pack, the electronic device 100 can display the static lock screen wallpaper 531 on the display screen through the AOD technology when the screen is off. The static lock screen wallpaper 531 includes the target virtual object. When the electronic device 100 detects through the front camera 501 that the user's behavior is tilting the head to the right, the electronic device 100 can display the dynamic lock screen wallpaper 533 on the display screen through the AOD technology. The target virtual object in the dynamic lock screen wallpaper 533 performs the action of tilting the head to the right. After the target virtual object in the dynamic lock screen wallpaper 533 finishes performing the blinking and smiling actions, the electronic device 100 can continue to display the above-mentioned static lock screen wallpaper 531 on the display screen through the AOD technology.

[0164] Another exemplarily, as Figure 5E 、 Figure 5FAs shown, after the electronic device 100 uses the target theme package, it can display a static lock screen wallpaper 531 on the display screen through the AOD technology when the screen is off. Among them, the static lock screen wallpaper 531 includes a target virtual object. When the electronic device 100 detects that the user's behavior is blinking through the front camera 501, the electronic device 100 can display a dynamic lock screen wallpaper 534 on the display screen through the AOD technology. Among them, the target virtual object in the dynamic lock screen wallpaper 534 performs a blinking action. After the target virtual object in the dynamic lock screen wallpaper 534 finishes performing the blinking and smiling actions, the electronic device 100 can continue to display the above-mentioned static lock screen wallpaper 531 on the display screen through the AOD technology.

[0165] In some embodiments, the target theme package may further include a virtual object image, where the virtual object image includes a target virtual object. Among them, the virtual object image can be a static image or a dynamic image. After the electronic device 100 uses the target theme package, it can receive the user's third operation and bring up the dialogue window of the voice assistant. The electronic device 100 can display the virtual object image in the dialogue window of the voice assistant. In this way, when the electronic device 100 brings up the voice assistant, the effect of the user conversing with the target virtual object can be simulated, enhancing the user's interaction experience with the electronic device 100.

[0166] Exemplarily, as Figure 6A 、 Figure 6B As shown, after the electronic device 100 uses the target theme package, it can display a desktop 490. Among them, the wallpaper of the desktop 490 is the target desktop wallpaper 491 in the target theme package, and the target desktop wallpaper 491 includes a target virtual object. The electronic device 100 can receive the wake-up word input by the user's voice (for example, Xiaoyi Xiaoyi). In response to the wake-up word input by the voice, the electronic device 100 can start the voice assistant and display a dialogue window 610. Since the target theme package includes a virtual object image, the electronic device 100 can display the virtual object image 611 in the dialogue window 610. Among them, the virtual object image 611 includes a target virtual object.

[0167] In some embodiments, in response to receiving a first video selected by a user for creating a theme pack, the electronic device 100 may send the first video to the cloud server 200. The cloud server 200 may generate a target theme pack through an AI model based on the video frame including a first object in the first video. The cloud server 200 may identify a target audio segment in the first video and generate a first file based on the target audio segment. Wherein, the first file includes a first sound feature (for example, the sound feature of the first object). The target audio segment includes a first audio (for example, the sound emitted by the first object). The target theme pack may include one or more of a target lock screen wallpaper, a target home screen wallpaper, a target desktop wallpaper, and a virtual object image. The cloud server 200 may send the target theme pack and the first file to the electronic device 100. After the electronic device 100 activates the voice assistant, it may receive information input by the user (for example, voice information or text information). The electronic device 100 may generate a reply text output to the user based on the information input by the user. The electronic device 100 may generate a reply voice with the sound feature of the first object based on the sound feature of the first object in the first file and the reply text, and play the reply voice, and the reply voice has the first sound feature. Optionally, while playing the reply voice, the electronic device 100 may also display the reply text.

[0168] In a possible implementation manner, the above AI model may be deployed on the electronic device 100. In response to the user selecting a first video for creating a theme pack, the electronic device 100 may generate a target theme pack and a virtual object image through the AI model based on the video frame including a first object in the first video. The electronic device 100 may identify a target audio segment in the first video and generate the above target voice pack based on the target audio segment.

[0169] In a possible implementation manner, when the cloud server 200 or the electronic device 100 identifies a video frame including a first object in the first video, it may determine a target time period of the video frame including the first object in the first video. Then, it may extract the target audio segment of the target time period in the first video, and further, it may determine the sound feature of the first object from the target audio segment, so as to obtain the target voice pack.

[0170] Optionally, the cloud server 200 or the electronic device 100 may also generate a prompt tone for one or more scenarios based on the above target audio segment. Among them, the prompt tone for one or more scenarios has the voice characteristics of the first object. For example, the prompt tone for one or more scenarios includes one or more of the prompt tone during charging, the prompt tone when a new notification is received, the prompt tone when a new text message is received, the prompt tone when a call comes in, etc. After the electronic device 100 obtains the prompt tone for one or more scenarios, if the electronic device 100 detects that it is in the target scenario, the electronic device 100 may determine and play the prompt tone corresponding to the target scenario from the prompt tones for one or more scenarios. Among them, when the electronic device 100 detects the first scenario (for example, detects the start of charging), the electronic device 100 may determine and play the first prompt tone corresponding to the first scenario from the prompt tones for one or more scenarios. When the electronic device 100 detects the second scenario (for example, receives a new notification), the electronic device 100 may determine and play the second prompt tone corresponding to the second scenario from the prompt tones for one or more scenarios.

[0171] Among them, if the cloud server 200 generates the prompt tone for one or more scenarios, the cloud server 200 may return a second file to the electronic device, and the second file includes the prompt tone for one or more scenarios. If the electronic device 100 generates the prompt tone for one or more scenarios, after the electronic device 100 generates the prompt tone for one or more scenarios, it obtains the prompt tone for one or more scenarios.

[0172] The following introduces a theme setting method provided in the embodiments of the present application.

[0173] Figure 7 The flowchart of a theme setting method provided in the embodiments of the present application is shown.

[0174] As Figure 7 shown, this theme setting method can be applied to the communication system of the electronic device 100 and the cloud server 200.

[0175] This method may include the following steps:

[0176] S701. The electronic device 100 displays a personalized theme setting interface.

[0177] Among them, the personalized theme setting interface may refer to the personalized theme setting interface 450 in the above Figure 4E shown embodiments, and will not be elaborated here.

[0178] S702. The electronic device 100 receives the operation of the user selecting the first image or the first video.

[0179] Among them, as above Figure 4E 、 Figure 4F, Figure 4G In the embodiment shown, one or more images or videos may be stored in the memory of the electronic device 100, and the electronic device 100 may select a first image or a first video from the one or more images or videos stored in the memory of the electronic device 100.

[0180] In a possible implementation, the electronic device 100 may receive and respond to a user's operation to capture a first image or a first video through a camera.

[0181] S703. The electronic device 100 sends the first image or the first video to the cloud server 200.

[0182] S704. The cloud server 200 generates a target theme package based on the first image through an AI model. The target theme package includes a target lock screen wallpaper, a target home screen wallpaper, and a target desktop wallpaper, etc.

[0183] In a possible implementation, the target theme package may further include the style of displaying the target lock screen wallpaper in the lock screen state (for example, the display area, the display shape, etc.).

[0184] Among them, the cloud server 200 may input the first image or the first video into the AI model and generate a lock screen wallpaper, a home screen wallpaper, and a desktop wallpaper, etc. through the AI model to obtain the target theme package.

[0185] In a possible implementation, since the sizes and / or resolutions of the display screens on devices of different models are different, the display effects of the display screens on devices of different models when displaying the same image are also different. If the size and / or resolution of the display screen is small and the pixel size of the image is too large, the original clarity of the image cannot be shown even when the display screen displays the image. If the size and / or resolution of the display screen is large and the pixel size of the image is too small, the display ability of the display screen itself cannot be fully utilized when the display screen displays the image. Therefore, the electronic device 100 can also send the device model of the electronic device 100 to the cloud server 200. The cloud server 200 can first input the first image or the first video into the AI model and generate a virtual image through the AI model, where the virtual image includes a target virtual object. Then, the cloud server 200 determines the pixel sizes of the target lock screen wallpaper, the pixel sizes of the target home screen wallpaper, and the pixel sizes of the target lock screen wallpaper according to the device model of the electronic device 100. The electronic device 100 can crop the virtual image according to the pixel size of the target lock screen wallpaper to obtain the target lock screen wallpaper. The electronic device 100 can crop the virtual image according to the pixel size of the target home screen wallpaper to obtain the target home screen wallpaper. The electronic device 100 can crop the virtual image according to the pixel size of the target lock screen wallpaper to obtain the target lock screen wallpaper. Here, the pixel size of the image refers to the number of pixel points in the horizontal and vertical directions of the image.

[0186] In a possible implementation, since the sizes of the display areas used by the display screen of the electronic device 100 when displaying the lock screen wallpaper, the home screen wallpaper, and the lock screen wallpaper may be different. For example, the display areas of the lock screen wallpaper and the home screen wallpaper may be the same, and the display area of the lock screen wallpaper is smaller than the display areas of the lock screen wallpaper and the home screen wallpaper. If the display area of the lock screen wallpaper is small and a lock screen wallpaper with a relatively large pixel size is used, the original clarity of the lock screen wallpaper with a relatively large pixel size cannot be reflected even when the display screen is turned off. If the display areas of the lock screen wallpaper and the home screen wallpaper are large and a lock screen wallpaper with a relatively small pixel size is used, the display effect will be relatively blurred when the display screen displays the lock screen wallpaper and the home screen wallpaper. Therefore, for the lock screen wallpaper, the home screen wallpaper, and the lock screen wallpaper displayed on the same electronic device, the pixel size of the lock screen wallpaper can be set to be greater than the pixel size of the lock screen wallpaper, and / or the pixel size of the home screen wallpaper can be greater than the pixel size of the lock screen wallpaper.

[0187] Optionally, due to the different attentions of users to the lock screen wallpaper displayed on the lock screen interface and the desktop wallpaper displayed on the desktop. For example, there are fewer operable controls or icons on the lock screen interface than those displayed on the desktop. Therefore, the user's attention to the lock screen wallpaper on the lock screen interface is higher than that to the desktop wallpaper on the desktop. For the user, the clarity of the lock screen wallpaper when it is displayed is higher, which can better enhance the user's visual experience. Therefore, for the lock screen wallpaper and the desktop wallpaper displayed in the same electronic device, the pixel size of the lock screen wallpaper can be set to be larger than that of the desktop wallpaper.

[0188] For example, the correspondence between the device model and the pixel sizes of the screen-off wallpaper, the lock screen wallpaper, and the desktop wallpaper can be referred to Table 1 below:

[0189] Table 1

[0190] Device Model Pixel Dimensions of the Screen-Off Wallpaper Pixel Dimensions of the Lock Screen Wallpaper Pixel Dimensions of the Home Screen Wallpaper HUAWEIP60 480x720 (pixels) 1080x1920 (pixels) 720x1080 (pixels) HUAWEI Mate60 720x1080 (pixels) 1440*2560 (pixels) 1080x1920 (pixels)

[0191] As can be seen from Table 1 above, when the device model is "HUAWEI P60", the size of the screen-off wallpaper can be 480x720 (pixels), the size of the lock screen wallpaper can be 1080x1920 (pixels), and the size of the desktop wallpaper can be 720x1080 (pixels). When the device model is "HUAWEI Mate 60", the pixel size of the screen-off wallpaper can be 720x1080 (pixels), the pixel size of the lock screen wallpaper can be 1440*2560 (pixels), and the pixel size of the desktop wallpaper can be 1080x1920 (pixels). Among them, the size of the display screen of the electronic device "HUAWEI Mate 60" is larger than that of the electronic device "HUAWEI P60", and / or the resolution of the display screen of the electronic device "HUAWEI Mate 60" is higher than that of the electronic device "HUAWEI P60". The above Table 1 is only for the convenience of understanding the solution of this application and is for illustrative purposes only, and should not constitute a limitation to the solution of this application.

[0192] In a possible implementation, the actions of the target virtual object in the screen-off wallpaper, the lock screen wallpaper, and the desktop wallpaper can be different. The cloud server 200 can input the first image (or the first video) and the pose parameter 1 into the AI model, and generate the target screen-off wallpaper through the AI model. In the target screen-off wallpaper, the target virtual object assumes pose 1, and the pose parameter 1 is used to instruct the AI model to generate a wallpaper in which the target virtual object assumes action 1. The cloud server 200 can input the first image and the pose parameter 2 into the AI model, and generate the target lock screen wallpaper through the AI model. In the target lock screen wallpaper, the target virtual object exhibits pose 2, and the pose parameter 2 is used to instruct the AI model to generate a wallpaper in which the target virtual object assumes pose 2. The cloud server 200 can input the first image and the pose parameter 3 into the AI model, and generate the target desktop wallpaper through the AI model. In the target desktop wallpaper, the target virtual object exhibits pose 3, and the pose parameter 3 is used to instruct the AI model to generate a wallpaper in which the target virtual object assumes pose 3. For example, pose 1 and pose 2 can be the same or different, pose 2 and pose 3 can be the same or different, and pose 1 and pose 3 can be the same or different.

[0193] In a possible implementation, the AI model can include an image-to-image generation model and a video-to-image generation model. When the cloud server 200 receives the first image sent by the electronic device 100, the cloud server 200 can input the first image into the image-to-image generation model, and generate the screen-off wallpaper, the lock screen wallpaper, and the desktop wallpaper including the target virtual object through the image-to-image generation model, so as to obtain the target theme package. When the cloud server 200 receives the first video sent by the electronic device 100, the cloud server 200 can input the first video into the video-to-image generation model, and generate the screen-off wallpaper, the lock screen wallpaper, and the desktop wallpaper through the video-to-image generation model, so as to obtain the target theme package.

[0194] In a possible implementation, multiple types of AI models for various object types can be saved on the cloud server 200. Among them, the types of virtual objects can include people or animals, such as dogs, cats, etc. Multiple options for object types can be displayed on the electronic device 100. The electronic device 100 can receive and respond to the operation of the user selecting the first object type. When sending the first image or the first video to the cloud server, the electronic device 100 can also send the first object type to the cloud server 200. The cloud server 200 can determine the first AI model from different types of AI models based on the first object type. The cloud server 200 can generate the target screen-off wallpaper, the target lock screen wallpaper, and the desktop wallpaper according to the first image or the first video through the first AI model, so as to obtain the target theme package. Among them, the target screen-off wallpaper, the target lock screen wallpaper, and the desktop wallpaper all include the target virtual object, and the type of the target virtual object is the first object type.

[0195] In a possible implementation, the AI model on the cloud server 200 can generate virtual objects of multiple object types. Options of multiple object types can be displayed on the electronic device 100. The electronic device 100 can receive and respond to the operation of the user selecting the first object type, and send the first object type to the cloud server 200. The cloud server 200 can determine the first model parameter based on the first object type. The first model parameter is used to instruct the AI model to generate an image of a virtual object including the first object type. The cloud server 200 can input the first image or the first video, and the first model parameter into the AI model, and generate a target lock screen wallpaper, a target home screen wallpaper, and a target standby screen wallpaper through the AI model. Among them, the target standby screen wallpaper, the target lock screen wallpaper, and the home screen wallpaper all include a target virtual object, and the type of the target virtual object is the first object type.

[0196] It should be noted that, in the embodiments of the present application, the above AI model can also be deployed on the electronic device 100. When the AI model is deployed on the electronic device 100, after receiving the first operation of the user selecting the first image or the first video, the electronic device 100 can generate a target theme package based on the first image through the AI model. The process of the electronic device 100 generating the target theme package can refer to the process of the cloud server 200 generating the target theme package in the above embodiments and any possible implementation manner, and will not be elaborated here.

[0197] S705. The cloud server 200 sends the target theme package to the electronic device 100.

[0198] S706. The electronic device 100 displays a preview effect diagram of the target theme package.

[0199] Among them, after receiving the target theme package, the electronic device 100 can generate a preview effect diagram of the target theme package. The preview effect diagram of the target theme package can include the preview effect diagram when the standby screen is displayed, the preview effect diagram of the lock screen interface, and the preview effect diagram of the home screen after using the target theme package. For example, the preview effect diagram of the target theme package refers to the above Figure 4H illustrated embodiments and will not be elaborated here.

[0200] In a possible implementation summary, the preview effect diagram of the target theme package can also be generated by the cloud server 200 based on the target theme package. After generating the target theme package and the preview effect diagram of the target theme package, the cloud server 200 can Figure 1 and send them to the electronic device 100.

[0201] S707. The electronic device 100 receives the second operation of the user applying the target theme package.

[0202] For example, the second operation may be the user's operation of using the control 484 on the subject in the Figure 4H illustrated embodiment. For specific content, reference may be made to the Figure 4H illustrated embodiment, which will not be elaborated herein.

[0203] S708. The electronic device 100 applies the target theme package in response to the second operation.

[0204] S709. When the screen of the electronic device 100 is turned off, the electronic device 100 displays the target screensaver wallpaper in the target theme package on the display screen through the AOD technology.

[0205] In a possible implementation manner, since the target theme includes a target screensaver wallpaper, a target lock screen wallpaper, and a target desktop wallpaper. After obtaining the target theme package, the electronic device 100 may apply one or more of the target screensaver wallpaper, the target lock screen wallpaper, and the target desktop wallpaper according to the user's selection.

[0206] Among them, after the electronic device 100 applies the target desktop wallpaper, the electronic device 100 may set the wallpaper of the desktop to the target desktop wallpaper. After the electronic device 100 applies the target lock screen wallpaper, the electronic device 100 may set the wallpaper of the lock screen interface to the target lock screen wallpaper. After the electronic device 100 applies the target desktop wallpaper, the electronic device 100 may display the target screensaver wallpaper on the display screen through the AOD technology when the screen is turned off.

[0207] In the embodiments of the present application, the target screensaver wallpaper may be a static wallpaper or a dynamic wallpaper, the target lock screen wallpaper may be a static wallpaper or a dynamic wallpaper, and the target desktop wallpaper may be a static wallpaper or a dynamic wallpaper.

[0208] Through a theme setting method provided in the embodiments of the present application, a personalized style theme can be generated according to the image or video selected by the user and applied to the electronic device 100 used by the user, increasing the personal privacy of the theme display effect on the electronic device 100.

[0209] The following introduces the process of displaying the dynamic screensaver wallpaper in the target screensaver wallpaper after applying the target theme package.

[0210] The above Figure 7 generated target screensaver wallpaper in the illustrated embodiment may include a dynamic screensaver wallpaper with one or more actions. For example, the animated screensaver wallpaper with multiple actions may include a dynamic screensaver wallpaper when the target virtual object performs a blinking action, a dynamic screensaver wallpaper when the target virtual object performs a shaking head action, a dynamic screensaver wallpaper when the target virtual object performs a smiling action, a dynamic screensaver wallpaper when the target virtual object performs a tilting head action, and a dynamic screensaver wallpaper when the target virtual object performs a smiling and blinking action, and so on.

[0211] In a possible implementation, the AI model can generate static images or dynamic images through images or videos. The cloud server 200 (or the electronic device 100) can input the first image (or the first video) and action parameters into the AI model, and generate a dynamic lock screen wallpaper through the AI model. The cloud server 200 (or the electronic device 100) can generate dynamic lock screen wallpapers with various different actions by adjusting the action parameters input into the AI model.

[0212] In a possible implementation, when the user selects to create a target theme package through the first video, the first video may include video segments of one or more actions performed by the first object. Among them, the above one or more actions are the same as one or more actions performed by the first object in the first video. Among them, the cloud server 200 (or the electronic device 100) can identify the video segments of one or more actions performed by the first object in the first video through the AI model, and generate dynamic lock screen wallpapers of one or more actions based on these video segments.

[0213] Figure 8 The process diagram of displaying the target lock screen wallpaper in the embodiment of the present application is shown.

[0214] As Figure 8 shown, the process of lock screen display may include the following steps:

[0215] S801. After the electronic device 100 applies the target lock screen wallpaper, if the screen is locked, the static lock screen wallpaper in the target lock screen wallpaper is displayed on the display screen through the AOD technology.

[0216] In a possible implementation, the static lock screen wallpaper may be a frame image in the dynamic lock screen wallpaper. For example, it may be the first frame image or the last frame image in the dynamic lock screen wallpaper.

[0217] In another possible implementation, the target lock screen wallpaper may include a static lock screen wallpaper and dynamic lock screen wallpapers with various actions.

[0218] After the electronic device 100 applies the target lock screen wallpaper, when the electronic device 100 switches from the locked state or the unlocked state to the locked screen state, the electronic device 100 may first display the static lock screen wallpaper on the display screen through the AOD technology.

[0219] S802. The electronic device 100 detects the first behavior of the user.

[0220] In a possible implementation, the electronic device 100 detects the user's first behavior through the front camera, and the front camera can be a low-power camera. In the embodiments of the present application, it is not limited to detecting the user's behavior through the front camera, and other methods can also be used to detect the user's behavior, such as a touch screen, a millimeter-wave radar, etc.

[0221] S803. The electronic device 100 determines a first action corresponding to the first behavior based on the user's first behavior;

[0222] The electronic device 100 can determine the first action corresponding to the first behavior from the correspondence between the user's behavior and actions.

[0223] In a possible implementation, the electronic device 100 can receive and respond to the style type selected by the user (such as portrait or pet, etc.), and send the style type and the first image (or the first video) to the cloud server 200. The cloud server 200 can determine the correspondence between the user's behavior and actions under the style type based on the style type. The cloud server 200 can determine the action parameters of multiple actions in the correspondence. The cloud server 200 can input the first image (or the first video) and the action parameters into the AI model, and generate a dynamic lock screen wallpaper through the AI model. The cloud server 200 can generate multiple dynamic lock screen wallpapers with different actions by adjusting the action parameters input into the AI model. The cloud server 200 can send the correspondence between the user's behavior and actions under the style type to the electronic device 100. Among them, the correspondence between the user's behavior and actions under different styles is different.

[0224] In a possible implementation, the electronic device 100 can receive and respond to the style type selected by the user, and determine the correspondence between the user's behavior and actions under the style type. The electronic device 100 can send the action identifiers of multiple actions in the correspondence to the cloud server 200. The cloud server 200 can generate the action parameters of multiple actions based on the action identifiers of the multiple actions. The cloud server 200 can input the first image (or the first video) and the action parameters into the AI model, and generate a dynamic lock screen wallpaper through the AI model. The cloud server 200 can generate multiple dynamic lock screen wallpapers with different actions by adjusting the action parameters input into the AI model.

[0225] For example, the correspondence between the user's behavior and actions can be as shown in Table 2 below.

[0226] Table 2

[0227] User's Behavior Action Gaze at the screen or touch the screen Blink and smile Tilt the head Tilt the head Blink Blink Face movement or screen swipe Turn the head Smile Smile

[0228] As can be seen from Table 2 above, when the user's behavior is to gaze at the screen or touch the screen, the actions can be blinking and smiling. When the user's behavior is tilting the head, the action can be tilting the head. When the user's behavior is blinking, the action can be blinking. When the user's behavior is moving the face or swiping the screen, the action can be turning the head. When the user's behavior is smiling, the action can be smiling. The above Table 2 is only for the convenience of understanding the solution of this application and is for illustrative purposes only, and should not constitute a limitation to the solution of this application.

[0229] In a possible implementation, the user's behavior and the corresponding actions can be the same. For example, when the user's behavior is tilting the head, the corresponding action is also tilting the head. When the user's behavior is smiling, the corresponding action is also smiling. When the user's behavior is blinking, the corresponding action is also blinking.

[0230] S804. The electronic device 100 determines, based on the first action, a first dynamic screensaver wallpaper corresponding to the first action from multiple dynamic screensaver wallpapers of the target screensaver wallpaper.

[0231] In a possible implementation, there is a corresponding relationship between the user's behavior and multiple dynamic screensaver wallpapers. The electronic device 100 can directly determine, based on the user's first behavior, a first dynamic screensaver wallpaper corresponding to the first behavior from multiple dynamic screensaver wallpapers of the target screensaver wallpaper.

[0232] S805. The electronic device 100 displays the first dynamic screensaver wallpaper.

[0233] S806. After the target virtual object in the first dynamic screensaver wallpaper finishes performing the first action, the electronic device 100 displays a static screensaver wallpaper on the display screen through the AOD technology.

[0234] Wherein, when the electronic device 100 detects the user's second behavior, the electronic device 100 can determine a second action corresponding to the second behavior based on the user's second behavior. The electronic device 100 can determine a second dynamic screensaver wallpaper corresponding to the second action from multiple dynamic screensaver wallpapers of the target screensaver wallpaper based on the second action. The electronic device 100 can display the second dynamic screensaver wallpaper. After the target virtual object in the second dynamic screensaver wallpaper finishes performing the second action, a static screensaver wallpaper is displayed on the display screen through the AOD technology. Wherein, the second behavior is different from the first behavior, and the first action and the second action can be the same or different.

[0235] In a possible implementation, if the electronic device 100 detects a second behavior of the user before the target virtual object in the first dynamic lock screen wallpaper finishes performing the first action, the electronic device 100 may display the second behavior of the user after the target virtual object in the first dynamic lock screen wallpaper finishes performing the first action. If the electronic device 100 does not detect the user's behavior before the target virtual object in the first dynamic lock screen wallpaper finishes performing the first action, the electronic device 100 may display a static lock screen wallpaper after the target virtual object in the first dynamic lock screen wallpaper finishes performing the first action.

[0236] Through a theme setting method provided in an embodiment of the present application, multiple dynamic lock screen wallpapers can be generated by an AI model according to an image or video selected by the user. The virtual characters in different dynamic lock screen wallpapers perform different actions. When the electronic device 100 is in the locked screen state, different dynamic lock screen wallpapers can be matched and displayed according to different behaviors of the user, so that the virtual characters displayed on the locked screen pose different actions. The interactivity between the user and the virtual characters is increased when the electronic device 100 displays the virtual characters on the locked screen.

[0237] In a possible implementation, when the electronic device 100 detects a third behavior of the user through the camera in the locked screen state, if the electronic device 100 fails to determine a dynamic lock screen wallpaper that matches the third behavior from multiple dynamic lock screen wallpapers of the target lock screen wallpaper and the number of times the third behavior of the user is detected during the locked screen state is greater than a certain threshold (for example, 3 times). The electronic device 100 may send the third behavior and the first image or the first video used to generate the target lock screen wallpaper to the cloud server 200. The cloud server 200 may generate a third dynamic lock screen wallpaper corresponding to the third behavior based on the third behavior and the first image or the first video, where the third dynamic lock screen wallpaper includes a target virtual object and the target virtual object performs a third action. The electronic device 100 may send the third dynamic lock screen wallpaper to the electronic device 100. If the electronic device 100 detects the third behavior of the user through the camera again in the locked screen state, the electronic device 100 may display the third dynamic lock screen wallpaper on the display screen. In this way, if a new behavior of the user is detected during the locked screen state, a new dynamic lock screen wallpaper can also be supplemented and displayed in a timely manner, so that the user can receive timely feedback when making a new behavior.

[0238] Specifically, the cloud server 200 may generate action parameters for the third action according to the third behavior. The cloud server 200 may input the action parameters of the third action and the first image or the first video into the AI model to generate a third dynamic lock screen wallpaper. The third dynamic lock screen wallpaper includes a target virtual object and the target virtual object performs a third action.

[0239] In some embodiments, the target lock screen wallpaper in the target theme package may include a dynamic lock screen wallpaper with one or more actions. For example, the dynamic lock screen wallpaper with multiple actions may include a dynamic lock screen wallpaper when the target virtual object blinks, a dynamic lock screen wallpaper when the target virtual object tilts its head, a dynamic lock screen wallpaper when the target virtual object smiles, a dynamic lock screen wallpaper when the target virtual object turns its head, and a dynamic lock screen wallpaper when the target virtual object blinks and smiles, and so on. After the electronic device 100 obtains the target theme package, in the screen-on and locked state, it may first display the static lock screen wallpaper in the target lock screen wallpaper. If the electronic device 100 detects the fourth behavior of the user, the electronic device 100 plays and displays the first dynamic lock screen wallpaper. If the electronic device 100 detects the fifth behavior of the user, the electronic device 100 may play and display the second dynamic lock screen wallpaper. Among them, the fourth behavior is different from the fifth behavior, and the fourth action may be the same as or different from the fifth action. Among them, the dynamic lock screen wallpaper corresponds to a playing time. Before the playing time of the first dynamic lock screen wallpaper ends, if the electronic device 100 detects the fifth behavior, the electronic device 100 may, after the playing time corresponding to the first dynamic lock screen wallpaper, then play the second dynamic lock screen wallpaper. Before the playing time of the first dynamic lock screen wallpaper ends, if the electronic device 100 does not detect the user's behavior, the electronic device 100 may, after the playing time corresponding to the first dynamic lock screen wallpaper, display the static lock screen wallpaper until the electronic device 100 detects the second behavior of the user, and then play the second dynamic lock screen wallpaper.

[0240] In one possible implementation, the static lock screen wallpaper may be a frame image in the dynamic lock screen wallpaper. For example, the static lock screen wallpaper may be the first frame image or the last frame image in the dynamic lock screen wallpaper. In another possible implementation, the target lock screen wallpaper in the target theme package may include a static lock screen wallpaper and a dynamic lock screen wallpaper with one or more actions.

[0241] In one possible implementation, the electronic device 100 may store the correspondence between the user's behavior and actions, and the correspondence between the actions and the dynamic lock screen wallpapers in the target lock screen wallpaper. If the electronic device 100 detects the target behavior of the user (for example, the fourth behavior or the fifth behavior), the electronic device 100 may, based on the target behavior of the user, determine the target action corresponding to the target behavior from the correspondence between the user's behavior and actions. Then, the electronic device 100 may, based on the target action, determine the target dynamic lock screen wallpaper corresponding to the target action from the correspondence between the actions and the dynamic lock screen wallpapers.

[0242] In a possible implementation, the electronic device 100 may store the correspondence between the user's behaviors and the dynamic lock screen wallpapers. If the electronic device 100 detects the user's target behavior, the electronic device 100 may determine the target dynamic lock screen wallpaper corresponding to the target behavior from the correspondence between the user's behaviors and the dynamic lock screen wallpapers.

[0243] In some embodiments, the target desktop wallpaper in the target theme package may include dynamic desktop wallpapers with one or more actions. For example, the dynamic desktop wallpapers with one or more actions may include the dynamic desktop wallpaper when the target virtual object blinks, the dynamic desktop wallpaper when the target virtual object tilts its head, the dynamic desktop wallpaper when the target virtual object smiles, the dynamic desktop wallpaper when the target virtual object turns its head, and the dynamic desktop wallpaper when the target virtual object blinks and smiles, and so on. After the electronic device 100 obtains the target theme package, when the screen is on and unlocked and the desktop is displayed, the static desktop wallpaper in the target desktop wallpaper may be displayed on the desktop first. If the electronic device 100 detects the user's sixth behavior, the electronic device 100 displays the first dynamic desktop wallpaper. If the electronic device 100 detects the user's seventh behavior, the electronic device 100 displays the second dynamic desktop wallpaper. Among them, the sixth behavior is different from the seventh behavior, and the sixth action may be the same as or different from the seventh action. Among them, the dynamic desktop wallpaper corresponds to a playing time. Before the playing time of the first dynamic desktop wallpaper ends, if the electronic device 100 detects the fifth behavior, the electronic device 100 may play the second dynamic desktop wallpaper after the playing time corresponding to the first dynamic desktop wallpaper. Before the playing time of the first dynamic desktop wallpaper ends, if the electronic device 100 does not detect the user's behavior, the electronic device 100 may display the static desktop wallpaper after the playing time corresponding to the first dynamic desktop wallpaper until the electronic device 100 detects the user's second behavior and then plays the second dynamic desktop wallpaper.

[0244] In a possible implementation, the static desktop wallpaper may be a frame image in the dynamic desktop wallpaper. For example, the static desktop wallpaper may be the first frame image or the last frame image in the dynamic desktop wallpaper. In another possible implementation, the target desktop wallpaper in the target theme package may include the static desktop wallpaper and the dynamic desktop wallpapers with one or more actions.

[0245] In a possible implementation, the electronic device 100 may store the correspondence between the user's behaviors and actions, and the correspondence between the actions and the dynamic desktop wallpapers in the target desktop wallpapers. If the electronic device 100 detects the user's target behavior (for example, the sixth behavior or the seventh behavior), the electronic device 100 may determine the target action corresponding to the target behavior from the correspondence between the user's behaviors and actions based on the user's target behavior. Then, the electronic device 100 may determine the target dynamic desktop wallpaper corresponding to the target action from the correspondence between the actions and the dynamic desktop wallpapers based on the target action.

[0246] In a possible implementation, the electronic device 100 may store the correspondence between the user's behaviors and the dynamic desktop wallpapers. If the electronic device 100 detects the user's target behavior, the electronic device 100 may determine the target dynamic desktop wallpaper corresponding to the target behavior from the correspondence between the user's behaviors and the dynamic desktop wallpapers based on the user's target behavior.

[0247] In a possible implementation, the abstraction level of the target screen-off wallpaper may be less than the abstraction level of the target lock-screen wallpaper, and the abstraction level of the target lock-screen wallpaper is less than the abstraction level of the target desktop wallpaper. Among them, the higher the abstraction level of the wallpaper, the lower the similarity between the target virtual object in the wallpaper and the first object in the first image or the first video. When generating the target screen-off wallpaper through the AI model, the cloud server 200 may input the first abstraction level into the AI model. When generating the target lock-screen wallpaper through the AI model, the cloud server 200 may input the second abstraction level into the AI model. When generating the target desktop wallpaper through the AI model, the cloud server 200 may input the third abstraction level into the AI model. Among them, the third abstraction level is greater than the second abstraction level and greater than the first abstraction level. In this way, when the electronic device 100 switches from the screen-off state to the lock-screen state, and then from the lock-screen state to the unlocked state, the user can be gradually brought from the real world to the virtual world in terms of visual display.

[0248] Optionally, the third abstraction level is less than the second abstraction level and less than the first abstraction level. In this way, when the electronic device 100 switches from the screen-off state to the lock-screen state, and then from the lock-screen state to the unlocked state, the user can be gradually brought from the virtual world to the real world in terms of visual display.

[0249] In a possible implementation, the cloud server 200 can also generate, through an AI model, a first transition animation from a target lock screen wallpaper to a target home screen wallpaper based on a first image or a first video, and a second transition animation from the target lock screen wallpaper to the target home screen wallpaper. The target theme package can also include the first transition animation and the second transition animation. The first transition animation includes an animation of transitioning from the target lock screen wallpaper to the target home screen wallpaper. The second transition animation includes an animation of transitioning from the target lock screen wallpaper to the target home screen wallpaper. For example, the first frame image in the first transition animation can be the target lock screen wallpaper, and the last frame image in the first transition animation can be the target home screen wallpaper. The first frame image in the second transition animation can be the target lock screen wallpaper, and the last frame image in the second transition animation can be the target home screen wallpaper. When the electronic device 100 is in the lock screen state, it can display the target lock screen wallpaper. When the electronic device 100 detects an operation of lighting up the display screen (hereinafter referred to as the screen-on operation), the electronic device 100 can display the first transition animation, and after displaying the first transition animation, display a lock screen interface including the target lock screen wallpaper. When the electronic device 100 is displaying the lock screen interface including the target lock screen wallpaper, it can authenticate the user (for example, face authentication, fingerprint authentication, password authentication). If the authentication is passed, the electronic device 100 can display the second transition animation, and after displaying the second transition animation, display a home screen including the target home screen wallpaper. In this way, there can be a visual continuity during the process of the electronic device 100 switching from the lock screen state to the unlocked state, and then from the unlocked state to the home screen state.

[0250] Optionally, the degree of abstraction from the first frame image to the last frame image in the first transition animation gradually increases. The degree of abstraction from the first frame image to the last frame image in the second transition animation gradually increases. In this way, during the process of the electronic device 100 switching from the lock screen state to the unlocked state, and then from the unlocked state to the home screen state, the user can be smoothly and continuously brought from the real world to the virtual world in terms of visual display.

[0251] In some embodiments, the electronic device 100 may support displaying the wallpaper in the target theme package in different display orientations. For example, the electronic device 100 may display the wallpaper in the target theme package in portrait orientation or in landscape orientation. The target theme package includes a target lock screen wallpaper, a target home screen wallpaper, and a target screen-off wallpaper in one display orientation. For example, the target theme package includes a target lock screen wallpaper, a target home screen wallpaper, and a target screen-off wallpaper in portrait display orientation. When the electronic device 100 directly displays the target lock screen wallpaper or the target home screen wallpaper or the target screen-off wallpaper in the target theme package in landscape orientation while in portrait orientation, the target virtual objects in these wallpapers will be horizontally stretched and deformed. Or, when the electronic device 100 directly displays the target lock screen wallpaper or the target home screen wallpaper or the target screen-off wallpaper in the target theme package in portrait orientation while in landscape orientation, the target virtual objects in these wallpapers will be horizontally compressed and deformed.

[0252] Exemplarily, as Figure 9A shown, the display orientation of the electronic device 100 is the portrait display orientation. The electronic device 100 may display a lock screen interface 910. Among them, the target lock screen wallpaper may be displayed in the lock screen interface 910, and the target virtual object 911 is included in the target lock screen wallpaper.

[0253] As Figure 9B shown, when the electronic device 100 switches from the portrait display orientation to the landscape display orientation, the electronic device 100 may display a lock screen interface 920. Among them, the lock screen wallpaper displayed in the lock screen interface 920 is compressed vertically and stretched horizontally compared to the target lock screen wallpaper in the above lock screen interface 910. This causes the target virtual object 921 displayed on the lock screen interface 920 to also be compressed vertically and stretched horizontally, resulting in a poor display effect.

[0254] Therefore, the electronic device 100 may, according to the display orientation of the display screen, keep the aspect ratio of the main area where the target virtual object is located in the wallpaper unchanged, and fill or crop the background area of the wallpaper in the target theme package using the display size of the display screen. Thus, while enabling the wallpaper in the target theme package to adapt to the display orientation of the display screen for display, it is ensured that the target virtual object is not deformed during display.

[0255] For example, as Figure 9C shown, when the electronic device 100 switches from the Figure 9A shown portrait display orientation to the landscape display orientation, the electronic device 100 may display a lock screen interface 930. Among them, the lock screen wallpaper displayed in the lock screen interface 930, compared to the target lock screen wallpaper in the above lock screen interface 910, the size of the target virtual object 931 is proportionally enlarged or reduced, and the aspect ratio of the target virtual object 931 remains unchanged.

[0256] Among them, the sizes of the wallpapers in the target theme package are cropped according to the display screen size of the electronic device 100 in the vertical screen display direction. When the electronic device 100 switches from the vertical screen to the horizontal screen, it can identify the main area 1 where the target virtual object is located in the wallpaper and the background area 1 outside the target virtual object. The electronic device 100 can keep the aspect ratio of the main area 1 where the target virtual object is located unchanged, and the main area 1 is reduced or enlarged to a specified multiple in equal proportion to obtain the main area 2. The upper part and the lower part of the background area 1 are cropped, and the background area 2 is filled and widened in the left direction or the right direction to obtain the background area 2. Among them, the length of the background area 2 in the left and right directions is equal to the length of the background area 1 in the up and down directions, and the length of the background area 2 in the up and down directions is equal to the length of the background area 1 in the left and right directions.

[0257] Exemplarily, as Figure 10A shown, when the electronic device 100 displays the wallpaper 1 in the vertical screen display direction, the length of the wallpaper 1 in the up and down directions can be A, and the length in the left and right directions can be B. The length of the main area where the target virtual object is located in the up and down directions can be C1, and the length in the left and right directions can be D1. Among them, the length of the display screen is A, the width of the display screen is B, A is greater than B, and C1 is greater than D1.

[0258] As Figure 10B shown, in order to obtain the wallpaper 2 displayed by the electronic device 100 in the horizontal screen display direction, the electronic device 100 can crop the upper part and the lower part of the background area in the wallpaper 1, widen the background area of the wallpaper 1 in the left and right directions, and adjust the length of the main area in the up and down directions to C2 and the length of the main area in the left and right directions to D2 to obtain the wallpaper 2. Among them, the length of the wallpaper 2 in the left and right directions is A, and the length of the wallpaper 2 in the up and down directions is B. Among them, C2:D2 = C1:D1, and B:D1 = B:C2.

[0259] If the sizes of the wallpapers in the target theme package are cropped according to the display screen size of the electronic device 100 in the horizontal screen display direction. When the electronic device 100 switches from the horizontal screen to the vertical screen, it can identify the main area 1 where the target virtual object is located in the wallpaper and the background area 1 outside the target virtual object. The electronic device 100 can keep the aspect ratio of the main area 1 where the target virtual object is located unchanged, and the main area 1 is reduced or enlarged to a specified multiple in equal proportion to obtain the main area 2. The left part and the right part of the background area 1 are cropped, and the background area 1 is filled and widened in the up direction or the down direction to obtain the background area 2. Among them, the length of the background area 2 in the left and right directions is equal to the length of the background area 1 in the up and down directions, and the length of the background area 2 in the up and down directions is equal to the length of the background area 1 in the left and right directions.

[0260] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A theme setting method, characterized in that, Communication system applied to an electronic device and a cloud server; the method includes: The electronic device receives a first operation in which a user selects to use a first image or a first video to create a theme pack. In response to the first operation, the electronic device sends the first image or the first video to the cloud server, where the first image includes a first object and the first video includes the first object. Based on the first object in the first image or the first video, the cloud server generates a target theme pack through an artificial intelligence AI model. The target theme pack includes a target lock screen wallpaper, a target home screen wallpaper, and a target standby screen wallpaper, and a target virtual object corresponding to the first object is included in the target lock screen wallpaper, the target home screen wallpaper, and the target standby screen wallpaper. The cloud server sends the target theme pack to the electronic device. After the electronic device receives a second operation in which the user applies the target theme pack, the electronic device performs at least one of the following: Displays the target standby screen wallpaper in the standby state. Displays the target lock screen wallpaper in the lit and locked state; or, Displays the target home screen wallpaper on the desktop in the lit and unlocked state.

2. The method according to claim 1, characterized in that, Before the electronic device receives the first operation in which the user selects to use a first image or a first video to create a theme pack, the method includes: The electronic device receives an operation to open the settings application. In response to the operation to open the settings application, the electronic device displays a settings application interface, where the settings application interface includes one or more setting entries, and the one or more setting entries include a first setting entry. After the electronic device receives an operation by the user on the first setting entry, the electronic device displays a first theme setting interface, where the first theme setting interface includes an adding control and a theme sample. After the electronic device receives an operation by the user on the adding control, the electronic device obtains the first image or the first video selected or taken by the user. After the electronic device obtains the first image or the first video selected by the user, the electronic device displays a second theme setting interface, where the second theme setting interface includes a start generation control and the first image or the first video; wherein, the first operation is an operation on the start generation control.

3. The method according to claim 1 or 2, characterized in that, Before the electronic device receives the second operation in which the user applies the target theme pack, the method further includes: After the electronic device receives the target theme pack, the electronic device displays a third theme setting interface, where the third theme setting interface includes a preview effect diagram of the target theme pack and a theme usage control, and the second operation is an operation on the theme usage control.

4. The method according to any one of claims 1 to 3, characterized in that, The target standby screen wallpaper includes a first dynamic standby screen wallpaper, and the first dynamic standby screen wallpaper includes an animation in which the target virtual object performs a first action. When the electronic device displays the target standby screen wallpaper in the standby state, it specifically includes: If the electronic device detects a first behavior of the user, the electronic device displays the first dynamic standby screen wallpaper.

5. The method according to claim 4, wherein The target screen-off wallpaper further includes a second dynamic screen-off wallpaper, and the second dynamic screen-off wallpaper includes an animation of the target virtual object performing a second action; The method further includes: When the electronic device is in the screen-off state, if a second behavior of the user is detected, the second dynamic screen-off wallpaper is displayed, where the first behavior is different from the second behavior, and the first action is different from the second action.

6. The method according to claim 4 or 5, characterized in that, The method further includes: When the electronic device is in the screen-off state, the electronic device detects a third behavior of the user. If the electronic device fails to determine a dynamic screen-off wallpaper matching the third behavior from the target screen-off wallpaper and the number of times the third behavior is detected during screen-off is greater than a specified threshold, the electronic device sends the third behavior and the first image or the first video to the cloud server; The cloud server generates a third dynamic screen-off wallpaper corresponding to the third behavior based on the third behavior, where the third dynamic screen-off wallpaper includes an animation of the target virtual object performing a third action, the first behavior, the second behavior, and the third behavior are different from each other, and the first action, the third action, and the third action are different from each other; The cloud server sends the third dynamic screen-off wallpaper to the electronic device; If the electronic device detects the third behavior of the user again when it is in the screen-off state, the electronic device displays the third dynamic screen-off wallpaper.

7. The method according to any one of claims 1-6, characterized in that, The target lock screen wallpaper includes a first dynamic lock screen wallpaper, and the first dynamic lock screen wallpaper includes an animation of the target virtual object performing a fourth action; The electronic device displays the target lock screen wallpaper when it is in the lit and locked state, specifically including: If the electronic device detects a fourth behavior of the user, the electronic device displays the first dynamic lock screen wallpaper.

8. The method according to claim 7, wherein The target lock screen wallpaper further includes a second dynamic lock screen wallpaper, and the second dynamic lock screen wallpaper includes an animation of the target virtual object performing a fifth action; The method further includes: When the electronic device is in the lit and locked state, if a fifth behavior of the user is detected, the second dynamic lock screen wallpaper is displayed, where the fourth behavior is different from the fifth behavior, and the fourth action is different from the fifth action.

9. The method according to any one of claims 1-8, characterized in that, The target desktop wallpaper includes a first dynamic desktop wallpaper, and the first dynamic desktop wallpaper includes an animation of the target virtual object performing a sixth action; The electronic device displays the target desktop wallpaper on the desktop when it is in the lit and unlocked state, specifically including: When the electronic device is in the lit and unlocked state, if a sixth behavior of the user is detected, the electronic device displays the first dynamic desktop wallpaper.

10. The method according to claim 9, wherein The target desktop wallpaper further includes a second dynamic desktop wallpaper, and the second dynamic desktop wallpaper includes an animation of the target virtual object performing a seventh action; The method further includes: When the electronic device is in the lit and unlocked state, if a seventh behavior of the user is detected, the electronic device displays the second dynamic desktop wallpaper, where the sixth behavior is different from the seventh behavior, and the sixth action is different from the seventh action.

11. The method according to any one of claims 1-10, characterized in that, The target theme package further includes a virtual object image, where the virtual object image includes the target virtual object; the method further includes: After the electronic device receives the second operation of the user applying the target theme package, the electronic device receives a third operation of the user starting the voice assistant; In response to the third operation, the electronic device displays a dialogue window of the voice assistant, where the dialogue window includes the virtual object image.

12. The method according to any one of claims 1-11, characterized in that, When the electronic device sends the first video to the cloud server, the first video includes first audio, and the first audio has a first sound feature of the first object; The method further includes: The cloud server sends a first file to the electronic device, where the first file is obtained by the cloud server according to the first audio; After the electronic device receives the second operation of the user applying the target theme package, the electronic device receives a third operation of the user starting the voice assistant; In response to the third operation, the electronic device plays a reply voice according to the first file, and the reply voice has the first sound feature.

13. The method according to any one of claims 1-12, characterized in that, When the electronic device sends the first video to the cloud server, the first video includes first audio, and the first audio has a first sound feature of the first object; The method further includes: The cloud server sends a second file to the electronic device, where the second file includes prompt sounds of one or more scenarios, the prompt sounds of the one or more scenarios include a first prompt sound of a first scenario, and the prompt sounds of the one or more scenarios have the first sound feature; When the electronic device detects that it is in the first scenario, the first prompt sound is played.

14. The method according to any one of claims 1-13, characterized in that, The method further includes: In response to the first operation, the electronic device sends the device model of the electronic device to the cloud server; The cloud server generates a target theme package based on the first object in the first image or the first video through an artificial intelligence AI model, specifically including: The cloud server generates a virtual image through the AI model based on the first image or the first video, and the virtual image includes the target virtual object; The cloud server determines the pixel size of the target lock screen wallpaper, the pixel size of the target home screen wallpaper, and the pixel size of the target lock screen wallpaper based on the device model of the electronic device; The cloud server determines the target lock screen wallpaper in the target theme package from the virtual image according to the pixel size of the target lock screen wallpaper; The cloud server determines the target home screen wallpaper in the target theme package from the virtual image according to the pixel size of the target home screen wallpaper; The cloud server determines the target desktop wallpaper in the target theme package from the virtual image according to the pixel size of the target desktop wallpaper.

15. The method according to any one of claims 1 to 14, characterized in that, The pixel size of the target lock screen wallpaper is greater than the pixel size of the target home screen wallpaper, and the pixel size of the target home screen wallpaper is greater than the pixel size of the target lock screen wallpaper.

16. The method according to any one of claims 1-15, characterized in that, In the target standby wallpaper, the target virtual object assumes a first pose; in the target lock screen wallpaper, the target virtual object assumes a second pose; and in the target home screen wallpaper, the target virtual object assumes a third pose. Among them, the first pose, the second pose, and the third pose are all different.

17. The method according to any one of claims 1-16, characterized in that, The AI model includes an image-to-image generation model and a video-to-image generation model. When the cloud server receives the first image, the cloud server generates the target theme package based on the first image and the image-to-image generation model. When the cloud server receives the first video, the cloud server generates the target theme package based on the first video and the video-to-image generation model.

18. The method according to any one of claims 1-17, characterized in that, The abstraction level of the target virtual object in the target standby wallpaper relative to the first object is the first abstraction level; the abstraction level of the target virtual object in the target lock screen wallpaper relative to the first object is the second abstraction level; and the abstraction level of the target virtual object in the target home screen wallpaper relative to the first object is the third abstraction level. Among them, the third abstraction level is greater than the second abstraction level and the second abstraction level is greater than the first abstraction level, or the third abstraction level is less than the second abstraction level and the second abstraction level is less than the first abstraction level.

19. The method according to any one of claims 1-18, characterized in that, The target theme package further includes a first transition animation. The method further includes: When the electronic device displays the target standby wallpaper in the standby state, a screen-on operation by the user is detected. In response to the screen-on operation, the electronic device displays the first transition animation, and after the first transition animation is displayed, the target lock screen wallpaper is displayed. The first transition animation includes an animation of transitioning from the target standby wallpaper to the target lock screen wallpaper.

20. The method according to any one of claims 1-19, characterized in that, The target theme package further includes a second transition animation. The method further includes: When the electronic device is in the locked and screen-on state, an unlock operation by the user is detected. If the electronic device unlocks successfully, the electronic device displays the second transition animation, and after the second transition animation is displayed, the target home screen wallpaper is displayed. The second transition animation includes an animation of transitioning from the target lock screen wallpaper to the target home screen wallpaper.

21. A theme setting method, characterized in that, Applied to an electronic device, the method includes: Receiving a first operation by the user to select to use a first image or a first video to create a theme package. In response to the first operation, sending the first image or the first video to the cloud server. The first image includes a first object, the first video includes the first object, and the first image or the first video is used by the cloud server to generate a theme package. Receiving the target theme package sent by the cloud server. The target theme package includes a target standby wallpaper, a target lock screen wallpaper, and a target home screen wallpaper, and the target virtual object corresponding to the first object is included in all of the target standby wallpaper, the target lock screen wallpaper, and the target home screen wallpaper. After receiving a second operation by the user to apply the target theme package, the electronic device performs at least one of the following: Displaying the target standby wallpaper in the standby state; Displaying the target lock screen wallpaper in the screen-on and locked state; or, When the screen is on and unlocked, display the target desktop wallpaper on the desktop.

22. The method according to claim 1, wherein Before receiving a first operation in which the user selects to use a first image or a first video to create a theme package, the method includes: Receiving an operation to open the settings application; In response to the operation of opening the settings application, display a settings application interface, the settings application interface including one or more setting entries, the one or more setting entries including a first setting entry; After receiving the user's operation on the first setting entry, display a first theme setting interface, the first theme setting interface including an adding control and a theme sample; After receiving the user's operation on the adding control, obtain the first image or the first video selected or taken by the user; After obtaining the first image or the first video selected by the user, display a second theme setting interface, the second theme setting interface including a start generation control, and the first image or the first video; wherein, the first operation is an operation on the start generation control.

23. The method according to claim 21 or 22, characterized in that, Before receiving a second operation in which the user applies the target theme package, the method further includes: After receiving the target theme package, display a third theme setting interface, the third theme setting interface including a preview effect diagram of the target theme package and a theme usage control, the second operation being an operation on the theme usage control.

24. The method according to any one of claims 21-23, characterized in that, The target screen-off wallpaper includes a first dynamic screen-off wallpaper, and the first dynamic screen-off wallpaper includes an animation in which the target virtual object performs a first action; Displaying the target screen-off wallpaper in the screen-off state specifically includes: If the electronic device detects a first behavior of the user, the electronic device turns off the screen and displays the first dynamic screen-off wallpaper.

25. The method according to claim 24, characterized in that, The target screen-off wallpaper further includes a second dynamic screen-off wallpaper, and the second dynamic screen-off wallpaper includes an animation in which the target virtual object performs a second action; the method further includes: In the screen-off state, if a second behavior of the user is detected, display the second dynamic screen-off wallpaper, wherein the first behavior is different from the second behavior, and the first action is different from the second action.

26. The method according to claim 24 or 25, characterized in that, The method further includes: In the screen-off state, detecting a third behavior of the user; If no dynamic screen-off wallpaper matching the third behavior is determined from the target screen-off wallpaper and the number of times the third behavior is detected during screen-off is greater than a specified threshold, send the third behavior and the first image or the first video to the cloud server; Receive a third dynamic screen-off wallpaper, the third dynamic screen-off wallpaper corresponding to the third behavior, wherein the third dynamic screen-off wallpaper includes an animation in which the target virtual object performs a third action, the first behavior, the second behavior and the third behavior are all different from each other, and the first action, the third action and the third action are all different from each other; If the third behavior of the user is detected again in the screen-off state, display the third dynamic screen-off wallpaper.

27. The method according to any one of claims 21-26, characterized in that, The target lock screen wallpaper includes a first dynamic lock screen wallpaper, and the first dynamic lock screen wallpaper includes an animation in which the target virtual object performs a fourth action; The displaying of the target lock screen wallpaper in the screen-on and locked state specifically includes: If a fourth action of the user is detected, display the first dynamic lock screen wallpaper.

28. The method according to claim 27, characterized in that, The target lock screen wallpaper further includes a second dynamic lock screen wallpaper, and the second dynamic lock screen wallpaper includes an animation of the target virtual object performing a fifth action; The method further includes: In the screen-on and locked state, if a fifth action of the user is detected, display the second dynamic lock screen wallpaper, where the fourth action is different from the fifth action, and the fourth action is different from the fifth action.

29. The method according to any one of claims 21-28, characterized in that, The target home screen wallpaper includes a first dynamic home screen wallpaper, and the first dynamic home screen wallpaper includes an animation of the target virtual object performing a sixth action; The displaying of the target home screen wallpaper on the home screen in the screen-on and unlocked state specifically includes: When the electronic device is in the screen-on and unlocked state, if a sixth action of the user is detected, display the first dynamic home screen wallpaper.

30. The method according to claim 29, wherein The target home screen wallpaper further includes a second dynamic home screen wallpaper, and the second dynamic home screen wallpaper includes an animation of the target virtual object performing a seventh action; The method further includes: In the screen-on and locked state, if a seventh action of the user is detected, display the second dynamic home screen wallpaper, where the sixth action is different from the seventh action, and the sixth action is different from the seventh action.

31. The method according to any one of claims 21 - 30, characterized in that, The target theme package further includes a virtual object image, where the virtual object image includes the target virtual object; the method further includes: After receiving the second operation of the user applying the target theme package, receive the third operation of the user starting the voice assistant; In response to the third operation, display the dialogue window of the voice assistant, where the dialogue window includes the virtual object image.

32. The method according to any one of claims 21-31, characterized in that, In the case of sending the first video to the cloud server, the first video includes first audio, and the first audio has the first sound feature of the first object; The method further includes: Receive a first file sent by the cloud server, where the first file is obtained by the cloud server based on the first audio; After receiving the second operation of the user applying the target theme package, receive the third operation of the user starting the voice assistant; In response to the third operation, play a reply voice according to the first file, and the reply voice has the first sound feature.

33. The method according to any one of claims 21-32, characterized in that, In the case of the electronic device sending the first video to the cloud server, the first video includes first audio, and the first audio has the first sound feature of the first object; The method further includes: Receive a second file sent by the cloud server, where the second file includes prompt sounds for one or more scenarios, the prompt sounds for the one or more scenarios include a first prompt sound for a first scenario, and the prompt sounds for the one or more scenarios have the first sound feature; When the electronic device detects that it is in the first scenario, play the first prompt sound.

34. The method according to any one of claims 21-33, characterized in that, The pixel size of the target lock screen wallpaper is greater than that of the target desktop wallpaper, and the pixel size of the target desktop wallpaper is greater than that of the target screen-off wallpaper.

35. The method according to any one of claims 21-33, characterized in that, In the target screen-off wallpaper, the target virtual object assumes a first pose; in the target lock screen wallpaper, the target virtual object assumes a second pose; in the target desktop wallpaper, the target virtual object assumes a third pose; wherein, the first pose, the second pose, and the third pose are all different.

36. The method according to any one of claims 21 - 35, characterized in that, The degree of abstraction of the target virtual object relative to the first object in the target screen-off wallpaper is a first degree of abstraction, the degree of abstraction of the target virtual object relative to the first object in the target lock screen wallpaper is a second degree of abstraction, and the degree of abstraction of the target virtual object relative to the first object in the target desktop wallpaper is a third degree of abstraction; wherein, the third degree of abstraction is greater than the second degree of abstraction and greater than the first degree of abstraction, or, the third degree of abstraction is less than the second degree of abstraction and less than the first degree of abstraction.

37. The method according to any one of claims 21-36, characterized in that, The target theme package further includes a first transition animation; the method further includes: When the target screen-off wallpaper is displayed in the screen-off state, a screen-on operation by the user is detected. In response to the screen-on operation, the first transition animation is displayed, and after the first transition animation is displayed, the target lock screen wallpaper is displayed. The first transition animation includes an animation of transitioning from the target screen-off wallpaper to the target lock screen wallpaper.

38. The method according to any one of claims 21-37, characterized in that, The target theme package further includes a second transition animation; the method further includes: When the device is locked and the screen is on, an unlocking operation by the user is detected. If the electronic device is successfully unlocked, the electronic device displays the second transition animation, and after the second transition animation is displayed, the target desktop wallpaper is displayed. The second transition animation includes an animation of transitioning from the target lock screen wallpaper to the target desktop wallpaper.

39. An electronic device, characterized in that, Comprising: A display screen, one or more processors, and one or more memories; The display screen and the one or more memories are respectively coupled to the one or more processors; The one or more memories are used to store a computer program; when the computer program runs on the one or more processors, the electronic device is caused to execute the method according to any one of claims 21-38.

40. A computer-readable storage medium, characterized in that, Comprising a computer program, when the computer program runs on a processor of an electronic device, the electronic device is caused to execute the method according to any one of claims 21-38.

41. A chip, characterized in that, Comprising: A processing circuit and an interface circuit. The interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to run the code instructions so that the chip executes the method according to any one of claims 21-38.

Citation Information

Cited By

  • Wallpaper generation method and system, electronic equipment and vehicle

    CN121166266A

  • Display content and data processing method, device, system and chip

    CN122018742A