CN111880880A - Interaction method, device, equipment and storage medium for dynamic wallpaper and desktop - Google Patents
Interaction method, device, equipment and storage medium for dynamic wallpaper and desktop Download PDFInfo
- Publication number
- CN111880880A CN111880880A CN202010724940.0A CN202010724940A CN111880880A CN 111880880 A CN111880880 A CN 111880880A CN 202010724940 A CN202010724940 A CN 202010724940A CN 111880880 A CN111880880 A CN 111880880A
- Authority
- CN
- China
- Prior art keywords
- area
- dynamic wallpaper
- desktop
- state
- visible window
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000003993 interaction Effects 0.000 title claims abstract description 20
- 230000008859 change Effects 0.000 claims description 18
- 230000002452 interceptive effect Effects 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 8
- 238000005096 rolling process Methods 0.000 description 8
- 241000282326 Felis catus Species 0.000 description 3
- 241001465754 Metazoa Species 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
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 embodiment of the invention discloses a method, a device, equipment and a storage medium for interaction between dynamic wallpaper and a desktop. The method comprises the following steps: determining a visible window on the current desktop based on a preset time interval; merging the visible windows on the current desktop, and determining the visible window area on the current desktop; and adjusting the state of the dynamic wallpaper on the current desktop based on the display state of the visible window area on the current desktop. The effect of automatically controlling the state switching of the dynamic wallpaper based on the current visible window area of the desktop is achieved.
Description
Technical Field
The embodiment of the invention relates to the Internet technology, in particular to a method, a device, equipment and a storage medium for interaction between dynamic wallpaper and a desktop.
Background
Dynamic wallpaper, which is a dynamic wallpaper program and is now the most common application on the user side, replaces the original static wallpaper with dynamic pictures, such as flowing water, twigs, swaying animals, etc., and also with pages, videos, etc., giving a pleasant feeling.
At present, the behavior of the dynamic wallpaper of the desktop is usually controlled by mouse dragging or a keyboard at a client, for example, the dynamic wallpaper is a kitten, when a user drags the kitten with a mouse, the kitten opens eyes, when the user clicks the kitten with the mouse, the kitten closes the eyes, and the dynamic wallpaper cannot be automatically switched in such a manner, so that the user is disturbed frequently, and good user experience cannot be obtained.
Disclosure of Invention
The embodiment of the invention provides an interaction method, device, equipment and storage medium for dynamic wallpaper and a desktop, and aims to achieve the effect of automatically controlling the state switching of the dynamic wallpaper based on a current visible window area of the desktop.
In a first aspect, an embodiment of the present invention provides an interaction method for a dynamic wallpaper and a desktop, where the method includes:
determining a visible window on the current desktop based on a preset time interval;
merging the visible windows on the current desktop, and determining the visible window area on the current desktop;
and adjusting the state of the dynamic wallpaper on the current desktop based on the display state of the visible window area on the current desktop.
In a second aspect, an embodiment of the present invention further provides an apparatus for interaction between a dynamic wallpaper and a desktop, where the apparatus includes:
the visible window determining module is used for determining a visible window on the current desktop based on a preset time interval;
the visible window area determining module is used for combining the visible windows on the current desktop and determining the visible window area on the current desktop;
and the dynamic wallpaper state determination module is used for adjusting the state of the dynamic wallpaper on the current desktop based on the display state of the visible window area on the current desktop.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for interacting the dynamic wallpaper with the desktop according to any one of the embodiments of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a storage medium containing computer executable instructions, which when executed by a computer processor, are used to execute the method for interaction between dynamic wallpaper and a desktop according to any one of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, the visible window on the current desktop is determined based on the preset time interval; merging the visible windows on the current desktop, and determining the visible window area on the current desktop; the state of the dynamic wallpaper on the current desktop is adjusted based on the display state of the visible window area on the current desktop, the problem that the state of the dynamic wallpaper cannot be controlled based on the window visibility of the desktop in the prior art is solved, and the effect of automatically controlling the state switching of the dynamic wallpaper based on the current visible window area of the desktop is achieved.
Drawings
FIG. 1 is a flowchart illustrating a method for interacting dynamic wallpaper with a desktop according to a first embodiment of the invention;
FIG. 2 is a schematic view of a visible window in accordance with a first embodiment of the present invention;
fig. 3 is a schematic view of the visible window area determination in the first embodiment of the present invention;
FIG. 4 is a flowchart of a method for interacting dynamic wallpaper with a desktop according to a second embodiment of the invention;
FIG. 5 is a diagram illustrating adjusting the status of the dynamic wallpaper based on the occlusion ratio according to a second embodiment of the invention;
fig. 6 is a schematic diagram of determination of the remaining window area in the second embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an interactive device of a dynamic wallpaper and a desktop according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an interaction method of a dynamic wallpaper and a desktop according to an embodiment of the present invention, where the embodiment is applicable to a situation in which a state of the dynamic wallpaper is controlled based on a display area of the desktop, the method may be executed by an interaction apparatus of the dynamic wallpaper and the desktop, the interaction apparatus of the dynamic wallpaper and the desktop may be implemented by software and/or hardware, and the interaction apparatus of the dynamic wallpaper and the desktop may be configured on a computing device, and specifically includes the following steps:
and S110, determining the visible window on the current desktop based on a preset time interval.
Illustratively, the preset time interval may be a preset time interval, for example, may be 5 minutes, 10 minutes, and so on. The current desktop may be a currently used desktop of an operating system, where the operating system may be a client, a cell phone, or a tablet. The visible window may be a window currently opened in a current desktop of the operating system, for example, referring to the schematic view of the visible window described in fig. 2, if a user opens a word document at a computer, the currently opened word document window is the visible window, that is, a in fig. 2 is the visible window.
It should be noted that, as shown in fig. 2, when determining the visible window on the current desktop, the minimized and hidden windows need to be eliminated, that is, the minimized window (B in fig. 2) is not the visible window, and the hidden window in the resource manager of the operating system is not the visible window. Only windows that are open on the current desktop of the operating system and that are displayed on the current desktop are visible windows.
Counting the visible window on the current desktop at preset time intervals so as to determine the state change of the dynamic wallpaper based on the visible window on the current desktop.
And S120, combining the visible window on the current desktop, and determining the visible window area on the current desktop.
Illustratively, the visible window area determination scheme described with reference to fig. 3 may be the area formed by all visible windows on the current desktop at the current time. And performing aggregate calculation on the current time and all visible windows on the current desktop to obtain a visible window area on the current desktop at the current time. Such that subsequent adjustments to the change in state of the dynamic wallpaper are made based on the visible window area.
S130, adjusting the state of the dynamic wallpaper on the current desktop based on the display state of the visible window area on the current desktop.
For example, the display state of the visible window region may be a current display condition of the visible window region on the current desktop, and may be, for example, an area of the visible window region on the current desktop, a position of the visible window region on the current desktop, and the like. The state of the dynamic wallpaper may be at least one of a morphology, an action, a color, and a brightness of the dynamic wallpaper.
The state of the dynamic wallpaper on the current desktop may be adjusted according to the display state of the visible window area on the current desktop, for example, when the display state of the visible window area is in a certain state, the eyes of a small animal on the dynamic wallpaper on the current desktop are open, the tail swings, or the color of a certain part of the picture on the dynamic wallpaper changes to red, etc. When the display state of the visible window area is in another state, the eyes of a small animal on the dynamic wallpaper on the current desktop are closed, the tail stops swinging, or the color of a certain part of the picture on the dynamic wallpaper changes to yellow, etc.
Therefore, the state of the dynamic wallpaper on the current desktop can be adjusted based on the display state of the visible window area on the current desktop, the problem that the state of the dynamic wallpaper cannot be controlled based on the window visibility of the desktop in the prior art is solved, and the effect of automatically controlling the state switching of the dynamic wallpaper based on the current visible window area of the desktop is achieved.
According to the technical scheme of the embodiment of the invention, the visible window on the current desktop is determined based on the preset time interval; merging the visible windows on the current desktop, and determining the visible window area on the current desktop; the state of the dynamic wallpaper on the current desktop is adjusted based on the display state of the visible window area on the current desktop, the problem that the state of the dynamic wallpaper cannot be controlled based on the window visibility of the desktop in the prior art is solved, and the effect of automatically controlling the state switching of the dynamic wallpaper based on the current visible window area of the desktop is achieved.
Example two
Fig. 4 is a flowchart of an interaction method of dynamic wallpaper and a desktop according to a second embodiment of the present invention, and the second embodiment of the present invention and various alternatives in the foregoing embodiments may be combined. In this embodiment of the present invention, optionally, the adjusting the state of the dynamic wallpaper on the current desktop based on the display state of the visible window area on the current desktop includes: determining the shielding proportion of the dynamic wallpaper and/or the shielding positions of all elements in the dynamic wallpaper based on the area of the visible window area, the position of the visible window area, the area of the dynamic wallpaper and the position of the dynamic wallpaper, and adjusting the state of the dynamic wallpaper on the current desktop based on the shielding proportion and/or the shielding positions; or adjusting the state of the dynamic wallpaper on the current desktop based on the area of the visible window region and the area of the current desktop region.
As shown in fig. 4, the method of the embodiment of the present invention specifically includes the following steps:
and S210, determining a visible window on the current desktop based on a preset time interval.
S220, combining the visible window on the current desktop, and determining the visible window area on the current desktop.
S230, determining the shielding proportion of each element in the dynamic wallpaper and/or the shielding position of each element in the dynamic wallpaper based on the area of the visible window area, the position of the visible window area, the area of the dynamic wallpaper and the position of each element in the dynamic wallpaper, and adjusting the state of each element in the dynamic wallpaper on the current desktop based on the shielding proportion and/or the shielding position; or adjusting the state of the dynamic wallpaper on the current desktop based on the area of the visible window region and the area of the current desktop region.
For example, the area of the visible window area may be the area occupied by the visible window area on the current desktop. The location of the visible window area may be the specific location of the visible window area on the current desktop. The area of each element in the dynamic wallpaper may be the area occupied by the dynamic wallpaper on the current desktop. The location of each element in the dynamic wallpaper may be a specific location of each element in the dynamic wallpaper on the current desktop. The element in the dynamic wallpaper may be an element in the dynamic wallpaper on the desktop, which may be subjected to a state change, for example, the wallpaper on the desktop is the dynamic wallpaper, and if there is a kitten on the dynamic wallpaper, which may be subjected to a state change, then the kitten is the element in the dynamic wallpaper.
The shielding proportion can be determined according to the area of the visible window area, the position of the visible window area, the area of each element in the dynamic wallpaper and the position of each element in the dynamic wallpaper.
The shielding proportion can also be determined according to the area of the visible window area, the position of the visible window area, the hot area value of each element in the dynamic wallpaper and the position of each element in the dynamic wallpaper.
The occlusion position may be a position where individual elements in the dynamic wallpaper are occluded. For example, taking an element in the dynamic wallpaper as a kitten as an example, the visible window area may block the eyes, nose, tail, etc. of the kitten.
The state of each element in the dynamic wallpaper on the current desktop can be adjusted according to the shielding proportion and/or shielding position of each element in the dynamic wallpaper; or the state of the dynamic wallpaper on the current desktop is adjusted based on the area of the visible window area and the area of the current desktop area, so that the effect of automatically adjusting the state of the dynamic wallpaper based on the visibility of the window of the current desktop is achieved.
Optionally, based on the occlusion ratio, adjusting the state of each element in the dynamic wallpaper on the current desktop may specifically be: when the shielding proportion is larger than a preset shielding threshold value, adjusting the state change of each element in the dynamic wallpaper; or when the shielding proportion is larger than a preset shielding threshold value, adjusting the state change of each element in the dynamic wallpaper in the visible window area, and keeping the state of each element in the dynamic wallpaper in the residual desktop area unchanged.
For example, the preset occlusion threshold may be a preset occlusion threshold, for example, 50%, that is, when the occlusion ratio is greater than the preset occlusion threshold, the state of the dynamic wallpaper is one state, and when the occlusion ratio is less than the preset occlusion threshold, the state of the dynamic wallpaper is another state.
For example, referring to fig. 5, which is a schematic diagram for adjusting states of elements in a dynamic wallpaper based on an occlusion ratio, where a cartoon character is located at a certain position of a current desktop in fig. 5, the cartoon character is an element in the dynamic wallpaper, and according to an area of a visible window area, a position of the visible window area, an area of the cartoon character in the dynamic wallpaper, and a position of the cartoon character in the dynamic wallpaper, as shown in a of fig. 5, when the occlusion ratio of the visible window area to the cartoon character is greater than or equal to 50% of the cartoon character, eyes of the cartoon character are closed, and when the occlusion ratio of the visible window area to the cartoon character is less than 50% of the cartoon character, eyes of the cartoon character are open (as shown in b of fig. 5). Alternatively, when the ratio of the shielding of the visible window area from the hot area value of the cartoon character is greater than or equal to 50% of the cartoon character, the eyes of the cartoon character are closed, and when the ratio of the shielding of the visible window area from the hot area value of the cartoon character is less than 50% of the cartoon character, the eyes of the cartoon character are open.
For another example, in addition to the state change of the dynamic wallpaper in the above example, a cat with a full dynamic wallpaper may be taken as an example, and when the area of the visible window region blocks more than 50% (including 50%) of the area of the dynamic wallpaper on the current desktop, the eyes of the cat blocked by the visible window region are closed, and the eyes of the cat not blocked by the visible window region are opened. When the area of the visible window area blocks less than 50% of the area of the dynamic wallpaper on the current desktop, the eyes of both the kitten blocked by the visible window area and the kitten not blocked by the visible window area are open.
It should be noted that, specifically, when the state of each element in the dynamic wallpaper is determined based on the shielding ratio, it may be set by the user according to the user's requirement that when the shielding ratio is a certain value, each element in the dynamic wallpaper has a corresponding state, which is not necessarily the corresponding situation of the shielding ratio listed in the above embodiment and the state change of each element in the dynamic wallpaper, for example, when the area of the visible window region is shielded by less than 50% of the area of the dynamic wallpaper on the current desktop, the eyes of the kitten blocked by the visible window region and the kitten not blocked by the visible window region are both closed. These can be set according to the user's needs, and are not limited herein.
Optionally, based on the occlusion position, the state of each element in the dynamic wallpaper on the current desktop is adjusted, for example, taking the element in the dynamic wallpaper as the cartoon character in fig. 5, when the visible window area occludes the eyes of the cartoon character, the cartoon character may close the eyes, and when the visible window area occludes the nose of the cartoon character, the kitten may not close the eyes. When the visible window obscures the limbs of the cartoon character, the cartoon character may close the limbs together, and so on.
Optionally, adjusting the state of the dynamic wallpaper on the current desktop based on the area of the visible window region and the area of the current desktop region may specifically be: performing difference set calculation on the visible window area and the current desktop area to determine a residual desktop area; when the area of the residual desktop area is larger than a preset threshold value, adjusting the state of the dynamic wallpaper on the current desktop to be unchanged; or adjusting the state change of the dynamic wallpaper of the residual desktop area based on the area of the residual desktop area and the area of the visible window area, wherein the state of the dynamic wallpaper of the visible window area is unchanged.
For example, referring to the schematic diagram of determining the remaining window area described in fig. 6, the remaining desktop area may be a naked area on the current desktop obtained by performing difference set calculation on the current desktop area and the visible window area. This may allow for subsequent adjustment of the state of the dynamic wallpaper on the current desktop based on the remaining desktop area.
The preset threshold may be a value set in advance, and may be 50%, for example. When greater than the value, the state of the dynamic wallpaper is one state, and when less than the value, the state of the dynamic wallpaper is the other state.
For example, taking dynamic wallpaper as a dynamically changeable sea wave as an example, the current state of the dynamic wallpaper is a rolling wave state, and when the area of the remaining desktop area is greater than 50%, that is, the area of the remaining desktop area is greater than 50% of the area of the current desktop area, the rolling state of the sea wave is unchanged; when the area of the residual desktop area is less than or equal to 50% of the area of the current desktop area, the state of the sea waves is adjusted to be a calm state from a rolling state.
For another example, in addition to the state change of the dynamic wallpaper in the above example, the dynamic wallpaper may be a wave that can be dynamically changed, and the current state of the dynamic wallpaper is a rolling wave state. No matter the ratio of the area of the residual desktop area to the area of the current desktop area, as long as the sea waves are in the residual desktop area, the rolling state of the sea waves in the area is unchanged, and the sea wave state in the window area is adjusted to be in a calm state from the rolling state.
It should be noted that, specifically, when the state of the dynamic wallpaper is determined according to the area of the remaining desktop region, the dynamic wallpaper may be set by a user according to a requirement, and when the area of the remaining desktop region is a certain threshold, the dynamic wallpaper has a corresponding state, which is not necessarily a corresponding situation of the change of the state of the dynamic wallpaper and the area of the remaining desktop region listed in the above embodiment, for example, the dynamic wallpaper may also be controlled to change the current state when the area of the remaining desktop region is a certain threshold, for example, when the area of the remaining desktop region is 50% of the area of the current desktop region, for example, if the current state of the dynamic wallpaper (sea wave) is a rolling state, when the area of the remaining desktop region is 50% of the area of the current desktop region, the sea wave is adjusted from the rolling state to a flat state. These can be set according to the user's needs, and are not limited herein.
According to the technical scheme of the embodiment of the invention, the shielding proportion of each element in the dynamic wallpaper and/or the shielding position of each element in the dynamic wallpaper are determined based on the area of the visible window area, the position of the visible window area, the area of the dynamic wallpaper and the position of each element in the dynamic wallpaper, and the state of the dynamic wallpaper on the current desktop is adjusted based on the shielding proportion and/or the shielding position; or adjusting the state of the dynamic wallpaper on the current desktop based on the area of the visible window area and the area of the current desktop area, so that the effect of automatically adjusting the state of the dynamic wallpaper based on the visibility of the window of the current desktop is achieved.
EXAMPLE III
Fig. 7 is a schematic structural diagram of an interactive device of dynamic wallpaper and a desktop according to a third embodiment of the present invention, as shown in fig. 7, the device includes: a visible window determination module 31, a visible window area determination module 32 and a dynamic wallpaper state determination module 33.
The visible window determining module 31 is configured to determine a visible window on a current desktop based on a preset time interval;
a visible window area determining module 32, configured to merge the visible windows on the current desktop, and determine a visible window area on the current desktop;
a dynamic wallpaper state determination module 33, configured to adjust a state of dynamic wallpaper on the current desktop based on a display state of the visible window area on the current desktop.
On the basis of the technical scheme of the embodiment, the device further comprises:
and the rejecting module is used for rejecting the minimized and hidden window.
On the basis of the technical solution of the above embodiment, the dynamic wallpaper state determination module 33 includes:
a first dynamic wallpaper state determining unit, configured to determine, based on an area of the visible window region, a position of the visible window region, an area of each element in the dynamic wallpaper, and a position of each element in the dynamic wallpaper, an occlusion ratio of each element in the dynamic wallpaper, and/or an occlusion position of each element in the dynamic wallpaper, and adjust, based on the occlusion ratio and/or the occlusion position, a state of each element in the dynamic wallpaper on the current desktop; alternatively, the first and second electrodes may be,
and the second dynamic wallpaper state determining unit is used for adjusting the state of the dynamic wallpaper on the current desktop based on the area of the visible window area and the area of the current desktop area.
On the basis of the technical solution of the above embodiment, the dynamic wallpaper state first determination unit is specifically configured to:
when the shielding proportion is larger than a preset shielding threshold value, adjusting the state change of each element in the dynamic wallpaper; alternatively, the first and second electrodes may be,
and when the shielding proportion is larger than a preset shielding threshold value, adjusting the state change of each element in the dynamic wallpaper in the visible window area, and keeping the state of each element in the dynamic wallpaper in the area except the visible window area in the current desktop area unchanged.
On the basis of the technical solution of the above embodiment, the dynamic wallpaper state second determination unit is specifically configured to:
performing difference set calculation on the visible window area and the current desktop area to determine a residual desktop area;
when the area of the residual desktop area is larger than a preset threshold value, adjusting the state of the dynamic wallpaper on the current desktop to be unchanged; alternatively, the first and second electrodes may be,
and adjusting the state change of the dynamic wallpaper of the residual desktop area based on the area of the residual desktop area and the area of the visible window area, wherein the state of the dynamic wallpaper of the visible window area is unchanged.
Optionally, the state of the dynamic wallpaper includes: at least one of shape, motion, color, brightness and darkness.
The interaction device of the dynamic wallpaper and the desktop provided by the embodiment of the invention can execute the interaction method of the dynamic wallpaper and the desktop provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 8 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention, as shown in fig. 8, the apparatus includes a processor 70, a memory 71, an input device 72, and an output device 73; the number of processors 70 in the device may be one or more, and one processor 70 is taken as an example in fig. 8; the processor 70, the memory 71, the input device 72 and the output device 73 of the apparatus may be connected by a bus or other means, as exemplified by the bus connection in fig. 8.
The memory 71 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 71 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 71 may further include memory located remotely from the processor 70, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 72 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 73 may include a display device such as a display screen.
EXAMPLE five
The fifth embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are used for executing a method for interaction between dynamic wallpaper and a desktop.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the method for interacting dynamic wallpaper with a desktop provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the interactive apparatus for dynamic wallpaper and desktop, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A method for interaction between dynamic wallpaper and a desktop is characterized by comprising the following steps:
determining a visible window on the current desktop based on a preset time interval;
merging the visible windows on the current desktop, and determining the visible window area on the current desktop;
and adjusting the state of the dynamic wallpaper on the current desktop based on the display state of the visible window area on the current desktop.
2. The method of claim 1, further comprising, after the determining the visible window on the current desktop based on the preset time interval:
the minimized and hidden windows are culled.
3. The method of claim 1, wherein said adjusting the state of the dynamic wallpaper on the current desktop based on the display state of the visible window area on the current desktop comprises:
determining the shielding proportion of each element in the dynamic wallpaper and/or the shielding position of each element in the dynamic wallpaper based on the area of the visible window area, the position of the visible window area, the area of each element in the dynamic wallpaper and the position of each element in the dynamic wallpaper, and adjusting the state of each element in the dynamic wallpaper on the current desktop based on the shielding proportion and/or the shielding position; alternatively, the first and second electrodes may be,
adjusting a state of dynamic wallpaper on the current desktop based on the area of the visible window region and the area of the current desktop region.
4. The method of claim 3, wherein the adjusting the state of each element in the dynamic wallpaper on the current desktop based on the occlusion ratio comprises:
when the shielding proportion is larger than a preset shielding threshold value, adjusting the state change of each element in the dynamic wallpaper; alternatively, the first and second electrodes may be,
and when the shielding proportion is larger than a preset shielding threshold value, adjusting the state change of each element in the dynamic wallpaper in the visible window area, and keeping the state of each element in the dynamic wallpaper in the area except the visible window area in the current desktop area unchanged.
5. The method of claim 3, wherein adjusting the state of the dynamic wallpaper on the current desktop based on the area of the visible window region and the area of the current desktop region comprises:
performing difference set calculation on the visible window area and the current desktop area to determine a residual desktop area;
when the area of the residual desktop area is larger than a preset threshold value, adjusting the state of the dynamic wallpaper on the current desktop to be unchanged; alternatively, the first and second electrodes may be,
and adjusting the state change of the dynamic wallpaper of the residual desktop area based on the area of the residual desktop area and the area of the visible window area, wherein the state of the dynamic wallpaper of the visible window area is unchanged.
6. The method of claim 1, wherein the state of the dynamic wallpaper comprises: at least one of shape, motion, color, brightness and darkness.
7. An interactive device of dynamic wallpaper and a desktop, comprising:
the visible window determining module is used for determining a visible window on the current desktop based on a preset time interval;
the visible window area determining module is used for combining the visible windows on the current desktop and determining the visible window area on the current desktop;
and the dynamic wallpaper state determination module is used for adjusting the state of the dynamic wallpaper on the current desktop based on the display state of the visible window area on the current desktop.
8. The apparatus of claim 7, further comprising:
and the rejecting module is used for rejecting the minimized and hidden window.
9. An apparatus, characterized in that the apparatus comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of interacting dynamic wallpaper with a desktop as recited in any of claims 1-6.
10. A storage medium containing computer-executable instructions for performing the method of dynamic wallpaper interaction with a desktop as claimed in any one of claims 1-6 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010724940.0A CN111880880A (en) | 2020-07-24 | 2020-07-24 | Interaction method, device, equipment and storage medium for dynamic wallpaper and desktop |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010724940.0A CN111880880A (en) | 2020-07-24 | 2020-07-24 | Interaction method, device, equipment and storage medium for dynamic wallpaper and desktop |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111880880A true CN111880880A (en) | 2020-11-03 |
Family
ID=73202031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010724940.0A Pending CN111880880A (en) | 2020-07-24 | 2020-07-24 | Interaction method, device, equipment and storage medium for dynamic wallpaper and desktop |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111880880A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112684965A (en) * | 2020-12-28 | 2021-04-20 | 上海米哈游天命科技有限公司 | Dynamic wallpaper state changing method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102221996A (en) * | 2011-05-20 | 2011-10-19 | 广州市久邦数码科技有限公司 | Implementation method for performing interaction between dynamic wallpaper and desktop component |
CN102460344A (en) * | 2009-06-19 | 2012-05-16 | 莫门特美国股份有限公司 | Systems and methods for dynamic background user interface(s) |
CN103389855A (en) * | 2013-07-11 | 2013-11-13 | 广东欧珀移动通信有限公司 | Mobile terminal interacting method and device |
CN103870124A (en) * | 2014-03-03 | 2014-06-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104216760A (en) * | 2013-05-29 | 2014-12-17 | 腾讯科技(深圳)有限公司 | Method and device for interaction of dynamic wallpaper and system desktop |
WO2015024446A1 (en) * | 2013-08-21 | 2015-02-26 | Tencent Technology (Shenzhen) Company Limited | Systems and methods for dynamic wall paper for mobile terminals |
CN105787036A (en) * | 2016-02-25 | 2016-07-20 | 广州神马移动信息科技有限公司 | Method and device for controlling page content to update |
CN107967156A (en) * | 2016-10-18 | 2018-04-27 | 北京众纳鑫海网络技术有限公司 | The background video control method and device of computer video desktop |
-
2020
- 2020-07-24 CN CN202010724940.0A patent/CN111880880A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102460344A (en) * | 2009-06-19 | 2012-05-16 | 莫门特美国股份有限公司 | Systems and methods for dynamic background user interface(s) |
CN102221996A (en) * | 2011-05-20 | 2011-10-19 | 广州市久邦数码科技有限公司 | Implementation method for performing interaction between dynamic wallpaper and desktop component |
CN104216760A (en) * | 2013-05-29 | 2014-12-17 | 腾讯科技(深圳)有限公司 | Method and device for interaction of dynamic wallpaper and system desktop |
CN103389855A (en) * | 2013-07-11 | 2013-11-13 | 广东欧珀移动通信有限公司 | Mobile terminal interacting method and device |
WO2015024446A1 (en) * | 2013-08-21 | 2015-02-26 | Tencent Technology (Shenzhen) Company Limited | Systems and methods for dynamic wall paper for mobile terminals |
CN103870124A (en) * | 2014-03-03 | 2014-06-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105787036A (en) * | 2016-02-25 | 2016-07-20 | 广州神马移动信息科技有限公司 | Method and device for controlling page content to update |
CN107967156A (en) * | 2016-10-18 | 2018-04-27 | 北京众纳鑫海网络技术有限公司 | The background video control method and device of computer video desktop |
Non-Patent Citations (1)
Title |
---|
金晖: "《网站与手机App原型设计》", 华南理工大学出版社, pages: 1 - 13 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112684965A (en) * | 2020-12-28 | 2021-04-20 | 上海米哈游天命科技有限公司 | Dynamic wallpaper state changing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111147770B (en) | Multi-channel video window superposition display method, electronic equipment and storage medium | |
US6052130A (en) | Data processing system and method for scaling a realistic object on a user interface | |
US7721223B2 (en) | Application sharing user interface improvements | |
US20090096810A1 (en) | Method for selectively remoting windows | |
CN105119809A (en) | Dynamic information display method and device | |
US20100083192A1 (en) | Variable screen magnifier user interface | |
CN111813308B (en) | Interface processing method and device, electronic equipment and storage medium | |
CN109800041B (en) | Method and device for realizing small program background blurring, electronic equipment and storage medium | |
CN107908604B (en) | Report form graph generation method and device, computer equipment and storage medium | |
CN111880879B (en) | Playing method, device, equipment and storage medium of dynamic wallpaper | |
WO2022194003A1 (en) | Screen capture method and apparatus, electronic device, and readable storage medium | |
US20150082199A1 (en) | Document viewing mechanism for document sharing environment | |
CN102065336B (en) | Digital television receiver and method for determining multistage window shearing relation of digital television receiver | |
CN113655999A (en) | Rendering method, device and equipment of page control and storage medium | |
CN108008876B (en) | Display method, device and equipment of floating window and storage medium | |
CN111880880A (en) | Interaction method, device, equipment and storage medium for dynamic wallpaper and desktop | |
CN114356479B (en) | Page rendering method and device | |
CN116418871A (en) | Optimization system and method for data visualization large screen display control | |
CN113657518B (en) | Training method, target image detection method, device, electronic device, and medium | |
WO2022174517A1 (en) | Crowd counting method and apparatus, computer device and storage medium | |
CN114863008B (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN110928622B (en) | Picture display state adjusting method and device and electronic equipment | |
CN115442650B (en) | Barrage information processing method and device, barrage information processing equipment and storage medium | |
CN112543249B (en) | Screen display method, device, terminal and storage medium | |
US12014019B2 (en) | Display method, apparatus and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |