Desktop theme setting method and electronic device

WO2026179628A1PCT designated stage Publication Date: 2026-09-03HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/076771
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-02-26
Filing Date
2026-02-03
Publication Date
2026-09-03

Smart Images

  • Figure CN2026076771_03092026_PF_FP_ABST
    Figure CN2026076771_03092026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of terminals, and provides a desktop theme setting method and an electronic device. The desktop theme setting method allows for updating of a theme element in a first theme arranged according to a gravity rule, so that a user can modify the theme element, thereby improving the user experience of the effect of the first theme arranged according to the gravity rule.
Need to check novelty before this filing date? Find Prior Art

Description

A method for setting desktop themes and an electronic device

[0001] This application claims priority to Chinese Patent Application No. 202510227824.0, filed on February 26, 2025, entitled "A Desktop Theme Setting Method and Electronic Device", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of terminal technology, and in particular to a desktop theme setting method and an electronic device. Background Technology

[0003] With the continuous development of smart electronic devices, users have increasingly higher demands for the interactive effects of desktop themes. Therefore, there is an urgent need to improve the effects of desktop themes to enhance the user experience. Summary of the Invention

[0004] This application provides a desktop theme setting method and an electronic device, which improves the effect of desktop themes and enhances the user experience.

[0005] The first aspect of this application discloses a method for setting a desktop theme, the method comprising:

[0006] The electronic device displays a first theme settings interface, which includes a first theme and multiple first theme elements.

[0007] In response to a first operation on a first topic, the electronic device displays a first editing interface for the first topic.

[0008] The electronic device updates the first target theme element in the first theme in response to a second operation on the first editing interface targeting the first target theme element; wherein the first target theme element is one of a plurality of first theme elements;

[0009] The electronic device responds to a third operation on the first editing interface by applying the first theme to the electronic device's operating system;

[0010] The electronic device displays the first wallpaper of the first theme on the system interface; the first wallpaper includes updated first target theme elements, and each theme element in the first wallpaper is arranged in a preset area according to gravity rules.

[0011] In this embodiment, the desktop theme setting method can update the theme elements in the first theme arranged according to gravity rules, thereby providing users with the ability to modify theme elements and improving the user's experience of the first theme arranged according to gravity rules.

[0012] Optionally, the first editing interface includes a theme preview area and a theme editing area. The theme preview area displays the first theme, and the theme editing area includes a first element editing area, which includes at least the first control corresponding to the first target theme element.

[0013] In response to a second operation on a first target theme element on a first editing interface, the electronic device updates the first target theme element in the first theme, specifically including:

[0014] In response to a second operation on the first control, the electronic device updates the first target theme element in the first theme.

[0015] In this implementation, the operation trigger for updating the first target theme element in the first theme is provided through the displayed controls, and the first theme is displayed in the theme preview area, making the operation more convenient for users.

[0016] Optionally, in response to a second operation on the first control, the electronic device updates a first target theme element in the first theme, specifically including:

[0017] The electronic device responds to a second operation on the first control by displaying an image selection interface; the image selection interface includes images to be selected;

[0018] In response to a fourth operation on the image to be selected in the image selection interface, the electronic device displays a second editing interface for the target element; the target element is an element in the image to be selected.

[0019] The electronic device responds to a fifth operation on the second editing interface by updating the first target theme element in the first theme to a second target theme element; the second target theme element is generated based on the target element.

[0020] In this implementation, a custom image selection interface is provided, allowing users to choose their own images and further enhance their experience with the theme.

[0021] Optionally, in response to a fourth operation on the image to be selected in the image selection interface, the electronic device displays a second editing interface for the target element, specifically including:

[0022] In response to the fourth operation on the image to be selected in the image selection interface, the electronic device displays the element extraction interface of the image to be selected;

[0023] In response to the sixth operation on the element extraction interface, the electronic device displays the second editing interface for the target element.

[0024] In this implementation, in addition to providing custom image selection, elements in the images can also be extracted to further enhance the user's experience with the theme.

[0025] Optionally, the element extraction interface displays images to be selected, and the sixth operation includes a first selection operation and a first confirmation operation; in response to the sixth operation on the element extraction interface, the electronic device displays a second editing interface for the target element, specifically including:

[0026] The electronic device highlights the target element in response to the first selection operation of the target element in the image to be selected on the element extraction interface;

[0027] In response to a first confirmation operation on the element extraction interface, the electronic device displays a second editing interface for the target element.

[0028] In this implementation, in addition to providing custom image selection, users can also customize the elements in the image, further enhancing the user's experience with the theme.

[0029] Optionally, the second editing interface includes multiple border elements, and the fifth operation includes a second selection operation and a second confirmation operation;

[0030] In response to a fifth operation on the second editing interface, the electronic device updates the first target theme element in the first theme to the second target theme element, specifically including:

[0031] In response to a second selection operation on a first border element on a second editing interface, the electronic device displays a second target theme element; the second target theme element includes a target element and a first border element, wherein the first border element is one of a plurality of border elements.

[0032] In response to a second confirmation operation on the second editing interface, the electronic device returns to display the first editing interface and updates the first target theme element in the first theme to the second target theme element.

[0033] In this implementation, in addition to providing options for customizing images and elements, users can also edit the elements to further enhance their experience with the theme.

[0034] Optionally, the first theme also includes a lock screen component, and the theme editing area also includes lock screen element controls;

[0035] After the electronic device displays a first editing interface about the first topic in response to a first operation on the first topic, it also includes:

[0036] In response to the seventh operation on the lock screen element control, the electronic device sets the lock screen component as the lock screen element.

[0037] In this implementation, the lock screen component can be set as a lock screen element in the first theme, further enhancing the user's experience with the theme.

[0038] Optionally, the lock screen widgets include a time widget, a motion widget, a weather widget, and a battery widget.

[0039] Optionally, the theme editing area also includes a second element editing area, which is used to edit the second theme elements in the first theme, and the size of the second theme elements is smaller than the size of the first theme elements.

[0040] In this implementation, in addition to providing updates to the first theme element, a second theme element and the ability to edit the second theme element are also provided to enrich the theme content and further enhance the user's experience with the theme.

[0041] Optionally, the second element editing area includes an element editing bar, in which the second theme elements displayed in the first theme are shown; the second element editing area also includes second theme elements outside the element editing bar;

[0042] After the electronic device displays a first editing interface about the first topic in response to a first operation on the first topic, it also includes:

[0043] The electronic device responds to an eighth operation in the second element editing area by adding or removing at least a portion of the second theme elements in the element editing bar.

[0044] In this implementation, the ability to add or remove second theme elements is further provided, thereby enhancing the user's experience with the theme.

[0045] Optionally, the electronic device is a foldable electronic device, which includes a main screen and a secondary screen, with the first editing interface displayed on the main screen; the method further includes:

[0046] In response to a preview operation on the first editing interface, the electronic device displays the first theme on the secondary screen.

[0047] In this implementation, the ability to preview a first theme is provided for foldable electronic devices, further enhancing the user's experience with the theme.

[0048] Optionally, in response to a preview operation on the first editing interface, the electronic device displays the first theme on a secondary screen, specifically including:

[0049] The electronic device responds to the preview operation on the first editing interface, and the main screen displays the first prompt interface;

[0050] In response to a signal indicating that the electronic device is folded, the secondary screen displays the primary theme.

[0051] In this implementation, the first prompt interface provides user guidance, improves the efficiency of the preview operation, and further enhances the user's experience with the theme.

[0052] Optionally, the first prompt interface includes a second control; after the main screen displays the first prompt interface, it also includes:

[0053] In response to the ninth operation on the second control, the electronic device displays the first editing interface on the main screen.

[0054] In this implementation, the first prompt interface provides a second control to cancel the preview, giving users more options during the preview process and further enhancing the user's experience with the theme.

[0055] Optionally, after the secondary screen displays the primary theme, it also includes:

[0056] In response to the signal indicating that the electronic device has been deployed, the secondary screen exits the theme preview, and the main screen displays the first editing interface.

[0057] Optionally, the system interface is the lock screen interface, and the first wallpaper is the lock screen interface wallpaper;

[0058] After the electronic device displays the first wallpaper of the first theme on the system interface, it also includes:

[0059] In response to the physical movement of the electronic device, the theme elements in the first wallpaper move within a preset area following the direction of the physical movement.

[0060] In this embodiment, each theme element in the first wallpaper moves within a preset area following the physical movement of the electronic device, further enhancing the user's experience of the theme.

[0061] Optionally, at least two theme elements in the first wallpaper generate an elastic collision effect after they move closer to each other and their edges come into contact; and / or, the theme element generates an elastic collision effect after it comes into contact with the edge of a preset area.

[0062] In this implementation, the theme elements in the first wallpaper generate elastic collision animations, further enhancing the user's experience of the theme.

[0063] Optionally, after the electronic device displays the first wallpaper of the first theme on the system interface, it also includes:

[0064] In response to a touch operation on a selected theme element in a first wallpaper, the selected theme element generates a first motion effect within a preset area. The first motion effect includes one or more of the following: scaling motion effect, rotation motion effect, and bouncing motion effect.

[0065] In this implementation, the first wallpaper can generate various animation effects based on the user's touch operation, further enhancing the user's experience of the theme.

[0066] Optionally, after the electronic device displays the first wallpaper of the first theme on the system interface, it also includes:

[0067] In response to a first voice received by the microphone, the electronic device generates a second motion effect in a preset area for each theme element in the first wallpaper. The second motion effect includes a wind motion effect and / or an elastic collision motion effect. The first voice is a voice generated by a blowing operation on the surface of the display screen.

[0068] In this implementation, the thematic elements in the first wallpaper generate a wind-blown effect, further enhancing the user's experience of the theme.

[0069] Optionally, after the electronic device responds to a third operation on the first editing interface and applies the first theme to the operating system of the electronic device, it further includes:

[0070] After the electronic device is in its first state and enters the lock screen interface, the theme elements in the first wallpaper are in their initial preset positions;

[0071] After the electronic device is in its second posture and enters the lock screen, the theme elements in the first wallpaper begin to generate a gravity effect from their initial preset positions.

[0072] In this implementation, different animation effects are provided for entering the lock screen interface in different postures, further enhancing the user's experience of the theme.

[0073] A second aspect of this application discloses a desktop theme setting device, comprising:

[0074] The first display unit is used to display the first theme settings interface, which includes the first theme and multiple first theme elements.

[0075] The first response unit is used to respond to the first operation on the first topic and display the first editing interface about the first topic;

[0076] The second response unit is used to respond to a second operation on the first editing interface for the first target theme element and update the first target theme element in the first theme; wherein the first target theme element is one of a plurality of first theme elements;

[0077] The third response unit is used to respond to a third operation on the first editing interface and apply the first theme to the operating system of the electronic device;

[0078] The second display unit is used to display the first wallpaper of the first theme on the system interface; the first wallpaper includes multiple first theme elements of the first theme, and the multiple first theme elements include the updated first target theme elements, and each theme element in the first wallpaper is arranged in a preset area according to gravity rules.

[0079] A third aspect of this application discloses an electronic device, including one or more displays, one or more memories, and one or more processors; wherein the one or more memories store one or more programs; when the one or more processors execute one or more programs, the first electronic device implements the desktop theme setting method described above.

[0080] The fourth aspect of this application discloses a computer program product containing instructions that, when run on an electronic device, causes the electronic device to execute the aforementioned desktop theme setting method.

[0081] The fifth aspect of this application discloses a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the aforementioned desktop theme setting method.

[0082] It should be understood that the desktop theme setting device of the second aspect, the electronic device of the third aspect, the computer program product of the fourth aspect, and the computer-readable storage medium of the fifth aspect provided above correspond to the method of the first aspect above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here. Attached Figure Description

[0083] Figure 1 is a schematic diagram of an electronic device provided in an embodiment of this application;

[0084] Figure 2 is a software architecture diagram of an electronic device provided in an embodiment of this application;

[0085] Figure 3 is a flowchart of a desktop theme setting method provided in an embodiment of this application;

[0086] Figure 4 is a schematic diagram of the main screen display of the first theme settings interface of the foldable phone provided in an embodiment of this application;

[0087] Figure 5 is a schematic diagram of a first editing interface displayed on the main screen of a foldable phone according to an embodiment of this application;

[0088] Figure 6 is a flowchart illustrating a specific execution method of step S33 in Figure 5;

[0089] Figure 7 is a schematic diagram of an image selection interface displayed on the main screen of a foldable phone according to an embodiment of this application;

[0090] Figure 8 is a schematic diagram of a second editing interface displayed on the main screen of a foldable phone according to an embodiment of this application;

[0091] Figure 9 is a flowchart illustrating a specific execution method of step S333 in Figure 6;

[0092] Figure 10 is a schematic diagram of another first editing interface displayed on the main screen of a foldable phone according to an embodiment of this application;

[0093] Figure 11 is a schematic diagram of the lock screen element control in Figure 10 being displayed in the open state;

[0094] Figure 12 is a schematic diagram of an element extraction interface displayed on the main screen of a foldable phone according to an embodiment of this application;

[0095] Figure 13 is a flowchart of another desktop theme setting method provided by an embodiment of this application;

[0096] Figure 14 is a schematic diagram of another lock screen element control provided in an embodiment of this application;

[0097] Figure 15 is a flowchart of another desktop theme setting method provided by an embodiment of this application;

[0098] Figure 16 is a flowchart of another desktop theme setting method provided by an embodiment of this application;

[0099] Figure 17 is a schematic diagram of the preview operation on the first editing interface of the main screen of the foldable phone provided in an embodiment of this application;

[0100] Figure 18 is a schematic diagram of the first prompt interface displayed on the main screen of a foldable phone according to an embodiment of this application;

[0101] Figure 19 is a schematic diagram of the secondary screen preview display of a first theme of a foldable phone provided in an embodiment of this application;

[0102] Figure 20 is a schematic diagram of a foldable phone displaying a first wallpaper on its secondary screen according to an embodiment of this application;

[0103] Figure 21 is a schematic diagram of the physical motion of a foldable phone in a folded state according to an embodiment of this application;

[0104] Figure 22 is a schematic diagram of touch operation on the first wallpaper of a foldable phone provided in an embodiment of this application. Detailed Implementation

[0105] The embodiments of the present invention will now be described with reference to the accompanying drawings.

[0106] It should be noted that in this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone, where A and B can be singular or plural. The terms "first," "second," "third," "fourth," etc. (if present) in this application are used to distinguish similar objects, not to describe a specific order or sequence.

[0107] Figure 1 is a schematic diagram of an electronic device provided in an embodiment of this application. As shown in Figure 1, an electronic device 100 is provided in an embodiment of this application.

[0108] Electronic device 100 may include at least one of the following: mobile phone, foldable electronic device, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, super mobile personal computer, netbook, cellular phone, PDA, AR device, VR device, artificial intelligence device, wearable device, in-vehicle device, smart home device, and smart city device. This application embodiment does not impose any special limitations on the type of electronic device 100.

[0109] Electronic device 100 may include processor 110, memory 120, display screen 130, etc. The structures illustrated in the embodiments of this application do not constitute a limitation on electronic device 100. In other embodiments of this application, electronic device 100 may include more or fewer components than illustrated. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0110] Processor 110 may include one or more processing units, such as application processors, modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0111] The processor 110 can generate operation control signals based on the instruction opcode and timing signals to control the instruction fetching and execution.

[0112] The memory 120 can be used to store computer executable program code, which includes instructions. The memory 120 may include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.). Furthermore, the memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. The processor 110 executes various functional methods or data processing of the electronic device 100 by running instructions stored in the memory 120 and / or instructions stored in memory disposed in the processor. For example, the memory 120 stores one or more programs, and when one or more processors of the electronic device 100 execute one or more programs, the electronic device 100 implements the desktop theme setting method in the embodiments of this application.

[0113] Electronic device 100 can implement display functions through a GPU, display screen 130, and application processor. The GPU is a microprocessor for image processing, connected to the display screen 130 and the application processor. The GPU is used to perform mathematical and geometric calculations and graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0114] Display screen 130 is used to display images, videos, etc. In some embodiments, electronic device 100 may include one or more display screens 130. Display screen 130 may be at least one of LCD, OLED, AMOLED, FLED, Miniled, MicroLED, Micro-OLED, quantum dot light-emitting diode (QLED) displays, etc. In some embodiments, display screen 130 may be a touch screen.

[0115] Microphone 140, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can bring their voice close to microphone 140 to input the sound signal into microphone 140. Electronic device 100 may have at least one microphone 140. In some embodiments, electronic device 100 may have two or more microphones 140, which, in addition to collecting sound signals, can also achieve noise reduction. In other embodiments, electronic device 100 may also use microphones to identify the sound source, achieving directional recording functions, etc.

[0116] In some embodiments, the electronic device 100 can be a candybar electronic device or a foldable electronic device. For example, the electronic device 100 is a candybar phone or a foldable phone. Foldable phones can be further divided into bi-fold and multi-fold types. Bi-fold phones can be further divided into left-right folding and top-bottom folding, while multi-fold phones can be tri-fold. It is understood that a foldable phone can include multiple screens, such as a main screen and a secondary screen. The main screen can be understood as the primary display screen, typically the full screen of the foldable phone when unfolded, providing a larger display area and higher resolution, offering a better visual experience, and suitable for various operations and applications, such as browsing the web, watching videos, and playing games. For example, a foldable phone may have a flexible, bendable screen. The secondary screen is generally located on the outside of the foldable phone and is also called the outer screen, usually used in the folded state. The secondary screen is smaller in size and is mainly used to display the time, notifications, quick operations, etc., allowing users to obtain information or perform simple operations without fully unfolding the phone.

[0117] The software architecture of the electronic device 100 provided in the embodiments of this application is described below.

[0118] The electronic device 100 provided in this application embodiment can run an operating system (OS). This operating system can be various operating systems currently used in the industry, such as HarmonyOS, an operating system developed based on OpenHarmony; or other operating systems such as Android. TM Operating system, iOS TM Mobile operating system; it can also be various open-source operating systems or their derivatives, such as the Linux operating system (Linux). TM Operating systems (OS) can refer to various types of operating systems, including embedded operating systems, as well as future new operating systems such as AI operating systems based on artificial intelligence. An operating system is a set of interconnected system software programs that manage and control the operation of electronic devices, utilize and run hardware and software resources, and provide public services to organize user interaction. In electronic devices, the operating system occupies a crucial position, connecting to the physical hardware layer below and providing a runtime environment for application software above.

[0119] An operating system typically includes a kernel layer, a middleware layer, and an application layer. The application layer includes applications, which can include system applications and third-party applications. The middleware layer is a set of software, or frameworks, that provides various services to application developers, such as databases, multimedia, and graphics, or capabilities like distributed scheduling and system expansion. For example, the middleware layer can also be broadly divided into a framework layer and / or a system service layer. The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The system service layer includes the core capabilities of the system, providing services to applications through the framework layer. The kernel layer is the layer between hardware and software. The kernel layer can include hardware drivers and the operating system kernel. In addition to providing hardware drivers, the kernel layer also supports functions such as memory management and system process management.

[0120] The electronic devices we use in our daily lives come in various types and forms, and the application scenarios of electronic device 100 are also very wide. Therefore, based on the different forms and functions of electronic devices 100, different application scenarios, and different user needs, the operating systems used in electronic devices 100 may also be different. These operating systems have commonalities as well as their own characteristics, and different operating systems affect user experience, application ecosystem, and system performance. The basic functions implemented by the electronic device 100 provided in this application can be implemented using a general-purpose operating system or a dedicated operating system. To more clearly illustrate the implementation of the embodiments of this application under a specific operating system, the following shows an operating system architecture. Those skilled in the art can deduce the implementation of the embodiments of this application under other specific operating systems, such as HarmonyOS or Android. TM Implementation under the operating system.

[0121] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses a layered architecture operating system as an example to exemplify the software architecture of electronic device 100.

[0122] Figure 2 is a software architecture diagram of an electronic device provided in an embodiment of this application. As shown in Figure 2, the layered architecture may include several layers, and the layers communicate with each other through software interfaces.

[0123] In some embodiments, the layered architecture of the operating system includes an application layer, a framework layer, a system service layer, and a kernel layer. The application layer may include system applications and extended / third-party applications. System applications may include the desktop, control bar, settings, contacts, phone, camera, etc., while extended / third-party applications may include social applications, travel applications, etc.

[0124] The desktop theme setting method of this application is applicable to the electronic device 100 of the foregoing embodiments, which can enrich the interactive effects of the desktop theme and improve the user experience.

[0125] The desktop theme setting method of this application will be illustrated below using a mobile phone as an example of electronic device 100. The mobile phone can be a candybar phone or a flip phone.

[0126] Figure 3 is a flowchart illustrating a desktop theme setting method provided in an embodiment of this application. As shown in Figure 3, the desktop theme setting method of this embodiment includes:

[0127] Step S31: The electronic device displays a first theme settings interface. The first theme settings interface includes a first theme, which includes multiple first theme elements.

[0128] In specific implementation, the first theme setting interface is the system interface of the electronic device, used for editing and setting the theme. The first theme setting interface can be displayed on the screen of a candybar phone or on the main screen of a foldable phone. For example, Figure 4 is a schematic diagram of the first theme setting interface displayed on the main screen of a foldable phone. The foldable phone in Figure 4 is folded vertically, and the first theme setting interface is the setting interface for the secondary screen theme. It should be noted that in this embodiment, the operation interface of the desktop theme setting method can be completed on the main screen or the secondary screen of the foldable phone, and the set desktop theme can be displayed on either the main screen or the secondary screen, without limitation. Figure 4 only shows a schematic diagram of the first theme setting interface displayed on the main screen of the foldable phone. It can be understood that the secondary screen theme setting interface can be accessed based on the user's selection of the secondary screen theme-related entry in the previous interface. In one embodiment, the previous interface of the secondary screen theme setting interface may also include the main screen theme-related entry.

