Wallpaper generation method and electronic equipment

By selecting an image with a subject in the wallpaper editing interface and intelligently matching the background, combined with the preset text to generate a personalized wallpaper, it solves the problem of existing wallpapers being difficult to meet users' personalized needs, improves user experience and enhances wallpaper interaction. sex.

CN118625977APending Publication Date: 2024-09-10HUAWEI TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410764990.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing wallpapers are mainly static photos or dynamic resources, which are difficult to meet the personalized needs of users and result in poor user experience.

Method used

Provides a wallpaper generation method that selects an image with a subject in the wallpaper editing interface, intelligently matches the background and combines the preset text to generate a personalized wallpaper, and supports the user's personalized modification of the wallpaper, including selecting, editing background, text and Main body, providing 3D effects and editing controls.

Benefits of technology

It simplifies the operation of users to generate personalized wallpapers, improves user experience, meets users' personalized needs for wallpapers, and enhances interactivity through 3D effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625977A
    Figure CN118625977A
Patent Text Reader

Abstract

The invention provides a wallpaper generation method and electronic equipment, and relates to the technical field of computers. The method comprises the following steps: displaying a wallpaper editing interface in response to a first operation; and then, in response to a first editing operation input in the wallpaper editing interface, displaying the target wallpaper in the wallpaper editing interface. Wherein the first editing operation comprises an operation of selecting the first image, the target wallpaper comprises the target text and at least one main body in the first image, and the background of the target wallpaper is matched with the main body in the first image. According to the technical scheme, personalized modification of the wallpaper can be supported, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a wallpaper generation method and electronic device. Background Art

[0002] Mobile phones, computers and other electronic devices usually have the function of setting wallpapers. With the development of intelligent electronic devices, users have more personalized needs for wallpapers of electronic devices.

[0003] However, most existing wallpapers are static photos or dynamic resources, which are difficult to meet the personalized needs of users and have a poor user experience. Summary of the invention

[0004] In view of this, the present application provides a wallpaper generation method and an electronic device for supporting personalized modification of wallpapers and improving user experience.

[0005] In order to achieve the above objectives, in a first aspect, an embodiment of the present application provides a wallpaper generation method, comprising:

[0006] In response to the first operation, displaying a wallpaper editing interface;

[0007] In response to a first editing operation input in the wallpaper editing interface, a target wallpaper is displayed in the wallpaper editing interface; the first editing operation includes an operation of selecting a first image, the target wallpaper includes target text and at least one subject in the first image, and the background of the target wallpaper matches the subject.

[0008] The displayed target wallpaper may be a target wallpaper preview image.

[0009] The wallpaper generation method provided in the embodiment of the present application can intelligently match the corresponding background according to the subject in the first image selected by the user, and then generate the target wallpaper in combination with the preset text (i.e., the target text), thereby supporting the user's personalized modification of the wallpaper, meeting the user's personalized needs for wallpaper, and improving the user experience; and, the solution only requires the user to select an image with a subject in the wallpaper editing interface to generate the corresponding personalized wallpaper, which is simple to operate and can greatly simplify the user's operation when generating personalized wallpapers, further improving the user experience.

[0010] In a possible implementation of the first aspect, the first editing operation further includes: an operation of selecting a first background, and the background of the target wallpaper is the first background.

[0011] Through the above implementation, the user can reselect the background in the wallpaper, further satisfying the user's personalized needs for wallpaper and improving the user experience.

[0012] In a possible implementation of the first aspect, the target wallpaper has a three-dimensional display effect generated according to a gyroscope sensor. In a possible implementation, the display effect can be displayed on a preview image of the target wallpaper, and the user can view the effect by swinging the mobile phone. Optionally, the electronic device can provide a control to facilitate the user to turn off the effect. In other possible implementations, the display effect can also be displayed only when the wallpaper is actually applied to the lock screen or desktop, and the user can experience the effect by swinging the mobile phone.

[0013] Through the above implementation, the 3D effect of the wallpaper can be achieved based on the gyroscope sensor, so that the wallpaper can display 3D effects at different angles as the mobile phone is swung, thereby improving the user experience.

[0014] In a possible implementation of the first aspect, the target text matches the main body, so that the elements in the target wallpaper can be more integrated, thereby improving the user experience.

[0015] In a possible implementation of the first aspect, the first editing operation further includes: a setting operation for setting a background color, and the background color of the target wallpaper matches the background color set by the setting operation.

[0016] Through the above implementation, the user can freely select the background color of the wallpaper, which further meets the user's personalized needs for wallpaper and improves the user experience.

[0017] In a possible implementation of the first aspect, the first editing operation further includes: a text modification operation for modifying the target text;

[0018] The text modification operation includes at least one of the following operations:

[0019] Operations that modify the text content of the target text;

[0020] Operations to modify the font of the target text;

[0021] An operation that changes the font color of the target text.

[0022] Through the above implementation, the text input by the user can be displayed in the generated wallpaper, enriching the personalized elements in the generated wallpaper, further meeting the user's personalized needs for wallpaper, and improving the user experience.

[0023] In a possible implementation of the first aspect, the first editing operation also includes: an icon color setting operation, the icon color setting operation is used to set the icon color of the target control, and the target control is a control displayed on the target wallpaper in a locked screen or off screen state.

[0024] In a possible implementation of the first aspect, the method further includes:

[0025] In response to a second operation on the target wallpaper, entering a wallpaper editing state, in which the target wallpaper is editable;

[0026] In response to a second editing operation on the target wallpaper, updating and displaying the target wallpaper;

[0027] The second editing operation includes at least one of the following operations:

[0028] An operation of replacing the first image;

[0029] Subject editing operations for subjects;

[0030] Text editing operation for target text in target wallpaper;

[0031] Background editing operations for backgrounds.

[0032] Through the above implementation, the user can edit the generated wallpaper again, so that the regenerated wallpaper can better meet the user's personalized needs and further improve the user experience.

[0033] In a possible implementation of the first aspect, in a wallpaper editing state, an editing control is displayed on the target wallpaper;

[0034] The edit control includes at least one of the following:

[0035] Cancel control, used to cancel the editing of the target wallpaper in the wallpaper editing state and exit the wallpaper editing state;

[0036] The completion control is used to save the edited target wallpaper in the wallpaper editing state and exit the wallpaper editing state;

[0037] The picture selection control is used to reselect the first image.

[0038] In a possible implementation of the first aspect, in response to the second editing operation on the target wallpaper, updating and displaying the target wallpaper includes:

