IP Library Granted Patent US 12,730,657
Granted Patent B2
US 12,730,657 · App. 18/576,360 · Granted Sep 8, 2026

Theme wallpaper generation method and electronic device

Inventors: Minhao Li (Shanghai, CN); Miao Wang (Shenzhen, CN); Changjian Chen (Nanjing, CN); Bo Xu (Nanjing, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F9/451G06F3/04847H04M1/72427
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,730,657
App. No.
18/576,360
Granted
Sep 8, 2026
Kind
B2
Abstract

In the method, an effect of dynamic linkage in a process of switching from an always on display screen to a lock screen interface and then to an unlock interface is presented to the user based on an image processing process customized by the user, such as detection and identification of the picture and image cropping of a target element in the picture, and different transition modes and transition animations that are set by the user and that are corresponding to the process of switching from the always on display screen to the lock screen interface and then to the unlock interface of the mobile phone, to provide smooth visual experience to the user.

Claims (89)

1 . A method, applied to an electronic device, wherein the method comprises:

determining a first display area of a target picture for generating a theme wallpaper of the electronic device, and determining an unlock interface of the electronic device based on the first display area;

detecting a target element in content of the first display area;

zooming out or zooming in, based on a first coefficient of proportionality, on the target element to determine display content of an always on display screen of the electronic device, and determining the always on display screen to include the display content;

determining a second display area based on a position of the target element in the target picture, and determining a lock screen interface based on the second display area, wherein a wallpaper of the lock screen interface comprises the target element and the target element is zoomed out or zoomed in based on a second coefficient of proportionality;

displaying the always on display screen based on the display content of the always on display screen;

receiving an unlock operation of a user, and in response to the unlock operation, performing, based on a configuration parameter corresponding to a first transition mode, switching from the always on display screen to the lock screen interface for display; and

performing, based on a configuration parameter corresponding to a second transition mode, switching from the lock screen interface to the unlock interface for display, wherein a wallpaper of the unlock interface comprises the content of the first display area.

2 . The method according to claim 1 , wherein the detecting a target element in content of the first display area comprises:

receiving a slide operation of the user in the first display area, and determining a third display area based on a start point and an end point of a sliding track corresponding to the slide operation; and

determining an element comprised in the third display area as the target element.

3 . The method according to claim 1 , wherein

the target element is fixed content set by the user;

the target element is content that repeatedly appears most frequently in one or more pictures stored on the electronic device;

the target element is content that is marked or added to favorites by the user most frequently in one or more pictures stored on the electronic device; or

the target element is content with a highest display priority in a preset element set, wherein the preset element set comprises one or more types of elements, and each type of element corresponds to a different display priority.

4 . The method according to claim 1 , wherein the zooming out or zooming in, based on the first coefficient of proportionality, on the target element-to determine display content of the always on display screen of the electronic device, and determining the always on display screen comprises:

determining a height and a width of the target element;

obtaining a first preset area on the always on display screen and a height and a width of the first preset area;

determining the first coefficient of proportionality based on a ratio of the height of the target element to the height of the first preset area when the height of the target element is greater than the width of the target element; or

determining the first coefficient of proportionality based on a ratio of the width of the target element to the width of the first preset area when the height of the target element is less than or equal to the width of the target element; and

zooming out or zooming in, based on the first coefficient of proportionality, on the target element, and displaying the target element in the first preset area on the always on display screen.

5 . The method according to claim 1 , wherein the determining the second display area based on the position of the target element in the target picture, and determining the lock screen interface based on the second display area comprises:

determining the height and the width of the target element and position information of the target element in the target picture;

determining, as the second display area based on the position information of the target element in the target picture and by using the target element as a center, an area that is in the target picture and that is at a distance within a preset range from the target element;

obtaining a second preset area on the lock screen interface, and a height and a width of the second preset area;

determining the second coefficient of proportionality based on a ratio of the height of the target element to the height of the second preset area when the height of the target element is greater than the width of the target element; or

determining the second coefficient of proportionality based on a ratio of the width of the target element to the width of the second preset area when the height of the target element is less than or equal to the width of the target element; and

determining the lock screen interface based on content of the second display area and the target element that is zoomed out or zoomed in based on the second coefficient of proportionality.

6 . The method according to claim 1 , further comprising:

displaying a first interface, wherein the first interface comprises one or more pictures; and

receiving a first operation of the user, and in response to the first operation, determining, from the one or more pictures, the target picture for generating the theme wallpaper of the electronic device.

7 . The method according to claim 1 , wherein the determining the first display area of the target picture comprises:

determining a fixed area of the target picture as the first display area; or

receiving a second operation of the user, and determining the first display area of the target picture in response to the second operation.

8 . The method according to claim 1 , wherein the first transition mode and the second transition mode are preset manners, or are manually set by the user.

9 . The method according to claim 1 , wherein the configuration parameter corresponding to the first transition mode comprises one or more of the following parameters: a parameter corresponding to a display area of the target picture, and size parameters, coordinate parameters, and position parameters of the target element at different moments in a process of switching from the always on display screen to the lock screen interface; and

the configuration parameter corresponding to the second transition mode comprises one or more of the following parameters: a parameter corresponding to the display area of the target picture, and size parameters, coordinate parameters, and position parameters of the target element at different moments in a process of switching from the lock screen interface to the unlock interface.

10 . An electronic device, comprising:

a display;

one or more processors;

one or more memories; and

a module on which a plurality of applications are installed, wherein

the memory stores one or more programs; and when the one or more programs are executed by the processor, the electronic device is enabled to perform the following steps:

determining a first display area of a target picture for generating a theme wallpaper of the electronic device, and determining an unlock interface of the electronic device based on the first display area;

detecting a target element in content of the first display area;

zooming out or zooming in, based on a first coefficient of proportionality, on the target element to determine display content of an always on display screen of the electronic device, and determining the always on display screen to include the display content;

determining a second display area based on a position of the target element in the target picture, and determining a lock screen interface based on the second display area, wherein a wallpaper of the lock screen interface comprises the target element and the target element is zoomed out or zoomed in based on a second coefficient of proportionality;

displaying the always on display screen based on the display content of the always on display screen;

receiving an unlock operation of a user, and in response to the unlock operation, performing, based on a configuration parameter corresponding to a first transition mode, switching from the always on display screen to the lock screen interface for display; and

performing, based on a configuration parameter corresponding to a second transition mode, switching from the lock screen interface to the unlock interface for display, wherein a wallpaper of the unlock interface comprises the content of the first display area.

11 . The electronic device according to claim 10 , wherein when the one or more programs are executed by the processor, the electronic device is further enabled to perform the following steps:

receiving a slide operation of the user in the first display area, and determining a third display area based on a start point and an end point of a sliding track corresponding to the slide operation; and

determining an element comprised in the third display area as the target element.

12 . The electronic device according to claim 10 , wherein

the target element is fixed content set by the user;

the target element is content that repeatedly appears most frequently in one or more pictures stored on the electronic device;

the target element is content that is marked or added to favorites by the user most frequently in one or more pictures stored on the electronic device; or

the target element is content with a highest display priority in a preset element set, wherein the preset element set comprises one or more types of elements, and each type of element corresponds to a different display priority.

13 . The electronic device according to claim 10 , wherein when the one or more programs are executed by the processor, the electronic device is further enabled to perform the following steps:

determining a height and a width of the target element;

obtaining a first preset area on the always on display screen and a height and a width of the first preset area;

determining the first coefficient of proportionality based on a ratio of the height of the target element to the height of the first preset area when the height of the target element is greater than the width of the target element; or

determining the first coefficient of proportionality based on a ratio of the width of the target element to the width of the first preset area when the height of the target element is less than or equal to the width of the target element; and

zooming out or zooming in, based on the first coefficient of proportionality, on the target element, and displaying the target element in the first preset area on the always on display screen.

14 . The electronic device according to claim 10 , wherein when the one or more programs are executed by the processor, the electronic device is further enabled to perform the following steps:

determining the height and the width of the target element and position information of the target element in the target picture;

determining, as the second display area based on the position information of the target element in the target picture and by using the target element as a center, an area that is in the target picture and that is at a distance within a preset range from the target element;

obtaining a second preset area on the lock screen interface, and a height and a width of the second preset area;

determining the second coefficient of proportionality based on a ratio of the height of the target element to the height of the second preset area when the height of the target element is greater than the width of the target element; or

determining the second coefficient of proportionality based on a ratio of the width of the target element to the width of the second preset area when the height of the target element is less than or equal to the width of the target element; and

determining the lock screen interface based on content of the second display area and the target element that is zoomed out or zoomed in based on the second coefficient of proportionality.

15 . The electronic device according to claim 10 , wherein when the one or more programs are executed by the processor, the electronic device is further enabled to perform the following steps:

displaying a first interface, wherein the first interface comprises one or more pictures; and

receiving a first operation of the user, and in response to the first operation, determining, from the one or more pictures, the target picture for generating the theme wallpaper of the electronic device.

16 . The electronic device according to claim 10 , wherein when the one or more programs are executed by the processor, the electronic device is further enabled to perform the following steps:

determining a fixed area of the target picture as the first display area; or

receiving a second operation of the user, and determining the first display area of the target picture in response to the second operation.

17 . The electronic device according to claim 10 , wherein the first transition mode and the second transition mode are preset manners, or are manually set by the user.

18 . The electronic device according to claim 10 , wherein the configuration parameter corresponding to the first transition mode comprises one or more of the following parameters: a parameter corresponding to a display area of the target picture, and size parameters, coordinate parameters, and position parameters of the target element at different moments in a process of switching from the always on display screen to the lock screen interface; and

the configuration parameter corresponding to the second transition mode comprises one or more of the following parameters: a parameter corresponding to the display area of the target picture, and size parameters, coordinate parameters, and position parameters of the target element at different moments in a process of switching from the lock screen interface to the unlock interface.

19 . A non-transitory computer-readable storage medium storing computer instructions, that when executed by one or more processors of an electronic device, cause the electronic device to perform operations of:

determining a first display area of a target picture for generating a theme wallpaper of the electronic device, and determining an unlock interface of the electronic device based on the first display area;

detecting a target element in content of the first display area;

zooming out or zooming in, based on a first coefficient of proportionality, on the target element to determine display content of an always on display screen of the electronic device, and determining the always on display screen to include the display content;

determining a second display area based on a position of the target element in the target picture, and determining a lock screen interface based on the second display area, wherein a wallpaper of the lock screen interface comprises the target element and the target element is zoomed out or zoomed in based on a second coefficient of proportionality;

displaying the always on display screen based on the display content of the always on display screen;

receiving an unlock operation of a user, and in response to the unlock operation, performing, based on a configuration parameter corresponding to a first transition mode, switching from the always on display screen to the lock screen interface for display; and

performing, based on a configuration parameter corresponding to a second transition mode, switching from the lock screen interface to the unlock interface for display, wherein a wallpaper of the unlock interface comprises the content of the first display area.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 2, 2025
From: LI, MINHAO; WANG, MIAO; CHEN, CHANGJIAN; XU, BO
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 072128/0956 →
Priority Claims (1)
CN 202110781615.2 · Jul 9, 2021 · national
Continuity (1)
Related Publication 20250004799A1 · Jan 2, 2025
References Cited (18)
US 20130038627A1 · Mujkic · 2013 [cited by examiner]
US 20130305189A1 · Kim · 2013 [cited by examiner]
US 20140132637A1 · Yang et al. · 2014 [cited by applicant]
US 20150113475A1 · Xu · 2015 [cited by examiner]
US 20180246632A1 · Tang · 2018 [cited by examiner]
US 20210105356A1 · Yu · 2021 [cited by examiner]
US 20210181923A1 · Luo · 2021 [cited by examiner]
US 20210287593A1 · Baek · 2021 [cited by examiner]
US 20220174145A1 · Wilson · 2022 [cited by examiner]
US 20230070880A1 · Chen · 2023 [cited by examiner]
US 20240069936A1 · Zhang · 2024 [cited by examiner]
US 20240184597A1 · Huang · 2024 [cited by examiner]
CN 105930083A · 2016 [cited by applicant]
CN 107317920A · 2017 [cited by applicant]
CN 107390993A · 2017 [cited by applicant]
CN 110163949A · 2019 [cited by applicant]
CN 111580904A · 2020 [cited by applicant]
CN 111857511A · 2020 [cited by applicant]