Wallpaper display method and related device
Generate dynamic cute pet wallpapers through user-defined settings and scene perception technology, solving the problem of single and insufficient fun wallpaper application scenarios, and improving the user experience and interactivity of electronic devices.
Patent Information
- Application Number
- PCT/CN2024/077042
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-02-08
- Publication Date
- 2025-08-14
AI Technical Summary
The wallpaper application scenarios of existing electronic devices are relatively single, and the user interacts with the lock screen interface less, which lacks fun, resulting in insufficient user experience.
Provides a wallpaper display method, allowing users to customize the setting of wallpaper elements, generate dynamic cute pet wallpapers, and automatically change wallpapers based on current scene information (such as weather, temperature, user mood, etc.), enhancing the interaction and fun between users and wallpapers.
Through custom cute pet wallpaper and scene perception technology, the user experience is improved, the fun of the lock screen interface and the sense of participation in the real world are increased, and wallpaper display is more in line with user preferences.
Smart Images

Figure CN2024077042_14082025_PF_FP_ABST
Abstract
Description
Wallpaper display method and related equipment Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a wallpaper display method and related equipment. Background Art
[0002] Electronic devices may be equipped with touch screens. To enhance the aesthetics of their display interfaces, they may be configured with wallpapers of varying styles. For example, if the electronic device displays a lock screen, the lock screen may include wallpapers; if the electronic device displays a desktop, the desktop may also include wallpapers. Wallpapers may be static or dynamic.
[0003] In possible implementations, electronic devices can set wallpapers in a theme wallpaper app or a settings app. They can also set user-downloaded images and videos as wallpapers. However, in possible implementations, wallpapers are often used in relatively limited scenarios. For example, users can generally only view wallpapers on the lock screen and desktop.
[0004] Summary of the Invention
[0005] The embodiments of the present application provide a wallpaper display method and related equipment, which can provide users with more diverse wallpapers, enrich the usage scenarios of wallpapers, and enhance the user experience when using wallpapers.
[0006] In a first aspect, an embodiment of the present application provides a wallpaper display method; applied to an electronic device, the method comprising: receiving a first operation from a user; displaying a wallpaper selection interface in response to the first operation; the wallpaper selection interface including multiple wallpapers; receiving a first selection operation from a user for a first wallpaper among the multiple wallpapers; displaying a setting interface for the first wallpaper in response to the first selection operation, the setting interface including a preview box and multiple pictures corresponding to the first wallpaper, the multiple pictures including multiple types of pictures; receiving a selection operation from a user for a target picture among the multiple pictures; displaying the target picture in the preview box in response to the selection operation; the target picture corresponding to target resource data; receiving a touch operation from a user on an application control; generating a target wallpaper based on the target resource data in response to the touch operation; the target wallpaper including multiple videos, each video corresponding to a preset scene information, the preset scene information including at least one of the following: current weather information, current temperature information, operation information, screen status of the electronic device, and / or user mood information; receiving an exit operation from the user; exiting the setting interface in response to the exit operation; receiving a second operation; displaying a lock screen interface in response to the second operation; the lock screen interface including a target video from the multiple videos that matches the current scene information. In this way, the electronic device can generate a user-customized video of cute pet wallpaper based on the resource data of the picture clicked by the user; enabling the electronic device to display wallpapers that are more in line with the user's preferences; in addition, in different scenarios, the electronic device can play videos corresponding to different scenarios, thereby enhancing the fun of the lock screen wallpaper and giving the user a sense of participation and happiness similar to the real world; thus improving the user's usage experience.
[0007] In one possible implementation, in response to a second operation, a lock screen interface is displayed, including: in a screen-off state, an operation to trigger screen-on is received; in response to the operation to trigger screen-on, a first target video is played in the lock screen interface; the first target video is a target video corresponding to the first scene information in the target wallpaper; in the first scene information, the screen state of the electronic device is switched from a screen-off state to a screen-on state, and the operation information is an operation to trigger screen-on; when the lock screen interface is in a screen-on state, a third operation is received; in response to the third operation, a second target video is played in the lock screen interface; the second target video is a target video corresponding to the second scene information in the target wallpaper; in the second scene information, the screen state of the electronic device is a screen-on state, and the operation information is the third operation; when the lock screen interface is in a screen-on state, a fourth operation is received; in response to the fourth operation, a third target video is played in the lock screen interface, the third target video is a target video corresponding to the third scene information in the target wallpaper; in the third scene information, the screen state of the electronic device is a screen-on state, and the operation information is a fourth operation; the fourth operation is different from the third operation. In this way, users can experience the fun of raising cute pets on the lock screen wallpaper interface, enhance the fun of the lock screen wallpaper, and bring users a sense of participation and happiness similar to the real world, thereby improving the user experience.
[0008] In one possible implementation, the second and third target videos both include the first object in the target image; the action of the first object in the second target video is different from the action of the first object in the third target video; and one of the third and fourth operations is a single-click operation, while the other is a double-click operation. In this way, the electronic device can display different cute pet animations based on the user's different touch operations on the cute pet, thereby expressing different interactive actions between the cute pet and the user, enriching the interaction scenarios between the cute pet and the user and increasing the fun of the cute pet wallpaper.
[0009] In one possible implementation, after playing the third target video in the lock screen interface, it also includes: receiving an operation to trigger screen off; in response to the operation to trigger screen off, playing a fourth target video in the lock screen interface, the fourth target video is the target video corresponding to the fourth scene information in the target wallpaper; in the fourth scene information, the screen state of the electronic device is switched from the screen-on state to the screen-off state, and the operation information is the operation to trigger screen off; in the screen-off state, receiving an operation to trigger screen on; in response to the operation to trigger screen on, playing a fifth target video in the lock screen interface, the fifth target video is the target video corresponding to the fifth scene information in the target wallpaper; in the fifth scene information, the screen state of the electronic device is switched from the screen-off state to the screen-on state, and the operation information is the operation to trigger screen on; the current weather information is any one of multiple preset weather information; the current weather information is obtained based on the weather application. In this way, electronic devices can automatically change cute pet wallpapers according to the current weather conditions. When the current weather information is the preset weather information, electronic devices can display cute pet wallpapers corresponding to the current weather information, thereby providing users with a more realistic user experience; in addition, electronic devices can remind users to bring umbrellas and pay attention to protection through lock screen wallpapers under preset weather information, further enhancing the user's user experience.
[0010] In one possible implementation, the preset weather information includes rain, snow, and haze. If the current weather information is rainy, the fifth target video includes a first object and an object indicating rain, where the rainy object includes at least one of the following: raindrops and an umbrella. Alternatively, if the current weather information is snowy, the fifth target video includes the first object and an object indicating snow, where the snowy object includes at least one of the following: snowflakes and a snowman. Alternatively, if the current weather information is haze, the fifth target video includes the first object and an object indicating haze, where the haze object includes a mask. In this way, the electronic device can automatically change its cute pet wallpaper based on the current weather conditions. On rainy days, the lock screen wallpaper can remind the user to bring an umbrella; on snowy days, the lock screen wallpaper can remind the user to keep warm; and on hazy days, the lock screen wallpaper can remind the user to take precautions. Furthermore, users can intuitively view weather information on the lock screen, eliminating the need to access the desktop or weather app from the lock screen, simplifying user operations and improving the user experience.
[0011] In one possible implementation, after playing the fourth target video on the lock screen interface, the process further includes: receiving an operation to trigger the screen to light up in the screen off state; in response to the operation to trigger the screen to light up, playing a sixth target video on the lock screen interface, the sixth target video being the target video corresponding to the sixth scene information in the target wallpaper; in the sixth scene information, the screen state of the electronic device is switched from the screen off state to the screen on state, and the operation information is the operation to trigger the screen to light up; the current temperature information is less than a first temperature threshold, or the current temperature information is greater than a second temperature threshold; the first temperature threshold is lower than the second temperature threshold; the current temperature information is obtained based on a weather application. In this way, the electronic device can automatically change the cute pet wallpaper according to the current temperature conditions. When the current temperature information is less than the first temperature threshold, or the current temperature information is greater than the second temperature threshold, the electronic device can display the cute pet wallpaper corresponding to the current temperature information, thereby providing the user with a more realistic user experience; in addition, the electronic device can remind the user to pay attention to heatstroke prevention and keep warm through the lock screen wallpaper in hot weather or cold weather information, further improving the user's user experience.
[0012] In one possible implementation, when the current temperature information is less than a first temperature threshold, the sixth target video includes a first object and an object indicating cold weather, and the object indicating cold weather includes at least one of the following: clothing and a cold shivering animation of the first object; or, when the current temperature information is greater than a second temperature threshold, the sixth target video includes the first object and an object indicating hot weather, and the object indicating hot weather includes at least one of the following: the sun and sweat beads. In this way, the electronic device can automatically change the cute pet wallpaper according to the current temperature conditions. In cold weather, the lock screen wallpaper can be used to remind the user to keep warm; in hot weather, the lock screen wallpaper can be used to remind the user to take precautions against heatstroke. In addition, users can intuitively understand the temperature information on the lock screen interface, and no longer need to enter the desktop or weather application from the lock screen interface to view it, which simplifies user operations and improves the user experience.
[0013] In one possible implementation, after playing the fourth target video on the lock screen interface, the following further includes: receiving an operation to trigger the screen to light up in the screen off state; in response to the operation to trigger the screen to light up, playing a seventh target video on the lock screen interface, the seventh target video being the target video corresponding to the seventh scene information in the target wallpaper; in the seventh scene information, the screen state of the electronic device is switched from the screen off state to the screen on state, and the operation information is the operation to trigger the screen to light up; the user mood information is any one of a plurality of preset mood information; the user mood information is obtained based on a calendar application. In this way, the electronic device can automatically change the cute pet wallpaper based on information such as the schedule, memo, and user mood, synchronizing the cute pet's mood with the user's when the user is happy; or, when the user is sad, the cute pet's happy state can alleviate the user's negative emotions, thereby improving the user's experience.
[0014] In a possible implementation, a target image includes a first image, a second image, and a third image; the first image, the second image, and the third image respectively belong to different types of images; in response to a selection operation, the target image is displayed in a preview box; the method includes: receiving a user's selection operation on a first image among multiple images; in response to the user's selection operation on the first image among the multiple images, displaying the first image in a preview box; the first image corresponds to first resource data; the first resource data includes a resource type of the first image and a resource number of the first image; receiving a user's selection operation on a second image among the multiple images; in response to the user's selection operation on the second image among the multiple images, displaying in a preview box an image in which the first image and the second image are superimposed; the second image corresponds to second resource data; the second resource data includes a second resource type and a second resource number; receiving a user's selection operation on a third image among the multiple images; in response to the user's selection operation on the third image among the multiple images, displaying in a preview box an image in which the first image and the second image are superimposed; In this way, the electronic device can display the style of the cute pet wallpaper customized by the user in real time in the preview frame for the user to preview, thereby improving the user's usage experience.
[0015] In one possible implementation, the first image includes a first object; the second image includes a second object; and the third image includes a third object. The first object includes a cute pet, the second object includes the pet's accessories, and the third object includes a background. In this way, the electronic device can use different types of images to generate a user-selected cute pet wallpaper, thereby enhancing the user experience.
[0016] In one possible implementation, any target video includes a first object, a second object, and a third object. In any target video, the first object is layered above the third object, and the second object is layered above the first object. This allows the electronic device to display a dynamic wallpaper of a cute pet wearing corresponding accessories against a specific background, enhancing the user experience.
[0017] In one possible implementation, in response to a touch operation, generating a target wallpaper based on target resource data includes: loading a theme package, the theme package including: multiple videos matching any one of multiple images, and a configuration file; the configuration file including a correspondence between resource data and videos; searching the configuration file for a video corresponding to the target resource data; the target resource data including first resource data, second resource data, and third resource data; the first resource data corresponding to a first video in multiple scenes, the second resource data corresponding to a second video in multiple scenes, and the third resource data corresponding to a third video in multiple scenes; synthesizing the first video, the second video, and the third video in any scene into a target video for the scene; and splicing the target videos in multiple scenes into a target wallpaper. Thus, upon receiving a touch operation on an application control, the electronic device downloads the theme package, thereby avoiding lags caused by loading and parsing the theme package during preview; displays the image during preview, and upon receiving a touch operation on the application control, the electronic device synthesizes the video corresponding to the image into a dynamic target wallpaper, thereby avoiding lags caused during video editing. Furthermore, splicing multiple videos into a single video facilitates video management for the electronic device.
[0018] In one possible implementation, the configuration file also includes a correspondence between scene information and a target frame rate. Combining target videos from multiple scenes into a target wallpaper includes combining the multiple target videos based on the correspondence between the scene information and the target frame rate to generate the target wallpaper. This allows for quick search of the target frame rate based on the scene during subsequent playback. Compared to playing multiple videos, the electronic device can quickly play the frame image corresponding to the target frame rate in the target wallpaper, reducing the time required to query and read multiple videos.
[0019] In one possible implementation, a first video, a second video, and a third video of any scene are synthesized into a target video of the scene, including: processing the transparency video of the first video and the color scale video of the first video to obtain a processed first video; each pixel in any frame of the transparency video corresponds to transparency information, and each pixel in any frame of the color scale video corresponds to color scale information; each pixel in any frame of the processed first video corresponds to transparency information and color scale information; processing the transparency video of the second video and the color scale video of the second video to obtain a processed second video; processing the transparency video of the third video and the color scale video of the second video to obtain a processed third video; creating a first video track, a second video track, and a third video track; the first video track, the second video track, and the third video track each belonging to a different video layer; adding the processed first video to the first video track; adding the processed second video to the second video track; and adding the processed third video to the third video track to obtain the target video of the scene. In this way, the electronic device can overlay videos of cute pets, accessories, and backgrounds through the video tracks, and optimize the effect of the target wallpaper by adjusting the transparency, thereby enhancing the aesthetics of the target wallpaper.
[0020] In one possible implementation, in response to the second operation, displaying the lock screen interface includes: obtaining current scene information in response to the second operation; if the current scene information is preset scene information, searching a configuration file for a target frame number that matches the current scene information; and playing a frame image corresponding to the target frame number in the target wallpaper on the lock screen interface. In this way, when playing the target wallpaper on the lock screen interface, the target frame number can be quickly found based on the scene; compared to playing multiple videos, the electronic device can quickly play the frame image corresponding to the target frame number in the target wallpaper, reducing the time required to query and read multiple videos.
[0021] In a second aspect, an embodiment of the present application proposes a wallpaper display method; applied to an electronic device, the method comprising: receiving a first operation from a user; displaying a wallpaper selection interface in response to the first operation; the wallpaper selection interface including multiple wallpapers; receiving a first selection operation from a user for a first wallpaper from the multiple wallpapers; displaying a setting interface for the first wallpaper in response to the first selection operation, the setting interface including a preview box and multiple pictures corresponding to the first wallpaper, the multiple pictures including multiple types of pictures; receiving a selection operation from a user for a target picture from the multiple pictures; displaying the target picture in the preview box in response to the selection operation; the target picture corresponding to target resource data; receiving a touch operation from a user on an application control; generating a target wallpaper based on the target resource data in response to the touch operation; the target wallpaper including multiple videos, each video corresponding to a preset scene information, the preset scene information including at least one of the following: current weather information, current temperature information, operation information, screen status of the electronic device, and / or user mood information; receiving an exit operation from the user; exiting the setting interface in response to the exit operation; receiving a notification message; displaying a lock screen interface in response to the notification message; the lock screen interface including a target video from the multiple videos that matches the current scene information. In this way, the electronic device can generate a user-customized video of cute pet wallpaper based on the resource data of the picture clicked by the user; enabling the electronic device to display wallpapers that are more in line with the user's preferences; in addition, in different scenarios, the electronic device can play videos corresponding to different scenarios, thereby enhancing the fun of the lock screen wallpaper and giving the user a sense of participation and happiness similar to the real world; thus improving the user's usage experience.
[0022] In the first aspect, the screen-lighting triggering operation can be a user operation, such as pressing the power button, lifting the screen to light up, or someone coming to light up the screen. In the second aspect, the screen-lighting triggering operation can be a notification message-triggered screen-lighting operation. Notification messages include text messages, notification messages pushed by applications, missed call reminders, and other messages that can trigger screen light up.
[0023] In a third aspect, an embodiment of the present application provides an electronic device, which may also be referred to as a terminal device, terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device may be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc.
[0024] The electronic device includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the method as in the first aspect.
[0025] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method of the first aspect.
[0026] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is run, it enables the computer to execute the method of the first aspect.
[0027] In a sixth aspect, an embodiment of the present application provides a chip comprising at least one processor and a communication interface, wherein the communication interface and the at least one processor are interconnected via lines, and the at least one processor is used to run a computer program or instruction to execute the method described in the first aspect.
[0028] It should be understood that the third to sixth aspects of the present application correspond to the technical solutions of the first and / or second aspects of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] FIG1 is a schematic diagram of an interface for entering custom settings of cute pet wallpapers provided in an embodiment of the present application;
[0030] FIG2 is a schematic diagram of an interface for customizing settings of a cute pet wallpaper provided in an embodiment of the present application;
[0031] FIG3 is a schematic diagram of an interface for displaying cute pet wallpapers provided in an embodiment of the present application;
[0032] FIG4 is a schematic diagram of an interface for interacting with a user using a cute pet wallpaper provided in an embodiment of the present application;
[0033] FIG5 is a schematic diagram of an interface for linking cute pet wallpaper with weather according to an embodiment of the present application;
[0034] FIG6 is a schematic diagram of an interface for linking cute pet wallpaper with temperature according to an embodiment of the present application;
[0035] FIG7 is a schematic diagram of an interface for linking a cute pet wallpaper with a calendar application according to an embodiment of the present application;
[0036] FIG8 is a schematic diagram of an interface of a wallpaper display method provided in an embodiment of the present application;
[0037] FIG9 is a schematic diagram of a process for setting cute pet wallpapers according to an embodiment of the present application;
[0038] FIG10 is a schematic diagram of synthesizing a color-scale video with transparency provided by an embodiment of the present application;
[0039] FIG11 is a schematic diagram of a process of using cute pet wallpapers provided in an embodiment of the present application;
[0040] FIG12 is a schematic diagram of a process for identifying a usage scenario of cute pet wallpapers provided in an embodiment of the present application;
[0041] FIG13 is a flowchart of internal interaction of an electronic device 100 provided in an embodiment of the present application;
[0042] FIG14 is a flowchart of internal interactions of another electronic device 100 provided in an embodiment of the present application;
[0043] FIG15 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application;
[0044] FIG16 is a software structure block diagram of the electronic device 100 provided in an embodiment of the present application;
[0045] FIG17 is a schematic structural diagram of a wallpaper display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] To facilitate a clear description of the technical solutions of the embodiments of the present application, some of the terms and technologies involved in the embodiments of the present application are briefly introduced below:
[0047] 1) Lock and unlock the screen
[0048] A lock screen is a security feature used to protect data and privacy in an electronic device when it is in use. In the lock screen state, programs in the electronic device remain running. In an embodiment of the present application, when the electronic device is in the lock screen state, the electronic device may display a lock screen interface, which may include wallpaper.
[0049] Unlocking can be understood as releasing the lock on the electronic device's display screen. In some embodiments, the electronic device can be configured with multiple screen unlocking methods. For example, the screen unlocking methods can include password unlocking, fingerprint unlocking, face unlocking, and gesture unlocking. The electronic device can unlock the electronic device using these screen unlocking methods, allowing the electronic device to enter the desktop from the lock screen interface. In some embodiments, the electronic device may not have a lock screen, and when a swipe-up operation is received on the lock screen interface, the electronic device can enter the desktop from the lock screen interface.
[0050] 2) Screen off, always on display (AOD), and screen on
[0051] Screen off, also known as screen rest or screen off, refers to powering off the display of an electronic device. When the screen is off, the brightness of the display is lower than the preset brightness. Screen on refers to powering on the display of an electronic device. When the screen is on, the brightness of the display is higher than the preset brightness.
[0052] Screen off may also include AOD mode. AOD can be understood as also known as always-on display; it means that when the electronic device is in the screen off state, part of the screen of the electronic device is black and part of the screen remains lit; in the lit screen area, the electronic device can display information, such as: time, date, and unread messages. The AOD mode can save battery power of the electronic device, and it is also convenient for users to check information at any time. In the embodiment of the present application, when the electronic device turns on the AOD mode, the electronic device can display wallpaper in the screen off state.
[0053] In some embodiments, an electronic device can enter a screen-on state from a screen-off state. For example, when an electronic device is in a screen-off state and receives a touch operation on the power button, the electronic device can enter a screen-on state, where the touch operation can be, for example, a click operation. After the screen is on, the electronic device can display the lock screen interface.
[0054] In some other embodiments, the electronic device may also enter the screen-on state from the always on display (AOD) interface. For example, when the electronic device is in the AOD state and receives a touch operation on the power button, the electronic device may enter the screen-on state. After the screen is on, the electronic device may display the lock screen interface.
[0055] To facilitate a clear description of the technical solutions of the embodiments of this application, the words "exemplary" or "for example" are used in the embodiments of this application to indicate examples, illustrations, or explanations. Any embodiment or design described in this application as "exemplary" or "for example" should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0056] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0057] It should be noted that the "at..." in the embodiments of the present application can be the instant when a certain situation occurs, or it can be a period of time after the situation occurs, and the embodiments of the present application do not specifically limit this. In addition, the display interface provided in the embodiments of the present application is only an example, and the display interface can also include more or less content.
[0058] In possible implementations, the wallpaper displayed on an electronic device can be a preset wallpaper downloaded by the user from a theme wallpaper app and / or a settings app. Alternatively, the wallpaper can be set by the user using downloaded images and videos. However, in possible implementations, the application scenarios for wallpapers are relatively limited. Specifically, when a wallpaper is displayed on the lock screen, the user can view the wallpaper from the time the screen turns on to the time it unlocks. User interaction with the lock screen is limited, resulting in poor user-computer interactivity and a lack of fun.
[0059] In view of this, an embodiment of the present application provides a wallpaper display method, where users can customize the elements in the wallpaper; for example, the elements in the wallpaper may include pets, pet accessories, and backgrounds; the electronic device can generate a user-exclusive pet wallpaper based on the user's selection; when the electronic device displays the lock screen interface, the user can interact with the pet in the lock screen interface, and the pet status can be associated with the weather, temperature, date, etc., thereby enhancing the fun of the wallpaper, giving the user a sense of participation and happiness similar to that of the real world, and improving the user experience.
[0060] In the embodiment of the present application, the electronic device can set the cute pet wallpaper based on the setting application and / or the theme wallpaper application. The following takes the setting of the cute pet wallpaper based on the setting application as an example, and combines Figures 1 and 2 to illustrate the setting process of the cute pet wallpaper in the embodiment of the present application.
[0061] FIG1 shows a schematic diagram of an interface for entering customized settings of cute pet wallpapers provided in an embodiment of the present application, as shown in FIG1 :
[0062] The electronic device's desktop may include an icon for a settings application. When the electronic device receives a touch operation on the icon for the settings application, the electronic device may enter a settings interface. The settings interface may be, for example, the interface shown in FIG1a. The interface shown in FIG1a may include multiple settings controls (controls may also be referred to as icons). For example, the settings control may be a desktop and personalization control 101. The desktop and personalization control 101 may be used to set wallpaper elements on the screen. In some embodiments, the desktop and personalization control 101 may also be referred to as wallpaper and personalization controls.
[0063] When a touch operation is received for the desktop and personalized control 101, the electronic device may enter an interface such as that shown in b in FIG1 . In this interface, the electronic device may set elements such as wallpaper, fonts and / or icons in the desktop, lock screen interface and AOD interface. For example, the interface shown in b in FIG1 may include: a setting control for the lock screen wallpaper, a setting control for the off-screen display, a setting control for the magazine lock screen, a setting control for the font, a setting control for the icon, a setting control for the theme and a personalized setting control 102. Each setting control corresponds to a preview schematic diagram of its own interface or element.
[0064] In an embodiment of the present application, the entrance to personalized cute pet wallpaper can be set as the personalized setting control 102; illustratively, when a touch operation is received on the personalized setting control 102, the electronic device can enter the wallpaper selection interface, and the wallpaper selection interface is shown as interface c in Figure 1.
[0065] In the interface shown in c of FIG1 , the electronic device can display multiple types of themes, such as cute pet theme 103 (shown in the dotted box in the interface shown in c of FIG1 ) and other themes. Taking cute pet theme 103 as an example, the user can customize multiple cute pet themes. For example, cute pet theme 103 includes cute pet themes that the user has already set and cute pet themes that are yet to be set.
[0066] The cute pet theme set by the user may correspond to setting control 104, which may be a preview diagram of the cute pet theme customized and saved by the user; the electronic device may modify the cute pet theme set by the user based on setting control 104. The cute pet theme to be set may correspond to setting control 105, which may be a preset image or a plus sign icon to indicate that setting control 105 is used to create a new cute pet theme.
[0067] In the interface shown in Figure 1 (c), upon receiving a touch operation on the settings control 105, the electronic device may display a wallpaper settings interface, such as the interface shown in Figure 1 (d). In the interface shown in Figure 1 (d), the electronic device may display a preview box 106, a confirmation control 107, an apply control 108, and multiple wallpaper elements. Preview box 106 can be used to preview the effect of the customized cute pet wallpaper; confirm control 107 can be used to save the customized cute pet wallpaper; and apply control 108 can be used to apply the cute pet wallpaper to the electronic device.
[0068] Wallpaper elements can be pictures, and multiple wallpaper elements can be patterns that can be added to wallpapers. For example, multiple wallpaper elements can be divided into one type of wallpaper elements, two types of wallpaper elements, and three types of wallpaper elements; specifically, the objects in the first type of wallpaper elements can be pet characters, the objects in the second type of wallpaper elements can be accessories, and the objects in the third type of wallpaper elements can be backgrounds. Among them, the number of pet characters, the number of accessories, and the number of backgrounds provided by the electronic device can be the same; illustratively, in the interface shown in d in Figure 1, the number of pet characters is 3, and the pet characters can be a variety of pets, such as dogs, cats, and rabbits; the number of accessories is 3, for example, accessories can be sunglasses, bows, and collars; the number of backgrounds is 3. The number of pet characters, the number of accessories, and the number of backgrounds provided by the electronic device can also be different. In the embodiment of the present application, the wallpaper elements can be of other styles or other quantities. The embodiment of the present application does not limit this.
[0069] Figure 2 is a schematic diagram of an interface for setting cute pet wallpapers provided in an embodiment of the present application. As shown in Figure 2:
[0070] The electronic device may display a wallpaper settings interface, such as the interface shown in FIG2a. In this interface, the user can customize the pattern style of the pet character, accessories, and / or background. A first-category wallpaper element has multiple settings controls corresponding to it, such as the dog settings control 202, the cat settings control, and the rabbit settings control; a second-category wallpaper element has multiple settings controls corresponding to it, such as the sunglasses settings control, the bow settings control, and the collar settings control 203; and a third-category wallpaper element has multiple settings controls corresponding to it, such as the background 1 settings control 204, the background 2 settings control, and the background 3 settings control.
[0071] When a user clicks any of the above setting controls, the electronic device may display the wallpaper element corresponding to the setting control in preview box 201. For example, if a user clicks on dog setting control 202, in response to the click operation on dog setting control 202, the electronic device displays a dog image in preview box 201; if the user clicks on collar setting control 203, in response to the click operation on collar setting control 203, the electronic device displays a dog image wearing a collar in preview box 201; if the user clicks on background 1 setting control 204, in response to the click operation on background 1 setting control 204, the electronic device displays a dog image wearing a collar under background 1 in preview box 201, as shown in the interface b in Figure 2.
[0072] In the interface shown in b of FIG. 2 , the electronic device may display multiple wallpaper elements, with the settings controls for some of the wallpaper elements being selected. For example, the dog settings control 202, the collar settings control 203, and the background 1 settings control 204 are all selected. Accordingly, the wallpaper elements corresponding to the selected settings controls are displayed in the preview box 201.
[0073] The selected setting control is different from the unselected setting control, and the electronic device may highlight the selected setting control. This highlighting may include: displaying an outer border around the selected setting control, displaying an overlay around the selected setting control, displaying a different color for the selected setting control than for the unselected setting control, etc. This embodiment of the present application is not limited thereto.
[0074] In an embodiment of the present application, the number of wallpaper elements of the electronic device may be more than the number of wallpaper elements in the interface shown in a in Figure 2; for example, the number of wallpaper elements of pet characters may be greater than 3, and the electronic device may display more wallpaper elements of pet characters based on a sliding operation, and the sliding operation may be a left-right slide or an up-down slide.
[0075] In an embodiment of the present application, the setting controls of multiple wallpaper elements of the same type may be mutually exclusive. For example, when the sunglasses setting control is selected, the electronic device receives a click operation on the collar setting control 203. In response to this operation, the electronic device may set the sunglasses setting control to an unselected state and the collar setting control 203 to a selected state. In some embodiments, the setting controls of multiple wallpaper elements of the same type may be superimposed. For example, when the sunglasses setting control is selected, the electronic device receives a click operation on the collar setting control 203. In response to this operation, the electronic device may set the collar setting control 203 to a selected state, and a preview diagram of the dog wearing sunglasses and a collar is displayed in the preview box 201. This embodiment of the present application is not limited to this.
[0076] In the interface shown in b of Figure 2 , the electronic device may also display a confirmation control 205 and an application control 206. In some embodiments, after the user completes customizing the cute pet wallpaper, the electronic device may receive a touch operation on the confirmation control 205; in response to the touch operation on the confirmation control 205, the electronic device may save the wallpaper elements in the preview box 201. For example, the electronic device may display the interface shown in d of Figure 2 , in which the cute pet theme 207 set by the user may be displayed.
[0077] In other embodiments, in the interface shown in b in Figure 2, after the user completes the customized setting of the cute pet wallpaper, the electronic device may receive a touch operation on the application control 206; in response to the touch operation on the application control 206, the electronic device may synthesize the wallpaper elements in the preview box 201 into a wallpaper, and apply the synthesized wallpaper to the electronic device.
[0078] It should be noted that, in an embodiment of the present application, the electronic device can display a dynamic cute pet wallpaper on the lock screen interface. During the cute pet wallpaper setting process, the setting control of the wallpaper element can be a dynamic video; the preview diagram in the preview box can be a dynamic preview diagram, that is, the electronic device can display the video of the wallpaper element in the interface shown in b in Figure 2. However, since the user needs to adjust the elements in the cute pet wallpaper multiple times during the setting process, displaying the synthesized video in real time in the preview box 201 puts a lot of pressure on the operation of the electronic device; in order to reduce the operating pressure of the electronic device, the electronic device can display the setting control of the static wallpaper element and the static preview diagram; that is, the electronic device can display a static picture of the wallpaper element in the interface shown in b in Figure 2. After the electronic device applies the cute pet wallpaper, the dynamic video is displayed on the lock screen interface.
[0079] In this embodiment, the electronic device can synthesize a dynamic wallpaper video corresponding to multiple wallpaper elements when a touch operation is received on the application control 206. The video synthesis time is relatively long, generally taking several seconds to complete. To prevent users from mistakenly believing that the screen is frozen, the electronic device can display a configuration progress bar 208. Configuration progress bar 208 can indicate the current cute pet wallpaper configuration progress.
[0080] It should be noted that the above embodiment uses the settings application as an example to introduce the entry interface for the cute pet wallpaper settings portal and the interface for customizing the cute pet wallpaper settings. In some embodiments, the cute pet wallpaper settings portal can also be set in the theme wallpaper application or other applications, and the embodiments of this application do not limit this.
[0081] In this way, the embodiment of the present application provides a method for setting wallpapers, and users can customize cute pet wallpapers according to their own preferences, so that electronic devices can display wallpapers that are more in line with user preferences, thereby improving the user experience.
[0082] The above embodiment illustrates the process of setting up the cute pet wallpaper. The following describes the process of using the cute pet wallpaper in the embodiment of the present application in conjunction with Figures 3 to 8.
[0083] FIG3 shows a method for displaying cute pet wallpapers provided by an embodiment of the present application, as shown in FIG3 :
[0084] In some embodiments, the electronic device may be in a screen-off state, such as the interface shown in Figure 3 (a); the brightness of the electronic device's touch screen is lower than a brightness threshold. In this interface, upon receiving an operation to trigger the screen to light up, the electronic device may be controlled to switch from the screen-off state to the screen-lighting state. After the screen is turned on, the electronic device may display the interface shown in Figure 3 (b).
[0085] The operation of triggering the screen to light up can be an operation for controlling the electronic device to switch from the screen-off state to the screen-on state. Specifically, the operation of triggering the screen to light up can be a click on the power button when the screen is off; the operation of triggering the screen to light up can also be automatic screen lighting after receiving a notification message; the operation of triggering the screen to light up can also be triggered by lifting the screen when the electronic device is placed vertically; the operation of triggering the screen to light up can also be automatic screen lighting based on the TOF camera and / or AO camera capturing a face. The embodiments of the present application do not limit the touch operation from the screen-off state to the screen-on state.
[0086] The notification message may be, for example, a short message, a notification message pushed by an application, a missed call reminder, or other messages that can trigger the screen to light up.
[0087] In the interface shown in b of Figure 3 , the electronic device may display a lock screen interface, which includes a cute pet wallpaper. This cute pet wallpaper is a dynamic wallpaper customized by the user. For example, this cute pet wallpaper includes wallpaper elements such as a dog, a collar accessory, and background 1. Upon receiving an unlock triggering operation, the electronic device may display a desktop, which may be the interface shown in d of Figure 3 . The desktop includes a cute pet wallpaper, which may be a static wallpaper. The cute pet wallpaper on the desktop may correspond to the cute pet wallpaper on the lock screen interface. For example, the cute pet wallpaper on the desktop may be a frame extracted and / or screenshot from a video of the cute pet wallpaper on the lock screen interface.
[0088] The operation that triggers unlocking can be an operation that controls the screen unlocking of the electronic device. Specifically, if the electronic device is provided with a screen unlocking method, the electronic device can be unlocked based on the corresponding screen unlocking method, such as face unlocking, fingerprint unlocking, password unlocking, and gesture unlocking; if the electronic device is not provided with a screen unlocking method, the electronic device can exit the lock screen interface based on a swipe-up operation.
[0089] It should be noted that in some embodiments, when an application is running in the foreground of an electronic device and an operation is received to trigger the screen to turn on while the screen is off, the electronic device may display the application interface without displaying the desktop. In addition, users can mix and match wallpapers when setting wallpapers, using different styles for the lock screen interface and desktop. In this case, the cute pet wallpaper may not be displayed on the desktop, and this is not limited in the embodiments of the present application.
[0090] The above embodiments describe cute pet wallpapers in the lock screen interface, taking the electronic device's AOD function as an example. In other embodiments, after the AOD function is enabled, the electronic device may display an AOD interface when the screen is off, such as the interface shown in Figure 3 (c). In the interface shown in Figure 3 (c), the electronic device may display cute pet wallpapers; the cute pet wallpapers in the AOD interface may be dynamic wallpapers or static wallpapers.
[0091] When the electronic device supports the full-screen AOD function, the electronic device can display the cute pet wallpaper in full screen; when the electronic device supports the half-screen AOD function, the electronic device can display the cute pet wallpaper on part of the touch screen. The embodiment of the present application does not limit this. Among them, the average brightness of the AOD interface can be greater than the average brightness of the interface shown in a in Figure 3, and the average brightness of the lock screen interface can be greater than the average brightness of the AOD interface.
[0092] In an embodiment of the present application, when an operation is received to trigger the screen to turn off, the electronic device can switch from the interface shown in b in Figure 3 or from the interface shown in d in Figure 3 to the interface shown in c in Figure 3; after the screen is turned off, the electronic device can also display cute pet wallpapers.
[0093] The screen-off triggering operation may be an operation for controlling the electronic device to switch from the screen-on state to the screen-off state. Specifically, the screen-off triggering operation may be a click on the power button when the screen is on; the screen-off triggering operation may also be the automatic screen-off of the electronic device after a preset time has passed; the screen-off triggering operation may also be the automatic screen-off after a period of time when the TOF camera and / or AO camera has not captured a face. The embodiments of the present application do not limit the touch operation from the screen-on state to the screen-off state.
[0094] In this way, the electronic device can display the cute pet wallpapers customized by the user in multiple interfaces, provide wallpapers that are more in line with the user's preferences, and enhance the user experience.
[0095] The above embodiments illustrate the common usage scenarios of the cute pet wallpaper provided in the embodiments of this application. In the embodiments of this application, the cute pet wallpaper can be linked with user operations, weather, temperature, calendar and other information to create more interesting cute pet wallpapers.
[0096] FIG4 shows a schematic diagram of an interface for interaction between a cute pet and a user provided in an embodiment of the present application. As shown in FIG4:
[0097] After the screen of the electronic device is turned on, it can display a lock screen interface, such as the interface shown in a in Figure 4. In this interface, the user can interact with the cute pet.
[0098] In some embodiments, when the electronic device receives a single-click operation, the electronic device may display an interface as shown in FIG4 b. In the interface shown in FIG4 b, the electronic device may display dynamic wallpapers such as petting a cute pet, a cute pet bowing, shaking hands with a cute pet, and / or a cute pet spinning in circles. This embodiment of the application does not limit the pet interactive content in the lock screen wallpaper.
[0099] In some other embodiments, in the interface shown in a of Figure 4, when the electronic device receives a double-click operation, the electronic device may display the interface shown in c of Figure 4. In the interface shown in c of Figure 4, the electronic device may display a dynamic wallpaper of feeding a cute pet.
[0100] It should be noted that the embodiment of the present application does not limit the touch operation used to trigger pet interaction. The embodiment of the present application can also use touch operations to realize interactive scenes such as bathing and taking walks for cute pets, and the embodiment of the present application does not limit this.
[0101] It can be understood that in an embodiment of the present application, the finger in the interface shown in a in FIG4 can be represented as: the user clicks on any position of the cute pet in the lock screen wallpaper, or the user clicks on any non-functional area in the lock screen wallpaper to implement a single-click operation or a double-click operation. The hand in the interface shown in b in FIG4 can be represented as: after the user performs a single-click operation, in response to the user's single-click operation, the electronic device can display a dynamic effect of a palm stroking a dog. Among them, the functional area may include, for example, the camera control 401 in the interface shown in a in FIG4, and the non-functional area may be an area in the lock screen interface that does not include functional controls such as the camera control 401. For example, the non-functional area may include a blank area of the background and any position of the cute pet.
[0102] In this way, users can experience the fun of raising cute pets on the lock screen wallpaper interface, enhance the fun of the lock screen wallpaper, and bring users a sense of participation and happiness similar to the real world, thereby improving the user experience.
[0103] FIG5 shows a schematic diagram of an interface for linking cute pet wallpaper with weather provided by an embodiment of the present application, as shown in FIG5 :
[0104] In some embodiments, the electronic device may display a desktop, such as the interface shown in a of FIG. 5 . This interface may include weather information 501, wherein weather information 501 may indicate that the current weather is rainy. When it is raining in the real world, the electronic device may display a lock screen interface, such as that shown in b of FIG. 5 . In the interface shown in b of FIG. 5 , the electronic device may display a cute pet wallpaper corresponding to a rainy day. The elements of the cute pet wallpaper corresponding to a rainy day are partially the same as the elements of the cute pet wallpaper customized by the user in the embodiment shown in FIG. 2 . For example, the elements of the cute pet wallpaper corresponding to a rainy day include background 1, a dog, and a collar accessory. In addition, the cute pet wallpaper corresponding to a rainy day may also include elements that represent a rainy day, such as raindrops and an umbrella. For example, the cute pet wallpaper corresponding to a rainy day may display a video of a dog wearing a collar holding an umbrella to avoid the rain in background 1. During the wallpaper display process, the wallpaper elements may be dynamic videos.
[0105] In other embodiments, the electronic device may display a desktop, such as the interface shown in c in Figure 5. The interface may include weather information 502, wherein the weather information 502 may indicate that the current weather is snowy. When the real world is snowing, the electronic device may display a lock screen interface as shown in d in Figure 5. In the interface shown in d in Figure 5, the electronic device may display a cute pet wallpaper corresponding to a snowy day; the elements in the cute pet wallpaper corresponding to a snowy day are partially the same as the elements of the cute pet wallpaper customized by the user in the embodiment shown in Figure 2. For example, the elements in the cute pet wallpaper corresponding to a snowy day include background 1, a dog, and a collar accessory. In addition, the cute pet wallpaper corresponding to a snowy day may also include elements such as snowflakes, snowballs, and snowmen to represent a snowy day. For example, the cute pet wallpaper corresponding to a snowy day may be displayed as a video of a dog wearing a collar playing in the snow in background 1.
[0106] In some other embodiments, the electronic device may display a desktop, such as the interface shown in e in Figure 5. The interface may include weather information 503, wherein the weather information 503 may indicate that the current weather is haze weather. When the real world is in haze weather, the electronic device may display a lock screen interface as shown in f in Figure 5. In the interface shown in f in Figure 5, the electronic device may display a cute pet wallpaper corresponding to haze weather; the elements in the cute pet wallpaper corresponding to haze weather are partially the same as the elements of the cute pet wallpaper customized by the user in the embodiment shown in Figure 2. For example, the elements in the cute pet wallpaper corresponding to haze weather include background 1, a dog, and a collar accessory. In addition, the cute pet wallpaper corresponding to haze weather may also include elements such as masks for representing haze. For example, the cute pet wallpaper corresponding to haze weather may be displayed as a video of a dog wearing a collar and a mask in background 1.
[0107] Among them, the electronic device can use the method of turning off the screen and then turning on the screen to enter the lock screen interface from the desktop, for example, from the interface shown in Figure 5 a to the interface shown in Figure 5 b; from the interface shown in Figure 5 c to the interface shown in Figure 5 d; from the interface shown in Figure 5 e to the interface shown in Figure 5 f, etc. The above interface switching process can refer to the embodiment shown in Figure 3, and the embodiment of this application does not limit this. In addition, the embodiment of this application only uses preset weather such as rainy days, snowy days and foggy weather as examples to illustrate the process of linking cute pet wallpapers with weather. The embodiment of this application does not limit the preset weather.
[0108] It can be understood that in the embodiment of the present application, the electronic device can automatically change the cute pet wallpaper according to the current weather conditions. When the current weather is the preset weather, the electronic device can display the cute pet wallpaper corresponding to the current weather, thereby providing users with a more realistic user experience; in addition, the electronic device can remind users to bring umbrellas and pay attention to protection through the lock screen wallpaper in the preset weather, thereby further enhancing the user's user experience.
[0109] FIG6 shows a schematic diagram of an interface for linking cute pet wallpaper with temperature provided by an embodiment of the present application, as shown in FIG6 :
[0110] In some embodiments, the electronic device may display a desktop, such as the interface shown in Figure 6a. This interface may include temperature information 601, which may represent the real-time temperature. When the real-world temperature is below a first temperature threshold, the electronic device may display a lock screen interface as shown in Figure 6b. For example, the real-time temperature is -5°C and the first temperature threshold is 0°C. In the interface shown in Figure 6b, the electronic device may display a cute pet wallpaper corresponding to cold weather. The elements in the cute pet wallpaper corresponding to cold weather are partially the same as the elements of the user-customized cute pet wallpaper in the embodiment shown in Figure 2. For example, the elements in the cute pet wallpaper corresponding to cold weather include background 1, a dog, and a collar accessory. In addition, the cute pet wallpaper corresponding to cold weather may also include elements such as hats and clothes to represent cold weather. For example, the cute pet wallpaper corresponding to cold weather may be displayed as a video of a dog wearing a collar and a hat, shivering from the cold, in background 1.
[0111] In other embodiments, the electronic device may display a desktop, such as the interface shown in Figure 6(c). This interface may include temperature information 602, which may represent the real-time temperature. When the real-world temperature exceeds a second temperature threshold, the electronic device may display a lock screen interface, such as that shown in Figure 6(d). For example, if the real-time temperature is 34°C and the second temperature threshold is 30°C, the electronic device may display a cute pet wallpaper corresponding to heat. The elements of this cute pet wallpaper may be similar to those of the user-defined cute pet wallpaper in the embodiment shown in Figure 2. For example, the elements of this cute pet wallpaper may include background 1, a dog, and a collar accessory. Furthermore, this cute pet wallpaper may include elements representing heat, such as the sun and sweat beads. For example, this cute pet wallpaper may display a video of a dog wearing a collar sweating in background 1.
[0112] It should be noted that the embodiment of this application only takes the display of temperature and weather information on the desktop as an example to illustrate the correspondence between temperature and weather and cute pet wallpapers. The embodiment of this application can also reflect the correspondence between temperature and weather and cute pet wallpapers through the weather application interface. This application will not go into details about this.
[0113] It can be understood that in the embodiment of the present application, the electronic device can automatically change the cute pet wallpaper according to the real-time temperature. When the temperature is lower than the first temperature threshold or higher than the second temperature threshold, the electronic device can display the cute pet wallpaper corresponding to the temperature, thereby providing the user with a more realistic user experience; in addition, the electronic device can remind the user to add clothes through the lock screen wallpaper in cold weather, and remind the user to avoid the heat through the lock screen wallpaper in hot weather, thereby further enhancing the user's user experience.
[0114] In the embodiment of the present application, the cute pet wallpaper can also be linked with the calendar application. Figure 7 shows a schematic diagram of the interface of the cute pet wallpaper and the calendar application provided by the embodiment of the present application, as shown in Figure 7:
[0115] The electronic device may display a calendar application interface, such as the interface shown in a of FIG7 . The calendar application may record user-added schedules, memos, user moods, and other information. For example, the interface shown in a of FIG7 includes schedule information 701 , which may include that May 17 is xx's birthday and the user is in a happy mood.
[0116] When the real world is May 17th, the electronic device may display the lock screen interface shown in Figure 7b. In this interface, the electronic device may display a cute pet wallpaper corresponding to the schedule. The electronic device can determine the user's mood based on the schedule information. For example, if schedule information 701 may indicate that May 17th is xx's birthday, the dog in Figure 7b will appear happy, corresponding to the user's mood.
[0117] In some embodiments, the date in the calendar application can also be linked to the cute pet wallpaper. For example, if the calendar application shows that the current time is a holiday or festival, the electronic device can display the cute pet wallpaper corresponding to the holiday or festival. This embodiment of the application will not be explained in detail.
[0118] It is understandable that in the embodiment of the present application, the electronic device can automatically change the cute pet wallpaper according to information such as schedule, memo, user mood, etc., thereby improving the user experience.
[0119] It should be noted that the wallpaper display scenarios in the above embodiments include displaying lock screen wallpapers. In an embodiment of the present application, the electronic device may be provided with a screen unlocking method for face unlocking. In this scenario, when the user looks at the screen, the electronic device can recognize the user's face and automatically unlock the screen, so that the display time of the lock screen interface is shorter. In some embodiments, when setting the cute pet wallpaper in the embodiment of the present application, the electronic device may also prompt the user to turn off the face unlocking method through a prompt message to enhance the user's experience in the lock screen interface. The embodiment of the present application does not limit this.
[0120] The following is an overall description of the use process of the cute pet wallpaper in the embodiment of the present application in conjunction with FIG8, as shown in FIG8:
[0121] At the first time point, the electronic device displays a screen-off interface, which may be an AOD screen-off interface, such as the interface shown in a of FIG8. In the screen-off scenario, the electronic device may display a cute pet wallpaper set using the setting process shown in FIG2 of the embodiment of the present application, for example, the interface shown in a of FIG8 includes a cute pet, accessories, and background.
[0122] At the second time point, the current real weather is rainy. In the rainy scene, the electronic device receives an operation to trigger the screen to turn on. In response to this operation, the electronic device may enter the lock screen interface from the screen off interface. The lock screen interface may be, for example, the interface shown in Figure 8b. In the interface shown in Figure 8b, the electronic device may display a wallpaper that includes cute pets, accessories, and a background. The wallpaper may also include elements that represent a rainy day. The second time point is later than the first time point.
[0123] At the third time point, the current real weather becomes sunny, and the real-time temperature is 35°C. The lock screen interface displayed by the electronic device may be switched from the interface shown in b in FIG. 8 to the interface shown in c in FIG. 8 . It is understandable that when the real-time temperature is greater than the second temperature threshold (30°C), the current scene is a hot scene, and the electronic device may display the lock screen interface shown in c in FIG. 8 ; the lock screen interface shown in c in FIG. 8 may include cute pets, accessories, backgrounds, and elements used to represent heat, etc. The third time point is later than the second time point.
[0124] At the fourth time point, the current real weather is sunny, and the real-time temperature is 26°C. At this point, the current weather is not the preset weather, the temperature is less than the second temperature threshold (30°C) and greater than the first temperature threshold (0°C), and the current scene is the lock screen lighting scene; the electronic device may display the interface shown in Figure 8. The interface shown in (d) of Figure 8 may include cute pets, accessories, and backgrounds. The fourth time point is later than the third time point.
[0125] At the fifth time point, the electronic device receives a single click operation on any location of the cute pet on the lock screen wallpaper. In response to the single click operation, the electronic device may display the interface shown in Figure 8e. In the interface shown in Figure 8e, the electronic device may display an interactive effect with the cute pet. For example, the effect may be a palm stroking the cute pet's head, to indicate that the cute pet is interacting with the user. The fifth time point is later than the fourth time point.
[0126] At the sixth time point, the electronic device receives a double-click operation on any location of the cute pet on the lock screen wallpaper. In response to the double-click operation, the electronic device may display the interface shown in Figure 8f. In the interface shown in Figure 8f, the electronic device may display an animation of feeding the cute pet. The sixth time point is later than the fifth time point.
[0127] It is understood that the embodiments of the present application only use different scenarios as examples to show that in the embodiments of the present application, when the scenario changes, the electronic device automatically switches the user-defined cute pet wallpaper to a cute pet wallpaper that matches the current scenario. The embodiments of the present application do not limit the specific scenario corresponding to any moment in actual application.
[0128] The above embodiment describes the interface of the setting process and use process of the cute pet wallpaper in the embodiment of this application. The following describes the setting process in the wallpaper display method in the embodiment of this application in conjunction with Figure 9. The interface of the setting process can correspond to Figure 2, as shown in Figure 9:
[0129] Exemplarily, S901, the electronic device displays a wallpaper setting interface; wherein the wallpaper setting interface may include picture resources.
[0130] The wallpaper settings interface may correspond to the interface shown in Figure 2a. The wallpaper settings interface includes controls for multiple wallpaper elements, which can be divided into controls for first-category wallpaper elements, second-category wallpaper elements, and third-category wallpaper elements. First-category wallpaper element controls may correspond to pet characters, such as the dog settings control 202; second-category wallpaper element controls may correspond to accessories, such as the collar settings control 203; and third-category wallpaper element controls may correspond to backgrounds, such as the background 1 settings control 204. The wallpaper settings interface also includes a preview box 201, an OK control 205, and an apply control 206.
[0131] The image resource may be a picture showing any cute pet, any accessory, or any background. The wallpaper element control may be displayed on the screen in the form of a cute pet, configuration, and / or background image resource. For example, in the interface shown in a of FIG2 , a dog image may be used to indicate the dog setting control 202.
[0132] Image resources can also be used for preview display in the preview box. For example, wallpaper elements in the first category might include pictures of dogs, cats, and rabbits; wallpaper elements in the second category might include pictures of sunglasses, bows, and collars; and wallpaper elements in the third category might include pictures of background 1, background 2, and background 3. In response to a selection operation on a control for a wallpaper element, the electronic device can display the image resource corresponding to the control in the preview box.
[0133] In some embodiments, picture resources can be stored in a theme package of cute pet wallpapers, which also includes video resources and configuration files. The video resources can be videos including cute pets, configurations and / or backgrounds. The configuration file has a preset mapping relationship between picture resources and video resources. The electronic device can synthesize corresponding cute pet dynamic wallpapers based on the mapping relationship.
[0134] In other embodiments, the theme package occupies a large amount of memory. To reduce the lag caused by downloading the theme package, the electronic device may also pre-download image resources and load the image resources during the preview phase; and then download and parse the theme package during the application phase. This embodiment of the present application does not limit this.
[0135] It is understood that to reduce the stuttering caused by the synthesis of video resources, the embodiment of the present application can use static images of multiple wallpaper elements to achieve the static preview function in the preview frame. To achieve a good preview effect, the embodiment of the present application can also display a video synthesized from multiple wallpaper elements in the preview frame, and the embodiment of the present application does not limit this.
[0136] S902: After receiving a selection operation for a control of a first wallpaper element, the electronic device displays the first wallpaper element in a preview frame in response to the selection operation.
[0137] The first wallpaper element can be any one of multiple wallpaper elements of the same category; for example, the control for the first wallpaper element corresponds to the dog setting control 202. The image resource can include the first wallpaper element, and the first wallpaper element and the control for the first wallpaper element have a corresponding relationship. After obtaining the first wallpaper element, the electronic device can control the display of the first wallpaper element in the preview frame; for example, if the first wallpaper element is a picture of a dog, the electronic device displays the picture of the dog in the preview frame.
[0138] For example, when a selection operation is received for the dog setting control 202 , in the interface shown in b of FIG. 2 , the dog setting control 202 is displayed as selected, and a picture of a dog is displayed in the preview box 201 .
[0139] S903: After receiving a selection operation for a control of the second wallpaper element, in response to the selection operation, display the first wallpaper element and the second wallpaper element in a preview box; the second wallpaper element is located on an upper layer of the first wallpaper element.
[0140] The first wallpaper element and the second wallpaper element each belong to a wallpaper element of a different resource type. For example, the second wallpaper element can be any one of multiple second-category wallpaper elements; specifically, the control for the second wallpaper element corresponds to collar setting control 203. The image resource may include the second wallpaper element, and the second wallpaper element and the control for the second wallpaper element have a corresponding relationship. After acquiring the second wallpaper element, the electronic device may control the display of the second wallpaper element in the preview frame; for example, if the second wallpaper element is an image of a collar, the electronic device may display the image of the collar in the preview frame.
[0141] It is understood that in step S903, upon receiving a selection operation for collar setting control 203, collar setting control 203 is displayed as selected, and dog setting control 202 is displayed as selected, in the interface shown in FIG2 b. In preview box 201, the collar image may be positioned above the dog image to provide a preview of the dog wearing the collar.
[0142] S904. After receiving a selection operation for a control of a third wallpaper element, in response to the selection operation, the electronic device displays the first wallpaper element, the second wallpaper element, and the third wallpaper element in a preview frame; the third wallpaper element is located below the first wallpaper element.
[0143] The first wallpaper element, the second wallpaper element, and the third wallpaper element each belong to a wallpaper element of a different resource type. For example, the third wallpaper element can be any one of the three types of wallpaper elements; specifically, the control of the third wallpaper element corresponds to the background 1 setting control 204. The image resource may include the third wallpaper element, and the third wallpaper element and the control of the third wallpaper element have a corresponding relationship. After obtaining the third wallpaper element, the electronic device can control the display of the third wallpaper element in the preview frame; for example, if the third wallpaper element is a picture of background 1, the electronic device displays the picture of background 1 in the preview frame.
[0144] It is understood that in step S904, when a selection operation is received for background 1 setting control 204, in the interface shown in FIG2(b), background 1 setting control 204 is displayed as selected, collar setting control 203 is displayed as selected, and dog setting control 202 is displayed as selected. In preview box 201, the image of background 1 can be positioned below the image of the dog, to present a preview effect of the dog wearing the collar against background 1.
[0145] It should be noted that the embodiment of the present application describes the setting process by clicking the pet character control, the accessories control, and the background control in sequence. In actual applications, users can also use other click orders to set the cute pet wallpaper, and the embodiment of the present application does not limit this.
[0146] S905: The electronic device records the resource type and resource number according to the image resource.
[0147] Different image resources can correspond to different resource types and resource numbers. For example, in the interface shown in a of Figure 2, among the multiple rows of wallpaper elements, the resource type of the first row of wallpaper elements can be a first-class wallpaper element, for example, a pet character; the resource type of the second row of wallpaper elements can be a second-class wallpaper element, for example, an accessory; and the resource type of the third row of wallpaper elements can be a third-class wallpaper element, for example, a background.
[0148] Any resource type corresponds to multiple image resources. For example, a pet character corresponds to a dog image, a cat image, and a rabbit image. The resource number of the dog image can be 1, the resource number of the cat image can be 2, and the resource number of the rabbit image can be 3.
[0149] For example, after the user clicks the control of the wallpaper element, the electronic device may record {resource type, resource number}. For example, in step S902, the electronic device displays a picture of a dog, and the resource type and resource number corresponding to the dog picture are {character, 1}; in step S903, the electronic device displays a picture of a collar, and the resource type and resource number corresponding to the collar picture are {accessory, 3}; in step S904, the electronic device displays a picture of background 1, and the resource type and resource number corresponding to the background 1 picture are {background, 1}.
[0150] In this embodiment of the present application, the electronic device can generate a mapping table (map) of cute pet wallpapers based on the control of the wallpaper element clicked by the user. The mapping table (map) records the resource type and resource number corresponding to the image resource. For example, the map may include: {character, 1}, {accessory, 3}, {background, 1}.
[0151] S906: When a touch operation on the application control is received, the electronic device loads the theme package and obtains multiple video resources according to the resource type and resource number.
[0152] The application control may correspond to application control 206 in the interface shown in b of FIG. The theme package includes a configuration file and multiple video resources. The theme package may be, for example, xxx.hwt. The configuration file includes a mapping between resource types and resource numbers and video resources. The configuration file may be, for example, conifg.xml. The multiple video resources may include video resources corresponding to multiple wallpaper elements.
[0153] For example, after loading the theme package, the electronic device can read the configuration file and video resources in the theme package. The electronic device searches the configuration file for the corresponding video resource based on the resource type and resource number in the map. The mapping relationship in the configuration file can be {resource type, resource number, video resource identifier}. The video resource identifier is used to identify the video resource and can be, for example, the name of the video resource.
[0154] Specifically, the map includes {character, 1}, {accessories, 3}, {background, 1}, and the electronic device can find the corresponding video resource in the configuration file according to the above resource type and resource number. For example, in the configuration file,
[0155] {character, 1} corresponds to the video resource of the dog, {accessories, 3} corresponds to the video resource of the collar, and {background, 1} corresponds to the video resource of background 1. The electronic device can search for multiple video resources.
[0156] To achieve the wallpaper display effect in Figures 4 to 8, in an embodiment of the present application, any wallpaper element corresponds to multiple video resources. For example, the dog's video resources may include multiple videos. For example, the dog's video resources may include dog videos in ordinary lock screen scenes and dog videos in lock screen interaction scenes. The ordinary lock screen scene may correspond to the lock screen scene shown in Figure 3. For example, the ordinary lock screen scene includes a lock screen lighting scene and a screen off scene; the lock screen interaction scene may include a single-click scene, a double-click scene, a snowy scene, a rainy scene, a haze scene, a hot scene, a cold scene, a calendar scene and other scenes, which correspond to the lock screen scenes shown in Figures 4 to 8 respectively.
[0157] Specifically, dog videos in the lock screen interaction scenario may include, for example: dog videos including interactive activities (dog shaking hands, bowing, etc.), dog videos including feeding activities, videos of dogs sweating in the heat, videos of dogs shivering in the cold, videos of dogs playing in the snow, videos of dogs holding umbrellas, videos of dogs wearing masks, and videos of dogs being happy, etc.
[0158] Correspondingly, the video resources of the collar also include multiple videos. For example, the video resources of the collar may include the collar video in the normal lock screen scene and the collar video in the lock screen interactive scene. It is understandable that the electronic device needs to show the effect of the accessories moving with the pet. In different lock screen scenes, the collar position in the collar video corresponds to the dog position in the dog video. The video resources of background 1 may also include multiple videos. For example, the video resources of background 1 may include background 1 video in the normal lock screen scene and background 1 video in the lock screen interactive scene. The background 1 video in the lock screen interactive scene may include, for example, a video of raindrops in background 1, a video of snowflakes in background 1, and so on.
[0159] It should be noted that in some embodiments, the electronic device may also include a background video for a common lock screen scene and a video of wallpaper elements such as raindrops and snowflakes, which are then synthesized to produce a background video for each lock screen interaction scene. The electronic device may also include a video of accessories for a common lock screen scene and the movement trajectory of a pet character in each lock screen interaction scene, which are then synthesized to produce a video of the accessories following the movement of the pet character in each lock screen interaction scene. This embodiment of the application does not limit the specific form of the video resources in the theme package.
[0160] In an embodiment of the present application, the video resources in the theme package may also include video resources of other elements such as cats, rabbits, and sunglasses, which are not listed one by one in the embodiment of the present application.
[0161] S907: The electronic device synthesizes multiple video resources in any scene to obtain a target video in the scene.
[0162] The number of video resources for any scene can be multiple. For example, the video resources may include video resources for one type of wallpaper element, video resources for two types of wallpaper elements, and video resources for three types of wallpaper elements. For example, for a lock screen lighting scene, the video resources may include the dog video resource, the collar video resource, and the background 1 video resource in the interface shown in b of Figure 3; for a rainy day scene, the video resources may include the dog video resource, the collar video resource, and the background 1 video resource in the interface shown in b of Figure 5. This application will not list all the examples one by one.
[0163] The electronic device can obtain the target video in any scenario in the following manner: synthesize the transparency of video resources of multiple resource types to obtain processed videos; and perform video overlay on the processed video resources.
[0164] 1) The transparency synthesis process may be, for example, that the electronic device processes the transparency video and the color scale video in the video resource to obtain a processed video, and the processed video may be a color scale video with transparency.
[0165] In this embodiment of the present application, the video resources of any wallpaper element may include transparency video and color scale video. Taking any frame of a dog video as an example, the transparency video and color scale video of any wallpaper element may be as shown in Figure 10:
[0166] In any frame of a transparency video, the transparency (α) varies at different locations. For example, the transparency at point A1 is 9, and the transparency at point B1 is 255, where higher transparency values indicate lower transparency. In any frame of a color scale video, the color scale varies at different locations. For example, the color scale at point A2 is R:6, G:1, B:11, and the color scale at point B2 is R:229, G:198, B:240. The objects in the transparency video and the color scale video are the same.
[0167] The electronic device can synthesize the transparency video and the color scale video to obtain a video with four data paths. For example, in Figure 10, point A can be represented as α:9, R:6, G:1, B:11; point B can be represented as α:255, R:229, G:198, B:240; thereby obtaining a color scale image in which the dog's main body (point B) is opaque and other areas (point A) are relatively transparent.
[0168] In an embodiment of the present application, the electronic device can obtain processed videos corresponding to one type of wallpaper elements, processed videos corresponding to two types of wallpaper elements, and processed videos corresponding to three types of wallpaper elements; the electronic device then stacks the above three processed videos.
[0169] 2) The video overlay process may, for example, create a first video track, a second video track, and a third video track; add three processed videos to the first video track, the second video track, and the third video track respectively; and obtain a target video.
[0170] Among them, three processed videos are added to the first video track, the second video track and the third video track respectively. For example, a processed video of one type of wallpaper element is added to the first video track; a processed video of two types of wallpaper elements is added to the second video track; and a processed video of three types of wallpaper elements is added to the third video track.
[0171] Specifically, the first video track is used to add intermediate videos, such as adding a processed video of a pet character to the first video track. The second video track is used to add upper-layer videos, such as adding a processed video of accessories to the second video track. The third video track is used to add lower-layer videos, such as adding a processed video of the background to the third video track.
[0172] A video track is a time-based track. Each time point in the track contains a corresponding frame image. For example, on any video track, the first frame image is loaded at the playback time point corresponding to the first frame image. When the playback time reaches that time point, the first frame image is played. The target video can achieve a wallpaper effect of a dog wearing a collar against Background 1, for example.
[0173] S908: The electronic device splices the target videos in multiple scenes to obtain a target wallpaper.
[0174] In an embodiment of the present application, the electronic device can obtain a target video in a normal lock screen scenario, as well as target videos in multiple lock screen interaction scenarios. The electronic device can splice the above multiple target videos in a preset splicing order to obtain a target wallpaper. The preset splicing order can be, for example: lock screen lighting scene, screen off scene, single-click scene, double-click scene, rainy scene, snowy scene, foggy scene, hot scene, cold scene, calendar scene, etc. The embodiment of the present application does not limit the specific arrangement order of the above scenes.
[0175] In the embodiment of the present application, the configuration file of the theme package may include the corresponding relationship between the scene and the frame number of the target wallpaper. For example, the target wallpaper may be:
[0176] {Frames 1 to 30, target video corresponding to the lock screen lighting scene}
[0177] {Frames 31 to 60, target video corresponding to the screen-off scene}
[0178] {From frame 61 to frame 90, click the target video corresponding to the scene}
[0179] {Frames 91 to 120, double-click the target video corresponding to the scene}
[0180] {Frames 121 to 150, target video corresponding to the rainy scene}
[0181] {Frames 151 to 180, target video corresponding to the snowy scene}
[0182] {Frames 181 to 210, target video corresponding to the haze scene}
[0183] {Frames 211 to 240, target video corresponding to the hot scene}
[0184] {Frames 241 to 270, target video corresponding to the cold scene}
[0185] {Frames 271 to 300, target video corresponding to the calendar scene}
[0186] It should be noted that this embodiment of the application only illustrates the target wallpaper. In actual scenarios, the duration of the video corresponding to any scene can be the same, for example, 30 frames, or different. This embodiment of the application does not limit the duration of the video corresponding to any scene.
[0187] S909: The electronic device sets the target wallpaper as the current wallpaper.
[0188] In an embodiment of the present application, the electronic device can display corresponding cute pet wallpapers according to the scene. This process may correspond to the embodiments shown in Figures 3 to 7, and the embodiment of the present application will not be described in detail.
[0189] In this way, the electronic device can generate a user-customized cute pet wallpaper video according to the resource type and resource number of the image resource clicked by the user; thus, the electronic device can display wallpapers that are more in line with the user's preferences, thereby improving the user's usage experience.
[0190] The above embodiment describes the process of setting up cute pet wallpapers. The following describes the process of using the wallpaper display method in the embodiment of the present application in conjunction with Figure 11. The interface of the use process can correspond to Figures 3 to 8, and the use process is shown in Figure 11:
[0191] Exemplarily, in S1101, the electronic device performs scene recognition.
[0192] In an embodiment of the present application, scenes may include lock screen lighting scene, screen off scene, single-click scene, double-click scene, rainy day scene, snowy day scene, haze scene, hot scene, cold scene, etc.
[0193] Specifically, the process of scene recognition performed by the electronic device may refer to FIG12 . For example, the process of scene recognition may include:
[0194] S1201: When a screen-on instruction is detected, the electronic device obtains weather information and temperature information.
[0195] Electronic devices can monitor for screen-on commands. This command can be used to instruct an electronic device to switch from an off-screen state to a bright-screen state. For example, a screen-on command might be: "started waking up." Upon receiving the screen-on command, the electronic device can obtain weather and temperature information from a weather application. Weather information can include sunny, rainy, snowy, foggy, cloudy, and overcast weather. Temperature information indicates the real-time temperature.
[0196] S1202: When the weather information includes rainy day information, snowy day information, or haze information, the electronic device determines that the current scene is a rainy day scene, a snowy day scene, or a haze scene.
[0197] If the weather information includes rain, the current scene is a rainy scene; if the weather information includes snow, the current scene is a snowy scene; if the weather information includes haze, the current scene is a haze scene. The rainy scene can correspond to the lock screen wallpaper shown in the interface b of Figure 5; the snowy scene can correspond to the lock screen wallpaper shown in the interface d of Figure 5; and the haze scene can correspond to the lock screen wallpaper shown in the interface f of Figure 5.
[0198] Alternatively, S1203: When the temperature information is less than the first temperature threshold, the electronic device determines that the current scene is a cold scene.
[0199] The first temperature threshold may be, for example, 0° C. When the temperature information is less than 0° C., the current scene is a cold scene, and the snowy scene may correspond to the lock screen wallpaper shown in the interface b in FIG. 6 .
[0200] Alternatively, S1204: When the temperature information is greater than the second temperature threshold, the electronic device determines that the current scene is a hot scene.
[0201] The second temperature threshold is greater than the first temperature threshold, and the second temperature threshold may be, for example, 30° C. When the temperature information is greater than 30° C., the current scene is a hot scene, which may correspond to the lock screen wallpaper shown in the interface d in FIG6 .
[0202] In the embodiments of the present application, there may be a conflict between weather-related scenes and temperature-related scenes. For example, on a snowy day with a temperature below 0°C, the electronic device may prioritize displaying the cute pet wallpaper corresponding to the snowy scene; or may prioritize displaying the cute pet wallpaper corresponding to the cold scene; or the electronic device may sequentially display the cute pet wallpaper corresponding to the snowy scene and the cute pet wallpaper corresponding to the cold scene. The embodiments of the present application do not limit this.
[0203] Alternatively, S1205, when the weather information includes rainy day information, snowy day information, and haze information, and the temperature information is greater than or equal to the first temperature threshold, and the temperature information is less than or equal to the second temperature threshold, the electronic device determines that the current scene is the lock screen lighting scene.
[0204] It is understood that when the current scene is not a lock screen interaction scene such as a rainy scene, snowy scene, foggy scene, hot scene, or cold scene, the electronic device can determine that the current scene is a normal lock screen scene. Accordingly, the electronic device can display the cute pet wallpaper corresponding to the lock screen lighting scene according to the screen lighting instruction, for example, the interface shown in Figure 3b.
[0205] After steps S1201-S1205, the electronic device may display the corresponding lock screen interface according to the scene. During the period when the electronic device displays the lock screen interface, the electronic device may also identify the following scenes:
[0206] S1206: When a single-click operation is received in the lock screen interface, the electronic device determines that the current scene is a single-click scene.
[0207] The single-click operation can be: a single-click operation in a non-functional area of the lock screen interface. The functional area can be, for example, the camera control 401 in the interface shown in Figure 4a. The non-functional area can be an area other than the functional area, such as the position corresponding to the dog in the interface shown in Figure 4a.
[0208] It is understandable that after the screen is turned on, the electronic device may first display any lock screen wallpaper in steps S1202-S1205. During the display of any lock screen wallpaper, the electronic device may receive a single click operation by the user in the lock screen interface and switch the current lock screen wallpaper to the lock screen wallpaper corresponding to the single click scene.
[0209] Alternatively, S1207: When a double-click operation is received in the lock screen interface, the electronic device determines that the current scene is a double-click scene.
[0210] The double-click operation may be: a double-click operation in a non-functional area of the lock screen interface.
[0211] It is understandable that after the screen is turned on, the electronic device may first display any lock screen wallpaper in steps S1202-S1205. During the display of any lock screen wallpaper, the electronic device may receive a double-click operation by the user on the lock screen interface and switch the current lock screen wallpaper to the lock screen wallpaper corresponding to the double-click scenario.
[0212] Alternatively, S1208, when a screen-off instruction is detected, the electronic device determines that the current scene is a screen-off scene.
[0213] The screen-off instruction can be used to instruct the electronic device to enter the screen-off state from the screen-on state. The screen-off instruction can be, for example: started going to sleep. When the electronic device turns on the AOD mode and monitors the screen-off instruction, the electronic device can determine that the current scene is the screen-off scene.
[0214] S1102: The electronic device determines a target number of frames that matches the current scene.
[0215] The electronic device can obtain the target frame number (i-th frame to j-th frame, i and j are both integers greater than 0, and j is greater than i) based on the scene recognition result in step S1101. For example, when the current scene is the lock screen lighting scene, the target frame number i is 1 and j is 30; when the current scene is the screen off scene, the target frame number i is 31 and j is 60. These are not listed here one by one.
[0216] In some embodiments, the configuration file may include a correspondence between scenes and target frame numbers, and the electronic device may query the target frame number that matches the current scene based on the configuration file.
[0217] S1103: The electronic device plays a frame image corresponding to the target frame number in the target wallpaper.
[0218] The electronic device can play the frame images corresponding to the target frame number in the target wallpaper. For example, when the current scene is the lock screen on scene, the electronic device plays the frame images from frames 1 to 30 in the target wallpaper, and the electronic device can display the interface shown in b in Figure 3; when the current scene is the screen off scene, the electronic device plays the frame images from frames 31 to 60 in the target wallpaper, and the electronic device can display the interface shown in c in Figure 3. These examples are not listed here one by one.
[0219] It should be noted that in the embodiment of the present application, the duration that the electronic device displays the lock screen interface may be longer than the duration of the video corresponding to the current scene. The electronic device can play the video corresponding to the current scene in a loop to achieve the effect of dynamically displaying cute pet wallpapers.
[0220] In this way, the electronic device can display the corresponding cute pet wallpaper according to the current scene, thereby enhancing the fun of the cute pet wallpaper, giving users a sense of participation and happiness similar to the real world, and improving the user experience.
[0221] The above embodiments illustrate the setting process and use process of the cute pet wallpaper in the embodiment of the present application. The following is a description of the internal interaction process of the electronic device executing the wallpaper display method in the embodiment of the present application in conjunction with Figure 13.
[0222] The electronic device includes an application layer (applications) and an application framework layer (application framework).
[0223] Among them, the application layer may include a settings application, a gallery application, a video editing module, a lock screen application and a weather application; the settings application may provide a setting entrance for cute pet wallpapers; the gallery application may call the video editing and synthesis capabilities of the video editing module, and the gallery application may include a wallpaper editing module and a wallpaper synthesis module. The wallpaper editing module is used to synthesize transparency videos and color level videos to obtain processed videos, and the wallpaper synthesis module is used to overlay the processed videos.
[0224] The application framework layer may include power management services, wallpaper framework services, and multimedia codecs. The power management service can be used to monitor screen-on and screen-off commands, the wallpaper framework service is used to manage the operation and switching of wallpapers, and the multimedia codec is used to encode and decode audio and video.
[0225] Exemplarily, S1301, the setting application displays a wallpaper setting interface, where the wallpaper setting interface includes application controls.
[0226] The wallpaper setting interface may be, for example, the interface shown in b in FIG. 2 , and the application control may correspond to the application control 206 .
[0227] S1302: When receiving a user operation, set the resource type and resource number of the image resource recorded by the application.
[0228] The user operation may include, for example, a selection operation on a control of any wallpaper element, and a click operation on an application control. Based on the selection operation, the user can match cute pet wallpapers with pets, accessories, and backgrounds in the interface shown in FIG2a; after the selection, the user can click the application button, and in response to the click operation, the electronic device can apply the cute pet wallpaper matched by the user.
[0229] In the interface shown in b in Figure 2, the electronic device displays the image resource selected by the user in the preview box 201. When receiving a touch operation on the application control 206, the electronic device can configure the user-defined cute pet wallpaper.
[0230] During configuration of cute pet wallpapers, the electronic device may record the resource type and resource number of the image resource in the form of a map, and pass the map to the lock screen application; the map may be, for example, {character, 1}, {accessories, 3}, {background, 1}.
[0231] S1303: The setting application instructs the lock screen application to load the theme package.
[0232] The lock screen application can download the theme package and parse the theme package to obtain configuration files and video resources.
[0233] S1304: The lock screen application obtains corresponding multiple video resources according to the resource type and resource number.
[0234] The lock screen application can be a keyguard application managed by the system user interface (systemUI).
[0235] The configuration file contains the mapping between resource types, resource numbers, and video resource identifiers. For example, a video resource's identifier is its name. The lock screen app can search the configuration file for the corresponding video resource name based on the resource type and resource number, thereby obtaining the video resource corresponding to that resource type and resource number. Specifically, the app can search for the dog's video resource, the collar's video resource, and the background 1 video resource based on the map and configuration file.
[0236] It should be noted that the lock screen application may include a static wallpaper service and a dynamic wallpaper service. In the embodiment of the present application, the electronic device may use the dynamic wallpaper service of the lock screen application to realize the synthesis and use of cute pet wallpapers.
[0237] S1305: The lock screen application transfers the multiple video resources to the gallery application.
[0238] The lock screen application can pass multiple video resources to the gallery application and instruct the gallery application to edit the video resources, as shown in steps S1306-S1307:
[0239] S1306: The gallery application instructs the video editing module to synthesize the transparency video and the color scale video of any video resource to obtain multiple processed videos.
[0240] The gallery application may include a wallpaper editing module, and the relevant modules of the gallery application may call the corresponding functions of the video editing module; the video editing module may also be called a video editing and synthesis middle platform.
[0241] In step S1306, the wallpaper editing module may call the video editing module to combine the transparency video and the color scale video to synthesize the processed video. Any video resource may include the transparency video and the color scale video, and the processed video may be a color scale video with transparency.
[0242] S1307: The wallpaper synthesis module obtains multiple processed videos and calls the video editing module to synthesize and splice the multiple processed videos to obtain a target wallpaper.
[0243] The gallery application may also include a wallpaper synthesis module, which may call upon the video editing module's ability to overlay multiple videos and to splice videos.
[0244] This step may include the wallpaper synthesis module invoking the video overlay capability of the video editing module to overlay multiple videos of any scene to obtain the target video for any scene. Furthermore, this step may also include the wallpaper synthesis module invoking the video splicing capability of the video editing module to splice the target videos of multiple scenes to obtain the target wallpaper.
[0245] For steps S1306-S1307, please refer to the relevant descriptions in steps S907 and S908, which will not be repeated here.
[0246] S1308. The lock screen application sets the target wallpaper as the lock screen wallpaper.
[0247] The above embodiment illustrates the interaction process of the software modules of the electronic device during the setting of the cute pet wallpaper. Next, the interaction process of the software modules of the electronic device during the setting of the cute pet wallpaper in the embodiment of the present application is described with reference to FIG14, as shown in FIG14:
[0248] S1401: The power management service detects a screen-on instruction.
[0249] The power management service can monitor the screen-on instructions and screen-off instructions. When the electronic device receives an operation that triggers the screen to be turned on, the power management service can obtain the started waking up instruction.
[0250] S1402: The power management service transmits the screen-on instruction to the wallpaper framework service.
[0251] S1403. The wallpaper framework service reports the screen-lighting instruction to the lock screen application.
[0252] The electronic device can transmit the screen-lighting instruction to the lock screen application via the wallpaper framework service.
[0253] S1404. The lock screen application obtains weather information and temperature information from the weather application and identifies the current scene.
[0254] Among them, the lock screen application can call the weather interface to obtain weather information and temperature information. The process of identifying the scene can refer to the relevant description in step S1101 and will not be repeated here.
[0255] S1405: The lock screen application determines a target frame number that matches the current scene.
[0256] For this step, please refer to the relevant description in step S1102 and will not be repeated here.
[0257] S1406: The lock screen application instructs the multimedia codec to play the frame image corresponding to the target frame number in the target wallpaper.
[0258] In an embodiment of the present application, the electronic device may save the target wallpaper, for example, storing the target wallpaper in a preset location in a memory. When playing the target wallpaper, the electronic device may read the target wallpaper from the memory and decode the target wallpaper using a multimedia codec. Thereafter, the electronic device may play the frame images of the target wallpaper corresponding to the target frame number.
[0259] For this step, please refer to the relevant description in step S1103 and will not be repeated here.
[0260] After step S1406, the following steps may also be included:
[0261] S1407: The power management service detects a screen-off instruction.
[0262] S1408. The power management service passes the screen-off instruction to the wallpaper framework service.
[0263] S1409. The wallpaper framework service reports the screen-off instruction to the lock screen application.
[0264] S1410. The lock screen application instructs the multimedia codec to play the target wallpaper and the target number of frame images corresponding to the screen off scene.
[0265] The lock screen application can determine that the current screen off scene is based on the screen off instruction. The lock screen application instructs the multimedia codec to play a video corresponding to the screen off scene. For example, the target frame number is the 31st to 60th frame, and the electronic device can play the 31st to 60th frame pictures in the target wallpaper.
[0266] It is understandable that the electronic device may also include a desktop application (launcher). When the electronic device displays the desktop, the lock screen application may instruct the desktop application to display the interface shown in d in Figure 3. This embodiment of the present application will not be further explained.
[0267] In this way, the electronic device can display the corresponding cute pet wallpaper according to the current scene, thereby enhancing the fun of the cute pet wallpaper, giving users a sense of participation and happiness similar to the real world, and improving the user experience.
[0268] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0269] In order to better understand the embodiments of the present application, the structure of the electronic device according to the embodiments of the present application is introduced below:
[0270] 15 shows a schematic structural diagram of an electronic device 100. 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 194, a subscriber identification module (SIM) card interface 195, and an embedded secure element (eSE) 196. 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.
[0271] It should be understood that the structures illustrated in the embodiments of the present application do 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.
[0272] 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), etc. Among them, different processing units can be independent devices or integrated into one or more processors. In the embodiment of the present application, the processor 110 can be used to perform steps related to information processing.
[0273] 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.
[0274] The display screen 194 is used to display images, videos, etc. In the embodiment of the present application, the display screen 194 can be used to display lock screen wallpaper, desktop wallpaper, AOD off-screen wallpaper, etc.
[0275] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in a variety of encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc. In the embodiment of the present application, the video codec may be one of the multimedia codecs, and the electronic device may use the video codec to edit the dynamic wallpaper.
[0276] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0277] In an embodiment of the present application, the internal memory 121 may be used to store data. For example, the internal memory 121 may store a map for recording resource types and resource codes.
[0278] 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.
[0279] In an embodiment of the present application, in the lock screen interface, the electronic device can detect single-click operations and double-click operations based on the touch sensor 180K, and then identify single-click scenes and double-click scenes, and display corresponding cute pet wallpapers.
[0280] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture, etc. In the embodiment of the present application, the Android system with a layered architecture is used as an example to exemplify the software structure of the electronic device 100 .
[0281] FIG16 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present application.
[0282] 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 may include an application layer, an application framework layer, a hardware abstraction layer (HAL), and a kernel layer. The kernel layer may also be called a driver layer.
[0283] The application layer can include a series of application packages.
[0284] As shown in FIG16 , the application package may include a settings application, a lock screen application, a gallery application, a video editing module, a weather application, and the like.
[0285] Among them, the lock screen application can be used to implement operations related to locking and unlocking the electronic device, for example, to realize the display of dynamic wallpaper on the screen and the display of dynamic wallpaper on the screen off. The settings application is used to realize the setting of the wallpaper displayed by the electronic device, wherein the wallpaper can be applied to the lock screen interface, desktop or AOD screen off interface, etc. In some embodiments, the electronic device can also implement the related functions of the settings application based on the theme wallpaper application, which will not be repeated in the embodiments of this application.
[0286] The gallery app is used to create user-defined cute pet wallpapers and can include a wallpaper editing module and a wallpaper synthesis module. The video editing module can be an APK for processing videos and can provide the gallery app with an interface for corresponding video editing functions. The weather app can provide weather and temperature information.
[0287] 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.
[0288] As shown in FIG16 , the application framework layer may include power management services, wallpaper framework services, and multimedia codecs, etc.
[0289] The power management service monitors screen-on and screen-off commands, managing processes related to turning the screen on and off. The wallpaper framework service receives and distributes screen-on and screen-off commands to the lock screen app. Multimedia codecs can be used to edit and synthesize video resources for cute pet wallpapers.
[0290] The hardware abstraction layer can contain multiple library modules. The Android system can load the corresponding library modules for the device hardware, thereby enabling the application framework layer to access the device hardware.
[0291] The kernel layer is the layer between hardware and software. It drives the hardware, making it work. The kernel layer might include display drivers. The hardware layer might include displays.
[0292] Based on the above embodiments, the present invention provides a wallpaper display method. For example, the present invention provides a flowchart of a wallpaper display method.
[0293] The wallpaper display method may include the following steps:
[0294] S1701: Receive the user's first operation.
[0295] The first operation may correspond to a touch operation of the user on the personalized setting control 102 in the interface shown in b of FIG. 1 ; the first operation may be a click operation.
[0296] S1702: In response to the first operation, display a wallpaper selection interface; the wallpaper selection interface includes multiple wallpapers.
[0297] The wallpaper selection interface may correspond to the interface shown in c in FIG. 1 , and the multiple wallpapers may correspond to the multiple wallpapers under the cute pet theme 103 in the interface shown in c in FIG. 1 or the multiple wallpapers under other themes.
[0298] In the wallpaper selection interface, users can select their favorite wallpaper theme for customization; for example, if the user likes cute pet wallpapers, they can click the setting control 104 under the cute pet theme 103 to apply or modify the cute pet theme set by the user; they can also click the setting control 105 under the cute pet theme 103 to create and customize a new cute pet wallpaper.
[0299] It is understandable that in an embodiment of the present application, the wallpaper selection interface may include multiple wallpapers, and the multiple wallpapers may be candidate wallpapers before the user selects the target wallpaper applied to the electronic device. Any wallpaper among the multiple wallpapers is different from the target wallpaper, and the target wallpaper may be the wallpaper applied to the electronic device. Any wallpaper among the multiple wallpapers may be a wallpaper before customization, and the target wallpaper may be a wallpaper after customization. The multiple wallpapers may include, for example, a cute pet theme wallpaper that has been set by the user, a wallpaper before the user modifies the cute pet theme wallpaper that has been set, and a newly created wallpaper that has not been edited by the user.
[0300] S1703: Receive a first selection operation of the user on a first wallpaper among multiple wallpapers.
[0301] The first wallpaper can be any one of a variety of wallpapers. For example, the first wallpaper can correspond to the wallpaper corresponding to the setting control 105 in the interface shown in c in Figure 1. The first selection operation can correspond to the user's touch operation on the setting control 105 in the interface shown in c in Figure 1. The first selection operation can be a click operation.
[0302] It is understandable that the first wallpaper can be a wallpaper customized by the user before the cute pet wallpaper, and the electronic device can generate the target wallpaper through the first wallpaper.
[0303] S1704: In response to the first selection operation, display a setting interface for the first wallpaper, where the setting interface includes a preview box and multiple pictures corresponding to the first wallpaper, where the multiple pictures include pictures of multiple types.
[0304] The first wallpaper settings interface allows you to customize the target wallpaper based on the first wallpaper. The preview box is used to preview the target wallpaper. Multiple images corresponding to the first wallpaper can be used to preview and select objects in the target wallpaper. The multiple types of images can include first-category wallpaper elements, second-category wallpaper elements, and third-category wallpaper elements.
[0305] Specifically, the settings interface for the first wallpaper may correspond to the interface shown in d in Figure 1 or the interface shown in a in Figure 2. Taking the interface shown in a in Figure 2 as an example, the interface shown in a in Figure 2 includes a preview box 201 and multiple pictures; the multiple pictures may include pictures of dogs, cats, rabbits, sunglasses, bows, collars, background 1, background 2, and background 3. Any picture may correspond to a corresponding settings control. For example, a dog picture corresponds to a dog settings control 202, a collar picture corresponds to a collar settings control 203, and a background 1 picture corresponds to a background 1 settings control 204. A first type of wallpaper element may be a pet character, a second type of wallpaper element may be the pet character's accessories, and a third type of wallpaper element may be the background.
[0306] S1705: Receive a user's selection operation for a target image among multiple images.
[0307] The user can customize and select a desired target image in the first wallpaper settings interface. For example, the target image may correspond to the dog image, collar image, and background 1 image in the interface shown in FIG2(b). The user's selection of the target image from the multiple images may be a click on the dog setting control 202, a click on the collar setting control 203, and a click on the background 1 setting control 204.
[0308] It is understandable that in the embodiment of the present application, the selection operation may also be an operation in which the user changes the selected target image after selecting the target image, and the embodiment of the present application does not impose any restrictions on this.
[0309] S1706. In response to the selection operation, the target image is displayed in the preview box; the target image corresponds to target resource data.
[0310] For example, after the user clicks the dog setting control 202, the electronic device adds a picture of the dog in the preview box; after the user clicks the collar setting control 203, the electronic device adds a picture of the collar in the preview box; after the user clicks the background 1 setting control 204, the electronic device adds a picture of background 1 in the preview box.
[0311] It is understood that the target image in step S1706 can be the target image displayed in the preview box, and the target image in step S1705 can be the icons of multiple setting controls; the two correspond to each other. For example, after the user clicks the dog picture (dog setting control 202), the preview box 201 displays the dog picture accordingly, wherein the dog picture in the preview box 201 can be copied based on the icon of the dog setting control 202.
[0312] The target image has target resource data corresponding to it. The resource data may include a resource type and a resource ID. The target resource data may be the resource data corresponding to the target image. For example, the target resource data for a dog image is {character, 1}, the target resource data for a collar image is {accessory, 3}, and the target resource data for a background 1 image is {background, 1}.
[0313] S1707: Receive a user touch operation on the application control.
[0314] The application control can be used to apply the customized wallpaper to the electronic device. The application control can correspond to the application control 206 in the interface shown in b in Figure 2. The touch operation can correspond to the user's click operation on the application control 206.
[0315] S1708. In response to the touch operation, a target wallpaper is generated based on the target resource data; the target wallpaper includes multiple videos, each video corresponds to a preset scene information, and the preset scene information includes at least one of the following: current weather information, current temperature information, operation information, screen status of the electronic device, and / or user mood information.
[0316] The target wallpaper can be wallpaper applied to an electronic device. The target wallpaper is generated based on the target resource data. For example, the electronic device can find multiple corresponding videos based on the target resource data and synthesize them for any given scene to generate multiple target videos. The electronic device then stitches the multiple target videos together to generate a single target wallpaper. This process can be found in the description of the embodiment shown in Figure 9 and will not be elaborated on here.
[0317] The target wallpaper can be obtained by splicing together multiple videos, and each video can correspond to a preset scene information. For example, the preset scenes include lock screen lighting scene, screen off scene, single-click scene, double-click scene, snowy scene, rainy scene, haze scene, hot scene, cold scene, calendar scene and other scenes. The above-mentioned preset scene information is divided based on current weather information, current temperature information, operation information, screen status of electronic device, and / or user mood information. Specifically, the current weather information can be used to indicate the weather conditions in the current scene, the current temperature information can be used to indicate the temperature in the current scene, the operation information can be used to indicate the user's operation on or triggering the lock screen interface, the screen status of the electronic device can be used to indicate the screen on / off status of the electronic device, and the user mood information can be used to indicate the user's mood in the current scene. The user mood information can be obtained based on the calendar application.
[0318] For example, in step S908, the target wallpaper is formed by splicing multiple video segments, which will not be described in detail in this embodiment of the present application.
[0319] S1709: Receive the user's logout operation.
[0320] S1710. In response to the exit operation, exit the setting interface.
[0321] The user's exit operation may be an operation of exiting the setting interface of the first wallpaper. In some embodiments, the user may click on the click operation of the confirmation control 205 in the interface shown in b in Figure 2, and the electronic device exits the setting interface of the first wallpaper. In other embodiments, the setting interface of the first wallpaper may further include an exit control, and the user may click on the click operation of the exit control in the setting interface of the first wallpaper, and the electronic device exits the setting interface of the first wallpaper. In some further embodiments, the electronic device may run the setting application in the background based on the upward swipe operation, or exit the setting application in the multitasking interface to exit the setting interface of the first wallpaper. The embodiments of the present application are not limited to this.
[0322] S1711: Receive the second operation.
[0323] The second operation may include an operation that triggers the screen to light up, a single-click operation on the lock screen interface, a double-click operation on the lock screen interface, etc. The operation that triggers the screen to light up may be a user operation, for example, a user pressing the power button, triggering the screen to light up when the user places the electronic device vertically, or automatically lighting the screen after the user aligns their face with the screen and the electronic device captures the face using the TOF camera and / or AO camera. In some embodiments, the operation that triggers the screen to light up may be a non-user operation, for example, the operation that triggers the screen to light up may also be automatic screen lighting after receiving a notification message.
[0324] S1712. In response to the second operation, display a lock screen interface; the lock screen interface includes a target video in the multiple videos that matches the current scene information.
[0325] After receiving the second operation, the electronic device may display the lock screen interface and play the target video corresponding to the current scene in the lock screen interface. For example, in step S908, in the lock screen lighting scene, the electronic device plays the target video corresponding to the lock screen lighting scene; in the screen off scene, the electronic device plays the target video corresponding to the screen off scene; in the single-click scene, the electronic device plays the target video corresponding to the single-click scene; in the double-click scene, the electronic device plays the target video corresponding to the double-click scene; in the rainy scene, the electronic device plays the target video corresponding to the rainy scene; in the snowy scene, the electronic device plays the target video corresponding to the snowy scene; in the haze scene, the electronic device plays the target video corresponding to the haze scene; in the hot scene, the electronic device plays the target video corresponding to the hot scene; in the cold scene, the electronic device plays the target video corresponding to the cold scene; in the calendar scene, the electronic device plays the target video corresponding to the calendar scene.
[0326] In this way, the electronic device can generate a user-customized video of cute pet wallpaper based on the resource data of the picture clicked by the user; enabling the electronic device to display wallpapers that are more in line with the user's preferences; in addition, in different scenarios, the electronic device can play videos corresponding to different scenarios, thereby enhancing the fun of the lock screen wallpaper and giving the user a sense of participation and happiness similar to the real world; thus improving the user's usage experience.
[0327] In one possible implementation, in response to the second operation, displaying the lock screen interface includes:
[0328] (1) When the screen is off, an operation to turn the screen on is received.
[0329] The operation of triggering the screen to light up may be any of the operations of triggering the screen to light up shown in step S1711.
[0330] (2) In response to an operation that triggers the screen to light up, a first target video is played in the lock screen interface; the first target video is a target video in the target wallpaper that corresponds to the first scene information; in the first scene information, the screen state of the electronic device is switched from the screen-off state to the screen-on state, and the operation information is the operation that triggers the screen to light up.
[0331] After receiving an operation to trigger the screen to light up, the electronic device may switch from the screen-off state to the screen-on state and display the lock screen interface. The current scene information is the first scene information, which may be, for example, the lock screen lighting scene. The operation information may be the operation to trigger the screen to light up.
[0332] It should be noted that this embodiment of the application uses the lock screen lighting scene as an example to illustrate the wallpaper switching process for interacting with and feeding a cute pet in the lock screen interface corresponding to the lock screen lighting scene. In actual applications, this embodiment of the application can also interact with and feed a cute pet in the lock screen interface corresponding to other scenes, and this embodiment of the application does not limit this.
[0333] (3) When the lock screen interface is in the bright screen state, a third operation is received.
[0334] The third operation can be a single click operation or a double click operation. Taking the third operation as an example, the lock screen interface can be, for example, the interface shown in FIG4 a, and the third operation can be a single click operation on any position of the cute pet in the interface shown in FIG4 a, or a single click operation on a non-functional area in the interface shown in FIG4 a.
[0335] (4) In response to the third operation, a second target video is played in the lock screen interface; the second target video is a target video corresponding to the second scene information in the target wallpaper; in the second scene information, the screen state of the electronic device is a bright screen state, and the operation information is the third operation.
[0336] Taking the third operation as a single-click operation as an example, the lock screen interface may correspond to the interface shown in b in Figure 4. The second target video may be the target video corresponding to the single-click scenario. For example, in the single-click scenario, the target video may include frames depicting petting a cute pet, a cute pet bowing, shaking hands with a cute pet, and / or a cute pet spinning in circles. The second scene information may be a single-click scenario.
[0337] (5) When the lock screen interface is in the bright screen state, a fourth operation is received.
[0338] The fourth operation can be a single-click operation or a double-click operation. Taking the fourth operation as a double-click operation as an example, the lock screen interface can be, for example, the interface shown in FIG4 a, and the fourth operation can be a double-click operation on any position of the cute pet in the interface shown in FIG4 a, or a double-click operation on a non-functional area in the interface shown in FIG4 a.
[0339] (6) In response to the fourth operation, a third target video is played in the lock screen interface, where the third target video is the target video corresponding to the third scene information in the target wallpaper; in the third scene information, the screen state of the electronic device is the bright screen state, and the operation information is the fourth operation; the fourth operation is different from the third operation.
[0340] Taking the fourth operation as a double-click operation as an example, the lock screen interface may correspond to the interface shown in c in Figure 4. The third target video may be the target video corresponding to the double-click scenario. For example, in the double-click scenario, the target video may include a frame image depicting feeding a pet. The third scene information may be the double-click scenario.
[0341] In this way, users can experience the fun of raising cute pets on the lock screen wallpaper interface, enhance the fun of the lock screen wallpaper, and bring users a sense of participation and happiness similar to the real world, thereby improving the user experience.
[0342] In one possible implementation, the second target video and the third target video both include the first object in the target picture; the action of the first object in the second target video is different from the action of the first object in the third target video; one of the third operation and the fourth operation is a single-click operation, and the other is a double-click operation.
[0343] It is understood that the first object can be a pet character, for example, a dog. In the target video corresponding to the single-click scenario, the dog displays actions such as being petted, bowing, shaking hands, and / or spinning. In the target video corresponding to the double-click scenario, the dog displays the action of eating. Different user operations cause the electronic device to display different target videos.
[0344] In this way, electronic devices can display different cute pet animations according to the user's different touch operations on the cute pet, so as to show different interactive actions between the cute pet and the user, enrich the interactive scenes between the cute pet and the user, and increase the fun of the cute pet wallpaper.
[0345] In a possible implementation, after playing the third target video on the lock screen interface, the method further includes:
[0346] (1) Receive an operation that triggers screen off.
[0347] The operation of triggering the screen off is an operation used to control the electronic device to switch from the screen-on state to the screen-off state.
[0348] The screen-off triggering operation can be user-triggered, for example, a user clicking the power button when the screen is on. It can also be non-user-triggered, for example, the electronic device automatically turns off the screen after a preset time or after a period of time when the TOF camera and / or AO camera has not captured a face.
[0349] (2) In response to an operation that triggers screen off, a fourth target video is played in the lock screen interface, where the fourth target video is a target video in the target wallpaper corresponding to the fourth scene information; in the fourth scene information, the screen state of the electronic device is switched from a screen-on state to a screen-off state, and the operation information is an operation that triggers screen off.
[0350] After receiving any of the above-mentioned operations that trigger the screen off, the electronic device may display a lock screen interface. The lock screen interface may be an AOD screen off interface, for example, the interface shown in c in Figure 3. The AOD screen off interface can be understood as a screen off interface when the electronic device is in a lock screen state. The fourth target video may be a target video corresponding to a screen off scene. For example, in an AOD screen off scene, the target video may include a frame picture of a partially lit screen or a frame picture of a fully lit screen; the frame picture includes elements such as cute pets, accessories, and backgrounds. The fourth scene information may be a screen off scene.
[0351] It should be noted that when the AOD screen is off, the electronic device can display an interface with a partially lit screen or a fully lit screen, but the brightness of the interface is lower than the screen brightness when the electronic device is operating normally. The embodiments of this application will not explain this in detail.
[0352] (3) When the screen is off, an operation to trigger the screen to turn on is received.
[0353] (4) In response to an operation that triggers the screen to light up, a fifth target video is played in the lock screen interface, where the fifth target video is the target video corresponding to the fifth scene information in the target wallpaper; in the fifth scene information, the screen state of the electronic device is switched from an off-screen state to a bright-screen state, and the operation information is an operation that triggers the screen to light up; the current weather information is any one of a plurality of preset weather information; the current weather information is obtained based on a weather application.
[0354] The lock screen interface may correspond to the interface shown in FIG. 5 b, the interface shown in FIG. 5 d, and / or the interface shown in FIG. 5 f. The fifth target video may be a target video corresponding to a weather scene, and the fifth scene information may be any one of the preset weather information. The preset weather information may include rainy weather information, snowy weather information, and haze information.
[0355] When the current weather information is any of the above preset weather information, the electronic device can display the target video corresponding to the corresponding weather scene. For example, if the fifth scene information is a rainy scene, the fifth target video may include cute pets, accessories, background, and rainy frame images. If the fifth scene information is a snowy scene, the fifth target video may include cute pets, accessories, background, and snowy frame images. If the fifth scene information is a smog scene, the fifth target video may include cute pets, accessories, background, and smog frame images.
[0356] It should be noted that the embodiment of the present application takes the case where the weather does not change during the period from when the electronic device screen is turned off to when the screen is turned on as an example to illustrate the application scenario of the cute pet wallpaper of the weather scene. In the embodiment of the present application, the following scenario may also exist: when the screen is on, the electronic device displays the target video corresponding to the lock screen lighting scene on the lock screen interface; while the screen is continuously on, the weather changes, and the electronic device can switch the corresponding cute pet wallpaper in real time according to the current weather scene. In the process of switching from the lock screen interface corresponding to the lock screen lighting scene to the target video corresponding to the weather scene, the electronic device can display animation effects such as cutting out, fading out, advancing, and erasing to achieve a smooth switching effect between the two cute pet wallpaper videos. This will not be explained in the subsequent scenario examples.
[0357] In this way, electronic devices can automatically change cute pet wallpapers according to the current weather conditions. When the current weather information is the preset weather information, electronic devices can display cute pet wallpapers corresponding to the current weather information, thereby providing users with a more realistic user experience; in addition, electronic devices can remind users to bring umbrellas and pay attention to protection through lock screen wallpapers under preset weather information, further enhancing the user's user experience.
[0358] In one possible implementation, the preset weather information includes rainy day information, snowy day information and haze information; when the current weather information is rainy day information, the fifth target video includes a first object and an object for indicating a rainy day, and the object for indicating a rainy day includes at least one of the following: raindrops and an umbrella; or, when the current weather information is snowy day information, the fifth target video includes a first object and an object for indicating a snowy day, and the object for indicating a snowy day includes at least one of the following: snowflakes and a snowman; or, when the current weather information is haze information, the fifth target video includes a first object and an object for indicating haze, and the object for indicating haze includes a mask.
[0359] For example, if the first object is a dog, in a rainy scene, the target video might include a frame of the dog wearing a collar, sheltering from the rain under an umbrella, against background 1. In a snowy scene, the target video might include a frame of the dog wearing a collar, playing in the snow, against background 1. In a smog scene, the target video might include a frame of the dog wearing a collar, wearing a mask, against background 1. Any weather scene information can correspond to objects representing that weather information, for example, raindrops and umbrellas for a rainy day; snowmen and snowflakes for a snowy day; and masks for smog.
[0360] This allows electronic devices to automatically change cute pet wallpapers based on current weather conditions. On rainy days, the lock screen wallpaper can remind users to bring an umbrella; on snowy days, it can remind users to keep warm; and on foggy days, it can remind users to take precautions. Furthermore, users can intuitively view weather information on the lock screen, eliminating the need to access the desktop or weather app, simplifying user operations and improving the user experience.
[0361] In a possible implementation, after playing the fourth target video on the lock screen interface, the method further includes:
[0362] In the screen-off state, an operation is received to trigger the screen-on. In response to the operation to trigger the screen-on, a sixth target video is played on the lock screen interface, where the sixth target video is a target video corresponding to the sixth scene information in the target wallpaper; in the sixth scene information, the screen state of the electronic device is switched from the screen-off state to the screen-on state, and the operation information is the operation to trigger the screen-on; the current temperature information is less than a first temperature threshold, or the current temperature information is greater than a second temperature threshold; the first temperature threshold is lower than the second temperature threshold; and the current temperature information is obtained based on a weather application.
[0363] The lock screen interface may correspond to the interface shown in FIG6 b and / or the interface shown in FIG6 d. The sixth target video may be a target video corresponding to a temperature scene, and the sixth scene information may be a hot scene or a cold scene. The above scenes are divided according to a first temperature threshold and a second temperature threshold. If the current temperature information is less than the first temperature threshold, the current scene information is a cold scene; if the current temperature information is greater than the second temperature threshold, the current scene information is a hot scene.
[0364] For example, if the sixth scene information is a hot scene, the sixth target video may include cute pets, accessories, backgrounds, and frames of hot weather. If the sixth scene information is a cold scene, the sixth target video may include cute pets, accessories, backgrounds, and frames of cold weather.
[0365] In this way, the electronic device can automatically change the cute pet wallpaper according to the current temperature conditions. When the current temperature information is less than the first temperature threshold, or the current temperature information is greater than the second temperature threshold, the electronic device can display the cute pet wallpaper corresponding to the current temperature information, thereby providing users with a more realistic usage experience; in addition, the electronic device can remind users to pay attention to heatstroke prevention and keep warm through the lock screen wallpaper in hot weather or cold weather information, thereby further improving the user's usage experience.
[0366] In one possible implementation, when the current temperature information is less than a first temperature threshold, the sixth target video includes a first object and an object for indicating cold weather, and the object for indicating cold weather includes at least one of the following: clothing and a motion effect of the first object shaking with cold; or, when the current temperature information is greater than a second temperature threshold, the sixth target video includes the first object and an object for indicating hot weather, and the object for indicating hot weather includes at least one of the following: the sun and sweat beads.
[0367] For example, if the first subject is a dog, in a cold scene, the target video might include frames of the dog wearing a collar and shivering from the cold, and wearing clothes and a hat, against Background 1. In a hot scene, the target video might include frames of the dog wearing a collar and sweating, against Background 1. Any temperature-related scene information can be associated with an object representing that temperature information. For example, cold weather can be associated with animations such as wearing clothes and a hat, and shivering from the cold; heat can be associated with the sun and sweat beads.
[0368] This allows electronic devices to automatically change cute pet wallpapers based on the current temperature. In cold weather, the lock screen wallpaper can remind users to keep warm; in hot weather, it can remind users to avoid heatstroke. Furthermore, users can intuitively view temperature information on the lock screen, eliminating the need to access the desktop or weather app, simplifying user operations and improving the user experience.
[0369] In one possible implementation, after playing the fourth target video in the lock screen interface, it also includes: in the screen-off state, receiving an operation to trigger the screen to light up; in response to the operation to trigger the screen to light up, playing the seventh target video in the lock screen interface, the seventh target video is the target video corresponding to the seventh scene information in the target wallpaper; in the seventh scene information, the screen state of the electronic device is switched from the screen-off state to the screen-on state, and the operation information is the operation to trigger the screen to light up; the user mood information is any one of a plurality of preset mood information; the user mood information is obtained based on the calendar application.
[0370] The lock screen interface may correspond to the interface shown in b in Figure 7. The seventh target video may be a target video corresponding to the user's mood, and the seventh scene information may be a calendar scene. The seventh target video may include cute pets, accessories, backgrounds, and happy frame pictures.
[0371] In this way, electronic devices can automatically change cute pet wallpapers based on schedules, memos, user moods and other information, synchronizing the cute pets with the user's mood when the user is happy; they can also alleviate the user's negative emotions through the cute pet's happy state when the user is sad, thereby improving the user's experience.
[0372] In a possible implementation, the target image includes a first image, a second image, and a third image; the first image, the second image, and the third image are images of different types; and in response to a selection operation, the target image is displayed in a preview box; including:
[0373] (1) A user selection operation for a first picture among multiple pictures is received.
[0374] The first picture can be, for example, a picture of a dog in the interface shown in b of Figure 2. The user's selection operation on the first picture among the multiple pictures can be a click operation on the dog setting control 202 received in the interface shown in a of Figure 2.
[0375] (2) In response to a user selecting a first picture from among the multiple pictures, the first picture is displayed in a preview box; the first picture corresponds to first resource data; the first resource data includes a resource type of the first picture and a resource number of the first picture.
[0376] This step may refer to the description of step S902. Taking the first picture of a dog as an example, in the first resource data, the resource type of the first picture may be "character", and the resource number of the first picture may be "1".
[0377] (3) A user selection operation for a second picture among the multiple pictures is received.
[0378] The second picture may be, for example, a picture of a collar in the interface shown in b of Figure 2. The user's selection operation on the second picture among the multiple pictures may be a click operation on the collar setting control 203 received in the interface shown in a of Figure 2.
[0379] (4) In response to a user selecting a second picture from among the multiple pictures, a picture obtained by superimposing the first picture and the second picture is displayed in a preview frame; the second picture corresponds to second resource data; and the second resource data includes a second resource type and a second resource number.
[0380] This step can be referred to in the description of step S903. For example, if the second image is a collar, the resource type of the second image in the second resource data can be "accessory" and the resource number can be "3." The resulting image after the first and second images are superimposed can have the dog image on the bottom layer and the collar image on the top layer.
[0381] (5) A user selection operation for a third picture among the multiple pictures is received.
[0382] The third picture may be, for example, the picture of background 1 in the interface shown in b of Figure 2. The user's selection operation on the third picture among the multiple pictures may be a click operation on the background 1 setting control 204 received in the interface shown in a of Figure 2.
[0383] (6) In response to a user selecting a third picture from among the multiple pictures, a target picture is displayed in a preview box; the target picture is a picture obtained by superimposing the first picture, the second picture, and the third picture; the third picture corresponds to third resource data; the third resource data includes a third resource type and a third resource number.
[0384] This step can be referred to in the description of step S904. For example, in the third resource data, the resource type of the third image can be "background" and the resource number can be "1." The resulting image after the first, second, and third images are superimposed can have the image of background 1 at the bottom, the image of the dog at the middle, and the image of the collar at the top.
[0385] In this way, the electronic device can display the style of the cute pet wallpaper customized by the user in real time in the preview frame for the user to preview, thereby improving the user's usage experience.
[0386] In a possible implementation, the first picture includes a first object; the second picture includes a second object; and the third picture includes a third object; the first object includes a cute pet, the second object includes accessories of the cute pet, and the third object includes a background.
[0387] In this way, the electronic device can use different types of pictures to generate cute pet wallpapers that the user likes according to the user's selection operation, thereby improving the user's usage experience.
[0388] In a possible implementation, any target video includes a first object, a second object, and a third object; in any target video, the first object is located on an upper layer of the third object, and the second object is located on an upper layer of the first object.
[0389] For example, the first object is a cute pet, the second object is the cute pet's accessories, and the third object is the background. The second object is located on the upper layer of the first object to show the effect of the cute pet wearing accessories; the first object is located on the upper layer of the third object to show the effect of the cute pet moving in a specific background.
[0390] In this way, electronic devices can display dynamic wallpapers of cute pets wearing corresponding accessories against a specific background, thereby enhancing the user experience.
[0391] In one possible implementation, in response to a touch operation, a target wallpaper is generated based on target resource data, including: loading a theme package, the theme package including: multiple videos matching any one of multiple pictures, and a configuration file; the configuration file including a correspondence between resource data and videos; searching the configuration file for a video corresponding to the target resource data; the target resource data including first resource data, second resource data, and third resource data; the first resource data corresponds to a first video in multiple scenes, the second resource data corresponds to a second video in multiple scenes, and the third resource data corresponds to a third video in multiple scenes; synthesizing the first video, the second video, and the third video in any scene into a target video for the scene; and splicing the target videos in multiple scenes into a target wallpaper.
[0392] This step can be referred to the relevant description of the embodiment shown in Figure 9, which will not be repeated here. The first video can be, for example, a video of the dog in each scene, the second video can be, for example, a video of the collar in each scene, and the third video can be, for example, a video of background 1 in each scene.
[0393] In this way, after receiving a touch operation on the application control, the electronic device downloads the theme package, which can avoid the lag caused by loading and parsing the theme package during the preview period; when displaying pictures during the preview period, after receiving a touch operation on the application control, the electronic device synthesizes the video corresponding to the picture into a dynamic target wallpaper, which can avoid the lag caused by the video editing process; in addition, splicing multiple videos into one video can facilitate video management by the electronic device.
[0394] In one possible implementation, the configuration file also includes a correspondence between scene information and target frame numbers; target videos in multiple scenes are stitched together to form a target wallpaper, including:
[0395] According to the correspondence between scene information and target frame number, multiple target videos are spliced to obtain the target wallpaper.
[0396] In this way, during subsequent playback, the target frame number can be quickly found according to the scene; compared with multiple videos, the electronic device can quickly play the frame image corresponding to the target frame number in the target wallpaper, reducing the time for querying and reading multiple videos.
[0397] In one possible implementation, the first video, the second video, and the third video of any scene are synthesized into a target video of the scene; including: processing the transparency video of the first video and the color scale video of the first video to obtain the processed first video; any pixel point in any frame of the transparency video corresponds to transparency information, and any pixel point in any frame of the color scale video corresponds to color scale information; any pixel point in any frame of the processed first video corresponds to transparency information and color scale information; processing the transparency video of the second video and the color scale video of the second video to obtain a processed second video; processing the transparency video of the third video and the color scale video of the second video to obtain a processed third video; creating a first video track, a second video track, and a third video track; the first video track, the second video track, and the third video track belong to different video layers respectively; adding the processed first video to the first video track; adding the processed second video to the second video track; and adding the processed third video to the third video track; obtaining the target video of the scene.
[0398] The transparency information may be, for example, the transparency α in FIG10 , and the color scale information may be the color scale (R, G, B) in FIG10 . The processed video carries both the transparency information and the color scale information. For example, the processed video has four data paths.
[0399] It should be noted that the processed second video and the processed third video are similar to the processed first video, and the embodiments of the present application do not repeat the description of the processed second video and the processed third video.
[0400] The process can be referred to the relevant description in step S907 and will not be repeated here.
[0401] In this way, the electronic device can overlay the videos of cute pets, accessories and backgrounds through the video track, and optimize the effect of the target wallpaper by adjusting the transparency to enhance the aesthetics of the target wallpaper.
[0402] In one possible implementation, in response to the second operation, a lock screen interface is displayed, including: in response to the second operation, obtaining current scene information; when the current scene information is preset scene information, searching for a target frame number that matches the current scene information in a configuration file; and playing a frame image corresponding to the target frame number in the target wallpaper in the lock screen interface.
[0403] The process can be referred to the relevant description in FIG11 and will not be repeated here.
[0404] In this way, when playing the target wallpaper in the lock screen interface, the target frame number can be quickly found according to the scene; compared with multiple videos, the electronic device can quickly play the frame image corresponding to the target frame number in the target wallpaper, reducing the time to query and read multiple videos.
[0405] Having described the wallpaper display method according to an embodiment of the present application above, the following describes an apparatus for executing the wallpaper display method according to an embodiment of the present application. Those skilled in the art will appreciate that the method and apparatus may be combined and referenced with one another, and that the apparatus provided in the embodiment of the present application may execute the steps of the wallpaper display method.
[0406] As shown in Figure 17, a wallpaper display device 1700 can be used in a communication device, circuit, hardware component, or chip. The wallpaper display device includes a display unit 1701 and a processing unit 1702. The display unit 1701 is used to support the display steps performed by the wallpaper display device 1700; the processing unit 1702 is used to support the information processing steps performed by the wallpaper display device 1700.
[0407] In a possible implementation, the wallpaper display device 1700 may also include a communication unit 1703. Specifically, the communication unit is used to support the wallpaper display device 1700 in executing the steps of sending and receiving data. The communication unit 1703 may be an input or output interface, pin, or circuit.
[0408] In a possible embodiment, the wallpaper display device may further include a storage unit 1704. The processing unit 1702 and the storage unit 1704 are connected via a circuit. The storage unit 1704 may include one or more memories, which may be devices in one or more devices or circuits used to store programs or data. The storage unit 1704 may exist independently and be connected to the processing unit 1702 of the wallpaper display device via a communication line. Alternatively, the storage unit 1704 and the processing unit 1702 may be integrated.
[0409] The storage unit 1704 can store computer-executable instructions for the method in the electronic device, so that the processing unit 1702 executes the method in the above embodiment. The storage unit 1704 can be a register, a cache, or a RAM, etc. The storage unit 1704 can be integrated with the processing unit 1702. The storage unit 1704 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions. The storage unit 1704 can be independent of the processing unit 1702.
[0410] The wallpaper display method provided in the embodiment of the present application can be applied to electronic devices with communication functions. The electronic devices include terminal devices. The specific device form of the terminal device can refer to the above related descriptions and will not be repeated here.
[0411] An embodiment of the present application provides a terminal device, which includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the above method.
[0412] The present embodiment provides a chip. The chip includes a processor configured to invoke a computer program stored in a memory to execute the technical solution of the above embodiment. The implementation principles and technical effects are similar to those of the above-mentioned related embodiments and will not be further described here.
[0413] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the above-mentioned method is implemented. The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.
[0414] In one possible implementation, computer-readable media may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium designed to carry or store the desired program code in the form of instructions or data structures and accessible by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwave are used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and optical disk as used herein include optical disk, laser disk, optical disk, digital versatile disk (DVD), floppy disk and Blu-ray disk, where disks generally reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0415] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method.
[0416] The present application embodiment is described with reference to the flow chart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application.It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processing unit of general-purpose computer, special-purpose computer, embedded processing machine or other programmable device to produce a machine, so that the instruction executed by the processing unit of computer or other programmable data processing device produces the device for realizing the function specified in one flow chart flow or multiple flows and / or one block or multiple blocks of block diagram.
[0417] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.
Claims
1. A wallpaper display method, characterized in that: Applied to electronic equipment, the method includes: Receiving a first operation from the user; In response to the first operation, displaying a wallpaper selection interface; the wallpaper selection interface includes multiple wallpapers; receiving a first selection operation of a user on a first wallpaper among the plurality of wallpapers; In response to the first selection operation, displaying a setting interface for the first wallpaper, the setting interface including a preview box and multiple pictures corresponding to the first wallpaper, the multiple pictures including pictures of multiple types; Receiving a user's selection operation of a target image among multiple images; In response to the selection operation, the target image is displayed in the preview frame; the target image corresponds to target resource data; Receive a user touch operation on an application control; In response to the touch operation, generating a target wallpaper based on the target resource data; the target wallpaper includes multiple videos, each video corresponding to a preset scene information, the preset scene information including at least one of the following: current weather information, current temperature information, operation information, screen status of the electronic device, and / or user mood information; Receive the user's logout operation; In response to the exit operation, exit the setting interface; receiving a second operation; In response to the second operation, a lock screen interface is displayed; the lock screen interface includes a target video among the multiple videos that matches the current scene information.
2. The method according to claim 1, characterized in that In response to the second operation, displaying a lock screen interface includes: When the screen is off, an operation to turn the screen on is received; In response to the screen-lighting triggering operation, playing a first target video on the lock screen interface; the first target video is a target video corresponding to first scene information in the target wallpaper; in the first scene information, the screen state of the electronic device is switched from a screen-off state to a screen-on state, and the operation information is the operation that triggers the screen-lighting; When the lock screen interface is in a light-on state, a third operation is received; In response to the third operation, playing a second target video in the lock screen interface; the second target video is a target video corresponding to the second scene information in the target wallpaper; in the second scene information, the screen state of the electronic device is a bright screen state, and the operation information is the third operation; When the lock screen interface is in a light-on state, a fourth operation is received; In response to the fourth operation, a third target video is played in the lock screen interface, and the third target video is the target video corresponding to the third scene information in the target wallpaper; in the third scene information, the screen state of the electronic device is a bright screen state, and the operation information is the fourth operation; the fourth operation is different from the third operation.
3. The method according to claim 2, characterized in that Both the second target video and the third target video include the first object in the target picture; the action of the first object in the second target video is different from the action of the first object in the third target video; one of the third operation and the fourth operation is a single-click operation, and the other is a double-click operation.
4. The method according to claim 2 or 3, characterized in that After playing the third target video in the lock screen interface, the method further includes: Receive an operation that triggers screen off; In response to the operation of triggering screen off, playing a fourth target video in the lock screen interface, the fourth target video being a target video corresponding to fourth scene information in the target wallpaper; in the fourth scene information, the screen state of the electronic device is switched from a screen-on state to a screen-off state, and the operation information is the operation of triggering screen off; In the screen-off state, receiving the operation of triggering the screen-on; In response to the operation of triggering the screen to light up, a fifth target video is played in the lock screen interface, and the fifth target video is the target video corresponding to the fifth scene information in the target wallpaper; in the fifth scene information, the screen state of the electronic device is switched from the screen-off state to the screen-on state, and the operation information is the operation of triggering the screen to light up; the current weather information is any one of multiple preset weather information; the current weather information is obtained based on a weather application.
5. The method according to claim 4, characterized in that The preset weather information includes rainy day information, snowy day information, and haze information; when the current weather information is the rainy day information, the fifth target video includes a first object and an object indicating a rainy day, and the object indicating a rainy day includes at least one of the following: raindrops and an umbrella; Alternatively, when the current weather information is the snowy weather information, the fifth target video includes the first object and an object indicating a snowy weather, and the object indicating a snowy weather includes at least one of the following: a snowflake and a snowman; Alternatively, in a case where the current weather information is the haze information, the fifth target video includes the first object and an object for indicating haze, and the object for indicating haze includes: a mask.
6. The method according to claim 4, characterized in that After the fourth target video is played in the lock screen interface, the method further includes: In the screen-off state, receiving the operation of triggering the screen-on; In response to the operation of triggering the screen to light up, a sixth target video is played in the lock screen interface, and the sixth target video is the target video corresponding to the sixth scene information in the target wallpaper; in the sixth scene information, the screen state of the electronic device is switched from the screen-off state to the screen-on state, and the operation information is the operation of triggering the screen to light up; the current temperature information is less than the first temperature threshold, or the current temperature information is greater than the second temperature threshold; the first temperature threshold is lower than the second temperature threshold; the current temperature information is obtained based on a weather application.
7. The method according to claim 6, characterized in that When the current temperature information is less than a first temperature threshold, the sixth target video includes a first object and an object indicating cold weather, wherein the object indicating cold weather includes at least one of the following: clothing and an animation effect of the first object shaking with cold; Alternatively, when the current temperature information is greater than a second temperature threshold, the sixth target video includes the first object and an object indicating hot weather, and the object indicating hot weather includes at least one of the following: the sun and sweat beads.
8. The method according to claim 4, characterized in that After playing the fourth target video in the lock screen interface, the method further includes: In the screen-off state, receiving the operation of triggering the screen-on; In response to the operation of triggering the screen to light up, a seventh target video is played in the lock screen interface, and the seventh target video is the target video corresponding to the seventh scene information in the target wallpaper; in the seventh scene information, the screen state of the electronic device is switched from the screen-off state to the screen-on state, and the operation information is the operation of triggering the screen to light up; the user mood information is any one of multiple preset mood information; the user mood information is obtained based on the calendar application.
9. The method according to claim 1, characterized in that The target picture includes a first picture, a second picture, and a third picture; the first picture, the second picture, and the third picture are pictures of different types; in response to the selection operation, the target picture is displayed in the preview box; including: Receiving a user selection operation on a first picture among the multiple pictures; In response to the user selecting a first picture from the plurality of pictures, displaying the first picture in the preview frame; the first picture corresponds to first resource data; the first resource data includes a resource type of the first picture and a resource number of the first picture; receiving a user selection operation of a second picture among the multiple pictures; In response to the user selecting a second picture from the plurality of pictures, displaying a superimposed picture of the first picture and the second picture in the preview frame; the second picture corresponds to second resource data; the second resource data includes a second resource type and a second resource number; receiving a user selection operation of a third picture among the multiple pictures; In response to the user's selection operation of the third picture among the multiple pictures, the target picture is displayed in the preview box; the target picture is the picture obtained by superimposing the first picture, the second picture and the third picture; the third picture corresponds to third resource data; the third resource data includes a third resource type and a third resource number.
10. The method according to claim 9, characterized in that The first picture includes a first object; the second picture includes a second object, and the third picture includes a third object; the first object includes a cute pet, the second object includes accessories of the cute pet, and the third object includes a background.
11. The method according to any one of claims 1 to 10, characterized in that Any target video includes a first object, a second object, and a third object; in any target video, the first object is located on an upper layer of the third object, and the second object is located on an upper layer of the first object.
12. The method according to any one of claims 1 to 11, characterized in that In response to the touch operation, generating a target wallpaper based on the target resource data, including: Loading a theme package, the theme package including: multiple videos matching any one of the multiple pictures, and a configuration file; the configuration file including a correspondence between resource data and videos; Searching for a video corresponding to the target resource data in the configuration file; the target resource data includes first resource data, second resource data, and third resource data; the first resource data corresponds to a first video under multiple scenes, the second resource data corresponds to a second video under multiple scenes, and the third resource data corresponds to a third video under multiple scenes; Combining the first video, the second video, and the third video in any scene into a target video of the scene; The target videos in multiple scenes are spliced into the target wallpaper.
13. The method according to claim 12, characterized in that The configuration file also includes a correspondence between the scene information and the target frame number; Splicing the target videos in multiple scenes into the target wallpaper includes: According to the correspondence between the scene information and the target frame number, multiple target videos are spliced together to obtain the target wallpaper.
14. The method according to claim 12 or 13, characterized in that Combining the first video, the second video, and the third video in any scene into a target video of the scene; comprising: Processing the transparency video and the color scale video of the first video to obtain a processed first video; wherein any pixel in any frame of the transparency video corresponds to transparency information, and any pixel in any frame of the color scale video corresponds to color scale information; and any pixel in any frame of the processed first video corresponds to transparency information and color scale information; Processing the transparency video of the second video and the color scale video of the second video to obtain a processed second video; Processing the transparency video of the third video and the color scale video of the second video to obtain a processed third video; Creating a first video track, a second video track, and a third video track; the first video track, the second video track, and the third video track belong to different video layers respectively; Add the processed first video to the first video track; add the processed second video to the second video track; and add the processed third video to the third video track; and obtain the target video of the scene.
15. The method according to any one of claims 1 to 14, characterized in that In response to the second operation, displaying a lock screen interface includes: In response to the second operation, acquiring the current scene information; When the current scene information is the preset scene information, searching a configuration file for a target frame number that matches the current scene information; Play the frame images corresponding to the target frame number in the target wallpaper in the lock screen interface.
16. An electronic device, characterized in that: include: processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the electronic device performs the method according to any one of claims 1 to 15.
17. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 15 is implemented.
18. A chip system, characterized in that: The system comprises at least one processor and a communication interface, wherein the communication interface and the at least one processor are interconnected via a line, and the at least one processor is configured to run a computer program or instruction to execute the method according to any one of claims 1 to 15.
19. A computer program product, characterized in that The method comprises a computer program which, when being executed, causes a computer to execute the method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Wallpaper control method and device, electronic equipment and storage medium
CN108037859A
Wallpaper display method and device and electronic equipment
CN112099683A
Screen-off display control method and electronic equipment
CN113824834A
Wallpaper display method, electronic equipment and storage medium
CN115695634A
Live wallpaper
US20110119610A1