[0129] Referring again to Figure 4, the secondary screen's theme settings interface displays a first theme, which includes multiple theme styles, such as Theme Style 1, Theme Style 2, and Theme Style 3. In this embodiment, Theme Style 1, Theme Style 2, and Theme Style 3 can all be referred to as the first theme. The first theme displays multiple first theme elements (not shown in the first theme in Figure 4), and the number and style of the first theme elements displayed can differ for different theme styles. After receiving a selection operation, the first theme can enter its editing interface. In one embodiment, the multiple theme styles of the first theme can be themes of the same style, similar style, or similar animation effects, making it convenient for users to quickly select their preferred theme within the same or similar styles.

[0130] In one embodiment, referring again to Figure 4, the secondary screen's theme settings interface can also display a second theme. The second theme is similar to the first theme and can also include multiple theme styles. The second theme can differ from the first theme in style or animation effects to provide users with more choices.

[0131] In one embodiment, continuing to refer to Figure 4, the secondary screen theme settings interface may also include a history theme display area, which can display multiple recently used history themes, such as History Theme 1, History Theme 2, and History Theme 3 shown in Figure 4. Users can swipe and select one of them for quick theme settings.

[0132] As shown in Figure 3, the desktop theme setting method in this embodiment also includes:

[0133] In step S32, the electronic device responds to the first operation on the first topic by displaying a first editing interface for the first topic.

[0134] In practice, the first operation can be selecting one of the theme styles in the secondary screen's theme settings interface. For example, the first operation can be a click, long press, or drag-and-drop operation. For instance, referring to Figure 4, the first operation is clicking on theme style one.

[0135] The first editing interface is the editing interface for the first theme. The editing interface for the first theme is displayed on the main screen of the foldable phone based on the click operation of the theme style shown in Figure 4.

[0136] Understandably, the editing interface for editing a theme can display multiple elements from the first theme.

[0137] As shown in Figure 3, the desktop theme setting method in this embodiment also includes:

[0138] In step S33, the electronic device responds to a second operation on the first editing interface for the first target theme element by updating the first target theme element in the first theme; wherein the first target theme element is one of a plurality of first theme elements.

[0139] In practice, the second operation can be a selection or update operation of the first target theme element. Specifically, the second operation can be a click operation on the first target theme element among multiple displayed first theme elements, updating the first target theme element with a single click. There can also be multiple operations for updating the first target theme element within the first theme, and the second operation can be one of those operations.

[0140] In one embodiment, referring to Figure 5, which is a schematic diagram of a first editing interface displayed on the main screen of a foldable phone, the first editing interface specifically refers to the editing interface for the editing theme in Figure 5. For example, continuing to refer to Figure 5, the editing interface for the editing theme includes a theme preview area 51 and a theme editing area 52. The theme preview area 51 displays a first theme, which displays multiple first theme elements. In Figure 5, the first theme displayed in the theme preview area 51 includes three first theme elements, which are three stickers containing different cat forms (sitting, walking, and crawling). In one embodiment, the first theme elements displayed in the theme preview area 51 are in an initial preset position. Furthermore, in this embodiment, the first theme elements can also be referred to as custom stickers, corresponding to the custom stickers in the theme editing area 52.

[0141] Referring again to Figure 5, the theme editing area 52 includes a first element editing area 521. In one embodiment, the first element editing area 521 may include a custom sticker area. The first element editing area 521 includes at least a first control corresponding to the first target theme element. For example, as shown in Figure 5, the first element editing area 521 includes three controls corresponding to the aforementioned three first theme elements. In the first element editing area 521, counting from left to right, the first control displays a cat in a crouching position, corresponding to the first theme element of the cat in a crouching position in the theme preview area 51; the second control displays a cat in a walking position, corresponding to the first theme element of the cat in a walking position in the theme preview area 51; and the third control displays a cat in a sitting position, corresponding to the first theme element of the cat in a sitting position in the theme preview area 51. In one embodiment, continuing as shown in Figure 5, the third control from left to right in the first element editing area 521 is the first control 53 corresponding to the first target theme element, and correspondingly, the first target theme element is the first theme element corresponding to the cat in the sitting position.

[0142] Accordingly, in response to a second operation on the first editing interface targeting the first target theme element, the electronic device updates the first target theme element in the first theme, specifically including:

[0143] In response to a second operation on the first control 53, the electronic device updates the first target theme element in the first theme.

[0144] In one embodiment, the second operation may be an operation on the first control 53, such as a click or swipe operation on the first control 53. In another embodiment, the second operation may also be an operation related to the first control 53, such as an operation involving an air gesture on the first control 53. The following embodiment details a case where there are multiple operations for updating the first target theme element in the first theme, exemplarily demonstrating how to update the first target theme element in the first theme.

[0145] In one embodiment, referring to Figure 6, the electronic device updates a first target theme element in a first theme in response to a second operation on a first control, specifically including:

[0146] In step S331, the electronic device responds to the second operation on the first control by displaying an image selection interface; the image selection interface includes images to be selected.

[0147] In practice, the image selection interface displays several candidate images for the user to choose from. For example, Figure 7 is a schematic diagram of an image selection interface displayed on the main screen of a foldable phone. In one embodiment, the image selection interface also includes a camera option, which provides the function of capturing candidate images in real time. Users can select the camera option to capture their favorite photos in real time as candidate images, further enhancing the user experience.

[0148] In one embodiment, referring again to Figure 7, the image selection interface further includes a search box to provide image search functionality. In another embodiment, the image selection interface may include two switchable interfaces: an image and video interface and an all albums interface. The image and video interface displays recommended images and videos, while the all albums interface displays all albums on the phone.

[0149] In step S332, the electronic device responds to the fourth operation on the image to be selected in the image selection interface by displaying the second editing interface for the target element; the target element is an element in the image to be selected.

[0150] In the specific implementation process, the candidate image is an image in the image selection interface, and the fourth operation is the selection operation of the candidate image, which can be a click operation, a long press operation, etc. The second editing interface is the editing interface for the target element. The target element can be an element automatically extracted from the candidate image by default. For example, Figure 8 is a schematic diagram of a second editing interface displayed on the main screen of a foldable phone. In Figure 8, the second editing interface displays the target element 81 extracted from the candidate image, as well as multiple selectable border elements.

[0151] In step S333, the electronic device responds to the fifth operation on the second editing interface by updating the first target theme element in the first theme to the second target theme element; the second target theme element is generated based on the target element.

[0152] In practice, the fifth operation is a confirmation operation to update the first target theme element in the first theme to the second target theme element. The fifth operation can be a confirmation operation on the second editing interface; for example, continuing as shown in Figure 8, the fifth operation can be clicking the confirmation button with a "√" in the upper right corner. It should be noted that the fifth operation can also be other confirmation operations.

[0153] In the method for updating the first target theme element shown in Figure 6 above, the updated material can be customized. Users can choose images and target elements independently, and the target elements are editable, further enhancing the user's experience with the desktop theme.

[0154] In one embodiment, the fifth operation includes a second selection operation and a second determination operation;