[0039] In response to a third operation on the target text, entering a text editing state, in which the target text is editable;

[0040] In response to a text editing operation on a target text, updating and displaying a target wallpaper;

[0041] Text editing operations include at least one of the following operations:

[0042] Operations to adjust the font of the target text;

[0043] Operation to adjust the font color of the target text;

[0044] Operations that modify the text content of the target text;

[0045] The operation of deleting the target text;

[0046] Operations to move target text;

[0047] The operation of scaling the target text.

[0048] In the wallpaper editing state, the subject, text, and background of the target wallpaper can all be edited. Through the above implementation, in the wallpaper editing state, the target text in the target wallpaper can be edited after entering the text editing state, thereby reducing the user's misoperation of the target text when editing the subject and background of the target wallpaper in the wallpaper editing state, thereby improving the user experience. In addition, the above implementation also provides a variety of editing solutions for the target text in the wallpaper for the user to choose from, thereby improving the user experience.

[0049] In a possible implementation of the first aspect, in response to a third operation on the target text, the method further includes:

[0050] Display text area indication information, where the text area indication information is used to indicate the area of ​​the target text in the target wallpaper, and the text area indication information includes: a dotted frame displayed along the outer edge of the area where the target text is located.

[0051] Through the above implementation, the area where the target text is located in the target wallpaper can be displayed, which is convenient for the user to edit the target text in the target wallpaper.

[0052] In a possible implementation of the first aspect, in response to the second editing operation on the target wallpaper, updating and displaying the target wallpaper includes:

[0053] In response to a fourth operation on the subject, entering a subject editing state, in which the subject is editable;

[0054] In response to the subject editing operation on the subject, updating and displaying the target wallpaper;

[0055] The main body editing operation includes at least one of the following operations:

[0056] Moving subjects;

[0057] Zoom in on the subject;

[0058] When the subject includes multiple parts, delete some of the parts.

[0059] Through the above implementation, in the wallpaper editing state, the subject in the target wallpaper can be edited only after entering the subject editing state, thereby reducing the user's misoperation on the subject when editing the target text and background in the target wallpaper in the wallpaper editing state, thereby improving the user experience. In addition, the above implementation also provides a variety of editing schemes for the subject in the wallpaper for the user to choose, thereby improving the user experience.

[0060] In a possible implementation manner of the first aspect, in response to a fourth operation on the subject, the method further includes:

[0061] The subject area indication information is displayed, where the subject area indication information is used to indicate the area of ​​the subject in the target wallpaper, and the subject area indication information includes: a dotted frame displayed along the outer edge of the area where the subject is located.

[0062] Through the above implementation, the area where the subject is located in the target wallpaper can be displayed, which is convenient for the user to edit the subject in the target wallpaper.

[0063] In a possible implementation of the first aspect, in response to the second editing operation on the target wallpaper, updating and displaying the target wallpaper includes:

[0064] In response to a fifth operation on the background, entering a background editing state, in which the background is editable;

[0065] In response to a background editing operation on the background, updating and displaying a target wallpaper;

[0066] Background editing operations include at least one of the following operations:

[0067] Change the background color;

[0068] Change the background.

[0069] Through the above implementation, in the wallpaper editing state, the background of the target wallpaper can be edited only after entering the background editing state, thereby reducing the user's misoperation on the background when editing the target text and subject in the target wallpaper in the wallpaper editing state, thereby improving the user experience. In addition, the above implementation also provides a variety of editing schemes for the background in the wallpaper for the user to choose, thereby improving the user experience.

[0070] In a possible implementation of the first aspect, when the subject in the first image includes multiple subjects, in response to a first editing operation input on the wallpaper editing interface, displaying a target wallpaper on the wallpaper editing interface includes:

[0071] In response to an operation of selecting the first image, displaying each subject in the first image;

[0072] In response to an operation of selecting a target subject from various subjects, the target wallpaper is displayed on the wallpaper editing interface, and the subject in the target wallpaper is the target subject.

[0073] Through the above implementation, when the first image selected by the user includes multiple subjects, each subject in the first image can be displayed to the user for selection, thereby improving the user experience.

[0074] In a possible implementation of the first aspect, when the first image includes multiple subjects, the target wallpaper includes all the subjects in the first image, or the target wallpaper includes the first subject among the subjects, and the area proportion of the first subject in the first image is greater than or equal to the target ratio.

[0075] In a second aspect, an embodiment of the present application provides a wallpaper generation device, including a display module and an editing module;

[0076] The display module is used for: displaying a wallpaper editing interface in response to a first operation;

[0077] The editing module is used to: in response to a first editing operation input in the wallpaper editing interface, display a target wallpaper in the wallpaper editing interface, wherein the first editing operation includes an operation of selecting a first image, the target wallpaper includes a target text and at least one subject in the first image, and the background of the target wallpaper matches the subject;

[0078] The display module is further used to: display the target wallpaper.

[0079] In a possible implementation of the second aspect, the first editing operation further includes: an operation of selecting a first background, and the background of the target wallpaper is the first background.

[0080] In a possible implementation of the second aspect, the target wallpaper has a three-dimensional display effect generated according to a gyroscope sensor.

[0081] In a possible implementation of the second aspect, the target text matches the subject.

[0082] In a possible implementation of the second aspect, the first editing operation further includes: a setting operation for setting a background color, and the background color of the target wallpaper matches the background color set by the setting operation.

[0083] In a possible implementation of the second aspect, the first editing operation further includes: a text modification operation for modifying the target text;

[0084] The text modification operation includes at least one of the following operations:

[0085] Operations that modify the text content of the target text;

[0086] Operations to modify the font of the target text;

[0087] An operation that changes the font color of the target text.

[0088] In a possible implementation of the second aspect, the first editing operation also includes: an icon color setting operation, the icon color setting operation is used to set the icon color of the target control, and the target control is a control displayed on the target wallpaper in a locked screen or off screen state.

[0089] In a possible implementation manner of the second aspect, the editing module is further used to:

[0090] In response to a second operation on the target wallpaper, entering a wallpaper editing state, in which the target wallpaper is editable;

[0091] The display module is further used for: in response to a second editing operation on the target wallpaper, updating and displaying the target wallpaper;

[0092] The second editing operation includes at least one of the following operations:

[0093] An operation of replacing the first image;

[0094] Subject editing operations for subjects;

[0095] Text editing operation for target text in target wallpaper;

[0096] Background editing operations for backgrounds.

[0097] In a possible implementation of the second aspect, in a wallpaper editing state, an editing control is displayed on the target wallpaper;

