# US 9,354,772 B2 · Method and device for movement of image object

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,354,772 B2
- Document ID: US9354772B2
- Status: Granted
- Kind: B2
- Application number: 13/817,776
- Filed: 2011-08-09
- Published: 2013-06-13
- Granted: 2016-05-31
- Earliest claimed: 2010-08-20
- Assignees: China Mobile Communications Corporation
- Applicants: Yang Liu
- Inventors: Yang Liu
- Web page: https://patentgrep.com/patent/US9354772B2

## CPC

- G06F 3/04812: Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
- G06F 3/048: Interaction techniques based on graphical user interfaces [GUI]
- G06F 3/0481: 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
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided is a method for the movement of an image object. In the method: A. determining the direction of movement of an image object to be moved, and a module X corresponding to same; B. moving the module X along the direction of movement by one unit; determining whether or not an overlap exists between the module X and another module; if no overlap exists, making the post-movement state as a movement result, and terminating the process; if an overlap exists, restoring the module X to the original position; determining a minimum mirror area comprising the module X; flipping the minimum mirror area; C. determining whether or not the module X can continue to move along the direction of movement; if not, then the movement has failed, terminating the process; if yes, then moving the module X upwards by one unit from the direction of movement; determining whether or not an overlap exists between module X and another module; if no overlap exists, making the post-movement state as the movement result, and terminating the process; if an overlap exists, repeating step C. Also provided is a device for the movement of the image object. The user experience is enhanced by using the method and the device.

## Claims

### Claim 1

A method for moving a graphic object, wherein the method comprises:
A. determining a module X and a movement direction corresponding to a graphic object to be moved;
B. moving the module X by one unit in the movement direction, determining whether the module X overlaps partially with another module, and if not so, then taking the status after the movement as a movement result and ending the process; otherwise, restoring the module X to its original location and determining and mirror-inverting a smallest mirrored area including the module X; and
C. determining whether the mirror-inverted module X can be further moved in the movement direction, and if not so, then indicating a movement failure and ending the process; otherwise, moving the module X by one unit in the movement direction, determining whether the module X overlaps partially with another module, and if not so, taking the status after the movement as a movement result and ending the process; otherwise, repeating the step C.

### Claim 2 (depends on 1)

The method for moving a graphic object according to claim 1, wherein before the restoring the module X to its original location, the method further comprises: determine a module overlapping partially with the module X as an obstructive module; and
the determining a smallest mirrored area including the module X comprises:
determining a smallest envelop rectangular area A1 including the entire area of the module X and the obstructive module;
determining whether there is a module partially located in the smallest envelop rectangular area A1, and if not so, then take the smallest envelop rectangular area A1 as the smallest mirrored area;
otherwise, further determining as the smallest mirrored area a smallest envelop rectangular area A2 including the entire area of the module partially located in the smallest envelop rectangular area A1, the module X and the obstructive module as the smallest mirrored area.

### Claim 3 (depends on 2)

The method for moving a graphic object according to claim 2, wherein the mirror-inverting the smallest mirrored area comprises:
mirror-inverting the smallest mirrored area by taking as an axis a line connecting midpoints of two sides of the smallest mirrored area, which are parallel to the movement direction of the module X.

### Claim 4 (depends on 1)

The method for moving a graphic object according to claim 1, wherein the mirror-inverting the smallest mirrored area comprises:
mirror-inverting the smallest mirrored area by taking as an axis a line connecting midpoints of two sides of the smallest mirrored area, which are parallel to the movement direction of the module X.

### Claim 5

An apparatus for moving a graphic object, wherein the apparatus comprises:
a memory has program codes stored therein; and
a processor, configured to execute the program codes to implement: determining a module X and a movement direction corresponding to a graphic object to be moved;
moving the module X by one unit in the movement direction, determining whether the module X overlaps partially with another module, and if not so, taking the status after the movement as a movement result and ending the process; otherwise, restoring-the module X to its original location and determining and mirror-invert a smallest mirrored area including the module X; and
determining whether the mirror-inverted module X can be further moved in the movement direction, and if not so, indicating a movement failure and ending the process; otherwise, moving the module X by one unit in the movement direction, determining whether the module X overlaps partially with another module, and if not so, taking the status after the movement as a movement result and ending the process; otherwise, performing again the function of the second moving unit.

### Claim 6 (depends on 5)

The apparatus for moving a graphic object according to claim 5, wherein the processor is configured to further execute the codes to implement:
moving the module X by one unit in the movement direction, determining whether the module X overlaps partially with another module, and if not so, taking the status after the movement as a movement result and to end the process; otherwise, instructing-the inverting sub-unit to function; and
determining as an obstructive module a module overlapping partially the module X moved by one unit in the movement direction, restoring the module X to its original location, determining a smallest envelop rectangular area A1 including the entire area of the module X and the obstructive module, further determining whether there is a module partially located in the smallest envelop rectangular area A1, and if not so, taking the smallest envelop rectangular area A1 as the smallest mirrored area; otherwise, determining as the smallest mirrored area a smallest envelop rectangular area A2 including the entire area of the module partially located in the smallest envelop rectangular area A1, the module X and the obstructive module; and mirror-inverting the smallest mirrored area by taking as an axis a line connecting midpoints of two sides of the smallest mirrored area, which are parallel to the movement direction of the module X.
