Wallpaper setting method and terminal equipment
By displaying a preview interface for displaying an image of the target element that is not obscured by the controls on the terminal device, the problem of screen controls blocking wallpaper is solved, improving the beauty and user experience of the wallpaper.
Patent Information
- Application Number
- CN202311582456.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2025-05-23
AI Technical Summary
The on-screen controls of the terminal device block the target elements in the wallpaper, reducing the beauty and user experience of the wallpaper.
Provides a method to set a wallpaper by displaying a preview interface to display an image of the target element that is not obscured by the controls, and allows the user to confirm that the image is set as a wallpaper.
Improves the problem that target elements are blocked by controls when setting wallpaper, improves the beauty and user experience of the wallpaper, and allows users to see the wallpaper and controls at the same time.
Smart Images

Figure CN120029504A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminals, and in particular to a method for setting wallpaper and a terminal device. Background Art
[0002] With the continuous development of terminal technology, various terminal devices are being used more and more widely. Terminal devices may include screens. When using terminal devices, users can select an image and set the image as the wallpaper of the terminal device, such as lock screen wallpaper, desktop wallpaper, etc. However, since the screen of the terminal device may include controls such as clocks, calendars, and application icons, these controls will block part of the image, thereby reducing the beauty of the wallpaper and user experience.
[0003] In the prior art, the terminal device can hide or delete the controls on the desktop to avoid blocking part of the wallpaper area, but this will cause the user to be unable to see the controls in time, such as the time, etc., thus reducing the convenience of the terminal device. Summary of the invention
[0004] In view of this, the present application provides a method and terminal device for setting wallpaper, which can improve the problem that the target elements in the wallpaper are blocked by the controls in the screen when setting the screen wallpaper, thereby improving the aesthetics of the wallpaper and user experience.
[0005] In order to achieve the above-mentioned purpose, in a first aspect, an embodiment of the present application provides a method for setting wallpaper, the method comprising:
[0006] In response to a setting operation of setting a first image as wallpaper of a first screen, if, when the first image serves as wallpaper of the first screen, controls in the first screen obstruct target elements in the first image, a first interface is displayed, the first interface including a preview of a second image on the first screen, the second image including the target element, and when the second image serves as wallpaper of the first screen, the controls in the first screen do not obstruct the target elements in the second image; in response to a first confirmation operation, the second image is set as wallpaper of the first screen.
[0007] In an embodiment of the present application, the first terminal may respond to a setting operation of setting the first image as the wallpaper of the first screen. When the first image is the wallpaper of the first screen and the control in the first screen obscures the target element in the first image, the first interface is displayed, and the preview image of the second image in the first screen is presented to the user through the first interface, where the second image includes the target element, and when the second image is the wallpaper of the first screen, the control in the first screen does not obscure the target element in the second image. Furthermore, in response to the first confirmation operation, the second image may be set as the wallpaper of the first screen, enabling the user to see both the control in the first screen and the target element in the wallpaper, improving the problem that the target element in the wallpaper is obscured by the control in the first screen when setting the wallpaper of the first screen, and enhancing the aesthetic feeling of the wallpaper and the user experience.
[0008] In some embodiments, the control may include icons of application programs, widgets, etc. Exemplarily, the icons of application programs may include icons of application programs such as a camera application, an album application, a browser application, etc. Exemplarily, the widgets may include a time widget, a weather widget, a calendar widget, etc.
[0009] In some embodiments, the response to the setting operation of setting the first image as the wallpaper of the first screen, if when the first image is the wallpaper of the first screen, the control in the first screen obscures the target element in the first image, then displaying the first interface includes: in response to the setting operation, if when the first image is the wallpaper of the first screen, the control in the first screen obscures the target element in the first image, then displaying the second interface, the second interface includes the second image and / or the first indication information, and the first indication information is used to indicate the second image; in response to the second confirmation operation received based on the second image or the first indication information, displaying the first interface.
[0010] In some embodiments, the first indication information may include at least one of the attribute information of the second image, such as the geographical location corresponding to the second image, the generation time of the second image, the identifier of the second image, the storage location of the second image, and the thumbnail of the second image.
[0011] When receiving that the first image is the wallpaper of the first screen and the control in the first screen obscures the target element in the first image, the second image or the first indication information for indicating the second image may be presented to the user through the second interface first, so that the user can perceive the second image with a better visual effect recommended for the current setting operation. The user can also determine whether to continue setting the first image as the wallpaper of the first screen or set the recommended second image as the wallpaper of the first screen, thereby further improving the user experience of setting the wallpaper.
[0012] In some embodiments, the second interface also includes a preview of the first image on the first screen. In some embodiments, the second image or the first indication information may be on top of the preview image. When the second interface includes both the preview image and the second image and / or the first indication information, the user can be shown the wallpaper effect of the first image on the first screen and can also perceive the second image. The second interface is more closely related to the setting operation of the aforementioned steps, further improving the user's experience of setting wallpaper.
[0013] In some embodiments, in response to a setting operation of setting a first image as wallpaper for a first screen, if, when the first image serves as wallpaper for the first screen, controls in the first screen obstruct a target element in the first image, then a first interface is displayed, comprising: in response to the setting operation, if, when the first image serves as wallpaper for the first screen, controls in the first screen obstruct the target element in the first image, then a third interface is displayed, the third interface comprising an image list, the image list comprising the second image, each image in the image list comprising the target element, and when each image in the image list serves as wallpaper for the first screen, controls in the first screen do not obstruct the target element in each image in the image list; in response to a third confirmation operation received based on the second image, the first interface is displayed.
[0014] In response to a setting operation of setting a first image as the wallpaper of the first screen, and determining that the first image is used as the wallpaper of the first screen and the controls in the first screen obstruct the target elements in the first image, an image list can be displayed first to show the user at least one image such as the second image, so that the user can perceive at least one image with better visual effect recommended for the current setting operation. The user can also determine whether to continue setting the first image as the wallpaper of the first screen, or to select a recommended image from the image list as the wallpaper of the first screen, thereby further improving the user's experience of setting wallpaper.
[0015] In some embodiments, the multiple images in the image list can be sorted in a preset manner, and the higher the priority of the image, the higher the ranking. In some embodiments, the priority of each image in the image list can match the similarity between the image and the first image. Among them, the higher the similarity between the image and the first image, the higher the ranking order of the image in the image list. In some embodiments, the similarity between the image and the first image can include the similarity between the image content of the image and the image content of the first image, and / or the similarity between the attribute information of the image and the attribute information of the first image.
[0016] In some embodiments, the third interface also includes a preview of the first image on the first screen. In some embodiments, the image list may be on top of the preview. When the second interface includes both the preview and the image list, the user can be shown the wallpaper effect of the first image on the first screen and can also perceive the image list. The second interface is more closely related to the setting operation of the aforementioned step, further improving the user's experience of setting wallpaper.
[0017] In some embodiments, the target element includes at least a partial facial feature.
[0018] In some embodiments, the setting operation is also used to set the first image as the wallpaper of the second screen, and when the first image is used as the wallpaper of the second screen, the controls in the second screen do not obstruct the target elements in the first image, and the method further includes: in response to the first confirmation operation, setting the first image as the wallpaper of the second screen.
[0019] When none of the controls in the multiple screens except the first screen obstructs the target element in the first image, the first terminal may, in response to the first confirmation operation, set the second image as the wallpaper of the first screen and set the first image as the wallpaper of the other screens in the multiple screens.
[0020] In some embodiments, after displaying the first interface, the method further includes: in response to a first switching operation, switching to displaying a fourth interface, wherein the fourth interface includes a preview of the first image on the second screen.
[0021] In some embodiments, the setting operation is also used to set the first image as the wallpaper of the third screen, and the method further includes: in response to the setting operation, if when the first image is used as the wallpaper of the third screen, the controls in the third screen obstruct the target element in the first image, then obtaining a third image, the third image including the target element, and when the third image is used as the wallpaper of the third screen, the controls in the third screen do not obstruct the target element in the third image; in response to the first confirmation operation, setting the third image as the wallpaper of the third screen.
[0022] In some embodiments, the second image and the third image may be the same.
[0023] When the controls in each of the multiple screens obstruct the target element in the first image, the first terminal may, in response to the first confirmation operation, obtain, for each screen, a new image that includes the target element and is not obstructed by the screen, and set the newly obtained image as the wallpaper of the screen, without setting the first image as the wallpaper of any of the multiple screens.
[0024] When the controls in a part of the multiple screens block the target element in the first image, and the controls in another part of the screens do not block the target element in the first image, the first terminal can, in response to the first confirmation operation, obtain, for each screen in the part of the screens, a new image that includes the target element and is not blocked by the screen, and set the newly obtained image as the wallpaper of the screen; and for each screen in the other part of the screens, set the first image as the wallpaper of each screen.
[0025] In some embodiments, after displaying the first interface, the method further includes: in response to a second switching operation, switching to displaying a fifth interface, wherein the fifth interface includes a preview of the third image on the third screen.
[0026] In some embodiments, the method includes: identifying the target element in the first image; or obtaining the target element selected by a user in the first image.
[0027] Exemplarily, the first terminal may identify at least some facial features in the first image, and determine at least some of the identified facial features as target elements. Alternatively, the first terminal may determine the main or important elements in the first image as target elements. Alternatively, the first terminal may determine the elements that carry more or the most visual information in the first image as target elements. Alternatively, the first terminal may determine the elements with higher aesthetic significance in the first image as target elements. Alternatively, the first terminal determines the elements in a specific position of the first image, such as the center position, as target elements.
[0028] In some embodiments, a difference between an aspect ratio of the first screen and an aspect ratio of the second image is less than or equal to a first value.
[0029] In some embodiments, the first screen is a screen when the first terminal is in the first folded state, the second screen is a screen when the first terminal is in the second folded state, and the third screen is a screen when the first terminal is in the second folded state. It can be understood that the first folded state, the second folded state, and the third folded state are used to distinguish the states that may appear in the folding process of the first terminal, rather than limiting the specific form of the first terminal.
[0030] In some embodiments, any one of the first screen, the second screen, and the third screen is a screen when the first terminal is in a horizontal display state, and the other one of the first screen, the second screen, and the third screen is a screen when the first terminal is in a vertical display state; or, any one of the first screen, the second screen, and the third screen is a screen when the first terminal is in a vertical display state, and the other one of the first screen, the second screen, and the third screen is a screen when the first terminal is in a horizontal display state.
[0031] In some implementations, the first screen is a screen of a first terminal, the second screen is a screen of a second terminal, and the third screen is a screen of a third terminal.
[0032] In some embodiments, the first interface may include at least a portion of the second image. In some embodiments, the first interface includes an overlay of the second image and the controls in the first screen, so that the user can intuitively see how the controls in the first screen block the second image when the second image is used as the wallpaper of the first screen.
[0033] In some implementations, the first interface includes an identification of the first screen.
[0034] In some embodiments, the first terminal may determine the position of the control in the first screen and the position of the target element in the first image. When the first image is used as the wallpaper of the first screen, when the position of the control in the first screen coincides or partially coincides with the position of the target element in the first image, it is determined that the control in the first screen obstructs the target element in the first image. In some embodiments, the position of the control in the first screen and the position of the target element in the first image may be relative positions corresponding to the first screen.
[0035] In some embodiments, a coordinate system corresponding to the first screen can be established based on the pixels of the first screen or the cells in the first screen for placing controls, and any position in the first screen can be represented by the coordinates in the coordinate system. The position of the control in the first screen can be represented as a first coordinate set, and the position of the target element in the first image can be represented as a second coordinate set. If the first coordinate set and the second coordinate set include at least partially the same coordinates, it can be determined that the control of the first screen blocks the target element in the first image. If the first coordinate set and the second coordinate set do not include the same coordinates, it can be determined that the control of the first screen does not block the target element in the first image.
[0036] In some embodiments, the first terminal may superimpose the screen layout of the first image and the first screen to obtain a preview image of the first image on the first screen. When the control in the first screen blocks the target element in the first image, the target element in the preview image cannot be identified. When the control in the first screen does not block the target element in the first image, the preview image may include a relatively complete and clear target element, so that the target element can be identified from the preview image. Therefore, if the preview image does not include the target element, it is determined that the control in the first screen blocks the target element in the first image. If the preview image includes the target element, it is determined that the control in the first screen does not block the target element in the first image.
[0037] In a second aspect, an embodiment of the present application provides a device for setting wallpaper, the device comprising:
[0038] a display module, configured to, in response to a setting operation of setting a first image as a wallpaper of a first screen, display a first interface if, when the first image is used as the wallpaper of the first screen, a control in the first screen blocks a target element in the first image, wherein the first interface includes a preview of a second image on the first screen, the second image includes the target element, and when the second image is used as the wallpaper of the first screen, the control in the first screen does not block the target element in the second image;
[0039] A setting module is configured to set the second image as a wallpaper of the first screen in response to a first confirmation operation.
[0040] In a third aspect, an embodiment of the present application provides a terminal device, comprising: a memory and a processor, the memory being used to store a computer program; the processor being used to execute any of the methods described in the first aspect above when calling the computer program.
[0041] In a fourth aspect, an embodiment of the present application provides a chip system, which includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement any method described in the first aspect above.
[0042] The chip system may be a single chip or a chip module composed of multiple chips.
[0043] In a fifth 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 any one of the above-mentioned first aspects is implemented.
[0044] In a sixth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute any of the methods described in the first aspect above.
[0045] 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
[0046] Figure 1 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0047] Figure 2 A schematic diagram of a display screen provided in an embodiment of the present application;
[0048] Figure 3 A schematic diagram of another display screen provided in an embodiment of the present application;
[0049] Figure 4 A schematic diagram of a display interface provided in an embodiment of the present application;
[0050] Figure 5 A schematic diagram of a method for setting wallpaper provided in an embodiment of the present application;
[0051] Figure 6 A schematic diagram of another display interface provided in an embodiment of the present application;
[0052] Figure 7 A schematic diagram of another display interface provided in an embodiment of the present application;
[0053] Figure 8 A schematic diagram of another display interface provided in an embodiment of the present application;
[0054] Fig. 9 A schematic flow chart of another method for setting wallpaper provided in an embodiment of the present application;
[0055] Fig.10 A schematic diagram of another display interface provided in an embodiment of the present application;
[0056] Fig.11 A schematic flow chart of another method for setting wallpaper provided in an embodiment of the present application;
[0057] Fig.12 A schematic diagram of another display interface provided in an embodiment of the present application;
[0058] Fig.13 A schematic flow chart of another method for setting wallpaper provided in an embodiment of the present application;
[0059] Fig.14 A schematic diagram of another display interface provided in an embodiment of the present application;
[0060] Fig.15 A schematic flow chart of another method for setting wallpaper provided in an embodiment of the present application;
[0061] Fig.16 A schematic diagram of another display interface provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] The method for setting wallpaper provided in the embodiment of the present application can be applied to terminal devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. The embodiment of the present application does not impose any restrictions on the specific type of the terminal device.
[0063] Figure 1 1 is a schematic diagram of a terminal device 100 provided in an embodiment of the present application. The terminal device 100 may include a processor 110, a memory 120, a communication module 130, a display screen 140, and the like.
[0064] The processor 110 may include one or more processing units, and the memory 120 is used to store program codes and data. In the embodiment of the present application, the processor 110 may execute computer-executable instructions stored in the memory 120 to control and manage the actions of the terminal device 100.
[0065] The communication module 130 can be used for communication between various internal modules of the terminal device 100, or communication between the terminal device 100 and other external terminal devices. Exemplarily, if the terminal device 100 communicates with other terminal devices via a wired connection, the communication module 130 may include an interface, such as a USB interface. The USB interface may be an interface that complies with USB standard specifications, specifically a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices.
[0066] Alternatively, the communication module 130 may include audio devices, radio frequency circuits, Bluetooth chips, wireless fidelity (Wi-Fi) chips, near-field communication (NFC) modules, etc., and the interaction between the terminal device 100 and other terminal devices can be achieved in a variety of different ways.
[0067] The display screen 140 , which may also be referred to as a screen, is used to display images or videos in a human-computer interaction interface.
[0068] In some implementations, the terminal device 100 may include 1 or N display screens 140 , where N is a positive integer greater than 1. In some implementations, the terminal device 100 includes multiple surfaces, and one or more of the multiple surfaces may include a display screen 140 .
[0069] In some embodiments, the terminal device 100 may include a landscape display state and a portrait display state, and the aspect ratio of the display screen 140 when the terminal device 100 is in the landscape display state is different from the aspect ratio of the display screen 140 when the terminal device 100 is in the portrait display state. For example, when the terminal device 100 is in the landscape display state, the aspect ratio of the display screen 140 may be 21:9, and when the terminal device 100 is in the portrait display state, the aspect ratio of the display screen 140 may be 9:21. In some embodiments, the terminal device 100 is in the landscape display state (such as Figure 2 The display screen 140 and the terminal device 100 are in a vertical display state (as shown in a in FIG. Figure 2 The display screen 140 when the terminal device 100 is turned over (as shown in b in the figure) can be considered as two different display screens. In some embodiments, the terminal device 100 can identify the posture change of the terminal device 100 according to the gravity change of the terminal device 100, thereby realizing automatic switching between the horizontal screen display state and the vertical screen display state when the terminal device 100 is turned over. In some embodiments, the terminal device 100 can switch to the horizontal screen display state in response to the user's operation of setting the horizontal screen display, or switch to the vertical screen display state in response to the user's operation of setting the vertical screen display.
[0070] In some embodiments, the display screen 140 may be a folding screen, and the terminal device 100 may be a folding device. The terminal device 100 may have multiple folding states, and when the terminal device 100 is in different folding states, the display screen 140 may be folded or unfolded so that different display areas of the display screen 140 are merged or separated, thereby forming different display screens. Figure 3As shown in a in FIG. 1 , the display screen 140 is a three-fold screen. The display screen 140 can be folded along a first folding line and / or a second folding line. The two folding lines divide the display screen 140 into three sub-screens. When the display screen 140 is in an unfolded state, as shown in FIG. Figure 3 As shown in b, the three sub-screens are merged into a larger display screen; when the display screen 140 is unfolded along the first folding line and folded along the second folding line (ie, in a semi-folded state), as shown in FIG. Figure 3 As shown in c in FIG. 1 , the sub-screen on the right side of the display screen 140 is folded and hidden, and the sub-screens on the left side and the middle of the display screen 140 are merged into a medium-sized display screen; when the display screen 140 is folded along the first folding line and the second folding line (i.e., in a folded state), as shown in FIG. Figure 3 As shown in d in FIG. 1 , the sub-screens on the left and middle of the display screen 140 are folded and hidden, and the sub-screen on the right side of the display screen 140 can be used as a smaller display screen. It can be understood that the embodiment of the present application is only based on Figure 3 For example, some possible situations where the display screen 140 is a folding screen and the terminal device 100 is a folding device are described without limiting the number of folding lines, folding angles, and folding methods included in the display screen 140. For example, the display screen 140 may include only one folding line, that is, the display screen 140 may be a two-fold screen.
[0071] Optionally, the terminal device 100 may further include a peripheral device 150 , such as a mouse, a keyboard, a speaker, a microphone, etc.
[0072] It should be understood that, in addition to Figure 1 In addition to the various components or modules listed in the figure, the embodiment of the present application does not specifically limit the structure of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware.
[0073] In order to facilitate understanding of the technical solutions in the embodiments of the present application, the application scenarios of the embodiments of the present application are first introduced below.
[0074] With the continuous development of terminal technology, various terminal devices are being used more and more widely. Terminal devices may include screens. When using terminal devices, users can select an image and set the image as the wallpaper of the terminal device, such as lock screen wallpaper, desktop wallpaper, etc. However, since the screen of the terminal device may include controls such as clocks, calendars, and application icons, these controls will block part of the image, thereby reducing the beauty of the wallpaper and user experience.
[0075] For example, Figure 4As shown, a user sets a photo as the lock screen wallpaper of a mobile phone. In the lock screen state, the screen includes a clock control, which blocks the head of the person in the lock screen wallpaper, thereby reducing the beauty of the lock screen wallpaper.
[0076] In some implementations, the terminal device can hide or delete controls on the desktop to avoid blocking parts of the wallpaper, but this will cause the user to be unable to see the controls in a timely manner, such as the time, thereby reducing the convenience of the terminal device.
[0077] In some implementations, the user or terminal device can move or trim the image to be set as wallpaper so that part of the moved or trimmed wallpaper avoids the controls on the screen, but this operation is cumbersome and the efficiency of setting wallpaper is low. And if the user needs to set wallpaper for multiple screens, since the screen layout of each screen is different, including the number of controls and the location of each control, the wallpaper needs to be moved or trimmed for each screen. The more screens there are, the longer it takes to set the wallpaper.
[0078] To solve at least some of the above technical problems, the embodiment of the present application provides a method for setting wallpaper. The technical solution of the present application is described in detail with specific embodiments below. 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.
[0079] Please refer to Figure 5 , is a flowchart of a method for setting wallpaper provided in an embodiment of the present application. The method can be used for a first terminal to set the wallpaper of a first screen, that is, to set the wallpaper of a screen. It should be noted that the method is not based on Figure 5 The specific order described below is a limitation, and it should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0080] S501, in response to a setting operation of setting a first image as wallpaper of a first screen, the first terminal determines whether a control in the first screen blocks a target element in the first image when the first image is used as wallpaper of the first screen. If yes, S502 is executed; otherwise, S504 is executed.
[0081] When the first terminal detects the user's setting operation of setting the first image as the wallpaper of the first screen, in order to improve the problem of the controls in the first screen blocking the first image and improve the beauty of the wallpaper and user experience, the terminal device can determine whether the controls in the first screen block the target elements in the first image when the first image is used as the wallpaper of the first screen.
[0082] Among them, the first image may be an image selected by the user, and the first screen may be a screen to be set. In some embodiments, the first screen may be a screen determined by the user among multiple screens. In some embodiments, the first screen may be a screen of the first terminal, or a screen of another second terminal or a third terminal. In some embodiments, the second terminal may be associated with the first terminal, for example, the second terminal and the first terminal correspond to a unified user account, or the second terminal is connected to the first terminal in communication. In some embodiments, the first screen may be a screen of the first terminal in a specific state, for example, the first screen may be a screen of the first terminal in any folded state, or the first screen may be a screen of the first terminal in a horizontal display state or a vertical display state.
[0083] In some implementations, the first terminal may first determine the first image, and then receive a setting operation to set the first image as the wallpaper of the first screen based on the first image. For example, a user browses an album through the first terminal, and the album includes multiple images. When the first terminal displays the first image, a "more" button is also displayed. When the first terminal receives a click operation from the user based on the "more" button, the wallpaper setting interface 600 may be displayed. Figure 6 As shown, the wallpaper setting interface 600 includes a first image 601 and a "wallpaper" option 602. When the first terminal receives a click operation from the user based on the "wallpaper" option 602, it is determined to receive a setting operation of setting the first image 601 as the wallpaper of the first screen, wherein the first screen may be the screen on which the first terminal currently receives a click operation on the "wallpaper" option 602, or the first screen may be the only screen of the first terminal. Or. When the first terminal receives a click operation from the user based on the "wallpaper" option 602, it also displays multiple screen options to the user and receives the first screen selected by the user from the multiple screens. It is understandable that the present application does not limit the manner in which the first terminal receives a setting operation of setting the first image as the wallpaper of the first screen.
[0084] In some embodiments, the controls in the first screen may include application icons, widgets, etc. For example, application icons may include icons of camera applications, photo album applications, browser applications, etc. For example, widgets may include time components, weather components, calendar components, etc.
[0085] Elements in an image may include points, lines, surfaces, or a combination thereof, and the elements may carry specific visual information. Exemplarily, the elements may include human bodies, objects, animals, plants, buildings, and the like. The target element in the first image may include at least some of the elements in the first image. In some embodiments, the target element may be a main or important element in the first image, such as when the first image is a person or an animal, the target element may include at least some facial features; or, when the first image is a landscape, the target element may include trees, flowers, mountains, and waters, and the like. In some embodiments, the target element may be an element in the first image that carries more or the most visual information. In some embodiments, the target element may be an element in the first image that has a high aesthetic significance. In some embodiments, the target element may be an element in the first image that a user is interested in. It is understood that, in practical applications, the target element may also be an element having different characteristics from other elements in the first image.
[0086] In some embodiments, the first terminal may determine whether the control in the first screen obstructs the target element in the first image based on the position of the target element in the first image and the position of the control in the first screen.
[0087] In addition, the manner in which the first terminal determines whether the control in the first screen blocks the target element in the first image may also be described in detail below.
[0088] S502, the first terminal displays a first interface, the first interface includes a preview of the second image in the first screen, the second image includes a target element, and when the second image is used as a wallpaper of the first screen, the controls in the first screen do not block the target elements in the second image.
[0089] When the user sets the first image as the wallpaper of the first screen, and when the second image is used as the wallpaper of the first screen, and the controls in the first screen obstruct the target elements in the first image, in order to improve the problem of the target elements in the wallpaper being obstructed by the controls in the first screen, the first interface can be displayed, and a preview of the second image in the first screen can be displayed through the first interface, so that the user can preview the visual effect of using the second image as the wallpaper of the first screen.
[0090] In some embodiments, the first interface may include at least a portion of the second image. In other embodiments, the first interface may include at least a portion of the second image and an overlay of the controls in the first screen, so that the user can intuitively see how the controls in the first screen block the second image when the second image is used as the wallpaper of the first screen.
[0091] In some embodiments, the first terminal may respond to an operation of hiding the controls in the first screen so as not to display the controls in the first screen on the first interface; and respond to an operation of displaying the controls in the first screen by displaying the controls in the first screen on the first interface.
[0092] For example, when the first terminal is based on Figure 6 When the "wallpaper" option 602 in the wallpaper setting interface 600 receives a click operation from the user and the control in the first screen covers the face part in the first image 601, the first terminal can display the first interface 603 as follows: Figure 7 As shown in a in . Among them, the facial part in the first image 601 is the target element. The first interface 603 may include a second image 604, an "Apply" button 605 and a time control 606. It can be seen from the first interface 603 that the second image 604 includes the same facial features of the person as the first image 601, and the time control 606 in the first screen does not cover the facial features of the person in the second image 604. The first interface 603 may also include a "hide" button 607. When the first terminal receives a click operation from the user based on the "hide" button 607, it may hide the time control 606 and other controls in the first screen, such as Figure 7 As shown in b, when the first terminal receives the user's click operation again based on the "hide" button 607, the time control 606 and other controls in the first screen can be displayed.
[0093] In some embodiments, the first interface may include second indication information, and the second indication information may be used to prompt that the second image is a wallpaper recommended for the first screen. In some embodiments, the second indication information may prompt the reason and basis for recommending the second image, the difference between the second image and the first image, etc.
[0094] For example, Figure 7 As shown in c, the first interface 603 includes second indication information 608. The second indication information 608 includes "Similar wallpapers with better visual effects have been recommended for you." Based on the second indication information 608, the user can determine that the second image is a better visual image recommended for the behavior of setting the first image as the wallpaper of the first screen.
[0095] In some embodiments, the first interface may include an identifier of the first screen, thereby indicating that the first interface displays a preview interface corresponding to the first screen. In some embodiments, the identifier of the first screen may include text, symbols, pictures, or graphics indicating the first screen.
[0096] For example, Figure 7As shown in d in FIG. 6 , the first interface 603 includes a first screen identifier 610. The first screen identifier 610 includes a highlighted rectangular frame having a similar aspect ratio to the first screen, which may indicate that the first screen is a folded screen.
[0097] In some implementations, in response to the user rejecting the setting operation of setting the second image as the wallpaper of the first screen, the first terminal may display a sixth interface, where the sixth interface may include a preview of the first image on the first screen.
[0098] For example, Figure 7 As shown in c, the first interface 603 includes a "reject" button 609. When the first terminal receives a click operation from the user based on the "reject" button 609, the sixth interface 611 may be displayed. Figure 8 The sixth interface 611 includes a preview of the first image 601 on the first screen.
[0099] In some embodiments, when the first interface is displayed, the first terminal may update the portion of the second image in the first screen in response to the user's editing operation on the second image, thereby updating the preview of the second image in the first screen. For example, the second image may be moved, scaled, rotated, mirrored, flipped, etc.
[0100] S503: In response to the first confirmation operation, the first terminal sets the second image as the wallpaper of the first screen.
[0101] The first confirmation operation may be used to trigger setting the second image as the wallpaper of the first screen.
[0102] For example, when the first terminal is based on Figure 7 When the “Apply” button 605 in the first interface 603 shown receives a click operation from the user, the second image 604 in the first interface 603 can be set as the wallpaper of the first screen.
[0103] In some embodiments, the first terminal may set at least a portion of the second image currently in the preview image as the wallpaper of the first screen based on the preview image of the second image on the first screen shown in the first interface. In other embodiments, when the user edits the second image and updates the preview image of the second image on the first screen, the first terminal may set at least a portion of the second image in the updated preview image as the wallpaper of the first screen.
[0104] In some embodiments, if the control in the first screen obstructs the target element in the first image, the second image can be directly set as the wallpaper of the first image, thereby omitting the step of displaying the first interface in S502 and the step of receiving the user's first confirmation operation in S503.
[0105] S504: The first terminal sets the first image as wallpaper of the first screen.
[0106] When the user sets the first image as the wallpaper of the first screen, and the widget in the first screen covers the target element in the first image, the first terminal can directly set the first image as the wallpaper of the first screen.
[0107] In some embodiments, when the user sets the first image as the wallpaper of the first screen, and the controls in the first screen block the target elements in the first image, the first terminal may also display a sixth interface, which includes a preview of the first image on the first screen. In some embodiments, the sixth interface may include an overlay of the first image and the controls in the first screen, so that the user can intuitively see the blocking of the first image by the controls in the first screen. The first terminal may set the first image as the wallpaper of the first screen in response to the fourth confirmation operation, wherein the fourth confirmation operation may be used to trigger setting the first image as the wallpaper of the first screen.
[0108] For example, when the first terminal is based on Figure 8 When the "Apply" button 605 in the sixth interface 611 shown in FIG. 1 receives a click operation from the user, the first image is set as the wallpaper of the first screen. Figure 7 When the “Reject” button 609 in the first interface 603 shown in c receives a click operation from the user, the first image is set as the wallpaper of the first screen, and the sixth interface 611 is no longer displayed.
[0109] In some embodiments, when the sixth interface is displayed, the first terminal may adjust the first image in response to the user's editing operation on the first image, thereby updating the preview image of the first image in the first screen. For example, the first image may be moved, scaled, rotated, mirrored, flipped, etc.
[0110] In some embodiments, after displaying the first interface, the first terminal may display the sixth interface in response to the third switching operation; after displaying the sixth interface, the first terminal may also display the first interface in response to the fourth switching operation. That is, the first terminal may alternately display the first interface and the sixth interface, so as to more intuitively show the difference between the effect of setting the first image as the wallpaper of the first screen and the effect of setting the second image as the wallpaper of the first screen to the user, so that on the basis of recommending wallpapers with better visual effects to the user, the user can also select wallpapers according to personal preferences, further improving the user experience.
[0111] Combining the above S501-S504 and Figure 6 , Figure 7 and Figure 8When the user sets the first image as the wallpaper of the first screen, the first terminal may include the following possible setting processes:
[0112] In one setup process, you can include Figure 6 . User in Figure 6 The wallpaper setting interface shown sets the first image as the wallpaper of the first screen, and the controls in the first screen do not block the target elements in the first image, so the first terminal can directly set the first image as the wallpaper of the first screen.
[0113] In another setup flow, you can include Figure 6 and Figure 8 . User in Figure 6 The wallpaper setting interface shown in the figure sets the first image as the wallpaper of the first screen, and the controls in the first screen do not cover the target elements in the first image. The first terminal can Figure 8 The sixth interface shown shows the first image to the user so that the user can preview the wallpaper effect, and then sets the first image as the wallpaper of the first screen.
[0114] In another setup flow, you can include Figure 6 and Figure 7 . User in Figure 6 The wallpaper setting interface shown in the figure sets the first image as the wallpaper of the first screen. Since the controls in the first screen cover the target elements in the first image, the first terminal can Figure 7 The first interface shown shows the second image to the user so that the user can preview the wallpaper effect, and then sets the second image as the wallpaper of the first screen.
[0115] In another setup flow, you can include Figure 6 , Figure 7 and Figure 8 . User in Figure 6 The wallpaper setting interface shown in the figure sets the first image as the wallpaper of the first screen. Since the controls in the first screen cover the target elements in the first image, the first terminal can Figure 7 The first interface shown in the figure gives priority to displaying the second image to the user so that the user can preview the wallpaper effect, and the first terminal can also switch to Figure 8 , to show the first image to the user, so that the user can compare the effects of setting the first image and the second image as wallpaper of the first screen respectively. The first terminal can set the first image or the second image as wallpaper of the first screen.
[0116] In an embodiment of the present application, the first terminal can respond to a setting operation of setting the first image as the wallpaper of the first screen. When the first image serves as the wallpaper of the first screen and the controls in the first screen obstruct the target elements in the first image, the first terminal can display a first interface, and display a preview of the second image in the first screen to the user through the first interface, wherein the second image includes the target element, and when the second image serves as the wallpaper of the first screen, the controls in the first screen do not obstruct the target elements in the second image. Then, in response to the first confirmation operation, the second image can be set as the wallpaper of the first screen, so that the user can see both the controls in the first screen and the target elements in the wallpaper, thereby improving the problem of the target elements in the wallpaper being obscured by the controls in the first screen when setting the wallpaper of the first screen, and improving the aesthetics of the wallpaper and user experience.
[0117] Please refer to Fig. 9 , is a flow chart of a method for setting wallpaper provided in an embodiment of the present application. The method can be Figure 5 The detailed description of the method can identify whether the image includes a target element, and determine whether the control on the screen blocks the target element when the image is used as the wallpaper of the screen. Fig. 9 The specific order described below is a limitation, and it should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0118] S901: In response to a setting operation of setting a first image as wallpaper of a first screen, a first terminal determines a target element in the first image.
[0119] In some embodiments, the first terminal may automatically identify the target element in the first image. In some embodiments, the first terminal may obtain a feature of the target element and / or a strategy for identifying the target element, and then identify the target element in the first image based on the feature of the target element and / or the strategy for identifying the target element.
[0120] Exemplarily, the first terminal may identify at least some facial features in the first image, and determine at least some of the identified facial features as target elements. Alternatively, the first terminal may determine the main or important elements in the first image as target elements. Alternatively, the first terminal may determine the elements that carry more or the most visual information in the first image as target elements. Alternatively, the first terminal may determine the elements with higher aesthetic significance in the first image as target elements. Alternatively, the first terminal determines the elements in a specific position of the first image, such as the center position, as target elements.
[0121] In some embodiments, the first terminal may obtain the target element selected by the user in the first image. In some embodiments, the first terminal may display an element selection interface, which may include the first image, and the first terminal receives the target element selected by the user in the element selection interface. In some embodiments, the element selection interface may also include third indication information, and the third indication information may be used to prompt the user to select the target element.
[0122] For example, when the first terminal is based on Figure 6 When the "wallpaper" option 602 in the image receives a click operation from the user, an element selection interface 800 may be displayed. Fig.10 The element selection interface 800 includes third indication information 801 and the first image 601 , and the third indication information 801 is “Please select the area you are interested in”.
[0123] exist Fig.10 In the element selection interface 800 shown in a of FIG. 8 , a user may slide in the element selection interface 800 to form a sliding track 802. The first terminal may determine the element in the sliding track 802 as a target element.
[0124] exist Fig.10 In the element selection interface 800 shown in b in FIG. 1 , a rectangular selection box 803 is also included. The user can drag and scale the selection box 803. The first terminal can determine the element in the selection box 803 as the target element. It can be understood that in actual applications, the selection box 803 can also be other shapes, such as a circle, a hexagon, etc.
[0125] exist Fig.10 In the element selection interface 800 shown in c in FIG. 8 , the first terminal divides the first image into multiple areas, and the user can select at least one area, and the first terminal determines the element in the at least one area as the target element.
[0126] It is understandable that, in practical applications, the first terminal may also determine the target element in the first image in other ways.
[0127] S902, the first terminal determines whether the control in the first screen blocks the target element in the first image when the first image is used as the wallpaper of the first screen. If yes, execute S903, otherwise execute S907.
[0128] In some embodiments, the first terminal may determine the position of the control in the first screen and the position of the target element in the first image. When the first image is used as the wallpaper of the first screen, when the position of the control in the first screen coincides or partially coincides with the position of the target element in the first image, it is determined that the control in the first screen obstructs the target element in the first image. In some embodiments, the position of the control in the first screen and the position of the target element in the first image may be relative positions corresponding to the first screen.
[0129] In some embodiments, a coordinate system corresponding to the first screen can be established based on the pixels of the first screen or the cells in the first screen for placing controls, and any position in the first screen can be represented by the coordinates in the coordinate system. The position of the control in the first screen can be represented as a first coordinate set, and the position of the target element in the first image can be represented as a second coordinate set. If the first coordinate set and the second coordinate set include at least partially the same coordinates, it can be determined that the control of the first screen blocks the target element in the first image. If the first coordinate set and the second coordinate set do not include the same coordinates, it can be determined that the control of the first screen does not block the target element in the first image.
[0130] For example, the first screen may include 5 cells in the horizontal direction and 8 cells in the vertical direction, and each cell may be used to place a control. If the coordinate set corresponding to the control in the first screen includes coordinate 1 (2, 3), it means that the control is in the second cell in the horizontal direction and the third cell in the vertical direction. If the coordinate set corresponding to the target element in the first image includes coordinate 1 (2, 3) and coordinate 2 (2, 4), it means that the target element is in the second cell in the horizontal direction and the third to fourth cell in the vertical direction. Since the coordinate set corresponding to the control in the first screen and the coordinate set corresponding to the target element in the first image both include coordinate 1, it can be determined that the control in the first screen obscures the target element in the first image.
[0131] In some embodiments, the first terminal may superimpose the screen layout of the first image and the first screen to obtain a preview image of the first image on the first screen. When the control in the first screen blocks the target element in the first image, the target element in the preview image cannot be identified. When the control in the first screen does not block the target element in the first image, the preview image may include a relatively complete and clear target element, so that the target element can be identified from the preview image. Therefore, if the preview image does not include the target element, it is determined that the control in the first screen blocks the target element in the first image. If the preview image includes the target element, it is determined that the control in the first screen does not block the target element in the first image.
[0132] S903: The first terminal obtains an image set, where the image set includes at least one image, and each image in the image set includes a target element.
[0133] In some embodiments, the first terminal may recognize part or all of the images stored in the first terminal, thereby acquiring an image including the target element. And / or, in other embodiments, the first terminal may acquire an image including the target element from other devices (such as a second terminal, a third terminal, a server, etc.) based on the target element.
[0134] Exemplarily, the first terminal includes an album application, and the album application includes a local album stored in the first terminal and a cloud album stored in the server. The first terminal can provide the target element to the album application, and the album application can recognize all or part of the images in the local album and / or the cloud album, thereby obtaining at least one image including the target element returned by the album application.
[0135] S904: The first terminal determines a second image from the image set.
[0136] In some embodiments, the first terminal can determine the second image by determining whether the controls in the first screen obstruct the target elements in at least one image in the image set in a manner similar or the same as determining whether the controls in the first screen obstruct the target elements in the first image.
[0137] In some embodiments, the first terminal may also determine whether the control in the first screen blocks the target element in any image in the image set, and whether the aspect ratio of the first screen matches the aspect ratio of the any image. If the control in the first screen does not block the target element in any image, and the aspect ratio of the first screen matches the aspect ratio of the any image, the any image is determined as the second image, so that the control in the first screen does not block the target element in the second image, and the aspect ratio of the first screen matches the aspect ratio of the second image, thereby further improving the visual effect of the wallpaper.
[0138] In some embodiments, the aspect ratio of the first screen matches the aspect ratio of any image, which may include that the difference between the aspect ratio of the first screen and the aspect ratio of any image is less than or equal to the first value. In some embodiments, the aspect ratio of the first screen matches the aspect ratio of any image, which may include that the aspect ratio of the first screen is the same as the aspect ratio of any image. In some embodiments, the first value may be a preset value. Taking the first screen as an example, the aspect ratio of the first screen is the ratio of the number of pixels in the width direction of the first screen to the number of pixels in the height direction of the first screen.
[0139] In some implementations, the first terminal may also determine the second image from the image set based on the clarity of each image, so that the controls in the first screen do not block the target elements in the second image and the clarity of the second image is the highest.
[0140] S905, the first terminal displays a first interface, the first interface includes a preview of the second image on the first screen, the second image includes a target element, and when the second image is used as a wallpaper of the first screen, the controls in the first screen do not block the target elements in the second image.
[0141] The way in which the first terminal executes S905 may be the same as or similar to the way in which the aforementioned S502 is executed.
[0142] For example, the first terminal is based on Fig.10 After the target element is determined in the element selection interface 800 shown in FIG. Figure 7 The first interface 603 is shown.
[0143] S906: In response to the first confirmation operation, the terminal device sets the second image as the wallpaper of the first screen.
[0144] The way in which the first terminal executes S906 may be the same as or similar to the way in which the aforementioned S503 is executed.
[0145] S907: The first terminal sets the first image as wallpaper of the first screen.
[0146] The way in which the first terminal executes S907 may be the same as or similar to the way in which the aforementioned S504 is executed.
[0147] In an embodiment of the present application, the first terminal can identify a target element in the first image in response to a setting operation of setting the first image as the wallpaper of the first screen, and determine whether the control in the first screen blocks the target element in the first image. When the control in the first screen blocks the target element in the first image, at least one image that also includes the target element can be obtained, and a second image corresponding to the first screen can be determined from the at least one image, which can improve the matching degree between the second image and the first screen, and further improve the effect of setting the wallpaper.
[0148] Please refer to Fig.11 , is a flowchart of a method for setting wallpaper provided in an embodiment of the present application. Figure 5 The detailed description of the method shown in FIG. 1 can enable the user to perceive the second image before displaying the preview of the second image on the first screen to the user. It should be noted that the method does not Fig.11The specific order described below is a limitation, and it should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0149] S1101, in response to a setting operation of setting a first image as wallpaper of a first screen, the first terminal determines whether a control in the first screen blocks a target element in the first image when the first image is used as wallpaper of the first screen. If yes, S1102 is executed; otherwise, S1105 is executed.
[0150] The way in which the first terminal executes S1101 may be the same as or similar to the way in which the aforementioned S501 is executed.
[0151] S1102, the first terminal displays a second interface, the second interface includes a second image and / or first indication information, the first indication information is used to indicate the second image, the second image includes a target element, and when the second image is used as the wallpaper of the first screen, the controls in the first screen do not obscure the target elements in the second image.
[0152] When a setting operation to set a first image as the wallpaper of a first screen is received, and the controls in the first screen will obscure the target elements in the first image, the second image or the first indication information for indicating the second image can be first displayed to the user through the second interface, so that the user can perceive the second image with better visual effect recommended for the current setting operation. The user can also determine whether to continue setting the first image as the wallpaper of the first screen, or to set the recommended second image as the wallpaper of the first screen, thereby further improving the user's experience of setting wallpaper.
[0153] In some embodiments, the first indication information may include attribute information of the second image, such as at least one of the geographical location corresponding to the second image, the generation time of the second image, the identifier of the second image, the storage location of the second image, and the thumbnail of the second image. It is understandable that in actual applications, the first indication information may also include other information that can indicate the second image.
[0154] In some embodiments, the second interface also includes a preview of the first image on the first screen. In some embodiments, the second image or the first indication information may be on top of the preview image. When the second interface includes both the preview image and the second image and / or the first indication information, the user can be shown the wallpaper effect of the first image on the first screen and can also perceive the second image. The second interface is more closely related to the setting operation of the aforementioned steps, further improving the user's experience of setting wallpaper.
[0155] In some implementations, the second interface may further include second indication information, thereby prompting the user that the second image is a wallpaper recommended for the first screen.
[0156] For example, when the first terminal is based on Figure 6 When the "wallpaper" option 602 in the wallpaper setting interface 600 receives a click operation from the user and the control in the first screen covers the face part in the first image 601, the first terminal can display the second interface 1100 as shown in FIG. Fig.12 shown.
[0157] For example, Fig.12 As shown in a in FIG. 1 , the second interface 1100 includes a second image 604 , and also includes a “view” button 1101 and a “reject” button 609 .
[0158] For example, Fig.12 As shown in b, the second interface 1100 includes a thumbnail 1102 of the second image 604 and first indication information 1103, and the first indication information 1103 includes that the generation time of the second image 604 is June 1, 2023, and the corresponding geographical location is the first city district of the first province. The second interface 1100 also includes a "view" button 1101 and a "reject" button 609.
[0159] For example, Fig.12 As shown in c, the second interface 1100 includes a preview of the first image 601 in the first screen, a time control 606, a thumbnail 1102 of the second image 604, and second indication information 608. The second indication information 608 includes "intelligent recommendation to reduce occlusion and click to view". The second interface 1100 also includes an "apply" button 605 and a "hide" button 607.
[0160] It is understandable that, in actual applications, the second interface may also include more information related to the first image or the second image.
[0161] S1103: In response to a second confirmation operation received based on the second image or the first indication information, the first terminal displays a first interface including a preview of the second image on the first screen.
[0162] The second confirmation operation may be used to trigger display of the first interface.
[0163] For example, the first terminal is based on Fig.12 a or Fig.12 The "View" button 1101 shown in b in FIG. 1 receives a click operation from the user, or based on the Fig.12 When the thumbnail 1102 of the second image 604 or the second indication information 608 shown in c receives a click operation from the user, the following may be displayed: Figure 7 The first interface 603 is shown.
[0164] S1104: In response to the first confirmation operation, the first terminal sets the second image as the wallpaper of the first screen.
[0165] The way in which the first terminal executes S1104 may be the same as or similar to the way in which the aforementioned S503 is executed.
[0166] S1105: The first terminal sets the first image as wallpaper of the first screen.
[0167] The way in which the first terminal executes S1105 may be the same as or similar to the way in which the aforementioned S504 is executed.
[0168] For example, the first terminal is based on Fig.12 a or Fig.12 The "Reject" button 609 shown in b in FIG. 1 receives a click operation from the user and displays the following Figure 8 The sixth interface 611 shown in FIG. 601 is then used to set the first image 601 as the wallpaper of the first screen through the sixth interface 611. Fig.12 When the “Apply” button 605 shown in c in FIG. 1 receives a click operation from the user, the first image 601 can be set as the wallpaper of the first screen.
[0169] In an embodiment of the present application, in response to a setting operation of setting a first image as the wallpaper of a first screen, and determining that the first image is used as the wallpaper of the first screen and the controls in the first screen obstruct the target elements in the first image, the second interface can be displayed first to display the second image or the first indication information for indicating the second image to the user, so that the user can perceive the second image with better visual effect recommended for the current setting operation. The user can also determine whether to continue setting the first image as the wallpaper of the first screen or to set the recommended second image as the wallpaper of the first screen, thereby further improving the user's experience of setting wallpaper.
[0170] Please refer to Fig.13 , is a flowchart of a method for setting wallpaper provided in an embodiment of the present application. Figure 5 The detailed description of the method shown in FIG. 1 shows that before displaying the preview of the second image on the first screen to the user, the image list can be displayed to the user first so that the user can determine the second image in the image list. It should be noted that the method does not Fig.13 The specific order described below is a limitation, and it should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0171] S1301, in response to a setting operation of setting a first image as wallpaper of a first screen, the first terminal determines whether a control in the first screen blocks a target element in the first image when the first image is used as wallpaper of the first screen. If yes, S1302 is executed; otherwise, S1305 is executed.
[0172] The way in which the first terminal executes S1301 may be the same as or similar to the way in which the aforementioned S501 is executed.
[0173] S1302, the first terminal displays a third interface, the third interface includes an image list, the image list includes the second image, each image in the image list includes a target element, and when each image in the image list is used as a wallpaper of the first screen, the controls in the first screen do not obstruct the target element in each image in the image list.
[0174] In some embodiments, the image list may include multiple images. In some embodiments, the multiple images in the image list may be sorted in a preset manner, and images with higher priorities are arranged at the front. In some embodiments, the priority of each image in the image list may match the similarity between the image and the first image. The higher the similarity between the image and the first image, the front of the image in the image list. In some embodiments, the similarity between the image and the first image may include the similarity between the image content of the image and the image content of the first image, and / or the similarity between the attribute information of the image and the attribute information of the first image.
[0175] For example, among multiple images in the image list, the closer the image is to the generation time and the corresponding geographical location of the first image, the higher the possibility that the image and the first image were taken by the user at the same time and in the same spatial scene. Therefore, the image can be arranged in an earlier order, which makes it easier for the user to determine the second image more quickly and improves the efficiency of determining the second image.
[0176] In some embodiments, the third interface also includes a preview of the first image on the first screen. In some embodiments, the image list may be on top of the preview. When the second interface includes both the preview and the image list, the user can be shown the wallpaper effect of the first image on the first screen and can also perceive the image list. The second interface is more closely related to the setting operation of the aforementioned step, further improving the user's experience of setting wallpaper.
[0177] For example, when the first terminal is based on Figure 6When the "wallpaper" option 602 in the wallpaper setting interface 600 receives a click operation from the user and the controls in the first screen cover the face part in the first image 601, the first terminal can display the third interface 1400 as shown in FIG. Fig.14 shown.
[0178] For example, Fig.14 As shown in a in FIG. 1 , the third interface 1400 includes an image list 1401 , and the image list 1401 includes a plurality of images including the second image 604 . The third interface 1400 also includes a “view” button 1101 and a “reject” button 609 .
[0179] For example, Fig.14 As shown in b in FIG. 1 , the third interface 1400 includes a preview of the first image 601 on the first screen, and a plurality of images including the second image 604. The third interface 1400 also includes an “apply” button 605 and a “hide” button 607.
[0180] S1303, the first terminal displays a first interface in response to a third confirmation operation received based on the second image, the first interface including a preview of the second image in the first screen, the second image including a target element, and when the second image is used as a wallpaper of the first screen, the controls in the first screen do not obscure the target elements in the second image.
[0181] Among them, the third confirmation operation can be used to trigger the first interface.
[0182] For example, when Fig.14 When the second image 604 in the third interface 1400 shown in a is selected, if the first terminal receives a click operation on the "view" button 1101, it can display the following Figure 7 Alternatively, when the first terminal is based on Fig.14 When the second image 604 in the third interface 1400 shown in b receives a click operation from the user, the following may be displayed: Figure 7 The first interface 603 is shown.
[0183] S1304: In response to the first confirmation operation, the first terminal sets the second image as the wallpaper of the first screen.
[0184] The way in which the first terminal executes S1304 may be the same as or similar to the way in which the aforementioned S503 is executed.
[0185] S1305: The first terminal sets the first image as wallpaper of the first screen.
[0186] The way in which the first terminal executes S1305 may be the same as or similar to the way in which the aforementioned S504 is executed.
[0187] For example, if the first terminal receives a user's Fig.14 When the "Reject" button 609 in the third interface 1400 shown in a is clicked, the following may be displayed: Figure 8 The sixth interface 611 shown in FIG. 601 is then used to set the first image 601 as the wallpaper of the first screen through the sixth interface 611. Fig.14 When the “Apply” button 605 shown in b in FIG. 1 receives a click operation from the user, the first image 601 can be set as the wallpaper of the first screen.
[0188] In an embodiment of the present application, in response to a setting operation of setting a first image as the wallpaper of a first screen, and determining that the first image is used as the wallpaper of the first screen and the controls in the first screen obstruct the target elements in the first image, an image list can be displayed first to show the user at least one image such as the second image, so that the user can perceive at least one image with better visual effects recommended for the current setting operation. The user can also determine whether to continue setting the first image as the wallpaper of the first screen, or to select a recommended image from the image list as the wallpaper of the first screen, thereby further improving the user's experience of setting wallpaper.
[0189] Please refer to Fig.15 , is a flowchart of a method for setting wallpaper provided in an embodiment of the present application. The method can be used for a first terminal to set wallpapers for multiple screens. It should be noted that the method is not based on Fig.15 The specific order described below is a limitation, and it should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0190] S1501, in response to a setting operation of setting a first image as wallpaper for multiple screens, the first terminal determines whether a control in each of the multiple screens blocks a target element in the first image. If the multiple screens include at least a control of the first screen that blocks the target element in the first image, S1502 is executed. If none of the controls in the multiple screens blocks the target element in the first image, S1506 is executed.
[0191] The way in which the first terminal determines whether the controls in each screen obstruct the target elements in the first image may be the same or similar to the way in which the controls in the first screen obstruct the target elements in the first image in S501 and S902 described above.
[0192] In some embodiments, any one of the multiple screens may be a screen of the first terminal, or may be a screen of another terminal. In some embodiments, taking the screen of the first terminal as an example, the screen of the first terminal may be a screen of the first terminal in a specific state, such as the screen of the first terminal in any folded state, or the screen of the first terminal in a horizontal display state or a vertical display state.
[0193] In some embodiments, the multiple screens may include a second screen and / or a third screen in addition to the first screen, wherein the controls in the second screen do not block the target element in the first image, and the controls in the third screen block the target element in the first image. In one possible case, the controls in the multiple screens other than the first screen do not block the target element in the first image, such as the multiple screens include the first screen and the second screen; or, in another possible case, the controls in each of the multiple screens block the target element in the first image, such as the multiple screens include the first screen and the third screen; or, in another possible case, the multiple screens include at least one screen other than the first screen, whose controls block the target element in the first image, and at least one screen whose controls block the target element in the first image, such as the multiple screens include the first screen, the second screen, and the third screen.
[0194] In some embodiments, the first screen is the screen when the first terminal is in the first folded state, the second screen is the screen when the first terminal is in the second folded state, and the third screen is the screen when the first terminal is in the second folded state. It can be understood that the first folded state, the second folded state, and the third folded state are used to distinguish the states that the first terminal may appear in during the folding process, rather than limiting the specific form of the first terminal. For example, the first folded state can be as follows: Figure 3 As shown in b in FIG. 1 , at this time, the first terminal has not yet started to fold or has just started to fold; the second folding state can be as follows Figure 3 As shown in c in FIG. 1 , at this time, the first terminal is completely folded along the second folding line, and has not yet or has just begun to fold along the first folding line; the third folding state can be as follows Figure 3 As shown in d in FIG. 1 , at this time, the first terminal is completely folded along the first folding line and the second folding line.
[0195] In some embodiments, any one of the first screen, the second screen, and the third screen is the screen of the first terminal in the landscape display state, and the other of the first screen, the second screen, and the third screen is the screen of the first terminal in the portrait display state; or, any one of the first screen, the second screen, and the third screen is the screen of the first terminal in the portrait display state, and the other of the first screen, the second screen, and the third screen is the screen of the first terminal in the landscape display state.
[0196] In some embodiments, the first screen is the screen of the first terminal, the second screen is the screen of the second terminal, and the third screen is the screen of the third terminal.
[0197] S1502. The first terminal displays a first interface, and the first interface includes a preview image of a second image on the first screen. The second image includes a target element, and when the first image is used as the wallpaper of the first screen, the controls on the first screen do not block the target element in the second image.
[0198] Since at least the controls on the first screen among the multiple screens block the target element in the first image, the first interface can be at least displayed, and the preview image of the second image on the first screen can be displayed through the first interface, so as to facilitate the user to at least preview the visual effect of using the second image as the wallpaper of the first screen.
[0199] In some embodiments, after displaying the first interface, the first terminal can, in response to a first switching operation, switch to display a fourth interface, and the fourth interface includes a preview image of the first image on the second screen. In some embodiments, the first terminal can, in response to a second switching operation, switch to display a fifth interface, and the fifth interface includes a preview image of a third image on the third screen. The third image includes a target element, and when the third image is used as the wallpaper of the third screen, the controls on the third screen do not block the target element in the third image. Among them, the first switching operation can be used to trigger the display of the fourth interface, and the second switching operation can be used to trigger the display of the fifth interface. That is, the first terminal can switch among the first interface, the fourth interface, and the fifth interface, so as to show the wallpaper effects of each screen among the multiple screens to the user.
[0200] It should be noted that the manner in which the first terminal obtains the second image can refer to the detailed description in the foregoing S903 - S904, and the manner in which the first terminal obtains the third image can be the same as or similar to the manner of obtaining the second image. In some embodiments, the second image and the third image can be the same. In some embodiments, the aspect ratio of the third image matches the aspect ratio of the third screen.
[0201] In some embodiments, the fourth interface can include an identifier of the second screen, and the fifth interface can include an identifier of the third screen.
[0202] For example, the first terminal displays Figure 7 When the first interface 603 shown in d is received, if the user slides to the right, it can be switched to display as shown in Fig.16 The fourth interface 1600 shown in a in FIG. The fourth interface 1600 includes a first image 601, a time control 606, and a second screen logo 1601. The second screen logo 1601 is a highlighted rectangular frame, which has a similar aspect ratio to the second screen and includes a dividing line in the middle, indicating that the second screen is a screen in a semi-folded state.
[0203] Alternatively, the first terminal displays Figure 7 When the first interface 603 shown in d is received, if the user slides to the left, it can be switched to display as shown in Fig.16 The fifth interface 1610 shown in b in FIG. The fifth interface 1610 includes a third image 1611, a time control 606, and a second screen logo 1612. The third screen logo 1612 is a highlighted rectangular frame, which has a similar aspect ratio to the third screen and includes two dividing lines in the middle, indicating that the third screen is an expanded screen.
[0204] In some embodiments, when the fourth interface is displayed, the first terminal may adjust the first image in response to the user's editing operation on the first image, thereby updating the preview image of the first image in the second screen. For example, the first image is moved, scaled, rotated, mirrored, etc. In some embodiments, when the fifth interface is displayed, the first terminal may adjust the third image in response to the user's editing operation on the third image, thereby updating the preview image of the third image in the third screen. For example, the third image is moved, scaled, rotated, mirrored, etc.
[0205] In some implementations, the first terminal may display the sixth interface in response to the third switching operation, and display the first interface in response to the fourth switching operation.
[0206] S1503: If the multiple screens include a first screen and a second screen, the first terminal sets the second image as a wallpaper of the first screen and sets the first image as a wallpaper of the second screen in response to the first confirmation operation.
[0207] For example, when the first terminal is based on Figure 7 The "Apply" button 605 of the first interface 603 shown in FIG. 6 receives a click operation from the user, or based on the Fig.16When the "Apply" button 605 in the fourth interface 1600 shown in a receives a click operation from the user, the first terminal can determine that the first confirmation operation has been received, set the second image as the wallpaper of the first screen, and set the first image as the wallpaper of the second screen.
[0208] In some embodiments, if the multiple screens include a first screen and a second screen, the first terminal may also directly set the second image as the wallpaper of the first screen, and set the first image as the wallpaper of the second screen, without executing the steps of displaying the fourth interface in S1502 and receiving the first confirmation operation in S1503.
[0209] In some implementations, if the second screen is a screen of another terminal, such as a second terminal, the first terminal may instruct the second terminal to set the first image as a wallpaper of the second screen.
[0210] In some embodiments, when none of the controls in the multiple screens except the first screen obstructs the target element in the first image, the first terminal may set the second image as the wallpaper of the first screen and set the first image as the wallpaper of the other screens in the multiple screens in response to the first confirmation operation.
[0211] S1504: If the multiple screens include a first screen and a third screen, the first terminal sets the second image as a wallpaper of the first screen and sets the third image as a wallpaper of the third screen in response to the first confirmation operation.
[0212] If, when the first image is used as the wallpaper of the third screen, the controls in the third screen obstruct the target elements in the first image, then a third image is acquired, the third image includes the target elements, and when the third image is used as the wallpaper of the third screen, the controls in the third screen do not obstruct the target elements in the third image.
[0213] For example, when the first terminal is based on Figure 7 The "Apply" button 605 of the first interface 603 shown in FIG. 6 receives a click operation from the user, or based on the Fig.16 When the "Apply" button 605 in the fifth interface 1610 shown in b receives a click operation from the user, the first terminal can determine that the first confirmation operation has been received, set the second image as the wallpaper of the first screen, and set the third image as the wallpaper of the third screen.
[0214] In some embodiments, if the multiple screens include a first screen and a third screen, the first terminal may also directly set the second image as the wallpaper of the first screen, and set the third image as the wallpaper of the third screen, without executing the step of displaying the fourth interface in S1502 and the step of receiving the first confirmation operation in S1504.
[0215] In some implementations, if the third screen is a screen of another terminal, such as a third terminal, the first terminal may instruct the third terminal to set the third image as a wallpaper of the third screen.
[0216] In some embodiments, when the controls in each of the multiple screens obstruct the target element in the first image, the first terminal can, in response to the first confirmation operation, obtain, for each screen, a new image that includes the target element and is not obstructed by the screen, and set the newly obtained image as the wallpaper of the screen, without setting the first image as the wallpaper of any of the multiple screens.
[0217] S1505, if the multiple screens include a first screen, a second screen, and a third screen, the first terminal sets the second image as a wallpaper for the first screen, sets the first image as a wallpaper for the second screen, and sets the third image as a wallpaper for the third screen in response to the first confirmation operation.
[0218] For example, when the first terminal is based on Figure 7 The "Apply" button 605 of the first interface 603 shown in FIG. 6 receives a click operation from the user, or based on the Fig.16 The "Apply" button 605 in the fourth interface 1600 shown in a receives a click operation from the user, or, based on the Fig.16 When the "Apply" button 605 in the fifth interface 1610 shown in b in FIG. 1 receives a click operation from the user, the first terminal can determine that the first confirmation operation has been received, set the second image as the wallpaper of the first screen, set the first image as the wallpaper of the second screen, and set the third image as the wallpaper of the third screen.
[0219] In some embodiments, if the multiple screens include a first screen, a second screen, and a third screen, the first terminal may also directly set the second image as the wallpaper of the first screen, set the first image as the wallpaper of the second screen, and set the third image as the wallpaper of the third screen, without executing the steps of displaying the fourth interface in S1502 and receiving the first confirmation operation in S1505.
[0220] In some embodiments, when controls in a portion of the multiple screens obstruct the target element in the first image, and controls in another portion of the screens do not obstruct the target element in the first image, the first terminal can, in response to the first confirmation operation, obtain, for each screen in the portion of the screens, a new image that includes the target element and is not obstructed by the screen, and set the newly obtained image as the wallpaper of the screen; and for each screen in the other portion of the screens, set the first image as the wallpaper of each screen.
[0221] S1506: The first terminal sets the first image as a wallpaper of each of the multiple screens.
[0222] Since the controls in each screen included in the multiple images do not block the target elements in the first image, the first image can be directly set as the wallpaper of each screen in the multiple screens.
[0223] In an embodiment of the present application, the first terminal can respond to a setting operation of setting the first image as wallpaper for multiple screens. If the multiple screens include at least one first screen whose controls obstruct the target elements in the first image, the first terminal displays the first interface and shows the user a preview of the second image in the first screen through the first interface. And in response to the first confirmation operation, based on the shielding of the target element in the first image by the controls in the multiple screens, a corresponding response method can be adopted, including if the multiple screens include the first screen and the second screen, the first terminal sets the second image as the wallpaper of the first screen in response to the first confirmation operation, and sets the first image as the wallpaper of the second screen, if the multiple screens include the first screen and the third screen, the first terminal sets the second image as the wallpaper of the first screen in response to the first confirmation operation, and sets the third image as the wallpaper of the third screen, if the multiple screens include the first screen, the second screen and the third screen, the first terminal sets the second image as the wallpaper of the first screen in response to the first confirmation operation, sets the first image as the wallpaper of the second screen, and sets the third image as the wallpaper of the third screen, so that the wallpaper can be set to each of the multiple screens, so that the target element in each screen will not be shielded by the controls in the screen, which not only improves the efficiency of setting wallpaper, but also improves the effect of setting wallpaper and user experience. For users, images of interest can be set to multiple screens at one time, and the areas of interest to the user can be seen in all the multiple screens.
[0224] Based on the same inventive concept, as an implementation of the above method, an embodiment of the present application provides a device for setting wallpaper. The device embodiment corresponds to the above method embodiment. For ease of reading, the 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 of the above method embodiment.
[0225] In some embodiments, the apparatus may include:
[0226] A display module, configured to, in response to a setting operation of setting the first image as the wallpaper of the first screen, display a first interface if, when the first image is used as the wallpaper of the first screen, the controls in the first screen cover the target element in the first image, wherein the first interface includes a preview of the second image on the first screen, the second image includes the target element, and when the second image is used as the wallpaper of the first screen, the controls in the first screen do not cover the target element in the second image;
[0227] The setting module is configured to set the second image as wallpaper of the first screen in response to the first confirmation operation.
[0228] In some implementations, the device may implement one or more steps performed by the aforementioned first terminal.
[0229] Based on the same inventive concept, the embodiment of the present application further provides a terminal device. The terminal device includes: a memory and a processor, the memory is used to store a computer program; the processor is used to execute the method described in the above method embodiment when calling the computer program.
[0230] The terminal 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.
[0231] Based on the same inventive concept, an embodiment of the present application further provides a chip system, which includes a processor 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.
[0232] The chip system may be a single chip or a chip module composed of multiple chips.
[0233] 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.
[0234] The embodiment of the present application also provides a computer program product. When the computer program product is run on a terminal device, the terminal device implements the method described in the above method embodiment when executing the computer program product.
[0235] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may at least include: any entity or device capable of carrying the computer program code to the terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0236] 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.
[0237] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0238] 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 merely schematic, for example, the division of the modules or units is only a logical function division, and 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.
[0239] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0240] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0241] 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.
[0242] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0243] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0244] 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 method for setting wallpaper, It is characterized in that The method comprises: In response to a setting operation of setting a first image as wallpaper of a first screen, if, when the first image is used as wallpaper of the first screen, a control in the first screen blocks a target element in the first image, a first interface is displayed, the first interface including a preview of a second image on the first screen, the second image including the target element, and when the second image is used as wallpaper of the first screen, the control in the first screen does not block the target element in the second image; In response to the first confirmation operation, the second image is set as a wallpaper of the first screen.
2. The method according to claim 1, It is characterized in that In response to the setting operation of setting the first image as the wallpaper of the first screen, if the first image is used as the wallpaper of the first screen and the control in the first screen covers the target element in the first image, displaying the first interface includes: In response to the setting operation, if the first image is used as the wallpaper of the first screen and the control in the first screen covers the target element in the first image, a second interface is displayed, where the second interface includes the second image and / or first indication information, and the first indication information is used to indicate the second image; In response to a second confirmation operation received based on the second image or the first indication information, the first interface is displayed.
3. The method according to claim 2, It is characterized in that The second interface also includes a preview of the first image on the first screen.
4. The method according to claim 1, It is characterized in that In response to the setting operation of setting the first image as the wallpaper of the first screen, if the first image is used as the wallpaper of the first screen and the control in the first screen covers the target element in the first image, displaying the first interface includes: In response to the setting operation, if, in a case where the first image is used as the wallpaper of the first screen, the control in the first screen blocks the target element in the first image, a third interface is displayed, wherein the third interface includes an image list, the image list includes the second image, each image in the image list includes the target element, and in a case where each of the images in the image list is used as the wallpaper of the first screen, the control in the first screen does not block the target element in each of the images in the image list; In response to a third confirmation operation received based on the second image, the first interface is displayed.
5. The method according to any one of claims 1 to 4, It is characterized in that The target element includes at least a portion of a facial feature.
6. The method according to any one of claims 1 to 5, It is characterized in that The setting operation is further used to set the first image as the wallpaper of the second screen, and when the first image is used as the wallpaper of the second screen, the control in the second screen does not cover the target element in the first image, and the method further includes: In response to the first confirmation operation, the first image is set as wallpaper of the second screen.
7. The method according to claim 6, It is characterized in that After displaying the first interface, the method further includes: In response to the first switching operation, switching to displaying a fourth interface, the fourth interface includes a preview of the first image on the second screen.
8. The method according to any one of claims 1 to 7, It is characterized in that The setting operation is further used to set the first image as wallpaper of a third screen, and the method further includes: In response to the setting operation, if, when the first image is used as the wallpaper of the third screen, the controls in the third screen cover the target element in the first image, acquiring a third image, the third image including the target element, and when the third image is used as the wallpaper of the third screen, the controls in the third screen do not cover the target element in the third image; In response to the first confirmation operation, the third image is set as a wallpaper of the third screen.
9. The method according to claim 8, It is characterized in that After displaying the first interface, the method further includes: In response to the second switching operation, the fifth interface is switched to be displayed, and the fifth interface includes a preview image of the third image on the third screen.
10. The method according to any one of claims 1 to 9, It is characterized in that The method comprises: identifying the target element in the first image; or, The target element selected by the user in the first image is obtained.
11. The method according to any one of claims 1 to 10, It is characterized in that A difference between an aspect ratio of the first screen and an aspect ratio of the second image is less than or equal to a first value.
12. A terminal device, It is 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 11 when calling the computer program.
13. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
14. A computer program product, It is characterized in that When the computer program product is executed on a terminal device, the terminal device is enabled to execute the method according to any one of claims 1 to 11.
Citation Information
Cited By
Method for setting wallpaper and terminal device
EP4749444A1
Method for setting wallpaper and terminal device
WO2025108019A1