IP Library Granted Patent US 9,632,623
Granted Patent B2
US 9,632,623 · App. 14/143,786 · Granted Apr 25, 2017

Processing method for touch operation and terminal

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,632,623
App. No.
14/143,786
Granted
Apr 25, 2017
Kind
B2
Abstract

Embodiments of the present invention disclose a processing method for a touch operation and a terminal. The method in the embodiments of the present invention includes: receiving a touch operation of a user, and determining coordinates of a touch point; calculating, when the coordinates of the touch point do not locate in the touch region of touch objects, a distance between the touch point and a touch region of each of the touch objects according to the coordinates of the touch point; and selecting the touch object corresponding to the minimum value among the distances as a touch operation object. By implementing the solutions of the present invention, ineffective touch operations may be prevented, a touch success rate may be increased, and accordingly touch operation experience of the user is improved.

Claims (35)

1. A method of processing a touch operation, comprising:

receiving a touch operation of a user, and determining coordinates of a touch point;

selecting a touch object of touch objects as a touch operation object in response to the touch operation of the user and further in response to the coordinates of the touch point being located in a touch region corresponding to the touch object;

determining a calculation region according to the coordinates of the touch point in response to the coordinates of the touch point not being located in a touch region of the touch objects, wherein a display interface is divided into a plurality of regions having a same shape and size, and wherein the determining the calculation region comprises selecting the region of the plurality of regions where the touch point falls as the calculation region;

calculating, in response to the coordinates of the touch point not being located in a touch region of the touch objects, a distance between the touch point and a touch region of each of the touch objects in the calculation region according to the coordinates of the touch point and without calculating a distance to at least one touch region outside of the calculation region, wherein the touch region of each of the touch objects is a region larger than the respective touch object and that extends in two dimensions and is bounded by a border, wherein the border of each touch region is spaced apart from the border of each adjacent touch region, and wherein the distance between the touch point and the respective touch region of each of the touch objects is a shortest straight line distance to a nearest point on the border of the respective touch region; and

selecting, as a touch operation object, a touch object corresponding to the minimum value among the distances in response to the coordinates of the touch point not being located in a touch region of the touch objects.

2. The method according to claim 1 ,

wherein the calculation region is smaller than a display interface.

3. The method according to claim 2 , wherein the method further comprises: selecting a touch object as the touch operation object after the determining coordinates of the touch point and when the coordinates of the touch point locate in the touch region of the touch object.

4. The method according to claim 1 , wherein the calculation region is rectangular and larger than each of the touch regions.

5. A terminal, comprising:

a touchscreen;

a touch point coordinate determination unit configured to receive a touch operation of a user on the touchscreen, and to determine coordinates of a touch point on the touch screen;

a second touch operation object selection unit configured to select a touch object of touch objects as a touch operation object in response to the receiving the touch operation of the user and further in response to the coordinates of the touch point being located in a touch region corresponding to the touch object;

a calculation region determination module configured to determine a calculation region according to the coordinates of the touch point in response to the coordinates of the touch point not being located in a touch region of the touch objects, the calculation region having a preset dimension;

a distance calculation unit configured to calculate, in response to the coordinates of the touch point not being located in a touch region of the touch objects in the calculation region, a distance between the touch point and a touch region of each of the touch objects according to the coordinates of the touch point and without calculating a distance to at least one touch region outside of the calculation region, wherein the touch region of each of the touch objects is a region larger than the respective touch object and that extends in two dimensions of the touchscreen, wherein the touch region of each of the touch objects is bounded by a respective border, wherein the border of each touch region is spaced apart from the border of each adjacent touch region, and wherein the distance between the touch point and the respective touch region of each of the touch objects is a shortest straight line distance to a nearest point on the border of the respective touch region; and

a first touch operation object selection unit configured to select a touch object corresponding to the minimum value among the distances as a touch operation object in response to the coordinates of the touch point not being located in a touch region of the touch objects.

6. The terminal according to claim 5 ,

wherein the calculation region is smaller than a display interface of the touchscreen.

7. The terminal according to claim 6 , further comprising a second touch operation object selection unit configured to select a touch object as the touch operation object when the coordinates of the touch point locate in the touch region of the touch object.

8. The terminal according to claim 5 , wherein the calculation region is rectangular and larger than each of the touch regions, and wherein the preset dimension is a preset side length of a side of the calculation region.

9. A terminal, comprising:

a touchscreen;

a processor connected to the touchscreen; and

a non-transitory computer readable medium connected to the processor and having stored thereon instructions that, when executed, cause the processor to:

receive a touch operation of a user on the touchscreen, and to determine coordinates of a touch point on the touchscreen;

select a touch object of touch objects as a touch operation object in response to the touch operation of the user and further in response to the coordinates of the touch point being located in a touch region corresponding to the touch object;

determine a calculation region according to the coordinates of the touch point in response to the coordinates of the touch point not being located in a touch region of the touch objects, the calculation region having a preset dimension, wherein a display interface is divided into a plurality of regions having a same shape and size, and wherein the calculation region is a region of the plurality of regions where the touch point falls; and

calculate, in response to the coordinates of the touch point not being located in a touch region of the touch objects, a distance between the touch point and a touch region of each of the touch objects in the calculation region according to the coordinates of the touch point and without calculating a distance to at least one touch region outside of the calculation region, wherein the touch region of each of the touch objects is a region larger than the respective touch object and that extends in two dimensions of the touchscreen, wherein the touch region of each of the touch objects is bounded by a respective border, wherein the border of each touch region is spaced a part from the border of each adjacent touch region, and wherein the distance between the touch point and the respective touch region of each of the touch objects is a shortest straight line distance to a nearest point on the border of the respective touch region; and

select a touch object corresponding to the minimum value among the distances as a touch operation object in response to the coordinates of the touch point not being located in a touch region of the touch objects.

10. The terminal according to claim 9 ,

wherein the calculation region is smaller than a display interface of the touchscreen.

11. The terminal according to claim 10 , wherein the non-transitory computer readable medium further has stored thereon instructions that, when executed, cause the processor to:

select a touch object as the touch operation object when the coordinates of the touch point locate in the touch region of the touch object.

12. The terminal according to claim 9 , wherein the calculation region is rectangular and larger than each of the touch regions, and wherein the preset dimension is a preset side length of a side of the calculation region.

Assignments (3)
CHANGE OF NAME Recorded Mar 11, 2019
From: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
To: HUAWEI DEVICE CO.,LTD.
Reel/Frame 048555/0951 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2017
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 043750/0393 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 30, 2013
From: WANG, SHUOXING
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 031859/0515 →