Wallpaper generation method, readable storage medium, and electronic device

By recognizing the main subject of an image in an electronic device to generate interactive components and configuring them as wallpapers, the problem of poor user experience with static wallpapers is solved, personalized interactive wallpapers are realized, and the user experience is improved.

WO2026091649A1PCT designated stage Publication Date: 2026-05-07HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2025-06-30
Publication Date
2026-05-07

AI Technical Summary

Technical Problem

Wallpapers displayed on electronic devices are usually static, non-interactive images, resulting in a poor user experience.

Method used

By identifying the subject in the image selected by the user, interactive components are generated and configured as wallpapers, supporting interactive animations or functions triggered by user actions.

Benefits of technology

It enhances the interactivity and fun of the user interface, meets users' personalized needs, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025105994_07052026_PF_FP_ABST
    Figure CN2025105994_07052026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of terminals, and in particular, to a wallpaper generation method, a readable storage medium, and an electronic device. In the method, an electronic device may, in response to an operation of configuring a wallpaper in an image selected by a user, identify a subject in the image. Then, the electronic device may obtain, on the basis of each subject, a display style and an interaction parameter of an interactive component, generate, on the basis of the obtained display style and interaction parameter, an interactive wallpaper comprising the interactive component, and configure, on the basis of a user operation, the interactive wallpaper as a wallpaper of a first interface (such as a desktop interface, a lock screen interface, and a screen-off display interface). Finally, when displaying the first interface, the electronic device may display, on the basis of the user operation, an interaction effect corresponding to the interactive component or execute a function associated with the interactive component. In this way, the electronic device can generate an interactive component on the basis of an image selected by a user, which can meet personalization requirements of the user, and is beneficial to improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Wallpaper generation methods, readable storage media, and electronic devices

[0001] This application claims priority to Chinese Patent Application No. 202411524227.6, filed on October 29, 2024, entitled "Wallpaper Generation Method, Readable Storage Medium and Electronic Device", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of terminal technology, and in particular to a wallpaper generation method, a readable storage medium, and an electronic device. Background Technology

[0003] To enhance the visual appeal of user interfaces on electronic devices, these devices can configure user-selected images as wallpapers for different display interfaces (such as desktop, lock screen, and always-on display) based on user actions. However, the wallpapers configured for display interfaces on electronic devices are typically static, non-interactive images, resulting in a poor user experience. Summary of the Invention

[0004] In view of this, this application provides a wallpaper generation method, a readable storage medium, an electronic device, and a program product.

[0005] In a first aspect, a wallpaper generation method is provided, applied to an electronic device. The method includes: detecting a user's wallpaper generation instruction and acquiring at least one first image selected by the user; identifying at least one subject in the first image and determining at least one interactive component and the display style of each interactive component based on the at least one subject, wherein the display style of the interactive component includes the corresponding subject; and generating a first wallpaper based on the at least one interactive component.

[0006] In this method, the electronic device can use the subject in the first image selected by the user as the display style of the interactive component (i.e., visually, the interactive component includes at least part of the image content of the subject), and configure the first wallpaper (as the interactive wallpaper) based on the generated interactive component. In this way, the electronic device can respond to user operations and configure interactive components that meet the user's personalized needs, which is beneficial to improving the user experience.

[0007] In one possible implementation of the first aspect above, determining at least one interactive component and the display style of each interactive component based on at least one subject includes: obtaining at least some subjects selected by the user from at least one subject; and generating interactive components corresponding to at least some subjects based on the at least some subjects.

[0008] In this implementation, the electronic device can identify at least one subject in one or more first images selected by the user, and generate interactive components based on the one or more subjects selected by the user (i.e., at least some subjects). In other words, after identifying the subjects in the first images, the user can configure the subjects for which corresponding interactive components should be generated based on their own needs.

[0009] In one possible implementation of the first aspect above, at least some of the subjects include a first subject, and the first component corresponding to the first subject is generated by: determining a first display style corresponding to the first component and a first interaction parameter corresponding to the first component, wherein the display style includes one or more of the following: component shape, component background, component size, component orientation, orientation of the corresponding subject in the component, and size of the corresponding subject in the component; the first interaction parameter includes a first interactive animation effect corresponding to the first component and / or a first function associated with the first component; and generating the first component based on the first display style and the first interaction parameter.

[0010] In this implementation, the electronic device can determine the display style of the first component based on the first subject, such as configuring the component shape based on the outline of the first subject and configuring the component background based on the main color of the first subject. In this way, the electronic device can provide the user with component parameters that match the specifications well.

[0011] In addition, the interactive animations and / or associated functions of the first component can also be automatically configured by the electronic device or selected based on user actions.

[0012] In one possible implementation of the first aspect above, the first display style corresponding to the first component is determined by: based on the subject features of the first subject, determining the first display style that matches the first subject among a plurality of preset display styles, wherein the subject features include at least one of the following features: main color, outline, and type.

[0013] In this implementation, the electronic device can automatically determine the first display style corresponding to the first component based on the main color of the first subject, the outline of the first subject, the type of the first subject (e.g., people, animals, buildings, etc.).

[0014] In one possible implementation of the first aspect above, the first display style corresponding to the first component is determined by: determining a second display style that matches the first subject among a plurality of preset display styles based on the subject features of the first subject, wherein the subject features include at least one of the following features: main color, outline, type; and modifying the display style of the second display style to the first display style based on user operation.

[0015] In this implementation, the first display style of the first subject can be obtained by the electronic device first determining a second display style that matches the first subject, and then modifying the second display style based on user operation.

[0016] In one possible implementation of the first aspect above, the first display style corresponding to the first subject is determined by: displaying multiple preset display styles; and using the display style selected by the user from the multiple preset display styles as the first display style.

[0017] In this implementation, the first display style of the first subject can be a display style selected by the user. For example, the user can select and configure parameters such as the component shape, component background, component size, component orientation, the orientation of the first subject in the first component, and the size of the first subject through operations on the electronic device to obtain the first display style.

[0018] In one possible implementation of the first aspect above, the first interactive animation effect is a preset animation effect, or an animation effect selected by the user from multiple interactive animation effects, or an animation effect determined by the electronic device based on the subject characteristics of the first subject; the first function is a preset function, or a function determined by the electronic device based on the subject characteristics of the first subject, or a function selected by the user from multiple functions.

[0019] In this implementation, the interactive animations and / or associated functions of the first component can be preset by the electronic device, selected by the user, or automatically matched by the electronic device. This provides users with more personalized options.

[0020] In one possible implementation of the first aspect above, generating the first wallpaper based on at least one interactive component includes: obtaining at least one system component selected by the user from a plurality of system components; and generating the first wallpaper based on at least one system component and at least one interactive component.

[0021] In this implementation, the first wallpaper may also include system components selected by the user. System components can be the operating system of the electronic device, interactive components provided by applications, service cards, etc. For example, information display components (such as step count components, battery level components, temperature components, time components, weather components, etc.), quick launch components (used to launch associated applications or services), quick call components, etc.

[0022] In one possible implementation of the first aspect above, the method further includes: displaying a first interface, wherein the wallpaper of the first interface is a first wallpaper, and the first interface is any one of the following interfaces: desktop interface, lock screen interface, and always-on display interface.

[0023] In this implementation, the first wallpaper can be configured as the wallpaper for the desktop interface, lock screen interface, and always-on display interface. It should be noted that other controls or icons can be overlaid on top of the first wallpaper in the first interface.

[0024] In one possible implementation of the first aspect described above, the method further includes: displaying a first interactive animation or performing a first function in response to a user's operation on a first component in a first interface or a second operation by the user on an electronic device.

[0025] In this implementation, when the first interface is displayed, the electronic device can respond to the user's first operation on the first component (such as clicking, dragging, zooming, etc.), or the user's second operation on the electronic device (such as adjusting the motion state of the electronic device (speed, acceleration, etc.)), or the user's interactive command (such as the command triggered by detecting the user's blowing operation, eye movement, etc.) to display the first interactive animation or execute the first function.

[0026] In one possible implementation of the first aspect above, the first wallpaper further includes at least one system component; and the method further includes: in response to a user's operation on the first system component in the first interface, executing a function corresponding to the first system component.

[0027] In this implementation, the first system component in the first interface can be associated with a corresponding function, and the electronic device can respond to the user's operation on the first system component and execute the function associated with the first system component.

[0028] In one possible implementation of the first aspect above, the method further includes: displaying the second component on a first interface in response to the state information of the electronic device matching the second component, or in response to a trigger event corresponding to the second component, or replacing the third component in at least one interactive component with the second component.

[0029] In this implementation, the electronic device can automatically adjust the components in the first interface based on the electronic device's status information and / or the trigger events detected by the electronic device. For example, it can replace the first component in the first interface with a second component, or add a second group to the first interface. Optionally, the electronic device can also delete the first component from the first interface based on the electronic device's status information or the detected trigger events.

[0030] In one possible implementation of the first aspect above, obtaining at least a portion of the subjects selected by the user from at least one subject includes: prompting the user to reselect subjects if the number and / or area of ​​at least one subject meets the regional conditions; and obtaining a portion of the subjects selected by the user from at least one subject.

[0031] In this implementation, if the subject selected by the user does not meet the regional conditions, the selected subject may not be able to be configured in a first wallpaper. The electronic device may prompt the user to reselect and use the reselected subject as the aforementioned partial subject.

[0032] Secondly, a wallpaper generation method is provided, applied to an electronic device. The method includes: detecting a user's wallpaper generation instruction and acquiring at least one first image selected by the user; identifying at least one subject in the first image; determining at least one interactive component and the display style of each interactive component based on the subject features of each subject, wherein the display style of the interactive component includes the corresponding subject; and generating a first wallpaper based on at least one interactive component.

