Method for displaying interactive wallpaper and related device

By displaying interactive wallpapers on the back screen of the electronic device, detecting user operations in the folded state, and dynamically switching the form of wallpaper elements in the existing technology, the problem of unpersonalized wallpaper experience in the off-screen state is solved, and the display of personalized interactive wallpapers is realized, enhancing the fun and aesthetics of the user experience.

CN119718486APending Publication Date: 2025-03-28HONOR DEVICE CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311218561.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-19
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The prior art is difficult to provide a personalized and interactive wallpaper experience in the state of shutting down the screen, especially in the state of locking and shutting down the screen.

Method used

By displaying interactive wallpapers on the back screen of the electronic device, and detecting user operations in a folded state, dynamically switching the form of wallpaper elements to meet users' personalized needs.

Benefits of technology

It realizes the display of personalized interactive wallpapers while the lock screen is turned off, enhancing the fun and aesthetics of the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718486A_ABST
    Figure CN119718486A_ABST
Patent Text Reader

Abstract

The invention provides a method for displaying interactive wallpaper and a related device. According to the method, the electronic equipment can set interactive wallpaper displayed in a screen locking and screen turning-off state. The electronic device may determine whether to change a state of the interactive wallpaper based on the user operation and the sensor data. Therefore, a user can set the interactive wallpaper according to own preferences, and can also operate with the interactive wallpaper, so that the interestingness is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method and a related device for displaying interactive wallpapers. Background Art

[0002] An electronic device may include a locked screen state and an unlocked screen state. When the electronic device is in the locked screen state, the electronic device may be in a light screen state or a rest (off) screen state, that is, the locked screen state of the electronic device may be a locked screen and light screen state or a locked screen and off screen state.

[0003] Currently, in the relevant technology, when the screen is off, the electronic device can display the picture in a local area of ​​the display screen through the always on display (AOD) technology to facilitate users to quickly obtain information. Part of the picture displayed under the AOD can also change with the data or operation received by the electronic device. Summary of the invention

[0004] The present application provides a method and related device for displaying interactive wallpapers. Various interactive wallpapers can be set to fully meet the personalized needs of users. It can also enable electronic devices in the locked screen off state to display interactive wallpapers.

[0005] In a first aspect, an embodiment of the present application provides a method for displaying wallpaper, characterized in that it is applied to an electronic device, the electronic device includes a display screen, the display screen includes a main screen and a back screen, the main screen and the back screen are connected by a folding component, the method includes: when the electronic device is in a folded state, it is detected that the electronic device is turned off, and a first wallpaper is displayed on the back screen, the first wallpaper includes a first element in a first form; wherein, in the folded state, the main screen and the back screen both face the outside of the electronic device; a first operation acting on the back screen is detected, and the first element in the first wallpaper is switched from the first form to the second form.

[0006] In some implementations, the interactable wallpaper can be referred to as a first wallpaper.

[0007] By implementing the above method, various interactive wallpapers can be set to fully meet the personalized needs of users. It can also enable electronic devices in the locked screen state to display interactive wallpapers, which is more beautiful. In addition, users can also operate the interactive wallpapers and observe the changes of the interactive wallpapers, making the process of users using electronic devices more interesting.

[0008] In combination with the first aspect, in some implementations, the form of the first element includes any one or more of the following: position, size, color, shape, and motion state.

[0009] In this way, when displaying interactive wallpaper, the electronic device can present changes in multiple elements, making it more beautiful.

[0010] In combination with the first aspect, in some implementations, the method also includes: after a first duration, the electronic device controls the back screen to go black, wherein the first duration is the sum of the duration of displaying the first wallpaper containing the first element in the first form and the duration of displaying the first wallpaper containing the first element in the second form, or the first duration is the duration of displaying the first wallpaper containing the first element in the first form.

[0011] In some implementations, the duration set by the electronic device to display the interactive wallpaper may be referred to as a first duration.

[0012] In this way, the electronic device can set the time for displaying the interactive wallpaper, which can ensure that the interactive wallpaper can be displayed and avoid consuming too much power by displaying the interactive wallpaper for too long.

[0013] In combination with the first aspect, in some implementations, after the first element in the first wallpaper is switched from the first form to the second form, the method further includes: detecting a third operation acting on the back screen, and switching the first element in the first wallpaper from the second form to the third form.

[0014] In this way, when the electronic device displays the interactive wallpaper, it can respond to multiple user operations and can change the state of the displayed interactive wallpaper multiple times, which is more interesting.

[0015] In combination with the first aspect, in some implementations, the first wallpaper also includes a first icon. After displaying the first wallpaper on the back screen, the method also includes: detecting a second operation acting on the first icon; displaying a first prompt box on the back screen, and the information contained in the first prompt box is provided by the application indicated by the first icon.

[0016] In this way, in some specific styles of interactive wallpapers, relevant information provided by applications installed on the electronic device can also be observed. When the electronic device is in the locked screen state, users can more conveniently observe relevant information provided by some applications.

[0017] In combination with the first aspect, in some implementations, the application indicated by the first icon is a social application, and the information contained in the first prompt box includes one or more of the following: chat content, chat party name; or the application indicated by the first icon is a clock application, and the information contained in the first prompt box includes one or more of the following: clock information, date information; or the application indicated by the first icon is a music application, and the information contained in the first prompt box includes one or more of the following: song information, singer information, playback controls, song switching controls.

[0018] The information is not limited to the above information, and more information may be included. In this way, when the electronic device is in a locked screen state, the user can more conveniently observe the relevant information provided by some applications.

[0019] In combination with the first aspect, in some implementations, the first icon included in the first wallpaper is set by a user or by an electronic device.

[0020] In this way, users can also change the icons displayed in the interactive wallpaper.

[0021] In combination with the first aspect, in some implementations, after displaying the first prompt box, the method also includes: detecting an operation acting on the first prompt box, displaying a first lock screen interface on the main screen, displaying a second lock screen interface on the back screen or controlling the back screen to be black; detecting an unlocking operation on the main screen, displaying a first user interface on the main screen, and the first user interface belonging to the application indicated by the first icon.

[0022] In this way, the electronic device can respond to the user operation on the first prompt box when displaying the interactive wallpaper, so as to enter the corresponding application interface more conveniently.

[0023] In combination with the first aspect, in some implementations, the method also includes: detecting a double-click operation on an area on the back screen other than icons and prompt boxes, displaying a first lock screen interface on the main screen, displaying a second lock screen interface on the back screen, or the electronic device controlling the back screen to go black; detecting an unlocking operation on the main screen, displaying a second user interface on the main screen, the second user interface being the user interface displayed before the electronic device screen is detected to be turned off.

[0024] In this way, the electronic device can switch to the locked screen state when displaying the interactive wallpaper, and can then switch to the unlocked screen state.

[0025] In combination with the first aspect, in some implementations, the first wallpaper also includes a second icon. After displaying the first prompt box, the method also includes: detecting a click operation on the second icon, stopping displaying the first prompt box; and displaying the second prompt box, wherein the information contained in the second prompt box is provided by the application indicated by the second icon.

[0026] In combination with the first aspect, in some implementations, after displaying the first prompt box, the method further includes: detecting an operation acting on an area other than the icon on the back screen, and stopping displaying the first prompt box.

[0027] In this way, the electronic device can also cancel displaying the first wallpaper of the first prompt box and restore the first wallpaper in the previous state.

[0028] In combination with the first aspect, in some implementations, when the electronic device is in a folded state, before detecting that the screen of the electronic device is turned off, the method also includes: detecting that the electronic device is unlocked and the screen is turned on, and displaying a third user interface on the main screen; detecting a lock screen operation; detecting that the electronic device is locked and the screen is turned on, displaying the first lock screen interface on the main screen, displaying the second lock screen interface on the back screen, or the electronic device controlling the back screen to go black.

[0029] In combination with the first aspect, in some implementations, the method further includes: detecting that the electronic device screen is turned off, displaying a second wallpaper on the back screen, the second wallpaper containing a second element of the first color; detecting that the ambient light is a second color, switching the second element in the second wallpaper from the first color to the second color.

[0030] In this way, the electronic device can obtain the change of the ambient light color through the sensor, and thus change the color of the interactive wallpaper, so that the color of the interactive wallpaper is consistent with the ambient light color, which increases the fun.

[0031] In combination with the first aspect, in some implementations, after displaying the second wallpaper in the second state on the back screen, the method also includes: detecting that the electronic device is turned off, displaying a third wallpaper on the back screen, the third wallpaper including a third element in the first position; detecting that the posture of the electronic device has changed, switching the third element in the third wallpaper from the first position to the second position.

[0032] In this way, the electronic device can obtain the change of the posture of the electronic device through the sensor, thereby changing the position of the elements in the interactive wallpaper, so that the position of the elements in the interactive wallpaper is consistent with the change of the posture of the electronic device, thereby increasing interest.

[0033] In combination with the first aspect, in some implementations, when the first wallpaper is displayed on the back screen, the method further includes: displaying the first wallpaper or the fourth wallpaper on the main screen.

[0034] In this way, the electronic device can be set to display interactive wallpaper on the main screen at the same time.

[0035] In combination with the first aspect, in some implementations, the desktop of the electronic device includes a first card, and the first card includes the first control. The method also includes: when the electronic device is in a folded state, in response to an operation on the first control, the electronic device turns off the screen and displays the first wallpaper on the back screen.

[0036] In this way, electronic devices can more conveniently display interactive wallpapers through cards on the desktop.

[0037] In combination with the first aspect, in some implementations, in response to an operation on the first control, after the electronic device turns off the screen and displays the first wallpaper on the back screen, the method further includes: when the first function is turned off and the electronic device is in a folded state, detecting that the electronic device's screen is turned off, the electronic device does not display the first wallpaper on the back screen; when the first function is turned on and the electronic device is in a folded state, detecting that the electronic device's screen is turned off, the electronic device displays the first wallpaper on the back screen.

