Wallpaper display method, readable storage medium, program product, and electronic device

By generating wallpaper animations associated with the device's folding angle, the problem of wallpaper jumping during the state switching of foldable electronic devices is solved, achieving a smoother picture transition and improving user experience.

WO2025139005A1PCT designated stage expired Publication Date: 2025-07-03HUAWEI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/116561
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-29
Filing Date
2024-09-03
Publication Date
2025-07-03

AI Technical Summary

Technical Problem

During the process of switching from the expanded state to the foldable electronic device, or vice versa, the display of the wallpaper will jump, affecting the user experience.

Method used

By generating animations based on the folded state and expanded state wallpaper configured by the user, the display progress of the animation is associated with the collapse angle of the device, and the display element state in the wallpaper is adjusted for a smooth transition.

Benefits of technology

It avoids the screen jumps in the wallpaper during the state switching process and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024116561_03072025_PF_FP_ABST
    Figure CN2024116561_03072025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of terminals, and discloses a wallpaper display method, a readable storage medium, a program product, and an electronic device. The method comprises: when performing operations of configuring a folded wallpaper and an unfolded wallpaper on the basis of a user operation, an electronic device can determine at least one first display element in the folded wallpaper or the unfolded wallpaper, and generate a switching animation of switching from the folded wallpaper to the unfolded wallpaper, wherein the switching animation comprises a first animation effect where each first display element is gradually switched from a first display state to a second display state; and in the process of a folded state of the electronic device changing, the electronic device can play back the switching animation on the basis of a folding angle of a flexible screen of the electronic device. Therefore, the occurrence of image jump in the process of the folded state of the flexible screen of the electronic device changing can be avoided, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Wallpaper display method, readable storage medium, program product and electronic device

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on December 29, 2023, with application number 202311871273.9 and application name “Wallpaper display method, readable storage medium, program product and electronic device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of terminal technology, and in particular to a wallpaper display method, a readable storage medium, a program product, and an electronic device. Background Art

[0003] With the development of flexible screen technology, foldable electronic devices equipped with flexible screens are becoming increasingly popular. When the foldable electronic device is in the unfolded state (e.g., the flexible screen of the foldable electronic device is in the unfolded state), the foldable electronic device displays the image through the entire area of ​​the flexible screen; while when the foldable electronic device is in the folded state (e.g., the flexible screen of the foldable electronic device is in the folded state), the foldable electronic device displays the image through a partial area of ​​the flexible screen. In other words, the size of the screen area used to display the image of the foldable electronic device is different in the unfolded state and the folded state.

[0004] In some cases, the wallpaper displayed on a foldable electronic device in its unfolded and folded states may contain different regions of the same image, or different images. This can cause the wallpaper displayed on the foldable electronic device to change dramatically when switching from the unfolded to the folded state, or vice versa, affecting the user experience.

[0005] Summary of the Invention

[0006] In view of this, the present application provides a wallpaper display method, a readable storage medium, a program product, and an electronic device.

[0007] In a first aspect, the present application provides a wallpaper display method, which is applied to a foldable electronic device, the method comprising: when the foldable electronic device is in a folded state, displaying a first wallpaper; during the process of opening the foldable electronic device from the folded state to the unfolded state, displaying a first animation, wherein the first animation includes a first motion effect corresponding to a first display element, and the first motion effect is generated based on the first display element in the first wallpaper and / or the second wallpaper during the process of configuring the first wallpaper and the second wallpaper, and the display progress of the first animation is associated with the folding angle of the foldable electronic device during the opening process; the foldable electronic device is opened to the unfolded state, and the second wallpaper is displayed.

[0008] In this method, the first animation displayed by the foldable electronic device in the process of opening from the folded state to the unfolded state includes a first motion effect generated based on the first display element in the folded state wallpaper and / or the unfolded state wallpaper during the process of the user setting the folded state wallpaper (first wallpaper) displayed in the folded state and the unfolded state wallpaper (second wallpaper) displayed in the unfolded state. In this way, the screen jump can occur during the switching process between the folded state wallpaper and the unfolded state wallpaper. In addition, the first motion effect is generated based on the first display element in the folded state wallpaper and / or the unfolded state wallpaper configured by the user, rather than being pre-set in the electronic device, which is conducive to increasing the diversity of the first motion effect / first animation and improving the user experience.

[0009] In a possible implementation of the first aspect, the first wallpaper and the second wallpaper are obtained based on the first image.

[0010] In this implementation, the first wallpaper and the second wallpaper are obtained based on the same image (the first image).

[0011] In a possible implementation of the first aspect above, the first wallpaper is obtained based on a first image region of the first image, and the second wallpaper is obtained based on a second image region of the first image.

[0012] In a possible implementation of the first aspect above, the first wallpaper is obtained based on a first image area of ​​a second image, and the second wallpaper is obtained based on a second image area of ​​the second image, wherein the second image is obtained by expanding the first image.

[0013] In this embodiment, if the first image size used by the user when setting the wallpaper is too small, the foldable electronic device can also expand the first image into a second image of larger size and more content, and set the first wallpaper based on at least a portion of the image area in the first image (the first image area), and set the second wallpaper based on at least a portion of the image area in the second image (the second image area). In this way, even if the first image size selected by the user is small, the expanded wallpaper can have a larger screen space, which is beneficial for increasing the range of options available to the user when setting the wallpaper, and avoiding the stretching or black edges of the expanded or folded wallpaper due to the small size of the first image.

[0014] In a possible implementation of the first aspect above, the first wallpaper is obtained based on a first image area of ​​the first image, and the second wallpaper is obtained based on a second image area of ​​the second image, wherein the second image is obtained by expanding the first image.

[0015] In this embodiment, if the first image size used by the user when setting the wallpaper is too small, the foldable electronic device can also expand the first image into a second image of larger size and more content, and set the first wallpaper based on at least a portion of the image area in the second image (the first image area), and set the second wallpaper based on at least a portion of the image area in the second image (the second image area). In this way, even if the first image size selected by the user is small, the expanded wallpaper can have a larger screen space, which is beneficial for increasing the range of options available to the user when setting the wallpaper, and avoiding the stretching or black edges of the expanded or folded wallpaper due to the small size of the first image.

[0016] In a possible implementation of the first aspect, the second image is obtained by expanding the first image based on a subject in the first image.

[0017] In this manner, the foldable electronic device expands the first image based on the subject in the first image (the subject automatically identified or the subject selected by the user), so that the expanded second image can be more in line with user needs.

[0018] In a possible implementation of the first aspect described above, the process of expanding the first image includes: expanding the first image based on a subject in the first image to obtain multiple expanded images; and using an expanded image selected by a user from the multiple expanded images as the second image.

[0019] In this manner, the foldable electronic device can generate multiple enlarged image results, so that the user can select the second image he or she needs from the multiple enlarged image results, which is conducive to improving the user experience.

[0020] In a possible implementation of the first aspect above, the first motion effect includes multiple frames of images of the first display element switching from the first display state to the second display state.

[0021] In a possible implementation of the first aspect above, the display state includes at least one of the following states: shape, size, position, rotation angle, occlusion relationship with other display elements, and whether to display.

[0022] In a possible implementation of the first aspect above, the generation process of the first animation effect includes: adjusting the display state of the first display element in the first image area and / or the second image area so that the first display element has a first display state in the first wallpaper and a second display state in the second wallpaper; generating a first animation effect of the first display element switching from the first display state to the second display state; and, the first wallpaper is the image corresponding to the adjustment of the display state of the first display element in the first image area; and / or, the second wallpaper is the image corresponding to the adjustment of the display state of the first display element in the second image area.

[0023] In this implementation, during or after generating the first motion effect, the foldable electronic device can modify the display state of the first display element in the first image area and / or the display state of the first display element in the second image area so that the state of the first display element in the first wallpaper and the second wallpaper matches the first motion effect. This can avoid screen jumps when switching between the first wallpaper (or second wallpaper) and the first motion effect.

[0024] In a possible implementation of the first aspect above, the first display element has a first display state in the first image area and a second display state in the second image area, and the generation process of the first motion effect includes: generating the first motion effect of the first display element switching from the first display state to the second display state; and the first wallpaper is the image corresponding to the first image area; the second wallpaper is the image corresponding to the second image area.

[0025] In a possible implementation of the first aspect, the first wallpaper and the second wallpaper have a third image area with the same content.

[0026] In this implementation, the first and second wallpapers have a third image area with the same content. That is, if the first and second wallpapers are from the same image (e.g., the first or second image described above), then the first image area corresponding to the first wallpaper and the second image area corresponding to the second wallpaper in the same image have an overlapping area, and the content corresponding to the overlapping area is the content of the third image area.

[0027] In a possible implementation of the first aspect above, the first animation also includes a second animation effect of moving the first wallpaper, wherein, after moving the first wallpaper, the position of the third image area in the first wallpaper is the same as the position of the third image area when the foldable electronic device displays the second wallpaper.

[0028] In this implementation, if the position of the third image area on the display screen when displaying the first wallpaper is different from the position of the third image area on the display screen when displaying the second wallpaper, the foldable electronic device can also display the second animation effect. This can avoid screen jumps caused by the different display screen positions of the third image area when displaying the first wallpaper and the second wallpaper.

[0029] In a possible implementation of the first aspect above, the first animation further includes a third motion effect extending outward from the third image area to display image content in the second wallpaper excluding the third image area.

[0030] In this implementation, if the second animation effect is displayed, the foldable electronic device can also display a third animation effect after the second animation effect, so that the content of the second wallpaper, excluding the third image area, gradually extends outward from the third image area. This can avoid the screen jump caused by directly displaying the second wallpaper.

[0031] In a possible implementation of the first aspect, the process of determining the first display element includes: determining the first display element in the first image area and / or the second image area based on the first model.

[0032] In a possible implementation of the first aspect above, determining the first display element in the first image area and / or the second image area based on the first model includes: determining at least one display element in the first image area and / or the second image area based on the first model; and using a display element selected by a user from the at least one display element as the first display element.

[0033] In a possible implementation of the first aspect above, the first motion effect is obtained based on the second model.

[0034] In a possible implementation of the first aspect above, the foldable electronic device includes a flexible screen, and the flexible screen folds or opens synchronously with the folding or opening of the foldable electronic device, and the folding angle of the foldable electronic device can be the folding angle of the flexible screen.