[0033] In this implementation, the electronic device can use the main subject in the first image selected by the user as the display style of the interactive component (i.e., visually, the interactive component includes at least part of the image content of the main subject), and configure the first wallpaper (as the interactive wallpaper) based on the generated interactive component. In this way, the electronic device can respond to user operations and configure interactive components that meet the user's personalized needs, which helps to improve the user experience.

[0034] Thirdly, a wallpaper generation method is provided, applied to an electronic device. The method includes: detecting a user's wallpaper generation instruction, the wallpaper generation instruction being used to instruct at least one first image as wallpaper; displaying a first wallpaper corresponding to at least one first image, the first wallpaper including at least one interactive component, the display style of the interactive component including at least one subject in the first image.

[0035] In this method, the electronic device can automatically generate and display a first wallpaper (as an interactive wallpaper) corresponding to at least one first image in response to a user's action of setting at least one first image as wallpaper. In the first wallpaper, the display style of the interactive components is based on the main subject in the first image (i.e., visually, the interactive components include at least a portion of the image content of the main subject). Thus, the electronic device can respond to user operations and configure interactive components that meet the user's personalized needs, thereby improving the user experience.

[0036] Fourthly, an electronic device is provided, comprising: a memory for storing one or more programs; and a processor for executing the one or more programs to cause the electronic device to implement any of the wallpaper generation methods provided in the first to third aspects.

[0037] Fifthly, a readable storage medium is provided, the readable storage medium including one or more programs, which, when executed on an electronic device, cause the electronic device to implement any of the wallpaper generation methods provided in the first to third aspects above.

[0038] Sixthly, a program product is provided that, when executed on an electronic device, enables the electronic device to implement any one of the wallpaper generation methods provided in the first to third aspects.

[0039] It should be noted that the beneficial effects of the third to sixth aspects mentioned above can be referred to the contents of the first to third aspects mentioned above, and will not be repeated here. Attached Figure Description

[0040] Figure 1 illustrates a schematic diagram of a desktop interface including interactive components for a wallpaper, according to some embodiments of this application.

[0041] Figure 2 shows a schematic diagram of the structure of a mobile phone 10 according to some embodiments of this application.

[0042] Figure 3A illustrates a schematic diagram of an interactive wallpaper configuration based on the main subjects in images I1 and I2, according to some embodiments of this application.

[0043] Figure 3B illustrates a schematic diagram of a mobile phone 10 responding to a user operation to identify a subject in an image, according to some embodiments of this application.

[0044] Figure 3C illustrates a schematic diagram of a mobile phone 10 responding to user operations to modify the display style of an interactive component T1-1, according to some embodiments of this application.

[0045] Figure 3D illustrates a schematic diagram of a mobile phone 10 responding to user operation to modify the display style of an interactive component T2-1, according to some embodiments of this application.

[0046] Figure 3E illustrates a schematic diagram of a mobile phone 10 responding to user operations to add system components to an interactive wallpaper, according to some embodiments of this application.

[0047] Figure 3F illustrates a schematic diagram of a mobile phone 10 configuring an interactive wallpaper in response to user operation, according to some embodiments of this application.

[0048] Figure 3G illustrates a schematic diagram of a mobile phone 10 switching an interactive wallpaper adapted to a screen in response to a user operation, according to some embodiments of this application.

[0049] Figure 4A shows a schematic diagram of a mobile phone 10 displaying interactive animations in response to a click operation, according to some embodiments of this application.

[0050] Figure 4B shows a schematic diagram of a mobile phone 10 displaying interactive animations in response to a drag operation, according to some embodiments of this application.

[0051] Figure 4C shows a schematic diagram of a mobile phone 10 displaying interactive animations in response to a double-tap operation, according to some embodiments of this application.

[0052] Figure 4D illustrates a schematic diagram of another mobile phone 10 displaying interactive animations in response to a click operation, according to some embodiments of this application.

[0053] Figure 4E shows a schematic diagram of a mobile phone 10 displaying interactive animations in response to a user's blowing operation, according to some embodiments of this application.

[0054] Figure 4F shows a schematic diagram of a mobile phone 10 displaying interactive animations in response to changes in acceleration data, according to some embodiments of this application.

[0055] Figure 5A illustrates a schematic diagram of an interactive wallpaper configured with an always-on display interface, according to some embodiments of this application.

[0056] Figure 5B illustrates a schematic diagram of a configuration for displaying time and battery level according to some embodiments of this application.

[0057] Figure 5C illustrates a schematic diagram of an interactive wallpaper for editing an always-on display interface, according to some embodiments of this application.

[0058] Figure 6 illustrates a schematic diagram of an interactive wallpaper for configuring a lock screen interface, according to some embodiments of this application.

[0059] Figure 7A illustrates a schematic diagram of configuring an interactive wallpaper in a theme function according to some embodiments of this application.

[0060] Figure 7B illustrates a schematic diagram of editing an interactive wallpaper in a theme function according to some embodiments of this application.

[0061] Figure 8A illustrates a flowchart of generating an interactive wallpaper according to some embodiments of this application.

[0062] Figure 8B illustrates a flowchart of a mobile phone 10 responding to user interaction commands according to some embodiments of this application.

[0063] Figure 9 shows a schematic diagram of a mobile phone 10 displaying prompt information according to some embodiments of this application.

[0064] Figure 10 illustrates a schematic diagram of a mobile phone 10 responding to user operations according to some embodiments of this application.

[0065] Figure 11 shows a schematic diagram of the structure of a mobile phone 10 according to some embodiments of this application. Detailed Implementation

[0066] The illustrative embodiments of this application include, but are not limited to, wallpaper generation methods, readable storage media, electronic devices, and program products.

[0067] It should be noted that the method provided in this application can be applied to any electronic device, including but not limited to mobile stations (MS) and mobile terminals (MT). For example, the electronic device can be a mobile phone, smart TV, wearable device, tablet computer, desktop computer, laptop computer, virtual reality (VR) device, augmented reality (AR) device, terminal in industrial control, terminal in self-driving, terminal in remote medical surgery, terminal in smart grid, terminal in transportation safety, terminal in smart city, terminal in smart home, etc. This application does not limit the specific form of the electronic device. For ease of description, the following uses a mobile phone 10 as an example to introduce the technical solution of this application.

[0068] As mentioned in the background, wallpapers configured for the display interface of electronic devices are typically static, non-interactive images, resulting in a poor user experience. To improve the user experience, in some embodiments, interactive themes can be configured in the electronic device, which include preset interactive components. When interactive components are configured in the wallpaper of the display interface (e.g., desktop interface, always-on display interface, lock screen interface, etc.), the electronic device can display interactive animations of the interactive components or execute functions associated with the interactive components according to user operations / user commands.

[0069] It should be noted that an interactive component refers to a component of an electronic device that can display different interactive effects or perform associated functions based on user operations (operations on the interactive component, or operations on the electronic device) (or user commands).

[0070] For example, Figure 1 shows a schematic diagram of a desktop interface including interactive components for a wallpaper, according to some embodiments of this application.

[0071] As shown in Figure 1, the interactive components in the desktop interface P0 displayed by mobile phone 10 include emoji component U01 and emoji component U02. After detecting a user's tap on emoji component U01, mobile phone 10 can display an animation effect of emoji component U01 rotating counterclockwise and gradually enlarging. Thus, compared to static and non-interactive wallpapers, wallpapers with interactive components can enhance the interactivity and fun of the user interface displayed by electronic devices.

[0072] However, interactive components in interactive themes are usually pre-defined, with fixed display styles, functions, and interactive effects. Electronic devices cannot personalize interactive components according to user needs, resulting in a poor user experience.

[0073] To meet users' personalized needs for interactive components, this application provides a wallpaper generation method. In this method, an electronic device can extract the main subject from an image selected by the user as wallpaper, and generate interactive components matching the subject's features (such as outline, color (e.g., primary color), and type (e.g., people, animals, plants, buildings, furniture, appliances, etc.)) along with corresponding interactive effects and / or associated functions. Thus, the electronic device can configure wallpapers with personalized interactive components based on user actions, thereby improving the user experience.

[0074] Specifically, in response to a user's action of configuring a wallpaper based on at least one image, the electronic device can identify at least one subject (e.g., a person, animal, building, etc.) in the image. Then, the electronic device can automatically generate (or determine based on user selection) display styles and interaction parameters (e.g., interactive animations, associated functions, etc.) for components of each subject based on subject characteristics such as the subject's main color, outline, and type, and generate interactive components based on the obtained display styles and interaction parameters. The interactive components include at least a portion of the image content of the corresponding subject.

[0075] In some embodiments, the display style can be characterized by component shape, component background (e.g., background pattern, background color, etc.), component size, component orientation (the position and direction of the component in the wallpaper, etc.), subject size, subject orientation in the component, and the image content of the subject.

[0076] The electronic device can then generate an interactive wallpaper that includes the generated interactive components, and configure the interactive wallpaper as the wallpaper of a first interface (such as one or more of the desktop interface, lock screen interface, and always-on display interface) based on user actions. Finally, when displaying the first interface, the electronic device can respond to user actions on the interactive components in the first interface (or actions on the electronic device, or other interactive commands) by displaying the interactive animations corresponding to the interactive components or executing the functions associated with the interactive components.

[0077] Based on the above method, electronic devices can generate display styles for interactive components based on the main subject in an image selected by the user, and can also adjust the display styles and interaction parameters of interactive components based on user actions. In this way, users can personalize the display styles, interactive effects, and associated functions of interactive components according to their own needs, which helps to improve the user experience.

[0078] It should be noted that an electronic device may include one or more displays, which may be the same or different sizes. The electronic device can configure interactive wallpapers of appropriate sizes for the interfaces on different displays based on user actions.

[0079] For example, Figure 2 shows a schematic diagram of the structure of a mobile phone 10 according to some embodiments of this application.