[0038] In this way, when the display function of the interactive wallpaper is not enabled on the electronic device, the interactive wallpaper can also be displayed by entering the lock screen state through the card on the desktop.

[0039] In combination with the first aspect, in some implementations, after the first wallpaper is displayed on the back screen, the method further includes:

[0040] When the second function is turned on, after a first period of time, the electronic device stops displaying the first wallpaper on the back screen, and displays the content corresponding to the second function on the back screen or the main screen; when the second function is turned off, after the first period of time, the electronic device stops displaying the first wallpaper on the back screen, and controls the back screen to go black.

[0041] In this way, after the electronic device displays the interactive wallpaper for the set time, it can also display the screen-off wallpaper if the screen-off function is turned on; it can also not display the screen-off wallpaper if the screen-off display function is not turned on.

[0042] In combination with the first aspect, in some implementations, the method further includes: when the electronic device is in the unfolded state, it is detected that the screen of the electronic device is turned off, and the first wallpaper is not displayed on the back screen; wherein, in the unfolded state, the main screen and the back screen are oriented in the same direction.

[0043] In this way, the electronic device can only display the interactive wallpaper in the folded state, and does not display the interactive wallpaper in the unfolded state.

[0044] In some implementations, the first function may refer to a function of displaying an interactive wallpaper, and the second function may refer to a function of displaying an AOD.

[0045] In a second aspect, the present application provides an electronic device, comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method of the first aspect or any implementation of the first aspect.

[0046] In a third aspect, an embodiment of the present application provides a computer storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method of the first aspect or any implementation method of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1A is a schematic diagram of an electronic device provided by an embodiment of the present application in an unfolded state;

[0048] Figure 1B is a schematic diagram of an electronic device provided by an embodiment of the present application in a folded state;

[0049] Figure 2A-2F It is a user interface for setting an interactive wallpaper provided in an embodiment of the present application;

[0050] Figure 3A-Figure 3I A user interface for displaying interactive wallpaper provided in an embodiment of the present application;

[0051] Figure 4A-4J It is a user interface for setting an interactive wallpaper provided in an embodiment of the present application;

[0052] Figure 5A-Figure 5I A user interface for displaying interactive wallpaper provided in an embodiment of the present application;

[0053] Figure 6 is a schematic flow chart of a method for displaying interactive wallpaper provided in an embodiment of the present application;

[0054] Figure 7 A schematic diagram of the hardware architecture of an electronic device provided in an embodiment of the present application;

[0055] Figure 8 A schematic diagram of the software architecture of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0057] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0058] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0059] In order to facilitate understanding of the solution provided by the embodiment of the present application, the following introduces the relevant concepts involved in the embodiment of the present application:

[0060] Lock screen may refer to locking the screen of an electronic device to prevent accidental touching, accidental touching, or others from using the user's electronic device. When the screen is locked and off, the user cannot use the electronic device, or, if audio content is playing before the screen is locked, the user can only listen to the audio content; or, when the screen is locked and on, the user can only browse part of the information or turn on specific functions such as the camera and flashlight. The electronic device needs to be unlocked by the unlocking method set by the user before the user can use the electronic device normally. Among them, the state of locked screen and off screen can also be called the locked screen off state, and the state of locked screen and on screen can also be called the locked screen on screen state.

[0061] The lock screen off state may refer to: in response to a lock screen operation, the electronic device switches to a lock screen state with the screen off. The lock screen operation may include but is not limited to: pressing a lock screen button on the side or top of the electronic device, clicking a lock screen control in the user interface, voice commands, gesture commands, etc.

[0062] The lock screen light state may refer to: when the electronic device is in the lock screen off state, in response to the screen light operation, the electronic device switches to the lock screen and the screen is lit state. The screen light operation may include but is not limited to: double-clicking the screen operation, lifting the electronic device operation, and so on. In some implementations, the electronic device can respond to user operations and set the duration of the lock screen light state. Specifically, the electronic device responds to the screen light operation, switches to the lock screen light state and lasts for a certain period of time (for example, 10s). Then the electronic device switches to the lock screen off state.

[0063] The unlocked screen-on state may refer to: when the electronic device is in the locked screen-off state or the locked screen-on state, in response to the unlocking operation, the electronic device switches to the unlocked state with the screen on. The unlocking operation may include, but is not limited to: a touch operation acting on a specific area (such as a fingerprint recognition area), a face unlocking operation facing the camera, an operation of entering a password (such as a letter and / or numeric password, a graphic password), etc. In a possible implementation, the first two operations mentioned above can be implemented when the electronic device is in the locked screen-off state or the locked screen-on state, and the latter operation can only be implemented when the electronic device is in the locked screen-on state.

[0064] Wallpaper can refer to pictures displayed on the entire screen of an electronic device, and can include lock screen wallpaper, desktop wallpaper, screen-off wallpaper, and interactive wallpaper. The above wallpapers can include pictures preset in the electronic device, and can also include pictures stored in the electronic device's photo album.

[0065] Among them, the lock screen wallpaper can be displayed when the electronic device is in the locked screen and bright screen state, the desktop wallpaper can be displayed when the electronic device is in the unlocked screen and bright screen state, the screen-off wallpaper can be displayed when the electronic device is in the locked screen and the screen is off state, and the interactive wallpaper can also be displayed when the electronic device is in the locked screen and the screen is off state. It is worth noting that the electronic device can display the screen-off wallpaper when the always on display (AOD) function is started. Among them, the AOD function refers to the function of an electronic device to display time, date, icons and other information in a partial area of ​​the screen without lighting up the entire screen (that is, the electronic device maintains low power consumption). However, the above-mentioned interactive wallpaper involved in this application is the wallpaper displayed on the main screen and / or the entire back screen under the premise that the electronic device lights up the entire main screen and / or the entire back screen, and the current electronic device is not in a low power consumption situation. In other words, the display mechanism of the screen-off wallpaper is different from that of the interactive wallpaper.

[0066] The following first introduces the structural form of the electronic device provided by the embodiment of the present application.

[0067] The electronic device provided in the embodiment of the present application is an electronic device with an outward folding screen. The outward folding screen may refer to a screen that a user can observe after folding, that is, the screen after folding is facing outward. The inward folding screen, on the other hand, faces inward after folding and is hidden, and the user cannot observe the screen after folding.

[0068] Among them, the main screen and side areas of the electronic device with an outward folding screen can be connected by a first folding component, and the back screen and side areas of the electronic device with an outward folding screen can be connected by a second folding component.

[0069] Figure 1A The structural form of the electronic device in the unfolded state is exemplified.

[0070] like Figure 1A As shown, the electronic device may include but is not limited to: a back screen 201, a main screen 202, and a side area 203. The back screen 201, the main screen 202, and the side area 203 may be referred to as a whole screen. When the electronic device is in the unfolded state, the angle between the back screen 201 and the main screen 202 is 180 degrees or approximately 180 degrees. The orientation of the whole screen of the electronic device is consistent with the orientation of the back screen 201 and the main screen 202, that is, Figure 1A The main screen orientation shown is consistent with the rear screen orientation. Further, the main screen orientation, the side area orientation, and the rear screen orientation are all consistent.

[0071] When the user faces the entire screen, the display area that the user can observe is the entire screen. In one possible implementation, the back side of the electronic device where the entire screen is located does not include a display screen. In another possible implementation, the back side of the electronic device where the entire screen is located includes a display screen. In the embodiment of the present application, the back side of the electronic device where the entire screen is located does not include a display screen as an example for explanation.

[0072] Figure 1B The structural form of an electronic device in a folded state is exemplified.

[0073] like Figure 1B As shown, (a) and (b) are structural forms of the folded electronic device observed from different directions. Among them, (a) is a schematic diagram of the structural form of the electronic device observed from the back, and (b) is a schematic diagram of the structural form of the electronic device observed from the front. In the embodiment of the present application, the front and back sides are only illustrative, and are only used to indicate that the observation angles of the two are 180 degrees, and this is not limited.

[0074] The electronic device may include, but is not limited to: a back screen 211, a main screen 212, and a side area 213. When the electronic device is in a folded state, the angle between the back screen 201 and the main screen 202 is 0 degrees or approximately 0 degrees. Optionally, the electronic device may further include: a camera 214, which is located on the same surface as the back screen 211 in the folded state. The orientation of the camera 214 does not change as the electronic device is folded or unfolded.

[0075] In (a), the direction of the back screen and the direction of the main screen are as shown in (a), and the user faces the back screen 211, and can observe the back screen 211, but cannot observe the main screen. In (b), the direction of the back screen and the direction of the main screen are as shown in (b), and the user faces the main screen 212, and can observe the main screen 212, but cannot observe the back screen. That is, when the electronic device is in a folded state, the direction of the main screen is opposite to the direction of the back screen, and the direction of the side area is 90 degrees or approximately 90 degrees to the direction of the main screen, and the direction of the side area is also 90 degrees or approximately 90 degrees to the direction of the back screen.

[0076] In the embodiments of the present application, Figure 1A and Figure 1B The structural form of the electronic device shown is only for illustrative purposes, and the electronic device may also include more or fewer structures, which is not limited to this.

[0077] In some implementations, the electronic device can display a lock screen wallpaper on the back screen and / or the main screen when the electronic device is in the lock screen and bright screen state. The electronic device can also display a desktop wallpaper on the back screen and / or the main screen when the electronic device is in the unlock screen and bright screen state.