[0035] In a second aspect, an embodiment of the present application provides a wallpaper display method, which is applied to a foldable electronic device, the method comprising: the foldable electronic device is in a folded state, displaying a first wallpaper; in the process of the foldable electronic device being opened from the folded state to the unfolded state, displaying a first animation, wherein the first animation includes a second motion effect of moving the first wallpaper, the first wallpaper and the second wallpaper have a third image area with the same content, and after moving the first wallpaper, the position of the third image area in the first wallpaper is the same as the position of the third image area when the foldable electronic device displays the second wallpaper, and the display progress of the first animation is associated with the folding angle of the foldable electronic device during the opening process; the foldable electronic device is opened to the unfolded state, and the second wallpaper is displayed.

[0036] In this method, if the position of the third image area on the flexible screen when displaying the first wallpaper is different from the position of the third image area on the display screen when displaying the second wallpaper, the foldable electronic device can also display the second animation effect. This can avoid screen jumps caused by the different display screen positions of the third image area when displaying the first wallpaper and the second wallpaper.

[0037] In a possible implementation of the second aspect above, the first animation further includes a third motion effect extending outward from the third image area to display image content in the second wallpaper excluding the third image area.

[0038] In this implementation, if the second animation effect is displayed, the foldable electronic device can also display a third animation effect after the second animation effect, so that the content of the second wallpaper, excluding the third image area, gradually extends outward from the third image area. This can avoid the screen jump caused by directly displaying the second wallpaper.

[0039] In a possible implementation of the second aspect above, the first animation also includes a first motion effect corresponding to the first display element, and the first motion effect is generated based on the first display element in the first wallpaper and / or the second wallpaper during the process of configuring the first wallpaper and the second wallpaper.

[0040] In this method, the first animation displayed by the foldable electronic device in the process of opening from the folded state to the unfolded state includes a first motion effect generated based on the first display element in the folded state wallpaper and / or the unfolded state wallpaper during the process of the user setting the folded state wallpaper (first wallpaper) displayed in the folded state and the unfolded state wallpaper (second wallpaper) displayed in the unfolded state. In this way, the screen jumps during the switching process between the folded state wallpaper and the unfolded state wallpaper. In addition, the first motion effect is generated based on the first display element in the folded state wallpaper and / or the unfolded state wallpaper configured by the user, rather than being pre-set in the electronic device, which is conducive to increasing the diversity of the first motion effect / first animation and improving the user experience.

[0041] In a possible implementation of the second aspect, the first wallpaper and the second wallpaper are obtained based on the first image.

[0042] In this implementation, the first wallpaper and the second wallpaper are obtained based on the same image (the first image).

[0043] In a possible implementation of the second aspect, the first wallpaper is obtained based on a first image region of the first image, and the second wallpaper is obtained based on a second image region of the first image.

[0044] In a possible implementation of the second aspect above, the first wallpaper is obtained based on a first image area of ​​a second image, and the second wallpaper is obtained based on a second image area of ​​the second image, wherein the second image is obtained by expanding the first image.

[0045] In this embodiment, if the first image size used by the user when setting the wallpaper is too small, the foldable electronic device can also expand the first image into a second image of larger size and more content, and set the first wallpaper based on at least a portion of the image area in the first image (the first image area), and set the second wallpaper based on at least a portion of the image area in the second image (the second image area). In this way, even if the first image size selected by the user is small, the expanded wallpaper can have a larger screen space, which is beneficial for increasing the range of options available to the user when setting the wallpaper, and avoiding the stretching or black edges of the expanded or folded wallpaper due to the small size of the first image.

[0046] In a possible implementation of the second aspect above, the first wallpaper is obtained based on a first image area of ​​the first image, and the second wallpaper is obtained based on a second image area of ​​the second image, wherein the second image is obtained by expanding the first image.

[0047] In this embodiment, if the first image size used by the user when setting the wallpaper is too small, the foldable electronic device can also expand the first image into a second image of larger size and more content, and set the first wallpaper based on at least a portion of the image area in the second image (the first image area), and set the second wallpaper based on at least a portion of the image area in the second image (the second image area). In this way, even if the first image size selected by the user is small, the expanded wallpaper can have a larger screen space, which is beneficial for increasing the range of options available to the user when setting the wallpaper, and avoiding the stretching or black edges of the expanded or folded wallpaper due to the small size of the first image.

[0048] In a possible implementation of the second aspect, the second image is obtained by expanding the first image based on a subject in the first image.

[0049] In this manner, the foldable electronic device expands the first image based on the subject in the first image (the subject automatically identified or the subject selected by the user), so that the expanded second image can be more in line with user needs.

[0050] In a possible implementation of the second aspect above, the process of expanding the first image includes: expanding the first image based on a subject in the first image to obtain multiple expanded images; and using the expanded image selected by the user from the multiple expanded images as the second image.

[0051] In this manner, the foldable electronic device can generate multiple enlarged image results, so that the user can select the second image he or she needs from the multiple enlarged image results, which is conducive to improving the user experience.

[0052] In a possible implementation of the second aspect above, the first motion effect includes multiple frames of images of the first display element switching from the first display state to the second display state.

[0053] In a possible implementation of the second aspect above, the display state includes at least one of the following states: shape, size, position, rotation angle, occlusion relationship with other display elements, and whether to display.

[0054] In a possible implementation of the second aspect above, the generation process of the first animation effect includes: adjusting the display state of the first display element in the first image area and / or the second image area so that the first display element has a first display state in the first wallpaper and a second display state in the second wallpaper; generating a first animation effect of the first display element switching from the first display state to the second display state; and, the first wallpaper is the image corresponding to the adjustment of the display state of the first display element in the first image area; and / or, the second wallpaper is the image corresponding to the adjustment of the display state of the first display element in the second image area.

[0055] In this implementation, during or after generating the first motion effect, the foldable electronic device can modify the display state of the first display element in the first image area and / or the display state of the first display element in the second image area so that the state of the first display element in the first wallpaper and the second wallpaper matches the first motion effect. This can avoid screen jumps when switching between the first wallpaper (or second wallpaper) and the first motion effect.

[0056] In a possible implementation of the second aspect above, the first display element has a first display state in the first image area and a second display state in the second image area, and the generation process of the first motion effect includes: generating the first motion effect of the first display element switching from the first display state to the second display state; and the first wallpaper is the image corresponding to the first image area; the second wallpaper is the image corresponding to the second image area.

[0057] In a possible implementation of the second aspect, the first wallpaper and the second wallpaper have a third image area with the same content.

[0058] In this implementation, the first and second wallpapers have a third image area with the same content. That is, if the first and second wallpapers are from the same image (e.g., the first or second image described above), then the first image area corresponding to the first wallpaper and the second image area corresponding to the second wallpaper in the same image have an overlapping area, and the content corresponding to the overlapping area is the content of the third image area.

[0059] In a third aspect, the present application provides an electronic device, comprising: a memory for storing one or more programs; a processor for executing one or more programs so that the electronic device implements the wallpaper display method provided by the first aspect and any possible implementation of the first aspect, the second aspect and any possible implementation of the second aspect.

[0060] In a fourth aspect, the present application provides a readable storage medium, which includes one or more programs. When the one or more programs are executed on an electronic device, the electronic device implements the wallpaper display method provided by the above-mentioned first aspect and any possible implementation of the above-mentioned first aspect, and the above-mentioned second aspect and any possible implementation of the above-mentioned second aspect.

[0061] In a fifth aspect, the present application provides a program product, which, when running on an electronic device, enables the electronic device to implement the wallpaper display method provided by the first aspect and any possible implementation of the first aspect, and the second aspect and any possible implementation of the second aspect.

[0062] It should be understood that the beneficial effects of the second to fifth aspects mentioned above can refer to the beneficial effects described in the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] FIG1 is a schematic diagram showing a state change of a mobile phone 10 when it is folded according to some embodiments of the present application;

[0064] FIG2A shows a schematic diagram of cutting wallpaper according to some embodiments of the present application;

[0065] FIG2B shows a schematic diagram of a mobile phone 10 displaying wallpaper P1A and wallpaper P2A according to some embodiments of the present application;

[0066] FIG3A shows a schematic diagram of a first motion effect corresponding to the moon U0 according to some embodiments of the present application;

[0067] FIG3B shows a schematic diagram of a first motion effect corresponding to cloud U01 and cloud U02 according to some embodiments of the present application;

[0068] FIG3C shows a schematic diagram of a first motion effect corresponding to a ship U03 according to some embodiments of the present application;

[0069] FIG3D shows a schematic diagram of a display switching animation of the mobile phone 10 when the moon U0 is used as the first display element according to some embodiments of the present application;

[0070] FIG3E shows a schematic diagram of a switching animation displayed on the mobile phone 10 when Cloud U01 and Cloud U02 are used as the first display element according to some embodiments of the present application;

[0071] FIG3F shows a schematic diagram of a mobile phone 10 displaying a switching animation when a ship U03 is used as a first display element according to some embodiments of the present application;

[0072] FIG4A shows a schematic diagram of a gallery interface U1 displayed on a mobile phone 10 according to some embodiments of the present application;

[0073] FIG4B shows a schematic diagram of a setting folded wallpaper interface U2 displayed on the mobile phone 10 according to some embodiments of the present application;

[0074] FIG4C shows a schematic diagram of a setting expanded wallpaper interface U3 displayed on the mobile phone 10 according to some embodiments of the present application;

[0075] FIG4D shows a schematic diagram of a motion effect object selection interface U4 displayed on a mobile phone 10 according to some embodiments of the present application;

[0076] FIG4E shows a schematic diagram of a mobile phone 10 adjusting a folded wallpaper P3A according to some embodiments of the present application;

[0077] FIG4F shows a schematic diagram of the mobile phone 10 adjusting the expanded wallpaper P3B according to some embodiments of the present application;

[0078] FIG5 is a schematic diagram showing a switching animation displayed on the mobile phone 10 when a vine U41 , a kettle U42 , a squirrel U43 , and a bird U44 are used as first display elements according to some embodiments of the present application;

[0079] FIG6A shows a schematic diagram of a gallery interface U5 displayed on a mobile phone 10 according to some embodiments of the present application;