[0080] As shown in Figure 2, the mobile phone 10 has a flexible screen 194-1 on the front and a non-flexible screen 194-2 and a camera 193 on the back. The mobile phone 10 can be folded along the folding axis MM. The flexible screen 194-1 and the non-flexible screen 194-2 have different sizes (they can be the same in other embodiments, which is not limited here). Based on the mobile phone 10 shown in Figure 2, the mobile phone 10 can display an interface (e.g., lock screen, always-on display, desktop, or other interfaces) through the flexible screen 194-1 and / or the non-flexible screen 194-2. After the mobile phone 10 is folded along the folding axis MM, the mobile phone 10 can display an interface through the non-flexible screen 194-2. Optionally, the interactive wallpapers displayed on the flexible screen 194-1 and the non-flexible screen 194-2 can be different or the same. The following description uses the interactive wallpaper on the non-flexible screen 194-2 (outer screen) of the mobile phone 10 as an example.

[0081] For example, referring to Figure 3A, when the user selects images I1 and I2 for configuring the wallpaper, the mobile phone 10 can identify that the main subject in image I1 includes building T1 and the main subject in image I2 includes squirrel T2. Then, the mobile phone 10 can generate interactive components corresponding to building T1 and squirrel T2 based on user operation (or automatically) to obtain an interactive wallpaper C2'. The interactive wallpaper C2' may include interactive components T1-2 with display styles corresponding to building T1 and interactive components T2-2 with display styles corresponding to squirrel T2. Thus, the display styles of the interactive components in the interactive wallpaper C2' generated by the mobile phone 10 can be generated from the user-selected images I1 and I2, satisfying the user's need for personalized configuration of interactive components and improving the user experience.

[0082] It should be noted that the interactive animations (or associated functions) of interactive components T1-2 and T2-2 can be automatically matched by the mobile phone or generated based on user operations.

[0083] The process of generating the aforementioned interactive wallpaper C2' by mobile phone 10 is described below with reference to Figures 3B to 3F.

[0084] For example, Figures 3B to 3F illustrate a process diagram of a wallpaper generation method according to some embodiments of this application.

[0085] As shown in Figure 3B, mobile phone 10 can display a settings interface P1, which can include settings entry points for various functions of mobile phone 10 (such as wireless local area network (WLAN), Bluetooth, mobile network, more connections, desktop and personalization, display and brightness, sound and vibration, etc.). After detecting the user's click on the desktop and personalization control U11, mobile phone 10 can display a desktop and personalization interface P2, which can include configuration entry points for personalization-related functions of mobile phone 10 (such as icons U12A, U12B, U12C, U12D, U12E, and U12F corresponding to themes, wallpapers, interactive wallpapers, always-on display, icons, lock screen, etc.).

[0086] After detecting a user's click on icon U12B, mobile phone 10 can display an interactive wallpaper interface P3. The interactive wallpaper interface P3 can include interactive wallpapers already stored on mobile phone 10 (e.g., interactive wallpaper B1, interactive wallpaper B2, etc.) and an add control U13. Mobile phone 10 can respond to the user's selection of interactive wallpaper B1 or interactive wallpaper B2, setting interactive wallpaper B1 or interactive wallpaper B2 as the wallpaper for the displayed interface. Mobile phone 10 can also respond to the user's operation of the add control U13, adding a new interactive wallpaper.

[0087] It should be noted that the interactive wallpapers stored in the phone can be preset, obtained by the phone from other devices, or generated based on user operations in the past, and there are no restrictions here.

[0088] After detecting the user's click on the add control U13, the mobile phone 10 can display the new wallpaper interface P4. The wallpaper interface P4 can include a preview area for the interactive wallpaper, a screen selection control U17 for configuring the screen to which the interactive wallpaper is applicable (inner screen (flexible screen 194-1) or outer screen (non-flexible screen 194-2)), a custom component control U14 (entry point for user-defined components), an existing component U15 (entry point for adding interactive components already stored on the mobile phone 10), and a system component control U16 (entry point for adding interactive components (hereinafter referred to as system components) provided by the operating system or application of the mobile phone 10).

[0089] It should be noted that the interactive components stored in the phone can be preset, obtained by the phone from other devices, or generated based on historical user operations; there are no restrictions here.

[0090] It should be noted that system components can be the operating system of an electronic device, interactive components provided by applications, service cards, etc., including but not limited to information display components (such as step count components (used to display the number of steps taken by the user carrying the mobile phone 10), battery components (used to display the remaining battery power of the mobile phone 10), temperature components (used to display the air temperature or the temperature of the mobile phone 10), time components (used to display the current time, date, and other information), weather components (used to display the current weather), etc.), quick launch components (used to launch associated applications or services), quick call components (used to call associated contacts), etc.

[0091] Optionally, the new wallpaper interface P4 may not include screen selection controls. For example, if the phone 10 has only one screen, or if the phone 10 has multiple screens and the areas used to display the wallpaper on the multiple screens match (e.g., the same or similar proportions, the same or similar sizes), the new wallpaper interface P4 may not include screen selection controls.

[0092] Referring again to Figure 3B, after detecting that the user selects the external screen option in the screen selection control U17 and clicks the custom component control U14, the mobile phone 10 can display the album interface P5, which may include images stored in the mobile phone 10. The mobile phone 10 can generate an interactive wallpaper based on the image selected by the user in the album interface P5 (as at least one of the aforementioned images). For example, after detecting that the user selects image I1 and image I2 in the album interface P5 and clicks the OK control U18, the mobile phone 10 can identify the main subjects in image I1 and image I2 and display the subject selection interface P6. The subject selection interface P6 includes the identified main subjects in image I1 and image I2: building T1 and squirrel T2. The mobile phone 10 can generate an interactive wallpaper based on the user's selection operation (selecting building T1 and / or squirrel T2) and the selected main subjects.

[0093] For example, after detecting that the user selects building T1 and squirrel T2 and clicks the OK control U19, the mobile phone 10 can select a display style that matches building T1 and squirrel T2 respectively from the preset display styles and generate an interactive wallpaper.

[0094] For example, referring to Figure 3C, the mobile phone 10 can determine that a display style with a sixteen-pointed star shape and a white background matches building T1, generating an interactive component T1-1 corresponding to building T1; and determine that a display style with a five-pointed star shape and a gray background matches squirrel T2, generating an interactive component T2-1 corresponding to squirrel T2. Then, the mobile phone 10 can arrange interactive components T1-1 and T2-1 on a background that matches the non-flexible screen 194-2, and display a new wallpaper interface P7. The new wallpaper interface P7 may include the generated interactive wallpaper C1, which includes interactive components T1-1 and T2-1.

[0095] In some embodiments, the mobile phone 10 can adjust the display style of the interactive component in response to user operation. For example, the mobile phone 10 can adjust the component background, component size, component orientation, component shape, main body orientation, and main body size of the interactive component in response to user operation to adjust the display style of the interactive component. For example, continuing to refer to Figure 3C, after detecting that the user has long-pressed the interactive component T1-1, the mobile phone 10 can display a menu U21, which includes personalized options for the interactive component T1-1 (such as edit, interactivity, delete, etc.). After detecting that the user has clicked the edit option in the menu U21, the mobile phone 10 can display the edit component interface P9. The edit component interface P9 can include a preview image of the interactive component T1-1, a color control U22, a contour change control U23, a confirmation control U24, etc.

[0096] The mobile phone 10 can respond to the user's operation on the preview image of the interactive component T1-1 (such as moving, rotating, or scaling the main body in the preview image of the main interactive component T1-1) to adjust the size and orientation of the main body, or respond to the user's operation on the color control U22 to adjust the background color or background pattern of the interactive component T1-1, or respond to the user's operation on the outline control U23 to adjust the shape of the interactive component T1-1 (such as preset pentagram, circle, human figure, rounded rectangle, hexagon, main body outline (the outline of the recognized main body)).

[0097] For example, after detecting that the user clicks on the main outline and then clicks the OK control U24, the mobile phone 10 can adjust the shape of the interactive component T1-1 to match the shape of the building T1's outline (and delete the background (or retain the background)) to obtain the interactive component T1-2. Referring to Figure 3D, after generating the interactive component T1-2, the mobile phone 10 can display a new wallpaper interface P10, which includes a preview of the interactive wallpaper C1'. The interactive wallpaper C1' includes both interactive components T1-2 and T2-1.