[0155] As shown in Figure 9, in response to a fifth operation on the second editing interface, the electronic device updates the first target theme element in the first theme to the second target theme element, specifically including:

[0156] In step S3331, the electronic device responds to a second selection operation on the first border element on the second editing interface and displays a second target theme element; the second target theme element includes a target element and a first border element, wherein the first border element is one of a plurality of border elements;

[0157] In step S3332, the electronic device responds to the second confirmation operation on the second editing interface, returns to display the first editing interface, and updates the first target theme element in the first theme to the second target theme element.

[0158] In the specific implementation process, as shown in Figure 8, the second selection operation can be a click operation on the first border element 82. In response to the click operation on the first border element 82, the second editing interface displays the combined element of the target element 81 and the first border element 82, as shown in Figure 8, which is the second target theme element.

[0159] The second confirmation operation can be a confirmation operation on the second editing interface. For example, continuing as shown in Figure 8, the fifth operation can be clicking the confirmation button with a "√" in the upper right corner. It should be noted that the fifth operation can also be other confirmation operations.

[0160] In response to the second confirmation operation, the main screen of the foldable phone returns to display the first editing interface, but the first target theme element in the first theme displayed in the theme preview area of ​​the first editing interface is updated to the second target theme element. For example, Figure 10 is a schematic diagram of another first editing interface displayed on the main screen of the foldable phone. In Figure 10, the first target theme element in the first theme displayed in the theme preview area 51 is updated to the second target theme element 101, and at the same time, the first control 53 also updates to display the second target theme element.

[0161] In one embodiment, in response to a fourth operation on the image to be selected in the image selection interface, the electronic device displays a second editing interface for the target element, specifically including:

[0162] In response to the fourth operation on the image to be selected in the image selection interface, the electronic device displays the element extraction interface of the image to be selected;

[0163] In response to the sixth operation on the element extraction interface, the electronic device displays the second editing interface for the target element.

[0164] In practical implementation, the element extraction interface is the interface for extracting target elements from the candidate image. For example, Figure 12 is a schematic diagram of an element extraction interface displayed on the main screen of a foldable phone. Figure 12 shows a magnified view of the candidate image and the elements within it; the element extraction interface is an object selection interface. In one embodiment, the candidate image may include multiple elements. When entering the element extraction interface, the system can recommend one element as the target element by default and highlight it. For example, the small fish in Figure 12 is used as target element 81.

[0165] In one embodiment, the element extraction interface displays images to be selected, and the sixth operation includes a first selection operation and a first confirmation operation; in response to the sixth operation on the element extraction interface, the electronic device displays a second editing interface for the target element, specifically including:

[0166] The electronic device highlights the target element in response to the first selection operation of the target element in the image to be selected on the element extraction interface;

[0167] In response to a first confirmation operation on the element extraction interface, the electronic device displays a second editing interface for the target element.

[0168] In specific implementation, the first selection operation can be a selection operation on the target element, such as a click operation. Continuing as shown in Figure 12, the highlighting method can be to blur the background except for the target element. In one embodiment, the highlighting method can also be that the user highlights the target element. The first confirmation operation can be a click operation on the confirmation button with a "√" in the upper right corner of the element extraction interface. It should be noted that the first confirmation operation can also be other confirmation operations.

[0169] In this embodiment, the user selects other elements as target elements in the element extraction interface. Specifically, the user can select the desired element by clicking on it, and the selected target element will be highlighted. This further enhances the user's experience with the desktop theme.

[0170] In one embodiment, continuing to refer to Figure 10, the first theme also includes a lock screen component, and the theme editing area also includes a lock screen element control 102. In one embodiment, the lock screen component includes a time component, a motion component, a weather component, a battery component, etc. For example, only the time component is shown in Figure 10, which includes 08:00, January 1st, Thursday.

[0171] As shown in Figure 13, after the electronic device displays a first editing interface about the first theme in response to a first operation on the first theme, the desktop theme setting method of this embodiment further includes:

[0172] In step S42, the electronic device responds to the seventh operation on the lock screen element control by setting the lock screen component as a lock screen element.

[0173] In specific implementation, the lock screen element control can be a switch control as shown in the area where the smart sticker is located in Figure 10. The switch control can have a prompt message "Lock screen component displayed as sticker". The switch control can uniformly set the lock screen component as a lock screen element. The seventh operation can be a click operation on the lock screen element control 102. For example, after clicking the lock screen element control 102 in Figure 10, the lock screen element control 102 is displayed in the open state as shown in Figure 11, and the time component in the first theme in Figure 11 is displayed as a lock screen element. In one embodiment, continuing as shown in Figure 11, the lock screen element can be composed of a lock screen component with a preset sticker added. In one embodiment, relative to the original position of the lock screen component in the first theme, the position and posture of the lock screen element change, displaying in a preset initial position, thereby indicating that it is generated as a lock screen element.

[0174] In one embodiment, as shown in Figure 14, which is a schematic diagram of another lock screen element control, the lock screen element controls in Figure 14 include multiple components: a time component, a motion component, a weather component, and a battery component, each with a switch control. The time component may include a clock, date, day of the week, etc.; the motion component may include steps, heart rate, etc.; and the weather component may include temperature, sunshine, rain, etc. Users can choose to toggle each component on or off. For example, in Figure 14, the switch control corresponding to the time component is in the on state, while the others are in the off state. Correspondingly, in the first theme of Figure 11, only the time component is displayed as lock screen element 111.

[0175] In one embodiment, continuing to refer to Figures 5 and 10, the topic editing area 52 further includes a second element editing area 522, which is used to edit second topic elements in the first topic, the size of which is smaller than that of the first topic elements.

[0176] In practice, the second theme element differs from the first theme element in that its size is smaller. This allows the theme elements of different sizes to be arranged in a staggered manner according to gravity rules, resulting in a better user experience. In one embodiment, the second theme element differs from the first theme element further in that: the elements of the first theme element can be updated and modified, while the second theme element is a default sticker, and its elements cannot be updated or modified. However, within the first theme, the number of second theme elements can be increased or decreased in the second element editing area 522.

[0177] For example, as shown in Figures 5 and 10, in one embodiment, the second element editing area 522 is the area where the default sticker is located. In one embodiment, continuing as shown in Figures 5 and 10, the second element editing area 522 includes an element editing bar 103, which displays the second theme elements displayed in the first theme. That is, the second theme elements located in the element editing bar 103 are simultaneously displayed in the first theme of the theme preview area 51. For example, continuing as shown in Figures 5 and 10, the second theme elements displayed in the element editing bar 103 include: a heart-shaped sticker containing the words "love you", a "nice day" sticker, a sticker containing two four-pointed stars, and a sun-shaped sticker. Correspondingly, the first theme of the theme preview area 51 also displays the heart-shaped sticker containing the words "love you", the "nice day" sticker, the sticker containing two four-pointed stars, and the sun-shaped sticker.

[0178] In one embodiment, continuing as shown in Figures 5 and 10, the second element editing area 522 also includes a second theme element outside the element editing bar 103. The user can manually edit the second theme element within the element editing bar 103, such as by adding or deleting it.

[0179] In one embodiment, referring to FIG15, after the electronic device displays a first editing interface about the first theme in response to the first operation on the first theme, the desktop theme setting method of this embodiment further includes:

[0180] In step S43, the electronic device, in response to the eighth operation on the second element editing area 522, adds or removes at least a portion of the second theme elements in the element editing bar.

[0181] In specific implementation, the eighth operation can be a selection operation of the second theme element within or outside the element editing bar 103, thereby adding or removing at least some of the second theme elements in the element editing bar. For example, continuing as shown in Figure 9, the element editing bar 103 includes a virtual delete button. The eighth operation can include clicking the virtual delete button to delete the second theme element within the element editing bar 103. Correspondingly, the eighth operation can also include clicking the second theme element outside the element editing bar 103 to add the second theme element outside the element editing bar 103 to the element editing bar 103, thereby enabling the deletion and editing of the second theme elements in the first theme of the theme preview area 51. Furthermore, in one embodiment, an upper limit is set for the number of second theme elements that can be accommodated within the element editing bar 103. Continuing as shown in Figure 10, the element editing bar 103 displays the upper limit number and the number of added elements, for example, "4 / 8" shown in the element editing bar 103 in Figure 10, where 8 represents the upper limit number displayed within the element editing bar 103, and 4 represents the number of existing second theme elements within the element editing bar 103.

[0182] In one embodiment, the electronic device is a foldable electronic device, specifically a foldable mobile phone in this embodiment. The foldable mobile phone includes a main screen and a secondary screen, with the first editing interface displayed on the main screen; as shown in Figure 16, the desktop theme setting method in this embodiment further includes:

[0183] In step S44, the electronic device responds to the preview operation on the first editing interface and displays the first theme on the secondary screen.

[0184] In a specific implementation, as shown in Figure 17, which is a schematic diagram of the preview operation on the first editing interface displayed on the main screen of a foldable phone. In one embodiment, continuing as shown in Figure 17, a virtual preview button can be displayed on the first editing interface. The preview operation can be a click operation on the preview button. It should be noted that the preview operation can also be other operations to start the preview, and there are no restrictions.

[0185] In one embodiment, continuing as shown in Figure 17, the first editing interface is displayed on the main screen of the foldable phone, which is a flexible, bendable screen. The secondary screen is the outer screen of the foldable phone. For example, Figure 19 is a schematic diagram of the secondary screen of the foldable phone previewing the first theme. In Figure 19, the first theme elements, second theme elements, and lock screen elements in the previewed first theme are all arranged according to gravity rules.

[0186] In one embodiment, step S44, in response to a preview operation on the first editing interface, the electronic device displays the first theme on the secondary screen, specifically including:

[0187] The electronic device responds to the preview operation on the first editing interface, and the main screen displays the first prompt interface;

[0188] In response to a signal indicating that the electronic device is folded, the secondary screen displays the primary theme.

[0189] In practice, the first prompt interface is used to guide the user on how to preview the first theme, serving as a prompt. Since it's a foldable phone and the preview is on the outer screen, certain actions are required to generate the preview. For example, Figure 18 is a schematic diagram of the first prompt interface displayed on the main screen of the foldable phone, showing the prompt "Please fold to preview the effect."

[0190] The signal indicating that the electronic device is folded is generated by the folding operation of the foldable phone; that is, folding the foldable phone can generate a signal indicating that the electronic device is folded. In this embodiment, when the foldable phone is folded as shown in Figure 18, it forms the folded state shown in Figure 19, and the external screen preview displays the first theme.

[0191] In one embodiment, the first prompt interface includes a second control; after the first prompt interface is displayed on the main screen, the device further includes: responding to a ninth operation on the second control, the main screen displays the first editing interface. Specifically, continuing as shown in Figure 15, the second control is a virtual button containing the words "Exit Preview," and the ninth operation can be clicking the second control. Clicking the second control allows the user to exit the preview operation on the first prompt interface, providing the user with more options.

[0192] In one embodiment, after the secondary screen displays the first theme, it further includes:

[0193] In response to the signal indicating that the electronic device has been deployed, the secondary screen exits the theme preview, and the main screen displays the first editing interface.

[0194] In practice, the signal for the electronic device to unfold is generated by the unfolding operation of the foldable phone. That is, unfolding the foldable phone generates the signal for the electronic device to unfold. Upon receiving this signal, the preview of the first theme exits; specifically, the secondary screen exits the theme preview, and the main screen displays the first editing interface.

[0195] It should be noted that the above only shows the preview method for the first theme of a foldable phone, but the same method can be used to preview themes for candybar phones and other foldable phones, which will not be repeated here.

[0196] Continuing as shown in Figure 3, the desktop theme setting method in this embodiment also includes:

[0197] In step S34, the electronic device responds to a third operation on the first editing interface by applying the first theme to the operating system of the electronic device.

[0198] In practice, the third operation is to confirm the application of the first theme to the operating system of the electronic device. For example, continuing as shown in Figure 10, the first editing interface also displays a virtual button with the word "Apply," and the third operation can be clicking on this virtual button.

[0199] Continuing as shown in Figure 3, the desktop theme setting method in this embodiment also includes:

[0200] Step S35: The electronic device displays the first wallpaper of the first theme on the system interface; the theme elements in the first wallpaper are arranged in a preset area according to gravity rules.

[0201] In specific implementation, the system interface can be a desktop. After the first theme is applied to the operating system of the electronic device, the desktop can display the first wallpaper of the first theme. In one embodiment, the first wallpaper may include updated first target theme elements, and may also include other first theme elements. Furthermore, each theme element in the first wallpaper is arranged according to gravity rules within a preset area. Each theme element in the first wallpaper may include first theme elements, or may not be limited to first theme elements, such as the second theme elements and lock screen elements in the aforementioned embodiment. When each theme element in the first wallpaper is arranged according to gravity rules within the preset area, if the electronic device is placed horizontally, each theme element in the first wallpaper can maintain its original initial preset position; if the electronic device is at a certain angle to the horizontal, each theme element will sink downwards due to gravity. For example, Figure 20 is a schematic diagram of the first wallpaper displayed on the secondary screen of a foldable phone. In Figure 20, each theme element in the first wallpaper is in its initial preset position, and each theme element includes first theme elements, second theme elements, and lock screen elements.

[0202] It should be noted that, in order to conserve resources and ensure the smooth operation of electronic devices, the first theme element may not display the animation effects of each theme element during the setup phase (except for the preview involved in step S44). The setup process only enables the first theme to have the ability to display animation effects. However, if resource consumption is not a concern, the first theme element can also display the animation effects of each theme element during the setup phase, allowing users to preview the animation effects directly without needing the preview operation involved in step S44, thus simplifying the operation.

[0203] In one embodiment, the theme editing area of ​​the first editing interface may further include a theme color editing area, where the theme background color can be selected.

[0204] In one embodiment, the theme editing area of ​​the first editing interface may also include location information settings. After the location information is set, the current location can be displayed in the first theme according to the mobile phone's location, for example, the location information displays the city name.

[0205] The above embodiments illustrate the process of setting up a first theme. In this first theme, theme elements are arranged according to gravity rules within a preset area. The first theme is editable, allowing theme elements to be updated based on user actions. Providing this type of theme with the ability to edit elements enhances the user experience.

[0206] The following description, in conjunction with the accompanying diagram, illustrates the effect of applying the first theme to the operating system of an electronic device.

[0207] In one embodiment, the system interface is a lock screen interface, and the first wallpaper is the lock screen interface wallpaper;