[0080] FIG6B shows a schematic diagram of an expanded image interface U6 displayed on a mobile phone 10 according to some embodiments of the present application;

[0081] FIG6C shows a schematic diagram of a setting image expansion range interface U7 displayed on the mobile phone 10 according to some embodiments of the present application;

[0082] FIG6D shows a schematic diagram of a setting folded wallpaper interface U8 displayed on the mobile phone 10 according to some embodiments of the present application;

[0083] FIG6E shows a schematic diagram of the mobile phone 10 determining area CD1 as a core area according to some embodiments of the present application;

[0084] FIG6F shows a schematic diagram of the mobile phone 10 determining area CD2 as a core area according to some embodiments of the present application;

[0085] FIG6G shows a schematic diagram of the mobile phone 10 determining area CD3 as a core area according to some embodiments of the present application;

[0086] FIG6H shows a schematic diagram of adjusting the core area of ​​the mobile phone 10 according to some embodiments of the present application;

[0087] FIG7 is a schematic diagram showing a flowchart of a wallpaper display method according to some embodiments of the present application;

[0088] FIG8 shows a schematic diagram of a software architecture for a mobile phone 10 to recognize a first display element and generate a first motion effect according to some embodiments of the present application;

[0089] FIG9 shows a schematic diagram of a software architecture for implementing the image expansion function of a mobile phone 10 according to some embodiments of the present application;

[0090] FIG10 shows a schematic structural diagram of a mobile phone 10 according to some embodiments of the present application. DETAILED DESCRIPTION

[0091] Illustrative embodiments of the present application include, but are not limited to, a wallpaper display method, a readable storage medium, a program product, and an electronic device.

[0092] It should be understood that the wallpaper display method provided in the embodiments of the present application can be applied to any electronic device with a foldable display, including but not limited to foldable mobile phones, foldable televisions, foldable computers, foldable monitors, etc. For ease of description, the following foldable electronic device is an example of a mobile phone 10 to introduce the technical solution of the present application.

[0093] Exemplarily, FIG1 shows a schematic diagram of a folded state change of a mobile phone 10 according to some embodiments of the present application.

[0094] As shown in FIG1 , mobile phone 10 includes a flexible screen 11 that can be folded along a folding axis MM (axis MM is parallel to the Y direction). When mobile phone 10 is in an unfolded state (also referred to as the expanded state), mobile phone 10 displays images through the entire display area of ​​flexible screen 11 (e.g., display area 11A and display area 11B shown in FIG1 , hereinafter referred to as display area 11C). When mobile phone 10 is in the expanded state, display area 11A and display area 11B are in the same plane (or display area 11A and display area 11B are less than a certain angle threshold). After display area 11B of flexible screen 11 is folded behind display area 11A along folding axis MM, mobile phone 10 enters a folded state (also referred to as the collapsed state) and displays images through display area 11A of flexible screen 11. As shown in FIG1 , the size of the display area used for displaying images, as well as the ratio of the Y-direction dimension to the X-direction dimension, are different in the folded and expanded states of mobile phone 10.

[0095] It should be understood that during the process of switching the mobile phone 10 from a folded state to an unfolded state, or from an unfolded state to a folded state, the mobile phone 10 can display the picture through the entire display area of ​​the flexible screen 11, or can display the picture through a partial display area of ​​the flexible screen 11.

[0096] In some cases, when setting wallpaper for mobile phone 10, mobile phone 10 may, based on user operations (e.g., the user selecting cropped areas of the same image corresponding to the expanded and folded wallpapers), crop the same image to different sizes and zoom in / out at different magnifications to obtain the wallpapers displayed on mobile phone 10 when the phone is in the expanded and folded states, respectively. In this way, when the phone 10 switches from the expanded state to the folded state, or vice versa, the wallpaper displayed on the phone 10 may change suddenly, affecting the user experience.

[0097] For example, FIG2A shows a schematic diagram of cutting wallpaper according to some embodiments of the present application.

[0098] As shown in FIG2A , when a user wishes to set image P1 as wallpaper for mobile phone 10, after the user selects image area D1, mobile phone 10 can scale image area D1 based on the size information of display area 11C (e.g., the ratio of the X-direction size to the Y-direction size), resulting in wallpaper P1A having the same size as display area 11C. Furthermore, after the user selects image area D2, mobile phone 10 can scale image area D2 of image P1 based on the size information of display area 11B (e.g., the ratio of the X-direction size to the Y-direction size), resulting in wallpaper P1B having the same size as display area 11A. Because display areas 11C and 11A have the same size in the Y direction, and image area D2 has a smaller size in the Y direction than image area D1, mobile phone 10 needs to scale image areas D1 and D2 using different ratios when generating wallpapers P1A and P1B, respectively. That is, the same display elements (such as people, basketballs, basketball stands, clouds, etc.) in wallpaper P1A and wallpaper P1B have different sizes, and thus when mobile phone 10 displays wallpaper P1A and wallpaper P1B, the positions of each display element on flexible screen 11 are also different.

[0099] When the mobile phone 10 switches from the folded state to the unfolded state, or from the unfolded state to the folded state, when the folding angle of the mobile phone 10 (for example, the angle between the plane on which the back of the display area 11A and the plane on which the back of the display area 11B is located) reaches a predetermined angle, the displayed wallpaper will be switched from wallpaper P1A to wallpaper P1B, or from wallpaper P1B to wallpaper P1A. Because the same display elements (such as people, basketballs, basketball hoops, clouds, etc.) in wallpapers P1A and P1B have different sizes and positions, the display positions of the display elements on the flexible screen 11 before and after the switching are also different, resulting in a screen jump when the wallpapers are switched.

[0100] For example, referring to Figure 2B , mobile phone 10 displays wallpaper P1A when the folded angle of mobile phone 10 is less than or equal to 120°, and displays wallpaper P1B when the folded angle is greater than 120°. Furthermore, when mobile phone 10 displays wallpaper P1A, the basketball in wallpaper P1A is located at point A on flexible screen 11, and the character's heel is located at point B on flexible screen 11. When wallpaper P1B is displayed, the basketball in wallpaper P1B is located at point A' on flexible screen 11, which is different from point A, and the character's heel is located at point B' on flexible screen 11, which is different from point B. Therefore, when the folded angle of mobile phone 10 increases from 120° or decreases to 120° from another angle, the wallpaper displayed on mobile phone 10 switches between wallpaper P1A and wallpaper P1B, causing the image displayed on flexible screen 11 to jump, affecting the user experience.

[0101] In view of this, an embodiment of the present application provides a wallpaper display method. When the mobile phone 10 detects the user's operation of configuring the wallpaper based on the first image, the first image area of ​​the first image can be configured as a folded wallpaper (the wallpaper displayed when the mobile phone 10 is in the folded state), and the second image area of ​​the first image can be configured as an expanded wallpaper (the wallpaper displayed when the mobile phone 10 is in the expanded state).

[0102] Then, the mobile phone 10 can determine at least one first display element in the folded wallpaper and / or the unfolded wallpaper (or the first image area of ​​the first image / the second image area of ​​the first image) and generate a switching animation for switching from the folded wallpaper to the unfolded wallpaper. The switching animation includes the first animation of each first display element, wherein the playback progress of the switching animation is associated with the folding angle of the mobile phone 10 (e.g., the folding angle of the flexible screen 11). During the process of opening the mobile phone 10 from the folded state to the unfolded state (or folding the mobile phone 10 from the unfolded state to the folded state), the mobile phone 10 can play the switching animation so that the display state of each first display element gradually changes with the change in the folding angle of the mobile phone 10. For example, the size of the first display element can gradually increase or decrease, the position of the first display element can gradually move from one position to another, the rotation angle of the first display element can be rotated from one angle to another, and the shape of the first display element can gradually change from a first shape to a second shape. In this way, the image displayed by the mobile phone 10 can change gradually, rather than directly jumping from the unfolded state to the folded state, which is beneficial to improving the user experience.

[0103] For example, in some embodiments, if the display state of the first display element in the folded wallpaper and the expanded wallpaper (e.g., form, size, position, rotation angle, occlusion relationship with other display elements, whether to display, etc.) is the same, the mobile phone 10 can adjust the display state of the first display element in the folded wallpaper and / or the expanded wallpaper so that the display state of the first display element in the folded wallpaper and the expanded wallpaper is different (e.g., the first display state in the folded wallpaper and the second display state in the expanded wallpaper). Then, the mobile phone 10 can generate a first motion effect of each first display element switching from the first display state to the second display state. The first motion effect may include multiple frames of motion effect images in the process of each first display element gradually switching from the first display state to the second display state.

[0104] It should be understood that if the mobile phone 10 adjusts the folded wallpaper and / or the unfolded wallpaper, the mobile phone 10 can use the adjusted folded wallpaper as the folded wallpaper and / or the adjusted unfolded wallpaper as the unfolded wallpaper.

[0105] For example, referring to FIG3A , based on a user operation, mobile phone 10 scales image area D3 of image P2 to a first scale ratio, which is converted into folded wallpaper P2A, and scales image area D4 of image P2 to an expanded wallpaper P2B, which is also converted into an expanded wallpaper P2B. Mobile phone 10 may use moon U0, which exists in both folded wallpaper P2A and expanded wallpaper P2B, as the first display element. Since moon U0 has the same display state in both folded wallpaper P2A and expanded wallpaper P2B (same size, same shape (both are crescents), same position relative to other display elements, same occlusion relationship with other display elements, and same rotation angle), mobile phone 10 may modify the shape of moon U0 in expanded wallpaper P2B from a crescent (as the first display state) to a full moon (as the second display state), thereby adjusting expanded wallpaper P2B to expanded wallpaper P2B'. Mobile phone 10 may then generate a first animation effect (i.e., multiple frames of images of moon U0 changing to moon U0') of the transition from moon U0 to moon U0'.

[0106] For another example, referring to Figure 3B, corresponding to the aforementioned folded wallpaper P2A and unfolded wallpaper P2B, the mobile phone 10 can also determine cloud U01 and cloud U02 as the first display elements. Since the display states of cloud U01 and cloud U02 in the folded wallpaper P2A and the unfolded wallpaper P2B are the same, the mobile phone 10 can adjust cloud U01 in the unfolded wallpaper P2B from position A to position A', and adjust cloud U02 from position B to position B' (cloud U01 at position A can be called the first display state, cloud U01 at position A' can be called the second display state, cloud U02 at position B can be called the first display state, and cloud U02 at position B' can be called the second display state) to obtain wallpaper P2B". Then, the mobile phone 10 can generate a first motion effect of cloud U01 moving from position A to position A' and cloud U02 moving from position B to position B'.