[0098] The edit control includes at least one of the following:

[0099] Cancel control, used to cancel the editing of the target wallpaper in the wallpaper editing state and exit the wallpaper editing state;

[0100] The completion control is used to save the edited target wallpaper in the wallpaper editing state and exit the wallpaper editing state;

[0101] The picture selection control is used to reselect the first image.

[0102] In a possible implementation manner of the second aspect, the editing module is specifically used to:

[0103] In response to a third operation on the target text, entering a text editing state, in which the target text is editable;

[0104] The display module is specifically used for: in response to a text editing operation on a target text, updating and displaying a target wallpaper;

[0105] Text editing operations include at least one of the following operations:

[0106] Operations to adjust the font of the target text;

[0107] Operation to adjust the font color of the target text;

[0108] Operations that modify the text content of the target text;

[0109] The operation of deleting the target text;

[0110] Operations to move target text;

[0111] The operation of scaling the target text.

[0112] In a possible implementation manner of the second aspect, the display module is further used for:

[0113] Display text area indication information, where the text area indication information is used to indicate the area of ​​the target text in the target wallpaper, and the text area indication information includes: a dotted frame displayed along the outer edge of the area where the target text is located.

[0114] In a possible implementation manner of the second aspect, the editing module is specifically used to:

[0115] In response to a fourth operation on the subject, entering a subject editing state, in which the subject is editable;

[0116] The display module is specifically used to: in response to the subject editing operation on the subject, update the display target wallpaper;

[0117] The main body editing operation includes at least one of the following operations:

[0118] Moving subjects;

[0119] Zoom in on the subject;

[0120] When the subject includes multiple parts, delete some of the parts.

[0121] In a possible implementation manner of the second aspect, the display module is further used for:

[0122] The subject area indication information is displayed, where the subject area indication information is used to indicate the area of ​​the subject in the target wallpaper, and the subject area indication information includes: a dotted frame displayed along the outer edge of the area where the subject is located.

[0123] In a possible implementation manner of the second aspect, the editing module is specifically used to:

[0124] In response to a fifth operation on the background, entering a background editing state, in which the background is editable;

[0125] The display module is specifically used for: in response to a background editing operation on the background, updating and displaying a target wallpaper;

[0126] Background editing operations include at least one of the following operations:

[0127] Change the background color;

[0128] Change the background.

[0129] In a possible implementation manner of the second aspect, the display module is specifically used to:

[0130] In response to an operation of selecting the first image, displaying each subject in the first image;

[0131] The editing module is specifically used for: in response to an operation of selecting a target subject from various subjects, displaying the target wallpaper in the wallpaper editing interface, wherein the subject in the target wallpaper is the target subject.

[0132] The display module is further used to: display the target wallpaper.

[0133] In a possible implementation of the second aspect, when the first image includes multiple subjects, the target wallpaper includes all the subjects in the first image, or the target wallpaper includes the first subject among the subjects, and the area proportion of the first subject in the first image is greater than or equal to the target ratio.

[0134] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory and a processor, the memory being used to store a computer program; the processor being used to execute the method described in the first aspect or any one of the implementations of the first aspect when calling the computer program.

[0135] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method described in the first aspect or any one of the embodiments of the first aspect is implemented.

[0136] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device executes the method described in the first aspect or any implementation method of the first aspect.

[0137] In a sixth aspect, an embodiment of the present application provides a chip system, including a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the method described in the first aspect or any embodiment of the first aspect. The chip system can be a single chip or a chip module composed of multiple chips.

[0138] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0139] Figure 1 A schematic diagram of a wallpaper generation method provided in an embodiment of the present application;

[0140] Figure 2 A schematic diagram of a wallpaper editing interface provided in an embodiment of the present application;

[0141] Figures 3 to 10 Some schematic diagrams of interfaces for generating target wallpapers provided in embodiments of the present application;

[0142] Fig.11 A schematic diagram of an interface for triggering wallpaper editing status provided in an embodiment of the present application;

[0143] Figure 12 to Figure 15 Some schematic diagrams of interfaces for editing target wallpapers provided in the embodiments of the present application;

[0144] Figure 16 to Figure 19 Schematic diagram of 3D effects of some lock screen interfaces provided in embodiments of the present application;

[0145] Fig. 20 A schematic diagram of the structure of a wallpaper generating device provided in an embodiment of the present application;

[0146] Fig.21 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0147] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0148] With the development of smart electronic devices such as mobile phones, users have more diversified personalized needs for wallpapers of electronic devices. However, most existing wallpapers are static photos or dynamic resources, which are difficult to meet the personalized needs of users.

[0149] In order to meet the personalized needs of users for wallpapers, one way is to support user customization of wallpapers, but this method can only support users to modify part of the content in the wallpaper in a templated manner, and the modification effect is not obvious, which cannot meet the personalized needs of users. Another way is to customize personalized wallpapers. Although this method can meet the personalized needs of users, the customization method involves many parameters, the solution operation is complicated, and it takes a lot of effort from users.

[0150] To this end, the present application provides a wallpaper generation method, which can intelligently match the corresponding background according to the subject in the image selected by the user, and then generate personalized wallpaper in combination with preset text. It can support users' personalized modification of wallpapers and meet users' personalized needs for wallpapers. At the same time, the solution only requires users to select an image with a subject in the wallpaper editing interface to generate the corresponding personalized wallpaper. The operation is simple, which can greatly simplify the operation of users when generating personalized wallpapers and improve the user experience.

[0151] The wallpaper generation method provided in the embodiment of the present application can be applied to electronic devices, and the electronic devices may include but are not limited to personal computers (PCs), smart phones, netbooks, tablet computers, PDAs, smart screens, etc. For the sake of ease of explanation, the embodiment of the present application will be exemplified using a mobile phone as an electronic device.

[0152] The wallpaper generated by the wallpaper generation method provided in the embodiment of the present application can be applied to the lock screen interface, the screen off interface, the unlock interface, and the main interface of the mobile phone after unlocking, etc. For the sake of convenience of explanation, the embodiment of the present application will be exemplified by applying the generated wallpaper to the lock screen interface as an example.

[0153] Figure 1 A flowchart of a wallpaper generation method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the wallpaper generation method provided in the embodiment of the present application may include the following steps:

[0154] S110. In response to the first operation, display a wallpaper editing interface.

[0155] The first operation may be a touch operation (such as a click operation, a long press operation, etc.), or a voice input operation, a gesture operation, or a remote control operation, etc., and the embodiment of the present application does not make any specific limitation on this.

[0156] The naming method for the operations input by the user in the embodiment of the present application is only an example and should not be understood as a limitation to the embodiment of the present application. In some embodiments, the same operation may also be named by other names.

[0157] The wallpaper editing interface can be Figure 2As shown, it includes a preview window, a preview button, background overlay options, background color options, text options, icon color options, and an apply button.

[0158] Background overlay options may include picture options and background options. The picture option may be used for the user to select a picture with a subject, and the background option may be used for the user to select a background for the wallpaper.

[0159] The Background Color option allows users to adjust the background color of the wallpaper.

[0160] Text options may include text content options, font options, and font color options.

[0161] The text content option can be used by users to adjust the text content in the wallpaper. The text option can set the default text content, such as "Fenghua", etc. Users can also modify or delete the default text content in the text option. The font option can be used by users to set the font type of the text, such as Kaiti, Songti, Lishu, etc. The font color option can be used to set the font color of the text.

[0162] The icon color option can be used by users to set the color of various interface icons (such as camera icon, clock control icon, etc.) on the lock screen interface.

[0163] The preview window can be used to display wallpapers generated based on the user's settings for each option. Each time the user sets an item, the wallpaper displayed in the preview window can be updated accordingly. For example, if the user deletes the default text content in the text option, the corresponding text content will also be deleted from the wallpaper displayed in the preview window.

[0164] Users can click the Preview button to preview the wallpaper in full screen. Users can click the Apply button to apply the wallpaper to the lock screen.

[0165] The user interface shown in the embodiment of the present application is only an example and is not intended to limit the present application. In some embodiments, the user interface displayed by the electronic device may include more or fewer interface elements than shown in the figure to achieve more or fewer functions; the position of each interface element can be adjusted as needed; each function can also be implemented using other interface elements, or can also be implemented in other user interfaces, and this embodiment does not specifically limit this.

[0166] Similarly, the naming of various functions, interfaces and interface elements in the embodiments of the present application is merely an example and is not intended to limit the present application. Other names may also be used in other embodiments.

[0167] S120: In response to a first editing operation input in the wallpaper editing interface, display a target wallpaper in the wallpaper editing interface.

[0168] The first editing operation may be an operation in which the user selects a picture through a picture option. In response to the user's operation of selecting a picture, the electronic device may first cut out the subject in the picture by cutting out the picture, and then match the corresponding background according to the type and style of the subject, and combine the default text content set in the text option to generate a personalized target wallpaper and display it in the preview window. This solution only requires the user to select an image with a subject in the wallpaper editing interface to generate the corresponding personalized wallpaper. It not only supports the user's personalized modification of the wallpaper and meets the user's personalized needs for the wallpaper, but also is simple to operate, which can greatly simplify the user's operation when generating personalized wallpapers and improve the user experience.

[0169] For example, Figure 3 As shown in (a) to (c) in the figure, the subject in the picture selected by the user is a person meditating. The electronic device determines that the subject's style has a Zen feeling, displays the subject in the preview window, and automatically sets a Chinese calligraphy background (such as background 1 in the figure). Optionally, the electronic device can display a default text "Fenghua".

[0170] In some embodiments, when there are multiple subjects in the picture selected by the user, the electronic device can display all the subjects in the picture in the preview window.

[0171] For example, Figure 4 As shown in (a) to (c) in the figure, the subject in the picture selected by the user includes a jumping person and cliffs on both sides. The electronic device determines that the type of the subject is outdoor sports, displays the jumping person and the cliffs on both sides in the preview window, and automatically sets a background similar to a waterfall (such as background 3 in the figure). Optionally, the electronic device can display the default text "Fenghua". In some other embodiments, the electronic device can also automatically replace the text with text related to sports.

[0172] In some embodiments, when there are multiple subjects in the picture selected by the user, the area ratio of each subject in the picture can be determined first, and then the subjects whose area ratio in the picture is greater than or equal to the target ratio (such as 1 / 20, etc.) are displayed in the preview window.

[0173] For example, Figure 5 As shown in (a) to (c) in the figure, the subjects in the picture selected by the user include a big tree and a flying bird. Since the area of ​​the flying bird accounts for a small proportion (less than the target ratio 1 / 20), only the big tree is displayed in the preview window, and the background can be a solid color background. Optionally, the electronic device can display a default text "Fenghua" or other default text.

[0174] In some embodiments, when there are multiple subjects in the picture selected by the user, each subject in the picture may be displayed first for the user to select, and then the subject selected by the user is displayed in the preview window according to the user's selection among the subjects. The user may select some or all of the multiple subjects.

[0175] For example, Figure 6 As shown in (a) to (c) in the figure, in response to the user selecting an image, each subject in the image is framed by a dotted frame for the user to select, and the user is prompted to "click to select a subject". After the user selects the subject tree (the dotted frame corresponding to the tree can be highlighted to indicate that it is selected), the tree is displayed in the preview window.

[0176] In some embodiments, when there is no subject in the picture selected by the user (such as the picture only includes a solid color background and artistic text), the electronic device can also combine the background of the picture with the default text content to generate a target wallpaper and display it in the preview window.

[0177] In some embodiments, the default text content set in the text option can also be changed according to the subject selected by the user to make the text content match the subject. At the same time, the content of the target text in the target wallpaper displayed in the preview window also changes accordingly.

[0178] For example, Figure 7 As shown in (a) to (c) in the figure, the subjects in the picture selected by the user include a jumping person and cliffs on both sides. The electronic device determines that the type of the subject is outdoor sports and adventure style, and can change the default content "Fenghua" in the text option to "Life is in Sports", and change the content of the target text in the target wallpaper displayed in the preview window from "Fenghua" to "Life is in Sports".

[0179] In some embodiments, the first editing operation may also be an operation in which the user selects a background through a background option. In response to the user selecting the background, the background of the target wallpaper displayed in the preview window may be changed to the background selected by the user.

[0180] For example, Figure 8 As shown in (a) and (b), after the user selects a picture, in response to the user's operation of selecting a background, the intelligently matched background in the preview window is changed to the background 3 selected by the user.

[0181] In some embodiments, the first editing operation may also be an operation in which the user adjusts the background color of the wallpaper through a background color option. In response to the user adjusting the background color, the background color of the target wallpaper in the preview window may be changed to the same or similar color as the color selected by the user.

[0182] Exemplarily, as Fig. 9 shown in (a) and (b) of Fig. 9 , after the user selects a background color, in response to the operation of the user selecting the background color, the background color of the target wallpaper in the preview window is changed to the background color selected by the user.

