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

By displaying animations during the state changes of foldable electronic devices, the problem of wallpaper jump is solved and a smoother user experience is achieved.

CN120233975APending Publication Date: 2025-07-01HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311871273.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

When a foldable electronic device switches from an expanded state to a folded state or vice versa, the jump of the wallpaper affects the user experience.

Method used

By displaying the first wallpaper when the foldable electronic device is in the folded state, and displaying the first animation during the process of opening from the folded state to the expanded state. The first animation includes a first animation effect generated based on the first display element in the first wallpaper and/or the second wallpaper, and the display progress of the animation is associated with the collapse angle during the device opening.

Benefits of technology

It realizes a smooth transition of wallpaper in the process of state changes, reduces picture jumps, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120233975A_ABST
    Figure CN120233975A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of terminals, and discloses a wallpaper display method, a readable storage medium, a program product and electronic equipment. According to the method, after the electronic equipment configures folded-state wallpaper and unfolded-state wallpaper according to user operation, at least one first display element in the folded-state wallpaper or the unfolded-state wallpaper can be determined, and a switching animation for switching the folded-state wallpaper to the unfolded-state wallpaper is generated, the switching animation comprises a first dynamic effect that each first display element is gradually switched from the first display state to the second display state. In the process that the electronic equipment changes from the folded state, the switching animation can be played based on the folding angle of the flexible screen of the electronic equipment. In this way, picture jumping in the process that the folding state of the flexible screen of the electronic equipment is changed can be avoided, and the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of terminals, and in particular, to a wallpaper display method, a readable storage medium, a program product, and an electronic device. Background Art

[0002] With the development of flexible screen technology, foldable electronic devices equipped with flexible screens are becoming more and more widely used. When the foldable electronic device is in the unfolded state (for example, the flexible screen of the foldable electronic device is in the unfolded state), the foldable electronic device displays a picture through the entire area of the flexible screen; while when the foldable electronic device is in the folded state (for example, the flexible screen of the foldable electronic device is in the folded state), the foldable electronic device displays a picture through a partial area of the flexible screen. That is to say, the size of the screen area used for displaying pictures by the foldable electronic device is different in the unfolded state and the folded state.

[0003] In some cases, the wallpapers in the unfolded state and the folded state of the foldable electronic device are respectively the content of different regions of the same image, or the content of different images. Thus, during the process of the foldable electronic device switching from the unfolded state to the folded state, or from the folded state to the unfolded state, the wallpaper displayed by the foldable electronic device will jump, affecting the user experience. Summary of the Invention

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

[0005] In a first aspect, this application provides a wallpaper display method, which is applied to a foldable electronic device. The method includes: when the foldable electronic device is in the folded state, display a first wallpaper; during the process of the foldable electronic device being opened from the folded state to the unfolded state, display a first animation, where the first animation includes a first animation effect corresponding to a first display element, the first animation 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 during the opening process of the foldable electronic device; when the foldable electronic device is opened to the unfolded state, display a second wallpaper.

[0006] In this method, the first animation displayed by the foldable electronic device during the process of unfolding from the folded state includes a first dynamic effect generated based on the first display element in the folded state wallpaper (the first wallpaper) and / or the unfolded state wallpaper (the second wallpaper) set by the user. In this way, a screen jump can be avoided during the switching process between the folded state wallpaper and the unfolded state wallpaper. Moreover, the first dynamic 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 beneficial to improving the diversity of the first dynamic effect / the first animation and enhancing the user experience.

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

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

[0009] In a possible implementation of the above first aspect, 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.

[0010] In a possible implementation of the above first aspect, 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 version of the first image.

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

[0012] In a possible implementation of the above first aspect, 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 version of the first image.

[0013] In this embodiment, if the size of the first image used when the user sets the wallpaper is too small, the foldable electronic device can also enlarge the first image into a second image with more sizes and more content, and set the first wallpaper based on at least part of the image area (the first image area) in the second image, and set the second wallpaper based on at least part of the image area (the second image area) in the second image. In this way, even if the size of the first image selected by the user is small, it is possible to make the unfolded wallpaper have a larger picture space, which is beneficial to increasing the range of options available to the user when setting the wallpaper, and avoiding stretching or black borders in the unfolded wallpaper or the folded wallpaper due to the small size of the first image.

[0014] In a possible implementation of the first aspect above, the second image is obtained by enlarging the first image based on the main body in the first image.

[0015] In this way, the foldable electronic device enlarges the first image based on the main body (the automatically recognized main body or the main body selected by the user) in the first image, which can make the enlarged second image closer to the user's needs.

[0016] In a possible implementation of the first aspect above, the process of enlarging the first image includes: enlarging the first image based on the main body in the first image to obtain a plurality of enlarged images; and using the enlarged image selected by the user from the plurality of enlarged images as the second image.

[0017] In this way, the foldable electronic device can generate a plurality of enlargement results, so that the user can select the second image they need from the plurality of enlargement results, which is beneficial to improving the user experience.

[0018] In a possible implementation of the first aspect above, the first dynamic effect includes multiple frames of images in which the first display element switches from the first display state to the second display state.

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

[0020] In a possible implementation of the first aspect above, 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.

[0021] In this implementation manner, during or after generating the first dynamic effect, the foldable electronic device may 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 states of the first display element in the first wallpaper and the second wallpaper match the first dynamic effect. In this way, it is possible to avoid screen jumps during the switching process between the first wallpaper (or the second wallpaper) and the first dynamic effect.

[0022] In a possible implementation of the foregoing first aspect, 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 process of generating the first dynamic effect includes: generating a 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 image corresponding to the first image area; the second wallpaper is the image corresponding to the second image area.

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

[0024] In this implementation manner, the first wallpaper and the second wallpaper have a third image area with the same content. That is, if the first wallpaper and the second wallpaper are from the same image (such as the foregoing first image or second image), 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.

[0025] In a possible implementation of the foregoing first aspect, the first animation further includes a second dynamic effect of moving the first wallpaper, where, 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.

[0026] In this implementation manner, if the position of the third image area in the display screen when the first wallpaper is displayed is different from the position of the third image area in the display screen when the second wallpaper is displayed, the foldable electronic device may also display the foregoing second dynamic effect. In this way, it is possible to avoid screen jumps caused by the different positions of the third image area in the display screen when the first wallpaper and the second wallpaper are displayed.

[0027] In a possible implementation of the foregoing first aspect, the first animation further includes a third dynamic effect of extending outward from the third image area to display the image content in the second wallpaper other than the third image area.

[0028] In this implementation, if the second dynamic effect is displayed, the foldable electronic device may further display a third dynamic effect after displaying the second dynamic effect, so that the content in the second wallpaper except for the third image area gradually extends outward from the third image area for display. In this way, it is possible to avoid a sudden change in the screen when directly displaying the second wallpaper.

[0029] In a possible implementation of the foregoing 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.

[0030] In a possible implementation of the foregoing first aspect, 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; using the display element selected by the user from the at least one display element as the first display element.

[0031] In a possible implementation of the foregoing first aspect, the first dynamic effect is obtained based on the second model.

[0032] In a possible implementation of the foregoing first aspect, the foldable electronic device includes a flexible screen, and the flexible screen folds or unfolds synchronously with the folding or unfolding of the foldable electronic device. The folding angle of the foldable electronic device may be the folding angle of the flexible screen.

[0033] In a second aspect, an embodiment of the present application provides a wallpaper display method applied to a foldable electronic device. The method includes: when the foldable electronic device is in a folded state, displaying a first wallpaper; during the process of the foldable electronic device being opened from the folded state to the unfolded state, displaying a first animation, where the first animation includes a second dynamic 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. The display progress of the first animation is associated with the folding angle during the opening process of the foldable electronic device; when the foldable electronic device is opened to the unfolded state, displaying the second wallpaper.

[0034] In this method, if the position of the third image area in the flexible screen when displaying the first wallpaper is different from the position of the third image area in the display screen when displaying the second wallpaper, the foldable electronic device may further display the foregoing second dynamic effect. In this way, it is possible to avoid a sudden change in the screen due to the different positions of the third image area in the display screen when displaying the first wallpaper and the second wallpaper.

[0035] In a possible implementation of the second aspect described above, the first animation further includes a third animation effect in which the image content of the second wallpaper except for the third image area is displayed extending outward from the third image area.

[0036] In this implementation, if the second animation effect is displayed, the foldable electronic device may further display the third animation effect after displaying the second animation effect, so that the content of the second wallpaper except for the third image area gradually extends outward from the third image area. In this way, it is possible to avoid a sudden change in the screen when directly displaying the second wallpaper.

[0037] In a possible implementation of the second aspect described above, the first animation further includes a first animation effect corresponding to the first display element, and the first animation 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.

[0038] In this method, the first animation displayed by the foldable electronic device during the process of opening from the folded state to the unfolded state includes a first animation effect generated based on the first display element in the folded-state wallpaper (the first wallpaper) and the unfolded-state wallpaper (the second wallpaper) during the process of the user setting the folded-state wallpaper and the unfolded-state wallpaper. In this way, it is possible to avoid a sudden change in the screen during the switching process between the folded-state wallpaper and the unfolded-state wallpaper. Moreover, the first animation 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 beneficial to improving the diversity of the first animation effect / the first animation and enhancing the user experience.

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

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

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

[0042] In a possible implementation of the second aspect described above, the first wallpaper is obtained based on the first image area of the second image, and the second wallpaper is obtained based on the second image area of the second image, where the second image is an enlarged image of the first image.

[0043] In this embodiment, if the size of the first image used by the user to set the wallpaper is too small, the foldable electronic device can also enlarge the first image into a second image with more sizes and more content, and set the first wallpaper based on at least a part of the image area (the first image area) in the first image, and set the second wallpaper based on at least a part of the image area (the second image area) in the second image. In this way, even if the size of the first image selected by the user is small, it is possible to make the unfolded state wallpaper have a larger picture space, which is beneficial to expanding the range of options available to the user when setting the wallpaper, and avoiding stretching or black edges in the unfolded state wallpaper or the folded state wallpaper due to the small size of the first image.

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

[0045] In this embodiment, if the size of the first image used by the user to set the wallpaper is too small, the foldable electronic device can also enlarge the first image into a second image with more sizes and more content, and set the first wallpaper based on at least a part of the image area (the first image area) in the second image, and set the second wallpaper based on at least a part of the image area (the second image area) in the second image. In this way, even if the size of the first image selected by the user is small, it is possible to make the unfolded state wallpaper have a larger picture space, which is beneficial to expanding the range of options available to the user when setting the wallpaper, and avoiding stretching or black edges in the unfolded state wallpaper or the folded state wallpaper due to the small size of the first image.

[0046] In a possible implementation of the second aspect above, the second image is obtained by enlarging the first image based on the main body in the first image.

[0047] In this way, the foldable electronic device enlarges the first image based on the main body in the first image (the automatically recognized main body or the main body selected by the user), which can make the enlarged second image more in line with the user's needs.

[0048] In a possible implementation of the second aspect above, the process of enlarging the first image includes: enlarging the first image based on the main body in the first image to obtain multiple enlarged images; using the enlarged image selected by the user from the multiple enlarged images as the second image.

[0049] In this way, the foldable electronic device can generate multiple enlarged results, so that the user can select the second image they need from the multiple enlarged results, which is beneficial to improving the user experience.

[0050] In a possible implementation of the second aspect described above, the first dynamic effect includes multiple frames of images in which a first display element switches from a first display state to a second display state.

[0051] In a possible implementation of the second aspect described 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 be displayed.

[0052] In a possible implementation of the second aspect described above, 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 a first display state in the first wallpaper and a second display state in the second wallpaper; generating a 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.

[0053] In this implementation manner, during or after generating the first dynamic 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 states of the first display element in the first wallpaper and the second wallpaper match the first dynamic effect. In this way, it is possible to avoid screen jumps during the switching process between the first wallpaper (or the second wallpaper) and the first dynamic effect.

[0054] In a possible implementation of the second aspect described 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 dynamic effect includes: generating a 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 image corresponding to the first image area; the second wallpaper is the image corresponding to the second image area.

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

[0056] In this implementation manner, the first wallpaper and the second wallpaper have a third image area with the same content. That is, if the first wallpaper and the second wallpaper are from the same image (such as the aforementioned first image or second image), 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.

[0057] In a third aspect, the present application provides an electronic device, which includes: a memory for storing one or more programs; and a processor for executing the one or more programs to enable the electronic device to implement the wallpaper display method provided in the first aspect and any possible implementation of the first aspect, the second aspect and any possible implementation of the second aspect above.

[0058] 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 is enabled to implement the wallpaper display method provided in the first aspect and any possible implementation of the first aspect, the second aspect and any possible implementation of the second aspect above.

[0059] In a fifth aspect, the present application provides a program product. When the program product runs on an electronic device, the electronic device is enabled to implement the wallpaper display method provided in the first aspect and any possible implementation of the first aspect, the second aspect and any possible implementation of the second aspect above.

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

[0061] Figure 1 According to some embodiments of the present application, a schematic diagram showing the state change of a folded mobile phone 10 is shown;

[0062] Figure 2A According to some embodiments of the present application, a schematic diagram showing the cropping of a wallpaper is shown;

[0063] Figure 2B According to some embodiments of the present application, a schematic diagram showing a mobile phone 10 displaying wallpaper P1A and wallpaper P2A is shown;

[0064] Figure 3A According to some embodiments of the present application, a schematic diagram showing a first dynamic effect corresponding to a moon U0 is shown;

[0065] Figure 3B According to some embodiments of the present application, a schematic diagram showing a first dynamic effect corresponding to clouds U01 and U02 is shown;

[0066] Figure 3C According to some embodiments of the present application, a schematic diagram showing a first dynamic effect corresponding to a ship U03 is shown;

[0067] Figure 3D According to some embodiments of the present application, a schematic diagram showing a mobile phone 10 displaying a switching animation when the moon U0 is used as a first display element is shown;

[0068] Figure 3E According to some embodiments of the present application, a schematic diagram of the mobile phone 10 displaying a switching animation when the cloud U01 and cloud U02 are used as the first display elements is shown;

[0069] Figure 3F According to some embodiments of the present application, a schematic diagram of the mobile phone 10 displaying a switching animation when the boat U03 is used as the first display element is shown;

[0070] Figure 4A According to some embodiments of the present application, a schematic diagram of the gallery interface U1 displayed on the mobile phone 10 is shown;

[0071] Figure 4B According to some embodiments of the present application, a schematic diagram of the mobile phone 10 displaying the folded state wallpaper interface U2 is shown;

[0072] Figure 4C According to some embodiments of the present application, a schematic diagram of the mobile phone 10 displaying the unfolded state wallpaper interface U3 is shown;

[0073] Figure 4D According to some embodiments of the present application, a schematic diagram of the mobile phone 10 displaying the select animation object interface U4 is shown;

[0074] Figure 4E According to some embodiments of the present application, a schematic diagram of the mobile phone 10 adjusting the folded state wallpaper P3A is shown;

[0075] Figure 4F According to some embodiments of the present application, a schematic diagram of the mobile phone 10 adjusting the unfolded state wallpaper P3B is shown;

[0076] Figure 5 According to some embodiments of the present application, a schematic diagram of the mobile phone 10 displaying a switching animation when the vine U41, kettle U42, squirrel U43, and bird U44 are used as the first display elements is shown;

[0077] Figure 6A According to some embodiments of the present application, a schematic diagram of the gallery interface U5 displayed on the mobile phone 10 is shown;

[0078] Figure 6B According to some embodiments of the present application, a schematic diagram of the mobile phone 10 displaying the enlarged picture interface U6 is shown;

[0079] Figure 6C According to some embodiments of the present application, a schematic diagram of the mobile phone 10 displaying the set enlarged picture range interface U7 is shown;

[0080] Figure 6DAccording to some embodiments of the present application, a schematic diagram of a collapsible wallpaper interface U8 displayed on a mobile phone 10 is shown;

