Patent ID: 9354775
Filing Date: 2016-05-31
CPC Classification: G06F

Claim Text:
1. An interaction method for a dynamic wallpaper and a desktop component, including the steps of: 1) providing a dynamic wallpaper on a terminal screen, with the dynamic wallpaper including a background image and a number of attached images, and providing at least one desktop component on the terminal screen; 2) providing a screen capturing module, for capturing the background image loaded with the at least one desktop component to form a buffer file, and coding the same as an image format for storage; 3) providing an edge detection module for performing pixel scanning comparison on the background image and the stored buffer image in step 2), wherein a Cartesian coordinate system is used to express the background image and the buffer image respectively, so that the pixel of the image corresponds to the coordinate value, further wherein according to the coordinate value corresponding to each pixel, comparing the color component ARGB of the pixels of the background image and the buffer image that are of the same coordinate value; 4) circularly performing step 3) until the edge location data of the at least one desktop component is obtained; 5) according to the edge location data of the at least one desktop component obtained in step 4), interacting the desktop component with the dynamic wallpaper, thus changing the dynamic effects of the dynamic wallpaper; wherein the process of obtaining the desktop component edge from step 2 to step 4 and the process of effects processing on the desktop component in step 5 run asynchronously in two different threads, while each of the threads runs consecutively in order to detect the edge of desktop component and then alter the dynamic effect of the wallpaper based on the detected edge information in real time.