[0183] In some embodiments, the first editing operation may also be an operation for the user to modify the default text. For example, modifying the content of the text through the text content option, modifying the font type of the text through the font option, modifying the font color of the text through the font color option, etc. In response to the operation of the user modifying the default text, the content of the target text, the font type of the target text, and the font color of the target text in the target wallpaper of the preview window can be updated.

[0184] Exemplarily, as Fig.10 shown in (a) and (b) of Fig.10 , the user modifies the text content from "Feng Hua" to "Trees in the Wilderness" through the text content option, modifies the font type of the text through the font option, and modifies the font color of the text through the font color option (the borders of the font and font color selected by the user in the font option and font color option are highlighted). In response to the operation of the user modifying the default text, the content of the target text, the font type of the target text, and the font color of the target text in the target wallpaper of the preview window are updated.

[0185] In some embodiments, the first editing operation may further include an operation for the user to set the colors of the interface icons on the lock screen interface (such as the camera icon, the clock control icon, etc.) through the icon color option. In response to the operation of the user modifying the icon color, the colors of the interface icons in the target wallpaper can be updated.

[0186] The default colors of the interface icons on the lock screen interface can be fixed colors or can change with the change of the background color of the target wallpaper so that the colors of the interface icons match the background color of the target wallpaper.

[0187] S130. In response to a second operation on the target wallpaper, enter the wallpaper editing state.

[0188] The second operation may be a touch operation (such as a click operation, a long press operation, etc.), or a voice input operation, a gesture operation, or a remote control operation, etc. The embodiments of the present application do not make specific limitations thereto.

[0189] Exemplarily, as Fig.11 shown in (a) and (b) of Fig.11 , an edit button may be displayed in the target wallpaper of the preview window. The user clicks the edit button to enter the wallpaper editing state, and the target wallpaper is displayed full screen.

[0190] In the wallpaper editing state, the user can edit the target wallpaper, and the editing control can be displayed on the target wallpaper in the wallpaper editing state, wherein the editing control can include a cancel control (such as a cancel button) and a completion control (such as a completion button). The cancel control can be used by the user to cancel the editing of the target wallpaper and return to the wallpaper editing interface; the completion control can be used by the user to save the edited content after completing the editing of the target wallpaper and return to the wallpaper editing interface.

[0191] S140: In response to the second editing operation on the target wallpaper, update and display the target wallpaper.

[0192] The target wallpaper in the wallpaper editing state may include a picture selection control (such as a picture selection button, etc.) for the user to reselect a picture to replace the subject in the target wallpaper. Correspondingly, the second editing operation may be an operation in which the user triggers the picture selection control (such as a click operation) to replace the picture. In response to the second editing operation, the electronic device may update the subject in the target wallpaper.

[0193] For example, Fig.12 As shown in (a) to (c) in the figure, a select picture button is provided at the lower right corner of the target wallpaper that enters the wallpaper editing state, and the main body of the target wallpaper is a big tree. In response to the user clicking the select picture button and reselecting the picture (the main body in the reselected picture is the jumping person and the cliffs on both sides), the main body in the target wallpaper is changed from the big tree to the jumping person and the cliffs on both sides.

[0194] In some embodiments, the second editing operation may also be an editing operation on target text in the target wallpaper.

[0195] Specifically, the target text can be put into the editing state in response to the third operation (such as single click, double click, long press, etc.) on the target text. The target text can be edited after entering the editing state, which can reduce the user's misoperation on the target text when editing the subject and background of the target wallpaper in the wallpaper editing state, thereby improving the user experience.

[0196] The outer edge of the area where the target text entering the editing state is located may also have a dotted frame, a solid frame, etc. to indicate the area where the target text is located in the target wallpaper, so as to facilitate subsequent editing of the target text by the user.

[0197] Then, in response to an editing operation on the target text that has entered an editing state, the target text in the target wallpaper may be updated.

[0198] The editing operation on the target text may include adjusting the font of the target text, adjusting the font color of the target text, modifying the text content of the target text, deleting the target text, moving the target text, and scaling the target text.

[0199] Then, in response to trigger operations (such as clicks, long presses, etc.) on other non-layer areas (such as the background area of ​​the target wallpaper, etc.), the indication information of the target text can be hidden, and the screen can be cleared to allow the user to preview the screen.

[0200] For example, Fig.13 As shown in (a) to (d) in the figure, in response to the operation of clicking on the target text, the target text enters the editing state, and a dotted frame is displayed on the outer edge of the area where the target text is located; in response to the finger pinching operation on the target text, the target text is reduced; in response to the click operation on the background area of ​​the target wallpaper, the dotted frame of the target text is hidden, and the screen is entered into a clear state, so that the user can clear the screen for preview.

[0201] In some embodiments, the second editing operation may also be an editing operation on a subject in the target wallpaper.

[0202] Specifically, the fourth operation on the subject can be responded to first to make the subject enter the editing state. The subject can be edited after entering the editing state, which can reduce the user's misoperation on the subject when editing the target text and background in the target wallpaper in the wallpaper editing state, thereby improving the user experience.

[0203] The outer edge of the area where the subject in the editing state is located can also have a dotted frame to indicate the area where the subject is located in the target wallpaper, which is convenient for subsequent users to edit the subject. When the subject in the target wallpaper is large, part of the dotted frame on the edge of the subject may not be on the screen.

[0204] Then, in response to an editing operation on the subject that has entered the editing state, the subject in the target wallpaper can be updated. The editing operation on the subject can include moving the subject, scaling the subject, and deleting part of the subject in the case where the subject includes multiple subjects.

[0205] Then, in response to a trigger operation on other non-layer areas, the dotted frame of the main body can be hidden and the screen can be cleared to allow the user to preview the content.

[0206] For example, Fig.14 As shown in (a) to (d), the subject in the target wallpaper is a big tree. In response to the operation of clicking the subject, the subject enters the editing state, and a dotted frame is displayed on the outer edge of the area where the subject is located; in response to the move operation after long pressing the subject, the subject is moved; in response to the click operation on the background area of ​​the target wallpaper, the dotted frame of the subject is hidden, and the screen is entered into a clear state, allowing the user to clear the screen for preview.

[0207] In some embodiments, in the clear screen state, the electronic device can also respond to operations on the target text or subject in the target wallpaper (such as dragging, spreading or pinching fingers, etc.) to put the target text or subject into an editing state, and update the displayed target text or subject accordingly based on the user's operations in the clear screen state.