[0098] Similarly, referring to Figure 3D, the mobile phone 10 can respond to the user's long-press operation on the interactive component T2-1 by displaying a menu U25 in the new wallpaper interface P11. Menu U25 includes personalized options for the interactive component T2-1 (such as edit, interactivity, delete, etc.). After detecting the user's click on the edit option in the new wallpaper interface P11, the mobile phone 10 can display the edit component interface P12. The edit component interface P9 can include a preview image of the interactive component T2-1, a color control U26, a contour change control U27, and a confirmation control U28. After detecting that the user clicks on the main outline and then clicks the OK control U28, the mobile phone 10 can adjust the shape of the interactive component T2-1 to match the shape of the squirrel T2 outline (and delete the background (or retain the background) to obtain the interactive component T2-2 and display the new wallpaper interface P13 shown in Figure 3E. The new wallpaper interface P13 includes the interactive wallpaper C1″, which can include both the interactive component T1-2 and the interactive component T2-2.

[0099] In some embodiments, on the new wallpaper interface P13, the mobile phone 10 can respond to user operations and configure the interactive wallpaper C1″ as the wallpaper for the desktop interface, and / or lock screen interface, and / or always-on display interface.

[0100] In some embodiments, the mobile phone 10 may adjust the size and orientation of the interactive component T1-2 and / or the interactive component T2-2 in response to the user's operation in the new wallpaper interface P13.

[0101] In some embodiments, the mobile phone 10 may add an interactive component stored by the mobile phone 10 to the interactive wallpaper C1″ in response to the user's operation on the existing component control U15 in the new wallpaper interface P13, or add a system component to the interactive wallpaper C1″ in response to the user's operation on the system component control U16 in the new wallpaper interface P13.

[0102] For example, continuing to refer to Figure 3E, mobile phone 10 can display system component interface P16 in response to a user's click on system component control U16. System component interface P16 includes interactive components provided by the operating system or applications of mobile phone 10, such as step count component, battery level component, temperature component, quick launch component, weather component, quick call component, etc. Mobile phone 10 can also add one or more components from system component interface P16 to the interactive wallpaper C1″ in response to a user action.

[0103] For example, continuing with parameter diagram 3E, after detecting a user's action of clicking a quick launch component in the system component interface P1, the mobile phone 10 can display the associated application interface P15. The associated application interface P15 can include icons for applications or services that can be quickly launched (e.g., the camera app icon, the settings app icon). After detecting a user's action of selecting the camera app icon and clicking the confirmation control in the associated application interface P15, the mobile phone 10 can display the system component interface P16. The system component interface P16 can include the camera component icon. After detecting a user's action of selecting the step counter component icon and the camera component icon in the system component interface P16, the mobile phone 10 can add the step counter component and the camera component to the interactive wallpaper C1″, resulting in the interactive wallpaper C2 in the new wallpaper interface P17. The interactive components in the interactive wallpaper C2 include interactive components T1-2, interactive components T2-2, the camera component T3, and the step counter component T4.

[0104] In some embodiments, the mobile phone 10 may also, in response to the user's operation of dragging the camera component T3 to the left and / or dragging the interactive component T2-2 to the right in the new wallpaper interface P17, swap the positions of the camera component T3 and the interactive component T2-2, and obtain and display the interactive wallpaper C2' in the new wallpaper interface P18.

[0105] Optionally, the mobile phone 10 may also, in response to user operation, continue to select an image to generate an interactive component based on the process shown in Figures 3A to 3E, and add the generated interactive component to the interactive wallpaper C2'.

[0106] Optionally, in response to an operation on the aforementioned existing component U15, the mobile phone 10 may also display interactive components (existing components) pre-stored by the mobile phone 10, obtained by the mobile phone 10 from other devices, or generated by the mobile phone 10 based on an image selected by the user. The mobile phone 10 can then add the interactive component selected by the user from the existing components to the interactive wallpaper.

[0107] In some embodiments, the mobile phone 10 can also respond to user operations by adjusting the interactivity of various components in the interactive wallpaper C2', such as interactive animations, and associating interactive components with applications, services, or functions.

[0108] For example, the mobile phone 10 can respond to the user's operation of long-pressing the interactive component T2-2 and selecting interactive personalization options (such as selecting interactive options in the aforementioned U25), and display the interactive interface P19 shown in Figure 3F. The interactive interface P19 may include options for various interactive animation effects (such as gravity follow, touch follow, blowing movement, component collision, etc.) and associated function options (used to associate the interactive component T2-2 with one or more functions, such as launching an application / service, running a function (such as turning the flashlight function on / off, turning the airplane mode function on / off, etc.)).

[0109] For example, referring to Figure 3F, the mobile phone 10 can respond to the user's operation of clicking the OK control U31 after selecting gravity follow, touch follow, air movement, component collision interactive animation effects, and then setting the interactive animation effects of the interactive component T2-2 to gravity follow (the position, size, angle, display effect, etc. of the interactive component changes with the acceleration (e.g., gravitational acceleration, motion acceleration (or speed)) of the mobile phone 10, touch follow (the position, size, angle, etc. of the interactive component changes with the user's touch operation), air movement (the animation effect of adjusting the position, size, angle, display effect, etc. of the interactive component when the user's air operation is detected), and component collision (e.g., in response to the user's operation (e.g., drag operation, double-click (or more than two clicks) operation), at least one of the two interactive components bounces away after contact, or the other interactive components around the interactive component double-clicked by the user move / scale / rotate.

[0110] Optionally, the phone 10 can also configure associated functions for the interactive component T2-2 in response to the user's operation on the associated function options in the interactive interface P19.

[0111] After configuring the interactive parameters of the interactive components, the phone can save the interactive wallpaper and / or configure the interactive wallpaper as the wallpaper for the desktop interface, lock screen interface, and always-on display interface based on user operations.

[0112] For example, continuing with parameter diagram 3F, after detecting the user's click on the aforementioned confirmation control U31, the mobile phone 10 can display the new wallpaper interface P20. After detecting the user's click on the confirmation control U32 in the new wallpaper interface P20, the mobile phone 10 can display the "Set as" menu U33. The "Set as" menu U33 can include desktop options (for setting the interactive wallpaper C2' as the desktop wallpaper), lock screen options (for setting the interactive wallpaper C2' as the lock screen wallpaper), always-on display options (for setting the interactive wallpaper C2' as the always-on display wallpaper), simultaneous options (for setting the interactive wallpaper C2' as the wallpaper for the desktop, always-on display, and lock screen), and no option (save the interactive wallpaper C2').

[0113] After detecting that the user clicks the lock screen option in the "Set as" menu U33, the mobile phone 10 can set the interactive wallpaper C2' as the wallpaper of the lock screen interface, and when the mobile phone 10 is locked, the interactive wallpaper C2' will be displayed on the lock screen interface P31 in the non-flexible screen 194-2. Optionally, the lock screen interface P31 may also include other controls superimposed on the interactive wallpaper C2'.

[0114] In some embodiments, during or after configuring an interactive wallpaper, the mobile phone 10 can also respond to user operations and modify the screen to which the interactive wallpaper applies. In response to the user's operation of modifying the applicable screen for the interactive wallpaper, the mobile phone 10 can rearrange the interactive components in the interactive wallpaper (e.g., adjust their size, orientation, etc.) to fit the modified screen.

[0115] For example, referring to Figure 3G, the mobile phone 10 can respond to the user's operation of clicking the inner screen option in the screen selection control U17 in the aforementioned new wallpaper interface P18, and adjust the relative positions of the interactive components T1-2, T2-2, camera component T3, step count component T4, and the background of the wallpaper (from black to white) to obtain the interactive wallpaper C3 shown in the new wallpaper interface P21.

[0116] After configuring the interactive wallpaper C2' as the background of the lock screen interface P31 in the non-flexible screen 194-2 based on the above process, the mobile phone 10 can display the interactive animation effects of the interactive components or execute the associated functions of the interactive controls based on the user's operation on the lock screen interface P31.

[0117] The following is an example of how the phone responds to user actions on interactive components.

[0118] For example, Figure 4A shows a schematic diagram of a mobile phone 10 displaying interactive animations in response to a click operation, according to some embodiments of this application.

[0119] Referring to Figure 4A, after detecting that the user taps the interactive component T2-2 on the lock screen interface P31, the mobile phone 10 can display an interactive animation (touch follow) showing the interactive component T2-2 gradually moving to the left. Optionally, the mobile phone 10 can also display an animation showing the interactive component T2-2 moving to the right to its initial position after it has moved a preset distance to the left or moved to the edge of a non-flexible screen.

[0120] In some embodiments, the interactive component T2-2 can also change according to the position touched by the user on the lock screen interface P31.

[0121] For example, Figure 4B shows a schematic diagram of a mobile phone 10 displaying interactive animations in response to a drag operation, according to some embodiments of this application.

[0122] Referring to Figure 4B, after the mobile phone 10 detects that the user drags the interactive component T2-2 to contact the interactive component T1-2 in the lock screen interface P31 and then releases the interactive component T2-2, it can display an interactive animation effect in which the interactive components T2-2 and T1-2 gradually move away from each other and then gradually move closer to each other until the interactive components T1-2 return to their respective initial positions (visually, the interactive components T1-2 collide, bounce away, and then return to their original positions) (component collision).

[0123] For example, Figure 4C shows a schematic diagram of a mobile phone 10 displaying interactive animations in response to a double-tap operation, according to some embodiments of this application.

[0124] Referring to Figure 4C, after the mobile phone 10 detects the user's double-tap operation on the interactive component T1-2, it can display the interactive effect of other interactive components (interactive component T1-2, camera component T3, and step count component T4) gradually moving away from the interactive component T1-2 and then gradually moving closer to the interactive component T1-2 (until the interactive component T1-2, camera component T3, and step count component T4 return to their initial positions). (Visually, the interactive component T1-2, camera component T3, and step count component T4 present a wavy effect) (touch follow).

[0125] For example, Figure 4D shows a schematic diagram of another mobile phone 10 displaying interactive animations in response to a click operation, according to some embodiments of this application.

[0126] Referring to Figure 4D, after detecting a user's tap on the camera component T3, the mobile phone 10 can activate its camera function and display the shooting interface P32. The shooting interface P32 may include a shooting control U41, and the mobile phone 10 can take a photo through the camera 193 in response to the user's tap on the shooting control U41.

[0127] For example, Figure 4E shows a schematic diagram of a mobile phone 10 displaying interactive animations in response to a user's blowing operation, according to some embodiments of this application.

[0128] Referring to Figure 4E, after the mobile phone 10 detects that the user is blowing air through the microphone or other sensors (such as airflow sensors), it can display an interactive animation (blowing movement) in which the interactive component T2-2 moves a preset distance (or moves to the edge of the non-flexible screen 194-2) along the direction of the user's blowing air (or a preset direction, or other directions) and then returns to the initial position.

[0129] In some embodiments, the mobile phone 10 may display interactive animations based on changes in the gravitational acceleration or motion acceleration experienced by the mobile phone 10. For example, Figure 4F shows a schematic diagram of a mobile phone 10 displaying interactive animations in response to a user's blowing action, according to some embodiments of this application.

[0130] Referring to Figure 4F, during the rotation of the mobile phone 10 around the UU axis, the direction of the component of the gravitational acceleration of the mobile phone 10 in the plane where the non-flexible screen 194-2 is located is the V direction, and the value of the acceleration gradually increases with the rotation of the mobile phone 10. The mobile phone 10 can display the interactive animation effect of the interactive component T1-2 gradually moving along the V direction.

[0131] In some embodiments, during the process of displaying the interactive animation of the interactive component T2-2 moving along the V direction, if the interactive component T2-2 overlaps or is about to overlap with other components, the collision effect shown in Figure 4B above can be displayed on the mobile phone 10.

[0132] In some embodiments, the triggering conditions for different interactive animations (such as the positional relationship between components, the attitude / acceleration data of the mobile phone 10, etc.) may be different. During the display of one interactive animation, if the triggering conditions of another interactive animation are met, the mobile phone 10 may also display the other interactive animation.

[0133] It should be noted that the interaction methods shown in Figures 4A to 4F are only examples. In other embodiments, the mobile phone 10 can configure other interactive animations and related functions for interactive components, which are not limited here.

[0134] It should be noted that the entry point and method for configuring interactive wallpapers shown in Figures 3A to 3F are only examples. In other embodiments, the mobile phone 10 may set the entry point for configuring interactive wallpapers in other locations according to its own UI design. It may also be adjusted to the order of the identified main configuration display style and interactive parameters, the interactive entry point, etc. This application embodiment does not limit this.

[0135] For example, the entry point for configuring interactive wallpapers can be set in the always-on display function.

[0136] For example, Figures 5A to 5C illustrate a schematic diagram of an interactive wallpaper configured for an always-on display interface.

[0137] Referring to Figure 5A, after detecting the user's selection of icon U12E on the aforementioned desktop and personalization interface, the mobile phone 10 can display an always-on display interface P51. The always-on display interface P51 includes icons for the always-on display styles for the inner and / or outer screens of the mobile phone 10 (e.g., icon U51 for always-on display style E1). After detecting the user's click on icon U51, the mobile phone 10 can display a preview interface P52 for always-on display style E1. The preview interface P52 includes a preview image of always-on display style E1, a custom control U52 (the entry point for editing always-on display style E1), and an application control U53 (the entry point for enabling always-on display style E1). After detecting the user's click on the custom control U52, the mobile phone 10 can display the editing interface P53. The editing interface P53 can include a time and battery display control U54 (used to turn on or off the function of displaying time and battery on the always-on display interface), an icon of an interactive wallpaper that matches the always-on display style E1 (such as the icon U55 of the aforementioned interactive wallpaper C2'), and an add control U56 (when the mobile phone 10 detects the user's selection of the add control U56, it is used to trigger the creation of a new interactive wallpaper, such as displaying the aforementioned new wallpaper interface P4).

[0138] Referring to Figure 5B, after detecting the user's click on the time and battery control U54, the mobile phone 10 can refresh the always-on display preview interface P54 with the interactive wallpaper C2' as the wallpaper. The time, battery level, and interactive components T1-2 in the interactive wallpaper C2' appear somewhat cluttered when superimposed, and the mobile phone 10 can adjust the always-on display interface in response to the user's actions.

[0139] For example, after the phone detects that the user clicks on the time and battery control U54 (the time and battery control U54 becomes the time and battery control U54', and the time and battery display function is turned off), the phone can display interface P55, in which the time and battery are no longer displayed in the always-on display interface of interface P55.

[0140] For example, referring to Figure 5C, after detecting a user's long-press operation on icon U55 in interface P54, mobile phone 10 can display editing control U57. After detecting a user's click on editing control U57, mobile phone 10 can display editing interface P56 for interactive wallpaper C2'. Mobile phone 10 can respond to the user's operation in editing interface P56 and modify interactive wallpaper C2'. For example, after detecting a user's long-press operation on interactive component T1-2 in editing interface P56, mobile phone 10 can display menu U58, which includes personalized options such as edit, interactivity, and delete. After detecting a user's click on the delete option in menu U58, mobile phone 10 can delete interactive component T1-2, and after detecting a user's click on confirmation control U59, display interface P57 and save the edited interactive wallpaper C2' as interactive wallpaper C4 (or replace the original interactive wallpaper C2'). In the preview area displayed when the screen is off in display interface P57, interactive component T1-2 is deleted.

[0141] For example, the entry point for configuring interactive wallpapers can also be configured in the lock screen interface.

[0142] For example, FIG6 illustrates a schematic diagram of an interactive wallpaper for configuring a lock screen interface according to some embodiments of the present application.

[0143] Referring to Figure 6, after detecting that the user clicks icon U12F on the aforementioned desktop and personalization interface P2, the mobile phone 10 can display the lock screen interface P61. The lock screen interface P61 includes a screen selection control U61 (used to select the screen to be configured with the lock screen interface, such as the inner screen (i.e., the flexible screen 194-1)) and icons of screen lock screen styles corresponding to the screen selection control stored in the mobile phone 10 (e.g., icon U62 of lock screen style F1). After detecting that the user clicks icon U62, the mobile phone 10 can display the editing interface P62 of lock screen style F1. The editing interface P62 can include a preview image of lock screen style F1, as well as an add wallpaper control U63 and an add interactive wallpaper control U64 (in some embodiments, the add wallpaper control U63 and the add interactive wallpaper control U64 may be the same control).

[0144] After detecting that the user clicks the add interactive wallpaper control U64, the mobile phone 10 can display a selection interface P63. Selection interface P63 includes icons of interactive wallpapers already stored in the mobile phone 10 (such as the icons of the aforementioned interactive wallpapers B1, B2, and C2'), as well as a confirmation control U65 and an add control U66. If the mobile phone 10 detects that the user has selected an interactive wallpaper icon and clicks the confirmation control U65, it can configure the selected interactive wallpaper as the lock screen wallpaper. The mobile phone 10 can also respond to the user clicking the add control U66 to trigger the creation of a new interactive wallpaper, for example, by displaying the aforementioned new wallpaper interface P4.

[0145] For example, the entry point for configuring interactive wallpapers can also be located in the theme editing function.

[0146] For example, FIG7A illustrates a schematic diagram of configuring an interactive wallpaper in a theme function according to some embodiments of the present application.

[0147] After detecting a user's click on icon U12A in the aforementioned desktop and personalization interface P2, mobile phone 10 can display the theme interface P71. Theme interface P71 includes icons for the themes configurable by mobile phone 10 (e.g., icon U71A for theme 1, icon U71B for theme 2, and icon U71C for theme 3). In response to a user's click on icon U71A, mobile phone 10 can display a preview interface P72 for theme 1, including a preview image of theme 1, as well as editing controls U72 and application controls U73 (used to enable theme 1). In response to a user's click on editing control U72, mobile phone 10 can display the editing interface P73 for theme 1, including editing entry points for various theme elements (e.g., wallpaper, icons, lock screen, etc.). In response to a click on image P1 in the wallpaper section, mobile phone 10 can display the wallpaper editing interface P74. The wallpaper editing interface P74 includes a preview of image P1, a componentized control U75, and a confirmation control U76 (used to enable wallpaper editing). In response to the user clicking the componentized control U75, the mobile phone 10 automatically identifies the main subject in image P1, configures the subject as an interactive component, and displays the preview interface P75 of the interactive wallpaper. The preview interface P75 includes the interactive wallpaper C5 obtained based on image P1 (including an interactive component T5 obtained by identifying the tower in image P1 as the main subject and adding a triangle-shaped background with a gray background), an editing control U77, and a confirmation control U78 (used to apply the generated interactive wallpaper). In response to the user clicking the editing control U77, the mobile phone 10 displays the editing interface P76, allowing the user to edit the interactive wallpaper C5 generated based on image P1 based on operations within the editing interface P76.

[0148] In some embodiments, for themes configured with interactive wallpapers, the editing interface corresponding to the theme may also have an entry point for configuring interactive wallpapers.

[0149] For example, Theme 3 shown in Figure 7A has an interactive wallpaper. In response to the user clicking icon U71C in the theme interface, mobile phone 10 can display the editing interface P77 of Theme 3 as shown in Figure 7B. The editing interface P77 includes an editing control U78. Mobile phone 10 can also display the editing interface P78 of Theme 3 in response to the user clicking the editing control U78. Compared to the aforementioned editing interface P73, editing interface P78 adds an interactive wallpaper editing item U79. Mobile phone 10 can then edit the interactive wallpaper in Theme 3 in response to the user's actions in editing item U79.

[0150] It should be noted that in some other embodiments, the entry points for creating, editing, and configuring interactive wallpapers can also be set in other locations, such as in the theme editing interface, the desktop editing interface, or the wallpaper editing interface, and are not limited here.

[0151] The technical solution of this application will be introduced below with reference to the scenarios shown in Figures 3A to 7B.

[0152] For example, Figure 8A illustrates a flowchart of generating an interactive wallpaper according to some embodiments of this application. The process is executed by a mobile phone 10, and as shown in Figure 8A, the process includes:

[0153] S801, an operation by a user to configure wallpaper based on at least one first image is detected, and at least one subject in the first image is identified.

[0154] When the mobile phone 10 detects an operation by the user to configure a wallpaper based on at least one first image, it identifies at least one subject in the first image.

[0155] For example, the mobile phone 10 can obtain at least one first image selected by the user and determine at least one subject in the first image when a wallpaper generation instruction is detected (e.g., when the user clicks the aforementioned add control U13, add control U56, or add control U66 operation).

[0156] For example, the mobile phone 10 can automatically identify the main subject in each of the first images and use all the identified main subjects as at least one of the aforementioned main subjects. For instance, in the case shown in FIG3B, after the mobile phone 10 identifies the main subjects (building T1 and squirrel T2) in images I1 and I2 (as the first images), it can directly use building T1 and squirrel T2 as at least one of the aforementioned main subjects.

[0157] For example, after identifying the subject in each of the first images, the mobile phone 10 can also, in response to a user operation, use the subject selected by the user among the identified subjects as at least one of the aforementioned subjects. For instance, in the case shown in FIG3B, the mobile phone 10 can use one or more of the building T1 and the squirrel T2 as at least one of the aforementioned subjects.

[0158] In some embodiments, if the subjects identified by the mobile phone 10 meet the area conditions (area conditions are used to indicate that the number of subjects is too large or the area of ​​the subjects is too large, and all subjects cannot be displayed in a wallpaper without adjusting the size of the subjects), the user may be prompted to reduce the number of subjects, reduce the size of the subjects, or reduce the number of first images.

[0159] For example, regional conditions may include at least one of the following conditions:

[0160] The total area of ​​the main objects in the first image is greater than the first area threshold;

[0161] The total area of ​​the circumscribed polygons (e.g., circumscribed rectangles) of the main body in the first image is greater than the second area threshold;

[0162] The total number of subjects in the first image is greater than the number threshold.

[0163] Optionally, the first area threshold and the second area threshold can be less than or equal to the display area of ​​the screen corresponding to the wallpaper.

[0164] For example, referring to Figure 9, when the mobile phone 10 detects that the identified subject meets the region conditions, it can display a prompt box U81 to prompt the user "The subject size in the image is too large, do you want to continue?" The prompt box U81 includes a reselection control U82 and a continue control U83. When the mobile phone 10 detects that the user clicks the reselection control U82, it can display a reselection interface, such as the aforementioned subject selection interface P6. When the mobile phone 10 detects that the user clicks the continue control U83, it can automatically reduce the size of at least part of the subject (or it may not adjust it).

[0165] In some embodiments, the user's operation of configuring wallpaper based on at least one image can be the operation in the aforementioned album interface P5, where the user selects image I1 and image I2 (as at least one first image) and then clicks the OK control U18. It should be noted that in other embodiments, the user's operation of configuring wallpaper based on at least one image can also be other operations, which are not limited here. For example, the user's operation of configuring wallpaper based on at least one image can be the operation where the user long-presses on a certain image in the display interface displayed on the mobile phone 10 to trigger the menu and then selects to set an interactive component (or set an interactive wallpaper).

[0166] In some embodiments, the mobile phone 10 can identify the subject in the first image based on an image processing algorithm or an image processing model. The mobile phone 10 can also transmit the first image to other electronic devices for the other electronic devices to identify the subject in the first image.

[0167] For example, the mobile phone 10 can identify the subject in the first image based on pre-trained convolutional neural network models, object detection models (such as Fast Region-Based Convolutional Network (Fast RCNN), Faster Region-Based Convolutional Network (Faster RCNN), Mask Region-Based Convolutional Network (Mask RCNN), etc.), or object detection models based on transformer models (a type of model based on a self-attention mechanism) (such as DETR (detection transformer)). It should be noted that the mobile phone 10 can also determine the subject in the first image based on other methods, which are not limited here.

[0168] In some embodiments, the subject may include, but is not limited to, people, animals, buildings, specific objects, etc. in the first image.

[0169] In some embodiments, the mobile phone 10 can also determine the main outline of each subject so that the shape of the main outline of the subject can be used as the shape of the corresponding interactive component.

[0170] In some embodiments, after recognizing the subject in the first image, the mobile phone 10 can also adjust the subject based on user operations, such as increasing or decreasing the area of ​​the subject.

[0171] In some embodiments, after recognizing the subject in the first image, the mobile phone 10 may, based on user operation, take the area selected by the user in the first image as the subject (or the subject obtained after performing subject recognition on the area selected by the user again), and take the subject as one of the subjects mentioned above.

[0172] In some embodiments, the first image may be an image stored in the mobile phone 10, an image captured by the camera of the mobile phone 10, or an image downloaded by the mobile phone 10 from other devices (e.g., a server), and there is no limitation herein.

[0173] S802, determine the display style and interaction parameters of the interactive components corresponding to each subject, wherein the display style of the interactive components includes the corresponding subject.

[0174] After determining at least one of the aforementioned subjects, the mobile phone 10 can determine the display style and interaction parameters of the interactive components corresponding to each subject.

[0175] For example, the mobile phone 10 can determine a display style that matches each subject from a variety of preset display styles based on the main color of each subject (e.g., the color that occupies the largest area of ​​the subject, or the color that occupies the most pixels), the subject's outline, etc., and use this display style as the display style of the interactive component corresponding to the subject, and / or use the interaction parameters corresponding to this display style as the interaction parameters of the interactive component corresponding to the subject. For example, in the case shown in Figure 3C, the mobile phone 10 can use a display style with a component shape of a sixteen-pointed star and a component background of white as the display style that matches the building T1, and use a display style with a component shape of a five-pointed star and a component background color of gray as the display style that matches the squirrel T2.

[0176] In some embodiments, when the main color of the subject is a certain color, the background color of the component whose display style matches the subject can be the complementary color of that color. In some embodiments, the relationship between the main color of the subject and the corresponding background color of the component can be preset (for example, it can be set by the designer according to color matching) (hereinafter, the correspondence between the main color of the subject and the background color of the interactive component is referred to as the color matching relationship). The mobile phone 10 can obtain the component background color corresponding to the main color from the color matching relationship based on the main color of the subject.

[0177] In some embodiments, after determining the main color of the subject, the mobile phone 10 can determine a color that has the same hue as the main color and a different saturation (and / or a different brightness) as the background color of the interactive component corresponding to the subject.

[0178] In some embodiments, the shape of the interactive component corresponding to the subject can be the component shape of the display style that has the greatest similarity to the outline of the subject among the preset display styles.

[0179] In some embodiments, the mobile phone 10 may also use the display style of the main body whose aspect ratio of the component shape is closest to that of the aspect ratio of the outer rectangle of the main body as the display style of the main body.

[0180] In some embodiments, the interactive component can be obtained by fusing a display style image (the image corresponding to the content other than the subject in the display style) with the subject; that is, the interactive component includes at least a portion of the image content of the corresponding subject. For example, the subject can be superimposed on the display style image, the display style image can be superimposed on the subject, or part of the subject can be placed on top of the display style image while another part is placed below the display style image. This application embodiment does not limit the method of fusing the display style image with the subject. Optionally, the upper layer can be the direction outward from the screen of the mobile phone 10.

[0181] In some embodiments, the display style of an interactive component can be determined by component parameters such as component background, component size, component orientation, component shape, subject position, subject size, subject orientation, and subject image content.

[0182] In some embodiments, the interaction parameters of an interactive component may include interactive animations and associated functions. Interactive animations indicate the animations that the interactive component should display based on user interaction instructions, such as gravity following, touch following, breath movement, component collision, eye following (adjusting the motion state of the interactive component based on the detected direction of the user's eye movement (e.g., displaying interactive animations that show the interactive component moving in the same or opposite direction to the user's eye movement)). Associated functions indicate the functions to be triggered when the user selects the interactive component, such as starting / closing an application or service, turning on / off system functions of the phone 10 (e.g., mobile data, Bluetooth, WLAN, airplane mode, dark mode, eye protection mode, flashlight, hotspot, ringtone, do not disturb, near field communication (NFC) functions) or application functions (e.g., displaying payment (membership) QR codes, barcodes, etc.).

[0183] It should be noted that the above-mentioned interactive animations and associated functions are only examples. In other embodiments, the mobile phone 10 may be configured with other interactive animations and associated functions, which are not limited here.

[0184] In some embodiments, the mobile phone 10 can also adjust the display style and / or interaction parameters of various entities in response to user operations, such as modifying one or more component parameters, adding, modifying, or deleting interactive animations and associated functions. For example, referring to Figure 3C, after detecting a user's operation of clicking the edit option in menu U21, the mobile phone 10 can modify the component parameters (e.g., component shape, background color, etc.) of the interactive component corresponding to building T1 based on the user's operation; referring to Figure 3D, after detecting a user's operation of clicking the edit option in menu U25, the mobile phone 10 can modify the component parameters (e.g., component shape, background color, etc.) of the interactive component corresponding to squirrel T2 based on the user's operation. As another example, referring to Figure 3F, the mobile phone 10 can configure interactive animations and / or associated functions for interactive component T2-2 based on the user's operation on the interactive interface.

[0185] In some embodiments, the display style of the interactive component corresponding to the subject can be automatically generated by the mobile phone 10 based on the subject's features such as the subject's outline, main color, and type (for example, the mobile phone 10 can generate a display style that matches each subject based on the subject features of each subject using a pre-trained model), or it can be configured based on the user's selection operation, or it can be obtained by modifying the display style automatically generated by the mobile phone 10 based on the user's operation, which is not limited here.

[0186] In some embodiments, the mobile phone 10 may also generate interactive animations and / or associated functions corresponding to each subject based on the subject characteristics of each subject. For example, the mobile phone 10 may generate interactive animations and / or associated functions corresponding to each subject based on the subject characteristics of each subject using a pre-trained model.

[0187] S803, based on the display style and interaction parameters of each subject, generate an interactive wallpaper, which includes interactive components corresponding to at least some of the subjects.

[0188] After determining the display style and interaction parameters of each subject, the phone 10 can generate an interactive wallpaper based on these parameters. The interactive wallpaper can include interactive components corresponding to at least some of the subjects.

[0189] For example, after determining the display style and interaction parameters of each entity, if the user deletes some entities (or the interactive components corresponding to those entities), the at least some entities may include those that the user did not delete. Alternatively, if the user did not delete any entities, the at least some entities may include all entities whose display styles and interaction parameters have been determined.

[0190] In some embodiments, the mobile phone 10 may also add one or more system components in response to user operations. In this case, the interactive wallpaper may also include the system components added by the user. For example, in the case shown in FIG3E, the mobile phone 10 may add a camera component T3 and a step count component T4 in response to user operations, and the interactive wallpaper C2' generated by the mobile phone 10 includes interactive components T1-2 and interactive components T2-2 corresponding to the main subjects (building T1 and squirrel T2) in the first image, as well as the camera component T3 and the step count component T4.

[0191] In some embodiments, the mobile phone 10 can also modify the display style of system components in response to user operations, such as modifying the component shape, component size, component orientation, component background, and text parameters of the text in the component (e.g., font, font size, text color, etc.).

[0192] In some embodiments, after generating an interactive wallpaper, the mobile phone 10 can automatically configure the interactive wallpaper as the wallpaper of one or more display interfaces (such as one or more of the desktop interface, lock screen interface, and always-on display interface displayed on various screens of the mobile phone 10), or it can configure the interactive wallpaper as the wallpaper of the display interface based on user operation.

[0193] After setting the interactive wallpaper as the wallpaper for the first screen, when displaying the first screen, the phone 10 can display corresponding interactive animations or execute related functions based on the user's interaction commands. The following screen shows the process of the phone 10 setting the interactive wallpaper as the wallpaper for the first screen and displaying interactive animations or executing functions associated with the interactive component based on the user's interaction commands.

[0194] The interactive wallpapers generated using the above method can meet the needs of personalized display interfaces and improve user experience because the display style of the interactive components is generated based on the main subject in the first image selected by the user, and / or the interaction parameters of the interactive components can also be configured by the user.

[0195] Figure 8B illustrates a flowchart of a mobile phone 10 responding to user interaction commands according to some embodiments of this application. The mobile phone 10 is the executing entity of this process, and as shown in Figure 8B, the process includes:

[0196] S804, in response to user interaction, configures the interactive wallpaper as the wallpaper of the first screen.

[0197] The phone can set an interactive wallpaper as the wallpaper on the first screen based on user actions.

[0198] In some embodiments, the first interface can be a desktop interface, a lock screen interface, or an always-on display interface. In other embodiments, the first interface can be other interfaces, which are not limited here.

[0199] It should be noted that there can be one or more desktop interfaces, and different desktop interfaces can be configured with the same or different interactive wallpapers. There can also be one or more lock screen interfaces, and different lock screen interfaces can be configured with the same or different interactive wallpapers. There can also be one or more always-on display interfaces, and they can be different. Always-on display interfaces can be configured with the same or different interactive wallpapers.

[0200] For example, in the case shown in Figure 3F, the mobile phone 10 can configure the interactive wallpaper C2' as the wallpaper for the desktop, and / or lock screen, and / or always-on display screen based on the user's operation in menu U33.

[0201] For example, in the cases shown in Figures 5A to 5C, the mobile phone 10 can configure the interactive wallpaper C2' as the wallpaper of the always-on display interface based on the user's operation of selecting the interactive wallpaper C2'.

[0202] For example, in the scenario shown in Figure 6, the mobile phone 10 can respond to the user's operation of selecting any one of the interactive wallpapers B1, B2, and C2' and clicking the OK control U65, and configure the interactive wallpaper selected by the user as the wallpaper of the lock screen interface of the inner screen (flexible screen 194-1) of the mobile phone 10.

[0203] It should be noted that in some other embodiments, the mobile phone 10 can also configure the interactive wallpaper as the wallpaper of the first interface in other ways, which is not limited here.

[0204] It should be noted that in some other embodiments, the mobile phone 10 may also automatically configure the interactive wallpaper as the wallpaper of the first interface according to its own operating logic, which is not limited here.

[0205] S805, displaying the first interface.

[0206] After configuring the interactive wallpaper as the wallpaper for the first interface, the mobile phone 10 can display the first interface. In the first interface, the interactive wallpaper serves as the background, and the interactive wallpaper includes at least one interactive component, such as the interactive component generated in step S803 above. For example, in the case shown in FIG3F, the mobile phone 10 can display the lock screen interface P31.

[0207] It should be noted that the first interface may also include one or more controls on top of the interactive wallpaper, such as application icons, shortcut icons, service cards, etc.

[0208] In some embodiments, interactive components or system components may also automatically add, replace or delete some interactive components on the first interface based on triggering events detected by the mobile phone 10 or the status information of the mobile phone 10 (such as geographical location, battery level, etc.).

[0209] For example, when the phone 10 is in different geographical locations, interactive components associated with the geographical location can be displayed (such as components that provide other information such as attractions, transportation, and news for the geographical location).

[0210] For example, when the phone 10 detects other associated devices (e.g., through near-field communication), it can display the interactive components shown on the other devices in the first interface.

[0211] For example, when the phone detects new express delivery, food delivery, or instant messaging messages for the account associated with the phone, the phone can display interactive components such as express delivery information, food delivery information, and instant messaging message notifications on the first screen.

[0212] S806 responds to user interaction commands by displaying interactive animations corresponding to the interaction commands or executing associated functions corresponding to the interaction commands.

[0213] During the display of the first interface, the mobile phone 10 can respond to the user's interaction commands and display the interactive animations corresponding to the interaction commands (such as the interactive components corresponding to the interaction commands (such as preset interactive components, user-configured interactive components, or interactive components affected by user operations)), or execute the associated functions corresponding to the interaction commands (such as the associated functions of the interactive components corresponding to the interaction commands).

[0214] In some embodiments, the interaction command may be a command generated when a user's voice command is detected, the user's operation on the first interface, the user's operation to adjust the parameters of the mobile phone 10 (e.g., posture, angle with the horizontal plane, speed / acceleration / direction of movement, etc.), or the user's blowing operation. It should be noted that in other embodiments, the interaction command may also be a command generated under other circumstances, which is not limited here.

[0215] For example, regarding the aforementioned lock screen interface P31 (as the first interface), the mobile phone 10 can respond to the user's operations on the interactive components T2-1 and T2-2 on the lock screen interface P31, or to the user's blowing operation, displaying corresponding interactive animations. For details, please refer to Figures 4A to 4C and 4E, which will not be elaborated upon here. The mobile phone 10 can also respond to the user's operation on the camera component T3, launching the camera application and displaying the shooting interface P32.

[0216] In some embodiments, when other controls are superimposed on the interactive components in the interactive wallpaper, and the user's operation is applied to the overlapping area of ​​the interactive components and other controls, the mobile phone 10 may prioritize responding to the user's operation based on the other controls.

[0217] For example, referring to Figure 10, the desktop interface displayed on the flexible screen 194-1 of the mobile phone 10 includes a time control T6. When the mobile phone 10, in response to a user operation, configures the aforementioned interactive wallpaper C3' as the wallpaper of the desktop interface, the step count component T4 in the interactive wallpaper C3 overlaps with the time control T6 on the desktop (the time control T6 is superimposed on the step count component T4, and the area D2 where the time control T6 is located partially overlaps with the area where the step count component T4 is located). When the mobile phone 10 detects that the user clicks on the overlapping area of ​​area D1 and area D2, or detects that the user clicks on an area in area D2 that does not overlap with area D1, it can respond to the user operation based on the time control (e.g., display the interface of a clock application); when it detects that the user clicks on an area in area D1 that does not overlap with area D2, it can respond to the user operation based on the step count component T4 (e.g., display the interactive animation corresponding to the step count component T4, or launch an application associated with the step count component (e.g., a sports and health application)).

[0218] It should be noted that the execution order of the above steps is merely an example. In some embodiments, the electronic device may adjust the order of some steps, merge / split some steps, or delete some steps, which is not limited here. For example, in some embodiments, when the electronic device detects that a user has configured at least one first image as wallpaper (or interactive wallpaper), it may directly display the first wallpaper (interactive wallpaper) corresponding to the at least one image (or display the first interface configured with the first wallpaper). The display style of the interactive components in the first wallpaper may be based on some or all of the main elements in the first image. The method for generating the interactive components in the first wallpaper can be referred to step S802, and will not be elaborated here.

[0219] Based on the above method, during the display of the first interface, the mobile phone 10 can display interactive animations or execute corresponding related functions based on the user's interaction commands, which increases the interactivity of the first interface and helps to improve the user's interactive experience.

[0220] This application also provides a program product that, when executed on an electronic device, enables the electronic device to implement the wallpaper generation methods provided in the foregoing embodiments.

[0221] This application also provides a readable storage medium storing one or more programs / instructions, which, when executed by an electronic device, enable the electronic device to implement the wallpaper generation method provided in the foregoing embodiments.

[0222] Furthermore, Figure 11 shows a schematic diagram of the structure of a mobile phone 10 according to some embodiments of this application.

[0223] As shown in Figure 11, the mobile phone 10 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, buttons 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 accelerometer sensor 180E, a distance sensor 180F, a proximity 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.

[0224] Processor 110 may include one or more processing units, such as a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a microcontroller unit (MCU), a video codec, a digital signal processor (DSP), a baseband processor, a neural network processing unit (NPU), a field-programmable gate array (FPGA), etc. In some embodiments, different processing units may be independent devices or integrated into one or more processors.

[0225] In some embodiments, the processor 110 may be used to execute one or more programs / instructions corresponding to the wallpaper generation method provided in the foregoing embodiments.

[0226] The charging management module 140 receives charging input from the charger. While charging the battery 142, the charging management module 140 can also supply power to the electronic device through the power management module 141.

[0227] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, internal memory 121, display 194, camera 193, and wireless communication module 160, etc.

[0228] The wireless communication function of mobile phone 10 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0229] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.

[0230] The mobile communication module 150 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G on the mobile phone 10. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0231] The wireless communication module 160 can provide solutions for wireless communication applications on the mobile phone 10, including wireless local area networks (WLAN) (such as Wi-Fi), Bluetooth (BT), global navigation satellite system (GNSS), near field communication (NFC), infrared (IR), and near link (NL). The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, modulates and filters the electromagnetic wave signal, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, modulate and amplify them, and then convert them into electromagnetic waves for radiation via antenna 2.