[0107] For another example, referring to Figure 3C, corresponding to the aforementioned folded wallpaper P2A and expanded wallpaper P2B, the mobile phone 10 can also determine the ship U03 as the first display element. Since the display states of the ship U03 in the folded wallpaper P2A and the expanded wallpaper P2B are the same, the mobile phone 10 can adjust the ship U03 in the expanded wallpaper P2B from position C to position C' and enlarge the ship U03 to ship U03' (the ship U03 at position C can be called the first display state, and the enlarged ship U03' at position C' can be called the second display state) to obtain wallpaper P2B″′. Then, the mobile phone 10 can generate a first motion effect of the ship U03 moving from position C to position C' and gradually enlarging to ship U03'.

[0108] For example, in some embodiments, if the display states of the first display element in the folded wallpaper and the expanded wallpaper are different (for example, the first display state in the folded wallpaper and the second display state in the expanded wallpaper), the mobile phone 10 can directly generate a first animation effect of each first display element switching from the first display state to the second display state (for example, a multi-frame animation image of the process of each first display element switching from the first display state to the second display state).

[0109] For example, in some embodiments, even if the display status of the first display element in the folded wallpaper and the expanded wallpaper is different, the mobile phone 10 can also adjust the display status of the first display element in the folded wallpaper and / or the expanded wallpaper, which is not limited here.

[0110] In this way, when the mobile phone 10 switches from the folded state to the unfolded state or from the unfolded state to the folded state, a switching animation can be played based on the folding angle of the mobile phone 10. The display state of each first display element in the switching animation gradually changes, so that during the state change of the folded state of the mobile phone 10, the picture displayed on the flexible screen 11 does not directly switch the displayed wallpaper, but gradually changes with the playback of each first animation effect, which is conducive to improving the user experience. For example, assuming that the animation effect of the first display element includes M frames of images, the folding angle range of the mobile phone 10 is 0° to 80°, when the folding angle of the mobile phone 10 is X°, the interface displayed by the mobile phone 10 includes the X° / 180°×Mth frame image in the M frames.

[0111] In some embodiments, the folded state of the mobile phone 10 may refer to a state in which the display screen is completely folded, in which state the mobile phone 10 displays the image through a partial display area of ​​the flexible screen (such as the aforementioned display area 11A); the unfolded state of the mobile phone 10 may refer to a state in which the display screen is completely unfolded, in which state the mobile phone 10 displays the image through the entire display area of ​​the flexible screen.

[0112] In some embodiments, the folded wallpaper and the expanded wallpaper have a third image area with the same content, and the content of the third image area is the same size in the folded and expanded wallpapers (that is, the scale ratio of the folded wallpaper relative to the first image area is the same as the scale ratio of the expanded wallpaper relative to the second image area). This ensures that the image does not scale when switching between the folded and expanded wallpapers, reducing the visual changes perceived by the user.

[0113] In some embodiments, if the third image area is displayed at the first position of the flexible screen 11 when the mobile phone 10 displays the folded wallpaper, and the third image area is displayed at the second position of the flexible screen 11 when the mobile phone 10 displays the unfolded wallpaper. The switching animation may also include a motion effect of the folded wallpaper, such as a motion effect in which the folded wallpaper gradually moves as the folding angle of the flexible screen increases. During the gradual movement of the folded wallpaper, the third image area in the folded wallpaper gradually moves from the first position to the second position. In some embodiments, the display time of the switching motion effect of the folded wallpaper may be before each first motion effect, or at least a portion of the display time may overlap with the display time of each first motion effect.

[0114] In some embodiments, the switching animation may also include a gradient effect showing the expanded wallpaper, so that the part of the expanded wallpaper other than the third image area may gradually appear. For example, the gradient effect may be an effect that extends outward from the aforementioned third image area to display other image contents of the expanded wallpaper other than the third image area. That is to say, other image contents of the expanded wallpaper other than the third image area may be gradually displayed on the flexible screen as the folding angle changes. In this way, the transition process between the folded wallpaper and the expanded wallpaper can be smoother, and screen jumps can be avoided. In some embodiments, the gradient effect of the expanded wallpaper may be after the switching effect of the folded wallpaper.

[0115] For example, referring to FIG3D , for the folded wallpaper P2A and unfolded wallpaper P2B′ shown in FIG3A , the mobile phone 10 can display the folded wallpaper P2A when the flexible screen 11 is folded. As the mobile phone 10 unfolds from the folded state to the unfolded state, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can play a transition effect in which the folded wallpaper P2A moves from the position displayed when the mobile phone 10 is folded to the center of the flexible screen 11 (after the transition effect, the positions of the display elements of the folded wallpaper P2A, except for the first display element, are the same as those displayed when the unfolded wallpaper P2B′ was displayed). Then, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can display the first transition effect of the moon U0 gradually changing to the moon U0′ (the moon gradually changes from a crescent to a full moon), and gradually display the area of ​​the unfolded wallpaper P2B′ that does not overlap with the folded wallpaper P2A (the black border shown gradually decreases as the folding angle increases) (as a gradient effect for the unfolded wallpaper). Finally, after the flexible screen 11 is fully unfolded (the display area 11A and the display area 11B are in the same plane or the angle between the display area 11A and the display area 11B is less than a certain angle threshold, for example, after the mobile phone 10 is opened to the unfolded state), the mobile phone 10 can display the unfolded wallpaper P2B′.

[0116] For another example, referring to Figure 3E, for the folded wallpaper P2A and the unfolded wallpaper P2B″ shown in Figure 3B, the mobile phone 10 can display the folded wallpaper P2A when the flexible screen 11 is folded. In the process of the mobile phone 10 opening from the folded state to the unfolded state, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can play the switching effect of the folded wallpaper P2A moving from the position displayed when the mobile phone 10 is folded to the middle position of the flexible screen 11 (after the animation ends, the display positions of the other display elements of the folded wallpaper P2A except the first display element are the same as the display positions of these display elements when the unfolded wallpaper P2B″ is displayed). Then, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can display the dynamic effect of cloud U01 gradually moving from the aforementioned position A to the A′ position (for example, cloud U01 can gradually move from the aforementioned position A to the A″ position, and from the A″ position to the A′ position), and cloud U02 gradually moving from the aforementioned position B to the B′ position (for example, cloud U02 can gradually move from the aforementioned position B to the B″ position, and from the B″ position to the B′ position), and gradually display the area of ​​the expanded wallpaper P2B″ that does not overlap with the folded wallpaper P2A (the black border in the figure gradually decreases as the folding angle increases) (as a gradient dynamic effect of the expanded wallpaper). Finally, after the flexible screen 11 is fully unfolded (the display area 11A and the display area 11B are in the same plane or the angle between the display area 11A and the display area 11B is less than a certain angle threshold), the mobile phone 10 can display the expanded wallpaper P2B″.

[0117] For another example, referring to Figure 3F, for the folded wallpaper P2A and the unfolded wallpaper P2B″′ shown in Figure 3C, the mobile phone 10 can display the folded wallpaper P2A when the flexible screen 11 is folded. In the process of the mobile phone 10 opening from the folded state to the unfolded state, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can play the switching effect of the folded wallpaper P2A moving from the position displayed when the mobile phone 10 is folded to the middle position of the flexible screen 11 (after the animation ends, the display positions of the other display elements of the folded wallpaper P2A except the first display element are the same as the display positions of these display elements when the unfolded wallpaper P2B″′ is displayed). Then, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can display the dynamic effect of the ship U03 gradually moving from the aforementioned C position to the C′ position and gradually enlarging the ship U03′ (for example, the ship can gradually move from the ship U03 at the aforementioned C position to the C″ position and gradually enlarge it to U03″, and then gradually move from the ship U03″ at the C″ position to the C′ position and gradually enlarge it to U03′), and gradually display the area of ​​the expanded wallpaper P2B″′ that does not overlap with the folded wallpaper P2A (the black border in the figure gradually decreases as the folding angle increases) (as the gradient dynamic effect of the expanded wallpaper). Finally, after the flexible screen 11 is fully unfolded (the display area 11A and the display area 11B are in the same plane or the angle between the display area 11A and the display area 11B is less than a certain angle threshold, for example, after the mobile phone 10 is opened to the expanded state), the mobile phone 10 can display the expanded wallpaper P2B″.

[0118] In some embodiments, the first animation effect may include at least one of the following animation effects:

[0119] The first display element switches from a first form to a second form. For example, when the first display element is a moon, the animation can be the moon changing from a crescent moon to a full moon as the folding angle of the mobile phone 10 changes, or the moon changing from a full moon to a crescent moon. For another example, when the first display element is a plant (or animal), the animation can be the plant (or animal) gradually growing as the folding angle of the mobile phone 10 changes, or the plant (or animal) gradually growing inversely as the folding angle of the mobile phone 10 decreases. For another example, if the first display element is a watering can, the first form can be the form of the watering can not watering, and the second form can be the form of the watering can watering. For another example, if the first display element is a person, the first form can be the person's first motion posture (such as standing, jumping, lying down, running), and the second form can be the person's second motion posture different from the first motion state.

[0120] Animation of the change in the occlusion relationship between the first display element and the second display element. For example, in the folded wallpaper, the first display element and the second display element may have a first occlusion relationship, and in the expanded wallpaper, the first display element and the second display element may have a second occlusion relationship. The first animation may be an animation in which the occlusion relationship between the first display element and the second display element is switched from the first occlusion relationship to the second occlusion relationship (for example, an animation of moving at least one of the first display element and the second display element). For example, assuming that the folded wallpaper includes the moon (as the first display element) and the cloud (as the second display element), the first animation may be an animation in which the moon and / or the cloud are moved so that the occlusion area of ​​the cloud on the moon increases or decreases.

[0121] Animation of the change in size, position, or rotation angle of the first display element. For example, if the first display element is in the third position in the folded wallpaper and in the fourth position in the expanded wallpaper, the first animation can be an animation of the first display element moving from the third position to the fourth position, or vice versa. In some embodiments, the first animation can also be other forms of animation, which are not limited here.