[0208] For example, Fig.15 As shown in (a) and (b), in the clear screen state, in response to the drag operation on the subject in the target wallpaper, the subject is moved and put into the editing state, and a dotted frame is displayed on the outer edge of the area where the subject is located.

[0209] In some embodiments, the second editing operation may also be an editing operation on the background in the target wallpaper.

[0210] Specifically, the fifth operation on the background of the target wallpaper can be responded to first to put the background into the editing state. The background can be edited only after entering the editing state, which can reduce the user's misoperation on the background when editing the target text and subject in the target wallpaper in the wallpaper editing state, thereby improving the user experience.

[0211] Then, in response to the editing operation on the background entering the editing state, the background in the target wallpaper can be updated. The editing operation on the background can include modifying the background color, replacing the background, etc.

[0212] After completing the editing of the target wallpaper, the user can click the Done button in the target wallpaper to save the edited content and return to the wallpaper editing interface. The edited target wallpaper is displayed in the preview window of the wallpaper editing interface, and the edited parameters are displayed in each option of the wallpaper editing interface.

[0213] The user can also click the cancel button in the target wallpaper to cancel the editing of the target wallpaper and return to the wallpaper editing interface. The preview window of the wallpaper editing interface displays the target wallpaper before editing, and each option of the wallpaper editing interface displays the parameters before editing.

[0214] Users can click the Apply button on the wallpaper editing interface to apply the set wallpaper to the lock screen interface.

[0215] In some embodiments, the electronic device may further include a gyroscope sensor, and accordingly, the target wallpaper set by the user may have a three-dimensional display effect (or 3D staggered effect) generated by the gyroscope sensor, so that the target wallpaper can display 3D effects at different angles as the phone swings, thereby improving the user experience. The electronic device may also add an option to enable or disable this function in the above wallpaper editing interface to support users to manually enable or disable the effect.

[0216] For example, Fig.16 As shown in (a) to (c) in the figure, after the target wallpaper is applied to the lock screen interface, in response to the user shaking the mobile phone left and right, the position of the main body of the target wallpaper in the lock screen interface also moves left and right.

[0217] Another example Fig.17 As shown in (a) to (c) in the figure, after the target wallpaper is applied to the lock screen interface, in response to the user's operation of shaking the mobile phone up and down, the position of the main body of the target wallpaper in the lock screen interface also moves up and down.

[0218] Another example Fig.18 As shown in (a) to (c), after the target wallpaper is applied to the lock screen interface, in response to the user swinging the phone back and forth, the main body of the target wallpaper is enlarged or reduced in the lock screen interface to show the effect of approaching or moving away from the user.

[0219] In some embodiments, after the target wallpaper is applied to the lock screen interface, in response to the user's operation of shaking the phone, the text in the target wallpaper can also move with the main body. Fig.19 As shown in (a) to (c) in the figure, in response to the user shaking the phone up and down, the main body and text in the target wallpaper move up and down in the lock screen interface.

[0220] In some embodiments, after the target wallpaper is applied to the lock screen interface, in response to the user shaking the phone up and down, the background in the target wallpaper can also move with the main body.

[0221] In some embodiments, when the user activates this function in the wallpaper editing interface, in response to the user shaking the phone, the target wallpaper in the preview window of the wallpaper editing interface may also display the corresponding 3D effect.

[0222] The wallpaper generation method provided in the embodiment of the present application can intelligently match the corresponding background according to the subject in the image selected by the user, and then generate the target wallpaper in combination with the preset text (i.e., the target text), thereby supporting the user's personalized modification of the wallpaper, meeting the user's personalized needs for wallpaper, and improving the user experience; and, the solution only requires the user to select an image with a subject in the wallpaper editing interface to generate the corresponding personalized wallpaper, which is simple to operate and can greatly simplify the user's operation when generating personalized wallpapers, further improving the user experience.

[0223] Those skilled in the art will appreciate that the above embodiments are exemplary and are not intended to limit the present application. Where possible, the execution order of one or more of the above steps may be adjusted, or may be selectively combined to obtain one or more other embodiments. For example, in some embodiments, both step S130 and step S140 may not be performed. Those skilled in the art may select and combine any of the above steps as needed, and all those that do not depart from the essence of the present application fall within the scope of protection of the present application.

[0224] Based on the same concept, as an implementation of the above method, an embodiment of the present application provides a wallpaper generating device, and the device embodiment corresponds to the above method embodiment. For ease of reading, the present device embodiment will no longer repeat the details of the above method embodiment one by one, but it should be clear that the device in this embodiment can correspond to and implement all the contents in the above method embodiment.

[0225] Fig. 20 A schematic diagram of the structure of the wallpaper generating device provided in the embodiment of the present application is shown in FIG. Fig. 20 As shown, the wallpaper generating device provided in this embodiment may include: a display module 110 and an editing module 120;

[0226] The display module 110 is used to: display a wallpaper editing interface in response to a first operation;

[0227] The editing module 120 is used to: generate a target wallpaper in response to a first editing operation input in the wallpaper editing interface, wherein the first editing operation includes an operation of selecting a first image, the target wallpaper includes a target text and at least one subject in the first image, and the background of the target wallpaper matches the subject;

[0228] The display module 110 is further used to display the target wallpaper.

[0229] As an optional implementation manner, the first editing operation also includes: an operation of selecting a first background, and the background of the target wallpaper is the first background.

[0230] As an optional implementation manner, the target wallpaper has a three-dimensional display effect generated according to a gyroscope sensor.

[0231] As an optional implementation, the target text is matched with the subject.

[0232] As an optional implementation manner, the first editing operation further includes: a setting operation for setting a background color, and the background color of the target wallpaper matches the background color set by the setting operation.

[0233] As an optional implementation, the first editing operation further includes: a text modification operation for modifying the target text;

[0234] The text modification operation includes at least one of the following operations:

[0235] Operations that modify the text content of the target text;

[0236] Operations to modify the font of the target text;

[0237] An operation that changes the font color of the target text.

[0238] As an optional implementation, the first editing operation also includes: an icon color setting operation, where the icon color setting operation is used to set the icon color of a target control, where the target control is a control displayed on the target wallpaper in a locked screen or off screen state.

[0239] As an optional implementation, in the wallpaper editing state, an editing control is displayed on the target wallpaper;

[0240] The edit control includes at least one of the following:

[0241] Cancel control, used to cancel the editing of the target wallpaper in the wallpaper editing state and exit the wallpaper editing state;

[0242] The completion control is used to save the edited target wallpaper in the wallpaper editing state and exit the wallpaper editing state;

[0243] The picture selection control is used to reselect the first image.