[0232] The mobile phone 10 implements display functions through a GPU, a display screen 194, and an application processor. 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 modify display information.

[0233] Display screen 194 is used to display images. For example, display screen 194 can be used to display interfaces, such as desktop interfaces, always-on display interfaces, lock screen interfaces, and other interfaces. In some embodiments, display screen 194 can be one or more, for example, display screen 194 can include the aforementioned flexible screen 194-1 and non-flexible screen 194-2.

[0234] Camera 193 is used to capture still images or videos.

[0235] The external memory interface 120 can be used to connect an external memory card. The external memory card communicates with the processor 110 through the external memory interface 120 to perform data storage functions. For example, application data can be stored on the external memory card.

[0236] Internal memory 121 can be used to store one or more programs and corresponding data. Internal memory 121 may include a program storage area and a data storage area. In some embodiments, the program storage area may store the operating system, applications required for at least one function, such as the program / instructions corresponding to the wallpaper generation method provided in the foregoing embodiments. The data storage area may store data created during the use of mobile phone 10, such as interactive components, interactive wallpapers, etc. In addition, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, general flash memory, etc. Processor 110 executes various functional applications of mobile phone 10 by running one or more programs stored in internal memory 121 and / or one or more programs stored in memory disposed in processor 110.

[0237] The mobile phone 10 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, the audio module 170 can be used to play notification messages.

[0238] Audio module 170 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. Audio module 170 can also be used for encoding and decoding audio signals.

[0239] The loudspeaker 170A, also known as a "loudspeaker", is used to convert audio electrical signals into sound signals.

[0240] The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals.

[0241] The microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals.

[0242] The 170D headphone jack is used to connect wired headphones.

[0243] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A may be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Mobile phone 10 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, mobile phone 10 detects the touch operation intensity based on pressure sensor 180A. Mobile phone 10 can also calculate the touch position based on the detection signal from pressure sensor 180A.

[0244] The barometric pressure sensor 180C can be used to detect the air pressure at the location of the mobile phone 10.

[0245] The 180E accelerometer can detect the magnitude of acceleration in various directions (typically three axes) of the mobile phone 10. When the mobile phone 10 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic devices and applied to applications such as screen orientation switching and pedometers.

[0246] The ambient light sensor 180L is used to detect ambient light levels. The phone 10 can adaptively adjust the display brightness 194 based on the detected ambient light level. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking photos. The ambient light sensor 180L can also work in conjunction with the proximity sensor 180G to detect whether the phone 10 is in a pocket, preventing accidental touches.

[0247] The fingerprint sensor 180H is used to collect fingerprints. The phone can then utilize the collected fingerprint characteristics to unlock devices, access app locks, take photos with fingerprints, and answer calls with fingerprints.