[0081] Figure 6E According to some embodiments of the present application, a schematic diagram of a mobile phone 10 determining area CD1 as the core area is shown;

[0082] Figure 6F According to some embodiments of the present application, a schematic diagram of a mobile phone 10 determining area CD2 as the core area is shown;

[0083] Figure 6G According to some embodiments of the present application, a schematic diagram of a mobile phone 10 determining area CD3 as the core area is shown;

[0084] Figure 6H According to some embodiments of the present application, a schematic diagram of a mobile phone 10 adjusting the core area is shown;

[0085] Figure 7 According to some embodiments of the present application, a schematic diagram of the process of a wallpaper display method is shown;

[0086] Figure 8 According to some embodiments of the present application, a schematic diagram of the software architecture of a mobile phone 10 for realizing the recognition of the first display element and generating the first dynamic effect is shown;

[0087] Figure 9 According to some embodiments of the present application, a schematic diagram of the software architecture of a mobile phone 10 for realizing the function of expanding the picture is shown;

[0088] Figure 10 According to some embodiments of the present application, a schematic diagram of the structure of a mobile phone 10 is shown. Detailed implementation manners

[0089] The 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.

[0090] It should be understood that the wallpaper display method provided by the embodiments of the present application can be applied to any display screen foldable electronic device, including but not limited to foldable mobile phones, foldable TVs, foldable computers, foldable displays, etc. For the convenience of description, the following foldable electronic device is taken as an example of a mobile phone 10 to introduce the technical solutions of the present application.

[0091] Exemplarily, Figure 1 According to some embodiments of the present application, a schematic diagram of the state change of a mobile phone 10 during folding is shown.

[0092] As Figure 1As shown, the mobile phone 10 includes a flexible screen 11, and the flexible screen 11 can be folded along the folding axis M-M (the axis M-M is parallel to the Y direction). When the mobile phone 10 is in the unfolded state (also referred to as the unfolded status), the mobile phone 10 displays a picture through the entire display area of the flexible screen 11 (for example, Figure 1 the display areas 11A and 11B shown below. Hereinafter, the display areas 11A and 11B will be referred to as the display area 11C). When the mobile phone 10 is in the unfolded state, the display areas 11A and 11B are in the same plane (or the angle between the display areas 11A and 11B is less than a certain angle threshold). After the display area 11B of the flexible screen 11 is folded along the folding axis M-M to the rear of the display area 11A, the mobile phone 10 is in the folded state (also referred to as the folded status) and displays a picture through the display area 11A of the flexible screen 11. It can be seen from Figure 1 that the sizes, the Y-direction dimensions, and the ratios of the X-direction dimensions of the display areas used for displaying pictures when the mobile phone 10 is in the folded state and the unfolded state are all different.

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

[0094] In some cases, when setting a wallpaper for the mobile phone 10, the mobile phone 10 can perform different-sized cropping and different-magnification scaling on the same image according to user operations (for example, the operation of the user selecting the cropping areas corresponding to the unfolded-state wallpaper and the folded-state wallpaper in the same image) to respectively obtain the wallpapers displayed by the mobile phone 10 when the mobile phone 10 is in the unfolded state and the folded state. In this way, during the process of the mobile phone 10 switching from the unfolded state to the folded state or from the folded state to the unfolded state, the wallpaper displayed by the mobile phone 10 will jump, affecting the user experience.

[0095] For example, Figure 2A According to some embodiments of the present application, a schematic diagram of cropping a wallpaper is shown.

[0096] As Figure 2AAs shown, when the user needs to set the picture P1 as the wallpaper of the mobile phone 10, after the user selects the image area D1, the mobile phone 10 can scale the image area D1 according to the size information of the display area 11C (such as the ratio of the size in the X direction to the size in the Y direction) to obtain the wallpaper P1A with the same size as the display area 11C; and after the user selects the image area D2, the mobile phone 10 can scale the image area D2 of the picture P1 according to the size information of the display area 11B (such as the ratio of the size in the X direction to the size in the Y direction) to obtain the wallpaper P1B with the same size as the display area 11A. Since the sizes of the display areas 11C and 11A in the Y direction are the same, while the size of the image area D2 in the Y direction is smaller than the size of the image area D1 in the Y direction, the mobile phone 10 needs to scale the image areas D1 and D2 at different ratios respectively during the generation of the wallpapers P1A and P1B. That is to say, the sizes of the same display elements (such as people, basketballs, basketball hoops, clouds, etc.) in the wallpapers P1A and P1B are different, and thus when the mobile phone 10 displays the wallpapers P1A and P1B, the positions of the respective display elements in the flexible screen 11 are also different.

[0097] During the process of the mobile phone 10 switching 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 (such as the angle between the plane where the back of the display area 11A is located and the plane where the back of the display area 11B is located) reaches a certain preset angle, the displayed wallpaper will be switched from the wallpaper P1A to the wallpaper P1B, or from the wallpaper P1B to the wallpaper P1A. Since the sizes and positions of the same display elements (such as people, basketballs, basketball hoops, clouds, etc.) in the wallpapers P1A and P1B are different, the display positions of the respective display elements in the flexible screen 11 are also different before and after the switch, resulting in a picture jump during the wallpaper switch.

[0098] For example, referring to Figure 2B , the mobile phone 10 displays the wallpaper P1A when the folding angle of the mobile phone 10 is less than or equal to 120° and displays the wallpaper P1B when it is greater than 120°. Moreover, when the mobile phone 10 displays the wallpaper P1A, the basketball in the wallpaper P1A is located at point A on the flexible screen 11, and the heel of the person is located at point B on the flexible screen 11. When the mobile phone 10 displays the wallpaper P1B, the basketball in the wallpaper P1B is located at point A' different from point A on the flexible screen 11, and the heel of the person is located at point B' different from point B on the flexible screen 11. Therefore, when the folding angle of the mobile phone 10 increases from 120° or decreases from other angles to 120°, the wallpaper displayed by the mobile phone 10 will be switched between the wallpapers P1A and P1B, resulting in a jump in the picture displayed on the flexible screen 11 and affecting the user experience.

[0099] 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).

[0100] 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 from the folded wallpaper to the unfolded wallpaper, wherein the switching animation includes the first animation of each first display element, wherein the playing progress of the switching animation is associated with the folding angle of the mobile phone 10 (for example, the folding angle of the flexible screen 11). In the process of opening from the folded state to the unfolded state (or folding 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 will gradually change with the change of the folding angle of the mobile phone 10. For example, the size of the first display element can gradually change from small to large or from large to small, the position of the first display element can gradually move from a certain position to another position, the rotation angle of the first display element can be rotated from one angle to another angle, and the form of the first display element can gradually change from the first form to the second form. In this way, the picture displayed by the mobile phone 10 can be gradually changed, rather than directly jumping from the unfolded state to the folded state, which is conducive to improving the user experience.

[0101] Exemplarily, 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, 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 dynamic effect of each first display element switching from the first display state to the second display state, and the first dynamic effect may include multiple frames of dynamic effect images in the process of each first display element gradually switching from the first display state to the second display state.

[0102] 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.

[0103] For example, refer to Figure 3A, based on the user's operation, the mobile phone 10 scales the image area D3 of the image P2 by a first ratio to obtain the folded state wallpaper P2A, and scales the image area D4 of the image P2 by the first ratio to obtain the unfolded state wallpaper P2B. The mobile phone 10 can use the moon U0 that exists in both the folded state wallpaper P2A and the unfolded state wallpaper P2B as the first display element. Since the display states of the moon U0 in the folded state wallpaper P2A and the unfolded state wallpaper P2B are the same (same size, same shape (both are crescent moons), same position relative to other display elements, same occlusion relationship with other display elements, same rotation angle), the mobile phone 10 can modify the shape of the moon U0 in the unfolded state wallpaper P2B from a crescent moon (as the first display state) to a full moon (as the second display state) to obtain the moon U0'. Thus, the unfolded state wallpaper P2B is adjusted to the unfolded state wallpaper P2B'. Then, the mobile phone 10 can generate a first animation effect of the moon U0 changing to the moon U0' (i.e., multiple frames of images of the moon U0 changing to the moon U0').

[0104] For another example, referring to Figure 3B , corresponding to the aforementioned folded state wallpaper P2A and unfolded state wallpaper P2B, the mobile phone 10 can also determine the clouds U01 and U02 as the first display elements. Since the display states of the clouds U01 and U02 in the folded state wallpaper P2A and the unfolded state wallpaper P2B are the same, the mobile phone 10 can adjust the cloud U01 in the unfolded state 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) to obtain the wallpaper P2B″. Then, the mobile phone 10 can generate a first animation effect of the cloud U01 moving from position A to position A' and the cloud U02 moving from position B to position B'.

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

[0106] Exemplarily, in some embodiments, if the display states of the first display elements are different in the folded wallpaper and the unfolded wallpaper (for example, the first display state in the folded wallpaper and the second display state in the unfolded wallpaper), the mobile phone 10 can directly generate a first animation effect in which each first display element switches from the first display state to the second display state (for example, multiple frame animation images during the process of each first display element switching from the first display state to the second display state).

[0107] Exemplarily, in some embodiments, even if the display states of the first display elements are different in the folded wallpaper and the unfolded wallpaper, the mobile phone 10 can also adjust the display states of the first display elements in the folded wallpaper and / or the unfolded wallpaper, which is not limited herein.

[0108] In this way, during the process of the mobile phone 10 switching 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. In this switching animation, the display states of the first display elements gradually change, so that the picture displayed on the flexible screen 11 during the state change of the folding of the mobile phone 10 does not directly switch the displayed wallpaper, but gradually changes with the playback of each first animation effect, which is beneficial to improving the user experience. For example, assuming that the animation effect of the first display element includes M frame images, and the range of the folding angle of the mobile phone 10 is from 0° to 80°, when the folding angle of the mobile phone 10 is X°, the interface displayed on the mobile phone 10 includes the X° / 180°×M frame image among the M frame images.

[0109] In some embodiments, the folded state of the mobile phone 10 may refer to the state where the display screen is completely folded. In this state, the mobile phone 10 displays a picture 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 the state where the display screen is completely unfolded. In this state, the mobile phone 10 displays a picture through the entire display area of the flexible screen.

[0110] In some embodiments, the folded wallpaper and the unfolded wallpaper have a third image area with the same content, and the size of the content in the third image area is the same in the folded wallpaper and the unfolded wallpaper (that is, the scaling ratio of the folded wallpaper relative to the first image area is the same as the scaling ratio of the unfolded wallpaper relative to the second image area). In this way, it can be ensured that there is no image scaling during the switching process between the folded wallpaper and the unfolded wallpaper, reducing the visual change of the picture felt by the user.

[0111] In some embodiments, when the mobile phone 10 displays the folded wallpaper, the third image area is displayed at the first position of the flexible screen 11, and when the mobile phone 10 displays the unfolded wallpaper, the third image area is displayed at the second position of the flexible screen 11. The switching animation may further include the animation effect of the folded wallpaper. For example, as the folding angle of the flexible screen increases, the folded wallpaper gradually moves. 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 animation effect of the folded wallpaper may be before each first animation effect, or at least part of the display time may overlap with the display time of each first animation effect.

[0112] In some embodiments, the switching animation may further include the gradual change animation effect of the unfolded wallpaper, so that the part of the unfolded wallpaper except the third image area can gradually appear. For example, the gradual change animation effect may be an animation effect in which the other image content of the unfolded wallpaper is displayed by extending outward from the aforementioned third image area. That is, the other image content of the unfolded wallpaper except the third image area can be gradually displayed on the flexible screen as the folding angle changes. In this way, the transition process between the folded wallpaper and the unfolded wallpaper can be made smoother, and the screen jump can be avoided. In some embodiments, the gradual change animation effect of the unfolded wallpaper may be after the switching animation effect of the folded wallpaper.

[0113] For example, referring to Figure 3D , for Figure 3A the folded wallpaper P2A and the unfolded wallpaper P2B' shown, the mobile phone 10 can display the folded wallpaper P2A when the flexible screen 11 is folded. During the process of the mobile phone 10 being opened 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 animation effect in which the folded wallpaper P2A moves from the position where it is displayed when the mobile phone 10 is folded to the middle position of the flexible screen 11 (after the animation effect ends, the positions of the other display elements of the folded wallpaper P2A except the first display element are the same as the positions of the corresponding display elements of the unfolded wallpaper P2B' when it is displayed). Then, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can display the first animation effect in which the moon U0 gradually changes to the moon U0' (the moon gradually changes from a crescent moon 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 in the figure gradually decreases as the folding angle increases) (as the gradual change animation effect of 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 included angle between the display area 11A and the display area 11B is less than a certain angle threshold, that is, after the mobile phone 10 is opened to the unfolded state), the mobile phone 10 can display the unfolded wallpaper P2B'.

[0114] For another example, referring to Figure 3E , for Figure 3B the folded wallpaper P2A and the unfolded wallpaper P2B″ shown, when the flexible screen 11 of the mobile phone 10 is folded, the folded wallpaper P2A can be displayed. During the process of the mobile phone 10 being opened 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 switching animation in which the folded wallpaper P2A moves from the position where it is displayed when the mobile phone 10 is folded to the middle position of the flexible screen 11 (after the animation ends, the displayed positions of the display elements of the folded wallpaper P2A except the first display element are the same as the displayed positions of the corresponding display elements of the unfolded wallpaper P2B″ when it is displayed). Then, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can display an animation in which the cloud U01 gradually moves from the aforementioned position A to the position A′ (for example, the cloud U01 can gradually move from the aforementioned position A to the position A″, and then from the position A″ to the position A′), the cloud U02 gradually moves from the aforementioned position B to the position B′ (for example, the cloud U02 can gradually move from the aforementioned position B to the position B″, and then from the position B″ to the position B′), and gradually display the area of the unfolded wallpaper P2B″ that does not overlap with the folded wallpaper P2A (the black border shown in the figure gradually decreases as the folding angle increases) (as a fade-in animation of 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 included 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 unfolded wallpaper P2B″.

[0115] For yet another example, referring to Figure 3F , for Figure 3CThe folded wallpaper P2A and the unfolded wallpaper P2B″′ shown. When the flexible screen 11 of the mobile phone 10 is folded, the folded wallpaper P2A can be displayed. During the process of the mobile phone 10 being opened 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 switching animation in which the folded wallpaper P2A moves from the position where it is displayed when the mobile phone 10 is folded to the middle position of the flexible screen 11 (after the animation ends, the positions of the display elements of the folded wallpaper P2A other than the first display element are the same as the positions of the corresponding display elements of the unfolded wallpaper P2B″′ when it is displayed). Then, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can display an animation in which the ship U03 gradually moves from the previous position C to the position C′ and gradually enlarges to the ship U03′ (for example, the ship can gradually move from the ship U03 at the previous position C to the position C″ and gradually enlarge to U03″, and then gradually move from the ship U03″ at the position C″ to the position C′ and gradually enlarge to U03′), 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 the fade-in animation of 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 included angle between the display area 11A and the display area 11B is less than a certain angle threshold, that is, after the mobile phone 10 is opened to the unfolded state), the mobile phone 10 can display the unfolded wallpaper P2B″.

[0116] In some embodiments, the first animation may include at least one of the following animations:

[0117] An animation in which the first display element switches from the first form to the second form. For example, when the first display element is the moon, the animation can be an animation in which the moon changes from a crescent moon to a full moon or from a full moon to a crescent moon as the folding angle of the mobile phone 10 changes. Another example, when the first display element is a plant (or an animal), the animation can be an animation in which the plant (or animal) gradually grows as the folding angle of the mobile phone 10 changes, or an animation in which the plant (or animal) gradually grows inversely as the folding angle of the mobile phone 10 decreases. Still another example, if the first display element is a watering can, the first form can be the form in which the watering can does not sprinkle water, and the second form can be the form in which the watering can sprinkles water. Also, for example, if the first display element is a person, the first form can be the first movement posture of the person (such as standing, jumping, lying down, running), and the second form can be the second movement posture of the person different from the first movement state.

