CN114510307B - Dynamic wallpaper implementation method, computing device and storage medium - Google Patents
Dynamic wallpaper implementation method, computing device and storage medium Download PDFInfo
- Publication number
- CN114510307B CN114510307B CN202210106514.XA CN202210106514A CN114510307B CN 114510307 B CN114510307 B CN 114510307B CN 202210106514 A CN202210106514 A CN 202210106514A CN 114510307 B CN114510307 B CN 114510307B
- Authority
- CN
- China
- Prior art keywords
- desktop
- wallpaper
- dynamic
- static
- setting
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000003068 static effect Effects 0.000 claims abstract description 76
- 230000000694 effects Effects 0.000 claims abstract description 17
- 238000009877 rendering Methods 0.000 claims description 33
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000007723 transport mechanism Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a dynamic wallpaper implementation method, computing equipment and a storage medium, and the method comprises the following steps: firstly, constructing a dynamic wall paper layer, setting a display level of the dynamic wall paper layer to be lower than that of a desktop, and then setting static wallpaper to pause display, so that the static wallpaper is prevented from being rendered when the dynamic wallpaper is used, and unnecessary computer resources such as a processor, a memory and the like are occupied; and finally, setting a desktop transparent display to enable the desktop to present a transparent effect, so that the dynamic wallpaper layer can display the dynamic wallpaper through the desktop. According to the invention, the static wall paper layer is constructed, and the static wall paper layer is arranged at a level lower than the display level of the desktop, so that when the desktop is arranged to be transparent, the dynamic wall paper layer can display the dynamic wallpaper through the transparent desktop, the personalized setting of the desktop about the dynamic wallpaper can be conveniently realized, and the personalized requirements of users are met; meanwhile, the original static wallpaper is stopped being loaded, unnecessary computer resource consumption is reduced, and the system operation efficiency is improved.
Description
Technical Field
The present invention relates to the field of operating systems, and in particular, to a dynamic wallpaper implementation method, a computing device, and a storage medium.
Background
With the development of computer technology, when people use a computer through a graphical operating system, the people want to set dynamic wallpaper on the desktop, so that the desktop is more attractive, and the personalized requirements of users on the desktop are met. An open-source kde desktop environment can be used in the linux system, and dynamic wallpaper plug-in is injected into the kde desktop, so that the desktop presents dynamic wallpaper. However, when the dynamic wallpaper is presented in this way, a technician who develops and implements the dynamic wallpaper must make the wallpaper related file coincide with the kde desktop compiling environment, so that the development of the dynamic wallpaper is greatly limited, and the developed wallpaper which accords with the kde framework is very rare. The user can only select the dynamic wallpaper which can be applied in the kde desktop environment, so that the selection range of the user is reduced, and the requirement of the user on the presentation of the dynamic wallpaper on the desktop cannot be met.
For this reason, a new dynamic wallpaper implementation method is needed.
Disclosure of Invention
To this end, the present invention provides a dynamic wallpaper implementation method in an effort to solve or at least alleviate the above-presented problems.
According to one aspect of the present invention, there is provided a dynamic wallpaper implementation method, adapted to be executed in a computing device, comprising a desktop, and displaying static wallpaper on the desktop, the method comprising the steps of: constructing a dynamic wall paper layer, and setting the display level of the dynamic wall paper layer to be lower than that of a desktop; setting a desktop transparent display to enable the desktop to present a transparent effect; and setting the static wallpaper to be displayed in a suspended mode so that the dynamic wallpaper layer can display the dynamic wallpaper through the desktop.
Optionally, in the method according to the present invention, the computing device further includes a display server, and the step of constructing the dynamic wallpaper layer includes: and constructing a dynamic wall paper layer in the display server according to the set dynamic wallpaper.
Optionally, in the method according to the present invention, the computing device further comprises a wallpaper application, and the method further comprises the steps of: providing an image set to a user through a wallpaper application; receiving a target image selected by a user from the image set according to the wallpaper application; the target image is taken as the dynamic wallpaper to be set.
Optionally, in the method according to the present invention, setting the static wallpaper suspension display comprises the steps of: and setting a desktop to close and render the static wallpaper through the dbus interface.
Optionally, in the method according to the present invention, setting the desktop transparent display such that the desktop exhibits a transparent effect includes the steps of: determining whether the desktop supports transparent rendering; if the desktop supports transparent rendering, setting a desktop transparent display.
Optionally, in the method according to the invention, the method further comprises the step of: monitoring whether the desktop does not support transparent rendering; if the desktop is monitored to not support transparent rendering, setting the static wallpaper to be redisplayed.
Optionally, in the method according to the present invention, setting the static wallpaper redisplay includes the steps of: and setting a desktop to open and render the static wallpaper through the dbus interface, so that the desktop displays the static wallpaper.
Optionally, in the method according to the invention, the method further comprises the step of: and deleting the constructed dynamic wall paper layer.
According to another aspect of the present invention, there is provided a computing device comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the dynamic wallpaper implementation method according to the invention.
According to yet another aspect of the present invention, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform the dynamic wallpaper implementation method according to the present invention.
The invention discloses a dynamic wallpaper implementation method, which is suitable for being executed in a computing device. The computing device comprises a desktop, and static wallpaper is displayed on the desktop, and the method comprises the following steps: firstly, constructing a dynamic wall paper layer, and setting the display level of the dynamic wall paper layer to be lower than that of a desktop so that the dynamic wallpaper participates in rendering in the form of the dynamic wall paper layer; setting static wallpaper to pause display, avoiding that the static wallpaper is still rendered when the dynamic wallpaper is used, and occupying unnecessary computer resources such as a processor, a memory and the like; and finally, setting a desktop transparent display to enable the desktop to present a transparent effect, so that the dynamic wallpaper layer can display the dynamic wallpaper through the desktop. According to the invention, the static wall paper layer is constructed, and the static wall paper layer is arranged at a level lower than the display level of the desktop, so that when the desktop is arranged to be transparent, the dynamic wall paper layer can display the dynamic wallpaper through the transparent desktop, the personalized setting of the desktop about the dynamic wallpaper can be conveniently realized, and the personalized requirements of users are met; meanwhile, the original static wallpaper is stopped being loaded, unnecessary computer resource consumption is reduced, and the system operation efficiency is improved.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 shows a schematic diagram of a computing device 200 including a display server according to an exemplary embodiment of the invention;
FIG. 2 illustrates a block diagram of a computing device 200 according to an exemplary embodiment of the invention;
FIG. 3 shows a flow diagram of a dynamic wallpaper implementation method 300 according to an exemplary embodiment of the invention;
FIG. 4 shows a schematic drawing of static wallpaper in a desktop according to an exemplary embodiment of the invention;
fig. 5 shows a schematic diagram of the construction of a dynamic wall paper layer according to an exemplary embodiment of the invention;
FIG. 6 shows a flow diagram for implementing dynamic wallpaper according to an exemplary embodiment of the invention;
FIG. 7 shows a schematic view of a dynamic wall paper layer and a table top according to an exemplary embodiment of the invention;
FIG. 8 shows a schematic diagram of implementing dynamic wallpaper according to an exemplary embodiment of the invention; and
fig. 9 shows a schematic flow diagram of re-implementing static wallpaper according to an exemplary embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a computing device 200 including a display server according to an exemplary embodiment of the invention. As shown in fig. 1, the computing device 200 includes a hardware layer 130, an operating system 120 running based on a hardware environment provided by the hardware layer 130, and a wallpaper application 110 running based on the operating system 120. Other applications may also be included in computing device 200. The types and numbers of applications included in computing device 200 shown in FIG. 1 are exemplary only, and the invention is not limited by the number and specific types of applications included in computing device 200.
The hardware layer 130 includes a processor 131, an internal memory 132, and a graphics card 133. Wherein the processor 131 calculates data in the computing device, and controls execution of various instructions; specifically, the processor 131 may perform operations such as building the dynamic wallpapers layer, setting the level of the dynamic wallpapers layer, and the like. The internal memory 132 is loaded with execution data, such as storing the dynamic wallpaper to be implemented by the dynamic wallpaper layer, and recording and drawing the static wallpaper when the dynamic wallpaper is closed. The graphic card 133 finally performs drawing work of wallpaper, rendering and displaying static wallpaper or dynamic wallpaper.
The operating system 120 includes a display server 121. The invention is not limited to the particular type of operating system 120. According to one embodiment of the invention, the operating system 120 may be implemented as a linux system and the display server 121 may be implemented as an X11server display server for building up the wallpapers layers and setting up the hierarchy of dynamic wallpapers layers. The invention does not limit the specific implementation of the display server.
Also included in computing device 200 is wallpaper application 110. Wallpaper application 110 may be implemented as a system application or a user-installed application, and the invention is not limited to the type of application of wallpaper application 110. A user may provide a plurality of dynamic wallpapers to the user through wallpaper application 110 so that the user selects the dynamic wallpaper desired to be implemented, and the desired dynamic wallpaper is personalized.
FIG. 2 illustrates a block diagram of a computing device 200 according to an exemplary embodiment of the invention. As shown in FIG. 2, in a basic configuration 202, a computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing including, but not limited to: a microprocessor (μp), a microcontroller (μc), a digital information processor (DSP), or any combination thereof. Processor 204 may include one or more levels of cache, such as a first level cache 210 and a second level cache 212, a processor core 214, and registers 216. The example processor core 214 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations, the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory including, but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. The system memory 206 may include an operating system 220, one or more programs 222, and program data 228. In some implementations, the program 222 may be arranged to execute instructions 223 of the method 300 according to the present invention on an operating system by the one or more processors 204 using the program data 228.
Computing device 200 may also include a storage interface bus 234. Storage interface bus 234 enables communication from storage devices 232 (e.g., removable storage 236 and non-removable storage 238) to base configuration 202 via bus/interface controller 230. At least a portion of operating system 220, programs 222, and data 224 may be stored on removable storage 236 and/or non-removable storage 238, and when the program 222 is powered up or is to be executed by the computing device 200, loaded into the system memory 206 via storage interface bus 234 and executed by the one or more processors 204.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to basic configuration 202 via bus/interface controller 230. The example output device 242 includes a graphics processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. Example peripheral interfaces 244 may include a serial interface controller 254 and a parallel interface controller 256, which may be configured to facilitate communications with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 258. The example communication device 246 may include a network controller 260 that may be arranged to communicate with one or more other computing devices 200 over a network communication link via one or more communication ports 264.
The network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media in a modulated data signal, such as a carrier wave or other transport mechanism. A "modulated data signal" may be a signal that has one or more of its data set or changed in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or special purpose network, and wireless media such as acoustic, radio Frequency (RF), microwave, infrared (IR) or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In the device 200 according to the invention, the program 222 comprises a plurality of program instructions of the dynamic wallpaper implementation method 300, which may instruct the processor 204 to perform part of the steps in the dynamic wallpaper implementation method 300 running in the computing device 200 according to the invention, so that the parts in the computing device 200 implement the personalized settings of the dynamic wallpaper by performing the dynamic wallpaper implementation method 300 according to the invention.
Computing device 200 may be implemented as a server, such as a file server, database, server, application server, etc., such as a Personal Digital Assistant (PDA), wireless web-watch device, application-specific device, or a hybrid device that may include any of the above functions. May be implemented as a personal computer including desktop and notebook computer configurations, and in some embodiments, computing device 200 is configured to implement method 300 as a dynamic wallpaper.
Fig. 3 shows a flow diagram of a dynamic wallpaper implementation method 300 according to an exemplary embodiment of the invention. As shown in fig. 3, step S310 is first performed to construct a dynamic wallpapers layer, and the display level of the dynamic wallpapers layer is set to be lower than the display level of the desktop.
Operating system 120 is running in computing device 200, and operating system 120 includes display server 121. And when the dynamic wall paper layer is constructed, constructing the dynamic wall paper layer in the display server according to the set dynamic wallpaper. Fig. 4 shows a schematic drawing of static wallpaper in a desktop according to an exemplary embodiment of the invention. As shown in fig. 4, a plurality of layers are drawn in the display server, including a desktop surface and a static wall paper layer over the desktop surface. The display server renders a static wall paper layer on the desktop, so that an image of the static wallpaper is presented on the desktop.
When the dynamic wall paper layer is constructed, the dynamic wall paper layer is constructed below the desktop. Fig. 5 shows a schematic diagram of the construction of a dynamic wall paper layer according to an exemplary embodiment of the invention. As shown in fig. 5, the display server includes a desktop, a static wall paper layer above the desktop, and a dynamic wall paper layer below the desktop.
According to one embodiment of the invention, the dynamic wallpaper used for constructing the dynamic wallpaper layer can be set by a user, so that personalized setting of the dynamic wallpaper displayed on the desktop is realized. The computing device further comprises a wallpaper application, when the dynamic wallpaper is set, the wallpaper application provides an image set for a user, the image set comprises one or more images which can be set as the dynamic wallpaper, and the invention does not limit the types of the images. The image collection may be a locally stored image collection or a collection of images stored in a server that can be accessed by the computing device over a communication connection.
Then, a target image selected by the user from the image set according to the wallpaper application is received, and the image selected by the user from the image set is specifically taken as the target image.
And then taking the target image as the dynamic wallpaper to be set, and realizing personalized setting of the dynamic wallpaper.
Subsequently, step S320 is performed to set the desktop transparent display so that the desktop exhibits a transparent effect. The desktop is transparent, namely the transparency of the desktop is set to be 100%, so that the dynamic wall paper layer below the desktop can be displayed completely through the desktop. When the desktop is set to be transparent, determining whether the desktop supports transparent rendering, and if the desktop supports transparent rendering, setting transparent display of the desktop. Whether the desktop supports transparent rendering, i.e., whether the desktop supports setting transparency.
Some operating systems have multiple display modes, some of which do not support transparent rendering of the desktop. According to one embodiment of the invention, when the dynamic wallpaper is realized in the uos operating system, the uos operating system comprises a special effect mode with higher requirements on a computer and better display effect, and transparent rendering of a desktop is supported; the method also comprises a common mode with lower computer requirements and simpler display effect, transparent rendering of the desktop is not supported, and the consumption of computer resources is lower. When determining whether the desktop supports transparent rendering, judging uos the current mode of the operating system, and if the current mode is in a special effect mode, supporting the transparent rendering of the desktop; if in normal mode, transparent rendering of the desktop is not supported.
According to one embodiment of the present invention, when the operating system 120 is implemented as a linux system, the display server 121 implements an icon layer on a desktop and renders the static wallpaper layer, so that the static wallpaper is displayed. When the dynamic wallpaper is to be realized, the desktop is set transparent, namely the icon layer is set transparent, and the transparency of the icon layer is changed, so that the icon layer realizes the transparent effect.
Subsequently, step S330 is performed, where the static wallpaper is set to be paused, so that the dynamic wallpaper layer displays the dynamic wallpaper through the desktop. When the static wallpaper is suspended for display, the desktop can be set to be closed through the dbus interface to render the static wallpaper. According to one embodiment of the invention, the operating system may send a setup instruction through the dbus interface to cause the display server to close rendering the static wallpaper.
The set instruction includes closing rendering the static wallpaper and setting the static wallpaper state. According to one embodiment of the invention, closing the rendering of the static wallpaper is achieved by dbus function EnableBackground (false); the static wallpaper state onRestBuckgroudManager () function implementation is set such that the state of the static wallpaper is set to not participate in rendering.
In the prior art, when drawing dynamic wallpaper is realized through third party software under a windows operating system environment, a window loaded with the dynamic wallpaper is set as a parent window, and the static wallpaper carried by the system is realized as the next level of the parent window, so that the static wallpaper is covered by the dynamic wallpaper to hide the static wallpaper, and the desktop can present the dynamic wallpaper effect. However, the static wallpaper of the system is still being drawn, and occupies a certain memory, which causes unnecessary consumption of computer resources. Therefore, the static wallpaper is not drawn any more in the invention, and the computer resource can be saved.
Fig. 6 shows a schematic flow diagram of implementing dynamic wallpaper according to an exemplary embodiment of the invention. As shown in fig. 6, the display server may be implemented as an X11server, where a dynamic wall paper layer is first set in the X11server, and a display level of the dynamic wall paper layer is set to be lower than a display level of a desktop. And setting a desktop transparent display, closing and rendering the static wallpaper and setting the static wallpaper state to be not in rendering through a dbus function EnableBackground (false) and an onRestBuckgroudManager () function, so that the static wallpaper pauses the display, and drawing and displaying the dynamic wallpaper are realized.
Fig. 7 shows a schematic view of a dynamic wall paper layer and a table top according to an exemplary embodiment of the invention. As shown in fig. 7, the display server only includes a dynamic wallpaper layer and a desktop, wherein the desktop is set to present a transparent effect, and the static wallpaper layer does not participate in rendering, so that the dynamic wallpaper layer displays the dynamic wallpaper through the desktop.
Fig. 8 shows a schematic diagram of implementing dynamic wallpaper according to an exemplary embodiment of the invention. As shown in fig. 8, a clock is presented in the dynamic wallpaper, and the time of display can be changed by a changing pointer.
According to one embodiment of the invention, the method further comprises monitoring whether the desktop does not support transparent rendering, and if so, setting the static wallpaper for redisplay.
Detecting whether the desktop does not support transparent rendering, namely, detecting whether the display mode of the system is switched, and changing. According to one embodiment of the invention, when dynamic wallpaper has been implemented in the special effects mode of the uos operating system, the desktop does not support transparent rendering when a switch to normal mode is detected.
When the desktop does not support transparent rendering, the dynamic wallpaper displayed by the system needs to be closed, and the static wallpaper is presented. And closing the dynamic wallpaper, and presenting the static wallpaper, wherein the desktop is required to be set to be opened and rendered through a dbus interface, so that the static wallpaper is displayed on the desktop. Furthermore, the constructed dynamic wall paper layer is deleted to release the computer resources occupied by the dynamic wallpaper, so that the system operation efficiency is improved.
According to one embodiment of the present invention, when the operating system 120 is implemented as a linux system, the display server 121 is to redisplay the static wallpaper, implement the icon layer on the desktop again, and render the static wallpaper layer, so as to implement displaying the static wallpaper. When the static wallpaper is to be realized again, the desktop is set to be opaque, the icon layer is set to be opaque, the transparency of the icon layer is changed, the icon layer is displayed with the static wallpaper layer again, and the display effect of the static wallpaper is presented.
Fig. 9 shows a schematic flow diagram of re-implementing static wallpaper according to an exemplary embodiment of the invention. As shown in fig. 9, firstly, rendering static wallpaper is started and a static wallpaper state is set to participate in rendering through a dbus function EnableBackground (true) and an onRestBuckgroudManager () function in an X11server display server, so that the static wallpaper starts to be displayed, and drawing and displaying of the dynamic wallpaper are realized. And the constructed dynamic wall paper layer is deleted, and the computer resources occupied by the dynamic wallpaper are released.
The invention discloses a dynamic wallpaper implementation method, which is suitable for being executed in a computing device. The computing device comprises a desktop, and static wallpaper is displayed on the desktop, and the method comprises the following steps: firstly, constructing a dynamic wall paper layer, and setting the display level of the dynamic wall paper layer to be lower than that of a desktop so that the dynamic wallpaper participates in rendering in the form of the dynamic wall paper layer; setting static wallpaper to pause display, avoiding that the static wallpaper is still rendered when the dynamic wallpaper is used, and occupying unnecessary computer resources such as a processor, a memory and the like; and finally, setting a desktop transparent display to enable the desktop to present a transparent effect, so that the dynamic wallpaper layer can display the dynamic wallpaper through the desktop. According to the invention, the static wall paper layer is constructed under the reliinux system, the static wall paper layer is arranged at a level lower than the display level of the desktop, and when the desktop is arranged to be transparent, the dynamic wall paper layer can display the dynamic wallpaper through the transparent desktop, so that personalized setting of the desktop about the dynamic wallpaper can be conveniently realized under the reliinux system, and personalized requirements of users are met; meanwhile, the original static wallpaper is stopped being loaded, unnecessary computer resource consumption is reduced, and the system operation efficiency is improved.
The special handle mechanism under Windows is very simple to realize dynamic wallpaper under window grabbing, but the special handle mechanism under Windows does not exist under linux, and at present, no stable window handle mechanism is used for realizing the method like Windows. Specifically, in a Windows system, windows can realize dynamic wallpaper without hiding original wallpaper, grabbing an icon layer and setting a parent node of the icon layer as a dynamic wallpaper window, but under a linux, the icon and the wallpaper are one window and cannot be separated, and only an interface can be adopted under the linux to enable the wallpaper not to be displayed, and the dynamic wallpaper is realized by transparentizing operation, and the dynamic wallpaper program level is placed at the bottommost layer, so that the dynamic wallpaper can be realized.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
Those skilled in the art will appreciate that the modules or units or groups of devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or groups of embodiments may be combined into one module or unit or group, and furthermore they may be divided into a plurality of sub-modules or sub-units or groups. Any combination of all features disclosed in this specification, and all processes or units of any method or apparatus so disclosed, may be employed, except that at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for carrying out the functions performed by the elements for carrying out the objects of the invention.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to perform the dynamic wallpaper implementation of the invention according to instructions in said program code stored in the memory.
By way of example, and not limitation, computer readable media comprise computer storage media and communication media. Computer-readable media include computer storage media and communication media. Computer storage media stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention.
Claims (9)
1. A dynamic wallpaper implementation method adapted to be executed in a computing device, the computing device comprising a desktop and having static wallpaper displayed on the desktop, the method comprising the steps of:
constructing a dynamic wall paper layer, and setting the display level of the dynamic wall paper layer to be lower than that of the desktop;
setting the desktop transparent display to enable the desktop to present a transparent effect;
setting the static wallpaper to pause display so that the dynamic wallpaper layer displays dynamic wallpaper through the desktop;
setting the static wallpaper to be displayed in a suspending mode comprises the following steps of:
setting the desktop to close and render static wallpaper through a dbus interface;
the computing device also comprises a display server, and when the desktop displays the dynamic wallpaper, the display server comprises a dynamic wallpaper layer and the desktop.
2. The method of claim 1, wherein the constructing a dynamic wallpaper layer comprises the steps of:
and constructing a dynamic wall paper layer in the display server according to the set dynamic wallpaper.
3. The method of claim 2, wherein the computing device further includes a wallpaper application therein, the method further comprising the steps of:
providing, by the wallpaper application, a set of images to a user;
receiving a target image selected by a user from an image set according to the wallpaper application;
and taking the target image as the dynamic wallpaper to be set.
4. The method of claim 1, wherein the setting the desktop transparent display to cause the desktop to present a transparent effect comprises the steps of:
determining whether the desktop supports transparent rendering;
and if the desktop supports transparent rendering, setting the desktop transparent display.
5. The method according to any one of claims 1-4, wherein the method further comprises the step of:
monitoring whether the desktop does not support transparent rendering;
and if the desktop is monitored not to support transparent rendering, setting the static wallpaper to be redisplayed.
6. The method of claim 5, wherein the setting the static wallpaper redisplay comprises the steps of:
setting the desktop to open and render the static wallpaper through a dbus interface, so that the desktop displays the static wallpaper.
7. The method of claim 5, wherein the method further comprises the steps of:
and deleting the constructed dynamic wall paper layer.
8. A computing device, comprising:
one or more processors;
a memory; and
one or more apparatuses comprising instructions for performing the method of any of claims 1-7.
9. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform the method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210106514.XA CN114510307B (en) | 2022-01-28 | 2022-01-28 | Dynamic wallpaper implementation method, computing device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210106514.XA CN114510307B (en) | 2022-01-28 | 2022-01-28 | Dynamic wallpaper implementation method, computing device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114510307A CN114510307A (en) | 2022-05-17 |
CN114510307B true CN114510307B (en) | 2024-01-23 |
Family
ID=81551105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210106514.XA Active CN114510307B (en) | 2022-01-28 | 2022-01-28 | Dynamic wallpaper implementation method, computing device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114510307B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116743908B (en) * | 2022-09-13 | 2024-03-26 | 荣耀终端有限公司 | Wallpaper display method and related device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750393A (en) * | 2015-04-22 | 2015-07-01 | 广东欧珀移动通信有限公司 | Wallpaper setting method and device |
CN105389246A (en) * | 2015-10-15 | 2016-03-09 | 珠海格力电器股份有限公司 | Interface theme dynamic display control method and system |
CN109308207A (en) * | 2018-09-28 | 2019-02-05 | 珠海市君天电子科技有限公司 | A kind of display methods of dynamic wallpaper, device, electronic equipment and storage medium |
CN109743464A (en) * | 2019-02-28 | 2019-05-10 | 努比亚技术有限公司 | Desktop background display methods, mobile terminal and computer readable storage medium |
CN110990090A (en) * | 2019-11-14 | 2020-04-10 | 上海掌门科技有限公司 | Dynamic wallpaper display method, device and computer readable medium |
CN111240777A (en) * | 2019-12-31 | 2020-06-05 | Oppo广东移动通信有限公司 | Dynamic wallpaper generation method and device, storage medium and electronic equipment |
CN113010056A (en) * | 2021-02-22 | 2021-06-22 | 北京小米移动软件有限公司 | Desktop display control method, device, terminal and storage medium |
CN113849096A (en) * | 2021-11-30 | 2021-12-28 | 统信软件技术有限公司 | Desktop display method and device and computing equipment |
-
2022
- 2022-01-28 CN CN202210106514.XA patent/CN114510307B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750393A (en) * | 2015-04-22 | 2015-07-01 | 广东欧珀移动通信有限公司 | Wallpaper setting method and device |
CN105389246A (en) * | 2015-10-15 | 2016-03-09 | 珠海格力电器股份有限公司 | Interface theme dynamic display control method and system |
CN109308207A (en) * | 2018-09-28 | 2019-02-05 | 珠海市君天电子科技有限公司 | A kind of display methods of dynamic wallpaper, device, electronic equipment and storage medium |
CN109743464A (en) * | 2019-02-28 | 2019-05-10 | 努比亚技术有限公司 | Desktop background display methods, mobile terminal and computer readable storage medium |
CN110990090A (en) * | 2019-11-14 | 2020-04-10 | 上海掌门科技有限公司 | Dynamic wallpaper display method, device and computer readable medium |
CN111240777A (en) * | 2019-12-31 | 2020-06-05 | Oppo广东移动通信有限公司 | Dynamic wallpaper generation method and device, storage medium and electronic equipment |
CN113010056A (en) * | 2021-02-22 | 2021-06-22 | 北京小米移动软件有限公司 | Desktop display control method, device, terminal and storage medium |
CN113849096A (en) * | 2021-11-30 | 2021-12-28 | 统信软件技术有限公司 | Desktop display method and device and computing equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114510307A (en) | 2022-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2606055C2 (en) | Desktop system of mobile terminal and interface interaction method and device | |
US9329777B2 (en) | Method and system for providing background contents of virtual key input device | |
KR101159359B1 (en) | Method and system for a target device display simulation | |
WO2021008334A1 (en) | Data binding method, apparatus, and device of mini program, and storage medium | |
KR20140023307A (en) | Three-dimensional icons for organizing, invoking, and using applications | |
US20230035047A1 (en) | Remote assistance method, device, storage medium, and terminal | |
CN110533464B (en) | Advertisement monitoring method, device and system and computing equipment | |
CN112965771B (en) | Virtual screen construction method, computing device and storage medium | |
JP2013039701A (en) | Electronic blackboard device, screen displaying method and program | |
CN113094135A (en) | Page display control method, device, equipment and storage medium | |
CN114510307B (en) | Dynamic wallpaper implementation method, computing device and storage medium | |
CN108447106B (en) | Generation method and device of venue seat map | |
CN111913614B (en) | Multi-picture display control method and device, storage medium and display | |
CN114528816B (en) | Collaborative editing information display method and device, electronic equipment and readable medium | |
CN113849096B (en) | Desktop display method and device and computing equipment | |
CN105094331A (en) | Information processing method and electronic device | |
JP2011086050A (en) | Information processing terminal and computer program | |
JP2017037416A (en) | Image processor, image processing method | |
JP2002288581A (en) | Document processing method, document processing program and document processor | |
CN110162350B (en) | Notification bar information display method, notification bar information display device, server and storage medium | |
JP2010282200A (en) | Structure of animation font file and text-displaying method for mobile terminal | |
CN115269077A (en) | Picture display method, module, mobile terminal and storage medium | |
US10592087B1 (en) | System and method for creating fluid design keyframes on graphical user interface | |
CN114281457B (en) | Application window display method, computing device and storage medium | |
CN105373524A (en) | Demonstration text editing method and apparatus |
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 |