[0122] In some embodiments, the switching animation corresponding to the process of folding the mobile phone 10 from the unfolded state to the folded state may be the opposite animation of the switching animation during the process of opening the mobile phone 10 from the folded state to the unfolded state.

[0123] For example, FIG. 4A to FIG. 4F illustrate schematic diagrams of interfaces displayed during wallpaper configuration on the mobile phone 10 according to some embodiments of the present application.

[0124] As shown in FIG4A , when the mobile phone 10 detects that the user has long-pressed the image P3 in the gallery interface U1, the option menu U11 may be displayed. The option menu U11 includes a "Set as wallpaper" option U12. Referring to FIG4B , after the mobile phone 10 detects that the user has selected the "Set as wallpaper" option U12, the "Set folded wallpaper" interface U2 may be displayed. The "Set folded wallpaper" interface U2 may include a cropping frame B1. The user may move or scale the cropping frame (or the image P3) to set the image area corresponding to the folded wallpaper in the image P3 (as the aforementioned first image area). After detecting that the user selects the "Next" control U21 in the "Set Folded Wallpaper" interface U2, the mobile phone 10 can use the image area cropped by the cropping box B1 as the folded wallpaper P3A, and display the "Set Expanded Wallpaper" interface U3 shown in Figure 4C. The "Set Expanded Wallpaper" interface U3 may include a cropping box B2, and the size of the image area selected by the cropping box B2 in the Y direction is the same as the size of the first image area in the Y direction (used to ensure that the area in the expanded wallpaper cropped by the cropping box B2 with the same content as the folded wallpaper (for example, the image area cropped by the cropping box B1 in Figure 4B) is the same size). The user can set the image area corresponding to the expanded wallpaper in image P3 (as the aforementioned second image area) by moving the cropping box (or image P3).

[0125] After detecting that the user selects the "Next" control U31 in the "Set Expanded Wallpaper" interface U3, the mobile phone 10 can use the image area cropped by the cropping frame B2 as the folded wallpaper P3B. Then, the mobile phone 10 can determine the display elements in the folded wallpaper P3A or the expanded wallpaper P3B or in the image P3, and display the dynamic effect object selection interface U4 shown in Figure 4D. In the dynamic effect object selection interface U4, the mobile phone 10 can highlight (or display in other forms) the identified display elements (such as the vines U41, kettle U42, squirrel U43, bird U44, etc. in Figure 4D). The user can select the dynamic effect object (as the first display element) and the dynamic effect corresponding to the dynamic effect object by operating each display element in the dynamic effect object selection interface U4. For example, after the user selects a display element, if the mobile phone 10 detects that the user selects the "Select animation" control U45, it can display at least one animation supported by the display element (it can be an animation generated in real time by the mobile phone 10, or an animation preset in the mobile phone 10, or an animation obtained by the mobile phone 10 from the server), and then use the animation selected by the user from the at least one animation as the first animation of the display element.

[0126] For example, corresponding to the process of the mobile phone 10 opening from the folded state to the unfolded state: corresponding to the vine U41, the first motion effect can be the vine U41 growing from a seedling to a vine U41; corresponding to the kettle U42, the first motion effect can be the kettle U42 sprinkling water; corresponding to the squirrel U43 and the bird U44, the first motion effect can be the squirrel U43 and the bird U44 moving from the right side of the flexible screen 11 (the positive direction of the X-axis shown in Figure 1) to the left side (the negative direction of the X-axis shown in Figure 1).

[0127] Optionally, the mobile phone 10 can also adjust the display state of each display element of the folded wallpaper and / or the expanded wallpaper based on the display elements and the first motion effect selected by the user, so that the display state of the display elements in the folded wallpaper and the expanded wallpaper matches the first motion effect. For example, assuming that the first display element selected by the user includes vines U41, kettles U42, squirrels U43, and birds U44, the vines U41 and kettles U42 are displayed in both the folded wallpaper P3A and the expanded wallpaper P3B and are the same size (i.e., the display state is the same). The mobile phone 10 can adjust the display state of the vines U41 and kettles U42. For example, referring to Figure 4E, the mobile phone 10 can delete the vines U41 in the folded wallpaper P3A (or replace it with an image of a vine U41 seedling) to obtain the folded wallpaper P3A′; referring to Figure 4F, the mobile phone 10 adds water drops U48 to the expanded wallpaper P3B to obtain the expanded wallpaper P3B′. Since the squirrel U43 and the bird U44 are not displayed in the folded wallpaper P3A (ie, the display state is different from that of the unfolded wallpaper), the mobile phone 10 may not adjust the display state of the squirrel U43 and the bird U44.

[0128] After detecting that the user selects the "Automatically generate wallpaper motion effect" control in the motion effect object selection interface U4, the mobile phone 10 can generate a switching animation of the mobile phone 10 from a folded state to an unfolded state (or a folded state to an unfolded state) according to the first motion effect selected by the user for each display element (if the user has not selected, an motion effect will be automatically generated or selected). The switching animation may include the first motion effect corresponding to each display element, and the playback progress of the switching animation is associated with the folding angle of the mobile phone 10.

[0129] Optionally, after generating the switching animation, the mobile phone 10 may further display a preview interface of the switching animation for user reference.

[0130] After the switching animation is generated, when the folding state of the mobile phone 10 changes, the mobile phone 10 may display the switching animation based on the folding angle of the mobile phone 10 .

[0131] For example, assuming that the first display element selected by the user includes vines U41, kettle U42, squirrel U43, and bird U44. Referring to Figure 5, when the mobile phone 10 is unfolded from the folded state, the screen displayed on the mobile phone 10 may be an effect of the vines U41 growing continuously (increasing in size), the kettle U42 continuously sprinkling water, and the squirrels U43 and the bird U44 gradually moving from the positive direction of the X axis and the negative direction of the X axis of the flexible screen 11; when the flexible screen 11 is folded from the unfolded state to the folded state, the switching animation may be an animation opposite to the above animation, that is, when the flexible screen 11 is unfolded to the folded state, the vines U41 grow in reverse, the water from the kettle U42 drips back into the kettle, and the squirrels U43 and the bird U44 move from the negative direction of the X axis and the positive direction of the X axis of the flexible screen 11 until they disappear. Specifically, when the flexible screen 11 is in the folded state, the mobile phone 10 displays the aforementioned wallpaper P3A′; when the folding angle of the flexible screen 11 of the mobile phone 10 is 120°, in the picture displayed on the flexible screen 11, the aforementioned kettle U41 sprinkles water and displays the image U41′ of the seedling of the vine U41, and the squirrel U43 and the bird U44 appear on the right edge of the flexible screen 11; when the folding angle of the flexible screen 11 of the mobile phone 10 is 150°, in the picture displayed on the flexible screen 11, the aforementioned When the kettle U41 sprinkles water, compared to when the folding angle of the flexible screen 11 is 120°: the size of the vine U41 increases to vine U41″, and the distance between the squirrel U43 and the bird U44 and the right edge of the flexible screen 11 increases; when the flexible screen 11 is in the unfolded state, the flexible screen 11 displays the aforementioned wallpaper P3B′, compared to when the folding angle of the flexible screen 11 is 150°: the size of the vine U41 increases, and the distance between the squirrel U43 and the bird U44 and the right edge of the flexible screen 11 increases.

[0132] Based on the above method, when the folding state of the mobile phone 10 changes (for example, from a folded state to an unfolded state or from an unfolded state to a folded state), the switching animation of the first motion effect of each first display element can be included, so that the switching of wallpapers is smoother and more natural, avoiding sudden changes in the picture, which is conducive to improving the user experience.

[0133] In some embodiments, when the mobile phone 10 detects that the user has set a wallpaper based on the first image, it can provide a function of expanding the first image and expand the first image into the second image according to the user operation (or automatic processing). In addition, the folded wallpaper can be obtained based on the first image area in the first image (or the second image), and the unfolded wallpaper can be obtained based on the second image area in the second image. For example, when the mobile phone 10 detects that the user has set the first image as the wallpaper, it can prompt the user to expand the first image when the expansion condition is met. In some embodiments, the expansion condition may include at least one of the following conditions:

[0134] detecting that a resolution of the first image (or a subject in the first image) is smaller than a preset resolution;

[0135] Detecting that a difference between a ratio of the subject in the X direction and the Y direction in the first image and a ratio of the flexible screen 11 in the X direction and the Y direction is greater than a preset difference;

[0136] After detecting that the user selects the folded wallpaper in the first image with the first size, the size of the first image in the X direction is smaller than the size of the unfolded wallpaper in the X direction corresponding to the first size (the size of the first size in the Y direction × the ratio of the size of the flexible screen 11 in the X direction to the size of the flexible screen 11 in the Y direction). For example, assuming that the ratio of the size of the flexible screen 11 in the X direction to the size of the Y direction is A, and the size of the first size in the Y direction is y1, then the size of the unfolded wallpaper in the X direction corresponding to the first size is A×y1. If the size of the first image in the X direction is smaller than A×y1, it is determined that the image expansion condition is met;

[0137] Detected that the user confirmed the operation of expanding the image.

[0138] Optionally, in other embodiments, the image expansion conditions may also include more or fewer conditions, which are not limited here.

[0139] In some embodiments, expanding an image refers to extending the image outward based on the content in the image, and filling the extended part with image content associated with the current content of the image, so that the size of the image is increased and the content is increased.

[0140] For example, FIG. 6A to FIG. 6D illustrate schematic diagrams of interfaces displayed on the mobile phone 10 when the mobile phone 10 is expanding a first image according to some embodiments of the present application.

[0141] Referring to Figure 6A, when the mobile phone 10 detects that the user has long-pressed image P4 (as the first image) in the gallery interface U5, it can display an options menu U51, which includes a "Set as wallpaper" option U52. Referring to Figure 6B, after the mobile phone 10 detects that the user has selected the "Set as wallpaper" option U52, if it is determined that the expansion conditions are met, it can automatically expand image P4 to obtain at least one expansion result, and display the obtained expansion result in the expansion interface U6. The expansion interface U6 may include various expansion results generated by the mobile phone 10 (images with more image content than image P4), a "Set expansion range" control U61, and a next control U62.