[0248] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. 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 display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of mobile phone 10, in a different position than display screen 194.

[0249] In some embodiments, the mobile phone 10 can display interactive animations corresponding to interactive components or execute associated functions of interactive components based on pressure data collected by pressure sensor 180A, air pressure data collected by air pressure sensor 180C (e.g., detecting user blowing operations based on changes in air pressure), acceleration data collected by acceleration sensor 180E, and touch events corresponding to user touch operations detected by touch sensor 180K.

[0250] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. Mobile phone 10 can receive button input and generate key signal inputs related to user settings and function control of mobile phone 10.

[0251] Motor 191 can generate vibration alerts. Indicator 192 can be an indicator light, used to indicate charging status, battery level changes, or messages and notifications. In some embodiments, mobile phone 10 can alert the user by controlling the vibration of motor 191.

[0252] The SIM card interface 195 is used to connect a SIM card or eSIM.

[0253] It is understood that the structure of the mobile phone 10 shown in the embodiments of this application does not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer components than shown, or combine some components, or split some components, or have different component arrangements. The components shown may be implemented in hardware, software, or a combination of software and hardware.

[0254] It should be understood that in the embodiments of this application, "or" describes the relationship between related objects, indicating that there can be two relationships. For example, A or B can mean either A or B, where A or B can be singular or plural.