[0078] In an embodiment of the present application, the electronic device can display an interactive wallpaper on the back screen after switching to the lock screen off state, and the interactive wallpaper is different from the lock screen wallpaper and desktop wallpaper. That is to say, when the electronic device is provided with a lock screen wallpaper and a desktop wallpaper, an interactive wallpaper can also be provided.

[0079] The following describes the method for displaying interactive wallpaper provided by an embodiment of the present application in conjunction with a user interface.

[0080] Figure 2A-2F A related user interface for setting an interactive wallpaper in an embodiment of the present application is shown.

[0081] like Figure 2A As shown, the user interface 200 is a user interface provided by the setting application of the electronic device. The electronic device can display the user interface 200 in response to the user's operation on the setting icon on the desktop. The user interface 200 may include multiple function bars, such as the folding screen area bar 204. The electronic device can display the folding screen area bar 204 in response to a click operation. Figure 2B User interface 210 is shown.

[0082] like Figure 2B As shown, the user interface 210 is a user interface for the electronic device to set functions related to the folding screen. The user interface 210 may include, but is not limited to: application display ratio control 214, application split screen control 215, and fantasy handbag control 216. Optionally, the user interface 210 may also include a personalized back screen and side display control, and the electronic device may set the back screen lock screen wallpaper in response to the personalized back screen and side display control. In the embodiment of the present application, this is not described in detail. Figure 2B As shown, the electronic device can display the user interface 220 in response to a click operation on the colorful handbag control 216 .

[0083] like Figure 2C As shown, the user interface 220 is a user interface provided by the electronic device for setting a fantasy handbag. The fantasy handbag can be understood as the above-mentioned interactive wallpaper. The user interface 220 may include but is not limited to: a back screen preview area 221, a style change control 222, a sliding control 223, a display duration control 224, and an add card control 225.

[0084] Among them, the back screen preview area 221 can be used to display the style of the interactive wallpaper set by the electronic device for the back screen, so that the user can preview the style. In a possible implementation, if the interactive wallpaper has been set before the user clicks the colorful handbag control 216, in response to the user clicking the colorful handbag control 216, when the user interface 220 is displayed, the back screen preview area 221 can display the style of the interactive wallpaper set last time.

[0085] The electronic device can respond to the click operation acting on the sliding control 223 to turn on or off the interactive wallpaper display function. Turning on the interactive wallpaper display function may mean that the electronic device can display the interactive wallpaper according to the set display duration after switching to the lock screen off state, and can also receive the user's operation on the back screen when the interactive wallpaper is displayed, and change the style of the displayed interactive wallpaper. Optionally, when the electronic device turns on the interactive wallpaper display function, it can also display a prompt message, which is used to prompt the user that if the interactive wallpaper display function is turned on, the interactive wallpaper will be displayed after each screen off, but it will increase the power consumption and heat of the electronic device to a certain extent, and further determine whether the user is sure to turn it on. Turning off the interactive wallpaper display function may mean that the electronic device does not display the interactive wallpaper after switching to the lock screen off state. If the user sets to turn on AOD, the electronic device will display AOD after switching to the lock screen off state. If the user sets to turn on AOD, the electronic device will switch to the lock screen off state. After the screen is kept off, no content is displayed. The method of setting AOD on or off will be described in detail below.

[0086] The display duration control 224 can be used to set the display duration of the interactive wallpaper. Exemplarily, the electronic device can display the user interface 230 in response to a click operation on the display duration control 224. In one possible implementation, the electronic device can preset the display duration of the interactive wallpaper (e.g., 5 minutes) and the conditions for displaying the interactive wallpaper (e.g., the battery level is not less than 20%). In the embodiment of the present application, the electronic device can preset other display durations and display conditions, which are not limited. Figure 2D As shown, user interface 230 is a user interface provided by the electronic device for setting the display duration of the fantasy handbag. Among them, user interface 230 may include but is not limited to: multiple duration controls, such as duration control 231, and cancel control 232. Exemplarily, the electronic device can respond to a click operation on the duration control 231 and set the duration of displaying the interactive wallpaper to 5 minutes. That is to say, after displaying the interactive wallpaper for 5 minutes, the electronic device no longer displays the interactive wallpaper, and can display a black screen or a screen off until the next time the electronic device switches from other states to the lock screen off state, and then displays the interactive wallpaper again for 5 minutes. Cancel control 232 can be used to indicate the cancellation of the display duration set this time, and use the display duration set last time to display the interactive wallpaper.

[0087] The add card control 225 is used to add the "Fantasy Handbag" card to the desktop. The electronic device can respond to the add card control 225 to display the following user interface 400, which will not be described in detail here.

[0088] The electronic device may display the user interface 240 in response to a click operation on the style change control 222 .

[0089] like Figure 2E As shown, user interface 240 is a user interface for setting the style of a fantasy handbag provided by an electronic device. User interface 240 may include, but is not limited to: style 241, style 242, style 243, and back screen preview area 245. Back screen preview area 245 is used to preview the style of the interactive wallpaper set to be displayed on the back screen. Exemplarily, when the user uses it for the first time, the style is not currently determined, and the back screen preview area 245 does not display a specific style; as described above, if an interactive wallpaper has been set before, the style of the interactive wallpaper set last time is displayed, and after the user selects a new interactive wallpaper, the interactive wallpaper style displayed in the preview area is updated in response to the user's selection operation.

[0090] Optionally, the electronic device may display more styles in response to an upward sliding operation on the “handbag selection” area at the bottom of the user interface 240 .

[0091] Optionally, the user interface 240 of the electronic device may further include a control 244. For example, the control 244 displays the text content "Flip to display the main screen". After the electronic device responds to the click operation on the control 244, it may display the following: Figure 2F The user interface 250 shown sets the style of the interactive wallpaper displayed on the main screen.

[0092] Exemplarily, style 241 is a handbag style, and style 241 may include but is not limited to: icon 241A, icon 241B, icon 241C, icon 241D, icon 241E, icon 241F, and style 241 may also include chain 241G. Among them, icon 241A can be used to indicate the collection function in the system application; icon 241B can be used to indicate a social application; icon 241C can be used to indicate a camera application; icon 241D can be used to indicate a clock application; icon 241E can be used to indicate a sports application; icon 241F can be used to indicate a music application. In an embodiment of the present application, the electronic device can respond to user operations and replace the icons included in style 1, for example: an icon for indicating a weather application, an icon for indicating a note application, etc., without limitation.

[0093] Style 242 is a panda style, in which the panda's posture is with both hands raised, legs curled up, and the corners of the mouth facing upward.

[0094] Style 243 is a feather style, in which the feathers are spread out naturally.

[0095] Optionally, the electronic device may include more styles, such as water flow style, multi-ball style, color changing style, etc., without limitation.

[0096] In user interface 240, the electronic device may set the interactive wallpaper of the back screen to the wallpaper of style 241, style 242, or style 243 in response to a click operation on style 241, style 242, or style 243. After setting the interactive wallpaper of the back screen, the electronic device may display the wallpaper of style 241, style 242, or style 243 in back screen preview area 245. In user interface 250, the electronic device may set the interactive wallpaper of the main screen to the wallpaper of style 241, style 242, or style 243 in response to a click operation on style 241, style 242, or style 243. After setting the interactive wallpaper of the main screen, the electronic device may display the wallpaper of style 241, style 242, or style 243 in main screen preview area 255.

[0097] Exemplarily, the electronic device may also cancel setting the interactive wallpaper as the wallpaper of style 241, the wallpaper of style 242, or the wallpaper of style 243 in response to a double-click operation on style 241, style 242, or style 243. After the electronic device cancels setting the interactive wallpaper, the electronic device may be regarded as being in a state where no interactive wallpaper is set on the back screen.

[0098] The electronic device can set corresponding interactive wallpapers on the main screen and the back screen at the same time in response to the user's operation, or set interactive wallpapers only on the main screen, or set interactive wallpapers only on the back screen. When setting corresponding interactive wallpapers on the main screen and the back screen at the same time, the interactive wallpaper set on the main screen and the interactive wallpaper on the back screen can be the same or different, and this application does not limit this. In a possible implementation, a check control may also be included in the upper area of ​​the user interface 240 and the user interface 250, and the check control is used to set whether the interactive wallpaper set is effective on the corresponding screen.