[0118] The animation effect of the occlusion relationship change between the first display element and the second display element. For example, in the folded state wallpaper, the first display element and the second display element may have a first occlusion relationship, and in the unfolded state wallpaper, the first display element and the second display element may have a second occlusion relationship. The first animation effect may be the animation effect of the occlusion relationship between the first display element and the second display element switching from the first occlusion relationship to the second occlusion relationship (for example, the animation effect of moving at least one of the first display element and the second display element). For example, assuming that the folded state wallpaper includes a moon (as the first display element) and a cloud (as the second display element), the first animation effect may be an animation of increasing or decreasing the occlusion area of the moon by the cloud by moving the moon and / or the cloud.

[0119] The animation effect of the change in the size, position, or rotation angle of the first display element. For example, if the first display element is located at the third position in the folded state wallpaper and at the fourth position in the unfolded state wallpaper, the first animation effect may be the animation effect of the first display element moving from the third position to the fourth position, or from the fourth position to the third position. In some embodiments, the first animation effect may also be other forms of animation effects, which are not limited herein.

[0120] In some embodiments, the switching animation corresponding to the process of the mobile phone 10 being folded from the unfolded state to the folded state may be an animation opposite to the switching animation when the mobile phone 10 is opened from the folded state to the unfolded state.

[0121] Exemplarily, Figures 4A to 4F According to some embodiments of the present application, a schematic diagram of the interface displayed during the process of configuring the wallpaper of the mobile phone 10 is shown.

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