[0255] It should be understood that the term "connection" used in the embodiments of this application describes the connection relationship between two objects and can represent two kinds of connection relationships. For example, the connection between A and B can represent two situations: A is directly connected to B, and A is connected to B through C.

[0256] It should be understood that in the embodiments of this application, terms such as "for example," "in some embodiments," "in another embodiment," "in yet another embodiment," and "exemplarily" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as an "example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the term "example" is intended to present concepts in a concrete manner.

[0257] It should be understood that the terms "first," "second," etc., used in the embodiments of this application are only used for descriptive purposes and should not be construed as indicating or implying relative importance, nor should they be construed as indicating or implying order. The term "equal to" in the embodiments of this application can be used with "greater than" to apply to technical solutions used when "greater than," and can also be used with "less than" to apply to technical solutions used when "less than." It should be noted that when "equal to" is used with "greater than," it is not used with "less than," and vice versa.

[0258] In the accompanying drawings, some structural or methodological features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Furthermore, the inclusion of structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.

[0259] It should be understood that in the examples and description of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the term "comprising" or any other variations thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A wallpaper generation method, applied to electronic devices, characterized in that, include: The user's wallpaper generation command is detected, and at least one first image selected by the user is obtained; Identify at least one subject in the first image, and determine at least one interactive component and the display style of each interactive component based on the at least one subject, wherein the display style of the interactive component includes the corresponding subject; A first wallpaper is generated based on the at least one interactive component.

2. The method according to claim 1, characterized in that, The step of determining at least one interactive component and the display style of each interactive component based on the at least one subject includes: Obtain at least a portion of the subjects selected by the user from the at least one subject; Based on the at least some subjects, generate the interactive components corresponding to the at least some subjects respectively.

3. The method according to claim 2, characterized in that, The at least part of the main body includes a first main body, and the first component corresponding to the first main body is generated in the following manner: Determine the first display style corresponding to the first component and the first interaction parameter corresponding to the first component, wherein the display style includes one or more of the following: component shape, component background, component size, component orientation, orientation of the corresponding subject in the component, and size of the corresponding subject in the component; the first interaction parameter includes the first interactive animation effect corresponding to the first component and / or the first function associated with the first component. The first component is generated based on the first display style and the first interaction parameters.

4. The method according to claim 3, characterized in that, The first display style corresponding to the first component is determined in the following way: Based on the subject characteristics of the first subject, the first display style that matches the first subject among a plurality of preset display styles is determined, wherein the subject characteristics include at least one of the following features: main color, outline, and type.

5. The method according to claim 3, characterized in that, The first display style corresponding to the first component is determined in the following way: Based on the main features of the first subject, a second display style matching the first subject is determined from a plurality of preset display styles, wherein the main features include at least one of the following features: main color, outline, and type; Based on user actions, the display style of the second display style is modified to the first display style.

6. The method according to claim 3, characterized in that, The first display style corresponding to the first subject is determined in the following way: Displays multiple preset display styles; The display style selected by the user from the plurality of preset display styles shall be used as the first display style.

7. The method according to any one of claims 3 to 6, characterized in that, The first interactive animation effect is a preset animation effect, or an animation effect selected by the user from multiple interactive animation effects, or an animation effect determined by the electronic device based on the subject characteristics of the first subject; the first function is a preset function, or a function determined by the electronic device based on the subject characteristics of the first subject, or a function selected by the user from multiple functions.

8. The method according to any one of claims 1 to 7, characterized in that, The generation of the first wallpaper based on the at least one interactive component includes: Obtain at least one system component selected by the user from multiple system components; The first wallpaper is generated based on the at least one system component and the at least one interactive component.

9. The method according to any one of claims 3 to 7, characterized in that, The method further includes: Display a first interface, wherein the wallpaper of the first interface is the first wallpaper, and the first interface is any one of the following interfaces: desktop interface, lock screen interface, and always-on display interface.

10. The method according to claim 9, characterized in that, The method further includes: In response to a user's first operation on the first component in the first interface, or a user's second operation on the electronic device, or a user's interactive command, the first interactive animation is displayed or the first function is executed.

11. The method according to claim 9, characterized in that, The first wallpaper also includes at least one system component; and the method further includes: In response to a user's operation on the first system component among the at least one system components in the first interface, the function corresponding to the first system component is executed.

12. The method according to claim 9, characterized in that, The method further includes: In response to the electronic device's status information matching the second component, or in response to a trigger event corresponding to the second component, the second component is displayed on the first interface, or the third component in the at least one interactive component is replaced with the second component.

13. The method according to claim 2, characterized in that, The step of obtaining at least a portion of the subjects selected by the user from the at least one subject includes: If the number and / or area of ​​at least one subject meets the regional conditions, the user is prompted to reselect a subject; Obtain a subset of subjects selected by the user from at least one of the subjects.

14. An electronic device, characterized in that, include: Memory, used to store one or more programs; A processor for executing the one or more programs to cause the electronic device to implement the wallpaper generation method according to any one of claims 1 to 13.

15. A readable storage medium, characterized in that, The readable storage medium includes one or more programs that, when executed on an electronic device, cause the electronic device to implement the wallpaper generation method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Wallpaper display method and device, and electronic device

    CN109388472A

  • Desktop display control method and device, terminal and storage medium

    CN113010056A

  • Dynamic wallpaper acquisition method and device

    CN113114841A

  • Wallpaper interaction method and device, electronic equipment and readable storage medium

    CN118838520A

  • Wallpaper generation method, readable storage medium and electronic equipment

    CN119668477A