[0099] For example, in the user interface 240, in response to the user selecting the checkbox control, the electronic device may determine (if Figure 2C In the user interface 240, in response to the user canceling the checkbox operation, the electronic device can determine (if Figure 2C Similarly, in the user interface 250, in response to the user selecting the check control operation, the electronic device can determine (if Figure 2C In the user interface 250, in response to the user canceling the operation of checking the checkbox, the electronic device can determine (if Figure 2C The screen off display function in the user interface 220 shown in the figure is turned on), when the screen is off, the interactive wallpaper is not displayed on the main screen. The check controls of the user interface 240 and the user interface 250 can be selected at the same time, or one of them can be selected, and this application does not limit this. It should be noted that if Figure 2C If the screen-off display function in the user interface 220 shown is turned off, then regardless of whether the check controls in the user interface 240 and the user interface 250 are selected, the electronic device will not display interactive wallpaper on the main screen and the back screen when the screen is off.

[0100] According to the user's settings as described above, the electronic device can display the same style of interactive wallpaper on the main screen and / or the back screen in response to the user's operation; the electronic device can also display different styles of interactive wallpaper on the main screen and / or the back screen in response to the user's operation. Further, the electronic device can display the interactive wallpaper only on the main screen in response to the user's operation. Optionally, the electronic device can determine whether the interactive wallpaper is displayed only on the main screen or on the back screen by judging whether the screen is facing upward.

[0101] Exemplarily, the electronic device may display user interface 250 in response to a click operation on control 244. User interface 240 is a user interface for setting the style of a colorful handbag provided by the electronic device. Similarly, user interface 250 may include style 251, style 252, and style 253. And a main screen preview area 255. The main screen preview area 255 is used to preview the style of the interactive wallpaper currently set to be displayed on the main screen. Exemplarily, the style of the interactive wallpaper has not been determined at present, and the main screen preview area 255 does not display a specific style. Optionally, the electronic device may display more styles in response to an upward sliding operation on the "handbag selection" area.

[0102] Optionally, the electronic device may further include a control 254. The control 254 is used to indicate the setting of the interactive wallpaper displayed on the back screen. Exemplarily, the control 254 displays the text content "Flip to display the back screen". For example, in response to the user's operation on the control 254, the electronic device may display the user interface 240.

[0103] The electronic device can respond to a click operation on style 251, style 252, or style 253, and set the interactive wallpaper displayed on the main screen to the wallpaper of style 251, the wallpaper of style 252, or the wallpaper of style 253. After setting the interactive wallpaper, the wallpaper of style 251, the wallpaper of style 252, or the wallpaper of style 253 can be displayed in the main screen preview area 255. Exemplarily, the electronic device can also respond to a double-click operation on style 251, style 252, or style 253, and cancel the setting of the interactive wallpaper to the wallpaper of style 251, the wallpaper of style 252, or the wallpaper of style 253. After the electronic device cancels the setting of the interactive wallpaper, the electronic device can be regarded as a state where the interactive wallpaper is not set on the main screen.

[0104] Figure 3A-Figure 3I The following is a user interface showing interactive wallpapers in an embodiment of the present application. Figure 3A-Figure 3I The user interface shown is illustrated with the electronic device in landscape mode.

[0105] like Figure 3AAs shown, user interface 300 is a user interface for an electronic device to display an interactive wallpaper. Among them, the interactive wallpaper of style 241 is displayed in user interface 300. User interface 300 can be an interface displayed by the electronic device after the screen is turned off in response to the user's operation. User interface 300 may include but is not limited to: icon 301, icon 302, icon 303, icon 304, icon 305, icon 306, chain 307. Among them, the states of icon 301, icon 302, icon 303, icon 304, icon 305, and icon 306 are respectively the states of the pendant on the chain drooping naturally under the simulated real state. The state of chain 307 is the state of the chain drooping naturally under the simulated real state. The electronic device can respond to the sliding operation acting on chain 307 and display user interface 310. The direction of the sliding operation can refer to Figure 3A Alternatively, the electronic device may adjust the states displayed by the chain 307 and icons 301-306 in response to the user shaking the phone or adjusting the state of the phone (horizontally, vertically, etc.). For example, the electronic device may calculate the motion state of the electronic device based on the motion data of the electronic device collected by the detected motion sensor, gravity sensor, etc., and thus adjust the states displayed by the chain 307 and icons 301-306 according to the motion state.

[0106] like Figure 3B As shown, the interactive wallpaper of style 241 is also displayed in user interface 310. User interface 310 may include but is not limited to: icon 311, icon 312, icon 313, icon 314, icon 315, icon 316, and chain 317. The state of chain 317 simulates the state of the chain after being shaken by the user in the real state. The state of chain 317 simulates the state of the chain after shaking with the electronic device in the real state. Figure 3B As shown, the chain 317 may be wavy. In the embodiment of the present application, it is not limited to Figure 3B The shape of the chain 317 in the electronic device can also change the chain 317 into any shape in response to user operation, as long as its length remains unchanged. Icons 311, 312, 313, 314, 315, and 316 can change with the change of the shape of the chain 317. It is worth noting that the process of the electronic device changing the shape of the chain 317 is a dynamic process visible to the user. In this process, each icon can swing with the change of the chain 317.

[0107] For example, the electronic device may display the user interface 320 in response to a click operation on the icon 312 .

[0108] like Figure 3CAs shown, the user interface 320 may include but is not limited to: a prompt box 321. The prompt box 321 is provided by the application indicated by the icon 312, for example, provided by a social application. The size of the prompt box 321 is not larger than the size of the back screen. Exemplarily, the prompt box 321 may display a chat box interface. In one possible implementation, the chat box interface displayed by the prompt box 321 may be the first chat box in the social application, or the chat box interface displayed by the prompt box 321 may be any chat box interface with a friend. In the embodiment of the present application, the chat box interface displayed by the above prompt box 321 is only for exemplary explanation, and a message sent by a friend may also be displayed, which is not limited. The electronic device may enter the social application in response to a click operation on the prompt box 321. In one possible implementation, before entering the social application, if the electronic device is set with a lock screen password, the electronic device may first display the lock screen interface in response to a click operation on the prompt box 321. Then the electronic device enters the social application after receiving the unlock operation. Among them, the lock screen interface can refer to the following Figure 5D The unlocking operation may include but is not limited to: a touch operation on a specific area (such as a fingerprint recognition area), a face unlocking operation facing the camera, an operation of entering a password (such as an alphabetic and / or numeric password, a graphic password), etc.

[0109] For example, the electronic device may display the user interface 330 in response to a click operation on the icon 314. Figure 3D As shown, the user interface 330 may include, but is not limited to: a prompt box 331. The prompt box 331 is provided by the application indicated by the icon 313, for example, by the clock application. The size of the prompt box 331 is not larger than the size of the back screen. Exemplarily, the prompt box 331 may display the clock date, such as "10:08 Sunday, September 26". In the embodiment of the present application, the clock date displayed in the above prompt box 331 is only for exemplary explanation, and the alarm time, etc. may also be displayed, which is not limited. The electronic device may enter the clock application in response to a click operation on the prompt box 331. In a possible implementation, before entering the clock application, if the electronic device is set with a lock screen password, the electronic device may first display the lock screen interface in response to a click operation on the prompt box 331. Then the electronic device enters the clock application after receiving the unlock operation.

[0110] For example, the electronic device may display the user interface 340 in response to a click operation on the icon 316. Figure 3EAs shown, the user interface 340 may include but is not limited to: a prompt box 341. The prompt box 341 is provided by the application indicated by the icon 314, for example, by the music application. The size of the prompt box 341 is not larger than the size of the back screen. Exemplarily, the prompt box 341 can display the name of the song currently being played and the name of the singer. In the embodiment of the present application, the song name and the name of the singer displayed in the above prompt box 331 are only exemplary, and the content in other music applications can also be displayed, etc., which is not limited. The electronic device can control the pause or start of playing music with the prompt box 341, and play the previous or next music. The electronic device can enter the music application in response to a click operation on the prompt box 341. In a possible implementation, before entering the music application, if the electronic device is set with a lock screen password, the electronic device can respond to the click operation on the prompt box 341 and display the lock screen interface first. Then the electronic device enters the music application after receiving the unlock operation. The above-mentioned prompt boxes can play a role in preventing accidental touches before the electronic device enters various applications.

[0111] like Figure 3F As shown, user interface 350 is a user interface for an electronic device to display an interactive wallpaper. Among them, the interactive wallpaper of style 242 is displayed in user interface 350. User interface 350 may include a panda picture 351. The posture of panda picture 351 is raised with both hands, legs curled up, and the corners of the mouth facing up. The electronic device can respond to the click operation on panda picture 351 and display user interface 360.

[0112] like Figure 3G As shown, the interactive wallpaper of style 242 is also displayed in user interface 360. User interface 360 ​​may include panda picture 361. The posture of panda picture 361 is with hands down, legs straight, and mouth corners down. And the position of panda picture 361 in the wallpaper has also changed. It has moved a distance to the right relative to the position of panda picture 351. In the embodiment of the present application, it is not limited to Figure 3G In one possible implementation, the electronic device can change the posture of the panda picture 361 to a different posture each time in response to a user operation. It is worth noting that the process of the electronic device changing the posture of the panda picture 361 is a dynamic and user-visible process.

[0113] like Figure 3HAs shown, user interface 370 is a user interface for an electronic device to display an interactive wallpaper. Among them, the interactive wallpaper of style 243 is displayed in user interface 370. User interface 370 may include feather image 371. The state of feather image 371 simulates the state of feathers naturally spreading out in the direction of their growth in a real state. The electronic device can respond to a sliding operation on area 372 and display user interface 380. The direction of the sliding operation can refer to Figure 3H The direction of the arrow.

[0114] like Fig. 3I As shown, the interactive wallpaper of style 243 is also displayed in user interface 380. User interface 380 may include feather image 381. The state of the feathers in area 382 of feather image 381 simulates the state in which the feathers are moved by fingers and fit together with other feathers in a real state. Fig. 3I In one possible implementation, the electronic device can change the state of the feather in area 382 to a different state in response to a sliding operation in different directions. It is worth noting that the process of the electronic device changing the state of the feather in area 382 is a dynamic process visible to the user.

[0115] Not limited to the above styles, the electronic device can also change the color of the picture in the interactive wallpaper according to the change of ambient light; the electronic device can also change the relative position of the internal elements of the picture in the interactive wallpaper according to the currently recognized gravity direction, etc.

[0116] Figure 4A-4J A related user interface for setting an interactive wallpaper in an embodiment of the present application is shown.

[0117] Exemplarily, the electronic device may respond to a click operation on style 241 and set the interactive wallpaper to the wallpaper of style 241. Afterwards, the electronic device may respond to the user clicking the return control operation and return to displaying the user interface 220, at which time the wallpaper of style 241 is displayed in the back screen preview area 245 of the user interface 220. In some implementations, the electronic device may automatically display pop-up information, i.e., display the user interface 400, after detecting the interactive wallpaper set with style 241 in the user interface 220. In another possible implementation, the electronic device may respond to a click operation on adding a card control 225 in the user interface 220 and display the user interface 400.

[0118] like Figure 4AAs shown, the user interface 400 may include, but is not limited to: a back screen preview area 401, a style change control 402, and a prompt box 403. The back screen preview area 401 displays the style of the currently selected interactive wallpaper, such as style 241. Among them, the prompt box 403 may include: prompt information 403A, card 403B, check control 403C, cancel control 403D, and add control 403E. Exemplarily, the prompt information 403A displays the text message "Do you want to add the "Fantasy Handbag" card to the desktop?". Card 403B may include: card name 403F, preview wallpaper 403G, and control 403H. Among them, the card name 403F displays the text message "Fantasy Handbag". The preview wallpaper 403G is consistent with the content displayed in the back screen preview area 401, but the size is inconsistent. Control 403H is used to indicate that the electronic device can enter the lock screen off state. Checking control 403C can be used to indicate that after the style of the interactive wallpaper is changed next time, prompt box 403 will not be displayed, and the setting of adding or not adding card 403B this time will be used by default. The electronic device can respond to a click operation on cancel control 403D to cancel adding card 403B. The electronic device can also respond to a click operation on add control 403E to add card 403B to the desktop. After the electronic device adds card 403B, the electronic device can respond to the user operation and display user interface 410.

[0119] In a possible implementation, the electronic device may automatically add a card of “Fantasy Handbag”. Exemplarily, after the electronic device detects the interactive wallpaper with style 241 in the user interface 220 , it may automatically display pop-up information, that is, display the user interface 410 .

[0120] like Figure 4B As shown, the user interface 410 may include a back screen preview area 411, a style change control 412, and a prompt box 413. Among them, the prompt box 413 may include: prompt information 413A, card 413B, check control 413C, and control 413D. Exemplarily, the prompt information 413A displays the text message "The "Fantasy Handbag" card has been automatically added to the desktop", and the card 413B can refer to the above-mentioned related instructions about card 403B, which will not be repeated here. Checking control 413C can be used to indicate that the card can be automatically added next time without prompting. Control 413D is used to close the prompt box 413. After the electronic device adds card 413B, the electronic device can respond to the user operation and display the user interface 420.

[0121] like Figure 4CAs shown, user interface 420 is a desktop provided by the electronic device. User interface 420 may be the desktop displayed by the electronic device in response to a user sliding left when the main interface is displayed. In a possible implementation, the electronic device may add card 403B or card 413B to the main interface by default.

[0122] User interface 420 may include, but is not limited to: card 421. Card 421 is provided by the settings application and is used to enable a card for displaying the interactive wallpaper function. Further, card 421 may also be used to respond to user operations and view or change the style of the interactive wallpaper. Further, card 421 may also be used to enable the electronic device to respond to user operations, enter a lock screen state, and display the interactive wallpaper on the main screen or back screen. The size of card 421 may be as follows: Figure 4C As shown, it can also be Figure 4C The card 421 may be twice the size of the card shown; the card 421 may be square, rectangular, circular, oval, etc.; the background color of the card 421 may be light or dark. In the embodiment of the present application, the size, shape, and background color of the card 421 are not limited.

[0123] Card 421 may include: card name 421A, preview wallpaper 421B, and control 421C. For example, card name 421A displays the text content "Fantasy Handbag", and preview wallpaper 421B displays the wallpaper of style 241. The electronic device may enter the lock screen state in response to a click operation on control 421C, and display the interactive wallpaper on the main screen or back screen.

[0124] Specifically, Figure 2C The screen-off display function in the user interface 220 shown is turned off, and the sliding control 223 is in the closed state. The electronic device can respond to a click operation on the control 421C when the function of displaying interactive wallpaper is turned off in the setting application, and enter the locked screen off state, and display the interactive wallpaper of the style indicated by the preview wallpaper 421B for a period of time (for example, 5 minutes or 30 seconds). Afterwards, after the electronic device switches to the unlocked screen-on state, in response to the lock screen operation, such as a press operation on the lock screen button, the electronic device enters the locked screen off state. However, since the electronic device turns off the function of displaying interactive wallpaper in the setting application, the electronic device cannot display the interactive wallpaper at this time. In other words, the interactive wallpaper is turned on through the desktop card, and it is only turned on once.

[0125] In this way, users can observe the style of the interactive wallpaper more conveniently without having to first enable the function of displaying the interactive wallpaper and then switch to the lock screen state to display the interactive wallpaper.

[0126] Of course, if Figure 2C The screen-off display function in the user interface 220 shown is turned on, and the sliding control 223 is in the turned-on state. When the function of displaying the interactive wallpaper is turned on, the electronic device can also respond to a click operation on the control 421C, enter the lock screen off state, and display the interactive wallpaper of the style indicated by the preview wallpaper 421B for a period of time (for example, 5 minutes or 30 seconds). In response to the click operation on the control 421C, the lock screen off state is entered, and the duration of displaying the interactive wallpaper can be fixed.

[0127] Exemplarily, the electronic device may respond to a click operation on the control 421C, enter a locked screen state, and display the following information on the back screen: Figure 4D The user interface 430 shown in FIG. 430 may display an interactive wallpaper of the style indicated by the preview wallpaper 421B. When the electronic device turns on the AOD function, the electronic device may display the following after displaying the user interface 430 for a period of time: Figure 4E The user interface 440 is shown. The screen-off wallpaper is displayed in the user interface 440. When the AOD function is not turned on in the electronic device, the electronic device controls the back screen to turn off after displaying the user interface 430 for a period of time.

[0128] For example, when the electronic device turns off the function of displaying interactive wallpaper in the setting application and turns on the AOD function, the electronic device can display the interactive wallpaper in the following manner: Figure 4F When the user interface 450 shown in FIG. 1 is displayed, in response to the lock screen operation, the following Figure 4G The user interface 460 is consistent with the above-mentioned user interface 440. When the electronic device turns off the function of displaying interactive wallpaper and the AOD function in the setting application, the electronic device can display the interactive wallpaper as shown in FIG. Figure 4F When the user interface 450 is shown, in response to the lock screen operation, the back screen is controlled to turn off.

[0129] In a possible implementation, when the electronic device is in the unfolded state, the electronic device cannot display the interactive wallpaper in the locked screen state. Figure 4H . User interface 470 is also a desktop provided by the electronic device. User interface 470 also includes card 471. Card 471 may include: prompt message 471A, preview wallpaper 471B, and control 471C. Among them, prompt message 471A can be used to prompt the user that the function of displaying interactive wallpaper is invalid in the current state and needs to be effective after the electronic device is folded. Exemplarily, prompt message 471A may display the text content "Please fold and experience". The electronic device cannot respond to the click operation on control 471C and enter the lock screen state. That is, the current operation on control 471C is an invalid operation. After the electronic device is folded, it can display the following Fig. 4IUser interface 480 is shown. User interface 480 is consistent with user interface 420.

[0130] In another possible implementation, when the power level of the electronic device is lower than a power threshold (eg, 20%), the electronic device cannot display the interactive wallpaper in the locked screen state. Figure 4J , user interface 490 is also a desktop provided by the electronic device. User interface 490 also includes card 491. Card 491 may include: prompt information 491A, preview wallpaper 491B, and control 491C. Among them, prompt information 491A can be used to prompt the user that the function of displaying interactive wallpaper is invalid in the current state, and it needs to take effect after the power of the electronic device is greater than the power threshold. Exemplarily, prompt information 491A may display the text content "Battery is too low". The electronic device cannot respond to the click operation on control 491C and enter the lock screen state. That is, the current operation on control 491C is an invalid operation. After the power of the electronic device exceeds the power threshold, the user interface 480 can be displayed.

[0131] In the embodiment of the present application, the content contained in the card 421 is only illustrative, and may include more or fewer functions, without limitation. Moreover, the location of the card 421 on the desktop is only illustrative, and may also be located in other desktop interfaces, such as the negative first-layer desktop, the main interface, etc., without limitation.

[0132] Figure 5A-Figure 5I The relevant user interface for displaying the interactive wallpaper in the embodiment of the present application is shown. In the embodiment of the present application, the electronic device is in a folded state and the user interface is displayed on the main screen as an example for explanation.

[0133] Exemplarily, the electronic device may set the interactive wallpaper as the wallpaper of the style 241 in response to the click operation on the style 241. Thereafter, the electronic device may display the user interface 500 on the display screen in response to the user operation.

[0134] like Figure 5A As shown, user interface 500 is the main interface provided by the electronic device. In the embodiment of the present application, user interface 500 is not limited, and any user interface can be used. The electronic device can respond to the lock screen operation and switch from the unlocked screen-on state to the locked screen-off state.

[0135] Once the electronic device enters the lock screen off state, it will display the following Figure 5BThe user interface 510 shown. It is worth noting that the duration for which the electronic device displays the user interface 510 may be the display duration of the interactive wallpaper set by the user (e.g., 5 minutes displayed by the display duration control 224), or may be a display duration preset by the electronic device. The user interface 510 may refer to the user interface 300 described above.

[0136] When the back screen of the electronic device displays the user interface 510, the main screen of the electronic device displays the user interface 520. Figure 5C As shown, the user interface 520 may include: a prompt image 521 and a prompt message 522. Among them, the prompt image 521 includes an arrow and a screen, which is used to prompt the user to turn over the electronic device. The prompt message 522 may display the text content "Please turn over, the fantasy colorful handbag is displayed on the back screen". In a possible implementation, when the electronic device displays the user interface 510 on the back screen, the electronic device can also control the main screen to turn off. That is, the main screen does not display the user interface 520. This can save power consumption.

[0137] For example, when the AOD function is turned on in the electronic device, after the electronic device displays the user interface 510 on the back screen and displays the user interface 520 on the main screen for a period of time, the following information may be displayed on the back screen: Figure 5D The user interface 530 shown in FIG. 1 shows a main screen as follows: Figure 5E User interface 540 is shown. When the electronic device turns off the AOD function, the electronic device controls the back screen and the main screen to turn off.

[0138] The electronic device can respond to the screen-lit operation in the user interface 510 or the user interface 520 by displaying on the back screen such as Fig. 5F The user interface 550 shown in FIG. 1 shows the main screen as follows: Figure 5G User interface 560 is shown. User interface 550 displays a lock screen wallpaper. User interface 560 also displays a lock screen wallpaper. The screen light operation may include but is not limited to: double-clicking the screen operation, pressing the lock screen button on the side or top of the electronic device, etc. User interface 560 may include: lock screen wallpaper 561, lock screen indicator 562 and date and time indicator 563. The electronic device may display user interface 500 in response to the unlock operation.

[0139] It is worth noting that the electronic device can switch from the lock screen off state to the lock screen on state. When the electronic device turns on the back screen lock screen display function, the electronic device can display the lock screen wallpaper on the back screen after being in the lock screen on state in the folded state. And the lock screen wallpaper displayed on the back screen can be consistent with the lock screen wallpaper displayed on the main screen, for example, the wallpapers shown in user interface 550 and user interface 560 may also be inconsistent. When the electronic device turns off the back screen lock screen display function, the lock screen wallpaper will not be displayed on the back screen, and the electronic device can control the back screen to be black.

[0140] In an embodiment of the present application, when the AOD function and the interactive wallpaper display function are turned on in an electronic device, the electronic device can preferentially display the interactive wallpaper in the locked screen off state. After the interactive wallpaper display time reaches a preset time, the screen off wallpaper can be displayed according to the set mode for displaying the AOD interface. When the AOD function is not turned on in an electronic device but the interactive wallpaper display function is turned on, the electronic device can display the interactive wallpaper in the locked screen off state. After the interactive wallpaper display time reaches a preset time, the electronic device can control the display screen to turn off, that is, the screen off wallpaper will not be displayed. The entry for turning on the AOD function and turning on the interactive wallpaper display function of the electronic device is inconsistent, that is, the AOD function and the interactive wallpaper are two different display functions. Reference Figure 5H The user interface 570 is a user interface provided by the setting application of the electronic device. The electronic device can display the user interface 570 in response to the user's operation on the setting icon on the desktop. The user interface 570 can include multiple function bars, such as the screen off and lock screen bar 571 (or the desktop and wallpaper setting bar). The electronic device can display the screen off and lock screen bar 571 in response to the click operation. Fig.5I The user interface 580 is shown. Fig.5I As shown, user interface 580 is a user interface for the electronic device to set functions related to screen off and screen lock. User interface 580 may include, but is not limited to: screen off display control 581. Screen off display control 581 may also include prompt information, for example, the prompt information may display the text content "enabled", which indicates that the electronic device has enabled the screen off display function, and clicking control 581 may also set the screen off display function, for example, turn off the screen off display function, or set the content of the screen off display function, etc.

[0141] The embodiment of the present application provides a method for displaying an interactive wallpaper and a related device. In the method, the electronic device can be set to display an interactive wallpaper on the back screen in the locked screen off state. Then, when the electronic device is in the locked screen off state, the interactive wallpaper is displayed. After that, the user's operation on the interactive wallpaper is detected, and the content displayed by the interactive wallpaper is changed.

[0142] By implementing the above method, various interactive wallpapers can be set to fully meet the personalized needs of users. It can also enable electronic devices in the locked screen state to display interactive wallpapers, which is more beautiful. In addition, users can also operate the interactive wallpapers and observe the changes of the interactive wallpapers, making the process of users using electronic devices more interesting.

[0143] Combine the following Figure 6 Hereinafter, a method for displaying wallpaper provided in an embodiment of the present application will be introduced. Figure 6 The method execution subject shown can be the electronic device mentioned above. Or, Figure 6 The method execution entity shown may be a chip in an electronic device, which is not limited in the embodiments of the present application. Figure 6 The electronic device is used as an example to illustrate the method, wherein the electronic device includes a display screen, and the display screen includes a main screen and a back screen. Figure 6 The method flow shown is described when the electronic device is in a folded state. When the electronic device is in the folded state, the main screen and the back screen face opposite directions. The method includes:

[0144] S601: The electronic device sets a first wallpaper as an interactive wallpaper.

[0145] Interactive wallpaper can refer to the wallpaper displayed on the back screen after the electronic device switches to the lock screen off state. And the interactive wallpaper can change in form based on user operations. Interactive wallpaper can be provided by the system application in the electronic device.

[0146] In some implementations, the electronic device can respond to a user operation to set the first wallpaper as an interactive wallpaper. Exemplarily, the electronic device can respond to a click operation on a setting icon to enter a setting application, and then set the first wallpaper as an interactive wallpaper; the electronic device can also respond to a click operation on a card of an interactive wallpaper to enter an interactive wallpaper setting interface, and then set the first wallpaper as an interactive wallpaper.

[0147] Before the electronic device sets the first wallpaper as the interactive wallpaper, the electronic device can set the duration of the interactive wallpaper displayed on the back screen, for example, 15 seconds, 30 seconds, 1 minute, 5 minutes, etc. Before the electronic device sets the first wallpaper as the interactive wallpaper, the electronic device can preview the first wallpaper to observe the effects of various styles of the first wallpaper. Optionally, the electronic device can also adjust the elements included in the first wallpaper.

[0148] The style of the first wallpaper can be of various types. For example, a wallet style, an animal style, a feather style, a water flow style, a multi-ball style, etc. Exemplarily, when the first wallpaper is a wallet style, the electronic device can adjust the elements contained in the first wallpaper, for example, changing the icon used to indicate a social application to an icon used to indicate a weather application. In the embodiment of the present application, the style of the first wallpaper is only illustrative, and more styles may be included, which is not limited.

[0149] Each style of the first wallpaper can also include multiple states. The first wallpaper in different states can contain the same elements, and the same elements may have different forms in the first wallpaper in different states. The form of the element may include but is not limited to: the size, position, shape, color, motion state, etc. of the element. For example, refer to the above Figure 3A Chain 307 and Figure 3B Chain 317 in Figure 3E Panda pictures 351 and Figure 3F Panda pictures in 361, Figure 3G The feathers in area 372 are Figure 3H The feathers in area 382.

[0150] S602: The electronic device detects that the screen is locked or turned off.

[0151] In some implementations, the electronic device can switch from an unlocked screen-on state to a locked screen-off state, or from a locked screen-on state to a locked screen-off state. In an embodiment of the present application, the state of the electronic device before switching to the locked screen-off state is not limited. Exemplarily, the electronic device can respond to a lock screen operation and switch from an unlocked screen-on state to a locked screen-off state. The lock screen operation may include but is not limited to: pressing a lock screen button on the side or top of the electronic device, clicking on a lock screen control in the user interface, voice commands, and gesture commands, etc. Another exemplary embodiment, the electronic device can respond to a press operation of a lock screen button on the side or top of the electronic device or after a period of time (e.g., 10 seconds) to switch from a locked screen-on state to a locked screen-off state.

[0152] In a possible implementation, the electronic device may be provided with a card of an interactive wallpaper on the desktop. The card includes a screen-off control. The electronic device may enter a locked screen-off state in response to a click operation on the screen-off control.

[0153] In some implementations, the electronic device may immediately respond to the screen lock operation and execute S602 after executing S601. The electronic device may also first respond to the screen lock operation after executing S601, then immediately respond to the screen light operation, and then execute S602.

[0154] S603: The electronic device displays a first wallpaper in a first state on a back screen.

[0155] Before the electronic device displays the first wallpaper in the first state on the back screen, the electronic device needs to enable the function of displaying the interactive wallpaper. Exemplarily, the electronic device can enable the interactive wallpaper function in the settings application or through the interactive wallpaper card on the desktop.

[0156] In some implementations, once the electronic device switches to the locked screen state, the first wallpaper in the first state is immediately displayed. Specifically, the electronic device can immediately switch from displaying a black screen on the back screen to displaying the first wallpaper in the first state. In this way, the user can observe that the electronic device is in the locked screen state at this time.

[0157] The first wallpaper in the first state may refer to the first wallpaper in the default state preset by the electronic device, that is, the first wallpaper previewed by the electronic device. Figure 3A , Figure 3E as well as Figure 3G .

[0158] Since the first wallpaper is not a low-power off-screen display, the electronic device has a limit on the duration of displaying the first wallpaper in consideration of power consumption. The electronic device can set a preset duration for each continuous and uninterrupted display of the first wallpaper, for example, 5 minutes.

[0159] In a possible implementation, the sum of the durations that the electronic device displays the interactive wallpapers in different states each time does not exceed a preset duration. Exemplarily, if the electronic device displays the first wallpaper in the first state for more than five minutes and the electronic device does not display the first wallpaper in other states, then at the 5th minute of displaying the first wallpaper, the electronic device switches from displaying the first wallpaper to a black screen on the back screen; if the electronic device switches to displaying the first wallpaper in the second state at the 2nd minute of displaying the first wallpaper in the first state, then at the 3rd minute of displaying the first wallpaper in the second state, the electronic device switches from displaying the first wallpaper to a black screen on the back screen. The above total durations for displaying the first wallpaper are all 5 minutes.

[0160] In another possible implementation, the duration of each state of the interactive wallpaper displayed by the electronic device each time does not exceed the display duration. Exemplarily, if the electronic device displays the first wallpaper in the first state for more than five minutes and the electronic device does not display the first wallpaper in other states, then at the 5th minute of displaying the first wallpaper, the electronic device switches from displaying the first wallpaper to a black screen on the back screen, and the total duration of displaying the first wallpaper is 5 minutes; if the electronic device switches to displaying the first wallpaper in the second state at the 2nd minute of displaying the first wallpaper in the first state, then at the 5th minute of displaying the first wallpaper in the second state, the electronic device switches from displaying the first wallpaper to a black screen on the back screen, and the total duration of displaying the first wallpaper is 7 minutes.

[0161] In the embodiment of the present application, there is no limitation on the content displayed on the back screen of the electronic device after the interactive wallpaper is displayed for more than a preset time. It can be displayed in black or off, refer to the above description.

[0162] S604: The electronic device receives a user operation and displays the first wallpaper in the second state on the back screen.

[0163] In some implementations, the user operation may include, but is not limited to: a click operation, a sliding operation in any direction, a two-finger zoom-in or zoom-out operation, a two-finger rotation operation, and the like.

[0164] In some implementations, when the electronic device displays the first wallpaper in the first state, a user operation may be received to display the first wallpaper in the second state on the back screen. The time for the electronic device to display the first wallpaper in the second state may refer to the relevant description of S603 above, which is not repeated here.

[0165] The following is an exemplary introduction of the first wallpaper in the first state and the first wallpaper in the second state in different styles.

[0166] Exemplarily, when the style of the first wallpaper is a handbag style, the first wallpaper in the first state may display a naturally drooping chain and various icons naturally connected to the chain in a simulated real state. The first wallpaper in the second state may display a wavy chain and various icons that change with the chain after the user pulls the chain in a simulated real state. The user operation of the switching state may be a sliding operation acting on the chain. Optionally, the second state may display a wavy chain and various icons that change with the chain after the electronic device shakes in a simulated real state. Specifically, the acceleration sensor, gravity sensor, and motion sensor of the electronic device can detect whether the electronic device is shaking, or whether the posture of the electronic device changes.

[0167] When the style of the first wallpaper is an animal style, the animal may refer to various animals, such as a panda, etc. The first wallpaper in the first state displays an animal picture in a first posture. For example, the first posture may include: raising both hands, curling up legs, and turning up the corners of the mouth. The first wallpaper in the second posture displays the same animal picture in a second posture. For example, the second posture may include: lowering both hands, straightening legs, and turning down the corners of the mouth. The user operation of switching the state may be a click operation on the animal picture.

[0168] When the style of the first wallpaper is a feather style. The first wallpaper in the first state displays feathers that are naturally spread out in the growth direction in a simulated real state. The first wallpaper in the second state displays feathers that are attached to other feathers after a user moves some feathers in a simulated real state. The user operation of switching the state may be a sliding operation acting on some feathers.

[0169] In the embodiment of the present application, the first wallpaper may have more styles, and the first wallpaper of different styles may have more states. The above styles and states are merely illustrative and not limiting.

[0170] Furthermore, the electronic device can also display the first wallpaper in the third state on the back screen in response to the user operation again while displaying the first wallpaper in the second state on the back screen. The description of the first wallpaper in the third state can be referred to the above content and will not be repeated here.

[0171] Optionally, the electronic device can also detect ambient light and display the first wallpaper in the second state on the back screen. Exemplarily, the style of the first wallpaper can be a chameleon style. After the electronic device switches to the lock screen state, it immediately displays the first wallpaper in the first state, and the first wallpaper in the first state displays a chameleon picture with natural skin color. Then the electronic device detects that the current ambient light is yellow light, and displays the first wallpaper in the second state, and the first wallpaper in the second state displays a yellow chameleon picture. Furthermore, when the electronic device detects that the color of the ambient light has changed, it can also display the first wallpaper in the third state on the back screen.

[0172] Optionally, the electronic device can also detect that the posture of the electronic device has changed, and display the first wallpaper in the second state on the back screen. Exemplarily, the style of the first wallpaper can be a water flow style or a multi-ball style. After the electronic device switches to the lock screen off state, the first wallpaper in the first state is immediately displayed. The first wallpaper in the first state displays a water flow or multiple small balls accumulated at the bottom of the back screen due to gravity in a simulated real state. Then the electronic device detects that the posture of the electronic device has changed. For example, the electronic device sways left and right as the user walks, and displays the first wallpaper in the second state. The first wallpaper in the second state displays a water flow or multiple small balls swaying in a simulated real state as the electronic device swings left and right. For example, the electronic device swings to the left, and the water flow or multiple small balls in the first wallpaper are accumulated to the lower left of the back screen; the electronic device swings to the right, and the water flow or multiple small balls in the first wallpaper are accumulated to the lower right of the back screen.

[0173] It is worth noting that the process of the back screen of the electronic device switching from displaying the first wallpaper in the first state to displaying the first wallpaper in the second state is a gradual change process rather than a sudden change process. The user can observe that the first wallpaper gradually switches from the first state to the second state.

[0174] Optionally, S605: when the first wallpaper includes a first icon, the electronic device receives a click operation on the first icon and displays a first prompt box, wherein information contained in the first prompt box is provided by an application indicated by the first icon.

[0175] The electronic device may execute S605 after executing S603 or S604.

[0176] In some implementations, the electronic device stores a plurality of first wallpapers of various styles including icons. For example, the first wallpaper is of a wallet style. In the embodiment of the present application, other styles may also include icons, which is not limited thereto.

[0177] For example, the first wallpaper in the wallet style may include but is not limited to: an icon for indicating a favorites function in a system application; an icon for indicating a social application; an icon for indicating a camera application; an icon for indicating a clock application; an icon for indicating a sports application; an icon for indicating a music application, etc. The electronic device may also change the icons included in the first wallpaper in response to a user operation.

[0178] Exemplarily, when the first icon is an icon for indicating a social application, the first prompt box may include: a chat box or message prompt information; when the first icon is an icon for indicating a camera application, the first prompt box may include: a recently taken photo; when the first icon is an icon for indicating a clock application, the first prompt box may include: time and date information; when the first icon is an icon for indicating a sports application, the first prompt box may include: exercise step information; when the first icon is an icon for indicating a music application, the first prompt box may include: the name of the currently playing song and the singer's name information.

[0179] In the embodiment of the present application, the above-mentioned first icon is only used for exemplary explanation, and the first icon can also be used to indicate more application programs, which is not limited.

[0180] In one possible implementation, after displaying the first prompt box, the electronic device can respond to a click operation on an area other than the icon in the first wallpaper by not displaying the first prompt box; it can also respond to a click operation on a second icon by not displaying the first prompt box and displaying a second prompt box at the same time, and the information contained in the second prompt box is provided by the application indicated by the second icon.

[0181] Optionally, S606: the electronic device receives a click operation on the first prompt box and displays a first user interface, where the first user interface belongs to an application indicated by the first icon.

[0182] After executing S605, the electronic device may execute S606.

[0183] In some implementations, if the electronic device sets a lock screen password, the electronic device may display the lock screen wallpaper after receiving a click operation on the first prompt box. Afterwards, after the electronic device receives an unlock operation, the first user interface may be displayed. The unlock operation may include but is not limited to: a touch operation on a specific area (e.g., a fingerprint recognition area), a face unlock operation facing the camera, an operation of entering a password (e.g., a letter and / or numeric password, a graphic password), and the like.

[0184] Specifically, the electronic device receives a click operation or a double-click operation on the first prompt box, displays the lock screen wallpaper on the main screen, and displays the lock screen wallpaper or a black back screen on the back screen. Afterwards, the electronic device can respond to the unlock operation and display the first user interface.

[0185] Exemplarily, when the first icon is an icon for indicating a social application, the first user interface displays a chat box included in the first prompt box; when the first icon is an icon for indicating a camera application, the first user interface displays photos included in the first prompt box; when the first icon is an icon for indicating a clock application, the first user interface displays time and date information included in the first prompt box; when the first icon is an icon for indicating a sports application, the first user interface displays exercise step information included in the first prompt box; when the first icon is an icon for indicating a music application, the first user interface displays the song title and singer name information included in the first prompt box.

[0186] In the embodiment of the present application, the above-mentioned first user interface is only used for exemplary explanation, and the first user interface may also be other user interfaces in the application to which the first icon belongs, which is not limited.

[0187] Optionally, S607, the electronic device switches from the locked screen off state to the locked screen on state, and displays the lock screen wallpaper on the back screen.

[0188] The electronic device executes S607 after executing S602 or S603 or S604 or S605.

[0189] In some implementations, after the electronic device executes S602, S607 may be executed. Specifically, as soon as the electronic device switches to the lock screen off state, it immediately responds to the screen light operation. The electronic device may switch from the lock screen off state to the lock screen light state without displaying the first wallpaper, and display the lock screen wallpaper on the back screen. The lock screen wallpaper is different from the above-mentioned interactive wallpaper. The lock screen wallpaper may refer to the wallpaper displayed when the electronic device is in the lock screen light state. It is worth noting that when the electronic device turns on the back screen lock screen wallpaper function, the back screen can display the lock screen wallpaper. Otherwise, the back screen is black.

[0190] In some implementations, after the electronic device executes S603, S607 may be executed. Specifically, when the electronic device displays the first wallpaper in the first state on the back screen, it may respond to the screen light operation, switch from the lock screen off state to the lock screen light state, and display the lock screen wallpaper on the back screen. Specifically, the electronic device may respond to a double-click operation on an area other than the icon in the first wallpaper, display the lock screen wallpaper on the main screen, and display the lock screen wallpaper or black screen on the back screen. Afterwards, the electronic device may respond to the unlock operation and display the user interface displayed before the electronic device locked the screen.

[0191] In some implementations, after the electronic device executes S604, S607 may be executed. Specifically, when the electronic device displays the first wallpaper in the second state on the back screen, it may respond to the screen light operation, switch from the lock screen off state to the lock screen light state, and display the lock screen wallpaper on the back screen. For details, please refer to the process of the electronic device executing S603, which will not be described in detail here.

[0192] Optionally, after the first wallpaper is displayed for a period of time exceeding a preset period of time, when the back screen is displayed in black, the electronic device can respond to a screen light operation, switching from a locked screen off state to a locked screen light state, and display the lock screen wallpaper on the back screen.

[0193] In some implementations, after the electronic device executes S605, S607 may be executed. Specifically, when the electronic device displays the first prompt box on the back screen, it may respond to the screen light operation, switch from the lock screen off state to the lock screen light state, and display the lock screen wallpaper on the back screen.

[0194] In addition to the above Figure 6 In the method flow of displaying an interactive wallpaper on the back screen described above, in a possible implementation, the electronic device can also set the interactive wallpaper to be displayed on the main screen. At the same time point, the electronic device can respond to user operations to display the same style of interactive wallpaper on the main screen and the back screen; the electronic device can also respond to user operations to display different styles of interactive wallpaper on the main screen and the back screen. Furthermore, the electronic device can respond to user operations and display the interactive wallpaper only on the main screen, without limitation.

[0195] By implementing the above method, various interactive wallpapers can be set to fully meet the personalized needs of users. It can also enable electronic devices in the locked screen state to display interactive wallpapers, which is more beautiful. In addition, users can also operate the interactive wallpapers and observe the changes of the interactive wallpapers, making the process of users using electronic devices more interesting.

[0196] Figure 7 A schematic structural diagram of an electronic device 100 is shown.

[0197] The electronic device 100 may be equipped with Or a portable terminal device of other operating systems, the electronic device 100 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle, a vehicle-mounted device, a smart home device and / or a smart city device, but not limited thereto, the electronic device 100 can also include a laptop computer with a touch-sensitive surface or a touch panel, a desktop computer with a touch-sensitive surface or a touch panel, and other non-portable terminal devices, etc. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device.

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

[0199] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0200] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0201] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0202] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0203] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0204] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0205] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0206] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0207] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0208] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0209] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0210] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0211] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0212] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0213] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0214] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

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

