Method for displaying interactive wallpaper and related apparatus
By using the folded main screen and back screen in the state of the electronic device to detect user operations and dynamically switch the form of wallpaper elements in the lock screen and the screen is removed, the problem of difficult to realize interactive wallpaper display in the existing technology is solved, and the effect of personalization and fun enhancement is achieved.
Patent Information
- Application Number
- PCT/CN2024/109366
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-19
- Filing Date
- 2024-08-02
- Publication Date
- 2025-05-22
AI Technical Summary
In the prior art, it is difficult for electronic devices to display interactive wallpapers in the screen-off state, and lack personalization and fun.
By using the folded main screen and back screen in the electronic device to detect user operations and dynamically switch the form of wallpaper elements in the lock screen state of the electronic device, the display of interactive wallpaper is realized.
It realizes the display of interactive wallpapers when the lock screen is turned off, meeting users' personalized needs and increasing the fun and aesthetics of using electronic devices.
Smart Images

Figure CN2024109366_22052025_PF_FP_ABST
Abstract
Description
Method and related device for displaying interactive wallpaper
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on September 19, 2023, with application number 202311218561.4 and application name “Method and Related Device for Displaying Interactive Wallpaper”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of computers, and in particular to a method and related apparatus for displaying interactive wallpapers. Background Art
[0003] Electronic devices can include a locked screen state and an unlocked screen state. When an electronic device is in the locked screen state, the electronic device can be divided into a bright screen state or a screen off (off screen) state. That is, the lock screen state of the electronic device can be a locked screen and bright screen state or a locked screen and off screen state.
[0004] Currently, in related technologies, when the screen is off, electronic devices can display images 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 image displayed under the AOD can also change according to the data or operations received by the electronic device.
[0005] Summary of the Invention
[0006] This application provides a method and related apparatus for displaying interactive wallpapers. Various interactive wallpapers can be set to fully meet the user's personalized needs. It can also enable electronic devices in the locked screen off state to display interactive wallpapers.
[0007] 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 including: when 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 including 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; detecting a first operation acting on the back screen, and switching the first element in the first wallpaper from the first form to the second form.
[0008] In some implementations, the interactable wallpaper can be referred to as a first wallpaper.
[0009] By implementing the above method, various interactive wallpapers can be set to fully meet the user's personalized needs. It can also enable electronic devices in the locked screen state to display interactive wallpapers, making them more beautiful. Furthermore, users can operate the interactive wallpaper and observe its changes, making the user's use of the electronic device more interesting.
[0010] 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.
[0011] In this way, when displaying interactive wallpaper, the electronic device can present changes in multiple elements, making it more beautiful.
[0012] 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.
[0013] In some implementations, the duration set by the electronic device to display the interactive wallpaper may be referred to as a first duration.
[0014] 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 while avoiding excessive power consumption due to displaying the interactive wallpaper for too long.
[0015] 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.
[0016] 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.
[0017] 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.
[0018] 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.
[0019] 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, 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.
[0020] The information is not limited to the above, and more information may be included. In this way, when the electronic device is in the locked screen state, the user can more conveniently view the relevant information provided by some applications.
[0021] 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.
[0022] In this way, users can also change the icons displayed in the interactive wallpaper.
[0023] 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.
[0024] In this way, the electronic device can respond to the user operation on the first prompt box when displaying the interactive wallpaper, thereby entering the corresponding application interface more conveniently.
[0025] 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 the icon and the prompt box, 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 is detected to be off.
[0026] In this way, the electronic device can switch to the locked screen and bright screen state when displaying the interactive wallpaper, and can also switch to the unlocked screen and bright screen state later.
[0027] 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 a second prompt box, wherein the information contained in the second prompt box is provided by the application indicated by the second icon.
[0028] 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.
[0029] In this way, the electronic device can also cancel the first wallpaper displaying the first prompt box and restore the first wallpaper in the previous state.
[0030] In combination with the first aspect, in some implementations, when the electronic device is in a folded state, before detecting that the electronic device's screen 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 be black.
[0031] In combination with the first aspect, in some implementations, the method further includes: detecting that the electronic device screen is 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.
[0032] In this way, the electronic device can obtain the change in the color of the ambient light through the sensor, and thus change the color of the interactive wallpaper, so that the color of the interactive wallpaper is consistent with the color of the ambient light, which increases the fun.
[0033] In combination with the first aspect, in some implementations, after displaying the second wallpaper in the second state on the back screen, the method further includes: detecting that the electronic device is 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.
[0034] 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, increasing the fun.
[0035] 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.
[0036] In this way, the electronic device can be set to display interactive wallpaper on the main screen at the same time.
[0037] 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.
[0038] In this way, electronic devices can more conveniently display interactive wallpapers through cards on the desktop.
[0039] In combination with the first aspect, in some implementations, 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, the method further includes: when the first function is turned off and the electronic device is in a folded state, it is detected that the electronic device screen is 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 electronic device screen is off, and the electronic device displays the first wallpaper on the back screen.
[0040] 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.
[0041] In conjunction with the first aspect, in some implementations, after displaying the first wallpaper on the back screen, the method further includes:
[0042] 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 be black.
[0043] In this way, after the time for displaying the interactive wallpaper reaches the set time, the electronic device 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.
[0044] 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 electronic device is 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.
[0045] 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.
[0046] 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.
[0047] 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 code, wherein the computer program code comprises computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the method of the first aspect or any embodiment of the first aspect.
[0048] In a third aspect, an embodiment of the present application provides a computer storage medium comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method of the first aspect or any one of the implementations of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] FIG1A is a schematic diagram of an electronic device in an unfolded state provided by an embodiment of the present application;
[0050] FIG1B is a schematic diagram of an electronic device provided in an embodiment of the present application in a folded state;
[0051] Figures 2A-2F are user interfaces for setting interactive wallpapers provided in an embodiment of the present application;
[0052] Figures 3A-3I are user interfaces for displaying interactive wallpapers provided in an embodiment of the present application;
[0053] Figures 4A-4J are user interfaces for setting interactive wallpapers provided in an embodiment of the present application;
[0054] Figures 5A-5I are user interfaces for displaying interactive wallpapers provided in an embodiment of the present application;
[0055] FIG6 is a flow chart of a method for displaying interactive wallpaper according to an embodiment of the present application;
[0056] FIG7 is a schematic diagram of a hardware architecture of an electronic device provided in an embodiment of the present application;
[0057] FIG8 is a schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The following is a clear and detailed description of the technical solutions in the embodiments of the present application 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 between related 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.
[0059] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0060] The term "user interface (UI)" in the following embodiments of this 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 the user can recognize. The commonly used form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operation that is displayed in a graphical manner. It can be a visual interface element such as text, icon, button, menu, tab, text box, dialog box, status bar, navigation bar, widget, etc. displayed on the display screen of an electronic device.
[0061] To facilitate understanding of the solutions provided by the embodiments of the present application, the following describes the relevant concepts involved in the embodiments of the present application:
[0062] Lock screen may refer to locking the screen of an electronic device to prevent accidental touching or mis-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 through 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 locked screen off state, and the state of locked screen and on screen can also be called locked screen on state.
[0063] The lock screen off state may refer to a state where, in response to a lock screen operation, the electronic device switches to a lock screen state with the screen off. Lock screen operations may include, but are not limited to, pressing a lock screen button on the side or top edge of the electronic device, clicking a lock screen control in the user interface, voice commands, gesture commands, and the like.
[0064] 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 lights up state. The screen light operation may include but is not limited to: double-clicking the screen, lifting the electronic device, and so on. In some implementations, the electronic device can respond to the user operation and set the length of time in the lock screen light state. Specifically, the electronic device responds to the screen light operation and switches to the lock screen light state for a certain period of time (for example, 10s). Then the electronic device switches to the lock screen off state.
[0065] 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 an alphabetic and / or numeric password, a graphic password), etc. In one possible implementation, the first two operations mentioned above can be performed when the electronic device is in the locked screen-off state or the locked screen-on state, and the latter operation can only be performed when the electronic device is in the locked screen-on state.
[0066] Wallpaper refers to an image displayed on the entire screen of an electronic device. Wallpapers can include lock screen wallpapers, desktop wallpapers, screen-off wallpapers, and interactive wallpapers. These wallpapers can include images pre-installed on the electronic device or images stored in the electronic device's photo album.
[0067] Among them, the lock screen wallpaper can be displayed when the electronic device is in the lock screen and bright screen state, the desktop wallpaper can be displayed when the electronic device is in the unlocked and bright screen state, the screen off wallpaper can be displayed when the electronic device is in the lock screen and dark screen state, and the interactive wallpaper can also be displayed when the electronic device is in the lock screen and dark screen 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 state. In other words, the display mechanism of the screen off wallpaper is different from that of the interactive wallpaper.
[0068] The following first introduces the structural form of the electronic device provided by the embodiment of the present application.
[0069] The electronic device provided in the embodiments of the present application is an electronic device having an outward-folding screen. An outward-folding screen may refer to a screen that is visible to the user after folding, i.e., the screen faces outward after folding. An inward-folding screen, on the other hand, faces inward after folding, and is hidden, making it impossible for the user to see the screen after folding.
[0070] Among them, the main screen and side areas of the electronic device with an outward folding screen can be connected through a first folding component, and the back screen and side areas of the electronic device with an outward folding screen can be connected through a second folding component.
[0071] FIG. 1A exemplarily shows the structural form of an electronic device in an unfolded state.
[0072] As shown in Figure 1A, 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 can 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 entire screen of the electronic device is consistent with the orientation of the back screen 201 and the main screen 202, that is, the orientation of the main screen shown in Figure 1A is consistent with the orientation of the back screen. Furthermore, the orientation of the main screen, the orientation of the side area, and the orientation of the back screen are all consistent.
[0073] When a user faces the entire screen, the display area visible to the user is the entire screen. In one possible implementation, the back of the side of the electronic device where the entire screen is located does not include a display screen. In another possible implementation, the back of the side of the electronic device where the entire screen is located does include a display screen. In the embodiments of the present application, the back of the side of the electronic device where the entire screen is located does not include a display screen.
[0074] FIG1B exemplarily shows the structural form of an electronic device in a folded state.
[0075] As shown in Figure 1B, (a) and (b) illustrate the structural form of the folded electronic device as viewed from different directions. (a) illustrates the structural form of the electronic device as viewed from the back, and (b) illustrates the structural form of the electronic device as viewed from the front. In the embodiments of this application, the front and back views are merely illustrative, indicating that the viewing angles of the two are 180 degrees, and are not intended to be limiting.
[0076] 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 the 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 when folded. The orientation of the camera 214 does not change when the electronic device is folded or unfolded.
[0077] In (a), the back screen and the main screen are oriented as shown in (a). The user faces back screen 211 and can see back screen 211, but cannot see the main screen. In (b), the back screen and the main screen are oriented as shown in (b). The user faces main screen 212 and can see main screen 212, but cannot see the back screen. That is, when the electronic device is in the folded state, the main screen is oriented opposite to the back screen, while the side area is oriented at 90 degrees or approximately 90 degrees to the main screen, and the side area is also oriented at 90 degrees or approximately 90 degrees to the back screen.
[0078] In the embodiment of the present application, the structural form of the electronic device shown in FIG. 1A and FIG. 1B is only for illustrative purposes, and the electronic device may further include more or fewer structures, which is not limited thereto.
[0079] In some implementations, the electronic device can display a lock screen wallpaper on the back screen and / or the main screen when 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 in the unlock screen and bright screen state.
[0080] 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. The interactive wallpaper is different from the above-mentioned lock screen wallpaper and desktop wallpaper. In other words, if the electronic device is set with a lock screen wallpaper and desktop wallpaper, an interactive wallpaper can also be set.
[0081] The following describes the method for displaying interactive wallpaper provided by an embodiment of the present application in conjunction with the user interface.
[0082] 2A-2F illustrate relevant user interfaces for setting interactive wallpapers in an embodiment of the present application.
[0083] As shown in Figure 2A, user interface 200 is provided by a settings application of an electronic device. The electronic device may display user interface 200 in response to a user's operation on a settings icon on the desktop. User interface 200 may include multiple function bars, such as a foldable screen area bar 204. In response to a click operation on foldable screen area bar 204, the electronic device may display user interface 210, as shown in Figure 2B.
[0084] As shown in Figure 2B, 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: an application display ratio control 214, an application split screen control 215, and a fantasy hand bag control 216. Optionally, the user interface 210 may also include personalized back screen and side display controls, and the electronic device can set the back screen lock screen wallpaper in response to the personalized back screen and side display controls. In the embodiment of the present application, this is not described in detail. As shown in Figure 2B, the electronic device can display the user interface 220 in response to a click operation on the fantasy hand bag control 216.
[0085] As shown in Figure 2C, user interface 220 is provided by the electronic device for configuring a colorful handbag. The colorful handbag can be understood as the interactive wallpaper described above. User interface 220 may include, but is not limited to, a back screen preview area 221, a style change control 222, a slide control 223, a display duration control 224, and an add card control 225.
[0086] Among them, the back screen preview area 221 can be used to display the style of the interactive wallpaper set for the back screen of the electronic device, so that the user can preview the style. In one possible implementation, if the user has already set the interactive wallpaper before clicking 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.
[0087] The electronic device can respond to a click operation 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 to change the style of the displayed interactive wallpaper. Optionally, when turning on the interactive wallpaper display function, the electronic device 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 AOD to turn on, the AOD will be displayed after the electronic device switches to the lock screen off state. If the user sets AOD to turn on, the screen will remain off and no content will be displayed after the electronic device switches to the lock screen off state. The method of setting AOD on or off will be described in detail below.
[0088] The display duration control 224 can be used to set the duration for displaying the interactive wallpaper. For example, the electronic device can display a user interface 230 in response to a click on the display duration control 224. In one possible implementation, the electronic device can preset the duration for displaying 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 to this. As shown in Figure 2D, the user interface 230 is a user interface provided by the electronic device for setting the display duration of the colorful handbag. The user interface 230 may include, but is not limited to, multiple duration controls, such as a duration control 231, and a cancel control 232. For example, the electronic device can set the display duration of the interactive wallpaper to 5 minutes in response to a click on the duration control 231. That is, after displaying the interactive wallpaper for 5 minutes, the electronic device will no longer display the interactive wallpaper and may display a black screen or an off screen until the next time the electronic device switches from another state to the locked screen state, at which time the interactive wallpaper will be displayed again for 5 minutes. The cancel control 232 can be used to indicate to cancel the currently set display duration and use the display duration set last time to display the interactive wallpaper.
[0089] The add card control 225 is used to add the "Colorful Handbag" card to the desktop. In response to the add card control 225, the electronic device can display the following user interface 400, which will not be described in detail here.
[0090] The electronic device may display the user interface 240 in response to a click operation on the style change control 222 .
[0091] As shown in Figure 2E, user interface 240 is a user interface provided by an electronic device for setting the style of a colorful handbag. 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. 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.
[0092] Optionally, the electronic device may display more styles in response to an upward sliding operation on the “handbag selection” area at the lower portion of the user interface 240 .
[0093] Optionally, the user interface 240 of the electronic device may further include a control 244. For example, the control 244 displays the text "Flip to display the home screen." In response to a click operation on the control 244, the electronic device may display a user interface 250 as shown in FIG. 2F , setting the style of the interactive wallpaper displayed on the home screen.
[0094] For example, style 241 is a handbag style. Style 241 may include, but is not limited to, icons 241A, 241B, 241C, 241D, 241E, and 241F. Style 241 may also include a chain 241G. Icon 241A may be used to indicate a favorites function within a system application; icon 241B may be used to indicate a social application; icon 241C may be used to indicate a camera application; icon 241D may be used to indicate a clock application; icon 241E may be used to indicate a sports application; and icon 241F may be used to indicate a music application. In an embodiment of the present application, the electronic device may, in response to user operations, replace the icons included in style 1, for example, an icon for indicating a weather application, an icon for indicating a note application, and so on, without limitation.
[0095] Style 242 is a panda style, in which the panda's posture is with its hands raised, legs curled up, and the corners of its mouth facing upwards.
[0096] Style 243 is a feather style, in which the feathers are spread out naturally.
[0097] Optionally, the electronic device may include more styles, such as water flow style, multi-ball style, color-changing style, etc., which are not limited to this.
[0098] In user interface 240, the electronic device may, in response to a click operation on style 241, style 242, or style 243, set the interactive wallpaper of the back screen to the wallpaper of 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, in response to a click operation on style 241, style 242, or style 243, set the interactive wallpaper of the home screen to the wallpaper of style 241, style 242, or style 243. After setting the interactive wallpaper of the home screen, the electronic device may display the wallpaper of style 241, style 242, or style 243 in home screen preview area 255.
[0099] For example, 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 considered to be in a state where no interactive wallpaper is set on the back screen.
[0100] 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 one possible implementation, the upper area of the user interface 240 and the user interface 250 may also include a check control, which is used to set whether the interactive wallpaper set is effective on the corresponding screen.
[0101] For example, in user interface 240, in response to a user selecting a checkbox control, the electronic device may determine (if the screen-off display function in user interface 220 shown in FIG2C is enabled) that the interactive wallpaper is displayed on the back screen when the screen is off. In user interface 240, in response to a user canceling a checkbox control operation, the electronic device may determine (if the screen-off display function in user interface 220 shown in FIG2C is enabled) that the interactive wallpaper is not displayed on the back screen when the screen is off. Similarly, in user interface 250, in response to a user selecting a checkbox control operation, the electronic device may determine (if the screen-off display function in user interface 220 shown in FIG2C is enabled) that the interactive wallpaper is displayed on the main screen when the screen is off. In user interface 250, in response to a user canceling a checkbox control operation, the electronic device may determine (if the screen-off display function in user interface 220 shown in FIG2C is enabled) that the interactive wallpaper is not displayed on the main screen when the screen is off. The checkbox controls of user interface 240 and user interface 250 may be selected at the same time, or one of them may be selected, and this application does not limit this. It should be noted that if the screen-off display function in the user interface 220 shown in Figure 2C 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.
[0102] 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 to display the interactive wallpaper only on the main screen or on the back screen by judging whether the screen is facing upward.
[0103] Exemplarily, the electronic device may display a user interface 250 in response to a click operation on the control 244. The user interface 240 is a user interface provided by the electronic device for setting the style of a colorful handbag. Similarly, the 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 and 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.
[0104] Optionally, the electronic device may further include a control 254. Control 254 is used to indicate the setting of an interactive wallpaper displayed on the back screen. For example, control 254 displays the text "Flip to display back screen." For example, in response to a user's operation on control 254, the electronic device may display user interface 240.
[0105] 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, style 252, or style 253. After setting the interactive wallpaper, the wallpaper of style 251, style 252, or 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 to cancel setting the interactive wallpaper to the wallpaper of style 251, style 252, or style 253. After the electronic device cancels the setting of the interactive wallpaper, the electronic device can be regarded as being in a state where no interactive wallpaper is set on the main screen.
[0106] Figures 3A-3I show the user interfaces related to displaying interactive wallpaper in an embodiment of the present application. The user interfaces shown in Figures 3A-3I are illustrated with the electronic device in a horizontal screen state.
[0107] As shown in Figure 3A, user interface 300 is a user interface for an electronic device displaying an interactive wallpaper. User interface 300 displays interactive wallpaper of style 241. User interface 300 may be the interface displayed by the electronic device after the screen goes off in response to a user operation. User interface 300 may include, but is not limited to, icons 301, 302, 303, 304, 305, 306, and chain 307. The states of icons 301, 302, 303, 304, 305, and 306 simulate the natural drooping state of a pendant on a chain under real conditions. The state of chain 307 simulates the natural drooping state of a chain under real conditions. The electronic device may display user interface 310 in response to a sliding operation on chain 307. The direction of the sliding operation can refer to the arrow direction in Figure 3A. Alternatively, the electronic device can adjust the status displayed by the chain 307 and icons 301-306 in response to the user shaking the phone or adjusting the phone's state (horizontal, vertical, etc.). For example, the electronic device can calculate the motion state of the electronic device based on the motion data of the electronic device collected by sensors such as motion sensors and gravity sensors, and thus adjust the status displayed by the chain 307 and icons 301-306 according to the motion state.
[0108] As shown in Figure 3B , user interface 310 displays an interactive wallpaper of style 241. User interface 310 may include, but is not limited to, icons 311, 312, 313, 314, 315, 316, and a chain 317. The state of chain 317 simulates the state of the chain after being shaken by the user in a real-world situation. As shown in Figure 3B , chain 317 may be wavy. In this embodiment of the present application, the shape of chain 317 is not limited to the shape shown in Figure 3B . In response to user operation, the electronic device can also change chain 317 to any shape, as long as its length remains unchanged. Icons 311, 312, 313, 314, 315, and 316 may change as the shape of chain 317 changes. It is worth noting that the process of the electronic device changing the shape of chain 317 is dynamic and visible to the user. During this process, each icon may swing along with the change of the chain 317 .
[0109] For example, the electronic device may display the user interface 320 in response to a click operation on the icon 312 .
[0110] As shown in Figure 3C, user interface 320 may include, but is not limited to, a prompt box 321. Prompt box 321 is provided by the application indicated by icon 312, for example, a social networking application. The size of prompt box 321 is no larger than the size of the back screen. For example, prompt box 321 may display a chat box interface. In one possible implementation, the chat box interface displayed in prompt box 321 may be the first chat box in the social networking application, or the chat box interface displayed in prompt box 321 may be any chat box interface with a friend. In this embodiment of the present application, the chat box interface displayed in prompt box 321 is merely illustrative; messages sent by a friend may also be displayed, without limitation. The electronic device may enter the social networking application in response to a click on prompt box 321. In one possible implementation, before entering the social networking application, if the electronic device has a lock screen password set, the electronic device may first display the lock screen interface in response to a click on prompt box 321. The electronic device then enters the social networking application after receiving the unlock operation. Among them, the lock screen interface can refer to Figure 5D below, and the unlocking operation may include but is not limited to: touch operation acting on a specific area (such as a fingerprint recognition area), face unlocking operation facing the camera, entering a password (such as an alphabetic and / or numeric password, a graphic password), etc.
[0111] For example, the electronic device can display a user interface 330 in response to a click on icon 314. As shown in FIG3D , user interface 330 can include, but is not limited to, a prompt box 331. Prompt box 331 is provided by the application indicated by icon 313, for example, a clock application. The size of prompt box 331 is no larger than the size of the back screen. For example, prompt box 331 can display a clock date, such as "10:08 Sunday, September 26th." In this embodiment of the present application, the clock date displayed in prompt box 331 is merely illustrative; an alarm time, etc., can also be displayed, and this is not a limitation. The electronic device can enter the clock application in response to a click on prompt box 331. In one possible implementation, before entering the clock application, if the electronic device has a lock screen password set, the electronic device can first display the lock screen interface in response to a click on prompt box 331. The electronic device then enters the clock application after receiving the unlock operation.
[0112] For example, the electronic device can display user interface 340 in response to a click on icon 316. As shown in Figure 3E, user interface 340 may include, but is not limited to, a prompt box 341. Prompt box 341 is provided by the application indicated by icon 314, for example, a music application. Prompt box 341 is no larger than the size of the back screen. For example, prompt box 341 may display the title of the currently playing song and the artist's name. In this embodiment of the present application, the song title and artist's name displayed in prompt box 331 are merely exemplary; content from other music applications may also be displayed, and this is not a limitation. The electronic device can use prompt box 341 to control the pause and start of music playback, as well as the playback of the previous or next song. The electronic device can enter the music application in response to a click on prompt box 341. In one possible implementation, if a lock screen password is set before entering the music application, the electronic device can first display the lock screen in response to a click on prompt box 341. The electronic device then enters the music application after receiving the unlock operation. The above prompt boxes can play a role in preventing accidental touches before the electronic device enters various applications.
[0113] As shown in Figure 3F, user interface 350 is a user interface for an electronic device displaying an interactive wallpaper. User interface 350 displays interactive wallpaper of style 242. User interface 350 may include a panda image 351. Panda image 351 is depicted with its hands raised, legs curled up, and mouth corners pointed upwards. In response to a click on panda image 351, the electronic device may display user interface 360.
[0114] As shown in Figure 3G, the interactive wallpaper of style 242 is also displayed in the user interface 360. The user interface 360 may include a panda picture 361. The posture of the panda picture 361 is with both hands down, legs straight, and corners of the mouth facing down. And the position of the panda picture 361 in the wallpaper has also changed. It has moved a distance to the right relative to the position of the panda picture 351. In the embodiment of the present application, it is not limited to the posture of the panda picture 361 in Figure 3G. The electronic device also changes the posture of the panda picture 361 to various other postures in response to user operations, and the posture is not limited. In one possible implementation method, each time the electronic device responds to a user operation, the panda picture 361 can be changed to a different posture. 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.
[0115] As shown in Figure 3H , user interface 370 is a user interface for an electronic device displaying an interactive wallpaper. User interface 370 displays interactive wallpaper of style 243. User interface 370 may include a feather image 371. The state of feather image 371 simulates a feather naturally spreading out in its natural growth direction, as would occur in real life. In response to a sliding operation applied to area 372, the electronic device may display user interface 380. The direction of the sliding operation can be referenced by the arrow in Figure 3H .
[0116] As shown in FIG3I , the interactive wallpaper of style 243 is also displayed in the user interface 380. The user interface 380 may include a feather image 381. The state of the feathers in area 382 of the feather image 381 simulates the state in which the feathers are moved by fingers and then attached to other feathers in a real state. In the embodiment of the present application, the electronic device is not limited to the state of the feathers in area 382 in FIG3I . The electronic device also changes the state of the feathers in the feather image 381 to various other states in response to user operations, and the state of the feathers is not limited. In one possible implementation, the electronic device can change the state of the feathers in area 382 to different states in response to sliding operations in different directions. It is worth noting that the process of the electronic device changing the state of the feathers in area 382 is a dynamic and user-visible process.
[0117] Not limited to the above styles, electronic devices can also change the color of the picture in the interactive wallpaper according to changes in ambient light; electronic devices can also change the relative positions of elements within the picture in the interactive wallpaper according to the currently recognized gravity direction, etc.
[0118] 4A-4J show the relevant user interfaces for setting interactive wallpaper in an embodiment of the present application.
[0119] Exemplarily, the electronic device may respond to a click operation on style 241 and set the interactive wallpaper to wallpaper of style 241. Afterwards, the electronic device may return to displaying the user interface 220 in response to the user clicking the return control operation, at which point 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 that the interactive wallpaper of style 241 is set in the user interface 220. In another possible implementation, the electronic device may display the user interface 400 in response to a click operation on the add card control 225 in the user interface 220.
[0120] As shown in Figure 4A, 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. For example, 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 different. 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 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.
[0121] In one possible implementation, the electronic device may automatically add a card for “Fantasy Handbag.” For example, after detecting the interactive wallpaper with style 241 in the user interface 220 , the electronic device may automatically display a pop-up window, ie, display the user interface 410 .
[0122] As shown in Figure 4B, 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. For example, 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 relevant instructions on card 403B, which are not 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.
[0123] As shown in FIG4C , 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 swiping left when the main interface is displayed. In one possible implementation, the electronic device may add card 403B or card 413B to the main interface by default.
[0124] User interface 420 may include, but is not limited to, card 421. Card 421 is provided by the settings application and is used to turn on the card that displays the interactive wallpaper function. Furthermore, card 421 can also be used to respond to user operations and view or change the style of the interactive wallpaper. Still further, card 421 can also be used to enable the electronic device to respond to user operations, enter the lock screen state, and display the interactive wallpaper on the main screen or back screen. The size of card 421 can be as shown in Figure 4C, or it can be twice the size of the card shown in Figure 4C; card 421 can be square, rectangular, circular, oval, etc.; the background color of card 421 can be light or dark. In the embodiment of the present application, the size, shape, and background color of card 421 are not limited.
[0125] Card 421 may include: card name 421A, preview wallpaper 421B, and control 421C. For example, card name 421A displays the text "Colorful Handbag," and preview wallpaper 421B displays wallpaper style 241. In response to a click on control 421C, the electronic device may enter a locked screen state and display the interactive wallpaper on the main screen or back screen.
[0126] Specifically, the screen-off display function in the user interface 220 shown in FIG2C 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 30s). Afterwards, after the electronic device switches to the unlocked screen-on state, in response to a 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.
[0127] In this way, users can observe the style of interactive wallpaper more conveniently without having to turn on the function of displaying interactive wallpaper first and then switch to the lock screen state to display the interactive wallpaper.
[0128] Of course, if the screen-off display function in user interface 220 shown in FIG2C is turned on and sliding control 223 is turned on, the electronic device can also enter the lock screen off state in response to a click operation on control 421C when the function of displaying interactive wallpaper is turned on, and display the interactive wallpaper of the style indicated by preview wallpaper 421B for a period of time (e.g., 5 minutes or 30 seconds). When entering the lock screen off state in response to a click operation on control 421C, the duration of displaying the interactive wallpaper can be fixed.
[0129] Exemplarily, the electronic device may enter a locked screen state in response to a click operation on the control 421C, and display a user interface 430 as shown in FIG4D on the back screen. The user interface 430 may display an interactive wallpaper in the style indicated by the preview wallpaper 421B. When the electronic device turns on the AOD function, the electronic device may display a user interface 440 as shown in FIG4E after displaying the user interface 430 for a period of time. The user interface 440 displays a screen-off wallpaper. When the electronic device does not turn on the AOD function, the electronic device controls the back screen to turn off after displaying the user interface 430 for a period of time.
[0130] For example, when the electronic device turns off the function of displaying interactive wallpaper and turns on the AOD function in the settings application, the electronic device can respond to the lock screen operation and display the user interface 460 shown in Figure 4G when displaying the user interface 450 shown in Figure 4F. 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 turns off the AOD function in the settings application, the electronic device can respond to the lock screen operation and control the back screen to turn off when displaying the user interface 450 shown in Figure 4F.
[0131] In one possible implementation, when the electronic device is in the unfolded state, the electronic device cannot display the interactive wallpaper in the locked screen off state. Refer to Figure 4H. The user interface 470 is also a desktop provided by the electronic device. The user interface 470 also includes a card 471. Card 471 may include: prompt information 471A, preview wallpaper 471B, and control 471C. Among them, the prompt information 471A can be used to prompt the user that the function of displaying the interactive wallpaper is invalid in the current state and needs to be effective after the electronic device is folded. Exemplarily, the prompt information 471A can display the text content "Please fold and experience". The electronic device cannot respond to the click operation on the control 471C and enter the locked screen off state. That is, the operation currently acting on the control 471C is an invalid operation. After the electronic device is folded, the user interface 480 shown in Figure 4I can be displayed. The user interface 480 is consistent with the user interface 420.
[0132] In another possible implementation, when the battery level of an electronic device is lower than a battery threshold (e.g., 20%), the electronic device cannot display the interactive wallpaper in the locked screen off state. Referring to Figure 4J, the user interface 490 is also a desktop provided by the electronic device. The user interface 490 also includes a card 491. Card 491 may include: prompt information 491A, preview wallpaper 491B, and control 491C. Among them, the prompt information 491A can be used to prompt the user that the function of displaying the interactive wallpaper is invalid in the current state and needs to be effective after the battery level of the electronic device is greater than the battery threshold. Exemplarily, the prompt information 491A may display the text content "Battery is too low". The electronic device cannot respond to a click operation on the control 491C and enter the locked screen off state. That is, the operation currently acting on the control 491C is an invalid operation. After the battery level of the electronic device exceeds the battery threshold, the user interface 480 can be displayed.
[0133] In the embodiment of the present application, the content contained in the above-mentioned card 421 is only for illustrative purposes, and may include more or fewer functions, without limitation. In addition, the location of the above-mentioned card 421 on the desktop is only for illustrative purposes, and may also be located in other desktop interfaces, such as the basement desktop, the main interface, etc., without limitation.
[0134] Figures 5A-5I show the user interfaces related to displaying interactive wallpaper in an embodiment of the present application. 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.
[0135] For example, the electronic device may set the interactive wallpaper to the wallpaper of the style 241 in response to a 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.
[0136] As shown in FIG5A , 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.
[0137] Once the electronic device enters the locked screen state, it displays the user interface 510 shown in FIG5B . It is worth noting that the duration for which the electronic device displays the user interface 510 can be the display duration of the interactive wallpaper set by the user (e.g., 5 minutes as displayed by the display duration control 224 ), or it can be a display duration preset by the electronic device. User interface 510 can refer to the user interface 300 described above.
[0138] When the back screen of the electronic device displays user interface 510, the main screen of the electronic device displays user interface 520. As shown in Figure 5C, user interface 520 may include: a prompt image 521 and a prompt message 522. Among them, prompt image 521 includes an arrow and a screen, which is used to prompt the user to turn over the electronic device. Prompt message 522 may display the text content "Please turn over, the colorful handbag is displayed on the back screen." In one possible implementation, when the back screen of the electronic device displays user interface 510, the electronic device may also control the main screen to turn off. That is, the main screen does not display user interface 520. This can save power consumption.
[0139] For example, when the AOD function is turned on in an electronic device, after displaying user interface 510 on the back screen and user interface 520 on the main screen for a period of time, the electronic device may display user interface 530 as shown in FIG5D on the back screen and user interface 540 as shown in FIG5E on the main screen. When the AOD function is turned off in an electronic device, the electronic device controls the back screen and the main screen to turn off.
[0140] The electronic device can respond to the screen-lighting operation in user interface 510 or user interface 520 by displaying user interface 550 as shown in FIG5F on the back screen and user interface 560 as shown in FIG5G on the main screen. User interface 550 displays a lock screen wallpaper. User interface 560 also displays a lock screen wallpaper. The screen-lighting operation may include, but is not limited to, double-clicking the screen, pressing the lock screen button on the side or top edge of the electronic device, and the like. User interface 560 may include: lock screen wallpaper 561, lock screen indicator 562, and date and time indicator 563. The electronic device can respond to the unlocking operation by displaying user interface 500.
[0141] 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 wallpaper shown in the user interface 550 and the 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.
[0142] In an embodiment of the present application, when the electronic device turns on the AOD function and the interactive wallpaper display function, the electronic device can give priority to displaying the interactive wallpaper in the lock screen off state. After the interactive wallpaper display time reaches the preset time, the screen off wallpaper can be displayed according to the set mode of displaying the AOD interface. When the electronic device does not turn on the AOD function but turns on the interactive wallpaper display function, the electronic device can display the interactive wallpaper in the lock screen off state. After the interactive wallpaper display time reaches the preset time, the electronic device can control the display screen to turn off, that is, the screen off wallpaper will not be displayed. The entrance 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. Referring to Figure 5H, the user interface 570 is a user interface provided by the settings application of the electronic device. The electronic device can display the user interface 570 in response to the user's operation on the settings icon on the desktop. The user interface 570 may include multiple function bars, such as the screen off and lock screen bar 571 (or referred to as the desktop and wallpaper settings bar). The electronic device can respond to a click operation on the screen off and lock screen bar 571 by displaying a user interface 580 as shown in FIG5I . As shown in FIG5I , the user interface 580 is a user interface for the electronic device to set functions related to the screen off and lock screen. The user interface 580 may include, but is not limited to: a screen off display control 581. The screen off display control 581 may also include prompt information. For example, the prompt information may display the text content "On", which indicates that the electronic device has activated the screen off display function. Clicking the control 581 can also set the screen off display function, such as turning off the screen off display function or setting the content of the screen off display function.
[0143] The present invention provides a method and related apparatus for displaying interactive wallpaper. In this method, an electronic device can be configured to display an interactive wallpaper on the back screen when the screen is locked or off. The interactive wallpaper is then displayed when the electronic device is in the locked or off state. Subsequently, upon detecting a user action on the interactive wallpaper, the content displayed on the interactive wallpaper is changed.
[0144] By implementing the above method, various interactive wallpapers can be set to fully meet the user's personalized needs. It can also enable electronic devices in the locked screen state to display interactive wallpapers, making them more beautiful. Furthermore, users can operate the interactive wallpaper and observe its changes, making the user's use of the electronic device more interesting.
[0145] The following describes the method for displaying wallpaper provided by an embodiment of the present application in conjunction with Figure 6. The method execution subject shown in Figure 6 may be the electronic device mentioned above. Alternatively, the method execution subject shown in Figure 6 may be a chip in an electronic device, which is not limited in the embodiment of the present application. Figure 6 illustrates an electronic device as an example of the execution subject of the method. The electronic device includes a display screen, and the display screen includes a main screen and a back screen. The method flow shown in Figure 6 is illustrated when the electronic device is in a folded state. When the electronic device is in a folded state, the main screen and the back screen face opposite directions. The method includes:
[0146] S601: The electronic device sets a first wallpaper as an interactive wallpaper.
[0147] Interactive wallpaper refers to the wallpaper displayed on the back screen of an electronic device after it switches to the lock screen state. The interactive wallpaper can also change in form based on user operations. Interactive wallpaper can be provided by a system application in the electronic device.
[0148] In some implementations, the electronic device can respond to a user operation to set the first wallpaper as an interactive wallpaper. For example, 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 an interactive wallpaper card to enter an interactive wallpaper setting interface and then set the first wallpaper as an interactive wallpaper.
[0149] Before the electronic device sets the first wallpaper as the interactive wallpaper, the electronic device can set the duration for which the interactive wallpaper is 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.
[0150] The first wallpaper can have a variety of styles. For example, a wallet style, an animal style, a feather style, a water flow style, a multi-ball style, and so on. For example, when the first wallpaper is a wallet style, the electronic device can adjust the elements included 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 embodiments of the present application, the above-mentioned first wallpaper styles are merely illustrative, and more styles can be included, which is not limited to this.
[0151] Each style of the first wallpaper can also include multiple states. Among them, 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 elements may include but is not limited to: the size, position, shape, color, movement state, etc. of the elements. For example, refer to the chain 307 in Figure 3A and the chain 317 in Figure 3B, the panda picture 351 in Figure 3E and the panda picture 361 in Figure 3F, and the feathers in area 372 in Figure 3G and the feathers in area 382 in Figure 3H.
[0152] S602: The electronic device detects that the screen is locked or off.
[0153] 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. For example, 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: a press operation of a lock screen button on the side or top edge of the electronic device, a click operation on a lock screen control in the user interface, voice commands, and gesture commands, etc. For another example, the electronic device can respond to a press operation of a lock screen button on the side or top edge of the electronic device or after a period of time (for example, 10 seconds) to switch from a locked screen-on state to a locked screen-off state.
[0154] In one possible implementation, an electronic device may have an interactive wallpaper card on its desktop. The card includes a screen-off control. The electronic device may enter a locked screen state in response to a click on the screen-off control.
[0155] 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.
[0156] S603: The electronic device displays a first wallpaper in a first state on the back screen.
[0157] 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. For example, the electronic device can enable the interactive wallpaper function in the settings application or through the interactive wallpaper card on the desktop.
[0158] In some implementations, the electronic device immediately displays the first wallpaper in the first state after switching to the locked screen state. Specifically, the electronic device may 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 see that the electronic device is currently in the locked screen state.
[0159] 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. For example, the first wallpaper in the first state may refer to Figures 3A, 3E, and 3G above.
[0160] Because 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 due to power consumption considerations. The electronic device can set a preset duration for each continuous, uninterrupted display of the first wallpaper, for example, 5 minutes.
[0161] In one possible implementation, the sum of the durations that the electronic device displays interactive wallpapers in different states each time does not exceed a preset duration. For example, 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 display 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 display on the back screen. The above-mentioned total durations for displaying the first wallpaper are all 5 minutes.
[0162] In another possible implementation, the duration that the electronic device displays the interactive wallpaper in each state each time does not exceed the display duration. For example, 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 display 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 display on the back screen, and the total duration of displaying the first wallpaper is 7 minutes.
[0163] In an 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.
[0164] S604: The electronic device receives a user operation and displays the first wallpaper in the second state on the back screen.
[0165] 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.
[0166] 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 timing for the electronic device to display the first wallpaper in the second state can be referred to the description of S603 above and will not be repeated here.
[0167] The following exemplifies the first wallpaper in the first state and the first wallpaper in the second state in different styles.
[0168] Exemplarily, when the style of the first wallpaper is a handbag style, the first wallpaper in the first state may display a chain that simulates a natural droop in a real state and various icons naturally connected to the chain. The first wallpaper in the second state may display a chain that is wavy after the user pulls the chain in a simulated real state and various icons that change with the chain. The user operation of the switching state may be a sliding operation on the chain. Optionally, the second state may display a chain that is wavy after the electronic device is shaken in a simulated real state and various icons that change with the chain. 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 has changed.
[0169] When the first wallpaper is an animal, the animal can refer to a variety of animals, such as a panda. The first wallpaper in the first state displays an image of the animal in a first pose. For example, the first pose may include: hands raised, legs curled up, and the corners of the mouth turned upward. The first wallpaper in the second pose displays the same animal in a second pose. For example, the second pose may include: hands lowered, legs straightened, and the corners of the mouth turned downward. The user operation to switch states may be a click operation on the animal image.
[0170] When the first wallpaper is a feather pattern, the first wallpaper in the first state displays feathers that are naturally spread out in their growth direction, simulating a real-world situation. The first wallpaper in the second state displays feathers that are fused together after a user moves some feathers, simulating a real-world situation. The user operation to switch states may be a sliding operation on some feathers.
[0171] In the embodiment of the present application, the first wallpaper may have more styles, and the first wallpapers of different styles may have more states. The above styles and states are only for illustrative purposes and are not limiting.
[0172] Furthermore, the electronic device can also display the first wallpaper in the third state on the back screen in response to the user operation while the first wallpaper in the second state is displayed on the back screen. The description of the first wallpaper in the third state can be referred to above and will not be repeated here.
[0173] 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 off 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.
[0174] Optionally, the electronic device may also detect a change in the posture of the electronic device, and display the first wallpaper in the second state on the back screen. Exemplarily, the style of the first wallpaper may be a water flow style or a multi-ball style. After the electronic device switches to the lock screen off state, it immediately displays the first wallpaper in the first state, and the first wallpaper in the first state displays a water flow or multiple small balls that are accumulated at the bottom of the back screen due to gravity in a simulated real state. Then the electronic device detects a change in the posture of the electronic device, for example, the electronic device sways left and right as the user walks, and displays the first wallpaper in the second state, and the first wallpaper in the second state displays a water flow or multiple small balls that sway left and right as the electronic device sways in a simulated real state. For example, when the electronic device swings to the left, the water flow or multiple small balls in the first wallpaper accumulate toward the lower left of the back screen; when the electronic device swings to the right, the water flow or multiple small balls in the first wallpaper accumulate toward the lower right of the back screen.
[0175] 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, not a sudden change. The user can observe that the first wallpaper gradually switches from the first state to the second state.
[0176] 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, where information contained in the first prompt box is provided by the application indicated by the first icon.
[0177] The electronic device may execute S605 after executing S603 or S604.
[0178] In some implementations, the electronic device stores multiple first wallpapers containing icons. For example, the first wallpaper is a wallet-style wallpaper. In the embodiment of the present application, other styles may also contain icons, which is not limited to this.
[0179] For example, the wallet-style first wallpaper may include, but is not limited to: an icon for indicating the favorites function in system applications; 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 user operations.
[0180] 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.
[0181] 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.
[0182] 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 without displaying the first prompt box; it can also respond to a click operation on a second icon without displaying the first prompt box and displaying the 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.
[0183] 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 the application indicated by the first icon.
[0184] After executing S605, the electronic device may execute S606.
[0185] In some implementations, if a lock screen password is set for the electronic device, the electronic device may display the lock screen wallpaper after receiving a click operation on the first prompt box. Thereafter, after receiving an unlock operation, the electronic device may display the first user interface. Unlock operations may include, but are not limited to, touch operations on a specific area (e.g., a fingerprint recognition area), facial unlock operations facing the camera, password input (e.g., an alphabetic and / or numeric password, a graphic password), and the like.
[0186] 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. Thereafter, the electronic device can respond to the unlock operation and display the first user interface.
[0187] 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.
[0188] In the embodiment of the present application, the above-mentioned first user interface is only used for exemplary purposes. The first user interface may also be other user interfaces in the application to which the first icon belongs, and this is not limited.
[0189] 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.
[0190] The electronic device executes S607 after executing S602 or S603 or S604 or S605.
[0191] 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.
[0192] 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 a screen-on operation, switch from a locked screen-off state to a locked screen-on 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 a black back screen on the back screen. Afterwards, the electronic device may respond to an unlock operation to display the user interface displayed before the electronic device locked the screen.
[0193] In some implementations, after the electronic device executes S604, it may execute S607. Specifically, when the electronic device displays the first wallpaper in the second state on the back screen, it may respond to the screen-on operation, switch from the locked screen off state to the locked screen on state, and display the lock screen wallpaper on the back screen. For details, please refer to the process of the electronic device executing S603 above, which will not be described in detail here.
[0194] Optionally, after the first wallpaper is displayed for a period of time exceeding a preset period, when the back screen is displayed in black, the electronic device can respond to a screen-lighting operation, switching from a locked screen-off state to a locked screen-on state, and display the lock screen wallpaper on the back screen.
[0195] In some implementations, after the electronic device executes S605, it may execute S607. 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 locked screen off state to the locked screen light state, and display the lock screen wallpaper on the back screen.
[0196] In addition to the method flow of displaying an interactive wallpaper on the back screen described in Figure 6 above, in one 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.
[0197] By implementing the above method, various interactive wallpapers can be set to fully meet the user's personalized needs. It can also enable electronic devices in the locked screen state to display interactive wallpapers, making them more beautiful. Furthermore, users can operate the interactive wallpaper and observe its changes, making the user's use of the electronic device more interesting.
[0198] FIG7 shows a schematic structural diagram of the electronic device 100 .
[0199] The electronic device 100 may be equipped with Or a portable terminal device with 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, 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, an in-vehicle device, a smart home device and / or a smart city device. Without limitation, the electronic device 100 can also include a laptop computer with a touch-sensitive surface or touch panel, a desktop computer with a touch-sensitive surface or touch panel, and other non-portable terminal devices. The embodiments of the present application do not impose any special restrictions on the specific type of the electronic device.
[0200] 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.
[0201] It should be understood that the structure illustrated in the embodiments 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, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0202] 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 processing unit (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). The different processing units may be independent devices or integrated into one or more processors.
[0203] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0204] In some embodiments, the processor 110 may include one or more interfaces. The interfaces 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.
[0205] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C bus lines. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, and the like via different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K via the I2C interface, enabling communication between the processor 110 and the touch sensor 180K via the I2C bus interface, thereby implementing the touch function of the electronic device 100.
[0206] 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 enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.
[0207] 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, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0208] The UART interface is a universal serial data bus used for asynchronous communication. This 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 typically 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 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.
[0209] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 100. The processor 110 and the display 194 communicate via the DSI interface to implement the display function of the electronic device 100.
[0210] The GPIO interface can be configured via software. The GPIO interface can be configured as either a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, display 194, wireless communication module 160, audio module 170, 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.
[0211] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.
[0212] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative 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 from the above embodiments, or a combination of multiple interface connection methods.
[0213] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0214] 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 provides power to the processor 110, the internal memory 121, the display 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 count, and battery health status (leakage, impedance). 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.
[0215] 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.
[0216] 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 antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0217] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G 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.
[0218] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted 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 being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the 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.
[0219] 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 that integrate 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, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0220] 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 a network and other devices through wireless communication technologies. The wireless communication technologies 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).
[0221] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0222] Display screen 194 is used to display images, videos, and the like. 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 (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0223] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0224] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and color. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0225] 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 light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion 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.
[0226] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0227] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0228] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0229] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
[0230] 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.
[0231] 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 cell potential level; universal flash storage (UFS) and embedded multi media card (eMMC) can be divided into UFS and eMMC according to the storage specification.
[0232] 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.
[0233] 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 .
[0234] 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 via the external memory interface 120 to implement data storage. For example, files such as music and videos can be stored in the external non-volatile memory.
[0235] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0236] 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 provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0237] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0238] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0239] Microphone 170C, also known as "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 the microphone 170C to input the sound signal into the 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 source of sound, realize directional recording function, etc.
[0240] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0241] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be located on display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force acts on pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the touch intensity based on pressure sensor 180A. Electronic device 100 can also calculate the touch location based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch location but with different touch intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, a command to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, a command to create a new short message is executed.
[0242] The gyroscope 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 gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope 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 gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.
[0243] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude using the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
[0244] 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 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 based on the magnetic sensor 180D. Based on the detected opening and closing status of the case or flip cover, features such as automatic unlocking of the flip cover can be configured.
[0245] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[0246] The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance using infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.
[0247] 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 is holding 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.
[0248] Ambient light sensor 180L is used to sense ambient light brightness. Electronic device 100 can adaptively adjust the brightness of display screen 194 based on the perceived ambient light. Ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 180L can also work with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent accidental touches.
[0249] 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.
[0250] 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 the 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 prevent the electronic device 100 from shutting down abnormally due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to prevent abnormal shutdown due to low temperature.
[0251] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a location different from that of the display screen 194.
[0252] The bone conduction sensor 180M can obtain vibration signals. In some embodiments, the bone conduction sensor 180M can obtain vibration signals from the vibrating bones of the human body. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulse signals. In some embodiments, the bone conduction sensor 180M can also be set in headphones to form bone conduction headphones. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bones of the human body obtained by the bone conduction sensor 180M to implement voice functions. The application processor can parse heart rate information based on the blood pressure pulse signals obtained by the bone conduction sensor 180M to implement heart rate detection functions.
[0253] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0254] 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.
[0255] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0256] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it 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.
[0257] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.
[0258] FIG8 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present invention.
[0259] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0260] The application layer can include a series of application packages.
[0261] As shown in FIG8 , the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
[0262] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0263] As shown in FIG8 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
[0264] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.
[0265] 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.
[0266] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0267] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).
[0268] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0269] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0270] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
[0271] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0272] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0273] The system library can 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.
[0274] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0275] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0276] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0277] A 2D graphics engine is a drawing engine for 2D drawings.
[0278] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0279] The following describes the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.
[0280] 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, touch operation timestamp, 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 a still image or video through the camera 193.
[0281] The various implementation modes of this application can be combined arbitrarily to achieve different technical effects.
[0282] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented 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, all or part of the processes or functions described herein are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may 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 therein. The available medium may 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 drive (SSD)).
[0283] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0284] In short, the above description is only an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made based on the disclosure of the present invention should be included in the scope of protection 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.