CN114296854A - Desktop wallpaper display method and device, electronic equipment and readable storage medium - Google Patents

Desktop wallpaper display method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114296854A
CN114296854A CN202111632468.9A CN202111632468A CN114296854A CN 114296854 A CN114296854 A CN 114296854A CN 202111632468 A CN202111632468 A CN 202111632468A CN 114296854 A CN114296854 A CN 114296854A
Authority
CN
China
Prior art keywords
target
wallpaper
rendering
instruction
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111632468.9A
Other languages
Chinese (zh)
Other versions
CN114296854B (en
Inventor
徐进平
余章胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Baoqu Technology Co Ltd
Original Assignee
Zhuhai Baoqu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Baoqu Technology Co Ltd filed Critical Zhuhai Baoqu Technology Co Ltd
Priority to CN202111632468.9A priority Critical patent/CN114296854B/en
Publication of CN114296854A publication Critical patent/CN114296854A/en
Application granted granted Critical
Publication of CN114296854B publication Critical patent/CN114296854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a desktop wallpaper display method and device, electronic equipment and a readable storage medium, relates to the technical field of computer application, and aims to improve the reliability of desktop wallpaper display. The method comprises the following steps: receiving a setting instruction of desktop wallpaper; determining a target wallpaper material according to the setting instruction; starting a dynamic wallpaper service so that the dynamic wallpaper service provides a rendering interface; and rendering the target wallpaper material to the rendering interface. The application is suitable for displaying desktop wallpaper.

Description

Desktop wallpaper display method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of computer application technologies, and in particular, to a desktop wallpaper display method, an application keep-alive device, an electronic device, and a readable storage medium.
Background
With the rapid development of computer application technology, various applications capable of meeting user requirements are produced, wherein desktop wallpaper enables a desktop to look better, more beautiful and more personalized and is popular with users, however, in the prior art, an application program providing desktop wallpaper is easily killed by a system, the desktop wallpaper selected by the user cannot be continuously displayed through the application program, and the reliability of desktop wallpaper display is low.
Disclosure of Invention
In view of this, embodiments of the present application provide a desktop wallpaper display method, an apparatus, an electronic device, and a readable storage medium, which can improve reliability of desktop wallpaper display.
In a first aspect, an embodiment of the present application provides a desktop wallpaper display method, including: receiving a setting instruction of desktop wallpaper; determining a target wallpaper material according to the setting instruction; starting a dynamic wallpaper service so that the dynamic wallpaper service provides a rendering interface; and rendering the target wallpaper material to the rendering interface.
According to a specific implementation manner of the embodiment of the present application, the starting of the dynamic wallpaper service includes: calling a dynamic wallpaper service interface of the system; and starting the dynamic wallpaper service through the dynamic wallpaper service interface.
According to a specific implementation manner of the embodiment of the application, the target wallpaper material comprises a video.
According to a specific implementation manner of the embodiment of the application, the rendering the target wallpaper material to the rendering interface includes: analyzing the video data corresponding to the video through a player to obtain frame data of each video frame corresponding to the video data; and sequentially rendering the frame data of each video frame to the rendering interface.
According to a specific implementation manner of the embodiment of the present application, the method further includes: receiving user change
A desktop wallpaper replacing instruction; determining a new target wallpaper material according to the replacement instruction; and rendering the new target wallpaper material to the rendering interface.
In a second aspect, an embodiment of the present application provides a desktop wallpaper display device, including: the receiving module is used for receiving a setting instruction of desktop wallpaper; the determining module is used for determining a target wallpaper material according to the setting instruction; the system comprises a starting module, a rendering module and a display module, wherein the starting module is used for starting the dynamic wallpaper service so that the dynamic wallpaper service provides a rendering interface; and the rendering module is used for rendering the target wallpaper material to the rendering interface.
According to a specific implementation manner of the embodiment of the present application, the starting module is specifically configured to: calling a dynamic wallpaper service interface of the system; and starting the dynamic wallpaper service through the dynamic wallpaper service interface.
According to a specific implementation manner of the embodiment of the application, the target wallpaper material comprises a video.
According to a specific implementation manner of the embodiment of the present application, the rendering module is specifically configured to: analyzing the video data corresponding to the video through a player to obtain frame data of each video frame corresponding to the video data; and sequentially rendering the frame data of each video frame to the rendering interface.
According to a specific implementation manner of the embodiment of the present application, the apparatus is further configured to: receiving a replacing instruction of a user for replacing the desktop wallpaper; determining a new target wallpaper material according to the replacement instruction; and rendering the new target wallpaper material to the rendering interface.
The embodiment of the application also provides an application program keep-alive method, an application program keep-alive device, electronic equipment and a readable storage medium, which can improve the application program protection reliability and reduce the system resource consumption to a certain extent.
In a third aspect, an embodiment of the present application provides an application keep-alive method, including: running, in the operating system, a target gadget associated with the target application; and keeping the target application program alive through an updating instruction which is sent to the target application program by the operating system and is used for updating the interface information of the target small component.
According to a specific implementation manner of the embodiment of the present application, the running, in the operating system, the target widget associated with the target application includes: according to a preset activation strategy, activating the target small component so as to run the target small component related to the target application program in the operating system; or receiving an activation instruction sent by a user to activate the target gadget; and according to the activation instruction, activating the target small component so as to run the target small component associated with the target application program in the operating system.
According to a specific implementation manner of the embodiment of the present application, the receiving an activation instruction issued by a user to activate the target widget includes: sending prompt information to a user; wherein the prompt message is used for prompting a user to activate the gadget; receiving an activation instruction sent by a user; and the activating instruction is an instruction sent by the user according to the prompt message.
According to a specific implementation manner of the embodiment of the present application, the method further includes: the widget is closed.
According to a specific implementation manner of the embodiment of the present application, the method further includes: and sending the updated content to the gadget through the target application program, and displaying the updated content on the interface of the gadget.
According to a specific implementation manner of the embodiment of the present application, the method further includes: detecting whether the target small assembly is in a running state or not through the preset time interval of the operating system; and if the target small component is not in the running state, pulling up the target small component through a pull-up instruction sent to the target small component by the operating system.
In a fourth aspect, an embodiment of the present application provides an application keep-alive device, including: an execution module for executing a target gadget associated with a target application in an operating system; and the keep-alive module is used for keeping the target application program alive through an update instruction which is sent to the target application program by the operating system and updates the interface information of the target small component.
According to a specific implementation manner of the embodiment of the application, the operation module includes: the first activation submodule is used for activating the target gadget according to a preset activation strategy so as to run the target gadget associated with the target application program in the operating system; or, the second activation submodule is used for receiving an activation instruction sent by a user for activating the target gadget; and according to the activation instruction, activating the target small component so as to run the target small component associated with the target application program in the operating system.
According to a specific implementation manner of the embodiment of the present application, the second activation sub-module is specifically configured to: sending prompt information to a user; wherein the prompt message is used for prompting a user to activate the gadget; receiving an activation instruction sent by a user; and the activating instruction is an instruction sent by the user according to the prompt message.
According to a specific implementation manner of the embodiment of the present application, the apparatus further includes: a shutdown module to shutdown the widget.
According to a specific implementation manner of the embodiment of the present application, the apparatus further includes: and the updating module is used for sending the updated content to the small component through the target application program and displaying the updated content on the interface of the small component.
According to a specific implementation manner of the embodiment of the present application, the apparatus further includes: the detection module is used for detecting whether the target small assembly is in a running state or not through the preset time interval of the operating system; and the pulling module is used for pulling the target small component through a pulling instruction sent to the target small component by the operating system if the target small component is not in the running state.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, and is used for executing the desktop wallpaper display method or the application keep-alive method in any one of the implementation modes.
In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium storing one or more programs, where the one or more programs are executable by one or more processors to implement a desktop wallpaper display method or an application keep-alive method according to any one of the foregoing implementations.
According to the desktop wallpaper display method, the desktop wallpaper display device, the electronic equipment and the readable storage medium, the target wallpaper material is determined according to the setting instruction by receiving the setting instruction of the desktop wallpaper, the dynamic wallpaper service is started to provide the rendering interface for the dynamic wallpaper service, and finally the target wallpaper material can be rendered to the rendering interface, so that the desktop wallpaper can be set.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart illustrating a desktop wallpaper display method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an application keep-alive method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a desktop wallpaper display device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an application keep-alive device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to make those skilled in the art better understand the technical concepts, embodiments and advantages of the examples of the present application, the following detailed description is given by way of specific examples.
An embodiment of the application provides a desktop wallpaper display method, which includes: receiving a setting instruction of desktop wallpaper; determining a target wallpaper material according to the setting instruction; starting a dynamic wallpaper service so that the dynamic wallpaper service provides a rendering interface; and rendering the target wallpaper material to the rendering interface, so that the reliability of the target wallpaper material as wallpaper display on a desktop can be improved.
Fig. 1 is a schematic flow chart of a desktop wallpaper display method according to an embodiment of the present application, as shown in fig. 1, the desktop wallpaper display method according to the embodiment may include:
s101, receiving a desktop wallpaper setting instruction.
The desktop wallpaper can be background content used on the desktop of electronic devices such as mobile phones and computers. The desktop wallpaper enables the desktop of the electronic equipment to look better, more beautiful and more individual.
When a user wants to set the desktop wallpaper, the desktop wallpaper can be set by sending a setting instruction.
And S102, determining a target wallpaper material according to the setting instruction.
The target wallpaper material may be content that the user wants to display on the desktop. In some examples, the user issues the setting instruction upon selecting the target wallpaper material, such that the user both issues the setting instruction and determines the target wallpaper material upon clicking the target wallpaper material.
S103, starting the dynamic wallpaper service so that the dynamic wallpaper service provides a rendering interface.
The dynamic wallpaper service may be a service of the system itself, with a higher priority, and in some examples, the dynamic wallpaper service is an Android system self-service.
The dynamic wallpaper service in the embodiment can provide a rendering interface for the process of starting the dynamic wallpaper service.
The rendering interface can be a canvas corresponding to the desktop, and target wallpaper materials can be rendered on the canvas, so that the target desktop wallpaper can be set.
And S104, rendering the target wallpaper material to a rendering interface.
In the embodiment, the target wallpaper material is rendered to the rendering interface, so that the target wallpaper material can be set on the desktop, and the target wallpaper material becomes desktop wallpaper.
In some examples, the method of the embodiment may be applied to a mobile phone desktop, and further, may be applied to a mobile phone desktop of an Android operating system.
In some examples, the method of the present embodiment may be applied to a smart desktop wallpaper.
According to the method and the device, the setting instruction of the desktop wallpaper is received, the target wallpaper material is determined according to the setting instruction, the dynamic wallpaper service is started, the rendering interface is provided by the dynamic wallpaper service, and the target wallpaper material can be rendered to the rendering interface finally, so that the desktop wallpaper is set.
To facilitate launching the dynamic wallpaper service, in some examples, launching the dynamic wallpaper service (S103) may include:
s103, 103a, calling a dynamic wallpaper service interface of the system.
A dynamic wallpaper service interface is provided for the system, and in some examples, the windows system provides the dynamic wallpaper service interface.
S103, 103b, starting the dynamic wallpaper service through the dynamic wallpaper service interface.
Through the dynamic wallpaper service interface, the dynamic wallpaper service can be started.
In some examples, the target wallpaper material may include a picture or video.
And when the target wallpaper material is a picture, sending the pixel corresponding to the picture to an image processor, and rendering the pixel corresponding to the picture to a rendering interface by the image processor, so that the picture is used as desktop wallpaper.
For the case where the target wallpaper material is a video, in some examples, rendering the target wallpaper material to a rendering interface (S104) may include:
s104a, the player analyzes the video data corresponding to the video to obtain frame data of each video frame corresponding to the video data.
In this embodiment, the player may analyze the video data to obtain frame data of each video frame constituting the video, where each group of frame data corresponds to one video frame, that is, one picture of the video.
And S104b, sequentially rendering the frame data of each video frame to a rendering interface.
The frame data of each video frame can be rendered to a rendering interface according to the sequence of each video frame in the video, so that the video can be used as desktop wallpaper.
To improve the user experience, the speed of changing the desktop wallpaper can be improved, and in some examples, the method may further include:
and S105, receiving a replacing instruction of the desktop wallpaper replaced by the user.
In this embodiment, when the user is not satisfied with the previously selected target wallpaper material or wants to use a preferred material as wallpaper, an instruction to replace desktop wallpaper is issued.
And S106, determining a new target wallpaper material according to the replacement instruction.
The new target wallpaper material can replace the target wallpaper material set as the desktop wallpaper in the above embodiment.
And S107, rendering the new target wallpaper material to a rendering interface.
According to the embodiment, after the target wallpaper material is used as the desktop wallpaper, a replacing instruction for replacing the desktop wallpaper by a user is received, a new target wallpaper material is determined according to the replacing instruction, and finally the new target wallpaper material is rendered to the rendering interface, so that the new target wallpaper material is used as the new desktop wallpaper, in the process, the dynamic wallpaper service does not need to be restarted, the desktop wallpaper replacing speed can be increased, and the user experience can be improved.
In the prior art, in order to keep application programs alive, a resident notification and notification bar can be created to improve the system priority of an application process; or, the alive application a may be made to detect whether the application B is alive at variable times, and if the application B is found to be not alive, the application a wakes up the application B by starting the background service of the application B, so that the application B continues to run; or when the application moves back to the background, a section of silent music is played in a circulating way, the system is deceived, the application is considered as the application related to music playing and cannot be cleaned, and the purpose of continuously running the application is achieved, however, the mode of creating a resident notification and notification bar is adopted in the prior art, the application is easily killed by the system, and the keep-alive reliability is low; by adopting the application program mutual pulling mode, the application program which the user does not want to start is pulled alive easily, and system resources are consumed; and a section of silent music is played in a background circulation mode, and when the user does not agree, the music is played without reason, so that system resources are consumed. In order to provide a method for protecting an application program, which can improve the reliability of the application program protection and reduce the consumption of system resources to a certain extent, the embodiment provides a method for keeping the application program alive.
Fig. 2 is a schematic flowchart of an application protection method according to an embodiment of the present application, and as shown in fig. 2, the application protection method according to the embodiment may include:
s201, in the operating system, running the target small component related to the target application program.
The gadget may be a simple extended application, that is, a plug-in that can be dragged to the desktop, and that has various shapes and sizes that can be customized and reside on any home screen. In this embodiment, information may be quickly accessed by a target widget without the need to open a target application that manages this information.
S202, sending an updating instruction for updating the interface information of the target small component to the target application program through the operating system, and keeping the target application program alive.
And after receiving an updating instruction sent by the system, the target application program updates the interface information of the target small component according to the updating instruction.
The embodiment can be applied to the mobile phone, and particularly can be applied to the mobile phone with the Android operating system.
In this embodiment, by running the target widget associated with the target application program in the operating system and sending an update instruction for updating the interface information of the target widget to the target application program through the operating system, because the operating system is to update the interface information of the target widget, the operating system can make the target widget not be killed easily, and the target widget is associated with the application program, and the target widget process is the same process as the process of the application program, the target application program is not killed easily, the reliability of the target application program is improved, and in the process of protecting the target application program, other applications are not involved in running, and the system resource consumption is reduced to a certain extent, so that the application program protection method of this embodiment can improve the application program protection reliability to a certain extent, but also can reduce the system resource consumption.
The present application further includes, substantially the same as the above embodiments, a difference that, in the operating system of the present embodiment, running a target widget (S201) associated with a target application may include:
s201a, activating the gadget corresponding to the target application program according to the preset activation strategy, so as to run the target gadget associated with the target application program in the operating system.
In this embodiment, when an application program is developed, an activation policy of a widget may be set, and specifically, after how long an application is installed and used, a target application program activates a widget corresponding to the target application program; or setting a preset threshold, and when the number of times of opening the application program by the user in the preset time exceeds the preset threshold, activating the widget corresponding to the target application program by the target application program.
According to the method and the device for activating the widget, the widget corresponding to the target application program is activated according to the preset activation strategy, so that the process that a user manually activates the widget is omitted, and the user operation is simplified.
As an alternative implementation, the running of the target widget associated with the target application in the operating system (S201) of the embodiment may include:
s201b, receiving an activation instruction sent by a user to activate the small component.
The user can actively activate the widget according to the actual needs of the user, and during specific implementation, the widget corresponding to the application program can be moved to the desktop from the widget tool, and the widget can be taken as an activation instruction for activating the widget sent by the user when the widget is moved to the desktop.
S201c, according to the activation instruction, activating the small component corresponding to the target application program.
In this embodiment, because the activation instruction for activating the widget sent by the user is received, and the widget corresponding to the target application program is activated according to the activation instruction, the user can activate the widget according to the needs of the user, thereby improving the user experience.
To further enhance the user experience, in some examples, receiving an activation instruction from a user to activate a widget (S201b) may include:
A. and sending prompt information to the user.
In this embodiment, the prompt message is used to prompt the user to activate the widget.
The user can be informed in a popup mode, and the widget corresponding to the target application program can be set.
B. And receiving an activation instruction sent by a user.
In this embodiment, the activation instruction may be an instruction sent by the user according to the prompt information.
After the user views the prompt message, if the user wants to set the widget, an activation instruction can be sent out, so that the widget is activated.
To provide more flexibility in controlling the gadget, in some examples, the gadget may be turned off.
The closing of the widget of the present embodiment may be the deletion of the widget from the desktop.
To enrich the functionality of the gadget, corresponding information can be displayed in the gadget. In some examples, the method may further comprise:
and S203, sending the updated content to the small component through the target application program, and displaying the updated content on the interface of the small component.
In this embodiment, the updated content may be content on the target application.
In the embodiment, the updated content is sent to the widget through the target application program and is displayed on the interface of the widget, so that a user can browse the updated content in the widget without opening the application program, user operation is simplified, and user experience is improved.
In some examples, the method further comprises:
and S204, detecting whether the target small assembly is in the running state or not through the preset time interval of the operating system.
The preset time period can be 10s or 1 min.
And detecting whether the target small assembly is in a running state or not at a preset time interval of the operating system, for example, detecting whether the target small assembly is in the running state or not at an interval of 10min of the operating system.
S205, if the target small component is not in the running state, the target small component is pulled up through a pull-up instruction sent to the target small component by the operating system.
If the operating system detects that the target small component is not in the running state, the operating system sends a pull instruction to the target small component to pull up the target small component, and because the target small component is associated with the target application program, the target small component is pulled up, and the target application program is pulled up, so that the target application program is kept alive.
The desktop wallpaper display device provided by the embodiment of the application comprises a receiving module, a setting module and a display module, wherein the receiving module is used for receiving a setting instruction of desktop wallpaper; the determining module is used for determining a target wallpaper material according to the setting instruction; the system comprises a starting module, a rendering module and a display module, wherein the starting module is used for starting the dynamic wallpaper service so that the dynamic wallpaper service provides a rendering interface; and the rendering module is used for rendering the target wallpaper material to the rendering interface, so that the reliability of wallpaper display of the target wallpaper material on a desktop as wallpaper can be improved.
Fig. 3 is a schematic structural diagram of a desktop wallpaper display device according to an embodiment of the present application, and as shown in fig. 3, the desktop wallpaper display device according to the embodiment may include: the receiving module 11 is configured to receive a setting instruction of desktop wallpaper; the determining module 12 is configured to determine a target wallpaper material according to the setting instruction; the starting module 13 is used for starting the dynamic wallpaper service so that the dynamic wallpaper service provides a rendering interface; a rendering module 14, configured to render the target wallpaper material to the rendering interface.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
According to the device, the setting instruction of the desktop wallpaper is received, the target wallpaper material is determined according to the setting instruction, the dynamic wallpaper service is started, the rendering interface is provided by the dynamic wallpaper service, and finally the target wallpaper material can be rendered to the rendering interface, so that the desktop wallpaper is set.
As an optional implementation manner, the starting module is specifically configured to: calling a dynamic wallpaper service interface of the system; and starting the dynamic wallpaper service through the dynamic wallpaper service interface.
As an optional implementation, the target wallpaper material includes a picture or a video.
As an optional implementation manner, the rendering module is specifically configured to: analyzing the video data corresponding to the video through a player to obtain frame data of each video frame corresponding to the video data; and sequentially rendering the frame data of each video frame to the rendering interface.
As an optional embodiment, the apparatus is further configured to: receiving a replacing instruction of a user for replacing the desktop wallpaper; determining a new target wallpaper material according to the replacement instruction; and rendering the new target wallpaper material to the rendering interface.
The apparatus of the foregoing embodiment may be configured to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
An embodiment of the present application provides an application keep-alive device, including: an execution module for executing a target gadget associated with a target application in an operating system; the keep-alive module is used for keeping alive the target application program through an update instruction which is sent to the target application program by the operating system and updates the interface information of the target small component, so that the protection reliability of the application program can be improved to a certain extent, and the consumption of system resources can be reduced.
Fig. 4 is a schematic structural diagram of an application keep-alive device according to an embodiment of the present application, and as shown in fig. 4, the application keep-alive device according to the embodiment may include: an execution module 21 for executing a target widget associated with a target application in an operating system; the keep-alive module 22 is configured to keep-alive the target application program through an update instruction sent by the operating system to the target application program to update the interface information of the target widget.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
The device of this embodiment, by running the target widget associated with the target application in the operating system and sending an update instruction for updating the interface information of the target widget to the target application through the operating system, because the operating system does not kill the target widget easily and the target widget is associated with the application in order to update the interface information of the target widget, and the target widget process is the same process as the process of the application, the target application is not killed easily, the reliability of the target application is improved, and in the process of keeping alive the target application, other applications are not involved in running, and the system resource consumption is reduced to a certain extent, so the application protection method of this embodiment can improve the application protection reliability to a certain extent, but also can reduce the system resource consumption.
As an optional embodiment, the operation module includes: the first activation submodule is used for activating the target gadget according to a preset activation strategy so as to run the target gadget associated with the target application program in the operating system; or, the second activation submodule is used for receiving an activation instruction sent by a user for activating the target gadget; and according to the activation instruction, activating the target small component so as to run the target small component associated with the target application program in the operating system.
As an optional implementation manner, the second activation submodule is specifically configured to: sending prompt information to a user; wherein the prompt message is used for prompting a user to activate the gadget; receiving an activation instruction sent by a user; and the activating instruction is an instruction sent by the user according to the prompt message.
As an optional embodiment, the apparatus further comprises: a shutdown module to shutdown the widget.
As an optional embodiment, the apparatus further comprises: and the updating module is used for sending the updated content to the small component through the target application program and displaying the updated content on the interface of the small component.
As an optional embodiment, the apparatus further comprises: the detection module is used for detecting whether the target small assembly is in a running state or not through the preset time interval of the operating system; and the pulling module is used for pulling the target small component through a pulling instruction sent to the target small component by the operating system if the target small component is not in the running state.
The apparatus of the foregoing embodiment may be configured to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application, as shown in fig. 4, the electronic device may include: the electronic device comprises a shell 61, a processor 62, a memory 63, a circuit board 64 and a power circuit 65, wherein the circuit board 64 is arranged inside a space enclosed by the shell 61, and the processor 62 and the memory 63 are arranged on the circuit board 64; a power supply circuit 65 for supplying power to each circuit or device of the electronic apparatus; the memory 63 is used to store executable program code; the processor 62 reads the executable program code stored in the memory 63 to run a program corresponding to the executable program code, so as to execute any desktop wallpaper display method or application keep-alive method provided by the foregoing embodiment, and thus corresponding advantageous technical effects can also be achieved.
The above electronic devices exist in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
Accordingly, an embodiment of the present application further provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs can be executed by one or more processors to implement any one of the desktop wallpaper display methods or the application keep-alive methods provided in the foregoing embodiments, so that corresponding technical effects can also be achieved, which has been described in detail above and will not be described herein again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations when the present application is implemented.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A desktop wallpaper display method is characterized by comprising the following steps:
receiving a setting instruction of desktop wallpaper;
determining a target wallpaper material according to the setting instruction;
starting a dynamic wallpaper service so that the dynamic wallpaper service provides a rendering interface;
and rendering the target wallpaper material to the rendering interface.
2. The method of claim 1, wherein the initiating a dynamic wallpaper service comprises:
calling a dynamic wallpaper service interface of the system;
and starting the dynamic wallpaper service through the dynamic wallpaper service interface.
3. The method of claim 1, wherein the target wallpaper material comprises a video.
4. The method of claim 3, wherein said rendering the target wallpaper material to the rendering interface comprises:
analyzing the video data corresponding to the video through a player to obtain frame data of each video frame corresponding to the video data;
and sequentially rendering the frame data of each video frame to the rendering interface.
5. The method of claim 1, further comprising:
receiving a replacing instruction of a user for replacing the desktop wallpaper;
determining a new target wallpaper material according to the replacement instruction;
and rendering the new target wallpaper material to the rendering interface.
6. An application keep-alive method, comprising:
running, in the operating system, a target gadget associated with the target application;
and keeping the target application program alive through an updating instruction which is sent to the target application program by the operating system and is used for updating the interface information of the target small component.
7. The method of claim 6, wherein running the target widget associated with the target application in the operating system comprises:
according to a preset activation strategy, activating the target small component so as to run the target small component related to the target application program in the operating system; or the like, or, alternatively,
receiving an activation instruction sent by a user for activating the target gadget; and according to the activation instruction, activating the target small component so as to run the target small component associated with the target application program in the operating system.
8. The method of claim 7, wherein receiving an activation instruction from a user to activate the target gadget comprises:
sending prompt information to a user; wherein the prompt message is used for prompting a user to activate the gadget;
receiving an activation instruction sent by a user; and the activating instruction is an instruction sent by the user according to the prompt message.
9. The method of claim 6, further comprising:
the widget is closed.
10. The method of claim 6, further comprising:
and sending the updated content to the gadget through the target application program, and displaying the updated content on the interface of the gadget.
CN202111632468.9A 2021-12-28 2021-12-28 Desktop wallpaper display method and device, electronic equipment and readable storage medium Active CN114296854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111632468.9A CN114296854B (en) 2021-12-28 2021-12-28 Desktop wallpaper display method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111632468.9A CN114296854B (en) 2021-12-28 2021-12-28 Desktop wallpaper display method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN114296854A true CN114296854A (en) 2022-04-08
CN114296854B CN114296854B (en) 2024-04-26

Family

ID=80971353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111632468.9A Active CN114296854B (en) 2021-12-28 2021-12-28 Desktop wallpaper display method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114296854B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278338A (en) * 2022-07-28 2022-11-01 广州市百果园信息技术有限公司 Video wallpaper processing method, device, equipment and medium thereof

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060206803A1 (en) * 2005-03-14 2006-09-14 Smith Jeffrey C Interactive desktop wallpaper system
US20100236159A1 (en) * 2008-04-18 2010-09-23 Magnum Magnetics Corporation Magnetic Wallpaper Systems
US20120304200A1 (en) * 2011-05-27 2012-11-29 Oliver Daniel J Application Activation Framework
US20150310041A1 (en) * 2013-11-18 2015-10-29 Scott Kier Systems and methods for immersive backgrounds
CN109388472A (en) * 2018-10-25 2019-02-26 网易(杭州)网络有限公司 Wallpaper displaying method and device, electronic equipment
CN109725800A (en) * 2018-12-14 2019-05-07 Oppo广东移动通信有限公司 A kind of wallpaper setting method and device, terminal, storage medium
CN109992310A (en) * 2019-03-12 2019-07-09 中国平安财产保险股份有限公司 Application program keepalive method, device, computer equipment and storage medium
CN110209460A (en) * 2019-06-10 2019-09-06 Oppo广东移动通信有限公司 A kind of implementation method of dynamic wallpaper, device, storage medium and terminal
CN110377392A (en) * 2019-07-26 2019-10-25 珠海豹趣科技有限公司 Wallpaper displaying method and device
CN110990090A (en) * 2019-11-14 2020-04-10 上海掌门科技有限公司 Dynamic wallpaper display method, device and computer readable medium
CN111209065A (en) * 2019-12-31 2020-05-29 Oppo广东移动通信有限公司 Dynamic wallpaper setting method and device, storage medium and electronic equipment
CN111240776A (en) * 2019-12-31 2020-06-05 Oppo广东移动通信有限公司 Dynamic wallpaper setting method and device, storage medium and electronic equipment
CN111880879A (en) * 2020-07-24 2020-11-03 上海米哈游天命科技有限公司 Playing method, device, equipment and storage medium of dynamic wallpaper
CN112286652A (en) * 2020-09-17 2021-01-29 福州云联畅想软件科技有限公司 Android APP background keep-alive method
CN112579180A (en) * 2019-09-30 2021-03-30 奇安信科技集团股份有限公司 Application program keep-alive method and device
CN112799771A (en) * 2021-02-09 2021-05-14 珠海豹趣科技有限公司 Playing method and device of dynamic wallpaper, electronic equipment and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060206803A1 (en) * 2005-03-14 2006-09-14 Smith Jeffrey C Interactive desktop wallpaper system
US20100236159A1 (en) * 2008-04-18 2010-09-23 Magnum Magnetics Corporation Magnetic Wallpaper Systems
US20120304200A1 (en) * 2011-05-27 2012-11-29 Oliver Daniel J Application Activation Framework
US20150310041A1 (en) * 2013-11-18 2015-10-29 Scott Kier Systems and methods for immersive backgrounds
CN109388472A (en) * 2018-10-25 2019-02-26 网易(杭州)网络有限公司 Wallpaper displaying method and device, electronic equipment
CN109725800A (en) * 2018-12-14 2019-05-07 Oppo广东移动通信有限公司 A kind of wallpaper setting method and device, terminal, storage medium
CN109992310A (en) * 2019-03-12 2019-07-09 中国平安财产保险股份有限公司 Application program keepalive method, device, computer equipment and storage medium
CN110209460A (en) * 2019-06-10 2019-09-06 Oppo广东移动通信有限公司 A kind of implementation method of dynamic wallpaper, device, storage medium and terminal
CN110377392A (en) * 2019-07-26 2019-10-25 珠海豹趣科技有限公司 Wallpaper displaying method and device
CN112579180A (en) * 2019-09-30 2021-03-30 奇安信科技集团股份有限公司 Application program keep-alive method and device
CN110990090A (en) * 2019-11-14 2020-04-10 上海掌门科技有限公司 Dynamic wallpaper display method, device and computer readable medium
CN111209065A (en) * 2019-12-31 2020-05-29 Oppo广东移动通信有限公司 Dynamic wallpaper setting method and device, storage medium and electronic equipment
CN111240776A (en) * 2019-12-31 2020-06-05 Oppo广东移动通信有限公司 Dynamic wallpaper setting method and device, storage medium and electronic equipment
CN111880879A (en) * 2020-07-24 2020-11-03 上海米哈游天命科技有限公司 Playing method, device, equipment and storage medium of dynamic wallpaper
CN112286652A (en) * 2020-09-17 2021-01-29 福州云联畅想软件科技有限公司 Android APP background keep-alive method
CN112799771A (en) * 2021-02-09 2021-05-14 珠海豹趣科技有限公司 Playing method and device of dynamic wallpaper, electronic equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
KEVIN COLSON ET AL: "Reusable Self-Adaptation through Bidirectional Programming", 《2016 IEEE/ACM 11TH INTERNATIONAL SYMPOSIUM ON SOFTWARE ENGINEERING FOR ADAPTIVE AND SELF-MANAGING SYSTEMS (SEAMS)》, 26 January 2017 (2017-01-26), pages 4 - 15 *
王源佑: "基于灰色关联分析和BIM技术的装修设计方案比选研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》, no. 2, 15 February 2018 (2018-02-15), pages 038 - 161 *
王绍刚 等: "PMESI:一种优化进程私有数据访问的缓存一致性协议", 《国防科技大学学报》, vol. 35, no. 1, 28 February 2013 (2013-02-28), pages 97 - 102 *
罗勇: "将系统时间嵌入桌面壁纸", 《软件指南》, no. 4, 30 April 2011 (2011-04-30), pages 38 - 38 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278338A (en) * 2022-07-28 2022-11-01 广州市百果园信息技术有限公司 Video wallpaper processing method, device, equipment and medium thereof
CN115278338B (en) * 2022-07-28 2023-09-19 广州市百果园信息技术有限公司 Video wallpaper processing method and device, equipment and medium thereof

Also Published As

Publication number Publication date
CN114296854B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN107783830B (en) Multitask management method and terminal equipment
US11416212B2 (en) Context-based user agent
WO2018006802A1 (en) Video playing method and apparatus, and electronic device
CN106250182B (en) File processing method and device and electronic equipment
WO2017101663A1 (en) Application guiding method and apparatus, and terminal
US20180373426A1 (en) Information Showing Method and Apparatus, and Electronic Device
CN109360567B (en) Customizable wake-up method and apparatus
CN103778211B (en) The language switching method and device of game of mobile terminal software
CN106648325B (en) Method and device for playing video on screen locking interface and electronic equipment
CN105556419B (en) Scene power management
CN106873898B (en) Application program working mode switching method and device and electronic equipment
US20170286174A1 (en) Terminal application process management method and apparatus
US20150279371A1 (en) System and Method for Providing an Audio Interface for a Tablet Computer
CN108038010A (en) Android system startup stage broadcast transmission method, apparatus and terminal
CN114296854A (en) Desktop wallpaper display method and device, electronic equipment and readable storage medium
CN111966860A (en) Audio playing method and device and electronic equipment
US20240091655A1 (en) Method, apparatus, electronic device and storage medium for game data processing
US9781198B2 (en) Information processing method and electronic device
CN105807890A (en) Information display method and device and electronic equipment
CN110162350B (en) Notification bar information display method, notification bar information display device, server and storage medium
CN114356867A (en) Method and device for opening compressed package file, electronic equipment and storage medium
CN110597566B (en) Application processing method and device, storage medium and electronic equipment
CN106648656B (en) Message deleting method and device and electronic equipment
CN111880912A (en) Method and device for controlling electronic equipment and electronic equipment
CN112667331A (en) Interface display method and device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant