CN113849096A - Desktop display method and device and computing equipment - Google Patents

Desktop display method and device and computing equipment Download PDF

Info

Publication number
CN113849096A
CN113849096A CN202111437228.3A CN202111437228A CN113849096A CN 113849096 A CN113849096 A CN 113849096A CN 202111437228 A CN202111437228 A CN 202111437228A CN 113849096 A CN113849096 A CN 113849096A
Authority
CN
China
Prior art keywords
desktop
layer
dynamic effect
interaction layer
desktop icon
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
CN202111437228.3A
Other languages
Chinese (zh)
Other versions
CN113849096B (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.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software 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 Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202111437228.3A priority Critical patent/CN113849096B/en
Priority to CN202210449775.1A priority patent/CN114816162A/en
Publication of CN113849096A publication Critical patent/CN113849096A/en
Application granted granted Critical
Publication of CN113849096B publication Critical patent/CN113849096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a desktop display method, a device and a computing device, wherein the method is executed in the computing device, a desktop window is suitable for being displayed on a screen of the computing device, the desktop window comprises a background layer, an action interaction layer arranged on the background layer and a desktop icon layer arranged on the action interaction layer, and the method comprises the following steps: acquiring a pre-configured background picture, and drawing the background picture on the background layer; receiving an input event on a desktop icon layer, filtering the input event to filter the input event of a desktop file, and sending the rest input events to an animation interaction layer; and drawing corresponding dynamic effect content on the dynamic effect interaction layer according to the input event of the non-desktop file in the rest input events. According to the desktop display method, the display effect and the interaction interest of the desktop animation are enhanced.

Description

Desktop display method and device and computing equipment
Technical Field
The invention relates to the technical field of computers, in particular to a desktop display method, a desktop display device and computing equipment.
Background
The Desktop Environment (Desktop Environment) refers to a display Environment including elements such as a Desktop and a taskbar, which a user sees after logging in. Background pictures and desktop icons are generally displayed on the desktop, wherein the background pictures are displayed in a full screen and the desktop icons are drawn in a grid of available areas of the screen for display. The desktop window is generally divided into two layers, a background picture displayed in full screen is drawn on the lower layer, and the lower layer does not receive and process input events such as a keyboard, a mouse and the like of a user; drawing a desktop icon on the upper layer and receiving an input event of a user. The whole desktop window is always arranged at the lower layer of other common application windows.
Based on the existing operating system, a user can add programs such as desktop assistants or desktop pets on the desktop, which are separate application programs and placed on top of other windows in the form of top-level windows. The avatars of desktop assistants, including, for example, paper clips, puppies, dolphins, and the like, mainly pop up dialog boxes during user use to provide user suggestions and assistance for use. The desktop pet is similar to the desktop assistant, but the desktop pet is mainly entertained and has richer interaction effect.
In addition, the existing desktop environment can display dynamic wallpaper, namely, a static background picture of the original desktop is replaced by a short video for circular playing, so that the appearance and the use experience of the desktop are enhanced. Dynamic wallpaper is also a separate application, which is essentially a video player whose playing window is displayed full screen and placed at the bottom of all windows.
According to the existing desktop display mode, the desktop assistant and the desktop pet are independent application processes, and after the desktop assistant and the desktop pet are started, a corresponding window is created and placed on the topmost layer. And then drawing corresponding window content according to the image selected by the user, and setting the window into an irregular window according to the outline of the window content, so that only the outline of the window content can receive input events such as a keyboard, a mouse and the like of the user, and the outline has a transparent effect and cannot receive the input events. When the mouse of the user clicks in the outline, the operation behavior of the user is judged by reading the mouse input event, corresponding action is executed, and corresponding content is drawn.
Because the windows of the desktop assistant and the desktop pet are top-layer windows on the desktop, the windows are always placed on other windows in the using process, and the shielding of other application windows is caused. Moreover, during the use of the full-screen window, for example, when a user watches a movie and plays a game in full screen, the content in the top-layer window affects the use experience of the user because the top-layer window has the capability of receiving an input event. For example, when a user moves a mouse to a window of a desktop assistant or a desktop pet, the window is activated, and a problem that a full-screen window flashes interactively with the window of the desktop assistant or the desktop pet occurs, so that the use experience of the user is affected.
Dynamic wallpaper is also an independent application process, and existing dynamic wallpaper is provided by a third-party application. Because the window of the dynamic wallpaper is arranged at the lowest layer of the desktop, input events such as a mouse, a keyboard and the like cannot be received, and therefore interactivity is lacked.
Therefore, a desktop display method is needed to solve the problems in the above technical solutions.
Disclosure of Invention
To this end, the present invention provides a desktop display method and a desktop display apparatus in an effort to solve or at least alleviate the above-existing problems.
According to one aspect of the present invention, there is provided a desktop display method, executed in a computing device adapted to display a desktop window on a screen of the computing device, the desktop window including a background layer, an animation interaction layer disposed over the background layer, and a desktop icon layer disposed over the animation interaction layer, the method comprising the steps of: acquiring a pre-configured background picture, and drawing the background picture on the background layer; receiving an input event on a desktop icon layer, filtering the input event to filter the input event of a desktop file, and sending the rest input events to an animation interaction layer; and drawing corresponding dynamic effect content on the dynamic effect interaction layer according to the input event of the non-desktop file in the rest input events.
Optionally, in the desktop display method according to the present invention, the method further includes: creating a background layer based on a screen resolution of the computing device; creating a dynamic interaction layer above the background layer; and creating a desktop icon layer above the dynamic effect interaction layer.
Optionally, in the desktop display method according to the present invention, after creating the desktop icon layer on top of the animation interaction layer, the method includes the steps of: determining the size of a grid according to the size of the desktop icon, and dividing the desktop icon layer into a plurality of grids arranged in multiple rows and multiple columns according to the size of the desktop icon layer and the size of the grid, wherein each grid is suitable for displaying one desktop icon; acquiring desktop icons corresponding to one or more desktop files; drawing one or more desktop icons into one or more grids respectively so as to display the one or more desktop icons on the desktop icon layer.
Optionally, in the desktop display method according to the present invention, the method further includes: traversing grids occupied by each desktop icon on the desktop icon layer to obtain an occupied area of each desktop icon in the grids as an occupied area; and sending the occupied area to an action interaction layer so as to draw action content in the action interaction layer based on the occupied area.
Optionally, in the desktop display method according to the present invention, the step of drawing the animation content at the animation interaction layer based on the occupied area includes: and determining an area which is not covered by the desktop icon on the dynamic effect interaction layer according to the occupied area, and drawing dynamic effect content in the area which is not covered by the desktop icon.
Optionally, in the desktop display method according to the present invention, the step of drawing the animation content at the animation interaction layer based on the occupied area further includes: and determining the edge area of the desktop icon according to the occupied area, and drawing the dynamic effect content on the dynamic effect interaction layer based on the edge area of the desktop icon.
Optionally, in the desktop display method according to the present invention, the method further includes: and loading the plug-in, and calling an expansion interface of the plug-in to draw the dynamic effect content on the dynamic effect interaction layer.
Optionally, in the desktop display method according to the present invention, the types of the input events include a mouse input event and a keyboard input event; the mouse input event comprises one or more of a single click event, a double click event, a drag event, a frame selection event and a sliding event.
Optionally, in the desktop display method according to the present invention, the non-desktop file includes one or more of a desktop helper program, a desktop pet program, and a dynamic wallpaper program.
Optionally, in the desktop display method according to the present invention, the dynamic effect interaction layer and the desktop icon layer are both transparent backgrounds.
According to one aspect of the present invention, there is provided a desktop display apparatus residing in a computing device adapted to display a desktop window on a screen of the computing device, the desktop window including a background layer, an animation interaction layer disposed over the background layer, and a desktop icon layer disposed over the animation interaction layer, the apparatus comprising: the background drawing unit is used for acquiring a preset background picture and drawing the background picture on the background layer; the filtering unit is used for receiving the input events on the desktop icon layer, filtering the input events to filter the input events of the desktop files and sending the rest input events to the dynamic interaction layer; and the dynamic effect drawing unit is used for drawing corresponding dynamic effect contents on the dynamic effect interaction layer according to the input events to the non-desktop files in the rest input events.
According to an aspect of the present invention, there is provided a computing device comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the desktop display method as described above.
According to an aspect of the present invention, there is provided a readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method as described above.
According to the technical scheme, the desktop window with a three-layer separated structure comprising a background layer, a dynamic interaction layer and a desktop icon layer is established, so that desktop files and non-desktop files are separated from each other, the input operation of the desktop files is filtered through the desktop icon layer, on one hand, the input operation of the desktop files is preferentially ensured to be smoothly executed, and in addition, the rest input events filtered through the desktop icon layer are transmitted to the dynamic interaction layer, corresponding dynamic content and interaction actions are drawn on the dynamic interaction layer according to the input events of the non-desktop files, so that the animation effect of the non-desktop files can be drawn and presented in a window area of the dynamic interaction layer with the size of the full screen, and the presentation effect of the desktop animation is enhanced. And the mouse and keyboard operation events of the non-desktop files are responded by the user based on the dynamic interaction layer, so that the interaction interest is enhanced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
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 are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be 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 read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a computing device 100, according to one embodiment of the invention;
FIG. 2 illustrates a flow diagram of a desktop display method 200 according to one embodiment of the invention;
FIG. 3 illustrates a schematic diagram of a desktop window 300, according to one embodiment of the present invention;
FIG. 4 is a diagram illustrating a relationship between a desktop icon layer 330 and an animation interaction layer 320, according to one embodiment of the invention; and
FIG. 5 shows a schematic diagram of a desktop display device 500 according to one 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.
Fig. 1 is a schematic block diagram of an example computing device 100.
As shown in FIG. 1, in a basic configuration 102, a computing device 100 typically includes a system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between the processor 104 and the system memory 106.
Depending on the desired configuration, the processor 104 may be any type of processing, including but not limited to: a microprocessor (UP), a microcontroller (UC), a digital information processor (DSP), or any combination thereof. The processor 104 may include one or more levels of cache, such as a level one cache 110 and a level two cache 112, a processor core 114, and registers 116. The example processor core 114 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 118 may be used with the processor 104, or in some implementations the memory controller 118 may be an internal part of the processor 104.
Depending on the desired configuration, system memory 106 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. System memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some implementations, the application 122 can be arranged to execute instructions on an operating system with program data 124 by one or more processors 104.
Computing device 100 also includes a storage device 132, storage device 132 including removable storage 136 and non-removable storage 138.
Computing device 100 may also include a storage interface bus 134. The storage interface bus 134 enables communication from the storage devices 132 (e.g., removable storage 136 and non-removable storage 138) to the basic configuration 102 via the bus/interface controller 130. At least a portion of the operating system 120, applications 122, and data 124 may be stored on removable storage 136 and/or non-removable storage 138, and loaded into system memory 106 via storage interface bus 134 and executed by the one or more processors 104 when the computing device 100 is powered on or the applications 122 are to be executed.
Computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus/interface controller 130. The example output device 142 includes an image processing unit 148 and an audio processing unit 150. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication 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 158. An example communication device 146 may include a network controller 160, which may be arranged to facilitate communications with one or more other computing devices 162 over a network communication link via one or more communication ports 164.
A 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, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in a manner that encodes information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various 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.
Computing device 100 may be implemented as a personal computer including both desktop and notebook computer configurations. Of course, computing device 100 may also be implemented as part of a small-form factor portable (or mobile) electronic device such as a cellular telephone, a digital camera, a Personal Digital Assistant (PDA), a personal media player device, a wireless web-watch device, a personal headset, an application specific device, or a hybrid device that include any of the above functions. And may even be implemented as a server, such as a file server, a database server, an application server, a WEB server, and so forth. The embodiments of the present invention are not limited thereto.
In an embodiment in accordance with the invention, the computing device 100 is configured to perform a desktop display method 200 in accordance with the invention. The operating system of the computing device 100 includes a plurality of program instructions for executing the desktop display method 200 of the present invention, which may instruct the processor to execute the desktop display method 200 of the present invention, so that the desktop display method 200 of the present invention may be executed in the computing device 100.
According to an embodiment of the present invention, the desktop display apparatus 500 is included on the operating system of the computing device 100, and the desktop display apparatus 500 includes a plurality of program instructions for executing the desktop display method 200 of the present invention, so that the desktop display method 200 of the present invention can be executed in the desktop display apparatus 500.
FIG. 2 shows a flow diagram of a desktop display method 200 according to one embodiment of the invention. The desktop display method 200 may be performed in a desktop display 500 of a computing device (e.g., the computing device 100 described above). As shown in FIG. 2, the method 200 includes steps S210-S230.
It should be noted that the computing device 100 includes a screen, and the screen is connected to an operating system of the computing device. A desktop window may be displayed on the screen of the computing device 100, and a background picture and corresponding desktop icons of one or more desktop files may be displayed based on the desktop window. Here, a desktop file is a file under a desktop directory, which may contain one or more desktop files, each of which may contain a corresponding desktop icon. The desktop files are rendered in the desktop window in the form of corresponding desktop icons for presentation to the user through the desktop window.
FIG. 3 shows a schematic diagram of a desktop window 300 in accordance with one embodiment of the present invention. As shown in fig. 3, the desktop window 300 includes a background layer 310, an animation interaction layer 320 disposed over the background layer, and a desktop icon layer 330 disposed over the animation interaction layer. The background layer 310 is configured to display a background picture, the animation interaction layer 320 is configured to display content of a dynamic effect (i.e., animation content), and the desktop icon layer 330 is configured to display one or more desktop icons corresponding to one or more desktop files.
As shown in fig. 2, in step S210, a background picture configured by a user in advance is obtained, and the background picture is drawn on the background layer 310. Here, the background picture is spread over the window of the background layer to be displayed in the entire screen area.
In one embodiment, before step S210 is performed, a background layer 310, an animation interaction layer 320, and a desktop icon layer 330 in the desktop window 300 are first created.
In particular, the background layer is created based on a screen resolution size of the computing device. That is, the window size of the background layer is set to the screen resolution size so that the background layer fills the entire screen area, and then step S210 may be performed to obtain a pre-configured background picture, and draw the background picture on the background layer. Subsequently, an animated interaction layer is created above the background layer, where the animated interaction layer is also created based on the screen resolution size, such that the animated interaction layer fills the entire screen area. Further, a desktop icon layer is created above the animation interaction layer. It should be noted that the desktop icon layer does not include a taskbar region. That is, the desktop icon layer may be created according to the screen resolution minus the size of the taskbar region.
It should be noted that the dynamic effect interaction layer and the desktop icon layer are both transparent backgrounds, and are not drawn with window backgrounds. Therefore, the background picture arranged in the background layer at the bottommost layer can be presented to a user through the transparent areas of the dynamic interaction layer and the desktop icon layer.
According to one embodiment, after the desktop icon layer is created on top of the animation interaction layer, desktop icons corresponding to one or more desktop files currently in the computing device are drawn on the desktop icon layer.
Specifically, the grid size is first determined according to the desktop icon size, so that one desktop icon can be displayed in each grid. And then, dividing the desktop icon layer according to the size of the desktop icon layer and the size of the grids to form a plurality of grids which are arranged in multiple rows and multiple columns. Here, the size of the desktop icon layer is obtained by subtracting the size of the taskbar area from the size of the resolution of the screen, and the number of grids can be determined according to the size of the desktop icon layer and the size of the grids, that is, the number of rows and columns of the grids can be determined, so that the grids with corresponding number arranged in multiple rows and multiple columns can be formed by dividing the desktop icon layer.
Next, one or more desktop files may be obtained from the desktop directory, and a desktop icon corresponding to the one or more desktop files may be obtained. It should be noted that the desktop icon includes an icon corresponding to the desktop file and a file name, and the file name is usually disposed below the icon.
Furthermore, based on the sorting mode of the desktop icons set by the user, one or more desktop icons (including icons and file names) are respectively drawn into one or more grids of the desktop icon layer, and finally one or more desktop icons can be displayed on the desktop icon layer, so that the desktop icons are presented to the user.
In one implementation, the background layer is always placed below other application windows by setting the window type of the background layer to Desktop. And the window type of the dynamic effect interaction layer is set to Desktop, so that the window of the dynamic effect interaction layer is arranged on the upper layer of the window of the background layer and is arranged on the lower layer of other application windows. It should be understood that after the action-effect interaction layer is initially created, the action-effect interaction layer is in a transparent state, no content is drawn, and a background picture of a background layer located below the action-effect interaction layer is presented. In addition, the type of the window of the Desktop icon layer is Desktop, so that the window of the Desktop icon layer is arranged on the upper layer of the window of the dynamic effect interaction layer and is arranged on the lower layer of other application windows. After the desktop icon layer is initially created, a desktop window in an initial state is formed based on the background layer, the dynamic effect interaction layer and the desktop icon layer, at this time, dynamic effect content is not drawn on the dynamic effect interaction layer, and the desktop window only displays static content (desktop icons and background pictures).
Subsequently, in step S220, an input event of the user on the desktop icon layer is received, the input event is filtered so as to filter out the input event of the user on the desktop file, and the remaining input events obtained after filtering are sent to the dynamic effect interaction layer so as to draw corresponding dynamic effect content on the dynamic effect interaction layer. Here, it should be noted that the input events remaining after filtering out the input events to the desktop file include input events to non-desktop files, and also include some invalid input events.
In step S230, according to an input event to a non-desktop file in the remaining input events, drawing corresponding animation content and performing a corresponding interactive operation action in an animation interaction layer. Here, the corresponding animation content and the corresponding interaction action are drawn at the animation interaction layer according to the type and the position information of the input event to the non-desktop file.
In one implementation, the type of input event includes a mouse input event, a keyboard input event, and the like, where the mouse input event includes, for example, a single click event, a double click event, a drag event, a frame selection event, a slide event, and the like.
It should be noted that the input event in the desktop icon layer includes an input event implemented by a user operating any area of the desktop icon layer (including the desktop icon area and the non-desktop icon area). The input event to the desktop file is an input event to the corresponding desktop file, which is realized by the user through operating the desktop icon displayed on the desktop icon layer. Accordingly, the remaining input events after the input event to the desktop file are filtered out, including the input event implemented by the user operating in the non-desktop icon area of the desktop icon layer, wherein some invalid input events may exist. For example, the events such as single-click or double-click performed by the user through the mouse on the desktop helper program, the desktop pet program, the dynamic wallpaper program, and the blank area, and the sliding events of the mouse on any area of the desktop icon layer are all the remaining input events obtained after filtering in the desktop icon layer.
The input event of the non-desktop file includes an input event of the non-desktop file that is implemented by a user through an operation in a non-desktop file region of the desktop icon layer, where the non-desktop file may be implemented as a desktop helper program, a desktop pet program, a dynamic wallpaper program, etc., but the present invention is not limited to a specific type of the non-desktop file.
It should be noted that the input operation of the desktop file is filtered through the desktop icon layer, on one hand, the input operation of the desktop file is preferentially ensured to be smoothly executed, and the desktop file cannot be operated because the desktop icon is shielded by the windows of non-desktop files such as a desktop assistant program, a desktop pet program and the like. On the other hand, the residual input events filtered by the desktop icon layer are transmitted to the dynamic effect interaction layer, corresponding dynamic effect content and interaction actions are drawn on the dynamic effect interaction layer according to the input events of the non-desktop files, so that animation effects of the non-desktop files such as helper programs, desktop pet programs and dynamic wallpaper programs can be drawn and presented in a full-screen-size dynamic effect interaction layer window area without being limited to be displayed in a small window, the dynamic effect interaction layer responds to mouse and keyboard operation events of the user on the non-desktop files, the animation effects can be displayed by clicking the dynamic wallpaper by the user, the problem that the dynamic wallpaper cannot receive the input events is solved, and the interaction interestingness is enhanced.
According to one embodiment, after one or more desktop icons are drawn on the desktop icon layer, the grid occupied by each desktop icon can be traversed on the desktop icon layer so as to obtain the occupied area of each desktop icon in the grid, and the occupied area of each desktop icon in the grid is used as the occupied area. Here, position information such as coordinates and size of the occupied area on the screen is determined, and then the position information such as the coordinates and size of the occupied area is sent to the dynamic effect interaction layer, so that dynamic effect content is drawn on the dynamic effect interaction layer based on the coordinates and size of the occupied area.
FIG. 4 illustrates a relationship diagram of a desktop icon layer 330 and an animation interaction layer 320 according to one embodiment of the invention. As shown in fig. 4, based on the grid occupied by each desktop icon in the desktop icon layer 330, the occupied area (black color block) of each desktop icon in the grid can be divided in the animation interaction layer 320 so as to draw animation contents outside the occupied area.
Specifically, when the dynamic effect interaction layer draws the dynamic effect content, whether the content drawing area of the dynamic effect interaction layer is shielded by the desktop icon of the desktop icon layer or not can be judged according to the coordinates and the size of the occupied area, if the content drawing area is shielded by the desktop icon of the desktop icon layer, the dynamic effect content is not drawn in the area, and if the content drawing area is not shielded by the desktop icon of the desktop icon layer, the dynamic effect content can be drawn in the area. That is, the area on the dynamic effect interaction layer that is not covered by the desktop icon can be determined according to the coordinates and the size of the occupied area, and the dynamic effect content is drawn in the area that is not covered by the desktop icon. Therefore, the method does not draw the dynamic effect content in the whole area of the dynamic effect interaction layer, but draws the dynamic effect content in the area which can be seen by the user, thereby reducing unnecessary icon rendering and being beneficial to reducing the occupation of system resources.
In addition, the edge area of the desktop icon can be determined according to the occupied area, and the dynamic effect content can be drawn on the dynamic effect interaction layer based on the edge area of the desktop icon. For example, when an event that a user operates on a desktop icon area and selects a desktop file is received, the corresponding desktop icon is positioned according to the grid of the selected desktop file, and animation effects such as streamer and the like are drawn in the edge area of the desktop icon, so that the selected desktop file is highlighted in a more cool manner.
In one embodiment, the animation display effect of the animation interaction layer may be expanded based on a plug-in dynamic library. Specifically, plug-in loading is realized by loading a plug-in dynamic library, a window of the dynamic effect interaction layer is obtained by calling an expansion interface provided by the plug-in, and various dynamic effect contents and interactive operation modes are drawn on the dynamic effect interaction layer, so that expansion of the dynamic effect contents of the dynamic effect interaction layer is realized. Therefore, free customization of the dynamic effect content and the interactive mode of the dynamic effect interaction layer is realized based on the expansion interface provided by the plug-in, so that the diversity and the attractiveness of the desktop window effect are improved.
According to the embodiment of the invention, the content of the braking effect drawn at the dynamic effect interaction layer can be realized in the following various forms:
full screen dynamic effect: and drawing the snowflake falling effect, the starry sky shining effect, the lake surface effect and the like in a window of the dynamic effect interaction layer, and drawing the animation effects of snowflake fragmentation, starry disappearance or water wave appearance and the like when an event that the snowflake, the starry or the lake surface in the blank area of the desktop is clicked by a mouse is received.
Local special effects: when an event that a user operates on a single machine in a desktop icon area and selects a desktop file is received, the corresponding desktop icon is positioned according to the grid of the selected desktop file, and animation effects such as streamer and the like are drawn in the edge area of the desktop icon, so that the selected desktop file is highlighted in a more cool mode.
The special effect of the pet is as follows: and drawing animation effects of small fish wandering in an area which is not shielded by the desktop icon on the animation interaction layer, wherein the small fish rapidly swims when an event that the small fish is clicked by the mouse is received, and the small fish slowly approaches the mouse pointer and circles around the pointer when the mouse is suspended.
Mouse special effects: when a mouse sliding event is received, animation effects such as water marks, scratches or star trailing are drawn on the animation interaction layer. When a mouse click event is received, animation effects such as water waves, glass cracks and the like are drawn on the animation effect interaction layer.
FIG. 5 shows a schematic diagram of a desktop display device 500 according to one embodiment of the invention. Desktop display 500 is disposed on an operating system of a computing device, such as computing device 100 described above. Wherein the desktop window 300 is adapted to be displayed on the screen of the computing device 100, the desktop window 300 includes a background layer 310, an animation interaction layer 320 disposed over the background layer, and a desktop icon layer 330 disposed over the animation interaction layer.
As shown in fig. 5, the desktop display apparatus 500 includes a background drawing unit 510, a filtering unit 520, and a dynamic effect drawing unit 530. The background drawing unit 510 may obtain a pre-configured background picture, and draw the background picture on the background layer 310. The filtering unit 520 may receive the input events at the desktop icon layer 330 and perform filtering processing on the input events to filter out the input events to the desktop file to obtain remaining input events, and then send the remaining input events to the animation interaction layer 320. The animation rendering unit 530 may render corresponding animation contents at the animation interaction layer 320 according to an input event to a non-desktop file among the remaining input events.
It should be noted that the background rendering unit 510 is configured to perform the aforementioned step S210, the filtering unit 520 is configured to perform the aforementioned step S220, and the dynamic effect rendering unit 530 is configured to perform the aforementioned step S230, and for specific processing logics of the background rendering unit 510, the filtering unit 520, and the dynamic effect rendering unit 530, reference is made to the description of the steps S210 to S230 in the method 200, which is not described herein again.
According to the desktop display scheme, the desktop window with the three-layer separation structure comprising the background layer, the dynamic effect interaction layer and the desktop icon layer is established, so that the desktop file and the non-desktop file are separated from each other, the input operation on the desktop file is filtered through the desktop icon layer, on one hand, the smooth execution of the input operation on the desktop file is preferentially ensured, and the animation effect of the non-desktop file can be drawn and presented in the window area of the dynamic effect interaction layer with the size of the full screen by transmitting the residual input events filtered through the desktop icon layer to the dynamic effect interaction layer and drawing the corresponding dynamic effect content and interaction action on the dynamic effect interaction layer according to the input events on the non-desktop file, so that the presentation effect of the desktop animation is enhanced. And the mouse and keyboard operation events of the non-desktop files are responded by the user based on the dynamic interaction layer, so that the interaction interest is enhanced.
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 thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, 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 execute the desktop display method of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store 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 readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, 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.
Those skilled in the art will appreciate that the modules or units or components of the 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 multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, 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 this description, will appreciate that other embodiments can be devised which do not depart from 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.

Claims (13)

1. A desktop display method, executed in a computing device adapted to display a desktop window on a screen of the computing device, the desktop window including a background layer, an animated interaction layer disposed over the background layer, and a desktop icon layer disposed over the animated interaction layer, the method comprising the steps of:
acquiring a pre-configured background picture, and drawing the background picture on the background layer;
receiving an input event on a desktop icon layer, filtering the input event to filter the input event of a desktop file, and sending the rest input events to an animation interaction layer; and
and drawing corresponding dynamic effect contents on the dynamic effect interaction layer according to the input events of the non-desktop files in the rest input events.
2. The method of claim 1, further comprising the steps of:
creating a background layer based on a screen resolution of the computing device;
creating a dynamic interaction layer above the background layer;
and creating a desktop icon layer above the dynamic effect interaction layer.
3. The method of claim 2, wherein after creating a desktop icon layer above the animation interaction layer, comprising the steps of:
determining the size of a grid according to the size of the desktop icon, and dividing the desktop icon layer into a plurality of grids arranged in multiple rows and multiple columns according to the size of the desktop icon layer and the size of the grid, wherein each grid is suitable for displaying one desktop icon;
acquiring desktop icons corresponding to one or more desktop files;
drawing one or more desktop icons into one or more grids respectively so as to display the one or more desktop icons on the desktop icon layer.
4. The method of claim 3, further comprising the steps of:
traversing grids occupied by each desktop icon on the desktop icon layer to obtain an occupied area of each desktop icon in the grids as an occupied area;
and sending the occupied area to an action interaction layer so as to draw action content in the action interaction layer based on the occupied area.
5. The method of claim 4, wherein the step of rendering the animation content at an animation interaction layer based on the occupied area comprises:
and determining an area which is not covered by the desktop icon on the dynamic effect interaction layer according to the occupied area, and drawing dynamic effect content in the area which is not covered by the desktop icon.
6. The method of claim 4, wherein the step of rendering the animation content at the animation interaction layer based on the occupied area further comprises:
and determining the edge area of the desktop icon according to the occupied area, and drawing the dynamic effect content on the dynamic effect interaction layer based on the edge area of the desktop icon.
7. The method according to any one of claims 1-6, further comprising the step of:
and loading the plug-in, and calling an expansion interface of the plug-in to draw the dynamic effect content on the dynamic effect interaction layer.
8. The method of any one of claims 1-6,
the types of the input events comprise mouse input events and keyboard input events;
the mouse input event comprises one or more of a single click event, a double click event, a drag event, a frame selection event and a sliding event.
9. The method of any one of claims 1-6,
the non-desktop files include one or more of a desktop helper program, a desktop pet program, and a dynamic wallpaper program.
10. The method of any one of claims 1-6,
the dynamic effect interaction layer and the desktop icon layer are both transparent backgrounds.
11. A desktop display apparatus residing in a computing device adapted to display a desktop window on a screen of the computing device, the desktop window including a background layer, a dynamic effect interaction layer disposed over the background layer, and a desktop icon layer disposed over the dynamic effect interaction layer, the apparatus comprising:
the background drawing unit is used for acquiring a preset background picture and drawing the background picture on the background layer;
the filtering unit is used for receiving the input events on the desktop icon layer, filtering the input events to filter the input events of the desktop files and sending the rest input events to the dynamic interaction layer; and
and the dynamic effect drawing unit is used for drawing corresponding dynamic effect contents on the dynamic effect interaction layer according to the input events to the non-desktop files in the rest input events.
12. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-10.
13. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-10.
CN202111437228.3A 2021-11-30 2021-11-30 Desktop display method and device and computing equipment Active CN113849096B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111437228.3A CN113849096B (en) 2021-11-30 2021-11-30 Desktop display method and device and computing equipment
CN202210449775.1A CN114816162A (en) 2021-11-30 2021-11-30 Desktop display method and device and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111437228.3A CN113849096B (en) 2021-11-30 2021-11-30 Desktop display method and device and computing equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202210449775.1A Division CN114816162A (en) 2021-11-30 2021-11-30 Desktop display method and device and computing equipment

Publications (2)

Publication Number Publication Date
CN113849096A true CN113849096A (en) 2021-12-28
CN113849096B CN113849096B (en) 2022-06-24

Family

ID=78982292

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210449775.1A Pending CN114816162A (en) 2021-11-30 2021-11-30 Desktop display method and device and computing equipment
CN202111437228.3A Active CN113849096B (en) 2021-11-30 2021-11-30 Desktop display method and device and computing equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202210449775.1A Pending CN114816162A (en) 2021-11-30 2021-11-30 Desktop display method and device and computing equipment

Country Status (1)

Country Link
CN (2) CN114816162A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114510307A (en) * 2022-01-28 2022-05-17 统信软件技术有限公司 Dynamic wallpaper implementation method, computing device and storage medium
CN115086739A (en) * 2022-06-07 2022-09-20 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789989A (en) * 2009-09-11 2010-07-28 天津华永无线科技有限公司 Mobile phone display system and method for realizing interactive animation theme
CN102221996A (en) * 2011-05-20 2011-10-19 广州市久邦数码科技有限公司 Implementation method for performing interaction between dynamic wallpaper and desktop component
CN103389855A (en) * 2013-07-11 2013-11-13 广东欧珀移动通信有限公司 Mobile terminal interacting method and device
US20150089359A1 (en) * 2013-09-25 2015-03-26 At&T Mobility Ii Llc Intelligent Adaptation of Home Screens
CN107728883A (en) * 2017-10-19 2018-02-23 惠州Tcl移动通信有限公司 A kind of adjust automatically desk-top picture calibration method, mobile terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789989A (en) * 2009-09-11 2010-07-28 天津华永无线科技有限公司 Mobile phone display system and method for realizing interactive animation theme
CN102221996A (en) * 2011-05-20 2011-10-19 广州市久邦数码科技有限公司 Implementation method for performing interaction between dynamic wallpaper and desktop component
CN103389855A (en) * 2013-07-11 2013-11-13 广东欧珀移动通信有限公司 Mobile terminal interacting method and device
US20150089359A1 (en) * 2013-09-25 2015-03-26 At&T Mobility Ii Llc Intelligent Adaptation of Home Screens
CN107728883A (en) * 2017-10-19 2018-02-23 惠州Tcl移动通信有限公司 A kind of adjust automatically desk-top picture calibration method, mobile terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114510307A (en) * 2022-01-28 2022-05-17 统信软件技术有限公司 Dynamic wallpaper implementation method, computing device and storage medium
CN114510307B (en) * 2022-01-28 2024-01-23 统信软件技术有限公司 Dynamic wallpaper implementation method, computing device and storage medium
CN115086739A (en) * 2022-06-07 2022-09-20 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium
CN115086739B (en) * 2022-06-07 2024-01-30 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114816162A (en) 2022-07-29
CN113849096B (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN113849096B (en) Desktop display method and device and computing equipment
CN107590006B (en) Document handling method, device and mobile terminal
CN108089786A (en) Method for displaying user interface, device, equipment and storage medium
US8839142B2 (en) Desktop system object removal
US9620084B2 (en) Method and apparatus of graphical object selection in a web browser
US9715750B2 (en) System and method for layering using tile-based renderers
CN110377263B (en) Image synthesis method, image synthesis device, electronic equipment and storage medium
CN108804190A (en) Method for displaying user interface, device, terminal and storage medium
CN109542382B (en) Display method of handwriting input content, electronic equipment and computer storage medium
CN111459586A (en) Remote assistance method, device, storage medium and terminal
CN107562321A (en) Using installation method, device and terminal
WO2015180448A1 (en) Method and device for switching playing mode of mobile terminal, storage medium and program
AU2022203975A1 (en) Collaborative group video production system
CN111538697A (en) Page turning processing method of electronic book, electronic equipment and computer storage medium
CN113688341B (en) Dynamic picture decomposition method and device, electronic equipment and readable storage medium
CN106681590B (en) Method and device for displaying screen content of driving recording device
CN110197459B (en) Image stylization generation method and device and electronic equipment
CN112463250A (en) Video processing method and computing device
CN111460342B (en) Page rendering display method and device, electronic equipment and computer storage medium
CN113721814B (en) Electronic book page display method, computing equipment and computer storage medium
CN109933260A (en) Know screen method, apparatus, terminal and storage medium
CN114265539B (en) Data display method, computing device and readable storage medium
CN113791857B (en) Application window background fuzzy processing method and device in Linux system
CN111198731A (en) Interface implementation method and device, electronic equipment and storage medium
US20120042268A1 (en) Processing user interfaces

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