[0142] In some embodiments, after the mobile phone 10 detects that the user selects one of the expanded image results and selects the next control U62 operation, the expanded image result selected by the user can be used as the second image to configure the wallpaper. The specific process can refer to the aforementioned configuration process for image P1 and will not be repeated here.

[0143] In some embodiments, after the mobile phone 10 detects the user's selection operation on the "Set Image Expansion Range" control U61, it can display the setting image expansion range interface U7 shown in Figure 6C. The setting image expansion range interface U7 may include image P4 and a cropping box B3 for indicating the size of the image after the image P4 is expanded. The user can set the size of the image after the image P4 is expanded and the size of the expansion in various directions by adjusting the position and size of the cropping box B3 and / or the image P4. After detecting the user's selection of the "Expand Image" control U71, the mobile phone 10 can expand the image P4 based on the size selected by the user, obtain one or more expansion results, and display the one or more expansion results.

[0144] In some embodiments, the mobile phone 10 may also display an image expansion control on the folded wallpaper setting interface (such as the aforementioned folded wallpaper setting interface U2) and / or the expanded wallpaper setting interface (such as the aforementioned expanded wallpaper setting interface U3), and upon detecting the user's operation on the image expansion control, expand the image currently selected by the user. For example, referring to FIG6D , the mobile phone 10 may display an "expand image" control U81 in the folded wallpaper setting interface U8 for image P4′ (for example, image P4′ may be an image obtained by expanding image P4). If the user needs to expand the current image P4′ again, the user may select the "expand image" control U81. After detecting the user's selection operation on the "expand image" control U81, the mobile phone 10 may expand the image P4′.

[0145] In some implementations, when expanding the first image, the mobile phone 10 can automatically identify a core area (e.g., an area containing a subject such as a person or animal) within the image and automatically expand the image centered around the core area. For example, referring to FIG6E , for image P1B, the mobile phone 10 can identify area CD1 containing the person as the core area; referring to FIG6F , for image P5, the mobile phone 10 can identify area CD2 containing the lion as the core area; and referring to FIG6G , for image P4, the mobile phone 10 can identify area CD3 containing the person as the core area.

[0146] In some implementations, when expanding the first image, the mobile phone 10 may, after identifying a core area in the image (e.g., an area containing a subject such as a person or animal), modify the core area in response to a user operation and automatically expand the image with the modified core area as the center. For example, referring to FIG6H , in the scenario shown in FIG6F , the mobile phone 10 may, in response to a user operation (e.g., a user dragging the edge of area CD2 ), adjust the core area from area CD2 to area CD2′.

[0147] It should be understood that when the mobile phone 10 adjusts the range of the core area in response to user operations, it can limit the range of the core area selected by the user to the inside of the image, avoiding the core area selected by the user including blank areas outside the image, thereby avoiding poor image expansion quality due to the existence of blank areas.

[0148] In some implementations, when expanding the first image, the mobile phone 10 can obtain the core area selected by the user in the image (such as the area where the subject such as a portrait or an animal is located) and automatically expand the image with the core area selected by the user as the center.

[0149] It should be understood that the core area is the area in the image where the subject (ie, the main object used to indicate the subject content of the image) is located.

[0150] It should be understood that the first motion effects and display elements shown in the aforementioned embodiments are merely examples. In other embodiments, for the same or different display elements, first motion effects different from those in the aforementioned embodiments may be used, which is not limited here.

[0151] The technical solution of the present application is introduced below in conjunction with the aforementioned Figures 1 to 6D.

[0152] For example, FIG7 shows a flowchart of a wallpaper display method according to some embodiments of the present application. The execution subject of the process is a mobile phone 10 (or other electronic devices). As shown in FIG7, the process includes the following steps:

[0153] S701: Detecting a user operation of configuring a wallpaper based on a first image, configuring a folded wallpaper based on a first image area of ​​the first image and configuring an expanded wallpaper based on a second image area of ​​the first image according to the user operation.

[0154] For example, when the mobile phone 10 detects a user operation to configure a wallpaper based on a first image, the first image area of ​​the first image may be configured as a folded wallpaper and the second image area of ​​the first image may be configured as an expanded wallpaper based on the user operation.

[0155] In some embodiments, the user's operation of configuring the wallpaper based on the first image can be an operation of the user selecting the first image in the interface of the application for configuring the wallpaper in the mobile phone 10 (for example, the interface of the setting application corresponding to the wallpaper), or it can be an operation of selecting to set the first image as wallpaper in other applications that display the first image (for example, gallery, picture, etc. applications).

[0156] In other embodiments, the user's operation of configuring the wallpaper based on the first image may also be other forms of operations for instructing the mobile phone 10 to set at least a portion of the first image as wallpaper.

[0157] For example, in the scenario shown in FIG4A , the user's operation of configuring a wallpaper based on the first image may be an operation in which the user long-presses image P3 (as the first image) and then selects the Set as Wallpaper control U12 . Upon detecting this operation, the mobile phone 10 may use the area selected by the user in image P3 through the cropping box B1 shown in FIG4B (as the first image area) as the folded wallpaper, and the area selected by the user in image P3 through the cropping box B2 shown in FIG4C (as the second image area) as the expanded wallpaper.

[0158] In some embodiments, the first image area and the second image area partially overlap.

[0159] In some embodiments, for the first image, the mobile phone 10 can expand the first image into a second image if the aforementioned expansion conditions are met, and determine the folded state wallpaper based on the first image area in the first image (or the second image), and / or determine the unfolded state wallpaper based on the second image area in the second image.

[0160] For example, in some embodiments, when the mobile phone 10 detects a user's operation to configure a wallpaper based on a second image, if the aforementioned image expansion conditions are met, the second image may be expanded according to the user's operation to obtain the first image. For details, please refer to the embodiments of Figures 6A to 6D above, and no further description is given here.

[0161] In some embodiments, the mobile phone 10 may expand the second image based on a pre-trained image expansion model to obtain the first image.

[0162] In some embodiments, the mobile phone 10 may also send the second image and the user-selected expansion area to a server or other device, so that the server or other device can use an expansion model or other algorithm to expand the second image to obtain the first image, and then send the first image to the mobile phone 10.

[0163] S702: Determine a first display element in the folded wallpaper or the unfolded wallpaper or the first image.

[0164] After the mobile phone 10 configures the first image area of ​​the first image as a folded wallpaper and the second image area of ​​the first image as an expanded wallpaper, it can identify the display elements in the folded wallpaper or the expanded wallpaper or the first image that can be used to generate the first motion effect, and determine the display element selected by the user from the part of the display elements as the first display element.

[0165] In some embodiments, after identifying the display elements in the folded wallpaper or the unfolded wallpaper that can be used to generate the first motion effect, the mobile phone 10 may also use all the identified display elements as the first display elements, which is not limited here.

[0166] For example, for the situations in Figures 4A to 4C, the mobile phone 10 can identify the vines U41, kettle U42, squirrel U43, and bird U44 as display elements that can be used to generate a first motion effect, and based on user selection, use at least part of the vines U41, kettle U42, squirrel U43, and bird U44 as the first display element.

[0167] For another example, for the situation shown in FIG3A , the mobile phone 10 may use the moon U0 as the first display element; for the situation shown in FIG3B , the mobile phone 10 may use the cloud U01 and the cloud U02 as the first display element; for the situation shown in FIG3C , the mobile phone 10 may use the ship U03 as the first display element.

[0168] In some embodiments, the mobile phone 10 may identify display elements in the folded wallpaper or the unfolded wallpaper that can be used to generate the first motion effect based on a pre-trained content recognition model.

[0169] In some embodiments, the mobile phone 10 may also send the folded wallpaper or the expanded wallpaper or the first image to a server or other device, and the server or other device may determine the first display element in the folded wallpaper or the expanded wallpaper.

[0170] In some embodiments, the first display element may include, but is not limited to, animals, plants, vehicles, planets, weather elements (clouds, rain, lightning, hail, snow), tools (such as stationery, cleaning tools, etc.), etc. In other embodiments, the first display element may also be any other display element, which is not limited here.

[0171] S703: Generate a switching animation including a first motion effect corresponding to the first display element.

[0172] After determining the first display elements, the mobile phone 10 may generate and store a switching animation including the first motion effects corresponding to the first display elements.

[0173] In some embodiments, the first motion effect may be a motion effect of the first display element switching from the first display state to the second display state. If the display state of the first display element in the folded wallpaper is not the first display state, the mobile phone 10 may also adjust the display state of the first display element in the folded wallpaper to the first display state, and use the adjusted wallpaper as the folded wallpaper; if the display state of the first display element in the expanded wallpaper is not the second display state, the mobile phone 10 may also adjust the display state of the first display element in the expanded wallpaper to the second display state, and use the adjusted wallpaper as the folded wallpaper. In this way, the switching process between the folded wallpaper and the expanded wallpaper can be made smoother, the screen jump can be further reduced, and the user experience can be improved.

[0174] For example, corresponding to the scenario shown in FIG3A , the mobile phone 10 may modify the shape of the moon U0 in the expanded wallpaper P2B from a crescent moon (as the first display state) to a full moon (as the second display state) to obtain moon U0′, thereby obtaining the expanded wallpaper P2B′ and setting the expanded wallpaper P2B′ as the wallpaper displayed in the expanded state of the mobile phone 10. The first motion effect may be a first motion effect of the moon U0 gradually changing to the moon U0′ (i.e., a motion effect of the moon gradually changing from a crescent moon to a full moon).

[0175] For another example, for the situation shown in Figure 3B, the mobile phone 10 can adjust the cloud U01 in the expanded wallpaper P2B from position A to position A', and adjust the cloud U02 from position B to position B' (the cloud U01 at position A can be called the first display state, the cloud U01 at position A' can be called the second display state, the cloud U02 at position B can be called the first display state, and the cloud U02 at position B' can be called the second display state), thereby obtaining the expanded wallpaper P2B″ and setting the expanded wallpaper P2B″ as the wallpaper displayed in the expanded state of the mobile phone 10. The first motion effect can be the motion effect of cloud U01 moving from position A to position A' and cloud U02 moving from position B to position B'.