[0216] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0217] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0218] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0219] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0220] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0221] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0222] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0223] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0224] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0225] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0226] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0227] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0228] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.; non-volatile memory may include disk storage devices and flash memory.

[0229] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential level; universal flash storage (UFS), embedded multi media card (eMMC), etc. according to the storage specification.

[0230] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.

[0231] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .

[0232] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.

[0233] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0234] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0235] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0236] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0237] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0238] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0239] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0240] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0241] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0242] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

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

[0244] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0245] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0246] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0247] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0248] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0249] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0250] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0251] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0252] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0253] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0254] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0255] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system of the layered architecture is taken as an example to exemplify the software structure of the electronic device 100.

[0256] Figure 8 1 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.

[0257] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0258] The application layer can include a series of application packages.

[0259] like Figure 8 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0260] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0261] like Figure 8 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0262] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0263] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0264] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0265] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0266] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0267] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0268] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0269] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0270] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0271] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0272] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0273] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0274] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0275] A 2D graphics engine is a drawing engine for 2D drawings.

[0276] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0277] The following is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.

[0278] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture static images or videos through the camera 193.

[0279] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.

[0280] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.

[0281] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0282] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for displaying wallpaper, characterized in that: Applied to an electronic device, the electronic device comprises a display screen, the display screen comprises a main screen and a back screen, the main screen and the back screen are connected via a folding component, the method comprises: when a first function is turned on and the electronic device is in a folded state, detecting that the electronic device is off, displaying a first wallpaper on the back screen, the first wallpaper comprising a first element of a first form; wherein in the folded state, the main screen and the back screen both face the outside of the electronic device; A first operation applied to the back screen is detected, and the first element in the first wallpaper is switched from the first form to a second form.