[0123] After detecting the user's operation of selecting 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 Figure 4D the shown Select Animation Object interface U4. In the Select Animation Object interface U4, the mobile phone 10 can highlight (or display in other forms) the identified display elements (such as Figure 4D the vine U41, the kettle U42, the squirrel U43, the bird U44, etc. in). The user can select the animation object (as the first display element) and the animation corresponding to the animation object by operating on each display element in the Select Animation Object interface U4. For example, after the user selects a certain display element, if the mobile phone 10 detects the user's operation of selecting the "Select Animation" control U45, it can display at least one animation supported by the display element (which 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.

[0124] Exemplarily, corresponding to the process of the mobile phone 10 opening from the folded state to the expanded state: Corresponding to the vine U41, the first animation can be the vine U41 growing from a seedling to the vine U41; corresponding to the kettle U42, the first animation can be the kettle U42 sprinkling water; corresponding to the squirrel U43 and the bird U44, the first animation can be the animation of the squirrel U43 and the bird U44 moving from the right side of the flexible screen 11 ( Figure 1 the positive X direction shown) to the left side ( Figure 1 the negative X direction shown).

[0125] Optionally, the mobile phone 10 can also adjust the display states of the display elements of the folded wallpaper and / or the unfolded wallpaper based on the display elements and the first dynamic effect selected by the user, so that the display states of the display elements in the folded wallpaper and the unfolded wallpaper match the first dynamic effect. For example, assume that the first display elements selected by the user include the vine U41, the kettle U42, the squirrel U43, and the bird U44. The vine U41 and the kettle U42 are both displayed in the folded wallpaper P3A and the unfolded wallpaper P3B and have the same size (i.e., the same display state). The mobile phone 10 can adjust the display states of the vine U41 and the kettle U42. For example, referring to Figure 4E , the mobile phone 10 can 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'; referring to Figure 4F , the mobile phone 10 adds the water droplet U48 to the unfolded wallpaper P3B to obtain the unfolded wallpaper P3B'. Since the squirrel U43 and the bird U44 are not displayed in the folded wallpaper P3A (i.e., the display state is different from that of the unfolded wallpaper), the mobile phone 10 can not adjust the display states of the squirrel U43 and the bird U44.

[0126] After detecting the operation that the user selects the "Automatically Generate Wallpaper Dynamic Effect" control on the dynamic effect object selection interface U4, the mobile phone 10 can generate a switching animation for the mobile phone 10 to open from the folded state to the unfolded state (or fold from the folded state to the unfolded state) according to the first dynamic effect selected by the user for each display element (if the user does not select, automatically generate or select a dynamic effect). The switching animation can include the first dynamic effect corresponding to each display element, and the playing progress of the switching animation is associated with the folding angle of the mobile phone 10.

[0127] Optionally, after generating the switching animation, the mobile phone 10 can also display a preview interface of the switching animation for the user to refer to.

[0128] After generating the switching animation, when the folding state of the mobile phone 10 changes, the mobile phone 10 can display the switching animation based on the folding angle of the mobile phone 10.

[0129] Exemplarily, assume that the first display elements selected by the user include the vine U41, the kettle U42, the squirrel U43, and the bird U44. Referring to Figure 5, during the process of the mobile phone 10 being unfolded from the folded state, the picture displayed on the mobile phone 10 can be an effect where the vine U41 grows continuously (the size increases continuously), the water kettle U42 sprinkles water continuously, and the squirrel U43 and the bird U44 gradually move from the positive X-axis direction to the negative X-axis direction of the flexible screen 11; during the process of the flexible screen 11 being folded from the unfolded state to the folded state, the switching animation can be an animation opposite to the above animation, that is: during the process of the flexible screen 11 being opened from the unfolded state to the folded state, the vine U41 grows reversely, the water droplets of the water kettle U42 return to the water kettle, and the squirrel U43 and the bird U44 move from the negative X-axis direction to the positive X-axis direction 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 water 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 at 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 water kettle U41 sprinkles water. Compared with the folding angle of the flexible screen 11 being 120°, the vine U41 increases in size to the vine U41″, and the distances between the squirrel U43 and the bird U44 and the right edge of the flexible screen 11 increase; when the flexible screen 11 is in the unfolded state, the flexible screen 11 displays the aforementioned wallpaper P3B'. Compared with the folding angle of the flexible screen 11 being 150°, the vine U41 increases in size, and the distances between the squirrel U43 and the bird U44 and the right edge of the flexible screen 11 increase.

[0130] Based on the above method, during the process of the folding state of the mobile phone 10 changing (for example, being unfolded from the folded state or being folded from the unfolded state), it can include a switching animation of the first dynamic effects of each first display element, making the switching of the wallpaper smoother and more natural, avoiding sudden changes in the picture, and being beneficial to improving the user experience.

[0131] In some embodiments, when the mobile phone 10 detects an operation by the user to set a wallpaper based on a first image, it can provide a function to enlarge the first image, and enlarge the first image to a second image according to the user operation (or it can also be an automatic process). And the folded state wallpaper can be obtained based on the first image area in the first image (or the second image), and the unfolded state wallpaper can be obtained based on the second image area in the second image. For example, when the mobile phone 10 detects an operation by the user to set the first image as the wallpaper, it can prompt the user to enlarge the first image when the enlargement condition is met. In some embodiments, the enlargement condition can include at least one of the following conditions:

[0132] It is detected that the resolution of the first image (or the main body in the first image) is less than the preset resolution;

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

[0134] After detecting that the user selects a folded wallpaper in the first image in a first size, the size of the first image in the X direction is smaller than the size of the unfolded wallpaper corresponding to the first size in the X direction (the ratio of the size of the flexible screen 11 in the X direction to the Y direction multiplied by the size of the first size in the Y direction). For example, assume that the ratio of the size of the flexible screen 11 in the X direction to 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 corresponding to the first size in the X direction is A×y1. If the size of the first image in the X direction is smaller than A×y1, it is determined that the condition for enlarging the image is satisfied;

[0135] Detect that the user confirms the operation of enlarging the image.

[0136] Optionally, in some other embodiments, the conditions for enlarging the image may also include more or fewer conditions, which are not limited herein.

[0137] In some embodiments, enlarging an image means 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 increases and the content increases.

[0138] Exemplarily, Figures 6A to 6D According to some embodiments of the present application, a schematic diagram of the interface displayed by the mobile phone 10 during the process of enlarging the first image is shown.

[0139] Referring to Figure 6A , when the mobile phone 10 detects that the user long-presses the image P4 (as the first image) in the gallery interface U5, an option menu U51 can be displayed, and the option menu U51 includes an option U52 of "set as wallpaper". Referring to Figure 6B , after the mobile phone 10 detects that the user selects the operation of the option U52 of "set as wallpaper", if it is determined that the condition for enlarging the image is satisfied, the image P4 can be automatically enlarged to obtain at least one enlarged result, and the obtained enlarged result is displayed in the enlarged image interface U6. The enlarged image interface U6 may include each enlarged result generated by the mobile phone 10 (an image with more image content than the image P4), a "set enlargement range" control U61, and a next-step control U62.

[0140] In some embodiments, after the mobile phone 10 detects that the user selects a certain enlarged result in the enlarged results and selects the operation of the next-step control U62, the selected enlarged result can be used as the second image to configure the wallpaper. The specific process can refer to the foregoing configuration process for the image P1, which will not be elaborated herein.

[0141] In some embodiments, after the mobile phone 10 detects that the user selects the "Set Zoom Range" control U61, it can display Figure 6C the set zoom range interface U7 as shown. The set zoom range interface U7 may include an image P4 and a crop box B3 for indicating the size of the image after zooming the image P4. The user can set the size of the image after zooming the image P4 and the zoom size in each direction by adjusting the position and size of the crop box B3 and / or the image P4. After the mobile phone 10 detects that the user selects the "Zoom" control U71, it can zoom the image P4 based on the size selected by the user, obtain one or more zoom results, and display the one or more zoom results.

[0142] In some embodiments, the mobile phone 10 can also display a zoom control on the set folded state wallpaper interface (such as the aforementioned set folded state wallpaper interface U2) and / or the set unfolded state wallpaper interface (such as the aforementioned set unfolded state wallpaper interface U3), and when detecting the user's operation on the zoom control, zoom the currently selected image. For example, referring to Figure 6D , the mobile phone 10 can display a "Zoom" control U81 in the set folded state wallpaper interface U8 for the image P4' (for example, the image P4' can be an image obtained by zooming the image P4). If the user needs to zoom the current image P4' again, the user can select the "Zoom" control U81. After the mobile phone 10 detects the user's selection operation on the "Zoom" control U81, it can zoom the image P4'.

[0143] In some implementations, during the process of zooming the first image, the mobile phone 10 can automatically identify the core area in the image (such as the area where the main body such as a person or an animal is located), and perform automatic zooming centered on the core area. For example, referring to Figure 6E , for the aforementioned image P1B, the mobile phone 10 can determine that the area CD1 where the person is located is the core area; referring to Figure 6F , for the image P5, the mobile phone 10 can identify the area CD2 where the lion is located as the core area; referring to Figure 6G For the aforementioned image P4, the mobile phone 10 can identify the area CD3 where the person is located as the core area.

[0144] In some implementations, during the process of zooming the first image, after the mobile phone 10 identifies the core area in the image (such as the area where the main body such as a person or an animal is located), it can also modify the core area in response to the user's operation and perform automatic zooming centered on the modified core area. For example, referring to Figure 6H , for Figure 6FIn the situation shown, the mobile phone 10 can adjust the core area from area CD2 to area CD2' in response to a user operation (such as a user's operation of dragging the edge of area CD2).

[0145] It should be understood that when the mobile phone 10 adjusts the range of the core area in response to a user operation, it can limit the range of the core area selected by the user within the image, avoiding the core area selected by the user from including the blank area outside the image, thereby avoiding poor image enlargement quality due to the existence of the blank area.

[0146] In some embodiments, during the process of enlarging the first image, the mobile phone 10 can, after obtaining the core area selected by the user in the image (such as the area where the main body such as a portrait or an animal is located), perform automatic image enlargement with the core area selected by the user as the center.

[0147] It should be understood that the core area is the area where the main body in the image (i.e., the main object used to indicate the theme content of the image) is located.

[0148] It should be understood that the first dynamic effect and display elements shown in the foregoing embodiments are only examples. In some other embodiments, for the same or different display elements, a first dynamic effect different from that in the above embodiments can be adopted, which is not limited herein.

[0149] Next, in combination with the foregoing Figures 1 to 6D , the technical solution of the present application will be introduced.

[0150] Exemplarily, Figure 7 According to some embodiments of the present application, a flowchart of a wallpaper display method is shown. The execution subject of this process is the mobile phone 10 (which can also be other electronic devices), as Figure 7 shown, this process includes the following steps:

[0151] S701: Detect a user operation of configuring a wallpaper based on a first image, and configure a folded-state wallpaper based on a first image area of the first image and an unfolded-state wallpaper based on a second image area of the first image according to the user operation.

[0152] For example, when the mobile phone 10 detects a user operation of configuring a wallpaper based on a first image, it can configure the first image area of the first image as a folded-state wallpaper and the second image area of the first image as an unfolded-state wallpaper based on the user operation.

[0153] In some embodiments, the user operation of configuring a wallpaper based on a first image can be an operation of the user selecting the first image on the interface of the wallpaper configuration application in the mobile phone 10 (such as the interface corresponding to the wallpaper in the settings application), or an operation of the user selecting to set the first image as the wallpaper in other applications that display the first image (such as gallery, picture, etc. applications).

[0154] In some other embodiments, the operation by which the user configures 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 partial area of the first image as the wallpaper.

[0155] Exemplarily, for Figure 4A the situation shown, the operation by which the user configures the wallpaper based on the first image may be the operation of the user long-pressing the image P3 (as the first image) and then selecting the wallpaper setting control U12. After detecting this operation, the mobile phone 10 may use the area (as the first image area) selected by the user through Figure 4B the cropping frame B1 shown in the image P3 as the folded state wallpaper, and use the area (as the second image area) selected by the user through Figure 4C the cropping frame B2 shown in the image P3 as the unfolded state wallpaper.

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

[0157] In some embodiments of the first image, when the mobile phone 10 meets the aforementioned image enlargement condition, it may enlarge the first image to a second image, 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.

[0158] For example, in some embodiments, when the mobile phone 10 detects the operation by which the user configures the wallpaper based on the second image, if it detects that the aforementioned image enlargement condition is met, it may enlarge the second image according to the user operation to obtain the first image. Specifically, reference may be made to the aforementioned Figures 6A to 6D embodiments and details are not described herein again.

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

[0160] In some embodiments, the mobile phone 10 may also send the second image and the user-selected image enlargement area to the server or other devices, so that after the server or other devices use the image enlargement model or other algorithms to enlarge the second image to obtain the first image, the first image is sent to the mobile phone 10.

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

[0162] After the mobile phone 10 configures the first image area of the first image as the folded wallpaper and the second image area of the first image as the unfolded wallpaper, it can identify the folded wallpaper or the unfolded wallpaper or the display elements in the first image that can be used to generate the first dynamic effect, and determine the display elements selected by the user from these partial display elements as the first display elements.

[0163] In some embodiments, after the mobile phone 10 identifies the display elements in the folded wallpaper or the unfolded wallpaper that can be used to generate the first dynamic effect, it can also use all the identified display elements as the first display elements, which is not limited herein.

[0164] For example, for Figures 4A to 4C the situation shown, the mobile phone 10 can identify that the vine U41, the kettle U42, the squirrel U43, and the bird U44 are display elements that can be used to generate the first dynamic effect, and based on the user's selection, use at least part of the vine U41, the kettle U42, the squirrel U43, and the bird U44 as the first display elements.

[0165] For another example, for Figure 3A the situation shown, the mobile phone 10 can use the moon U0 as the first display element; for Figure 3B the situation shown, the mobile phone 10 can use the cloud U01 and the cloud U02 as the first display elements; for Figure 3C the situation shown, the mobile phone 10 can use the boat U03 as the first display element.

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

[0167] In some embodiments, the mobile phone 10 can also send the folded wallpaper or the unfolded wallpaper or the first image to the server or other devices, and the server or other devices determine the first display elements in the folded wallpaper or the unfolded wallpaper.

[0168] In some embodiments, the first display elements can include but are not limited to animals, plants, transportation means, planets, weather elements (clouds, rain, lightning, hail, snow), utensils (such as stationery, cleaning tools, etc.), etc. In other embodiments, the first display elements can also be any other display elements, which is not limited herein.

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

[0170] After the mobile phone 10 determines the first display elements, it can generate and store a switching animation including the first dynamic effects corresponding to each first display element.

[0171] In some embodiments, the first dynamic effect may be the dynamic 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 state 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 state wallpaper to the first display state, and use the adjusted wallpaper as the folded state wallpaper; if the display state of the first display element in the unfolded state wallpaper is not the second display state, the mobile phone 10 may also adjust the display state of the first display element in the unfolded state wallpaper to the second display state, and use the adjusted wallpaper as the folded state wallpaper. In this way, the switching between the folded state wallpaper and the unfolded state wallpaper can be made smoother, the screen jump can be further reduced, which is beneficial to improving the user experience.

[0172] For example, corresponding to Figure 3A the situation shown, the mobile phone 10 may modify the shape of the moon U0 in the unfolded state wallpaper P2B from a crescent moon (as the first display state) to a full moon (as the second display state) to obtain the moon U0', thereby obtaining the unfolded state wallpaper P2B' and setting the unfolded state wallpaper P2B' as the wallpaper for the unfolded state display of the mobile phone 10. The first dynamic effect may be the first dynamic effect of the moon U0 gradually changing to the moon U0' (i.e., the dynamic effect of the moon gradually changing from a crescent moon to a full moon).

[0173] For another example, for Figure 3B the situation shown, the mobile phone 10 may adjust the cloud U01 in the unfolded state 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 unfolded state wallpaper P2B″ and setting the unfolded state wallpaper P2B″ as the wallpaper for the unfolded state display of the mobile phone 10. The first dynamic effect may be the dynamic effect of the cloud U01 moving from position A to position A' and the cloud U02 moving from position B to position B'.

[0174] For yet another example, for Figure 3C the situation shown, the mobile phone 10 may adjust the boat U03 in the unfolded state wallpaper P2B from position C to position C' and enlarge the boat U03 to the boat U03' (the boat U03 at position C can be called the first display state, and the boat U03' at position C' and enlarged can be called the second display state), thereby obtaining the unfolded state wallpaper P2B″′ and setting the unfolded state wallpaper P2B″′ as the wallpaper for the unfolded state display of the mobile phone 10. The first dynamic effect may be the dynamic effect of the boat U03 moving from position C to position C' and gradually enlarging to the boat U03'.

[0175] For still another example, for Figures 4A to 4FIn the shown scenario, the mobile phone 10 can delete the vine U41 in the folded wallpaper P3A (or replace it with an image of the seedling of the vine U41) to obtain the folded wallpaper P3A', and set the folded wallpaper P3A' as the wallpaper for the folded state display of the mobile phone 10. The first animation effect can include at least one of the following animation effects: the animation effect of the vine U41 growing from a seedling to the vine U41, the animation effect of the watering can U42 sprinkling water; the animation effect of the squirrel U43 moving from the right side of the flexible screen 11 ( Figure 1 shown in the positive X-axis direction) to the left side ( Figure 1 shown in the negative X-axis direction); the animation effect of the bird U44 moving from the right side of the flexible screen 11 ( Figure 1 shown in the positive X-axis direction) to the left side ( Figure 1 shown in the negative X-axis direction).

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

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

[0178] 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 ratio, shape, rotation angle, etc. of the first display element and time), etc., or other forms that can indicate the mobile phone 10 to display the first animation effect, which is not limited herein.

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

[0180] In some embodiments, if the overlapping area of the folded wallpaper and the unfolded wallpaper is displayed at the first position of the flexible screen 11 when the flexible screen 11 is in the folded state, and is displayed at the second position of the flexible screen 11 when the flexible screen 11 is in the unfolded state. In the switching animation generated by the mobile phone 10, a switching animation effect of the folded wallpaper can also be included, so that the overlapping area in the moved folded wallpaper is displayed at the second position of the flexible screen 11.

[0181] In some embodiments, the switching animation can also include the aforementioned fade-in animation effect of the unfolded wallpaper, that is, the animation effect of the non-overlapping area of the unfolded wallpaper gradually showing.

[0182] In some embodiments, the mobile phone 10 may generate the first dynamic effects of each first display element based on a pre-trained dynamic effect generation model and obtain a switching animation. For example, the mobile phone 10 itself may run the model to generate a switching animation including the first dynamic effects, or the mobile phone 10 may send the first display element, the switching state wallpaper, and the folded state wallpaper to other devices, and the other devices may generate a switching animation including the first dynamic effects.

[0183] In some embodiments, the mobile phone 10 may send the first display element, the switching state wallpaper, and the folded state wallpaper to other devices. After the other devices generate the first dynamic effects, they are sent to the mobile phone 10, and the folded state wallpaper switching dynamic effects (if any) and / or the unfolding state wallpaper fading dynamic effects generated by the mobile phone 10 itself.

[0184] In some embodiments, the first dynamic effects, the switching dynamic effects of the moving folded state wallpaper, and the fading dynamic effects of the unfolding state wallpaper may be stored separately or combined into the same dynamic image, video file, animation file, or the same set of configuration parameters.

[0185] In some embodiments, if there are multiple first display elements, the durations of the first dynamic effects corresponding to each first display element may be the same or different, and the playing times of the first dynamic effects corresponding to different first display elements may also be different, which are not limited herein.

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

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

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

[0189] 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 display switching animation is [A, B], then for the folding angle of the flexible screen 11 being C (A ≤ C ≤ B), the mobile phone 10 may display the image corresponding to the moment of T×C / (B - A) in the switching animation.

[0190] In some embodiments, if the overlapping area of the folded wallpaper and the unfolded wallpaper is displayed at the first position of the flexible screen 11 when the flexible screen 11 is in the folded state, and is displayed at the second position of the flexible screen 11 when the flexible screen 11 is in the unfolded state. During the process of the mobile phone 10 switching from the folded state to the unfolded state, before displaying the first dynamic effect, the mobile phone 10 can also display the dynamic effect of moving the folded wallpaper, so that the overlapping area in the moved folded wallpaper is displayed at the second position of the flexible screen 11.

[0191] In some embodiments, after displaying the dynamic effect of moving the folded wallpaper, the mobile phone 10 can also display the dynamic effect that the non-overlapping areas of the folded wallpaper and the unfolded wallpaper are gradually displayed.

[0192] For example, referring to Figure 3D , for Figure 3A the folded wallpaper P2A and the unfolded wallpaper P2B' shown, during the process of the folding angle of the flexible screen 11 of the mobile phone 10 gradually increasing, the mobile phone 10 can play the switching dynamic effect that the folded wallpaper P2A moves from the position where it is displayed when the mobile phone 10 is folded to the middle position 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 dynamic effect that the moon U0 gradually changes to the moon U0' (the moon gradually changes from the moon U0 to the moon U0″, and then gradually changes from the moon U0″ to the 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 shown 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'.

[0193] Another example, referring to Figure 3E , for Figure 3B the folded wallpaper P2A and the unfolded wallpaper P2B″ shown, during the process of the folding angle of the flexible screen 11 of the mobile phone 10 gradually increasing, the mobile phone 10 can display the switching dynamic effect that the folded wallpaper P2A moves from the position where it is displayed when the mobile phone 10 is folded to the middle position of the flexible screen 11. Then, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can display the dynamic effect that the cloud U01 gradually moves from the previous position A to the position A′ and the cloud U02 gradually moves from the previous position B to the position B′, 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). Finally, after the flexible screen 11 is fully unfolded, the mobile phone 10 can display the unfolded wallpaper P2B″′.

[0194] Another example, referring to Figure 3F , for Figure 3CThe folded wallpaper P2A and the unfolded wallpaper P2B″′ shown can play a switching animation effect on the mobile phone 10 during the process of the folding angle of the flexible screen 11 of the mobile phone 10 gradually increasing. The folded wallpaper P2A moves from the position displayed when the mobile phone 10 is folded to the middle position of the flexible screen 11. Then, as the folding angle of the flexible screen 11 gradually increases, the mobile phone 10 can display an animation effect in which the boat U03 gradually moves from the previous position C to the position C′ and gradually enlarges the boat U03′, and gradually displays 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). Finally, after the flexible screen 11 is fully unfolded, the mobile phone 10 can display the unfolded wallpaper P2B″′.

[0195] For another 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 at the same position on 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 on the mobile phone 10 can be an animation effect in which the vine U41 grows continuously (the size gets larger continuously), the kettle U42 sprinkles water continuously, and the squirrel U43 and the bird U44 gradually move from the positive X-axis direction to the negative X-axis direction of the flexible screen 11.

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

[0197] The following introduces the software architecture of the mobile phone 10 for realizing the recognition of the first display element, generating the first animation effect, and enlarging the first image.

[0198] Exemplarily, Figure 8 In some embodiments of the present application, a schematic diagram of the software architecture of the mobile phone 10 for realizing the recognition of the first display element and generating the first animation effect is shown.

[0199] As Figure 8 shown, the mobile phone 10 may include an image content understanding module 11, and the server 20 may include an animation effect generation module 21.

[0200] The image content understanding module 11 may include at least one pre-trained content understanding model for identifying display elements in the input image. Then, the image content understanding module 11 may display the display elements obtained by the content understanding model on the user interface of the mobile phone 10 and determine the first display element selected by the user. Then, the mobile phone 10 may send the folded state wallpaper and / or the unfolded state wallpaper, and 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 animation generation module 21 in the server 20.

[0201] In some embodiments, the content understanding model may 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.

[0202] The animation generation module 21 is configured to generate a first animation corresponding to the first display element according to the folded state wallpaper and / or the unfolded state wallpaper, and the first display element sent by the mobile phone 10, and send the first animation to the mobile phone 10. In some embodiments, the first animations of the respective first display elements generated by the animation generation module 21 may be independent first animations, or animations synthesized by combining the first animations corresponding to multiple first display elements, or animations synthesized by combining the folded state wallpaper, the unfolded state wallpaper, and the first animations corresponding to each first display element.

[0203] The animation generation module 21 may also be configured to generate the aforementioned switching animation including the first animation of the first display element according to the folded state wallpaper and / or the unfolded state wallpaper, and the first display element sent by the mobile phone 10. And send the switching animation to the mobile phone 10.

[0204] In some embodiments, the existence form of the first animation may be a dynamic image, an animation file, a video file, configuration parameters, etc.

[0205] In some embodiments, the animation generation module 21 may include an animation generation model for generating animations, such as a large model (e.g., Pangu large model or other large models), etc. The animation generation module 21 may use the large model to encode the first display element, the text description of the first display element, etc. and generate the first animation corresponding to each first display element.

[0206] In some embodiments, the animation generation module 21 may also be deployed in the mobile phone 10, which is not limited herein.

[0207] Exemplarily, Figure 9 According to some embodiments of the present application, a schematic software architecture diagram of a mobile phone 10 implementing an image zoom-in function is shown.

[0208] As Figure 9 shown, the mobile phone 10 may include a core area recognition module 12 and an image zoom-in range selection module 13, and the server 20 may include an image zoom-in module 22.

[0209] The core area recognition module 12 is used to recognize the core area in the input first image, such as the area where the main body such as a person or an animal is located; the image zoom-in range selection module 13 is used to obtain the image zoom-in range selected by the user for the first image. After the mobile phone 10 determines the core area in the first image and the image zoom-in range selected by the user, it may send the first image, the core area, and the image zoom-in range to the image zoom-in module 22.

[0210] After receiving the first image, the core area, and the image zoom-in range, the image zoom-in module 22 may generate the content within the image zoom-in 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.

[0211] In some implementations, the image zoom-in module 22 may include a pre-trained image zoom-in model, which can perform content understanding and prompt generation on the input image, and then generate the image content within the input image zoom-in range.

[0212] In some embodiments, the image zoom-in module 22 may also be deployed in the mobile phone 10, which is not limited herein.

[0213] It should be understood that Figure 9 the software architecture of the mobile phone 10 implementing the image zoom-in function shown is only an example. In other embodiments, the above software architecture may include more or fewer modules, may also combine or split some modules, and may also adjust the positions where each module is deployed, which is not limited herein.

[0214] 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 in the foregoing embodiments.

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

[0216] Furthermore, Figure 10 According to some embodiments of the present application, a schematic structural diagram of a mobile phone 10 is shown.

[0217] As Figure 10 shown, the mobile phone 10 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric 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.

[0218] Processor 110 may include one or more processing units. For example, 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 in one or more processors.

[0219] A memory may also be provided in processor 110 for storing one or more programs and data. In some embodiments, the memory in processor 110 is a cache memory. This memory may save one or more programs or data that processor 110 has just used or recycled. When processor 110 needs to use the 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 the efficiency of the system.

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

[0221] The charging management module 140 is used to receive a charging input from a charger. While charging the battery 142, the charging management module 140 may also supply power to the electronic device through the power management module 141.

[0222] 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 inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, the wireless communication module 160, etc.

[0223] The wireless communication function of the mobile phone 10 may 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, etc.

[0224] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.

[0225] The mobile communication module 150 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the mobile phone 10. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter, amplify, and perform other processing on the received electromagnetic waves, and then 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 through the antenna 1 and radiate it out. In some embodiments, at least some functional modules of the mobile communication module 150 can be provided in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 can be provided in the same device.

[0226] The wireless communication module 160 can provide solutions for wireless communications such as wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), global navigation satellite system (GNSS), near field communication (NFC), infrared technology (IR), etc. applied to the mobile phone 10. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves through the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signals to be sent from the processor 110, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 and radiate them out.

[0227] The mobile phone 10 realizes the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

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

[0229] The camera 193 is used to capture static images or videos.

[0230] The external memory interface 120 can be used to connect an external memory card. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, the application data of an application program is saved in the external memory card.

[0231] The internal memory 121 can be used to store one or more programs and corresponding data. The internal memory 121 can include a program storage area and a data storage area. In some embodiments, the program storage area can store an operating system, application programs required for at least one function, etc., such as the programs / instructions corresponding to the wallpaper display method provided in the foregoing embodiments. The data storage area can store the data created during the use of the mobile phone 10, such as the application data of application programs, etc. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal 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 the memory provided in the processor 110.

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

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

[0234] The speaker 170A, also called a "loudspeaker", is used to convert an audio electrical signal into a sound signal.

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

[0236] The microphone 170C, also called a "microphone", "transmitter", is used to convert a sound signal into an electrical signal.

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

[0238] The pressure sensor 180A is used to sense pressure signals and can convert pressure signals into electrical signals. In some embodiments, the pressure sensor 180A can be disposed 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. The capacitive pressure sensor can include at least two parallel plates with conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The mobile phone 10 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the mobile phone 10 detects the intensity of the touch operation according to the pressure sensor 180A. The mobile phone 10 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A.

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

[0240] The acceleration sensor 180E can detect the magnitude of the acceleration of the mobile phone 10 in various directions (generally three axes). When the mobile phone 10 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0241] The ambient light sensor 180L is used to sense the ambient light brightness. The mobile phone 10 can adaptively adjust the brightness of the display screen 194 according to the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance during photography. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the mobile phone 10 is in the pocket to prevent accidental touches.

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

[0243] The touch sensor 180K, also known as a "touch control 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 known as a "touch control screen". The touch sensor 180K is used to detect touch operations acting on it or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the mobile phone 10 at a different position from the display screen 194.

[0244] The keys 190 include a power-on key, volume keys, etc. The keys 190 can be mechanical keys. They can also be touch keys. The mobile phone 10 can receive key inputs and generate key signal inputs related to the user settings and function controls of the mobile phone 10.

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

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

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

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

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

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, characterized in that, 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, 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 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, wherein The process of enlarging the first image includes: Based on the subject in the first image, the second image is enlarged to obtain a plurality of enlarged images; The enlarged image selected by the user from the plurality of enlarged images is used 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: form, 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: Adjust 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; Generate 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: Generate 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 an image corresponding to the first image area, and the second wallpaper is an 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

Cited By

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

    EP4764816A1

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

    WO2025139005A1