[0176] For another example, in the situation shown in FIG3C , the mobile phone 10 may adjust the ship U03 in the expanded wallpaper P2B from position C to position C' and enlarge the ship U03 to ship U03' (the ship U03 at position C may be referred to as the first display state, and the enlarged ship U03' at position C' may be referred to as the second display state), thereby obtaining the expanded wallpaper P2B'' and setting the expanded wallpaper P2B''' as the wallpaper displayed in the expanded state of the mobile phone 10. The first motion effect may be the motion effect of the ship U03 moving from position C to position C' and gradually enlarging to the ship U03'.

[0177] For example, in the scenarios shown in Figures 4A to 4F, the mobile phone 10 may delete the vine U41 in the folded wallpaper P3A (or replace it with an image of a vine U41 seedling) to obtain the folded wallpaper P3A′, and set the folded wallpaper P3A′ as the wallpaper displayed in the folded state of the mobile phone 10. The first motion effect may include at least one of the following motion effects: a motion effect of the vine U41 growing from a seedling to a vine U41, a motion effect of the kettle U42 sprinkling water, a motion effect of the squirrel U43 moving from the right side (positive direction of the X-axis shown in Figure 1) to the left side (negative direction of the X-axis shown in Figure 1) of the flexible screen 11, and a motion effect of the bird U44 moving from the right side (positive direction of the X-axis shown in Figure 1) to the left side (negative direction of the X-axis shown in Figure 1) of the flexible screen 11.

[0178] In some embodiments, the display state of a display element may include at least one of the following states: shape, size, position, rotation angle, occlusion relationship with other display elements, and whether to display.

[0179] In some embodiments, the first animation effect may include at least one of the following animation effects: an animation effect of the first display element switching from a first form to a second form, an animation effect of a change in the occlusion relationship between the first display element and the second display element, and an animation effect of a change in the size, position, or rotation angle of the first display element.

[0180] In some embodiments, the storage form of the switching animation can be a dynamic image, a video file, an animation file, configuration parameters (such as the correspondence between the position, size, scaling, shape, rotation angle, etc. of the first display element and time), etc., or it can be other forms that can instruct the mobile phone 10 to display the first animation effect, which is not limited here.

[0181] In some embodiments, the motion effects of each first display element may be integrated with other display elements in the same dynamic image, video file, animation file, or the same set of configuration parameters.

[0182] In some embodiments, if the overlapping area of ​​the folded wallpaper and the unfolded wallpaper is displayed at a first position on the flexible screen 11 when the flexible screen 11 is in the folded state, and is displayed at a second position on the flexible screen 11 when the flexible screen 11 is in the unfolded state, the switching animation generated by the mobile phone 10 may further include a switching animation of the folded wallpaper, so that the overlapping area of ​​the folded wallpaper after moving is displayed at the second position on the flexible screen 11.

[0183] In some embodiments, the switching animation may further include the aforementioned gradual animation of the expanded wallpaper, that is, the animation of the non-overlapping area of ​​the expanded wallpaper and the folded wallpaper being gradually displayed.

[0184] In some embodiments, the mobile phone 10 may generate a first motion effect for each first display element based on a pre-trained motion effect generation model and obtain a switching animation. For example, the mobile phone 10 may run the model to generate the switching animation including the first motion effect, or the mobile phone 10 may send the first display element, the switching state wallpaper, and the folding state wallpaper to another device, which may then generate the switching animation including the first motion effect.

[0185] In some embodiments, the mobile phone 10 can send the first display element, the switching state wallpaper, and the folding state wallpaper to other devices, and the other devices generate the first animation effect and send it to the mobile phone 10, and the mobile phone 10 itself generates the folding state wallpaper switching animation (if any), and / or the expanded state wallpaper gradient animation.

[0186] In some embodiments, the first animation effect, the switching animation effect of the mobile folded wallpaper, and the gradient animation effect of the expanded wallpaper can be stored separately or combined into the same dynamic image, video file, animation file, or the same set of configuration parameters.

[0187] In some embodiments, if there are multiple first display elements, the duration of the first animation corresponding to each first display element can be the same or different, and the timing of playing the first animation corresponding to different first display elements can also be different, which is not limited here.

[0188] S704 : When the folding state of the flexible screen 11 of the mobile phone 10 changes, a switching animation is displayed based on the folding angle of the flexible screen 11 .

[0189] When the folding state of the flexible screen 11 of the mobile phone 10 changes, for example, when the flexible screen 11 changes from a folded state to an unfolded state, or when the flexible screen 11 changes from an unfolded state to a folded state, the switching animation can be displayed based on the folding angle of the flexible screen 11.

[0190] For example, assuming that the switching animation includes N frames of images, and the folding angle range of the flexible screen 11 corresponding to the display switching is [A, B], then the folding angle corresponding to the flexible screen 11 is C (A≤C≤B), and the mobile phone 10 can display the N×C / (BA)th frame image among the N frames of images.

[0191] For another example, assuming that the duration of the switching animation is T, and the folding angle range of the flexible screen 11 corresponding to the switching animation needs to be displayed is [A, B], then the folding angle corresponding to the flexible screen 11 is C (A≤C≤B), and the mobile phone 10 can display the image corresponding to the T×C / (BA) moment in the switching animation.

[0192] In some embodiments, if the overlapping area of ​​the folded wallpaper and the unfolded wallpaper is displayed at a first position on the flexible screen 11 when the flexible screen 11 is in the folded state, and is displayed at a second position on the flexible screen 11 when the flexible screen 11 is in the unfolded state, when the mobile phone 10 switches from the folded state to the unfolded state, the mobile phone 10 may further display a motion effect of moving the folded wallpaper before displaying the first motion effect, so that the overlapping area of ​​the folded wallpaper after movement is displayed at the second position on the flexible screen 11.

[0193] In some embodiments, after displaying the motion effect of moving the folded wallpaper, the mobile phone 10 may further display a motion effect of gradually displaying the non-overlapping area of ​​the folded wallpaper and the unfolded wallpaper.

[0194] For example, referring to FIG3D , for the folded wallpaper P2A and the unfolded wallpaper P2B′ shown in FIG3A , as the folding angle of the flexible screen 11 of the mobile phone 10 gradually increases, the mobile phone 10 can play a switching animation of the folded wallpaper P2A moving from the position displayed when the mobile phone 10 is folded to the position in the middle of the flexible screen 11. Then, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can display the first animation of the moon U0 gradually changing to the moon U0' (the moon gradually changes from moon U0 to moon U0″, and then from moon U0″ to moon U0' (full moon)), and gradually display the area of ​​the unfolded wallpaper P2B′ that does not overlap with the folded wallpaper P2A (the black border in the figure gradually decreases as the folding angle increases). Finally, after the flexible screen 11 is fully unfolded, the mobile phone 10 can display the unfolded wallpaper P2B′.

[0195] For another example, referring to Figure 3E, for the folded wallpaper P2A and the unfolded wallpaper P2B″ shown in Figure 3B, as the folding angle of the flexible screen 11 of the mobile phone 10 gradually increases, the mobile phone 10 can display a switching animation of the folded wallpaper P2A moving from the position displayed when the mobile phone 10 is folded to the position in the middle of the flexible screen 11. Then, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can display the animation of the cloud U01 gradually moving from the aforementioned position A to the A′ position, and the cloud U02 gradually moving from the aforementioned position B to the B′ position, and gradually display the area of ​​the unfolded wallpaper P2B″ that does not overlap with the folded wallpaper P2A (the black border in the figure gradually decreases as the folding angle increases). Finally, after the flexible screen 11 is fully unfolded, the mobile phone 10 can display the unfolded wallpaper P2B″′.

[0196] For another example, referring to Figure 3F, for the folded wallpaper P2A and the unfolded wallpaper P2B″′ shown in Figure 3C, as the folding angle of the flexible screen 11 of the mobile phone 10 gradually increases, the mobile phone 10 can play the switching animation of the folded wallpaper P2A moving from the position displayed when the mobile phone 10 is folded to the position in the middle of the flexible screen 11. Then, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can display the animation of the ship U03 gradually moving from the aforementioned position C to the position C′ and gradually enlarging the ship U03′, and gradually display the area of ​​the unfolded wallpaper P2B″′ that does not overlap with the folded wallpaper P2A (the black border in the figure gradually decreases as the folding angle increases). Finally, after the flexible screen 11 is fully unfolded, the mobile phone 10 can display the unfolded wallpaper P2B″′.

[0197] For example, for the aforementioned folded wallpaper P3A and unfolded wallpaper P3B, since the overlapping area of ​​the folded wallpaper P3A and the unfolded wallpaper P3B is displayed on the same position of the flexible screen 11 when the flexible screen 11 is in the folded state and the unfolded state, during the process of the mobile phone 10 switching from the folded state to the unfolded state, the picture displayed by the mobile phone 10 can be the dynamic effect of the vine U41 constantly growing (the size constantly increasing), the kettle U42 constantly sprinkling water, and the squirrel U43 and the bird U44 gradually moving from the positive direction of the X-axis to the negative direction of the X-axis of the flexible screen 11.

[0198] Based on the above method, the mobile phone 10 can display the first motion effect corresponding to the first display element during the change of the folding state of the flexible screen 11, which can avoid the jump in switching between the folded wallpaper and the unfolded wallpaper, and is conducive to improving the user experience.

[0199] The following describes the software architecture of the mobile phone 10 for realizing recognition of the first display element, generation of the first motion effect, and expansion of the first image.

[0200] For example, FIG8 shows a schematic diagram of a software architecture for a mobile phone 10 to realize first display element recognition and generate a first motion effect according to some embodiments of the present application.

[0201] As shown in FIG8 , the mobile phone 10 may include an image content understanding module 11 , and the server 20 may include a motion effect generation module 21 .

[0202] The image content understanding module 11 may include at least one pre-trained content understanding model for identifying display elements in the input image. The image content understanding module 11 may then display the display elements obtained by the content understanding model on the user interface of the mobile phone 10, and determine the display element selected by the user as the first display element. The mobile phone 10 may then send the folded wallpaper and / or unfolded wallpaper, the first display element (which may be the first display element itself, the identifier of the first display element, or the text description of the first display element) to the motion effect generation module 21 in the server 20.

[0203] In some embodiments, the content understanding model can be a segment anything model (SAM) or other image segmentation / recognition models or networks, such as U-Net (an image recognition model), Mask region-based convolutional neural network (Mask R-CNN), fully convolutional network (FCN), SegNet (an image segmentation model based on convolutional neural network), DeepLab v3+ (an image segmentation model based on atrous spatial pyramid pooling (ASPP) and dilated convolution), pyramid scene parsing network (PSPNet), ENet (an image segmentation network), etc.

[0204] The motion effect generation module 21 is used to generate a first motion effect corresponding to the first display element based on the folded wallpaper and / or expanded wallpaper and the first display element sent by the mobile phone 10, and send the first motion effect to the mobile phone 10. In some embodiments, the first motion effect generated by the motion effect generation module 21 for each first display element can be an independent first motion effect, or a motion effect that combines the first motion effects corresponding to multiple first display elements, or a motion effect that combines the first motion effects corresponding to the folded wallpaper, the expanded wallpaper, and each first display element.

[0205] The motion effect generation module 21 may also be configured to generate the aforementioned switching animation including the first motion effect of the first display element based on the folded wallpaper and / or expanded wallpaper and the first display element sent by the mobile phone 10 , and send the switching animation to the mobile phone 10 .

[0206] In some embodiments, the first motion effect may be in the form of a dynamic image, an animation file, a video file, a configuration parameter, etc.

[0207] In some embodiments, the motion effect generation module 21 may include a motion effect generation model for generating motion effects, such as a large model (e.g., a Pangu large model or other large models). The motion effect generation module 21 may use the large model to encode the first display elements, text descriptions of the first display elements, etc., and generate first motion effects corresponding to the first display elements.

[0208] In some embodiments, the motion effect generation module 21 may also be deployed in the mobile phone 10 , which is not limited here.

[0209] For example, FIG9 shows a schematic diagram of a software architecture for implementing the image expansion function of a mobile phone 10 according to some embodiments of the present application.

[0210] As shown in FIG9 , the mobile phone 10 may include a core area identification module 12 and an image expansion range selection module 13 , and the server 20 may include an image expansion module 22 .

[0211] The core area identification module 12 is used to identify the core area of ​​the input first image, such as the area containing a subject such as a person or animal. The image expansion range selection module 13 is used to obtain the user-selected image expansion range for expanding the first image. After determining the core area of ​​the first image and the user-selected image expansion range, the mobile phone 10 can send the first image, the core area, and the image expansion range to the image expansion module 22.

[0212] After receiving the first image, the core area and the expanded image range, the image expansion module 22 can generate the content within the expanded image range based on the content in the core area of ​​the first image and the first image, obtain a second image, and send the second image to the mobile phone 10.

[0213] In some implementations, the image expansion module 22 may include a pre-trained image expansion model, which can understand the content of the input image, generate prompt words, and then generate the image content within the input image expansion range.

[0214] In some embodiments, the image expansion module 22 may also be deployed in the mobile phone 10, which is not limited here.

[0215] It should be understood that the software architecture of the mobile phone 10 shown in Figure 9 for implementing the image expansion function is only an example. In other embodiments, the above software architecture may include more or fewer modules, or some modules may be merged or split, and the deployment locations of each module may be adjusted, which is not limited here.

[0216] An embodiment of the present application provides a program product. When the program product is executed on an electronic device, the electronic device can implement the wallpaper display method provided by the aforementioned embodiments.

[0217] An embodiment of the present application further provides a readable storage medium, in which one or more programs / instructions are stored. When the one or more programs / instructions are executed by an electronic device, the electronic device implements the wallpaper display method provided by the aforementioned embodiments.

[0218] Furthermore, FIG10 shows a schematic structural diagram of a mobile phone 10 according to some embodiments of the present application.

[0219] As shown in Figure 10, the mobile phone 10 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

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

[0221] Processor 110 may also be provided with a memory for storing one or more programs and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store one or more programs or data that have just been used or are being recycled by processor 110. When processor 110 needs to use one or more programs or data again, it can directly call them from the memory. This avoids repeated accesses, reduces the waiting time of processor 110, and thus improves system efficiency.

[0222] In some embodiments, the processor 110 may be configured to execute one or more programs / instructions corresponding to the wallpaper display methods provided in the aforementioned embodiments.

[0223] The charging management module 140 is configured to receive charging input from a charger. While charging the battery 142 , the charging management module 140 can also provide power to the electronic device through the power management module 141 .

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

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

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

[0227] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied on the mobile phone 10. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

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

[0229] Mobile phone 10 implements display functionality through a GPU, display screen 194, and an application processor. The GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0230] The display screen 194 is used to display images.

[0231] The camera 193 is used to capture still images or videos.

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

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

[0234] The mobile phone 10 can implement audio functions, such as music playback, through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0235] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals.

[0236] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.

[0237] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.

[0238] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.

[0239] The headphone jack 170D is used to connect a wired headphone.

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

[0241] The air pressure sensor 180C can be used to detect the air pressure at the location where the mobile phone 10 is located.

[0242] Accelerometer 180E can detect the magnitude of acceleration of the phone 10 in all directions (generally three axes). When the phone 10 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.

[0243] Ambient light sensor 180L is used to sense ambient light brightness. Mobile phone 10 can adaptively adjust the brightness of display screen 194 based on the perceived ambient light. Ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 180L can also work with proximity light sensor 180G to detect whether mobile phone 10 is in a pocket to prevent accidental touches.

[0244] Fingerprint sensor 180H is used to collect fingerprints. Mobile phone 10 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc.

[0245] The touch sensor 180K is also referred to as a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also referred to as a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the mobile phone 10, in a location different from that of the display screen 194.

[0246] Keys 190 include a power button, a volume button, and the like. Keys 190 may be mechanical keys or touch-sensitive keys. Mobile phone 10 may receive key inputs and generate key signal inputs related to user settings and function control of mobile phone 10.

[0247] The motor 191 can generate a vibration prompt. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, notifications, etc.

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

[0249] It should be understood that the structure of the mobile phone 10 shown in the embodiment of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or some components may be combined or separated, or the components may be arranged differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0250] In the accompanying drawings, some structural or method features may be shown in a particular arrangement and / or order. However, it should be understood that such a particular arrangement and / or order may not be required. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of a structural or method feature in a particular figure does not imply that such feature is required in all embodiments, and in some embodiments, such features may not be included or may be combined with other features.

[0251] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a" do not exclude the presence of other identical elements in the process, method, article or device that includes the elements.

Claims

1. A wallpaper display method, applied to a foldable electronic device, characterized in that The method includes: The foldable electronic device is in a folded state and displays a first wallpaper. During the process of the foldable electronic device being opened from the folded state to the unfolded state, a first animation is displayed, where the first animation includes a first dynamic effect corresponding to a first display element, and the first dynamic effect is generated based on the first display element in the first wallpaper and / or the second wallpaper during the configuration of the first wallpaper and the second wallpaper, and The display progress of the first animation is associated with the folding angle during the opening process of the foldable electronic device. The foldable electronic device is opened to the unfolded state and the second wallpaper is displayed.

2. The method according to claim 1, wherein The first wallpaper and the second wallpaper are obtained based on a first image.

3. The method according to claim 2, wherein The first wallpaper is obtained based on a first image area of the first image, and the second wallpaper is obtained based on a second image area of the first image.

4. The method according to claim 2, wherein The first wallpaper is obtained based on a first image area of a second image, and the second wallpaper is obtained based on a second image area of the second image, where the second image is an enlarged image of the first image.

5. The method according to claim 2, characterized in that, The first wallpaper is obtained based on a first image area of the first image, and the second wallpaper is obtained based on a second image area of a second image, where the second image is an enlarged image of the first image.

6. The method according to claim 4 or 5, characterized in that, The second image is an enlarged image of the first image based on the subject in the first image.

7. The method according to claim 6, characterized in that, The process of enlarging the first image includes: Enlarging the second image based on the subject in the first image to obtain a plurality of enlarged images; Using the enlarged image selected by the user from the plurality of enlarged images as the second image.

8. The method according to any one of claims 3 to 7, characterized in that The first dynamic effect includes multiple frames of images in which the first display element switches from a first display state to a second display state.

9. The method according to claim 8, characterized in that The display state includes at least one of the following states: shape, size, position, rotation angle, occlusion relationship with other display elements, and whether to display.

10. The method according to claim 8 or 9, characterized in that The generation process of the first dynamic effect includes: Adjusting the display state of the first display element in the first image area and / or the second image area so that the first display element has the first display state in the first wallpaper and the second display state in the second wallpaper; Generating the first dynamic effect in which the first display element switches from the first display state to the second display state; And, the first wallpaper is the corresponding image after adjusting the display state of the first display element in the first image area, and / or, the second wallpaper is the corresponding image after adjusting the display state of the first display element in the second image area.

11. The method according to claim 8 or 9, characterized in that, The first display element has the first display state in the first image area and the second display state in the second image area; And, the generation process of the first dynamic effect includes: Generating the first dynamic effect in which the first display element switches from the first display state to the second display state; Moreover, the first wallpaper is the image corresponding to the first image area, and the second wallpaper is the image corresponding to the second image area.

12. The method according to any one of claims 1 to 11, characterized in that, The first wallpaper and the second wallpaper have a third image area with the same content.

13. The method according to claim 12, characterized in that, The first animation further includes a second animation effect for moving the first wallpaper. After moving the first wallpaper, the position of the third image area in the first wallpaper is the same as the position of the third image area when the foldable electronic device displays the second wallpaper.

14. The method according to claim 12 or 13, characterized in that, The first animation further includes a third animation effect for extending and displaying, outward from the third image area, the image content in the second wallpaper other than the third image area.

15. An electronic device, characterized in that, Comprising: a memory for storing one or more programs; a processor for executing the one or more programs to enable the electronic device to implement the wallpaper display method according to any one of claims 1 to 14.

16. A readable storage medium, characterized in that, The readable storage medium includes one or more programs, which, when executed on an electronic device, enable the electronic device to implement the wallpaper display method according to any one of claims 1 to 14.

17. A program product, characterized in that, When the program product runs on an electronic device, it enables the electronic device to implement the wallpaper display method according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Wallpaper display method, readable storage medium, program product and electronic equipment

    CN120233975A

  • Determining method for interface display contents and mobile terminal

    CN106371700A

  • Wallpaper display method and device, equipment, storage medium and program product

    CN115543159A

  • Display method and device of terminal equipment with folding screen and electronic equipment

    CN115866127A

  • Dynamic wallpaper display method and related equipment

    CN116414328A