[0208] Step S35: After the electronic device displays the first wallpaper of the first theme on the system interface, it also includes:

[0209] In response to the physical movement of the electronic device, the theme elements in the first wallpaper move within a preset area following the direction of the physical movement.

[0210] In the specific implementation process, the physical movement can be a reciprocating motion generated by shaking. The preset area can be a preset area, generally the area formed by the edge of the first wallpaper. For example, as shown in Figure 21, which is a schematic diagram of the physical movement of a foldable phone in a folded state, the foldable phone moves back and forth in the direction of the arrow in Figure 21, that is, the reciprocating motion generated by shaking, and the theme elements in the first wallpaper move in the direction of the reciprocating motion.

[0211] In one embodiment, at least two theme elements in the first wallpaper generate an elastic collision effect after they move closer to each other and their edges come into contact; and / or, the theme element generates an elastic collision effect after it comes into contact with the edge of a preset area.

[0212] In practice, during the movement following the swaying direction, a speed difference between two subject elements can generate relative motion, thus producing an elastic collision effect. Elastic collision effects also occur when subject elements come into contact with the edge of a preset area. Specifically, this can be achieved by collecting data from gravity sensors and constructing a 2D physical simulation model in real-time on an electronic device using software, rendering it in real-time to simulate elastic collision effects in the physical world. The physical simulation model can simulate physical relationships such as the weight, volume, gravity, and buoyancy of objects. For example, subject elements of different sizes experience different gravity effects and have different movement speeds.

[0213] In one embodiment, after the electronic device displays the first wallpaper of the first theme on the system interface, it further includes:

[0214] In response to a touch operation on a selected theme element in a first wallpaper, the selected theme element generates a first motion effect within a preset area. The first motion effect includes one or more of the following: scaling motion effect, rotation motion effect, and bouncing motion effect.

[0215] In the specific implementation, the selected theme element can be any theme element in the first wallpaper, and the touch operation can be a click operation on the selected theme element. Scaling, rotating, and bouncing animations can all be implemented using a 2D physical simulation model. For example, Figure 22 is a schematic diagram of the touch operation on the first wallpaper. In Figure 22, clicking on a first theme element causes it to rotate along the direction of the arrow, producing a rotating animation. When the first theme element produces an animation, the material changes, resulting in an elastic collision effect with other adjacent theme elements, triggering a chain reaction where all theme elements in the first wallpaper produce animations. In one embodiment, clicking on different theme elements can produce different first animations, specifically one or more of scaling, rotating, and bouncing animations.

[0216] In one embodiment, after the electronic device displays the first wallpaper of the first theme on the system interface, it further includes:

[0217] In response to a first voice received by the microphone, the electronic device generates a second motion effect in a preset area for each theme element in the first wallpaper. The second motion effect includes a wind motion effect and / or an elastic collision motion effect. The first voice is a voice generated by a blowing operation on the surface of the display screen.

[0218] In practice, during the wind effect, the main elements move according to the direction of the wind. During this movement, a speed difference is generated, resulting in an elastic collision effect. After the microphone receives the voice generated by the blowing operation, the electronic device recognizes the voice and converts it into a command to control the 2D physical simulation model to generate the wind effect and / or elastic collision effect.

[0219] Understandably, after the animation effect is generated, the various theme elements in the first wallpaper gradually arrange themselves according to the rules of gravity, and the positions of the theme elements can be changed compared to before the animation effect was generated.

[0220] In one embodiment, after the electronic device applies the first theme to the operating system of the electronic device in response to a third operation on the first editing interface, it further includes:

[0221] After the electronic device is in its first state and enters the lock screen interface, the theme elements in the first wallpaper are in their initial preset positions;

[0222] After the electronic device is in its second posture and enters the lock screen, the theme elements in the first wallpaper begin to generate a gravity effect from their initial preset positions.

[0223] In the specific implementation, the first posture can be a horizontal placement state, in which case all the theme elements in the first wallpaper are in their initial preset positions. The second posture can be a non-horizontal placement state, that is, at an angle to the horizontal plane. In this case, a gravity effect is triggered, and the theme elements in the first wallpaper begin to experience a gravity effect from their initial preset positions. Specifically, the first and second postures can be determined using data from a gravity sensor.

[0224] In one embodiment, after the electronic device is in a first posture and enters the lock screen interface, the theme elements in the first wallpaper are in their initial preset positions, specifically including:

[0225] When the electronic device is in its first state and enters the lock screen from the always-on display, the theme elements in the first wallpaper are in their initial preset positions.

[0226] Correspondingly, after the electronic device is in the second posture and enters the lock screen interface, the theme elements in the first wallpaper begin to generate a gravity effect from their initial preset positions, specifically including:

[0227] Once the electronic device is in its second state and enters the lock screen from the off screen, the theme elements in the first wallpaper begin to generate a gravity effect from their initial preset positions.

[0228] In practice, the always-on display can be an AOD (Always On Display) display.

[0229] In this implementation, different animation effects are provided from the always-on display to the lock screen, enhancing the user experience of using the mobile phone.

[0230] In one embodiment, this application also provides a desktop theme setting device, comprising:

[0231] The first display unit is used to display the first theme settings interface, which includes the first theme and multiple first theme elements.

[0232] The first response unit is used to respond to the first operation on the first topic and display the first editing interface about the first topic;

[0233] The second response unit is used to respond to a second operation on the first editing interface for the first target theme element and update the first target theme element in the first theme; wherein the first target theme element is one of a plurality of first theme elements;

[0234] The third response unit is used to respond to a third operation on the first editing interface and apply the first theme to the operating system of the electronic device;

[0235] The second display unit is used to display the first wallpaper of the first theme on the system interface; the first wallpaper includes multiple first theme elements of the first theme, and the multiple first theme elements include the updated first target theme elements, and each theme element in the first wallpaper is arranged in a preset area according to gravity rules.

[0236] It should be noted that the steps performed by each unit in the electronic device in this embodiment are the same as the steps (S31 to S35) performed by the electronic device in the previous embodiment. Therefore, the various implementation methods and technical effects can be referred to the desktop theme setting method performed by the electronic device in the previous embodiment, which will not be repeated here.

[0237] In one embodiment, the present application also provides a computer program product containing instructions that, when run on an electronic device, cause the electronic device to execute the desktop theme setting method in any of the foregoing embodiments.

[0238] In one embodiment, embodiments of this application also provide a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the desktop theme setting method of any of the foregoing embodiments.

[0239] In this embodiment, the computer program product and computer-readable storage medium are used to execute the corresponding desktop theme setting method provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0240] Through the above description of the implementation methods, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0241] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0242] The unit described as a separate component may or may not be physically separate. The component shown as a unit can be one physical unit or multiple physical units, that is, it can be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of the solution in this embodiment according to actual needs.

[0243] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0244] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0245] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for setting a desktop theme, characterized in that, The method includes: The electronic device displays a first theme settings interface, which includes a first theme and multiple first theme elements. In response to a first operation on the first topic, the electronic device displays a first editing interface for the first topic. The electronic device updates the first target theme element in the first theme in response to a second operation on the first editing interface targeting the first target theme element; wherein the first target theme element is one of the plurality of first theme elements; The electronic device responds to a third operation on the first editing interface by applying the first theme to the operating system of the electronic device; The electronic device displays a first wallpaper of the first theme on the system interface; the first wallpaper includes updated elements of the first target theme, and each theme element in the first wallpaper is arranged in a preset area according to gravity rules.

