Wallpaper generation method, readable storage medium and electronic equipment
By identifying and generating interactive components based on user-selected images, the user experience problems caused by existing static wallpapers are solved, and higher user interface interactivity and personalization are achieved.
Patent Information
- Application Number
- CN202411524227.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-03-21
AI Technical Summary
The wallpaper displayed by existing electronic devices are usually static and non-interactive pictures, resulting in poor user experience.
By detecting the user's wallpaper generation instructions, obtaining the image selected by the user, identifying the subject in the image, and generating interactive components and their display styles based on the subject characteristics, thereby creating interactive wallpapers.
It realizes dynamic configuration of interactive components based on user operations, improving the interactivity and personalization of the user interface and improving the user experience.
Smart Images

Figure CN119668477A_ABST
Abstract
Description
Technical Field
[0001] The present 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 Art
[0002] In order to improve the visual effect of the user interface displayed by the electronic device, the electronic device can configure the user's selected picture as the wallpaper of different display interfaces (such as the desktop interface, the lock screen interface, the off-screen display interface, etc.) according to the user's operation. However, the wallpaper configured by the electronic device for the display interface is usually a static non-interactive picture, which has a poor user experience. Summary of the invention
[0003] In view of this, the present application provides a wallpaper generation method, a readable storage medium, an electronic device and a program product.
[0004] In a first aspect, a wallpaper generation method is provided, which is applied to an electronic device, and the method includes: detecting a wallpaper generation instruction from a user, and obtaining 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 a 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.
[0005] 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 configure the interactive component that meets the personalized needs of the user in response to the user operation, which is conducive to improving the user experience.
[0006] In a 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 part of the subject selected by the user from at least one subject; and generating interactive components corresponding to at least part of the subject respectively based on at least part of the subject.
[0007] In this implementation, the electronic device can identify at least one subject in one or more first images selected by the user, and generate an interactive component according to the one or more subjects (i.e., at least part of the subjects) selected by the user. That is, after identifying the subject in the first image, the user can configure the subject for which the corresponding interactive component needs to be generated based on his or her own needs.
[0008] In a possible implementation of the first aspect above, at least part of the above-mentioned body includes a first body, and a first component corresponding to the first body is generated in the following manner: determine 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 component shape, component background, component size, component orientation, the orientation of the corresponding body in the component, and the size of the corresponding body in the component, and the first interaction parameter includes a first interaction animation corresponding to the first component and / or a first function associated with the first component; based on the first display style and the first interaction parameter, generate the first component.
[0009] In this implementation, the electronic device can determine the display style of the first component based on the first body, for example, configuring the component shape based on the outline of the first body, configuring the component background based on the main color of the first body, etc. In this way, the electronic device can provide the user with component parameters with better matching.
[0010] In addition, the interactive animation and / or associated functions of the first component may also be automatically configured by the electronic device or selected based on user operation.
[0011] In a possible implementation of the first aspect above, the first display style corresponding to the first component above is determined in the following manner: based on the subject features of the first subject, determining a first display style matching the first subject from multiple preset display styles, wherein the subject features include at least one of the following features: primary color, outline, and type.
[0012] In this implementation, the electronic device can automatically determine the first display style corresponding to the first component based on subject features such as the main color of the first subject, the outline of the first subject, the type of the first subject (such as a person, an animal, a building, etc.).
[0013] In a possible implementation of the first aspect above, the first display style corresponding to the first component is determined in the following manner: based on the subject features of the first subject, determining a second display style from multiple preset display styles that matches the first subject, wherein the subject features include at least one of the following features: primary color, outline, type; and modifying the display style of the second display style to the first display style based on user operation.
[0014] In this implementation, the first display style of the first body can be obtained by the electronic device first determining a second display style matching the first body, and then modifying the second display style based on a user operation.
[0015] In a possible implementation of the first aspect above, the first display style corresponding to the first body is determined by: displaying multiple preset display styles; and using a display style selected by a user from the multiple preset display styles as the first display style.
[0016] In this implementation, the first display style of the first body may be a display style selected by the user. For example, the user may select and configure parameters such as the component shape, component background, component size, component orientation, the orientation of the first body in the first component, and the size of the first body of the first component through operations on the electronic device to obtain the first display style.
[0017] In a possible implementation of the first aspect above, the first interactive effect is a preset effect, or an effect selected by the user from multiple interactive effects, or an 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.
[0018] In this implementation, the interactive animation and / or associated function of the first component may be preset by the electronic device, selected by the user, or automatically matched by the electronic device, thereby providing more personalized space for the user.
[0019] In a possible implementation of the first aspect, generating the first wallpaper based on at least one interactive component includes: obtaining at least one system component selected by a user from multiple system components; and generating the first wallpaper based on the at least one system component and at least one interactive component.
[0020] In this implementation, the first wallpaper may also include system components selected by the user. System components may be operating systems of electronic devices, interactive components provided by applications, service cards, etc. For example, information display components (such as step count components, power components, temperature components, time components, weather components, etc.), quick launch components (used to launch associated applications or services), quick call components, etc.
[0021] In a possible implementation of the first aspect above, the method above also 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: a desktop interface, a lock screen interface, and an off-screen display interface.
[0022] In this implementation, the first wallpaper can be configured as a wallpaper for a desktop interface, a lock screen interface, or an off-screen display interface. It should be noted that in the first interface: other controls or icons can also be displayed superimposed on the first wallpaper.
[0023] In a possible implementation of the first aspect above, the method further includes: displaying a first interactive effect, or executing a first function, in response to a user's operation on a first component in a first interface, or a user's second operation on an electronic device.
[0024] In this implementation, when displaying the first interface, the electronic device can display a first interactive animation or execute a first function in response to a first operation of the user on the first component (such as clicking, dragging, zooming, etc.), a second operation of the user on the electronic device (such as adjusting the motion state of the electronic device (speed, acceleration, etc.)), or an interactive instruction of the user (such as detecting an instruction triggered by a user's blowing operation, eye movement, etc.).
[0025] In a possible implementation of the first aspect, the first wallpaper also includes at least one system component; and the method further includes: in response to a user's operation on a first system component of at least one system component in the first interface, executing a function corresponding to the first system component.
[0026] In this implementation, the first system component in the first interface may be associated with a corresponding function, and the electronic device may execute the function associated with the first system component in response to a user's operation on the first system component.
[0027] In a possible implementation of the first aspect above, the method also includes: in response to the status information of the electronic device matching the second component, or in response to a trigger event corresponding to the second component, displaying the second component on the first interface, or replacing the third component in at least one interactive component with the second component.
[0028] In this implementation, the electronic device can automatically adjust the components in the first interface according to the status information of the electronic device and / or the trigger event detected by the electronic device. For example, the first component in the first interface is replaced by the second component, the second group is added to the first interface, etc. Optionally, the electronic device can also delete the first component from the first interface based on the status information of the electronic device or the detected trigger event.
[0029] In a possible implementation of the first aspect, the obtaining of at least part of the subject selected by the user from at least one subject includes: prompting the user to reselect the subject when the number and / or area of at least one subject meets the area condition; and obtaining part of the subject selected by the user from at least one subject.
[0030] In this implementation, when the subject selected by the user does not meet the area condition, the subject selected by the user may not be configured in a first wallpaper, and the electronic device may prompt the user to reselect and use the subject reselected by the user as the above-mentioned partial subject.
[0031] In a second aspect, a wallpaper generation method is provided, which is applied to an electronic device, and the method includes: detecting a wallpaper generation instruction of a user, and obtaining at least one first image selected by the user; identifying at least one subject in the first image; based on the subject features of each subject, determining at least one interactive component and a display style of each interactive component, wherein the display style of the interactive component includes the corresponding subject; and generating a first wallpaper based on at least one interactive component.
[0032] In this implementation, 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 configure the interactive component that meets the personalized needs of the user in response to the user operation, which is conducive to improving the user experience.
[0033] In a third aspect, a wallpaper generation method is provided, which is applied to an electronic device, and the method includes: detecting a wallpaper generation instruction from a user, the wallpaper generation instruction being used to instruct to use at least one first image as a wallpaper; displaying a first wallpaper corresponding to the at least one first image, the first wallpaper including at least one interactive component, and the display style of the interactive component including at least one subject in the first image.
[0034] 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 operation of using at least one first image as a wallpaper. In the first wallpaper, the display style of the interactive component is based on the subject in the first image (i.e., visually, the interactive component includes at least part of the image content of the subject). In this way, the electronic device can configure the interactive component that meets the user's personalized needs in response to the user's operation, which is conducive to improving the user experience.
[0035] In a fourth aspect, an electronic device is provided, comprising: a memory for storing one or more programs; and a processor for executing the one or more programs so that the electronic device implements any one of the wallpaper generation methods provided in the first to third aspects.
[0036] In a fifth aspect, a readable storage medium is provided, which includes one or more programs. When the one or more programs are executed on an electronic device, the electronic device implements any wallpaper generation method provided in the first to third aspects.
[0037] In a sixth aspect, a program product is provided. When the program product is executed on an electronic device, the electronic device implements any one of the wallpaper generation methods provided in the first to third aspects.
[0038] 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 elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 According to some embodiments of the present application, a schematic diagram of a desktop interface in which a wallpaper includes interactive components is shown.
[0040] Figure 2 According to some embodiments of the present application, a schematic structural diagram of a mobile phone 10 is shown.
[0041] Figure 3A According to some embodiments of the present application, a schematic diagram of configuring an interactive wallpaper based on subjects in images I1 and I2 is shown.
[0042] Figure 3B According to some embodiments of the present application, a schematic diagram of a process in which a mobile phone 10 responds to a user operation to identify a subject in an image is shown.
[0043] Figure 3C According to some embodiments of the present application, a schematic diagram is shown of a mobile phone 10 responding to a user operation to modify the display style of an interactive component T1 - 1 .
[0044] Figure 3D In some embodiments of the present application, a schematic diagram is shown of a mobile phone 10 responding to a user operation to modify the display style of an interactive component T2 - 1 .
[0045] Figure 3E In some embodiments according to the present application, a schematic diagram is shown of a mobile phone 10 responding to a user operation to add a system component to an interactive wallpaper.
[0046] Figure 3F In some embodiments according to the present application, a schematic diagram of a mobile phone 10 configuring an interactive wallpaper in response to a user operation is shown.
[0047] Figure 3G In some embodiments according to the present application, a schematic diagram is shown of a mobile phone 10 switching a screen adapted for an interactive wallpaper in response to a user operation.
[0048] Figure 4A According to some embodiments of the present application, a schematic diagram of a mobile phone 10 displaying an interactive animation in response to a click operation is shown.
[0049] Figure 4B According to some embodiments of the present application, a schematic diagram of a mobile phone 10 displaying an interactive animation in response to a drag operation is shown.
[0050] Figure 4C According to some embodiments of the present application, a schematic diagram of a mobile phone 10 displaying an interactive animation in response to a double-click operation is shown.
[0051] Figure 4D According to some embodiments of the present application, another schematic diagram of a mobile phone 10 displaying an interactive animation in response to a click operation is shown.
[0052] Figure 4E According to some embodiments of the present application, a schematic diagram is shown of a mobile phone 10 displaying an interactive dynamic effect in response to a user's blowing operation.
[0053] Figure 4F According to some embodiments of the present application, a schematic diagram is shown of a mobile phone 10 displaying interactive animations in response to changes in acceleration data.
[0054] Figure 5A According to some embodiments of the present application, a schematic diagram of an interactive wallpaper configured with an off-screen display interface is shown.
[0055] Figure 5B According to some embodiments of the present application, a schematic diagram of configuring a function for displaying time and power is shown.
[0056] Figure 5C According to some embodiments of the present application, a schematic diagram of editing an interactive wallpaper of an off-screen display interface is shown.
[0057] Figure 6 According to some embodiments of the present application, a schematic diagram of configuring an interactive wallpaper for a lock screen interface is shown.
[0058] Fig. 7A According to some embodiments of the present application, a schematic diagram of configuring an interactive wallpaper in a theme function is shown.
[0059] Figure 7B According to some embodiments of the present application, a schematic diagram of editing an interactive wallpaper in a theme function is shown.
[0060] Fig. 8A According to some embodiments of the present application, a schematic diagram of a process for generating an interactive wallpaper is shown.
[0061] Figure 8B According to some embodiments of the present application, a schematic diagram of a process of the mobile phone 10 responding to an interactive instruction of a user is shown.
[0062] Fig. 9 According to some embodiments of the present application, a schematic diagram of a mobile phone 10 displaying prompt information is shown.
[0063] Fig.10According to some embodiments of the present application, a schematic diagram of a mobile phone 10 responding to a user operation is shown.
[0064] Fig.11 According to some embodiments of the present application, a schematic structural diagram of a mobile phone 10 is shown. DETAILED DESCRIPTION
[0065] Illustrative embodiments of the present application include, but are not limited to, wallpaper generation methods, readable storage media, electronic devices, and program products.
[0066] It should be noted that the method provided in the embodiment of the present application can be applied to any electronic device, including but not limited to a mobile station (MS), a mobile terminal (MT), etc. For example, the electronic device can be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a desktop computer, a laptop computer, a virtual reality (VR) device, an augmented reality (AR) device, a terminal in industrial control, a terminal in self-driving, a terminal in remote medical surgery, a terminal in a smart grid, a terminal in transportation safety, a terminal in a smart city, a terminal in a smart home, etc. The embodiment of the present application does not limit the specific form of the electronic device. For ease of description, the following takes the electronic device as a mobile phone 10 as an example to introduce the technical solution of the present application.
[0067] As described in the background, the wallpaper configured by the electronic device for the display interface is usually a static non-interactive picture, and the user experience is poor. To improve the user experience, in some embodiments, an interactive theme can be configured in the electronic device, and the interactive theme includes preset interactive components. In the case where an interactive component is configured in the wallpaper of the display interface (such as a desktop interface, an off-screen display interface, a lock screen interface, etc.), the electronic device can display the interactive animation of the interactive component or execute the function associated with the interactive component according to the user operation / user instruction.
[0068] It should be noted that an interactive component refers to a component on which an electronic device 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 instructions).
[0069] For example, Figure 1According to some embodiments of the present application, a schematic diagram of a desktop interface in which a wallpaper includes interactive components is shown.
[0070] like Figure 1 As shown, the interactive components in the desktop interface P0 displayed by the mobile phone 10 include the expression component U01 and the expression component U02. After the mobile phone 10 detects that the user clicks the expression component U01, it can display the dynamic effect of the expression component U10 rotating counterclockwise and gradually enlarging. In this way, compared with static and non-interactive wallpapers, wallpapers configured with interactive components can enhance the interactivity and fun of the user interface displayed by the electronic device.
[0071] However, the interactive components in the interactive theme are usually preset, and the display style, function, interactive effects, etc. of the components are fixed. Electronic devices cannot personalize the interactive components according to user needs, and the user experience is poor.
[0072] In order to meet the user's personalized needs for interactive components, an embodiment of the present application provides a wallpaper generation method. In this method, the electronic device can extract the subject in the image selected by the user as the wallpaper, and generate interactive components matching the subject features and corresponding interactive effects and / or associated functions based on the subject's main features (such as outline, color (such as main color), type (such as people, animals, plants, buildings, furniture, electrical appliances, etc.)). In this way, the electronic device can configure wallpapers with personalized interactive components for users based on user operations, which is conducive to improving user experience.
[0073] Specifically, the electronic device can identify at least one subject (e.g., a person, an animal, a building, etc.) in the image in response to the user's operation of configuring a wallpaper based on at least one image. Then, the electronic device can automatically generate (or determine based on user operation selection) the display style and interaction parameters (e.g., the interactive effects, associated functions, etc.) of the components of each subject based on the subject's main color, outline, type, and other subject features, and generate an interactive component based on the obtained display style and interaction parameters. Among them, the interactive component includes at least part of the image content of the corresponding subject.
[0074] 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, etc.), subject image content, etc.
[0075] Then, the electronic device may generate an interactive wallpaper including the generated interactive component, and configure the interactive wallpaper as the wallpaper of the first interface (e.g., one or more of the desktop interface, the lock screen interface, the off-screen display interface, etc.) based on the user operation. Finally, when displaying the first interface, the electronic device may display the interactive animation corresponding to the interactive component or execute the function associated with the interactive component in response to the user's operation on the interactive component in the first interface (or the operation on the electronic device, or other interactive instructions).
[0076] Based on the above method, the electronic device can generate the display style of the interactive component based on the subject in the image selected by the user, and the electronic device can also adjust the display style and interaction parameters of the interactive component based on the user operation. In this way, the user can personalize the display style, interaction effects and related functions of the interactive component according to their own needs, which is conducive to improving the user experience.
[0077] It should be noted that the electronic device may include one or more display screens, and the sizes of the multiple display screens may be the same or different. The electronic device may configure interactive wallpapers of corresponding sizes for interfaces in different display screens based on user operations.
[0078] For example, Figure 2 According to some embodiments of the present application, a schematic structural diagram of a mobile phone 10 is shown.
[0079] like Figure 2 As shown, the front of the mobile phone 10 is equipped with a flexible screen 194-1, the back is equipped with a non-flexible screen 194-2 and a camera 193, and the mobile phone 10 can be folded along the folding axis MM. The flexible screen 194-1 and the non-flexible screen 194-2 are of different sizes (they may be the same in other embodiments, which is not limited here). Figure 2 In the mobile phone 10 shown, the mobile phone 10 can display an interface (such as a lock screen interface, an off-screen display interface, a desktop interface 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 the interface through the non-flexible screen 194-2. Optionally, in the interfaces displayed on the flexible screen 194-1 and the non-flexible screen 194-2, the interactive wallpapers can be different or the same. The following is an introduction to the interactive wallpaper in the non-flexible screen 194-2 (external screen) configured on the mobile phone 10 as an example.
[0080] For example, reference Figure 3A, when the images selected by the user for configuring the wallpaper are images I1 and I2, the mobile phone 10 can recognize that the subject in image I1 includes building T1, and the subject in image I2 includes squirrel T2. Then, the mobile phone 10 can generate interactive components corresponding to building T1 and squirrel T2 respectively based on user operations (or automatically) to obtain interactive wallpaper C2'. In the interactive wallpaper C2', it can include an interactive component T1-2 whose display style corresponds to building T1 and an interactive component T2-2 whose display style corresponds to squirrel T2. In this way, the display style of the interactive components in the interactive wallpaper C2' generated by the mobile phone 10 can be generated by the images I1 and I2 selected by the user, which meets the user's needs for personalized configuration of interactive components and is conducive to improving the user experience.
[0081] It should be noted that the interactive effects (or associated functions) of the interactive components T1-2 and T2-2 can be automatically matched by the mobile phone 10 or generated based on user operations.
[0082] Combine the following FIG. 3B to FIG. 3F , introducing the process of the mobile phone 10 generating the aforementioned interactive wallpaper C2'.
[0083] For example, FIG. 3B to FIG. 3F According to some embodiments of the present application, a process schematic diagram of a wallpaper generating method is shown.
[0084] like Figure 3B As shown, the mobile phone 10 can display the setting interface P1, which may include the setting entry of each function in the 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 operation of clicking the desktop and personalized control U11, the mobile phone 10 can display the desktop and personalized interface P2, and the desktop and personalization may include the configuration entry of the personalized related functions in the mobile phone 10 (such as the theme, wallpaper, interactive wallpaper, off-screen display, icon, lock screen and other personalized functions corresponding to the icons U12A, icon U12B, icon U12C, icon U12D, icon U12E, icon U12F).
[0085] After detecting that the user clicks the icon U12B, the mobile phone 10 can display the interactive wallpaper interface P3, which can include the interactive wallpapers stored in the mobile phone 10 (such as interactive wallpaper B1, interactive wallpaper B2, etc.) and the adding control U13. The mobile phone 10 can set the interactive wallpaper B1 or the interactive wallpaper B2 as the wallpaper of the display interface in response to the user's selection operation on the interactive wallpaper B1 or the interactive wallpaper B2. The mobile phone 10 can also add a new interactive wallpaper in response to the user's operation on the adding control U13.
[0086] It should be noted that the interactive wallpaper stored in the mobile phone 10 may be preset, or may be obtained by the mobile phone 10 from other devices, or may be historically generated based on user operations, which is not limited here.
[0087] After detecting that the user clicks on the add control U13, the mobile phone 10 can display a new wallpaper interface P4. The wallpaper interface P4 may include a preview area for interactive wallpapers, a screen selection control U17 for configuring the screen applicable to the interactive wallpaper (internal screen (flexible screen 194-1) or external screen (non-flexible screen 194-2)), a custom component control U14 (entry for user-defined components), an existing component U15 (entry for adding interactive components stored in the mobile phone 10), and a system component control U16 (entry for adding interactive components (hereinafter referred to as system components) provided by the operating system or application of the mobile phone 10).
[0088] It should be noted that the interactive components stored in the mobile phone 10 may be preset, or may be obtained by the mobile phone 10 from other devices, or may be historically generated based on user operations, which is not limited here.
[0089] It should be noted that the system components may be the operating system of the electronic device, interactive components provided by the application, service cards, etc., including but not limited to information display components (for example, a step component (used to display the number of steps taken by a user carrying the mobile phone 10), a power component (used to display the remaining power of the mobile phone 10), a temperature component (used to display the air temperature or the temperature of the mobile phone 10), a time component (used to display the current time, date and other information), a weather component (used to display the current weather)), etc.), a quick launch component (used to launch the associated application or service), a quick call component (used to call an associated contact), etc.
[0090] Optionally, the new wallpaper interface P4 may not include a screen selection control. For example, when the mobile phone 10 has only one screen, or the mobile phone 10 has multiple screens and the areas of the multiple screens used to display wallpapers match (for example, the same or similar proportions, the same or similar sizes), the new wallpaper interface P4 may not include a screen selection control.
[0091] Continue to refer Figure 3B After detecting that the user selects the external screen option in the screen selection control U17 and then clicks the custom component U14, the mobile phone 10 can display the album interface P5, and the album interface P5 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 then clicks the confirmation control U18, the mobile phone 10 can identify the subjects in image I1 and image I2 and display the subject selection interface P6. The subject selection interface P6 includes the subjects in the identified images I1 and I2: building T1 and squirrel T2. Based on the user's selection operation (selecting building T1 and / or squirrel T2), the mobile phone 10 can generate an interactive wallpaper based on the subject selected by the user.
[0092] For example, after detecting that the user selects the building T1 and the squirrel T2 and clicks the operation of the confirmation control U19, the mobile phone 10 can select display styles that match the building T1 and the squirrel T2 respectively from the preset display styles and generate an interactive wallpaper.
[0093] For example, refer to Figure 3C , the mobile phone 10 can determine that the display style with a sixteen-pointed star shape and a white background matches the building T1, and generate an interactive component T1-1 corresponding to the building T1; and determine that the display style with a five-pointed star shape and a gray background matches the squirrel T2, and generate an interactive component T2-1 corresponding to the squirrel T2. Then, the mobile phone 10 can layout the interactive components T1-1 and T2-1 on a background that matches the non-flexible screen 194-2, and display the new wallpaper interface P7. The new wallpaper interface P7 may include the generated interactive wallpaper C1, and the interactive wallpaper C1 includes the interactive components T1-1 and T2-1.
[0094] In some embodiments, the mobile phone 10 can adjust the display style of the interactive component in response to the user operation. For example, the mobile phone 10 can adjust the component background, component size, component orientation, component shape, main body orientation, main body size, etc. of the interactive component in response to the user operation to adjust the display style of the interactive component. For example, continue to refer to Figure 3CAfter detecting that the user has long pressed the interactive component T1-1, the mobile phone 10 may display a menu U21, which includes personalized options for the interactive component T1-1 (such as editing, interactivity, and deletion options). After detecting that the user has clicked the edit option in the menu U21, the mobile phone 10 may display an edit component interface P9. The edit component interface P9 may include a preview of the interactive component T1-1, a color control U22, a change outline control U23, a confirmation control U24, and the like.
[0095] The mobile phone 10 can adjust the subject size and subject orientation in response to the user's operation on the preview image of the interactive component T1-1 (such as moving, rotating, and scaling the subject in the preview image of the subject interactive component T1-1), or adjust the background color or background pattern of the interactive component T1-1 in response to the user's operation on the color control U22, or adjust the shape of the interactive component T1-1 (such as a preset five-pointed star, circle, human shape, rounded rectangle, hexagon, subject outline (the outline of the identified subject)) in response to the user's operation on the change outline control U23.
[0096] For example, after detecting that the user clicks the main body outline and then clicks the confirmation control U24, the mobile phone 10 can adjust the shape of the interactive component T1-1 to the shape of the outline of the building T1 (and delete the background (or retain the background)) to obtain the interactive component T1-2. Figure 3D After generating the interactive component T1-2, the mobile phone 10 may display a new wallpaper interface P10, which includes a preview of the interactive wallpaper C1'. The interactive wallpaper C1' includes the interactive component T1-2 and the interactive component T2-1).
[0097] Similarly, refer to Figure 3D , the mobile phone 10 can respond to the user's long press on the interactive component T2-1 and display a menu U25 in the new wallpaper interface P11. The menu U25 includes personalized options for the interactive component T2-1 (such as editing, interactivity, deletion, and other options). After detecting that the user clicks on the edit option in the new wallpaper interface P11, the mobile phone 10 can display the editing component interface P12. The editing component interface P9 may include a preview image of the interactive component T2-1, a color control U26, a change outline control U27, a confirmation control U28, and the like. After detecting that the user clicks on the main outline and then clicks on the confirmation control U28, the mobile phone 10 can adjust the shape of the interactive component T2-1 to the shape of the outline of the squirrel T2 (and delete the background (or retain the background), obtain the interactive component T2-2 and display it Figure 3EThe newly created wallpaper interface P13 is shown. The newly created wallpaper interface P13 includes an interactive wallpaper C1″, and the interactive wallpaper C1″ may include an interactive component T1-2 and an interactive component T2-2.
[0098] In some embodiments, in the new wallpaper interface P13, the mobile phone 10 can configure the interactive wallpaper C1″ as the wallpaper of the desktop interface, and / or the lock screen interface, and / or the off-screen display interface in response to the user operation.
[0099] 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 .
[0100] In some embodiments, the mobile phone 10 can add an interactive component stored in 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 U16 in the new wallpaper interface P13.
[0101] For example, continue to refer to Figure 3E In response to the user clicking the system component control U16, the mobile phone 10 may display the system component interface P16, which includes interactive components provided by the operating system or application of the mobile phone 10, such as a step count component, a battery component, a temperature component, a quick start component, a weather component, a quick call component, etc. In response to the user operation, the mobile phone 10 may add one or more components in the system component interface P16 to the interactive wallpaper C1″.
[0102] For example, continue with the parameter Figure 3E After detecting that the user clicks on the quick launch component in the system component interface P1, the mobile phone 10 may display the associated application interface P15. The associated application interface P15 may include icons of applications or services that can be used for quick launch (such as the icon of the camera application and the icon of the settings application). After detecting that the user selects the icon of the camera application in the associated application interface P15 and clicks to confirm the control operation, the mobile phone 10 may display the system component interface P16. The system component interface P16 may include the icon of the camera component. After detecting that the user selects the icon of the step component and the icon of the camera component in the system component interface P16, the mobile phone 10 may add the step component and the camera component to the interactive wallpaper C1″ to obtain the interactive wallpaper C2 in the new wallpaper interface P17. The interactive components in the interactive wallpaper C2 include interactive component T1-2, interactive component T2-2, camera component T3 and step component T4.
[0103] In some embodiments, the mobile phone 10 can also respond 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, exchange 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.
[0104] Optionally, the mobile phone 10 may also respond to user operations based on the aforementioned FIG. 3A to FIG. 3E The process shown continues with selecting images to generate interactive components and adding the generated interactive components to the interactive wallpaper C2'.
[0105] Optionally, the mobile phone 10 can also respond to the operation of the aforementioned existing component U15, displaying the 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 the image selected by the user. Then, the mobile phone 10 can add the interactive component selected by the user from the existing components to the interactive wallpaper.
[0106] In some embodiments, the mobile phone 10 may also adjust the interactivity of each component in the interactive wallpaper C2' in response to user operations, such as interactive animations, and associate the interactive components with applications, services or functions.
[0107] For example, the mobile phone 10 may respond to the user long pressing the interactive component T2-2 and then selecting the interactive personalization option (for example, the operation of selecting the interactive option in the aforementioned U25), and display Figure 3F The interactive interface P19 shown may include options for a variety of interactive effects (such as gravity following, touch following, blowing movement, component collision, etc.) and associated function options (used to associate the interactive component T2-2 with one or more functions, such as starting an application / service, running a function (such as turning on / off the flashlight function, turning on / off the airplane mode function, etc.)).
[0108] For example, reference Figure 3FIn response to the user selecting gravity following, touch following, blowing movement, component collision interaction effects and then clicking the confirmation control U31, the mobile phone 10 can set the interaction effect of the interactive component T2-2 to gravity following (the position, size, angle, display effect, etc. of the interactive component change with the acceleration of the mobile phone 10 (for example, gravity acceleration, motion acceleration (or speed)), etc.), touch following (the position, size, angle, etc. of the interactive component change with the user's touch operation), blowing movement (when the user's blowing operation is detected, the position, size, angle, display effect and other parameters of the interactive component are adjusted) and component collision (for example, in response to user operations (such as drag operations, double-click (or more than two clicks) operations), at least one of the two interactive components pops up after contact, or the other interactive components around the interactive component double-clicked by the user move / scale / rotate).
[0109] Optionally, the mobile phone 10 may also configure an associated function for the interactive component T2-2 in response to the user's operation on an associated function option in the interactive interface P19.
[0110] After configuring the interaction parameters of the interactive component, the mobile phone 10 can save the interactive wallpaper and / or configure the interactive wallpaper as the wallpaper of the desktop interface, the lock screen interface, and the off-screen display interface based on the user operation.
[0111] For example, continue with the parameter Figure 3F After detecting that the user clicks the aforementioned confirmation control U31, the mobile phone 10 can display the new wallpaper interface P20. After detecting that the user clicks the confirmation control U32 in the new wallpaper interface P20, the mobile phone 10 can display the "Set as" menu U33. Among them, the "Set as" menu U33 may include desktop options (used to set the interactive wallpaper C2' as the wallpaper of the desktop interface), lock screen options (used to set the interactive wallpaper C2' as the wallpaper of the lock screen interface), off-screen display options (used to set the interactive wallpaper C2' as the wallpaper of the off-screen display interface), simultaneous options (used to set the interactive wallpaper C2' as the wallpaper of the desktop interface, off-screen display interface and lock screen interface) and no options (store the interactive wallpaper C2').
[0112] 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 display the interactive wallpaper C2' in the lock screen interface P31 in the non-flexible screen 194-2 when the mobile phone 10 is locked. Optionally, the lock screen interface P31 may also include other controls superimposed on the interactive wallpaper C2'.
[0113] In some embodiments, during or after configuring the interactive wallpaper, the mobile phone 10 may also respond to user operations to modify the screen to which the interactive wallpaper is applicable. The mobile phone 10 may respond to the user's operation to modify the applicable screen for the interactive wallpaper and re-layout (e.g., adjust the size, orientation, etc.) the interactive components in the interactive wallpaper to adapt to the modified screen.
[0114] For example, refer to Figure 3G In response to the user clicking the inner screen option in the screen selection control U17 in the aforementioned new wallpaper interface P18, the mobile phone 10 can adjust the relative positions of the interactive components T1-2, the interactive components T2-2, the camera component T3, the step 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.
[0115] 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 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.
[0116] The following describes an example of the mobile phone 10 responding to the user's operation on the interactive component.
[0117] For example, Figure 4A According to some embodiments of the present application, a schematic diagram of a mobile phone 10 displaying an interactive animation in response to a click operation is shown.
[0118] refer to Figure 4A After detecting that the user clicks on the interactive component T2-2 in the lock screen interface P31, the mobile phone 10 can display an interactive effect (touch follow) of the interactive component T2-2 gradually moving to the left. Optionally, the mobile phone 10 can also display an interactive effect of the interactive component T2-2 moving to the right to the initial position after the interactive component T2-2 moves a preset distance to the left or moves to the edge of the non-flexible screen.
[0119] In some embodiments, the interactive component T2-2 may also change as the user touches the lock screen interface P31.
[0120] For example, Figure 4B According to some embodiments of the present application, a schematic diagram of a mobile phone 10 displaying an interactive animation in response to a drag operation is shown.
[0121] refer to Figure 4BAfter the mobile phone 10 detects that the user drags the interactive component T2-2 to contact the interactive component T1-2 and then releases the interactive component T2-2 in the lock screen interface P31, the interactive component T2-2 and the interactive component T1-2 can be displayed. The interactive effect of gradually moving away from each other and then gradually approaching each other until the interactive component T1-2 and the interactive component T1-2 return to their respective initial positions (visually, the interactive component T1-2 and the interactive component T1-2 collide, bounce off, and then recover) (component collision).
[0122] For another example, Figure 4C According to some embodiments of the present application, a schematic diagram of a mobile phone 10 displaying an interactive animation in response to a double-click operation is shown.
[0123] refer to Figure 4C After detecting that the user double-clicks the interactive component T1-2, the mobile phone 10 can display the interactive effect (visually, the interactive component T1-2, the camera component T3 and the step component T4) of other interactive components except the interactive component T1-2 (interactive component T1-2, camera component T3 and step component T4) gradually moving away from the interactive component T1-2 and then gradually approaching the interactive component T1-2 (until the interactive component T1-2, the camera component T3 and the step component T4 return to their respective initial positions) (touch following).
[0124] For another example, Figure 4D According to some embodiments of the present application, another schematic diagram of a mobile phone 10 displaying an interactive animation in response to a click operation is shown.
[0125] refer to Figure 4D After detecting that the user clicks the camera component T3, the mobile phone 10 can start the camera function of the mobile phone 10 and display the shooting interface P32. The shooting interface P32 may include a shooting control U41, and the mobile phone 10 can respond to the user's click operation on the shooting control U41 and take a photo through the camera 193.
[0126] For another example, Figure 4E According to some embodiments of the present application, a schematic diagram is shown of a mobile phone 10 displaying an interactive dynamic effect in response to a user's blowing operation.
[0127] refer to Figure 4E After the mobile phone 10 detects the user's blowing through a microphone or other sensors (such as an airflow sensor, etc.), 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 (or a preset direction, or other directions) and then returns to the initial position.
[0128] In some embodiments, the mobile phone 10 may display interactive effects based on changes in gravity acceleration or motion acceleration experienced by the mobile phone 10. For example, Figure 4F According to some embodiments of the present application, a schematic diagram is shown of a mobile phone 10 displaying an interactive dynamic effect in response to a user's blowing operation.
[0129] refer to Figure 4F During the rotation of the mobile phone 10 around the UU axis, the direction of the component of the gravitational acceleration received by 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 effect of the interactive component T1-2 gradually moving along the V direction.
[0130] In some embodiments, during the process of the mobile phone 10 displaying the interactive effect of the interactive component T2-2 moving along the V direction, when the position of the interactive component T2-2 overlaps or is about to overlap with other components, the aforementioned Figure 4B The collision effect shown.
[0131] In some embodiments, the triggering conditions of different interactive effects (such as the positional relationship between components, the posture / acceleration data of the mobile phone 10, etc.) may be different. During the display of one interactive effect, if the triggering conditions of another interactive effect are met, the mobile phone 10 can also display the other interactive effect.
[0132] It should be noted that 4A to 4F The interaction method shown is only an example. In other embodiments, the mobile phone 10 can configure other interactive effects and related functions for the interactive components, which are not limited here.
[0133] It should be noted that the aforementioned FIG. 3A to FIG. 3F The entrance and method for configuring the interactive wallpaper shown are only an example. In other embodiments, the mobile phone 10 can set the configuration entrance of the interactive wallpaper at other locations according to its own UI design, or it can be adjusted to the order of the identified main configuration display style and interaction parameters, the interaction entrance, etc., which is not limited to the embodiments of the present application.
[0134] For example, the entry for configuring the interactive wallpaper may be configured in the screen-off display function.
[0135] For example, FIG. 5A to FIG. 5C A schematic diagram of an interactive wallpaper for configuring an off-screen display interface is shown.
[0136] refer to Figure 5AAfter detecting that the user selects the icon U12E on the aforementioned desktop and personalized interface, the mobile phone 10 may display the screen-off display interface P51, which includes icons of the screen-off display styles for the inner and / or outer screens in the mobile phone 10 (e.g., the icon U51 of the screen-off display style E1). After detecting that the user clicks the icon U51, the mobile phone 10 may display the preview interface P52 of the screen-off display style E1, which includes a preview image of the screen-off display style E1, a custom control U52 (an entry for editing the screen-off display style E1), and an application control U53 (an entry for enabling the screen-off display style E1). After detecting that the user clicks on the custom control U52, the mobile phone 10 can display the editing interface P53. The editing interface P53 may include a time and battery display control U54 (used to turn on or off the function of displaying time and battery in the off-screen display interface) and an icon of an interactive wallpaper that matches the off-screen display style E1 (for example, the icon U55 of the aforementioned interactive wallpaper C2') and an add control U56 (when the mobile phone 10 detects that the user selects 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).
[0137] refer to Figure 5B After detecting the user clicking the icon U54, the mobile phone 10 can refresh the interactive wallpaper C2' as the wallpaper of the off-screen display interface to the off-screen display preview interface of the interface P54. Among them, the time, power and the interactive control T1-2 in the interactive wallpaper C2' are superimposed and the display is relatively chaotic. The mobile phone 10 can adjust the operation of the off-screen display interface in response to the user operation.
[0138] For example, after detecting that the user clicks on the display time and battery control U54 (the display time and battery control U54 becomes the display time and battery control U54', and the display time and battery function is turned off), the mobile phone 10 can display interface P55, and the time and battery are no longer displayed in the off-screen display interface of interface P55.
[0139] For example, refer to Figure 5C, after detecting that the user has long pressed the icon U55 in the interface P54, the mobile phone 10 can display the editing control U57. After detecting that the user clicks the editing control U57, the mobile phone 10 can display the editing interface P56 of the interactive wallpaper C2'. The mobile phone 10 can modify the interactive wallpaper C2' in response to the user's operation in the editing interface P56. For example, after detecting that the user has long pressed the interactive component T1-2 in the editing interface P56, the mobile phone 10 can display the menu U58, and the menu U58 includes personalized options such as editing, interactivity, and deletion. After detecting that the user clicks the delete option in the menu U58, the mobile phone 10 can delete the interactive component T1-2, and after detecting that the user clicks the confirmation control U59, the interface P57 is displayed, and the edited interactive wallpaper C2' is stored as the interactive wallpaper C4 (it can also replace the interactive wallpaper C2' before editing). In the preview area displayed on the off-screen in the display interface P57, the interactive component 1-2 is deleted.
[0140] For example, the entry for configuring the interactive wallpaper can also be configured in the lock screen interface function.
[0141] For example, Figure 6 According to some embodiments of the present application, a schematic diagram of configuring an interactive wallpaper for a lock screen interface is shown.
[0142] refer to Figure 6 After detecting that the user clicks the icon U12F in the aforementioned desktop and personalized interface P2, the mobile phone 10 can display the lock screen interface P61, which includes a screen selection control U61 (used to select the screen that needs to be configured with a lock screen interface, such as the inner screen (i.e., the flexible screen 194-1)) and an icon of the screen lock screen style corresponding to the screen selection control stored in the mobile phone 10 (such as the icon U62 of the lock screen style F1). After detecting that the user clicks the icon U62, the mobile phone 10 can display an editing interface P62 of the lock screen style F1. The editing interface P62 may include a preview image of the 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 also be the same control).
[0143] After detecting that the user clicks to add an interactive wallpaper U64, the mobile phone 10 can display a selection interface P63, which includes icons of interactive wallpapers stored in the mobile phone 10 (such as the icons of the aforementioned interactive wallpaper B1, interactive wallpaper B2, and interactive wallpaper C2') as well as a confirmation control U65 and an addition control U66. The mobile phone 10 can configure the interactive wallpaper selected by the user as the wallpaper of the lock screen interface when it is detected that the user selects an interactive wallpaper icon and clicks the confirmation control U65. The mobile phone 10 can also trigger the creation of a new interactive wallpaper in response to the user clicking the add control U66, for example, displaying the aforementioned new wallpaper interface P4.
[0144] For example, the entry for configuring the interactive wallpaper may also be configured in the theme editing function.
[0145] For example, Fig. 7A According to some embodiments of the present application, a schematic diagram of configuring an interactive wallpaper in a theme function is shown.
[0146] After detecting that the user clicks the icon U12A in the aforementioned desktop and personalized interface P2, the mobile phone 10 can display the theme interface P71, which includes icons of themes that can be configured by the mobile phone 10 (such as the icon U71A of Theme 1, the icon U71B of Theme 2, and the icon U71C of Theme 3). In response to the user clicking the icon U71A, the mobile phone 10 can display the preview interface P72 of Theme 1, which includes a preview image of Theme 1 as well as an editing control U72 and an application control U73 (for enabling Theme 1 to take effect). In response to the user clicking the editing control U72, the mobile phone 10 can display the editing interface P73 of Theme 1, which includes editing entries for various theme elements (such as wallpapers, icons, lock screens, etc.). In response to the operation of clicking the image P1 in the wallpaper column, the mobile phone 10 can display the wallpaper editing interface P74. The wallpaper editing interface P74 includes a preview of the image P1, a componentized control U75, and a determination control U75 (used to enable the editing of the wallpaper). In response to the user clicking on the componentized U75, the mobile phone 10 can automatically identify the subject in the image P1, configure the subject as an interactive component, and display the preview interface P75 of the interactive wallpaper. The preview interface P75 includes the interactive wallpaper C5 obtained based on the image P1 (including identifying the tower in the image P1 as the subject, and adding a triangle-shaped, gray background to the subject to obtain an interactive component T5), as well as the editing control U77 and the determination control U78 (used to apply the generated interactive wallpaper). The mobile phone 10 can display the editing interface P76 in response to the user clicking on the editing control U77, and the user can edit the interactive wallpaper C5 generated based on the image P1 based on the operation in the editing interface P76.
[0147] In some embodiments, for a theme configured with an interactive wallpaper, a configuration entry for the interactive wallpaper may also be configured in the editing interface corresponding to the theme.
[0148] For example, the aforementioned Fig. 7A The theme 3 shown in FIG. 1 is configured with an interactive wallpaper. The mobile phone 10 can respond to the user clicking the icon U71C in the theme interface to display Figure 7B The editing interface P77 of Theme 3 shown in the figure includes an editing control U78. The mobile phone 10 can display the editing interface P78 of Theme 3 in response to the user clicking the editing control U78. Compared with the aforementioned editing interface P73, the editing interface P78 newly adds an interactive wallpaper editing item U79. The mobile phone 10 can edit the interactive wallpaper in Theme 3 in response to the user's operation in the editing item U79.
[0149] It should be noted that, in other embodiments, the entrance 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, and the wallpaper editing interface, which is not limited here.
[0150] Combine the following FIG. 3A to FIG. 7B The scenario shown introduces the technical solution of this application.
[0151] For example, Fig. 8A According to some embodiments of the present application, a schematic diagram of a process for generating an interactive wallpaper is shown. The execution subject of the process is the mobile phone 10, such as Fig. 8A As shown, the process includes:
[0152] S801: Detecting an operation of a user configuring a wallpaper based on at least one first image, and determining at least one subject in the first image.
[0153] After detecting an operation of the user configuring a wallpaper based on at least one first image, the mobile phone 10 determines at least one subject in the first image.
[0154] Exemplarily, 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 (for example, when it is detected that the user clicks the aforementioned add control U13 or add control U56 or add control U66 operation).
[0155] For example, the mobile phone 10 may automatically identify the subject in each first image, and use all the identified subjects as the at least one subject. Figure 3BIn the situation shown, after the mobile phone 10 recognizes the subjects (building T1 and squirrel T2) of the image I1 and the image I2 (after being used as the first image), the building T1 and the squirrel T2 can be directly used as the at least one subject.
[0156] For example, after identifying the subject in each first image, the mobile phone 10 may also respond to the user's operation and use the subject selected by the user from the identified subjects as the at least one subject. Figure 3B In the situation shown, the mobile phone 10 may take the user from one or more of the building T1 and the squirrel T2 as the at least one subject.
[0157] In some embodiments, when the various subjects recognized by the mobile phone 10 meet the area condition (the area condition is used to indicate that the number of subjects is too large or the area of the subjects is too large, and all the subjects cannot be displayed in one wallpaper without adjusting the size of the subjects), the user can be prompted to reduce the number of subjects or reduce the size of the subjects or reduce the number of first images.
[0158] For example, the region condition may include at least one of the following conditions:
[0159] The sum of the areas of the subjects in the first image is greater than a first area threshold;
[0160] The sum of the areas of the circumscribed polygons (e.g., circumscribed rectangles) of the subject in the first image is greater than a second area threshold;
[0161] The total number of subjects in the first image is greater than a number threshold.
[0162] Optionally, the first area threshold and the second area threshold may be less than or equal to a display area of the screen corresponding to the wallpaper.
[0163] For example, refer to Fig. 9 When the mobile phone 10 detects that the identified subject meets the area condition, it can display a prompt box U81 to prompt the user "The subject in the image is too large, do you want to continue?", wherein 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 an interface for reselecting the subject, 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 not adjust it).
[0164] In some embodiments, the user's operation of configuring wallpaper based on at least one image may be an operation in which the user selects image I1 and image I2 (as at least one first image) in the aforementioned album interface P5 and then clicks on the confirmation control U18. It should be noted that in other embodiments, the user's operation of configuring wallpaper based on at least one image may also be other operations, which are not limited here. For example, the user's operation of configuring wallpaper based on at least one image may be an operation in which the user long presses on an image in the display interface displayed by the mobile phone 10 to trigger a menu and then selects to set an interactive component (or set an interactive wallpaper).
[0165] In some embodiments, the mobile phone 10 may identify the subject in the first image based on an image processing algorithm or an image processing model. The mobile phone 10 may also transmit the first image to other electronic devices, which may identify the subject in the first image.
[0166] For example, the mobile phone 10 can identify the subject in the first image based on a pre-trained convolutional neural network model, a target detection model (such as a fast region-based convolutional network (Fast RCNN), a faster region convolutional neural network (faster region-based convolutional network, Faster RCNN), a mask region convolutional neural network (mask region-based convolutional network, Mask RCNN), etc.), a target detection model based on a transformer model (a model based on a self-attention mechanism) (such as DETR (detection transformer)), etc. 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.
[0167] In some embodiments, the subject may include but is not limited to people, animals, buildings, specific objects, etc. in the first image.
[0168] In some embodiments, the mobile phone 10 may also determine the body outline of each body, so as to use the shape of the body outline of the body as the shape of the corresponding interactive component.
[0169] In some embodiments, after identifying the subject in the first image, the mobile phone 10 may also adjust the subject based on user operations, such as increasing or decreasing the area of the subject.
[0170] In some embodiments, after identifying the subject in the first image, the mobile phone 10 can also, based on the user operation, use the area selected by the user in the first image as the subject (or the subject obtained by re-identifying the area selected by the user), and use the subject as one of the at least one subject mentioned above.
[0171] In some embodiments, the first image may be an image stored in the mobile phone 10, an image captured by the mobile phone 10 through a camera, or an image downloaded by the mobile phone 10 from other devices (eg, a server), which is not limited here.
[0172] S802, determining 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.
[0173] After determining the at least one subject, the mobile phone 10 may determine the display style and interaction parameters of the interactive components corresponding to each subject.
[0174] For example, the mobile phone 10 can determine a display style that matches each subject from a plurality 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 largest number of pixels), the subject outline, etc., and use the display style as the display style of the interactive component corresponding to the subject, and / or use the interaction parameters corresponding to the display as the interaction parameters of the interactive component corresponding to the subject. Figure 3C In the situation shown, the mobile phone 10 can use the display style with a component shape of a sixteen-pointed star and a component background of white as a display style that matches the building T1, and use the display style with a component shape of a five-pointed star and a component background color of gray as a display style that matches the squirrel T2.
[0175] In some embodiments, when the main color of the main body is a certain color, the component background color of the display style matching the main body can be the complementary color of the color. In some embodiments, the relationship between the main color of the main body and the corresponding component background color can be preset (for example, it can be set by the designer according to the color matching) (hereinafter, the corresponding relationship between the main color of the main body and the component background color of the interactive component is referred to as the color matching relationship). Based on the main color of the main body, the mobile phone 10 can obtain the component background color corresponding to the main color from the color matching relationship.
[0176] In some embodiments, after determining the main color of the subject, the mobile phone 10 can determine a color having the same hue as the main color and a different saturation from the main color (and / or a different brightness from the main color) as the background color of the interactive component corresponding to the subject.
[0177] In some embodiments, the shape of the interactive component corresponding to the main body may be a component shape of a display style in which the component shape has the greatest similarity to the outline of the main body among preset display styles.
[0178] In some embodiments, the mobile phone 10 may also use a display style whose aspect ratio of the component shape is closest to the aspect ratio of the circumscribed rectangle of the main body as the display style of the main body.
[0179] In some embodiments, the interactive component can be obtained by fusing the image of the display style (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 part of the image content of the corresponding subject. For example, the subject can be superimposed on the upper layer of the image of the display style, the image of the display style can be superimposed on the upper layer of the subject, part of the subject can be set in the upper layer of the image of the display style and another part can be set in the lower layer of the image of the display style, etc. The embodiment of the present application does not limit the way of fusing the image of the display style with the subject. Optionally, the upper layer can be the screen of the mobile phone 10 facing outward.
[0180] In some embodiments, the display style of the interactive component can be determined by component parameters such as component background, component size, component orientation, component shape, subject position, subject size, subject orientation, subject image content, etc.
[0181] In some embodiments, the interaction parameters of the interactive component may include interactive effects and associated functions. The interactive effects are used to indicate the effects that the interactive component will present based on the user's interaction instructions, such as gravity following, touch following, blowing movement, component collision, eye tracking (adjusting the movement state of the interactive component based on the detected direction of movement of the user's eyes (for example, displaying the interactive effect of the interactive component moving in the same or opposite direction as the user's eye movement, etc.)), etc. The associated function is used to indicate the function to be triggered when the user selects the interactive component, such as starting / closing a certain application or service, turning on / off the system functions of the mobile phone 10 (such as mobile data, Bluetooth, WLAN, airplane mode, dark mode, eye protection mode, flashlight, hotspot, ringing, do not disturb, near field communication (NFC) and other functions) or application functions (such as displaying payment (membership) QR codes, barcodes, etc.).
[0182] It should be noted that the above-mentioned interactive effects and related functions are only examples. In other embodiments, the mobile phone 10 may be configured with other interactive effects and related functions, which are not limited here.
[0183] In some embodiments, the mobile phone 10 can also adjust the display style and / or interaction parameters of each subject in response to user operations, such as modifying one or more component parameters, adding, modifying, or deleting interaction effects and associated functions. Figure 3C After detecting that the user clicks the edit option in the menu U21, the mobile phone 10 can modify the component parameters (such as component shape, background color, etc.) of the interactive component corresponding to the building T1 based on the user operation; Figure 3D After detecting that the user clicks the edit option in the menu U25, the mobile phone 10 can modify the component parameters (such as component shape, background color, etc.) of the interactive component corresponding to Squirrel T2 based on the user operation. Figure 3F , the mobile phone 10 can configure interactive effects and / or associated functions for the interactive component T2-2 based on the user's operation on the interactive interface.
[0184] 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 features such as the subject outline, the subject main color, the subject type, etc. (for example, the mobile phone 10 can generate a display style matching each subject based on the subject features of each subject based on 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 operation, which is not limited here.
[0185] In some embodiments, the mobile phone 10 may also generate interactive effects 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 effects and / or associated functions corresponding to each subject based on the subject characteristics of each subject based on a pre-trained model.
[0186] S803: Generate an interactive wallpaper based on the display styles and interaction parameters of the subjects, where the interactive wallpaper includes interactive components corresponding to at least some of the subjects.
[0187] After determining the display style and interaction parameters of each subject, the mobile phone 10 can generate an interactive wallpaper based on the display style and interaction parameters of each subject. The interactive wallpaper can include interactive components corresponding to at least some of the subjects.
[0188] For example, after determining the display style and interaction parameters of each subject, the user deletes part of the subject (or the interactive components corresponding to the part of the subject), and the at least part of the subject may include the subject that the user did not delete. For another example, if the user did not delete the subject, the at least part of the subject may be all the subjects for which the display style and interaction parameters were determined.
[0189] 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. Figure 3E In the situation shown, the mobile phone 10 can add the camera component T3 and the step component T4 in response to the user operation, and the interactive wallpaper C2' generated by the mobile phone 10 includes the interactive components T1-2 and T2-2 corresponding to the subjects (building T1 and squirrel T2) in the first image as well as the camera component T3 and the step component T4.
[0190] 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, text parameters of the text in the component (such as font, font size, text color, etc.), etc.
[0191] 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 (for example, one or more of the desktop interface, lock screen interface, and off-screen display interface displayed on each screen of the mobile phone 10), or can configure the interactive wallpaper as the wallpaper of the display interface based on user operations.
[0192] After configuring the interactive wallpaper as the wallpaper of the first interface, the mobile phone 10 can display the corresponding interactive effects or execute the corresponding related functions based on the user's interactive instructions when displaying the first interface. The following interface shows the process in which the mobile phone 10 configures the interactive wallpaper as the wallpaper of the first interface and displays the interactive effects or executes the functions associated with the interactive components based on the user's interactive instructions.
[0193] The interactive wallpaper generated based on the above method, since the display style of the interactive component is generated based on the subject in the first image selected by the user, and / or the interaction parameters of the interactive component can also be configured by the user, can meet the needs of a personalized display interface and help improve the user experience.
[0194] Figure 8B According to some embodiments of the present application, a schematic diagram of a process of a mobile phone 10 responding to a user's interactive instruction is shown. The execution subject of the process is the mobile phone 10, such as Figure 8B As shown, the process includes:
[0195] S804: In response to a user operation, configure the interactive wallpaper as the wallpaper of the first interface.
[0196] The mobile phone 10 may configure the interactive wallpaper as the wallpaper of the first interface based on the user operation.
[0197] In some embodiments, the first interface may be a desktop interface, a lock screen interface, or an off-screen display interface. In other embodiments, the first interface may also be other interfaces, which are not limited here.
[0198] 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 be one or more lock screen interfaces, and different lock screen interfaces can be configured with the same or different interactive wallpapers. There can be one or more off-screen display interfaces, and different off-screen displays can be configured with the same or different interactive wallpapers.
[0199] For example, for Figure 3F In the illustrated situation, the mobile phone 10 can configure the interactive wallpaper C2' as the wallpaper of the desktop, and / or the lock screen interface, and / or the off-screen display interface based on the user's operation in the menu U33.
[0200] For example, for FIG. 5A to FIG. 5C In the illustrated situation, the mobile phone 10 may configure the interactive wallpaper C2' as the wallpaper of the off-screen display interface based on the user's operation of selecting the interactive wallpaper C2'.
[0201] For example, for Figure 6 In the situation shown, the mobile phone 10 can 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 in response to the user selecting any one of the interactive wallpapers B1, B2, and C2' and clicking the confirmation control U65.
[0202] It should be noted that, in other embodiments, the mobile phone 10 may also configure the interactive wallpaper as the wallpaper of the first interface in other ways, which is not limited here.
[0203] It should be noted that, in 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.
[0204] S805, displaying the first interface.
[0205] After configuring the interactive wallpaper as the wallpaper of the first interface, the mobile phone 10 can display the first interface. In the first interface, the interactive wallpaper serves as the background of the first interface, and the interactive wallpaper includes at least one interactive component, such as the interactive component generated in the above step S803. Figure 3F In the situation shown, the mobile phone 10 can display the lock screen interface P31.
[0206] It should be noted that, in the first interface, one or more controls may also be included on the upper layer of the interactive wallpaper, such as application icons, shortcut icons, service cards, etc.
[0207] In some embodiments, the interactive components or system components may also automatically add, replace or delete some interactive components in the first interface based on trigger events detected by the mobile phone 10 or status information of the mobile phone 10 (such as geographic location, battery level, etc.).
[0208] For example, when the mobile phone 10 is in different geographical locations, interactive components associated with the geographical locations (eg, components providing other information such as attractions, transportation, news, etc. of the geographical locations) may be displayed.
[0209] For another example, when the mobile phone 10 detects other associated devices (for example, detecting other devices through near field communication), the interactive components displayed in the other devices can be displayed in the first interface.
[0210] For another example, when mobile phone 10 detects that the account associated with mobile phone 10 has new express delivery, takeout, instant messaging messages, etc., it can display interactive components such as express delivery information, takeout delivery information, and instant messaging message prompt information in the first interface.
[0211] S806, in response to the user's interaction instruction, displaying the interaction effect corresponding to the interaction instruction or executing the associated function corresponding to the interaction instruction.
[0212] When displaying the first interface, the mobile phone 10 can respond to the user's interaction instructions and display the interaction effects corresponding to the interaction instructions (for example, the interactive components corresponding to the interaction instructions (for example, preset interactive components, or interactive components pre-configured by the user, or interactive components acted upon by the user)), or execute the associated functions corresponding to the interaction instructions (for example, the associated functions of the interactive components corresponding to the interaction instructions).
[0213] In some embodiments, the interactive instruction may be an instruction generated when a user's voice instruction is detected, the user's operation on the first interface, the user's operation of adjusting the parameters of the mobile phone 10 (such as posture, angle with the horizontal plane, speed / acceleration / direction of movement, etc.), the user's blowing operation, etc. It should be noted that in other embodiments, the interactive instruction may also be an instruction generated in other circumstances, which is not limited here.
[0214] For example, for the aforementioned lock screen interface P31 (as the first interface), the mobile phone 10 can respond to the user's operation on the interactive component T2-1, the interactive component T2-2 on the lock screen interface P31, or the user's blowing operation to display the corresponding interactive dynamic effect. For details, please refer to the aforementioned FIG. 4A to FIG. 4C , Figure 4E The mobile phone 10 can also start the camera application in response to the user's operation on the camera component T3, and display the shooting interface P32.
[0215] In some embodiments, when other controls are superimposed on the interactive component in the interactive wallpaper, and when the user's operation acts on the overlapping area between the interactive component and the other controls, the mobile phone 10 can respond to the user operation based on the other controls first.
[0216] For example, refer to Fig.10 , the desktop interface displayed by the flexible screen 194-1 of the mobile phone 10 includes a time control T6. When the mobile phone 10 configures the aforementioned interactive wallpaper C3' as the wallpaper of the desktop interface in response to the user operation, the step component T4 in the interactive wallpaper C3 overlaps with the time control T6 in the desktop (the time control T6 overlaps the upper layer of the step component T4, and the area D2 where the time control T6 is located partially overlaps with the area where the step 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 (for example, displaying the interface of the clock application); when 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 component T4 (for example, displaying the interactive animation corresponding to the step component T4, or starting an application associated with the step component (for example, a sports health application)).
[0217] It should be noted that the execution order of the above steps is only an example. In some embodiments, the electronic device may also adjust the order of some steps, or merge / split some steps, or delete some steps, which is not limited here. For example, in some embodiments, when the electronic device detects that the user configures at least one first image as a wallpaper (or an interactive wallpaper), it can 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 component in the first wallpaper can be obtained based on part or all of the main body in the first image. The generation method of the interactive component in the first wallpaper can refer to step S802, which is not repeated here.
[0218] Based on the above method, when the mobile phone 10 displays the first interface, it can display interactive effects or execute corresponding related functions based on the user's interactive instructions, thereby increasing the interactivity of the first interface and improving the user's interactive experience.
[0219] An embodiment of the present application also provides a program product, which, when executed on an electronic device, can enable the electronic device to implement the wallpaper generation method provided by the aforementioned embodiments.
[0220] An embodiment of the present application further provides a readable storage medium, in which one or more programs / instructions are stored. When the one or more programs / instructions are executed by an electronic device, the electronic device implements the wallpaper generation method provided by the aforementioned embodiments.
[0221] further, Fig.11 According to some embodiments of the present application, a schematic structural diagram of a mobile phone 10 is shown.
[0222] like Fig.11 As shown, 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, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0223] The processor 110 may include one or more processing units, for example, the processor 110 may include a central processing unit (CPU), an 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.
[0224] In some embodiments, the processor 110 may be configured to execute one or more programs / instructions corresponding to the wallpaper generation methods provided in the aforementioned embodiments.
[0225] The charging management module 140 is used to receive charging input from a charger. While the charging management module 140 is charging the battery 142 , it can also power the electronic device through the power management module 141 .
[0226] 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, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
[0227] The wireless communication function of the mobile phone 10 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0228] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
[0229] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the mobile phone 10. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0230] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity networks), Bluetooth (BT), global navigation satellite system (GNSS), near field communication (NFC), infrared technology (IR), near link (NL), etc., which are applied to the mobile phone 10. 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 the antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0231] The mobile phone 10 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects 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 that execute program instructions to generate or change display information.
[0232] Display screen 194 is used to display images. For example, display screen 194 can be used to display interfaces, such as a desktop interface, an off-screen display interface, a lock screen interface, 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.
[0233] The camera 193 is used to capture still images or videos.
[0234] 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 implement a data storage function, such as storing application data of an application in the external memory card.
[0235] The internal memory 121 can be used to store one or more programs and corresponding data. The internal memory 121 may include a program storage area and a data storage area. In some embodiments, the program storage area may store an operating system, an application required for at least one function, etc., such as the program / instructions corresponding to the wallpaper generation method provided in the aforementioned embodiments. The data storage area may store data created during the use of the mobile phone 10, such as interactive components, interactive wallpapers, etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a general flash memory, etc. The processor 110 executes various functional applications of the mobile phone 10 by running one or more programs stored in the internal memory 121, and / or one or more programs stored in a memory provided in the processor 110.
[0236] The mobile phone 10 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. For example, the audio module 170 can be used to play prompt information.
[0237] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals.
[0238] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.
[0239] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.
[0240] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.
[0241] The earphone jack 170D is used to connect a wired earphone.
[0242] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The mobile phone 10 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the mobile phone 10 detects the intensity of the touch operation based on the pressure sensor 180A. The mobile phone 10 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A.
[0243] The air pressure sensor 180C can be used to detect the air pressure at the geographical location where the mobile phone 10 is located.
[0244] The acceleration sensor 180E can detect the magnitude of the acceleration of the mobile phone 10 in various directions (generally three axes). When the mobile phone 10 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0245] The ambient light sensor 180L is used to sense the ambient light brightness. The mobile phone 10 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the mobile phone 10 is in a pocket to prevent accidental touches.
[0246] The fingerprint sensor 180H is used to collect fingerprints. The mobile phone 10 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0247] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the mobile phone 10, which is different from the position of the display screen 194.
[0248] In some embodiments, the mobile phone 10 can display the interactive effects corresponding to the interactive components, or execute the associated functions of the interactive components based on the pressure data collected by the pressure sensor 180A, the air pressure data collected by the air pressure sensor 180C (for example, detecting the user's blowing operation based on the change in air pressure), the acceleration data collected by the acceleration sensor 180E, and the touch events corresponding to the user's touch operation detected by the touch sensor 180K.
[0249] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The mobile phone 10 may receive key input and generate key signal input related to user settings and function control of the mobile phone 10.
[0250] The motor 191 can generate a vibration prompt. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, notifications, etc. In some embodiments, the mobile phone 10 can prompt the user by controlling the motor 191 to vibrate.
[0251] The SIM card interface 195 is used to connect a SIM card or an eSIM.
[0252] It is understood that the structure of the mobile phone 10 shown in the embodiment of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0253] It should be understood that in the embodiments of the present application, "or" describes the association relationship of associated objects, indicating that two relationships may exist. For example, A or B can represent: A exists alone, and B exists alone, where A and B can be singular or plural.
[0254] It should be understood that the term "connection" involved in the embodiments of the present application describes the connection relationship between two objects and can represent two connection relationships. For example, the connection between A and B can represent two situations: A is directly connected to B, and A is connected through C and B.
[0255] It should be understood that in the embodiments of the present application, "for example", "in some embodiments", "in another embodiment", "in another embodiment", "exemplarily" and the like are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word example is intended to present concepts in a concrete way.
[0256] It should be understood that the words "first", "second" and the like involved in the embodiments of the present application are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order. The words "equal to" involved in the embodiments of the present application can be used in conjunction with "greater than", and are applicable to the technical solutions adopted when "greater than" is used, and can also be used in conjunction with "less than", and are applicable to the technical solutions adopted when "less than" is used. It should be noted that when "equal to" is used in conjunction with "greater than", it cannot be used in conjunction with "less than"; when "equal to" is used in conjunction with "less than", it cannot be used in conjunction with "greater than".
[0257] In the accompanying drawings, some structural or method 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 required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0258] It should be understood that in the examples and descriptions of this patent, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements that are inherent to such process, method, article, or device. In the absence of further restrictions, an element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or device that includes the element.
Claims
1. A wallpaper generation method, applied to electronic equipment, characterized in that: include: Detecting a wallpaper generation instruction from a user, and acquiring at least one first image selected by the user; Identify at least one subject in the first image, and determine at least one interactive component and a 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 interactable component.
2. The method according to claim 1, characterized in that The determining, based on the at least one subject, at least one interactive component and a display style of each interactive component includes: Acquire at least part of the subject selected by the user from the at least one subject; Based on the at least part of the subject, the interactive components respectively corresponding to the at least part of the subject are generated.
3. The method according to claim 1, characterized in that The at least part of the body includes a first body, and a first component corresponding to the first body is generated in the following manner: Determine 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 component shape, component background, component size, component position, position of the corresponding subject in the component, and size of the corresponding subject in the component, and the first interaction parameter includes a first interaction animation corresponding to the first component and / or a first function associated with the first component; The first component is generated based on the first display style and the first interaction parameter.
4. The method according to claim 3, characterized in that: The first display style corresponding to the first component is determined in the following manner: Based on a subject feature of the first subject, the first display style matching the first subject among a plurality of preset display styles is determined, wherein the subject feature includes at least one of the following features: primary 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 manner: Based on the subject feature of the first subject, determining a second display style matching the first subject from among a plurality of preset display styles, wherein the subject feature includes at least one of the following features: primary color, outline, and type; The display style of the second display style is modified to the first display style based on a user operation.
6. The method according to claim 3, characterized in that The first display style corresponding to the first subject is determined in the following manner: Display multiple preset display styles; A display style selected by a user from the plurality of preset display styles is 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 is a preset animation, or an animation selected by the user from multiple interactive animations, or an animation 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 generating a first wallpaper based on the at least one interactive component comprises: Obtain at least one system component selected by a user from a plurality of system components; The first wallpaper is generated based on the at least one system component and the at least one interactable component.
9. The method according to any one of claims 3 to 7, characterized in that The method further comprises: The first interface is displayed, wherein the wallpaper of the first interface is the first wallpaper, and the first interface is any one of the following interfaces: a desktop interface, a lock screen interface, and an off-screen display interface.
10. The method according to claim 9, characterized in that The method further comprises: In response to a first operation of the user on the first component in the first interface, or a second operation of the user on the electronic device, or an interactive instruction of the user, the first interactive effect 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 a first system component among the at least one system component in the first interface, a function corresponding to the first system component is executed.
12. The method according to claim 9, characterized in that The method further comprises: 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, the second component is displayed on the first interface, or a 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 obtaining of at least part of the subject selected by the user from the at least one subject comprises: When the number and / or area of the at least one subject meets the area condition, prompting the user to reselect a subject; A partial subject selected by a user from the at least one subject is obtained.
14. An electronic device, characterized in that: include: A memory for storing one or more programs; A processor is used to execute the one or more programs so that the electronic device implements 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, and when the one or more programs are executed on an electronic device, the electronic device implements the wallpaper generation method described in any one of claims 1 to 13.
Citation Information
Cited By
Interaction method, interaction device, electronic equipment, storage medium and program product
CN120523373A
Display method and electronic device
WO2026026825A1
Wallpaper generation method, readable storage medium, and electronic device
WO2026091649A1