2. The method according to claim 1, characterized in that The form of the first element includes any one or more of the following: position, size, color, shape, and motion state.

3. The method according to claim 2, characterized in that The method further comprises: After the first time period, the electronic device controls the back screen to be black. The first duration is the sum of a duration of displaying the first wallpaper including the first element in the first form and a duration of displaying the first wallpaper including the first element in the second form, or the first duration is a duration of displaying the first wallpaper including the first element in the first form.

4. The method according to any one of claims 1 to 3, characterized in that After switching the first element in the first wallpaper from the first form to the second form, the method further includes: A third operation applied to the back screen is detected, and the first element in the first wallpaper is switched from the second form to a third form.

5. The method according to any one of claims 1 to 4, characterized in that The first wallpaper further includes a first icon. After the first wallpaper is displayed on the back screen, the method further includes: detecting a second operation acting on the first icon; A first prompt box is displayed on the back screen, and information included in the first prompt box is provided by the application indicated by the first icon.

6. The method according to claim 5, characterized in that The application indicated by the first icon is a social application, and the information contained in the first prompt box includes one or more of the following: chat content, chatter name; or the application indicated by the first icon is a clock application, and the information contained in the first prompt box includes one or more of the following: clock information, date information; Or the application indicated by the first icon is a music application, and the information contained in the first prompt box includes one or more of the following: song information, singer information, playback controls, and song switching controls.