[0244] As an optional implementation, the editing module 120 is further configured to:

[0245] In response to a second operation on the target wallpaper, entering a wallpaper editing state, in which the target wallpaper is editable;

[0246] The display module 110 is further configured to: in response to a second editing operation on the target wallpaper, update and display the target wallpaper;

[0247] The second editing operation includes at least one of the following operations:

[0248] An operation of replacing the first image;

[0249] Subject editing operations for subjects;

[0250] Text editing operation for target text in target wallpaper;

[0251] Background editing operations for backgrounds.

[0252] As an optional implementation, the editing module 120 is specifically used for:

[0253] In response to a third operation on the target text, entering a text editing state, in which the target text is editable;

[0254] The display module 110 is specifically used to: update and display a target wallpaper in response to a text editing operation on a target text;

[0255] Text editing operations include at least one of the following operations:

[0256] Operation of adjusting the font of target text;

[0257] Operation to adjust the font color of the target text;

[0258] Operations that modify the text content of the target text;

[0259] The operation of deleting the target text;

[0260] Operations to move target text;

[0261] The operation of scaling the target text.

[0262] As an optional implementation manner, the display module 110 is further used for:

[0263] Display text area indication information, where the text area indication information is used to indicate the area of ​​the target text in the target wallpaper, and the text area indication information includes: a dotted frame displayed along the outer edge of the area where the target text is located.

[0264] As an optional implementation, the editing module 120 is specifically used for:

[0265] In response to a fourth operation on the subject, entering a subject editing state, in which the subject is editable;

[0266] The display module 110 is specifically used to: update and display a target wallpaper in response to a subject editing operation on the subject;

[0267] The main body editing operation includes at least one of the following operations:

[0268] Moving subjects;

[0269] Zoom in on the subject;

[0270] When the subject includes multiple parts, delete some of the parts.

[0271] As an optional implementation manner, the display module 110 is further used for:

[0272] The subject area indication information is displayed, where the subject area indication information is used to indicate the area of ​​the subject in the target wallpaper, and the subject area indication information includes: a dotted frame displayed along the outer edge of the area where the subject is located.

[0273] As an optional implementation, the editing module 120 is specifically used for:

[0274] In response to a fifth operation on the background, entering a background editing state, in which the background is editable;

[0275] The display module 110 is specifically used to: in response to a background editing operation on a background, update and display a target wallpaper;

[0276] Background editing operations include at least one of the following operations:

[0277] Change the background color;

[0278] Change the background.

[0279] As an optional implementation manner, the display module 110 is specifically used for:

[0280] In response to an operation of selecting the first image, displaying each subject in the first image;

[0281] The editing module 120 is specifically used for: generating a target wallpaper in response to an operation of selecting a target subject from various subjects, wherein the subject in the target wallpaper is the target subject.

[0282] The display module 110 is used to display the target wallpaper.

[0283] As an optional implementation, when there are multiple subjects in the first image, the target wallpaper includes all the subjects in the first image, or the target wallpaper includes the first subject among the subjects, and the area ratio of the first subject in the first image is greater than or equal to the target ratio.

[0284] The device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0285] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0286] Based on the same concept, the present application also provides an electronic device, see Fig.21 , Fig.21 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0287] The electronic device may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. The sensor module 280 may include a solid pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.

[0288] It is to be understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations 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 certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0289] The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0290] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0291] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

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

[0293] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). The I2S interface can be used for audio communication. The PCM interface can also be used for audio communication to sample, quantize and encode analog signals. The UART interface is a universal serial data bus used for asynchronous communication; the bus can be a bidirectional communication bus, which converts the data to be transmitted between serial communication and parallel communication. The MIPI interface can be used to connect the processor 210 with peripheral devices such as the display screen 294 and the camera 293; the MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. The GPIO interface can be configured by software, and the GPIO interface can be configured as a control signal or a data signal. The USB interface 230 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a MicroUSB interface, a USB Type C interface, etc. The USB interface 230 can be used to connect a charger to charge an electronic device, and can also be used to transmit data between an electronic device and a peripheral device. It can also be used to connect headphones and play audio through headphones. This interface can also be used to connect other electronic devices, such as AR devices, etc.

[0294] It is understandable that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0295] The charging management module 240 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger through the USB interface 230. In some wireless charging embodiments, the charging management module 240 may receive wireless charging input through a wireless charging coil of the electronic device. While the charging management module 240 is charging the battery 242, it may also power the electronic device through the power management module 241.

[0296] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the external memory, the display screen 294, the camera 293, and the wireless communication module 260. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 241 can also be set in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 can also be set in the same device.

[0297] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor and baseband processor.

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

[0299] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to electronic devices. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 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 250 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 250 can be set in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the same device as at least some of the modules of the processor 210.

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

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

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

[0303] The electronic device implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs that execute program instructions to generate or change display information.

[0304] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a Micro LED, a quantum dot light emitting diode (QLED), etc. In some embodiments, the electronic device may include 1 or N display screens 294, where N is a positive integer greater than 1.

[0305] The electronic device can realize the shooting function through ISP, camera 293, video codec, GPU, display screen 294 and application processor.

[0306] The ISP is used to process data fed back by the camera 293. The camera 293 is used to capture static images or videos. The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. The video codec is used to compress or decompress digital videos.

[0307] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and continuously self-learn. NPU can realize applications such as intelligent cognition of electronic devices, such as image recognition, face recognition, voice recognition, text understanding, etc.

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

[0309] The external memory interface 220 can be used to connect an external memory, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

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

[0311] The audio module 270 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 270 can also be used to encode and decode audio signals. In some embodiments, the audio module 270 can be arranged in the processor 210, or some functional modules of the audio module 270 are arranged in the processor 210. The speaker 270A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The receiver 270B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. The microphone 270C, also known as the "microphone" and "microphone", is used to convert sound signals into electrical signals. The headphone interface 270D is used to connect wired headphones. The headphone interface 270D can be a USB interface 230, or it can be a 3.5mm open mobile electronic equipment platform (open mobile terminal platform, OMTP) standard interface, the American Cellular Telecommunications Industry Association (cellular telecommunications industry association of the USA, CTIA) standard interface.

[0312] The key 290 includes a power button, a volume button, etc. The key 290 can be a mechanical key. It can also be a touch key. The electronic device can receive key input and generate key signal input related to the user settings and function control of the electronic device. The motor 291 can generate a vibration prompt. The motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. The indicator 292 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 295 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 295, or pulled out from the SIM card interface 295 to achieve contact and separation with the electronic device. The electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.

