CN101957709A - 触摸控制方法 - Google Patents
触摸控制方法 Download PDFInfo
- Publication number
- CN101957709A CN101957709A CN2009103042965A CN200910304296A CN101957709A CN 101957709 A CN101957709 A CN 101957709A CN 2009103042965 A CN2009103042965 A CN 2009103042965A CN 200910304296 A CN200910304296 A CN 200910304296A CN 101957709 A CN101957709 A CN 101957709A
- Authority
- CN
- China
- Prior art keywords
- point
- coordinate
- touch point
- toch control
- rotation direction
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/04815—Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Abstract
一种触摸控制方法,其包括如下步骤:根据用户操作确定待操作物件;检测第一触摸点的坐标A(XA,YA);检测第二触摸点的初始点的坐标B(XB,YB);根据第一触摸点的坐标A(XA,YA)和第二触摸点的初始点的坐标B(XB,YB)确定操作中心点C(XC,YC);检测第二触摸点移动后所在点的坐标B′(XB′,YB′);根据坐标C(XC,YC)、B(XB,YB)及B′(XB′,YB′)计算两个矢量CB和CB’之间的夹角α;以操作中心点C(XC,YC)为中心将所选物件旋转α度。上述触摸控制方法,所选物件可以根据第二触摸点的移动轨迹而变化,用户操作起来也比较灵活。
Description
技术领域
本发明涉及一种人机交互方法,尤其涉及一种触摸控制方法。
背景技术
为了满足用户对大屏幕的追求,越来越多的电子设备采用触摸屏以节省传统按键占用的空间,如手机。
用户通过触摸屏操作时,通常用手点击显示的图像按钮对所选择的对象进行操作,如图像的旋转和缩放等。采用上述单击触摸方法,操作起来不够灵活。
发明内容
有鉴于此,有必要提供一种操作比较灵活的触摸控制方法。
一种触摸控制方法,其包括如下步骤:
根据用户操作确定待操作物件;
检测第一触摸点的坐标A(XA,YA);
检测第二触摸点的初始点的坐标B(XB,YB);
根据第一触摸点的坐标A(XA,YA)和第二触摸点的初始点的坐标B(XB,YB)确定操作中心点C(XC,YC);
检测第二触摸点移动后所在点的坐标B′(XB′,YB′);
根据坐标C(XC,YC)、B(XB,YB)及B′(XB′,YB′)计算两个矢量CB和CB’之间的夹角α;
以操作中心点C(XC,YC)为中心将所选物件旋转α度。
一种触摸控制方法,其包括如下步骤:
根据用户操作确定待操作物件;
检测第一触摸点的坐标A(XA,YA);
检测第二触摸点的初始点的坐标B(XB,YB);
根据第一触摸点的坐标A(XA,YA)确定操作中心点C(XC,YC);
检测第二触摸点移动后所在点的坐标B′(XB′,YB′);
根据坐标C(XC,YC)、B(XB,YB)及B′(XB′,YB′)计算两个矢量CB和CB’之间的夹角α;
以操作中心点C(XC,YC)为中心将所选物件α度。
上述触摸控制方法,所选物件可以根据第二触摸点的移动轨迹而变化,用户操作起来也比较灵活。
附图说明
图1为一种定义直角坐标系后的触摸屏的示意图。
图2为一较佳实施方式的触摸控制方法的流程图。
具体实施方式
触摸屏通常可以根据电容方式,电阻方式等多种方式定位触摸点的位置。如图1所示,为方便理解,以触摸屏100为矩形为例。在触摸屏100上定义一个直角坐标系,触摸屏100的一个端点为原点O,X轴和Y轴分别沿着与该端点相连的两个边延伸。如此,触摸屏100上的每个点都有固定的坐标值。
如图2所示,基于上面描述之触摸屏定位技术,本发明提供一种触摸控制方法,可以提高用户操作的灵活性。该触摸控制方法包括如下步骤。
步骤S900,根据用户操作确定待操作物件。详言之,若用户针对触摸屏100的某个区域或者某个物件进行选择,则某个区域内的物件或者被选择的物件为待操作物件;若用户未针对触摸屏100的某个区域或者某个物件进行选择,则以触摸屏100上显示的所有物件为整体作为待操作物件。
步骤S902,检测第一触摸点的坐标A(XA,YA)(请同时参图1)。第一触摸点为固定点,其可以通过双击方式确定,即当用户在触摸屏100上双击一点时,该点作为第一触摸点。为方便用户操作,可将第一触摸点以图形方式在显示屏上标示出来,例如,以星形的方式显示。
步骤S904,检测第二触摸点的初始点的坐标B(XB,YB)。第二触摸点为动点,其可以通过触摸方式确定。即在确定第一触摸点后的预定时间内,若用户再次触摸触摸屏100,将该次触摸的初始位置作为第二触摸点的初始点。本实施方式中,该预定时间为1秒钟。
步骤S908,判断距离D1是否大于或者预定距离R。若距离D1大于或者等于预定距离R,则进入步骤S912。若距离D1小于预定距离R,则进入步骤S910。
步骤S910,发出提示信息提示用户此次第二触摸点的初始点无效,请重新输入;并返回步骤S904。该种提示信息可以为声音信息、图形信息等,如将标示第一触摸点的图形消失作为一种图形信息。
步骤S912,根据坐标A(XA,YA)和坐标B(XB,YB)确定操作中心点C(XC,YC)。操作中心点C(XC,YC)可根据用户需要通过预定的运算式计算得出。在本实施方式中,操作中心点C(XC,YC)为第一触摸点和第二触摸点的初始点之间线段的中间点,预定的运算式为XC=(XA+XB)/2,YC=(YA+YB)/2。在其他实施方式中,操作中心点C(XC,YC)也可以仅根据坐标A(XA,YA)计算得出,如操作中心点C(XC,YC)为第一触摸点,则预定的运算式为XC=XA,YC=YA。
步骤S914,检测第二触摸点移动后所在点的坐标B′(XB′,YB′)。
步骤S916,根据坐标C(XC,YC),坐标B(XB,YB)和坐标B′(XB′,YB′)计算两个矢量CB和CB’之间的夹角
步骤S918,判断夹角α是否大于或者等于预定角度。若夹角α大于或者等于预定角度,则进入步骤S920。若夹角α小于预定角度,则进入步骤S924。本实施方式中,该预定角度为5度。
步骤S920,根据坐标B(XB,YB)和坐标B′(XB′,YB′)计算自矢量CB转动至矢量CB’的转动方向。本实施方式中,先比较YB和YB′的大小的方式得出转动方向,若YB′大于YB,则转动方向为顺时针方向;若YB′小于YB,则转动方向为逆时针方向。若YB′等于YB,则再比较XB和XB′的大小来确定转动方向。若XB′大于XB,则转动方向为顺时针,若XB′小于XB,则转动方向为逆时针。
步骤S922,以操作中心点C(XC,YC)为中心将所选择的物件在计算得出的转动方向上旋转α度,并进入步骤S924。
步骤S924,检测第二触摸点是否被释放。若第二触摸点被释放,则进入步骤S926。若第二触摸点未被释放,则返回步骤S914。
步骤S926,消除标示第一触摸点的图形。
上述触摸控制方法,所选物件可以根据第二触摸点的移动轨迹而实时发生变化,所选物件变化过程比较直观,用户操作起来也比较灵活。
为方便用户操作,也可将第二触摸点的运动轨迹以图形方式标示出来,并在第二触摸点释放时消除图形标示。
Claims (13)
1.一种触摸控制方法,其包括如下步骤:
根据用户操作确定待操作物件;
检测第一触摸点的坐标A(XA,YA);
检测第二触摸点的初始点的坐标B(XB,YB);
根据第一触摸点的坐标A(XA,YA)和第二触摸点的初始点的坐标B(XB,YB)确定操作中心点C(XC,YC);
检测第二触摸点移动后所在点的坐标B′(XB′,YB′);
根据坐标C(XC,YC)、B(XB,YB)及B′(XB′,YB′)计算两个矢量CB和CB’之间的夹角α;
以操作中心点C(XC,YC)为中心将所选物件旋转α度。
2.如权利要求1所述的触摸控制方法,其特征在于:所述触摸控制方法还包括如下步骤:
根据坐标B(XB,YB)和坐标B′(XB′,YB′)计算自矢量CB转动至矢量CB’的转动方向;
以操作中心点C(XC,YC)为中心在计算得出的旋转方向上将所选物件旋转α度。
3.如权利要求2所述的触摸控制方法,其特征在于:所述触摸控制方法采用如下比较方式得出转动方向,先比较YB和YB′的大小的方式得出转动方向,若YB′大于YB,则转动方向为顺时针方向;若YB′小于YB,则转动方向为逆时针方向;若YB′等于YB,则再比较XB和XB′的大小来确定转动方向,若XB′大于XB,则转动方向为顺时针;若XB′小于XB,则转动方向为逆时针。
4.如权利要求1所述的触摸控制方法,其特征在于:所述触摸控制方法还包括如下步骤:
判断夹角α是否大于或者等于预定角度;
若夹角α大于或者等于预定角度,则以操作中心点C(XC,YC)为中心将所选物件旋转α度。
5.如权利要求1所述的触摸控制方法,其特征在于:所述触摸控制方法还包括如下步骤:
根据坐标A(XA,YA)和坐标B(XB,YB)计算第一触摸点和第二触摸点的初始点之间的距离D1;
判断距离D1是否大于或者等于预定距离R;
若距离D1大于或者等于预定距离R,则根据第一触摸点的坐标A(XA,YA)和第二触摸点的初始点的坐标B(XB,YB)确定操作中心点C(XC,YC)。
6.如权利要求5所述的触摸控制方法,其特征在于:所述触摸控制方法还包括如下步骤:
若距离D1小于预定距离R,则发出提示信息提示用户此次的第二触摸点的初始点无效,请重新输入,并返回检测第二触摸点的初始点的坐标B(XB,YB)的步骤。
7.如权利要求1所述的触摸控制方法,其特征在于:所述触摸控制方法还包括如下步骤:
判断第二触摸点是否被释放;
若第二触摸点未被释放,则返回检测第二触摸点移动后所在点的坐标B′(XB′,YB′)的步骤。
8.如权利要求1所述的触摸控制方法,其特征在于:所述操作中心点C(XC,YC)为第一触摸点和第二触摸点的初始点之间线段的中点,其中XC=(XA+XB)/2,YC=(YA+YB)/2。
9.一种触摸控制方法,其包括如下步骤:
根据用户操作确定待操作物件;
检测第一触摸点的坐标A(XA,YA);
检测第二触摸点的初始点的坐标B(XB,YB);
根据第一触摸点的坐标A(XA,YA)确定操作中心点C(XC,YC);
检测第二触摸点移动后所在点的坐标B′(XB′,YB′);
根据坐标C(XC,YC)、B(XB,YB)及B′(XB′,YB′)计算两个矢量CB和CB’之间的夹角α;
以操作中心点C(XC,YC)为中心将所选物件α度。
10.如权利要求9所述的触摸控制方法,其特征在于:所述触摸控制方法还包括如下步骤:
根据坐标B(XB,YB)和坐标B′(XB′,YB′)计算自矢量CB转动至矢量CB’的转动方向;
以操作中心点C(XC,YC)为中心在计算得出的旋转方向上将所选物件α度。
11.如权利要求10所述的触摸控制方法,其特征在于:所述触摸控制方法采用如下比较方式得出转动方向,先比较YB和YB′的大小的方式得出转动方向,若YB′大于YB,则转动方向为顺时针方向;若YB′小于YB,则转动方向为逆时针方向;若YB′等于YB,则再比较XB和XB′的大小来确定转动方向,若XB′大于XB,则转动方向为顺时针;若XB′小于XB,则转动方向为逆时针。
12.如权利要求9所述的触摸控制方法,其特征在于:所述触摸控制方法还包括如下步骤:
判断夹角α是否大于或者等于预定角度;
若夹角α大于或者等于预定角度,则以操作中心点C(XC,YC)为中心将所选物件α度。
13.如权利要求9所述的触摸控制方法,其特征在于:所述操作中心点C(XC,YC)为第一触摸点,其中XC=XA,YC=YA。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009103042965A CN101957709A (zh) | 2009-07-13 | 2009-07-13 | 触摸控制方法 |
US12/755,375 US20110007007A1 (en) | 2009-07-13 | 2010-04-06 | Touch control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009103042965A CN101957709A (zh) | 2009-07-13 | 2009-07-13 | 触摸控制方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101957709A true CN101957709A (zh) | 2011-01-26 |
Family
ID=43427078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009103042965A Pending CN101957709A (zh) | 2009-07-13 | 2009-07-13 | 触摸控制方法 |
Country Status (2)
Country | Link |
---|---|
US (1) | US20110007007A1 (zh) |
CN (1) | CN101957709A (zh) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102307278A (zh) * | 2011-08-25 | 2012-01-04 | 天津九安医疗电子股份有限公司 | 一种婴儿监护系统及该监护系统的控制方法 |
CN103186341A (zh) * | 2012-01-03 | 2013-07-03 | 深圳富泰宏精密工业有限公司 | 在触控屏幕上控制文件缩放及旋转的系统及方法 |
CN103246476A (zh) * | 2013-04-27 | 2013-08-14 | 华为技术有限公司 | 一种屏幕内容的旋转方法、装置及终端设备 |
CN103853368A (zh) * | 2012-12-03 | 2014-06-11 | 国基电子(上海)有限公司 | 触摸屏电子装置及其控制方法 |
CN104360811A (zh) * | 2014-10-22 | 2015-02-18 | 河海大学 | 一种单指手势识别方法 |
CN105867819A (zh) * | 2016-03-30 | 2016-08-17 | 惠州Tcl移动通信有限公司 | 一种显示内容的转动检测方法及其装置 |
CN107193463A (zh) * | 2016-03-15 | 2017-09-22 | 百度在线网络技术(北京)有限公司 | 在移动设备上模拟手势操作的方法与装置 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI498809B (zh) * | 2012-12-03 | 2015-09-01 | Hon Hai Prec Ind Co Ltd | 觸摸屏電子裝置及其控制方法 |
US8922516B2 (en) * | 2013-03-27 | 2014-12-30 | Tianjin Funayuanchuang Technology Co., Ltd. | Touch panel and multi-points detecting method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030193481A1 (en) * | 2002-04-12 | 2003-10-16 | Alexander Sokolsky | Touch-sensitive input overlay for graphical user interface |
WO2008138046A1 (en) * | 2007-05-11 | 2008-11-20 | Rpo Pty Limited | Double touch inputs |
US20090174679A1 (en) * | 2008-01-04 | 2009-07-09 | Wayne Carl Westerman | Selective Rejection of Touch Contacts in an Edge Region of a Touch Surface |
US8477139B2 (en) * | 2008-06-09 | 2013-07-02 | Apple Inc. | Touch screen device, method, and graphical user interface for manipulating three-dimensional virtual objects |
US20100088595A1 (en) * | 2008-10-03 | 2010-04-08 | Chen-Hsiang Ho | Method of Tracking Touch Inputs |
US20100162181A1 (en) * | 2008-12-22 | 2010-06-24 | Palm, Inc. | Interpreting Gesture Input Including Introduction Or Removal Of A Point Of Contact While A Gesture Is In Progress |
-
2009
- 2009-07-13 CN CN2009103042965A patent/CN101957709A/zh active Pending
-
2010
- 2010-04-06 US US12/755,375 patent/US20110007007A1/en not_active Abandoned
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102307278A (zh) * | 2011-08-25 | 2012-01-04 | 天津九安医疗电子股份有限公司 | 一种婴儿监护系统及该监护系统的控制方法 |
CN103186341A (zh) * | 2012-01-03 | 2013-07-03 | 深圳富泰宏精密工业有限公司 | 在触控屏幕上控制文件缩放及旋转的系统及方法 |
CN103186341B (zh) * | 2012-01-03 | 2017-08-29 | 深圳富泰宏精密工业有限公司 | 在触控屏幕上控制文件缩放及旋转的系统及方法 |
CN103853368A (zh) * | 2012-12-03 | 2014-06-11 | 国基电子(上海)有限公司 | 触摸屏电子装置及其控制方法 |
CN103246476A (zh) * | 2013-04-27 | 2013-08-14 | 华为技术有限公司 | 一种屏幕内容的旋转方法、装置及终端设备 |
CN103246476B (zh) * | 2013-04-27 | 2016-12-28 | 华为技术有限公司 | 一种屏幕内容的旋转方法、装置及终端设备 |
CN104360811A (zh) * | 2014-10-22 | 2015-02-18 | 河海大学 | 一种单指手势识别方法 |
CN107193463A (zh) * | 2016-03-15 | 2017-09-22 | 百度在线网络技术(北京)有限公司 | 在移动设备上模拟手势操作的方法与装置 |
CN105867819A (zh) * | 2016-03-30 | 2016-08-17 | 惠州Tcl移动通信有限公司 | 一种显示内容的转动检测方法及其装置 |
Also Published As
Publication number | Publication date |
---|---|
US20110007007A1 (en) | 2011-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101957678A (zh) | 触摸控制方法 | |
CN101957709A (zh) | 触摸控制方法 | |
US8570283B2 (en) | Information processing apparatus, information processing method, and program | |
US8121640B2 (en) | Dual module portable devices | |
CN108733303B (zh) | 便携式终端的触摸输入方法和设备 | |
US20140059475A1 (en) | Electronic document reproduction apparatus and reproducing method thereof | |
US9880697B2 (en) | Remote multi-touch control | |
US20120131490A1 (en) | Touch-controlled device and method for displaying a virtual keyboard on the touch-controlled device thereof | |
WO2010064388A1 (ja) | 表示入力装置 | |
US20110148774A1 (en) | Handling Tactile Inputs | |
US8525854B2 (en) | Display device and screen display method | |
CA2573167A1 (en) | Method for entering commands and/or characters for a portable communication device equipped with a tilt sensor | |
KR20100068393A (ko) | 디스플레이되는 이미지를 조작하기 위한 방법 및 장치 | |
KR20140105691A (ko) | 터치스크린을 구비하는 사용자 기기의 오브젝트 조작 방법 및 그 장치 | |
WO2014041436A2 (en) | Processing user input pertaining to content movement | |
US20070070054A1 (en) | Slide-type input device, portable device having the input device and method and medium using the input device | |
JP2012099005A (ja) | 入力装置、入力方法および入力プログラム | |
US9507515B2 (en) | System and method for data selection by means of a touch-sensitive surface | |
US9285915B2 (en) | Method of touch command integration and touch system using the same | |
US20120059846A1 (en) | Method for retrieving object information and portable electronic device applying the same | |
JP5047325B2 (ja) | 情報入力装置及び情報入力方法 | |
JP2019070990A (ja) | 表示制御装置 | |
US20110187654A1 (en) | Method and system for user interface adjustment of electronic device | |
TWI399666B (zh) | 觸摸控制方法 | |
JP2014052817A (ja) | 画像表示方法および画像表示装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110126 |