7. The method according to claim 6, characterized in that The first icon included in the first wallpaper is set by a user or by an electronic device.

8. The method according to any one of claims 5 to 7, characterized in that: After displaying the first prompt box, the method further includes: An operation acting on the first prompt box is detected, and a first lock screen interface is displayed on the main screen, and a second lock screen interface is displayed on the back screen or the back screen is controlled to be black; An unlocking operation is detected on the main screen, and a first user interface is displayed on the main screen, where the first user interface belongs to an application indicated by the first icon.

9. The method according to any one of claims 5 to 7, characterized in that: The method further comprises: Detecting a double-click operation on an area other than the icon and the prompt box on the back screen, displaying a first lock screen interface on the main screen, displaying a second lock screen interface on the back screen, or controlling the back screen to be black by the electronic device; An unlocking operation is detected on the main screen, and a second user interface is displayed on the main screen, where the second user interface is the user interface displayed before it is detected that the electronic device is locked and the screen is turned off.

10. The method according to any one of claims 5 to 7, characterized in that: The first wallpaper also includes a second icon. After displaying the first prompt box, the method further includes: detecting a click operation on the second icon, and stopping displaying the first prompt box; A second prompt box is displayed, wherein information contained in the second prompt box is provided by the application indicated by the second icon.

11. The method according to any one of claims 5 to 7, characterized in that: After displaying the first prompt box, the method further includes: An operation acting on an area other than the icon on the back screen is detected, and the first prompt box is stopped from being displayed.