2. The method as described in claim 1, characterized in that, The first editing interface includes a theme preview area and a theme editing area. The theme preview area displays the first theme, and the theme editing area includes a first element editing area, which includes at least a first control corresponding to the first target theme element. The electronic device, in response to a second operation on the first editing interface targeting a first target theme element, updates the first target theme element in the first theme, specifically including: The electronic device updates the first target theme element in the first theme in response to a second operation on the first control.

3. The method as described in claim 2, characterized in that, In response to a second operation on the first control, the electronic device updates the first target theme element in the first theme, specifically including: The electronic device, in response to a second operation on the first control, displays an image selection interface; the image selection interface includes images to be selected. In response to a fourth operation on the candidate image in the image selection interface, the electronic device displays a second editing interface for the target element; the target element is an element in the candidate image. The electronic device responds to a fifth operation on the second editing interface by updating the first target theme element in the first theme to a second target theme element; the second target theme element is generated based on the target element.

4. The method as described in claim 3, characterized in that, In response to a fourth operation on the candidate image in the image selection interface, the electronic device displays a second editing interface for the target element, specifically including: In response to a fourth operation on the candidate image in the image selection interface, the electronic device displays an element extraction interface for the candidate image. In response to a sixth operation on the element extraction interface, the electronic device displays a second editing interface for the target element.

5. The method as described in claim 4, characterized in that, The element extraction interface displays the candidate image, and the sixth operation includes a first selection operation and a first confirmation operation; in response to the sixth operation on the element extraction interface, the electronic device displays a second editing interface for the target element, specifically including: The electronic device, in response to the first selection operation of the target element in the candidate image on the element extraction interface, highlights the target element; In response to the first determination operation on the element extraction interface, the electronic device displays a second editing interface for the target element.

6. The method according to any one of claims 3 to 5, characterized in that, The second editing interface includes multiple border elements, and the fifth operation includes a second selection operation and a second confirmation operation; The electronic device, in response to a fifth operation on the second editing interface, updates the first target theme element in the first theme to a second target theme element, specifically including: The electronic device, in response to the second selection operation on the first border element on the second editing interface, displays the second target theme element; the second target theme element includes the target element and the first border element, wherein the first border element is one of the plurality of border elements; In response to the second confirmation operation on the second editing interface, the electronic device returns to display the first editing interface and updates the first target theme element in the first theme to the second target theme element.

7. The method according to any one of claims 2 to 6, characterized in that, The first theme also includes a lock screen component, and the theme editing area also includes lock screen element controls; After the electronic device displays a first editing interface about the first topic in response to a first operation on the first topic, it further includes: The electronic device responds to a seventh operation on the lock screen element control, wherein the lock screen component is set as a lock screen element.

8. The method as described in claim 7, characterized in that, The lock screen components include a time component, a motion component, a weather component, and a battery component.

9. The method according to any one of claims 2 to 8, characterized in that, The topic editing area also includes a second element editing area, which is used to edit the second topic element in the first topic, and the size of the second topic element is smaller than the size of the first topic element.

10. The method as described in claim 9, characterized in that, The second element editing area includes an element editing bar, in which the second theme elements displayed in the first theme are shown; the second element editing area also includes second theme elements outside the element editing bar; After the electronic device displays a first editing interface about the first topic in response to a first operation on the first topic, it further includes: The electronic device responds to an eighth operation in the second element editing area by adding or removing at least a portion of the second theme elements in the element editing bar.

11. The method according to any one of claims 1 to 10, characterized in that, The electronic device is a foldable electronic device, which includes a main screen and a secondary screen, with the first editing interface displayed on the main screen; the method further includes: The electronic device responds to a preview operation on the first editing interface, and the secondary screen displays the first theme.

12. The method as described in claim 11, characterized in that, In response to a preview operation on the first editing interface, the secondary screen displays the first theme, specifically including: In response to a preview operation on the first editing interface, the electronic device displays a first prompt interface on the main screen; In response to a signal indicating that the electronic device is folded, the secondary screen displays the first theme.

13. The method as described in claim 12, characterized in that, The first prompt interface includes a second control; after the main screen displays the first prompt interface, it further includes: In response to a ninth operation on the second control, the electronic device displays the first editing interface on the main screen.

14. The method as described in claim 12, characterized in that, After the secondary screen displays the first topic, it also includes: In response to a signal indicating that the electronic device has expanded, the secondary screen exits the theme preview, and the main screen displays the first editing interface.

15. The method according to any one of claims 1 to 14, characterized in that, The system interface is a lock screen interface, and the first wallpaper is the lock screen interface wallpaper; After the electronic device displays the first wallpaper of the first theme on the system interface, it further includes: In response to the physical movement of the electronic device, each theme element in the first wallpaper moves within the preset area following the direction of the physical movement.

16. The method as described in claim 15, characterized in that, In the first wallpaper, at least two theme elements move closer to each other and their edges come into contact, resulting in an elastic collision effect; and / or, the theme element comes into contact with the edge of the preset area, resulting in an elastic collision effect.

17. The method as described in claim 15, characterized in that, After the electronic device displays the first wallpaper of the first theme on the system interface, it further includes: The electronic device responds to a touch operation on a selected theme element in the first wallpaper, the selected theme element generating a first motion effect within the preset area, the first motion effect including one or more of zooming, rotating, and bouncing motion effects.

18. The method as described in claim 15, characterized in that, After the electronic device displays the first wallpaper of the first theme on the system interface, it further includes: In response to a first voice received by the microphone, each theme element in the first wallpaper generates a second motion effect within the preset area. The second motion effect includes a wind effect and / or an elastic collision effect. The first voice is a voice generated by a blowing operation on the surface of the display screen.

19. The method according to any one of claims 15 to 18, characterized in that, In response to a third operation on the first editing interface, after applying the first theme to the operating system of the electronic device, the electronic device further includes: After the electronic device is in the first posture and enters the lock screen interface, each theme element in the first wallpaper is in the initial preset position. After the electronic device is in the second posture and enters the lock screen interface, each theme element in the first wallpaper starts to generate a gravity effect from the initial preset position.

20. A desktop theme setting device, characterized in that, include: The first display unit is used to display a first theme settings interface, the first theme settings interface including a first theme, and the first theme including multiple first theme elements; A first response unit is configured to display a first editing interface about the first topic in response to a first operation on the first topic; The second response unit is configured to update the first target topic element in the first topic in response to a second operation on the first editing interface targeting the first target topic element; wherein the first target topic element is one of the plurality of first topic elements; A third response unit is configured to respond to a third operation on the first editing interface by applying the first theme to the operating system of the electronic device. The second display unit is used to display the first wallpaper of the first theme on the system interface; the first wallpaper includes the plurality of first theme elements of the first theme, the plurality of first theme elements include the updated first target theme elements, and each theme element in the first wallpaper is arranged in a preset area according to gravity rules.

21. An electronic device comprising one or more displays, one or more memories, and one or more processors; wherein the one or more memories store one or more programs; characterized in that, When the one or more processors execute the one or more programs, the electronic device causes the electronic device to perform the method as described in any one of claims 1 to 19.

22. A computer program product containing instructions, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 1 to 19.

23. A computer-readable storage medium comprising instructions, characterized in that, When the instructions are executed on an electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1 to 19.