[0313] The electronic device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0314] The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described in the above method embodiment is implemented.

[0315] The embodiment of the present application also provides a computer program product. When the computer program product is run on an electronic device, the electronic device implements the method described in the above method embodiment when executing the computer program product.

[0316] The present application also provides a chip system, including a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the method described in the above method embodiment. The chip system can be a single chip or a chip module composed of multiple chips.

[0317] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk or a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0318] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media can include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0319] The naming or numbering of the steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The named or numbered process steps can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

[0320] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0321] In the embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0322] It should be understood that in the description of the present application specification and the appended claims, the terms "include", "comprises", "have" and any variations thereof are intended to cover non-exclusive inclusions and mean "including but not limited to", unless otherwise specifically emphasized. For example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules that are clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices.

[0323] In the description of this application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application is used to describe the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.

[0324] Furthermore, in the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0325] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0326] In addition, in the description of the present specification and the appended claims, the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein; the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.

[0327] In the embodiments of the present specification, the words "exemplarily" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present specification should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0328] References to "one embodiment" or "some embodiments" etc. described in the specification of the present application mean that one or more embodiments of the specification of the present application include a specific feature, structure or characteristic described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in the specification of the present application do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.

[0329] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A wallpaper generation method, characterized in that: include: In response to the first operation, displaying a wallpaper editing interface; In response to a first editing operation inputted in the wallpaper editing interface, displaying a target wallpaper in the wallpaper editing interface; The first editing operation includes an operation of selecting a first image, the target wallpaper includes target text and at least one subject in the first image, and the background of the target wallpaper matches the subject.

2. The method according to claim 1, characterized in that The first editing operation also includes: an operation of selecting a first background, and the background of the target wallpaper is the first background.

3. The method according to claim 1 or 2, characterized in that: The target wallpaper has a three-dimensional display effect generated according to a gyro sensor.

4. The method according to any one of claims 1 to 3, characterized in that: The first editing operation also includes: a setting operation for setting a background color, and the background color of the target wallpaper matches the background color set by the setting operation.

5. The method according to any one of claims 1 to 4, characterized in that: The first editing operation also includes: a text modification operation for modifying the target text; The text modification operation includes at least one of the following operations: An operation of modifying the text content of the target text; An operation of modifying the font of the target text; An operation of modifying the font color of the target text.

6. The method according to any one of claims 1 to 5, characterized in that: The first editing operation also includes: an icon color setting operation, wherein the icon color setting operation is used to set the icon color of a target control, and the target control is a control displayed on the target wallpaper in a locked screen or off-screen state.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to a second operation on the target wallpaper, entering a wallpaper editing state, in which the target wallpaper is editable; In response to a second editing operation on the target wallpaper, updating and displaying the target wallpaper; The second editing operation includes at least one of the following operations: An operation of replacing the first image; Subject editing operations for the subject; A text editing operation for a target text in the target wallpaper; A background editing operation is performed on the background.

8. The method according to claim 7, characterized in that In the wallpaper editing state, an editing control is displayed on the target wallpaper; The editing control includes at least one of the following: A cancel control, used to cancel the editing of the target wallpaper in the wallpaper editing state and exit the wallpaper editing state; A completion control is used to save the edited target wallpaper in the wallpaper editing state and exit the wallpaper editing state; The picture selection control is used to reselect the first image.

9. The method according to claim 7 or 8, characterized in that: In response to the second editing operation on the target wallpaper, updating and displaying the target wallpaper includes: In response to a third operation on the target text, entering a text editing state, in which the target text is editable; In response to a text editing operation on the target text, updating and displaying the target wallpaper; The text editing operation includes at least one of the following operations: An operation of adjusting the font of the target text; An operation of adjusting the font color of the target text; An operation of modifying the text content of the target text; An operation of deleting the target text; An operation of moving the target text; An operation of scaling the target text.

10. The method according to claim 9, characterized in that The method further comprises: Display text area indication information, where the text area indication information is used to indicate the area of ​​the target text in the target wallpaper, and the text area indication information includes: a dotted frame displayed along the outer edge of the area where the target text is located.

11. The method according to any one of claims 7 to 10, characterized in that: In response to the second editing operation on the target wallpaper, updating and displaying the target wallpaper includes: In response to a fourth operation on the subject, entering a subject editing state, in which the subject is editable; In response to a subject editing operation on the subject, updating and displaying the target wallpaper; The main body editing operation includes at least one of the following operations: moving the subject; scaling the subject; In the case that the subject includes multiple subjects, some of the subjects are deleted.

12. The method according to claim 11, characterized in that The method further comprises, in response to a fourth operation on the subject: The subject area indication information is displayed, where the subject area indication information is used to indicate the area of ​​the subject in the target wallpaper, and the subject area indication information includes: a dotted frame displayed along the outer edge of the area where the subject is located.

13. The method according to any one of claims 7 to 12, characterized in that: In response to the second editing operation on the target wallpaper, updating and displaying the target wallpaper includes: In response to a fifth operation on the background, entering a background editing state, in which the background is editable; In response to a background editing operation on the background, updating and displaying the target wallpaper; The background editing operation includes at least one of the following operations: modify the color of the background; Replace the background.

14. The method according to any one of claims 1 to 13, characterized in that: In a case where the subject in the first image includes a plurality of subjects, in response to a first editing operation input on the wallpaper editing interface, displaying a target wallpaper on the wallpaper editing interface includes: In response to an operation of selecting a first image, displaying each subject in the first image; In response to an operation of selecting a target subject from the subjects, the target wallpaper is displayed on the wallpaper editing interface, and the subject in the target wallpaper is the target subject.

15. The method according to any one of claims 1 to 14, characterized in that: In the case where there are multiple subjects in the first image, the target wallpaper includes all the subjects in the first image, or the target wallpaper includes the first subject among the subjects, and the area proportion of the first subject in the first image is greater than or equal to the target ratio.

16. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store a computer program; and the processor is used to execute the method according to any one of claims 1 to 15 when calling the computer program.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 15 is implemented.

18. A computer program product, characterized in that When the computer program product runs on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 15.

19. A chip system, characterized in that: The chip system includes a processor, which is coupled to a memory, and the processor executes a computer program stored in the memory to implement the method according to any one of claims 1-15.

Citation Information

Cited By

  • Lock screen wallpaper editing method and electronic device

    WO2026065520A1

  • Wallpaper setting method and electronic device

    WO2026067341A1

  • Wallpaper setting method and related apparatus

    WO2026086701A1