12. The method according to any one of claims 1 to 11, characterized in that When the electronic device is in the folded state, before detecting that the screen of the electronic device is turned off, the method further includes: Detecting that the electronic device is unlocked and the screen is on, displaying a third user interface on the main screen; Screen lock operation detected; It is detected that the electronic device is locked and the screen is turned on, the first lock screen interface is displayed on the main screen, the second lock screen interface is displayed on the back screen, or the electronic device controls the back screen to be black.

13. The method according to any one of claims 1 to 12, characterized in that The method further comprises: When it is detected that the screen of the electronic device is turned off, a second wallpaper is displayed on the back screen, wherein the second wallpaper includes a second element of the first color; When it is detected that the ambient light is a second color, the second element in the second wallpaper is switched from the first color to the second color.

14. The method according to any one of claims 1 to 13, characterized in that After displaying the second wallpaper in the second state on the back screen, the method further includes: It is detected that the screen of the electronic device is turned off, and a third wallpaper is displayed on the back screen, where the third wallpaper includes a third element at the first position; It is detected that the posture of the electronic device has changed, and the third element in the third wallpaper is switched from the first position to the second position.

15. The method according to any one of claims 1 to 14, characterized in that When the first wallpaper is displayed on the back screen, the method further includes: The first wallpaper or the fourth wallpaper is displayed on the main screen.

16. The method according to any one of claims 1 to 15, characterized in that The desktop of the electronic device includes a first card, the first card includes the first control, and the method further includes: When the electronic device is in the folded state, in response to an operation on the first control, the electronic device turns off the screen and displays the first wallpaper on the back screen.

17. The method according to claim 16, characterized in that In response to the operation on the first control, after the electronic device turns off the screen and displays the first wallpaper on the back screen, the method further includes: When the first function is turned off and the electronic device is in the folded state, it is detected that the screen of the electronic device is turned off, and the electronic device does not display the first wallpaper on the back screen; When the first function is turned on and the electronic device is in a folded state, it is detected that the screen of the electronic device is turned off, and the electronic device displays the first wallpaper on the back screen.

18. The method according to claim 1 or 2, characterized in that: After displaying the first wallpaper on the back screen, the method further includes: When the second function is turned on, after a first time period, the electronic device stops displaying the first wallpaper on the back screen and displays content corresponding to the second function on the back screen or the main screen; When the second function is turned off, after the first time period, the electronic device stops displaying the first wallpaper on the back screen and controls the back screen to be black.

19. The method according to any one of claims 1 to 18, characterized in that The method further comprises: When the electronic device is in the unfolded state, it is detected that the screen of the electronic device is turned off, and the first wallpaper is not displayed on the back screen; wherein, in the unfolded state, the main screen and the back screen are oriented in the same direction.

20. An electronic device, characterized in that: include: One or more processors, one or more memories; wherein the one or more memories are coupled to the one or more processors, the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method as described in any one of claims 1-19.

21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 19.

Citation Information

Cited By

  • Method for displaying interactive wallpaper and related apparatus

    EP4745738A1

  • Method for displaying interactive wallpaper and related apparatus

    WO2025060707A1