Wallpaper display method and device
By using the interface content of the application interface on electronic devices as lock screen wallpaper, the problem of single display effect of lock screen wallpaper is solved, the smoothness and consistency of the user experience is improved, and the smooth transition between the lock screen and the application interface is achieved.
Patent Information
- Application Number
- CN202411227585.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2025-01-10
AI Technical Summary
The lock screen wallpaper of existing electronic devices has a single display effect and cannot meet the user's visual needs, resulting in poor user experience.
After the user triggers the lock screen, use the interface content that displays the first application interface as the lock screen wallpaper to ensure that the lock screen wallpaper has a certain similarity between the interface content of the application interface, thereby achieving visual smooth transition and unity when unlocking .
By using the interface content of the application interface as lock screen wallpaper, the display effect of lock screen wallpaper is enriched, the smoothness and consistency of the user experience is improved, and the smoothness and consistency of the transition effect when unlocking the screen is ensured.
Smart Images

Figure CN119292717A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of display technology, and specifically relates to a wallpaper display method and device. Background Art
[0002] At present, when using an electronic device, a user sometimes needs to turn off the screen of the electronic device, for example, when the user is not convenient to operate the electronic device at present, the screen can be turned off to prevent accidental triggering of the screen. After the user triggers the screen-on operation, the electronic device can display the lock screen interface, and then the user can unlock the lock screen interface so that the electronic device can continue to display the interface displayed before the screen is turned off.
[0003] However, in the existing solution, the lock screen wallpaper of the lock screen interface displays a pre-set wallpaper image, and the pre-set wallpaper image may not meet the wallpaper visual effect requirements of the user when currently using the electronic device, so the display effect of the lock screen wallpaper of the electronic device is single. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a wallpaper display method and device, which can use the image displayed on the interface of the application used before the screen is turned off as the lock screen wallpaper, thereby enriching the display effect of the lock screen wallpaper of the electronic device.
[0005] In a first aspect, an embodiment of the present application provides a wallpaper display method, the method comprising: receiving a lock screen input while displaying a first application interface; displaying a lock screen interface in response to the lock screen input, the lock screen wallpaper displayed in the lock screen interface comprising a first wallpaper image; wherein the first wallpaper image is obtained based on the interface content of the first application interface.
[0006] In a second aspect, an embodiment of the present application provides a wallpaper display device, which includes: a receiving module and a display module. The receiving module is used to receive a lock screen input when displaying a first application interface; the display module is used to display a lock screen interface in response to the lock screen input received by the receiving module, and the lock screen wallpaper displayed in the lock screen interface includes a first wallpaper image; wherein the first wallpaper image is obtained based on the interface content of the first application interface.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0011] In an embodiment of the present application, when the first application interface is displayed, a lock screen input of the user can be received, and in response to the lock screen input, the lock screen interface is displayed, and the lock screen wallpaper displayed in the lock screen interface includes a first wallpaper image, and the first wallpaper image is obtained based on the interface content of the first application interface. In this solution, the lock screen wallpaper displayed in the lock screen interface includes a first wallpaper image, and the first wallpaper image is obtained based on the interface content of the first application interface, that is, the wallpaper image in the lock screen wallpaper is obtained by the interface content of the application interface displayed before the lock screen, that is, after the user triggers the lock screen, the lock screen wallpaper displayed in the lock screen interface has a certain degree of similarity with the interface content of the first application interface, that is, the display effect difference between the wallpaper image in the lock screen wallpaper and the interface content of the first application interface is small, so that when transitioning from the lock screen wallpaper to the application interface, visual smooth connection and unity can be achieved, so that the user's visual experience is smooth and natural with strong consistency, ensuring the smoothness and consistency of the display transition effect when the electronic device unlocks the screen, thus enriching the display effect of the lock screen wallpaper of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 This is one of the flow charts of the wallpaper display method provided in the embodiment of the present application;
[0013] Figure 2 is a schematic diagram of obtaining a first wallpaper image based on a first application interface provided in an embodiment of the present application;
[0014] Figure 3 This is the second flowchart of the wallpaper display method provided in the embodiment of the present application;
[0015] Figure 4 It is a schematic diagram of using a screenshot image of the interface content as a lock screen wallpaper provided by an embodiment of the present application;
[0016] Figure 5 This is the third flowchart of the wallpaper display method provided in the embodiment of the present application;
[0017] Figure 6 This is a schematic diagram of using an image matching the interface content as a lock screen wallpaper provided by an embodiment of the present application;
[0018] Figure 7 This is the fourth flowchart of the wallpaper display method provided in the embodiment of the present application;
[0019] Figure 8 It is a schematic diagram of using a dynamic image as a lock screen wallpaper provided by an embodiment of the present application;
[0020] Fig. 9 This is the fifth flowchart of the wallpaper display method provided in the embodiment of the present application;
[0021] Fig.10 It is a schematic diagram of fusing a first wallpaper image with an original wallpaper image as a lock screen wallpaper provided by an embodiment of the present application;
[0022] Fig.11 is a schematic diagram of a wallpaper display device provided in an embodiment of the present application;
[0023] Fig.12 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0024] Fig.13 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0026] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0027] The terms "at least one (item)", "at least one of" and the like in this application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".
[0028] The wallpaper display method, device, electronic device, storage medium and program product provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0029] The embodiments of the present application can be applied to a scenario where a user triggers the lock screen of an electronic device when the electronic device displays an application interface. For example, the application interface displayed by the electronic device can be an application interface of a video application, a game application, a shopping application, a music application, a reading application, a picture application, a map and navigation application, a social media application, a news application, and the like.
[0030] For example, taking the video playback interface of a video application as an example, when a user is using the video application to play a video, because the user actively locks the screen or the electronic device automatically locks the screen, the electronic device enters a lock screen state without exiting the video application and displays the lock screen interface. The user can then unlock the lock screen interface so that the electronic device can continue to display the video playback interface of the video application that was displayed before the lock screen.
[0031] Under the current electronic device lock screen mechanism, the lock screen wallpaper displayed by the electronic device is based on a fixed image pre-set by the user. However, such a pre-set lock screen wallpaper may not fully meet the user's wallpaper visual effect requirements when using the electronic device in a specific situation, so the display effect of the lock screen wallpaper of the electronic device is single.
[0032] The embodiment of the present application provides a wallpaper display method, device, electronic device, storage medium and program product. When displaying a first application interface, the electronic device can receive a lock screen input from a user, and in response to the lock screen input, display a lock screen interface. The lock screen wallpaper displayed in the lock screen interface includes a first wallpaper image, and the first wallpaper image is obtained based on the interface content of the first application interface. In this solution, the lock screen wallpaper displayed in the lock screen interface includes a first wallpaper image, and the first wallpaper image is obtained based on the interface content of the first application interface, that is, the wallpaper image in the lock screen wallpaper is obtained by the interface content of the application interface displayed before the lock screen, that is, after the user triggers the lock screen, the lock screen wallpaper displayed in the lock screen interface has a certain degree of similarity with the interface content of the first application interface, that is, the display effect difference between the wallpaper image in the lock screen wallpaper and the interface content of the first application interface is small, so that when transitioning from the lock screen wallpaper to the application interface, visual smooth connection and unity can be achieved, so that the user's visual experience is smooth and natural and has strong consistency, ensuring the smoothness and consistency of the display transition effect when the electronic device unlocks the screen, thus enriching the display effect of the lock screen wallpaper of the electronic device.
[0033] The wallpaper display method provided in the embodiment of the present application may be executed by a wallpaper display device, which may be an electronic device, or a functional module or functional entity in the electronic device. The technical solution provided in the embodiment of the present application is described below using an electronic device as an example.
[0034] Figure 1 A flowchart of a wallpaper display method provided in an embodiment of the present application is shown. Figure 1 As shown, the wallpaper display method provided in the embodiment of the present application may include the following steps 201 and 202.
[0035] Step 201: When displaying a first application interface, the electronic device receives a lock screen input.
[0036] Optionally, in the embodiment of the present application, the first application interface may be any interface of any application in the electronic device. For example, the any application may include but is not limited to any of the following types of applications: video applications, game applications, shopping applications, music applications, reading applications, image applications, map and navigation applications, social media applications, news applications, etc.
[0037] For example, taking the video application as an example, the first application interface can be any of the following: video recommendation interface, playback interface, search interface, personal center interface, etc. Among them, the recommended video interface can be used to display recommended videos, popular videos, and classified video lists (such as movies, TV series, documentaries, etc.). The playback interface can be used to play videos and display controls such as a playback progress bar, a full-screen button, a volume control, and a subtitle switch. The search interface can be used to provide a search box, as well as functions such as filtering and sorting. The personal center interface is used to display information such as viewing history, favorites, and subscribed channels.
[0038] For example, taking a game application as an example, the first application interface may be any of the following: a game list interface, a game interface, a setting interface, etc. Taking a shopping application as an example, the first application interface may be any of the following: a product recommendation interface, a product search interface, a product details interface, a shopping cart, an order interface, etc. Taking a music application as an example, the first application interface may be any of the following: a playback interface, a music library interface, a search interface, etc.
[0039] In an embodiment of the present application, the above-mentioned lock screen input is used to trigger the electronic device to perform a lock screen operation to display a lock screen interface.
[0040] Optionally, in an embodiment of the present application, the lock screen input may be an input used to trigger the electronic device to be in a lock screen and screen on state. Alternatively, the lock screen input may include two sub-inputs, one sub-input used to trigger the electronic device to be in a lock screen and screen off state, and the other sub-input used to trigger the electronic device to switch from the lock screen and screen off state to the lock screen and screen on state.
[0041] It should be noted that the above-mentioned lock screen is a security function of an electronic device. By setting a digital password, pattern password or biometric technology, the screen of the electronic device is locked to protect personal privacy and prevent accidental touches. It is used to protect the contents of the electronic device from being accessed when the electronic device is not authorized to be used.
[0042] Optionally, in the embodiment of the present application, the lock screen input includes but is not limited to: a user touch inputting the electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input. The specific input can be determined according to actual use requirements and is not limited in the embodiment of the present application.
[0043] Optionally, in the embodiment of the present application, the touch input may be a single-click input, a double-click input, or any number of click inputs, or may be a long-press input, a short-press input, or the like.
[0044] Optionally, in an embodiment of the present application, the above-mentioned specific gesture can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture.
[0045] Optionally, in the embodiment of the present application, the lock screen input may include but is not limited to any of the following situations:
[0046] (1) Key lock screen: The user actively presses the power button or virtual power button on the side of the mobile phone to turn off the screen of the electronic device and enter the lock screen state.
[0047] (2) Automatic screen lock: If the user does not operate the electronic device within a preset period of time, the electronic device will automatically turn off the screen and enter the lock screen state to save power and protect user privacy.
[0048] (3) Voice lock screen: The user inputs voice into the electronic device and issues a command such as "lock screen" to turn off the screen of the electronic device and enter the lock screen state.
[0049] (4) Gesture lock screen: The user performs a single-finger or multi-finger gesture input on the electronic device, such as sliding from the top of the electronic device's screen to the right, so that the electronic device's screen turns off and enters the lock screen state.
[0050] (5) Biometric lock screen: When a user inputs biometric information into an electronic device, for example, the user leaves the face detection range of the electronic device, causing the electronic device to detect that there is no one in front of the electronic device.
[0051] To trigger the screen to turn off and enter the lock screen state.
[0052] Optionally, in an embodiment of the present application, the above-mentioned virtual power key may include but is not limited to any of the following situations: a "one-key lock screen" button in the taskbar or application list, a lock screen button in the floating ball, etc.
[0053] Step 202: The electronic device displays a lock screen interface in response to a lock screen input.
[0054] In an embodiment of the present application, the lock screen wallpaper displayed in the above lock screen interface includes a first wallpaper image.
[0055] In the embodiment of the present application, the first wallpaper image is obtained based on the interface content of the first application interface.
[0056] It should be noted that the lock screen interface is the interface displayed by the electronic device in the locked state, and its main function is to protect the user's privacy and security and prevent unauthorized access. The lock screen interface usually displays a lock screen wallpaper, time and date, notification preview, quick operation buttons (such as camera, music, emergency call, etc.), password or biometric lock prompt, battery status and network connection information, etc. Among them, the lock screen wallpaper is the background picture displayed in the lock screen interface when the electronic device is locked. It can not only beautify the screen of the electronic device, but also reflect the user's personal preferences or style, providing visual enjoyment for the user.
[0057] It should be noted that the interface content of the above-mentioned first application interface can be the visual elements and functional layout displayed in the first application interface, and can also be the content elements of the first application interface.
[0058] The above-mentioned visual elements are points, lines, shapes, logos, etc. in the application interface, as well as their attributes such as color and texture. Functional layout is the layout of the position, size, proportion, etc. of the visual elements in the application interface.
[0059] The content elements of the first application interface are the actual information and meanings carried in the first application interface, such as character information, object information, scene information, chart information, file information, etc.
[0060] Optionally, in an embodiment of the present application, the content elements of the first application interface include but are not limited to at least one of the following: text, file, image, control, component, link, etc.
[0061] Exemplarily, taking the first application as a video application, the interface content of the video playback interface may be the video content being played, and the interface content of the video recommendation interface may be the cover, title, and other content of the video.
[0062] As another example, taking the first application as a game application, the interface content of the game interface can be the screen of the game in progress, that is, the game characters, scenes, props, scores, etc.
[0063] For example, Figure 2 As shown, the mobile phone displays a first application interface, such as a video playback interface 10 in a video application. The user can make a lock screen input to trigger the mobile phone to enter a lock screen state and display a lock screen interface 11. The lock screen interface 11 displays a lock screen wallpaper, which includes a first wallpaper image obtained based on the content of the video playback interface 10.
[0064] It can be understood that in the embodiment of the present application, the lock screen wallpaper displayed in the lock screen interface of the electronic device is related to the interface content of the application interface displayed before the lock screen, that is, the interface content of different application interfaces can obtain different lock screen wallpaper images, that is, different lock screen wallpapers. Therefore, in the embodiment of the present application, the electronic device can display different lock screen wallpapers when entering the lock screen state while displaying different application interfaces, so as to realize the linkage with the lock screen interface during the use of the application, and the user's lock screen wallpaper can be continuously changed without manual operation by the user, which increases the fun and improves the user experience.
[0065] An embodiment of the present application provides a wallpaper display method, wherein the lock screen wallpaper displayed in the lock screen interface includes a first wallpaper image, and the first wallpaper image is obtained based on the interface content of the first application interface, that is, the wallpaper image in the lock screen wallpaper is obtained by the interface content of the application interface displayed before the lock screen is locked, that is, after the user triggers the lock screen, the lock screen wallpaper displayed in the lock screen interface has a certain similarity with the interface content of the first application interface, that is, the display effect difference between the wallpaper image in the lock screen wallpaper and the interface content of the first application interface is small, so that when transitioning from the lock screen wallpaper to the application interface, visual smooth connection and unity can be achieved, so that the user's visual experience is smooth, natural and highly consistent, ensuring the smoothness and consistency of the display transition effect when the electronic device unlocks the screen, thereby enriching the display effect of the lock screen wallpaper of the electronic device.
[0066] Optionally, in the embodiment of the present application, the electronic device may obtain the first wallpaper image based on the interface content of the first application interface by any of the following implementation methods:
[0067] In one implementation, combining Figure 1 ,like Figure 3 As shown, before "displaying the lock screen interface" in the above step 202, the wallpaper display method provided in the embodiment of the present application also includes the following step 301a.
[0068] Step 301a: In response to a lock screen input, the electronic device performs a screenshot operation on the interface content of the first application interface to obtain a screenshot image.
[0069] In the embodiment of the present application, the screenshot image is used as the first wallpaper image.
[0070] It can be understood that, in the case of executing the above step 301a, the above step 202 may be: the electronic device displays a lock screen interface, and the lock screen wallpaper displayed in the lock screen interface includes a screenshot image.
[0071] Optionally, in an embodiment of the present application, the electronic device may perform a screenshot operation on the entire interface of the first application interface to obtain the above screenshot image, which includes the interface content displayed by the first application interface. Alternatively, the electronic device may perform a screenshot operation on the area of the first application interface where the interface content is displayed to obtain the above screenshot image.
[0072] Optionally, in an embodiment of the present application, when the interface content displayed in the first application interface is distributed in multiple areas of the first application interface: the electronic device can perform multiple screenshot operations on the multiple areas to obtain multiple sub-screenshot images, and then merge the multiple sub-screenshot images to obtain the above-mentioned screenshot image. Alternatively, the electronic device can perform a screenshot operation on the first application interface or the interface content displayed in the first application interface once to obtain a candidate screenshot image, and then perform a cropping process on the candidate screenshot image to obtain a sub-screenshot image containing each interface content, and then merge these sub-screenshot images to obtain the above-mentioned screenshot image.
[0073] Optionally, in the embodiment of the present application, the electronic device may use optical character recognition (OCR), machine learning or deep learning technology to identify and analyze the first application interface to obtain the interface content displayed in the first application interface, thereby performing a screenshot operation on the interface content. Alternatively, the electronic device may determine the layer information and the area of the interface content displayed in the first application interface according to the type of application to which the first application interface belongs, thereby performing a screenshot operation on the interface content.
[0074] It should be noted that layer graphics refer to the stacking of graphic elements displayed on the screen. In the application interface of an electronic device, each graphic element is usually managed in layers. When the interface of the application is displayed, the layers where different graphic elements are located are layers. For example, taking the first application as a video application, if the first application is playing a video, the video content can be located on a dedicated layer, while other graphic elements in the application (such as control buttons or menus) are located on another layer. In this way, even if the video content changes during playback, other parts of the application interface can still remain stable and will not be affected.
[0075] Optionally, in the embodiment of the present application, when a video is played in the first application interface, the layers of the electronic device include a video playback layer, a function layer, and a status bar layer, wherein the video playback layer is used to display the current video screen, and the function layer is used to display text introductions, video recommendations, control buttons (such as comment, share, like, etc. buttons), etc. The electronic device can obtain the video playback layer (i.e., the layer of the currently displayed video screen) to intercept the content in the video playback layer (i.e., the video screen content).
[0076] For example, the electronic device is a mobile phone. Figure 4 As shown in (a) of FIG. 1 , the mobile phone displays a first application interface, such as a video playback interface 10 in a video application. The user can enter a lock screen input to trigger the mobile phone to perform a screenshot operation on the interface content of the video playback interface 10 to obtain a screenshot image 11, and then Figure 4 As shown in (b), the mobile phone can enter the lock screen state and display the lock screen interface 12, in which a lock screen wallpaper is displayed, and the lock screen wallpaper includes the above-mentioned screenshot image 11.
[0077] In this way, when the electronic device displays the first application interface, the electronic device can perform a screenshot operation on the interface content in the first application interface to obtain a screenshot image, so that the electronic device can directly capture the interface content of the first application interface without capturing other irrelevant content, such as the status bar and navigation bar. While avoiding interference from other applications or system interfaces, the complete interface content can be captured to directly use the complete interface content displayed before the lock screen as the lock screen wallpaper, so that when transitioning from the lock screen wallpaper to the first application interface, visual smoothness and unity can be better achieved.
[0078] In another implementation, combining Figure 1 ,like Figure 5 As shown, before "displaying the lock screen interface" in the above step 202, the wallpaper display method provided in the embodiment of the present application also includes the following step 301b.
[0079] Step 301b: In response to the lock screen input, the electronic device obtains a first image matching the interface content based on the interface content of the first application interface.
[0080] In the embodiment of the present application, the first image is used as the first wallpaper image.
[0081] It can be understood that, in the case of executing the above step 301b, the above step 202 may be: the electronic device displays a lock screen interface, and the lock screen wallpaper displayed in the lock screen interface includes the first image.
[0082] Optionally, in an embodiment of the present application, the electronic device may obtain a recognition result, such as content elements and content display parameters (such as parameters such as brightness values or color values), by identifying and analyzing the interface content of the first application interface, and then based on the recognition result, search for an image matching the recognition result from at least one application in the electronic device, and use the image as the first image.
[0083] Optionally, in an embodiment of the present application, the electronic device may perform a screenshot operation on the interface content of the first application interface to obtain a screenshot image, and based on the screenshot image, search for an image matching the screenshot image from at least one application in the electronic device, and use the image as the first image.
[0084] Optionally, in the embodiment of the present application, the at least one application mentioned above may include but is not limited to any of the following situations: a browser application, an album application, a wallpaper application, etc.
[0085] It should be noted that the above-mentioned “first image matching the interface content” can be understood as: the correlation degree or matching degree between the first image and the interface content is greater than a threshold value (eg, 95%).
[0086] For example, Figure 6 As shown in (a) of FIG. 1 , the mobile phone displays a first application interface, such as a battle interface 13 in a game application. The user can perform a lock screen input to trigger the interface content based on the battle interface 13, obtain a first image 11 matching the interface content, and then Figure 6 As shown in (b), the mobile phone can enter the lock screen state and display the lock screen interface 12, in which a lock screen wallpaper is displayed, and the lock screen wallpaper includes the above-mentioned first image 11.
[0087] In this way, the electronic device can use an image that matches the interface content of the application interface as the wallpaper image of the lock screen wallpaper, that is, instead of directly using the interface content of the application interface as the wallpaper image, which not only ensures that the lock screen wallpaper is related to the interface content of the application interface, but also avoids the problem of user privacy leakage caused by directly displaying the interface content. Therefore, when ensuring the transition from the lock screen wallpaper to the first application interface, it can better achieve visual smooth connection and unity, and at the same time, it can improve the security of information display. In addition, when the user performs multiple lock screen inputs in the same application interface, the lock screen interface of the electronic device can display a different wallpaper image each time, which improves the flexibility of wallpaper display.
[0088] In another implementation, the first application interface includes a first screen. Figure 1 ,like Figure 7 As shown, before "displaying the lock screen interface" in the above step 202, the wallpaper display method provided in the embodiment of the present application also includes the following step 301c.
[0089] Step 301c: The electronic device generates a second image based on the screen content of the first screen and the screen content of the second screen in response to the lock screen input.
[0090] In the embodiment of the present application, the second picture is one or more frames displayed after the first picture.
[0091] In the embodiment of the present application, the second image is used as the first wallpaper image, and the second image is a dynamic image, which is used to display the derivative animation effect from the first picture to the second picture.
[0092] It can be understood that, in the case of executing the above step 301c, the above step 202 may be: the electronic device displays a lock screen interface, and the lock screen wallpaper displayed in the lock screen interface includes the second image.
[0093] In an embodiment of the present application, the electronic device displays a video screen (i.e., a first screen), such as a video screen, a game screen, or a live broadcast screen, etc. When the electronic device receives a lock screen input, the electronic device can obtain the screen content of the currently displayed video screen, and because the video is in a playing state, the electronic device can continue to obtain the screen content of one or more frames after the first screen, thereby obtaining the above-mentioned second image. For example, the one or more frames are determined based on a preset duration.
[0094] It should be noted that when an electronic device receives a lock screen input, it does not lock the screen immediately, but plays a lock screen animation (such as a simple fade-in and fade-out effect, or a more complex graphic transformation, such as icon shrinking, color change, or pattern disappearance, etc.), and completely locks the screen after the lock screen animation ends. This process is usually very short, usually a few hundred milliseconds, but it can improve the user experience, increase the smoothness of interaction and visual coherence.
[0095] In an embodiment of the present application, the electronic device can record the screen content from the first screen to the last frame of the second screen by screen recording to obtain a screen recording video, and obtain a dynamic image based on the screen recording video, that is, the above-mentioned second image.
[0096] Optionally, in the embodiment of the present application, the electronic device can use the screen recording video as the dynamic image. Alternatively, the electronic device can derive a dynamic image that can reflect the screen changes based on the screen changes of the screen recording video.
[0097] It should be noted that the above-mentioned derivative animation effects are a series of dynamic transition effects displayed in the process of transitioning from the first screen to the second screen, such as fade in and fade out, wipe transition, mask transition, particle special effects transition, geometric image transition, etc., creating a visual sense of fluidity and continuity.
[0098] For example, Figure 8As shown in (a) of FIG. 1 , the mobile phone displays a first application interface, such as a lyrics scrolling interface 14 in a music application. The user can perform a lock screen input to trigger the interface content based on the lyrics scrolling interface 14, obtain the second image 11 generated based on the screen content of the first screen and the screen content of the second screen, and then Figure 8 As shown in (b) in FIG. 1 , the mobile phone can enter the lock screen state and display the lock screen interface 12, wherein the lock screen interface 12 displays a lock screen wallpaper, and the lock screen wallpaper includes the second image 11, such as Figure 8 As shown in (c) in FIG. 8 , the second image is a dynamic image.
[0099] In this way, the electronic device can generate a dynamic image based on the picture content of multiple frames corresponding to the application interface, and use the dynamic image as the wallpaper image in the lock screen wallpaper to intuitively show the user the picture changes in the application interface, thereby enriching the display effect of the lock screen wallpaper of the electronic device.
[0100] Optionally, in an embodiment of the present application, the lock screen wallpaper displayed in the above-mentioned lock screen interface can be a first wallpaper image, that is, after the electronic device receives the lock screen input, the original wallpaper image in the lock screen wallpaper can be replaced with the first wallpaper image obtained based on the interface content of the first application interface, thereby more intuitively displaying the interface content of the first application interface.
[0101] Optionally, in the embodiment of the present application, the lock screen wallpaper further includes a second wallpaper image, and the second wallpaper image is the original wallpaper image in the lock screen wallpaper. Figure 1 ,like Fig. 9 As shown, before "displaying the lock screen interface" in the above step 202, the wallpaper display method provided in the embodiment of the present application also includes the following steps 401 and 402.
[0102] Step 401: In response to a lock screen input, the electronic device covers a target image area of a second wallpaper image with a first wallpaper image.
[0103] It can be understood that, in the case of executing the above step 401, the above step 202 may be: the electronic device displays a lock screen interface, and the lock screen interface includes a lock screen wallpaper.
[0104] In the embodiment of the present application, the electronic device can determine the target image area when the first wallpaper image covers the second wallpaper image through a preset zoom type.
[0105] It should be noted that the scaletype is used to define how to adjust the image to fit different display areas. Common scaletypes are:
[0106] (1) Center scaling (fitCenter): The image is scaled according to its original aspect ratio until its long side matches the corresponding side of the display area, and then the image is centered in the display area.
[0107] This can ensure the integrity of the image, but may leave blank spaces on the top and bottom or on the left and right sides of the image. It is understood that in this case, the electronic device can scale the first wallpaper image according to the original aspect ratio of the first wallpaper image until its long side matches the corresponding side of the second wallpaper image, and the scaled first wallpaper image is covered in the middle area of the second wallpaper image, that is, the scaled first wallpaper image coincides with the center point of the second wallpaper image.
[0108] (2) CenterCrop: The image is also scaled according to its original aspect ratio, but the scaled image is cropped to ensure that it can completely fill the display area in any direction. This method can ensure the viewing experience of the image, but it will sacrifice some parts of the image.
[0109] It can be understood that in this case, the electronic device can scale the first wallpaper image according to the original aspect ratio of the first wallpaper image until its short side matches the corresponding side of the second wallpaper image, and cover the scaled first wallpaper image in the middle area of the second wallpaper image, that is, the center point of the scaled first wallpaper image coincides with the center point of the second wallpaper image.
[0110] (3) Fill (fitXY): The image is stretched or compressed to completely match the width and height of the display area, regardless of the original aspect ratio. This method ensures that the image covers the entire display area, but may cause image distortion. It is understandable that in this case, the electronic device can stretch or compress the first wallpaper image, adjust the aspect ratio and corresponding side length of the first wallpaper image to be the same as the second image, and completely cover the stretched or compressed first wallpaper image on the second wallpaper image, that is, the stretched or compressed first wallpaper image completely overlaps with the second wallpaper image.
[0111] (4) Center: The image maintains its original size and is aligned to the center of the display area. If the image is smaller than the display area, blank space will appear around the image.
[0112] It can be understood that in this case, the electronic device can directly cover the first wallpaper image on the middle area of the second wallpaper image, that is, make the center points of the first wallpaper image overlap with the center points of the second wallpaper image.
[0113] Step 402: The electronic device performs image fusion processing based on image parameters of the first wallpaper image and image parameters of the target image area to obtain a lock screen wallpaper.
[0114] Optionally, in the embodiment of the present application, the above-mentioned image parameters include but are not limited to at least one of the following: image resolution, image ratio, image color (for example, including brightness, contrast, saturation or hue), etc.
[0115] It should be noted that the above-mentioned image fusion processing is also called image mask fusion. This method can blur the edge portion of the first wallpaper image, adjust the transparency of the edge portion, and finally adjust the colors of the first wallpaper image and the second wallpaper image, such as adjusting the brightness, contrast, saturation and hue, so as to achieve the effect of fusion of the first wallpaper image and the second wallpaper image, so that the display effect of the transition from the first wallpaper image to the target image area is smoother and more coherent.
[0116] Exemplarily, the first wallpaper image is used as the Figure 4 The screenshot image (b) shown in FIG. Figure 4 (b) in Fig.10 As shown in (a) of FIG. 1 , the original wallpaper image of the mobile phone is the second wallpaper image 41. After the user performs a lock screen input on the mobile phone, as shown in FIG. Fig.10 As shown in (b), the mobile phone can use the screenshot image as the first wallpaper image 40, overlay it on the second wallpaper image 41, and perform image fusion processing on the first wallpaper image 40 and the second wallpaper image 41 to obtain the lock screen wallpaper 42, and display the lock screen wallpaper 42 in the lock screen interface 10.
[0117] In this way, the electronic device can fuse the first wallpaper image obtained based on the interface content of the first application interface with the second wallpaper image based on the image parameters of the first wallpaper image and the second wallpaper image to obtain a lock screen wallpaper, and display the lock screen wallpaper in the lock screen interface. The electronic device can display the interface content of the first application interface while maintaining display of the second wallpaper image, thereby enriching the display effect of the lock screen wallpaper of the electronic device.
[0118] Optionally, in an embodiment of the present application, the “displaying the lock screen interface” in the above step 202 can be specifically implemented through the following step 202a.
[0119] Step 202a: display a first lock screen interface on a first screen of the electronic device, and display a second lock screen interface on a second screen of the electronic device.
[0120] Optionally, in an embodiment of the present application, the lock screen wallpapers displayed in the first lock screen interface and the second lock screen interface both include a first wallpaper image, and the first wallpaper image is displayed differently in the first lock screen interface and the second lock screen interface.
[0121] Optionally, in an embodiment of the present application, the first screen and the second screen are different screens of a folding screen of an electronic device, or may be an inner screen and an outer screen of the electronic device, or may be two split-screen areas of one screen of the electronic device.
[0122] In the embodiment of the present application, the above display mode is the above zoom type. Since the first screen and the second screen have different ratios and sizes, using the same zoom type to display the first wallpaper image may result in a better display effect in one screen, but a poor display effect in the other screen, so the electronic device can use different zoom types to display the first wallpaper image in the first screen and the second screen.
[0123] In this way, when the electronic device has multiple screens, the electronic device can use different zoom types to display the first wallpaper image on different screens, thereby maintaining a good display effect of the first wallpaper image on different screens and improving the flexibility of the electronic device in displaying the lock screen interface.
[0124] Optionally, in an embodiment of the present application, the lock screen wallpaper displayed in the above-mentioned first lock screen interface includes a first wallpaper image, and the lock screen wallpaper displayed in the above-mentioned second lock screen interface includes a wallpaper image that matches the image content of the first wallpaper image.
[0125] In this way, when the electronic device has multiple screens, the electronic device can display lock screen wallpapers obtained based on the interface content of the first application interface in different ways on different screens, thereby improving the flexibility of the electronic device in displaying the lock screen interface.
[0126] In an embodiment of the present application, when displaying the first application interface, before receiving the lock screen input, the electronic device may display a wallpaper setting interface, the wallpaper setting interface including at least one application identifier, and the wallpaper setting interface is used to set the lock screen wallpaper permission of the application. The electronic device may receive a first input from a user to a target application identifier in at least one application identifier, so as to trigger the electronic device to set the lock screen wallpaper permission of the target application corresponding to the target application identifier to: allowing the use of the interface content of the target application to set the lock screen wallpaper.
[0127] In the embodiment of the present application, the lock screen wallpaper permission is the permission to set the interface content of the application as the lock screen wallpaper. When the lock screen wallpaper permission of the application is enabled, the electronic device can use the interface content of the application to obtain the wallpaper image and display it in the lock screen interface.
[0128] Optionally, in the embodiment of the present application, the first input includes but is not limited to: the user touches the target application identifier through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input. The specific input can be determined according to actual use requirements and is not limited in the embodiment of the present application.
[0129] In an embodiment of the present application, when the lock screen interface displays the first lock screen wallpaper, the user can perform an unlock input so that the electronic device displays the first application interface, and then the user can switch the electronic device to display other applications that do not have lock screen wallpaper permissions enabled, or the user can exit the electronic device to the desktop. At this time, after the user executes the lock screen input again, the lock screen interface of the electronic device can be restored to display the original wallpaper image.
[0130] Each of the above-mentioned method embodiments, or various possible implementation methods in each method embodiment can be executed separately, or any two or more of them can be executed in combination with each other. The specific implementation method can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0131] The wallpaper display method provided in the embodiment of the present application can be executed by a wallpaper display device. In the embodiment of the present application, the wallpaper display device provided in the embodiment of the present application is described by taking the wallpaper display method executed by the wallpaper display device as an example.
[0132] Fig.11 FIG. 1 shows a possible structural diagram of a wallpaper display device involved in some embodiments of the present application. Fig.11 As shown, the wallpaper display device 70 may include: a receiving module 71 and a display module 72 .
[0133] The receiving module 71 is used to receive a lock screen input when the first application interface is displayed.
[0134] The display module 72 is used to display a lock screen interface in response to the lock screen input received by the receiving module 71, and the lock screen wallpaper displayed in the lock screen interface includes a first wallpaper image.
[0135] Among them, the above-mentioned first wallpaper image is obtained based on the interface content of the first application interface.
[0136] In a possible implementation, the wallpaper display device provided in the embodiment of the present application further includes: an execution module 73. The execution module 73 is configured to perform a screenshot operation on the interface content of the first application interface before the display module 72 displays the lock screen interface to obtain a screenshot image. The screenshot image is used as the first wallpaper image.
[0137] In a possible implementation, the wallpaper display device provided in the embodiment of the present application further includes: an acquisition module 74. The acquisition module 74 is used to acquire a first image matching the interface content based on the interface content of the first application interface before the display module 72 displays the lock screen interface. The first image is used as the first wallpaper image.
[0138] In a possible implementation, the first application interface includes a first screen. The wallpaper display device provided in the embodiment of the present application also includes: a generation module 75. The generation module 75 is used to generate a second image based on the screen content of the first screen and the screen content of the second screen before the display module 72 displays the lock screen interface. The second screen is one or more frames displayed after the first screen. The second image is used as the first wallpaper image, and the second image is a dynamic image, which is used to display the derivative animation effect from the first screen to the second screen.
[0139] In a possible implementation, the lock screen wallpaper also includes a second wallpaper image, which is the original wallpaper image in the lock screen wallpaper. The wallpaper display device provided in the embodiment of the present application also includes: an execution module 76. The execution module is used to: before the display module 72 displays the lock screen interface, cover the target image area of the second wallpaper image with the first wallpaper image; based on the image parameters of the first wallpaper image and the image parameters of the target image area, perform image fusion processing to obtain the lock screen wallpaper.
[0140] In a possible implementation, the display module 72 is specifically configured to display a first lock screen interface on a first screen of the electronic device, and to display a second lock screen interface on a second screen of the electronic device. The lock screen wallpapers displayed in the first lock screen interface and the second lock screen interface both include the first wallpaper image, and the first wallpaper image is displayed differently in the first lock screen interface and the second lock screen interface.
[0141] In an embodiment of the present application, a wallpaper display device is provided, and a lock screen wallpaper displayed in a lock screen interface includes a first wallpaper image, and the first wallpaper image is obtained based on the interface content of a first application interface, that is, the wallpaper image in the lock screen wallpaper is obtained by the interface content of the application interface displayed before the lock screen is locked, that is, after the user triggers the lock screen, the lock screen wallpaper displayed in the lock screen interface has a certain similarity with the interface content of the first application interface, that is, the display effect difference between the wallpaper image in the lock screen wallpaper and the interface content of the first application interface is small, so that when transitioning from the lock screen wallpaper to the application interface, visual smooth connection and unity can be achieved, so that the user's visual experience is smooth, natural and highly consistent, ensuring the smoothness and consistency of the display transition effect when the wallpaper display device unlocks the screen, thereby enriching the display effect of the lock screen wallpaper of the wallpaper display device.
[0142] The wallpaper display device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0143] The wallpaper display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0144] The wallpaper display device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.
[0145] Alternatively, if Fig.12As shown, an embodiment of the present application further provides an electronic device 1000, including a processor 1001 and a memory 1002, wherein the memory 1002 stores a program or instruction that can be executed on the processor 1001, and when the program or instruction is executed by the processor 1001, each step of the above-mentioned wallpaper display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0146] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0147] Fig.13 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0148] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
[0149] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.13 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0150] The user input unit 107 is used to receive a lock screen input when the first application interface is displayed.
[0151] The display unit 106 is configured to display a lock screen interface in response to a lock screen input, wherein the lock screen wallpaper displayed in the lock screen interface includes a first wallpaper image.
[0152] Among them, the above-mentioned first wallpaper image is obtained based on the interface content of the first application interface.
[0153] Optionally, the processor 110 is configured to perform a screenshot operation on the interface content of the first application interface before displaying the lock screen interface to obtain a screenshot image, wherein the screenshot image is used as the first wallpaper image.
[0154] Optionally, the processor 110 is configured to obtain a first image matching the interface content based on the interface content of the first application interface before displaying the lock screen interface, wherein the first image is used as the first wallpaper image.
[0155] Optionally, the first application interface includes a first screen. The processor 110 is configured to generate a second image based on the screen content of the first screen and the screen content of the second screen before displaying the lock screen interface, where the second screen is one or more frames displayed after the first screen. The second image is used as the first wallpaper image, and the second image is a dynamic image, which is used to display the derivative animation effect from the first screen to the second screen.
[0156] Optionally, the lock screen wallpaper further includes a second wallpaper image, which is the original wallpaper image in the lock screen wallpaper. The processor 110 is configured to: before displaying the lock screen interface, cover the target image area of the second wallpaper image with the first wallpaper image; and perform image fusion processing based on image parameters of the first wallpaper image and image parameters of the target image area to obtain the lock screen wallpaper.
[0157] Optionally, the display unit 106 is specifically configured to display a first lock screen interface on a first screen of the electronic device, and to display a second lock screen interface on a second screen of the electronic device. The lock screen wallpapers displayed in the first lock screen interface and the second lock screen interface both include the first wallpaper image, and the first wallpaper image is displayed differently in the first lock screen interface and the second lock screen interface.
[0158] An electronic device is provided in an embodiment of the present application, and a lock screen wallpaper displayed in a lock screen interface includes a first wallpaper image, and the first wallpaper image is obtained based on the interface content of a first application interface, that is, the wallpaper image in the lock screen wallpaper is obtained by the interface content of the application interface displayed before the lock screen is locked, that is, after the user triggers the lock screen, the lock screen wallpaper displayed in the lock screen interface has a certain similarity with the interface content of the first application interface, that is, the display effect difference between the wallpaper image in the lock screen wallpaper and the interface content of the first application interface is small, so that when transitioning from the lock screen wallpaper to the application interface, visual smooth connection and unity can be achieved, so that the user's visual experience is smooth, natural and highly consistent, ensuring the smoothness and consistency of the display transition effect when the electronic device unlocks the screen, thereby enriching the display effect of the lock screen wallpaper of the electronic device.
[0159] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and can achieve the same technical effect. To avoid repetition, it is not repeated here. The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, it is not repeated here.
[0160] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0161] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0162] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
[0163] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned wallpaper display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0164] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0165] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned wallpaper display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0166] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0167] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned wallpaper display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0168] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0169] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0170] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A wallpaper display method, characterized in that: include: When the first application interface is displayed, receiving a lock screen input; In response to the lock screen input, displaying a lock screen interface, wherein the lock screen wallpaper displayed in the lock screen interface includes a first wallpaper image; The first wallpaper image is obtained based on the interface content of the first application interface.
2. The method according to claim 1, characterized in that Before displaying the lock screen interface, the method further includes: Performing a screenshot operation on the interface content of the first application interface to obtain a screenshot image; The screenshot image is used as the first wallpaper image.
3. The method according to claim 1, characterized in that Before displaying the lock screen interface, the method further includes: Based on the interface content of the first application interface, acquiring a first image matching the interface content; The first image is used as the first wallpaper image.
4. The method according to claim 1, characterized in that: The first application interface includes a first screen; Before displaying the lock screen interface, the method further includes: Generate a second image based on the picture content of the first picture and the picture content of the second picture, where the second picture is one or more frames of pictures displayed after the first picture; The second image is used as the first wallpaper image, and the second image is a dynamic image, which is used to display the derivative animation effect from the first picture to the second picture.
5. The method according to any one of claims 1 to 4, characterized in that The lock screen wallpaper also includes a second wallpaper image, where the second wallpaper image is an original wallpaper image in the lock screen wallpaper; Before displaying the lock screen interface, the method further includes: Covering the target image area of the second wallpaper image with the first wallpaper image; Based on the image parameters of the first wallpaper image and the image parameters of the target image area, image fusion processing is performed to obtain the lock screen wallpaper.
6. A wallpaper display device, characterized in that: include: Receiving module and display module; The receiving module is used to receive a lock screen input when the first application interface is displayed; The display module is configured to display a lock screen interface in response to the lock screen input received by the receiving module, wherein the lock screen wallpaper displayed in the lock screen interface includes a first wallpaper image; The first wallpaper image is obtained based on the interface content of the first application interface.
7. The device according to claim 6, characterized in that The device further comprises: an execution module; The execution module is used to perform a screenshot operation on the interface content of the first application interface to obtain a screenshot image before the display module displays the lock screen interface; The screenshot image is used as the first wallpaper image.
8. The device according to claim 6, characterized in that The device also includes: an acquisition module; The acquisition module is used to acquire a first image matching the interface content based on the interface content of the first application interface before the display module displays the lock screen interface; The first image is used as the first wallpaper image.
9. The device according to claim 6, characterized in that The first application interface includes a first screen; The device also includes: a generating module; The generating module is configured to generate a second image based on the screen content of the first screen and the screen content of the second screen before the display module displays the lock screen interface, wherein the second screen is one or more frames of screen displayed after the first screen; The second image is used as the first wallpaper image, and the second image is a dynamic image, which is used to display the derivative animation effect from the first picture to the second picture.
10. The device according to any one of claims 6 to 9, characterized in that The lock screen wallpaper also includes a second wallpaper image, where the second wallpaper image is an original wallpaper image in the lock screen wallpaper; The device further comprises: an execution module; The execution module is used to: Before the display module displays the lock screen interface, covering the target image area of the second wallpaper image with the first wallpaper image; Based on the image parameters of the first wallpaper image and the image parameters of the target image area, image fusion processing is performed to obtain the lock screen wallpaper.
