CN103677380A - Touch device and gesture judgment method thereof - Google Patents
Touch device and gesture judgment method thereof Download PDFInfo
- Publication number
- CN103677380A CN103677380A CN201210384853.0A CN201210384853A CN103677380A CN 103677380 A CN103677380 A CN 103677380A CN 201210384853 A CN201210384853 A CN 201210384853A CN 103677380 A CN103677380 A CN 103677380A
- Authority
- CN
- China
- Prior art keywords
- control device
- contactor control
- area
- gesture
- edge
- 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 27
- 238000006073 displacement reaction Methods 0.000 claims abstract description 73
- 239000000758 substrate Substances 0.000 claims description 27
- 230000009471 action Effects 0.000 claims description 18
- 230000006698 induction Effects 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 7
- 239000010410 layer Substances 0.000 description 5
- 230000007547 defect Effects 0.000 description 2
- 239000011241 protective layer Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
本发明涉及一种触控装置及其手势判断方法,其判断方法自该触控装置一侧缘朝远离该侧缘方向定义一第一区域,并与侧缘之间具有一距离,再于一定时间内读取数笔位置信息,判断第一笔物件位置落入第一区域后,计算第一笔位置信息与任一笔位置信息的位移差,并判断该位移差已超过一预设值时,判读为边缘扫滑手势;由于本发明的第一区域与该触控装置侧边保持一距离,可令绝大部分为扫滑手势的手指落入此第一区域,并配合边缘扫滑手势的手指落入第一区域的速度非为零,预设手指初始速度非为零的位移量,即能正确地判读正确的边缘扫滑手势。
The present invention relates to a touch device and a gesture judgment method thereof. The judgment method defines a first area from one edge of the touch device in a direction away from the side edge, with a distance from the side edge, and then at a certain Read several pieces of position information within a time period, determine that the first piece of object position falls into the first area, calculate the displacement difference between the first piece of position information and any piece of position information, and judge that the displacement difference has exceeded a preset value. , interpreted as an edge swipe gesture; since the first area of the present invention maintains a distance from the side of the touch device, most fingers that perform swipe gestures can fall into this first area, and cooperate with the edge swipe gesture The speed of the finger falling into the first area is non-zero, and the displacement amount at which the initial speed of the finger is preset is non-zero, that is, the correct edge swipe gesture can be correctly interpreted.
Description
技术领域 technical field
本发明涉及一种触控装置,尤指一种可正确判断触控手势的控制装置。The invention relates to a touch device, in particular to a control device capable of correctly judging touch gestures.
背景技术 Background technique
笔记本电脑的触控装置或外接式触控装置为方便使用者取代鼠标功能,基本上具有游标控制功能、左键功能及右键功能,而随着电脑系统商的软件开发,此类触控装置开始增加“边缘扫滑手势控制功能”。举例来说,当电脑系统开启视窗功能列隐藏功能后,使用者利用触控装置进行游标控制功能、左键功能及右键功能时,该视窗功能列均为隐藏状态,一旦该触控装置判断目前使用者控制手势为“边缘扫滑手势(edge swipe)”时,该电脑系统即自动将隐藏功能列功能显示于视窗画面上,供使用者点选;此外如页面切换功能也可适用。In order to facilitate users to replace the mouse function, the touch device or external touch device of a notebook computer basically has a cursor control function, a left button function and a right button function. Added "edge swipe gesture control function". For example, when the computer system enables the window function bar hiding function, when the user uses the touch device to perform cursor control functions, left-click functions, and right-click functions, the window function bar is hidden. Once the touch device determines that the current When the user control gesture is "edge swipe", the computer system will automatically display the hidden function bar function on the window screen for the user to click; in addition, the page switching function is also applicable.
目前电脑系统商微软公司即制定“边缘扫滑手势”判断原则,但实际配合触控装置使用后尚有判断率过低,使用不便感发生,容下详述。At present, the computer system provider Microsoft has formulated the judgment principle of "edge swipe gesture", but the judgment rate is too low after the actual use with the touch device, which causes inconvenience in use, which will be described in detail below.
首先请配合参阅图6所示,一笔记本电脑的触控装置10依使用习惯于前侧左、右半侧设计为左键功能及右键功能,使用点按左、右半侧即可控制电脑系统执行左键功能及右键功能;至于“边缘扫滑手势控制功能”则规范于触控装置的近左侧、近右侧及近后侧的第一区域。再配合图7所示,具边缘扫滑手势判断功能的触控装置10预设有“第一区域宽度W”、“物件移动距离R”、“物件移动角度上限αT”及“物件移动角度下限αB”,而判断方法包含有以下步骤:First of all, please refer to FIG. 6, the
于一定时间内依据一扫描时间周期地读取数笔位置信息,其中第一笔位置信息落在该第一区域内;Reading several pieces of location information according to a scanning time period within a certain period of time, wherein the first piece of location information falls within the first area;
以第一笔位置信息和其它位置信息计算出单一物件的移动方向及移动距离;Calculate the moving direction and moving distance of a single object based on the first position information and other position information;
当判断物件移动方向落在预设移动角度上限αT及下限αB之间的角度范围内,且移动距离超过物件移动距离R时,则判断为边缘扫滑手势。When it is determined that the moving direction of the object falls within the angle range between the upper limit α T and the lower limit α B of the preset moving angle, and the moving distance exceeds the moving distance R of the object, it is determined as an edge swipe gesture.
当一手指自外壳滑入触控装置一边缘时,该触控装置10第一笔位置信息一定落入该第一区域,而进行边缘扫滑手势的判断步骤;意即当物件移动方向已满足预设的移动角度,只要物件移动距离在一定时间内超过该移动距离,即判断为边缘扫滑手势。When a finger slides into an edge of the touch device from the casing, the first position information of the
然而上述判断方法在实际使用时却仍有一定的误判率,其中一项即是因为机构上组装缺陷所造成;请参阅图6所示,当触控装置10组合至笔记本电脑外壳20后,其顶面无法与笔记本电脑外壳20顶面平齐而有高低落差,造成使用者手指自外壳20往触控装置10方向触碰滑过时,第一笔位置信息无法满足落入第一区域的条件,而不会将此次的手势正确判断为边缘扫滑手势。另一项造成边缘扫滑手势误判原因是:一般设定第一区域宽度为了不干扰正常游标控制,故其宽度不会太宽,因此当手指直接从笔记本电脑外壳20快速滑入触控装置10时,触控装置依内建扫描时间所读取第一笔位置信息可能会因为手指滑扫速度过快而产生未落入第一区域的结果,而无法正确判断出边缘扫滑手势。However, the above judgment method still has a certain misjudgment rate in actual use, one of which is caused by assembly defects in the mechanism; please refer to FIG. Its top surface cannot be flush with the top surface of the
除上述判断方法无法正确判断出边缘扫滑手势的技术问题外,由于判断边缘扫滑手势的条件尚有移动方向及移动距离,因此若移动距离设定不当,则易误判使用者略带倾斜的点按手势误判成边缘扫滑手势,是以目前边缘扫滑手势判断方法所采用的判断条件尚无法有效提高边缘扫滑手势的判断正确率。In addition to the technical problem that the above judgment method cannot correctly judge the edge swipe gesture, since the conditions for judging the edge swipe gesture still include the moving direction and moving distance, if the moving distance is not set properly, it is easy to misjudge that the user is slightly tilted The point-press gesture is misjudged as an edge swipe gesture, because the judgment conditions adopted by the current edge swipe gesture judgment method cannot effectively improve the judgment accuracy of the edge swipe gesture.
因此,目前具有边缘扫滑手势控制功能的触控装置在判断边缘扫滑手势的误判率仍高,故有必要进一步改进的。Therefore, the misjudgment rate of the edge swipe gesture is still high in the current touch device with the edge swipe gesture control function, so further improvement is necessary.
发明内容 Contents of the invention
有鉴于上述触控装置的边缘扫滑手势判断方法的误判缺陷,本发明主要目的是提出一种可识别出边缘扫滑手势的判断方法及使用此方法的触控装置。In view of the misjudgment defect of the edge swipe gesture judgment method of the touch device, the main purpose of the present invention is to provide a judgment method capable of recognizing the edge swipe gesture and a touch device using the method.
本发明的目的在于提供一种触控装置的手势判断方法,包含有:The object of the present invention is to provide a gesture judgment method of a touch device, including:
在触控装置上定义一第一区域;其中所述第一区域与所述触控装置一侧缘具有一距离;defining a first area on the touch device; wherein the first area has a distance from a side edge of the touch device;
在一预设时间内读取触控装置上物件的数笔位置信息;及Read several pieces of position information of objects on the touch device within a preset time; and
判断数笔信息中的第一笔位置信息是否落在所述第一区域内;judging whether the first piece of location information among the pieces of information falls within the first area;
若是,则判断所述第一笔位置信息与其他任一笔位置信息之间是否有位移差;及If so, determine whether there is a displacement difference between the first piece of location information and any other piece of location information; and
若有,且所述位移差大于一预设值时,则判断动作为边缘滑扫手势。If yes, and the displacement difference is greater than a preset value, it is determined that the action is an edge swipe gesture.
较佳的是,其中所述第一区域包含有多个子区域,其中多个子区域是由所述触控装置的一侧缘朝远离所述侧缘方向并排排列,且各子区域分别对应设有不同的预设值。Preferably, the first area includes a plurality of sub-areas, wherein the plurality of sub-areas are arranged side by side from one edge of the touch device in a direction away from the side edge, and each sub-area is respectively provided with different presets.
较佳的是,在所述数个子区域之中,远离所述触控装置侧缘的子区域所对应的预设值大于靠近触控装置一侧缘的子区域的对应预设值。Preferably, among the several sub-regions, the preset value corresponding to the sub-region away from the side edge of the touch device is larger than the corresponding preset value of the sub-region close to the side edge of the touch device.
较佳的是,上述判断所述位移差是否大于一预设值步骤中,以第一笔位置信息落入的子区域所对应的预设值作为所述预设值。Preferably, in the step of judging whether the displacement difference is greater than a preset value, the preset value corresponding to the sub-area where the first piece of position information falls is used as the preset value.
较佳的是,还包含有一判断物件扫滑方向步骤,即将各笔位置信息与其下一笔位置信息相比后决定一物件位移方向,当所有位移方向均满足由所述触控装置的一侧缘朝远离所述侧缘的方向时,且所述位移差已大于所述预设值,才判断动作为边缘滑扫手势。Preferably, it also includes a step of judging the sliding direction of the object, which is to determine the displacement direction of an object after comparing each piece of position information with the next piece of position information. When the edge faces away from the side edge and the displacement difference is greater than the preset value, it is determined that the action is an edge swipe gesture.
较佳的是,还包含有一判断物件扫滑方向步骤,即将各笔位置信息与其下一笔位置信息相比后决定一物件位移方向,当所有位移方向均满足由所述触控装置的一侧缘朝远离所述侧缘的方向时,且所述位移差已大于所述预设值,才判断动作为边缘滑扫手势。Preferably, it also includes a step of judging the sliding direction of the object, which is to determine the displacement direction of an object after comparing each piece of position information with the next piece of position information. When the edge faces away from the side edge and the displacement difference is greater than the preset value, it is determined that the action is an edge swipe gesture.
本发明的另一目的在于使用上述手势判断方法的触控装置,包含有:Another object of the present invention is a touch device using the above gesture determination method, including:
一感应基板,定义有一第一区域,所述第一区域与所述感应基板侧缘之间具有一距离;A sensing substrate, defining a first area, and there is a distance between the first area and the side edge of the sensing substrate;
一控制电路,电连接所述感应基板,并侦测一物件接触所述感应基板的起始位置,以及所述物件在所述感应基板的位移量;A control circuit, electrically connected to the sensing substrate, and detecting the initial position of an object touching the sensing substrate, and the displacement of the object on the sensing substrate;
其中,当所述控制电路判断物件的起始位置位于所述第一区域,且所述物件的位移量大于一预设值时,所述控制电路送出一表示边缘滑扫手势的信号。Wherein, when the control circuit determines that the initial position of the object is located in the first area, and the displacement of the object is greater than a preset value, the control circuit sends a signal representing an edge swipe gesture.
较佳的是,所述控制电路内建有一边缘扫滑手势判断程序,以判断所述感应基板上的边缘扫滑手势;其中所述手势判断程序包含有:Preferably, an edge swipe gesture determination program is built in the control circuit to determine the edge swipe gesture on the sensing substrate; wherein the gesture determination program includes:
在一预设时间内读取触控装置上物件的数笔位置信息;及Read several pieces of position information of objects on the touch device within a preset time; and
判断数笔信息中的第一笔位置信息是否落在所述第一区域内;judging whether the first piece of location information among the pieces of information falls within the first area;
若是,则判断所述第一笔位置信息与其他任一笔位置信息之间是否有位移差;If so, determine whether there is a displacement difference between the first piece of location information and any other piece of location information;
若有,且所述位移差大于一预设值时,则判断动作为边缘滑扫手势。If yes, and the displacement difference is greater than a preset value, it is determined that the action is an edge swipe gesture.
较佳的是,其中所述感应基板上表面的第一区域包含有多个子区域,其中多个子区域是由所述感应基板的一侧缘朝远离所述侧缘方向并排排列,且所述控制电路对各子区域预设有一预设值。Preferably, the first area on the upper surface of the sensing substrate includes a plurality of sub-areas, wherein the plurality of sub-areas are arranged side by side from one edge of the sensing substrate in a direction away from the side edge, and the control The circuit presets a preset value for each sub-region.
较佳的是,其中所述控制电路所预设数个子区域的预设值中,远离所述感应基板侧缘的子区域所对应的预设值大于靠近触控装置侧缘的子区域的对应预设值。Preferably, among the preset values of several sub-regions preset by the control circuit, the preset value corresponding to the sub-region far away from the side edge of the sensing substrate is greater than that corresponding to the sub-region close to the side edge of the touch device. default value.
较佳的是,所述控制电路的手势判断程序还包含有一判断物件扫滑方向步骤,即将各笔位置信息与其下一笔位置信息相比后决定一物件位移方向,当所有位移方向均满足由所述感应基板的一侧缘朝远离所述侧缘方向时,且所述位移差已大于所述预设值,才判断动作为边缘滑扫手势。Preferably, the gesture judging program of the control circuit also includes a step of judging the sliding direction of the object, that is, comparing each piece of position information with the next piece of position information to determine the displacement direction of an object. When one side edge of the sensing substrate faces away from the side edge and the displacement difference is greater than the preset value, it is determined that the action is an edge swipe gesture.
本发明的再一目的在于提供一种触控装置手势判断方法,包含有:Another object of the present invention is to provide a gesture judgment method for a touch device, including:
在触控装置上定义一第一区域,所述第一区域与所述触控装置的侧缘具有一距离;defining a first area on the touch device, the first area has a distance from the side edge of the touch device;
读取触控装置上物件的数笔位置信息;及Read the position information of several items on the touch device; and
判断数笔信息中的第一笔位置信息是否落在所述第一区域内,以及根据所述数笔位置信息判断所述物件的移动速度;及judging whether the first piece of position information in the pieces of information falls within the first area, and judging the moving speed of the object according to the pieces of position information; and
判断所述数笔位置信息的第一笔位置信息落在所述第一区域,并且所述移动速度大于一预设值,则决定所述物件的动作为边缘滑扫手势。If it is determined that the first piece of location information of the several pieces of location information falls in the first area, and the moving speed is greater than a preset value, then it is determined that the action of the object is an edge swipe gesture.
较佳的是,还包含有一判断物件扫滑方向步骤,即将各笔位置信息与其下一笔位置信息相比后决定一物件位移方向,当所有位移方向均满足由所述触控装置的一侧缘朝远离所述侧缘的方向时,且所述移动速度已大于所述预设值,才判断动作为边缘滑扫手势。Preferably, it also includes a step of judging the sliding direction of the object, which is to determine the displacement direction of an object after comparing each piece of position information with the next piece of position information. When the edge is facing away from the side edge and the moving speed is greater than the preset value, it is determined that the action is an edge swipe gesture.
本发明的又一目的在于提供一种触控装置,包含有:Another object of the present invention is to provide a touch device, including:
一第一区域,界定在所述触控装置上,所述第一区域与所述触控装置的侧缘具有一距离;及a first area defined on the touch device, the first area has a distance from the side edge of the touch device; and
一控制电路,侦测一物件接触所述触控装置的起始位置,以及所述物件的移动速度;A control circuit for detecting the initial position of an object touching the touch device and the moving speed of the object;
其中,当所述物件的起始位置位于所述第一区域,且所述物件的移动速度大于一预设值时,所述控制电路送出一表示边缘滑扫手势的信号。Wherein, when the initial position of the object is located in the first area, and the moving speed of the object is greater than a preset value, the control circuit sends a signal representing an edge swipe gesture.
较佳的是,所述控制电路进一步将各笔位置信息与其下一笔位置信息相比后决定一物件位移方向,当所有位移方向均满足由所述感应基板的一侧缘朝远离所述侧缘方向时,且所述移动速度已大于所述预设值,才输出代表边缘滑扫手势的信号。Preferably, the control circuit further compares each piece of position information with the next piece of position information to determine an object displacement direction, when all the displacement directions meet the requirement that one side edge of the sensing substrate moves away from the side When the direction of the edge is in the edge direction, and the moving speed is greater than the preset value, the signal representing the edge swipe gesture is output.
由于第一区域与该触控装置的侧缘之间具有一距离,可令绝大部分为扫滑手势的手指落入此区域,提高第一笔位置信息落入该第一区域的条件,解决因触控装置组装至机壳有高低落差所造成所读取第一笔位置信息无法落入第一区域的问题;接着,本发明只要判断第一笔位置信息与其它笔位置信息有位移差,且于一预设时间内获得与其中一笔位置信息的位移差超过预设值,或者根据多个位置信息判断出的物件移动速度大于预设值,即可判断落入此第一区域的手指初始速度非为零,并且符合边缘扫滑手势的手指速度,而判断为边缘扫滑手势。Since there is a distance between the first area and the side edge of the touch device, most of the fingers of the swipe gesture can fall into this area, improving the condition for the first piece of position information to fall into the first area, and solving the problem Due to the height difference between the touch device and the casing, the first position information read cannot fall into the first area; then, the present invention only needs to judge that there is a displacement difference between the first position information and other pen position information, And if the displacement difference with one piece of position information is obtained within a preset time exceeds the preset value, or the moving speed of the object judged based on multiple position information is greater than the preset value, then the finger falling into the first area can be judged The initial velocity is non-zero and conforms to the finger velocity of the edge swipe gesture, and it is judged as an edge swipe gesture.
附图说明 Description of drawings
图1A为本发明一触控装置的立体分解图。FIG. 1A is an exploded perspective view of a touch device of the present invention.
图1B为本发明触控装置配合电脑进行手势判断信号处理及传送程序的系统处理架构图。FIG. 1B is a system processing architecture diagram of a touch device of the present invention in cooperation with a computer for gesture judgment signal processing and transmission procedures.
图2为本发明边缘扫滑手势判断方法的一较佳实施例的流程图。FIG. 2 is a flowchart of a preferred embodiment of a method for determining an edge swipe gesture according to the present invention.
图3A为本发明触控装置右扫滑的使用状态图。FIG. 3A is a diagram showing the use state of the touch device of the present invention when swiping right.
图3B为本发明触控装置右扫滑的使用状态图。FIG. 3B is a diagram of the use state of the touch device of the present invention when swiping right.
图3C为本发明触控装置右扫滑的使用状态图。FIG. 3C is a diagram of the use state of the touch device of the present invention when swiping right.
图4为本发明边缘扫滑手势判断方法的第二较佳实施例的示意图。FIG. 4 is a schematic diagram of a second preferred embodiment of a method for determining an edge swipe gesture according to the present invention.
图5A至图5C为图4边缘扫滑手势示意图。5A to 5C are schematic diagrams of edge swipe gestures in FIG. 4 .
图6为现有一笔记本电脑设置有一触控装置的外观图。FIG. 6 is an appearance view of a conventional notebook computer provided with a touch device.
图7为现有触控装置判断边缘扫滑手势的示意图。FIG. 7 is a schematic diagram of determining an edge swipe gesture by a conventional touch device.
主要元件符号说明Description of main component symbols
10触控装置 11感应基板10 Touch device 11 Sensing substrate
111感应线路 112控制电路111 induction circuit 112 control circuit
12保护层 13支撑板12 Protective layer 13 Support plate
20外壳。20 shells.
具体实施方式 Detailed ways
请参阅图1A所示,本发明触控装置10于本实施例中主要包含有一感应基板11,该感应基板11的上表面会形成有感应线路,可在该感应线路上表面设有一保护层12,而该感应基板11的下表面即设有一实体开关111及一控制电路112,其中该控制电路112与上表面的感应线路及实体开关111电连接,再于下表面设有一支撑板13,以固定在如笔记本电脑等电子装置的外壳上。该控制电路112主要判断触控基板11的各种触控手势,基本上可判断的手势包含有游标控制手势、左键按压手势、右键按压手势;而本发明的边缘扫滑手势判断方法即令该控制电路112进一步增加可判断边缘扫滑手势判断程序。Please refer to FIG. 1A , the
一般来说,电脑操作系统(如WindowsTM)提供热键(Hot Key)设定,让使用者配合标准键盘的功能按键或按键组合,即可快速产生或启动热键对应的功能列,例如使用者同时按下标准电脑键盘上的WindowsKey按键及字母Z的按键产生一对应热键信号,并由电脑操作系统接收后,产生应用程序功能列。Generally speaking, computer operating systems (such as Windows ™ ) provide hot key (Hot Key) settings, allowing users to cooperate with standard keyboard function keys or key combinations to quickly generate or activate the function bar corresponding to the hot key, such as using The operator simultaneously presses the WindowsKey button and the letter Z button on the standard computer keyboard to generate a corresponding hotkey signal, and after being received by the computer operating system, an application program function list is generated.
由于电脑操作系统接受热键设定,故请参阅图1B,本实施例触控装置可配合电脑操作系统判断手势后执行或产生对应的功能,即当使用者在上述触控装置上作出扫滑手势后,会在系统核心层(Kernel Layer)的驱动单元判断出该扫滑手势,并通知上层的使用者界面层(User Layer)的应用程序,再由应用程序(Application)将该扫滑手势对应的热键信号传给同为使用者界面层的电脑操作系统(Operation System),电脑操作系统收到热键信号后即执行对应的热键功能,举例来说,使用者于触控装置左边缘作出由左至右扫滑动作,一旦被成功识别,本发明判断的扫滑手势即会令电脑操作系统开启应用程序切换功能。Since the computer operating system accepts hotkey settings, please refer to FIG. 1B. The touch device of this embodiment can cooperate with the computer operating system to judge gestures and execute or generate corresponding functions, that is, when the user makes a swipe on the touch device After the gesture, the driver unit of the system kernel layer (Kernel Layer) will judge the swipe gesture, and notify the application program of the upper user interface layer (User Layer), and then the application program (Application) will make the swipe gesture The corresponding hotkey signal is transmitted to the computer operating system (Operation System), which is also the user interface layer. After receiving the hotkey signal, the computer operating system executes the corresponding hotkey function. Swipe the edge from left to right, once it is successfully recognized, the swipe gesture judged by the present invention will cause the computer operating system to activate the application switching function.
请配参阅图3A,本发明边缘扫滑手势判断方法的一较佳实施例包含有以下步骤:Please refer to FIG. 3A , a preferred embodiment of the edge swipe gesture determination method of the present invention includes the following steps:
预设有一第一区域D_right,其中该第一区域D_right与该触控装置10一侧缘保持一距离d1;即该触控装置10的感应基板上表面定义有该第一区域,该第一区域与其一侧缘保持一距离;A first area D_right is preset, wherein the first area D_right maintains a distance d1 from a side edge of the
在一预设时间内读取该触控装置10上物件的数笔位置信息;Reading several pieces of position information of the object on the
判断数笔信息中的第一笔位置信息是否落在该第一区域内;judging whether the first piece of location information among the pieces of information falls within the first area;
若是,则判断该第一笔位置信息与其他笔位置信息之间是否有位移差d11;及If so, then determine whether there is a displacement difference d11 between the first pen position information and other pen position information; and
若有,且该位移差大于一预设值时,则判断动作为边缘扫滑手势;其中,该预设值依据一般扫滑手势通过该第一区域的扫滑速度及该触控装置预设扫描时间而设。If yes, and the displacement difference is greater than a preset value, it is determined that the action is an edge swipe gesture; wherein, the preset value is based on the swipe speed of a general swipe gesture passing through the first area and the preset value of the touch device The scan time is set.
请配合参阅图2及图3A至图3C所示,该触控装置最多可规划三个右、左、上第一区域D_right、D_left、D_up,以供不同方向的扫滑使用。因此可在读取物位于该触控装置上的第一笔位置信息后,先判断落入三个右、左、上第一区域D_right、D_left、D_up的那一区,再确定是否为边缘扫滑手势。Please refer to FIG. 2 and FIG. 3A to FIG. 3C . The touch device can plan up to three right, left, and upper first regions D_right, D_left, and D_up for swiping in different directions. Therefore, after reading the first piece of position information on the touch device, first judge the area that falls into the three right, left, and upper first areas D_right, D_left, and D_up, and then determine whether it is an edge scan. Swipe gesture.
首先配合图3A所示,若在t1时间读入第一笔位置信息S10,并物件确定位在右第一区域D_right上S11,再在t2时间读取下一笔位置信息S111,之后计算此二笔位置信息之间位移差,并判断该位移差是否超过该预设值S112;若是,则判断为边缘扫滑手势S113;反之,则再读入下一笔位置信息与第一笔位置信息比对位移差,直到在预设时间内未有任一笔位置信息与第一笔位置信息的位移差大于该预设值为止S114,再将最后位置信息输出S115。First, as shown in Figure 3A, if the first position information S10 is read in at time t1, and the object is determined to be located on the first right area D_right S11, then the next position information S111 is read at time t2, and then the two are calculated. The displacement difference between the pen position information, and judge whether the displacement difference exceeds the preset value S112; if so, judge it as an edge swipe gesture S113; For the displacement difference, until the displacement difference between any piece of position information and the first piece of position information is greater than the preset value within a preset time S114, then output the last position information S115.
由于该右缘区域D_right靠近触控装置10的右侧缘,故被规范用来判断由右往左扫滑的手势,故本发明可进一步加一扫滑方向步骤,即将各笔位置信息与其下一笔位置信息相比后决定一物件位移方向,当所有位移方向均满足由该触控装置10的一侧缘向触控装置10中间方向(扫滑方向)时,且该位移差已大于该预设值,才判断动作为边缘滑扫手势;以此右第一区域D_right来说,可由各笔位置信息与下一笔位置信息的X轴座标Xa、Xa+1决定其位移方向是否满足扫滑方向;也就是说,假设触控装置的X轴座标是由左往右递增,而Y轴座标是由上往下递增时,当上述二物件位置被计算出来后,可进一步判断第一位置信息X轴座标Xa+1是否较下一笔位置信息的X座标Xa大,若此条件一并满足时才确定为边缘扫滑手势,以避免误判反方向手势的误触。Since the right edge area D_right is close to the right edge of the
同理,再配合参阅图3B所示,若于t1时间读入第一笔位置信息S10,并判断落入近左第一区域D_left后S11、S12,在t2时间再读取下一笔位置信息S121,之后判断二位置信息的位移差,判断该位移差是否超过预设的位移量S122;若是,则判断为边缘扫滑手势S123;反之,则再读入下一笔位置信息与第一笔位置信息比对位移差,直到在预设时间内未有任一笔位置信息与第一笔位置信息的位移差大于该预设值为止S124,再将最后位置信息输出S125。一样地,该左第一区域D_left规范为判断由左往右扫滑的手势,故可判断第一笔位置信息X轴座标Xb是否较下一笔位置信息的X座标Xb+1小,若此条件一并满足时才确定为边缘扫滑手势,以避免误判反方向手势的误触。Similarly, as shown in Figure 3B, if the first piece of position information S10 is read at time t1, and it is judged that it falls into the first near-left area D_left after S11 and S12, the next piece of position information is read at time t2 S121, then determine the displacement difference between the two position information, and determine whether the displacement difference exceeds the preset displacement S122; if so, judge it as an edge swipe gesture S123; The position information is compared with the displacement difference until the displacement difference between any piece of position information and the first piece of position information is greater than the preset value within a preset time S124, and then the last position information is output S125. Similarly, the specification of the first left area D_left is to judge the gesture of swiping from left to right, so it can be judged whether the X-axis coordinate Xb of the first position information is smaller than the X coordinate Xb+1 of the next position information, If all these conditions are met, it is determined as an edge swipe gesture, so as to avoid misjudgment of a false touch of a gesture in the opposite direction.
再者,再配合图3C所示,若在t1时间读入第一笔位置信息S10,并确定落入上第一区域D_up后S11、S12、S13,在t2时间再读取下一笔位置信息S131,之后计算此二笔位置信息的位移差,判断该位移差是否超过预设值S132;若是,则判断为边缘扫滑手势S133;反之,则再读入下一笔位置信息与第一笔位置信息比对位移差,直到在预设时间内未有任一笔位置信息与第一笔位置信息的位移差大于该预设值为止S134,再将最后位置信息输出S135。由于图3C示意该触控装置10提供一上第一区域D_up,以可规范判断由上往下扫滑的手势,故可判断第一笔位置信息Y轴座标Yc是否较第二位置信息的Y座标Yc+1小,若此条件一并满足时才确定为边缘扫滑手势,以避免误判反方向手势的误触。Furthermore, as shown in Figure 3C, if the first position information S10 is read at time t1, and it is determined to fall into the first area D_up after S11, S12, S13, the next position information is read at time t2 S131, then calculate the displacement difference between the two pieces of position information, and judge whether the displacement difference exceeds the preset value S132; if so, judge it as an edge swipe gesture S133; The position information is compared with the displacement difference until the displacement difference between any piece of position information and the first piece of position information is greater than the preset value within a preset time S134, and then the last position information is output S135. Since FIG. 3C shows that the
由于上述实施例以位移差判断有否超过预设值,主要是因为扫滑手势会较一般手势移动速度快,故本发明另一较佳实施例直接判断物件的移动速度是否满足预设值,以作为判断是否为扫滑手势的判断基础;也就是说,当读取数笔信息后,判断其第一笔位置信息是否落在该第一区域内,以及根据该数笔位置信息判断该物件的移动速度;若第一笔位置信息落在该第一区域且该移动速度大于一预设值时,则决定该物件的动作为边缘滑扫手势。Since the above embodiment uses the displacement difference to judge whether it exceeds the preset value, mainly because the sliding gesture moves faster than the general gesture, another preferred embodiment of the present invention directly judges whether the moving speed of the object meets the preset value, It is used as the basis for judging whether it is a swipe gesture; that is, after reading several pieces of information, it is judged whether the first piece of location information falls within the first area, and the object is judged according to the number of pieces of location information If the first piece of position information falls on the first area and the moving speed is greater than a preset value, then the action of the object is determined to be an edge swipe gesture.
再者,上述实施例只设单一位移量进行判断,判断正确性仍非最佳,故为再提高判断边缘扫滑手势的正确性,请参阅图4所示,手指于进行边缘扫滑时,滑动中的手指在近触控装置10外侧的速度一定较近内侧速度为低,因此本发明进一步将第一区域D由外至内再细分成多个并排子区域D1~D3,并对应多个子区域D1~D3预设有不同的预设值(R1~R3);在多个子区域之中,远离该触控装置侧缘的子区域所对应的预设值大于靠近该侧缘的子区域的对应预设值,即多个子区域D1~D3的预设值自依据扫滑方向的最近触控装置一侧缘增大(R1<R2<R3)。因此,首先落于其中一子区域D1、D2、D3的物件位置与下一笔物件位置距离,必须超过该子区域对应的位移量,才判断为边缘扫滑手势。Furthermore, the above-mentioned embodiment only sets a single displacement for judgment, and the judgment accuracy is still not optimal. Therefore, in order to further improve the judgment accuracy of the edge swiping gesture, please refer to FIG. 4 , when the finger is swiping the edge, The speed of the sliding finger near the outside of the
请配合参阅图5A所示,靠近该触控装置10的右侧的右第一区域D_right内由外侧至内侧并排三子区域D1~D3,分别对应有三组预设值(R1~R3);如此当手指首先落于子区域D1时,该触控装置10的控制电路以扫描时间(t1~t2时间约12.5ms)读取数笔位置信息,经计算第一笔位置信息与在后各笔位置信息之间位移差d11后,再与子区域D1的预设值(R1)比对,判断是否已超出该预设值(R1),若是则判断为边缘扫滑手势(d11>R1)。Please refer to FIG. 5A , in the right first region D_right near the
再如图5B所示,若手指首先落于子区域D2时,该触控装置10的控制电路以扫描时间连续读取数笔位置信息,经计算第一笔位置信息与在后各笔位置信息之间的位移差d12后,再与D2子区域的预设值(R2)比对,是否已超出该预设值位移量R2,若是则判断为边缘扫滑手势(d12>R2)。As shown in FIG. 5B , if the finger lands on the sub-region D2 first, the control circuit of the
再如图5C所示,若手指首先落于子区域D3时,该触控装置10的控制电路以扫描周期连续读取数笔位置信息,经计算第一笔位置信息与在后各笔位置信息之间位移差d13后,再与子区域D3的预设值R3比对,是否已超出该预设值R3,若是则判断为边缘扫滑手势(d13>R3)。As shown in FIG. 5C , if the finger lands on the sub-region D3 first, the control circuit of the
由图4A至图4C可知,若使用者确实进行边缘扫滑动作时,手指在扫滑期间,在D1~D3子区域的速度确实不同,即以相同的扫描时间抓取数笔位置信息可知,于近外侧子区域的位移差即较内侧子区域的位移差为短;因此,本实施例进一步将第一区域进一步区分成多个子区域,并分别预设不同位预设值,故能有效提高判断边缘扫滑手势的正确性,减少误判。From Figure 4A to Figure 4C, it can be seen that if the user does perform an edge swipe action, the speed of the finger in the D1~D3 sub-areas is indeed different during the swipe period, that is, it can be seen that several pieces of position information are captured at the same scanning time, The displacement difference in the near outer sub-region is shorter than the displacement difference in the inner sub-region; therefore, in this embodiment, the first region is further divided into a plurality of sub-regions, and different preset values are preset respectively, so it can effectively improve Judge the correctness of edge swiping gestures and reduce misjudgments.
综上所述,由于本发明的第一区域与该触控装置侧边保持一距离,可令绝大部份为扫滑手势的手指落入此第一区域,提高第一笔位置信息落入该第一区域的条件,解决因触控装置组装至机壳有高低落差所造成所读取第一笔位置信息无法落入第一区域的问题;接着,本发明只要判断第一笔位置信息与其它笔位置信息有位移差,且于一预设时间内获得与其中一笔位置信息的位移差超过预设值,或根据多个位置信息判断出的物件移动速度大于预设值,即可判断为边缘扫滑手势;其中,判断位移差的预设值依据一般扫滑手势通过该第一区域的扫滑速度及该触控装置预设扫描时间而设,因此在判断位移差大于此一预设值时,即代表落入此第一区域的手指初始速度非为零,并且符合边缘扫滑手势的手指速度,而判断为边缘扫滑手势;因此,本发明可正确地识别出边缘扫滑手势,故可应用于如触控板(Touch Pad)或触控荧幕(Touch screen)等触控装置上。To sum up, since the first area of the present invention maintains a distance from the side of the touch device, most of the fingers of the swipe gesture can fall into the first area, improving the accuracy of the first position information. The condition of the first area solves the problem that the first position information read cannot fall into the first area due to the height difference between the touch device and the casing; then, the present invention only needs to judge the first position information and There is a displacement difference in other pen position information, and the displacement difference with one of the position information obtained within a preset time exceeds the preset value, or the moving speed of the object judged based on multiple position information is greater than the preset value, it can be judged is an edge swipe gesture; wherein, the preset value for judging the displacement difference is set according to the swipe speed of the general swipe gesture passing through the first area and the preset scanning time of the touch device, so when the judged displacement difference is greater than the preset value, When the value is set, it means that the initial speed of the finger falling into the first area is non-zero, and it conforms to the finger speed of the edge swipe gesture, and it is judged as an edge swipe gesture; therefore, the present invention can correctly identify the edge swipe Gestures, so it can be applied to touch devices such as touch pads or touch screens.
虽然本发明已以较佳实施例披露如上,但本发明并非限定于此。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。Although the present invention has been disclosed above with preferred embodiments, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, so the protection scope of the present invention should be based on the scope defined in the claims.
Claims (15)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW101132966 | 2012-09-10 | ||
| TW101132966A TWI475440B (en) | 2012-09-10 | 2012-09-10 | Touch device and gesture identifying method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103677380A true CN103677380A (en) | 2014-03-26 |
Family
ID=50315170
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210384853.0A Pending CN103677380A (en) | 2012-09-10 | 2012-10-11 | Touch device and gesture judgment method thereof |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103677380A (en) |
| TW (1) | TWI475440B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104951213A (en) * | 2014-03-27 | 2015-09-30 | 原相科技股份有限公司 | Method for preventing false triggering of edge sliding gesture and gesture triggering method |
| CN105630391A (en) * | 2015-12-29 | 2016-06-01 | 武汉斗鱼网络科技有限公司 | Boundary gesture operation recognition method and device |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI514248B (en) * | 2014-03-18 | 2015-12-21 | Pixart Imaging Inc | Method for preventing from accidentally triggering edge swipe gesture and gesture triggering |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101004651A (en) * | 2006-01-18 | 2007-07-25 | 义隆电子股份有限公司 | Multi-object motion detection method for touchpad |
| CN101196793A (en) * | 2006-12-04 | 2008-06-11 | 三星电子株式会社 | Gesture-based user interface method and device |
| CN101853133A (en) * | 2010-05-31 | 2010-10-06 | 中兴通讯股份有限公司 | A method for automatically recognizing gestures and a mobile terminal |
| CN102012759A (en) * | 2009-09-08 | 2011-04-13 | 万达光电科技股份有限公司 | Touch panel gesture detection method |
| US20110185318A1 (en) * | 2010-01-27 | 2011-07-28 | Microsoft Corporation | Edge gestures |
| CN102193696A (en) * | 2010-03-15 | 2011-09-21 | 万达光电科技股份有限公司 | Multipoint detection method for capacitive touch panel |
| CN102289321A (en) * | 2011-08-22 | 2011-12-21 | 惠州Tcl移动通信有限公司 | Handheld device and method for processing mistaken touch on touch screen thereof |
| TW201211846A (en) * | 2010-09-13 | 2012-03-16 | Elan Microelectronics Corp | Touchpad preventing remiss touch, method thereof and its application |
| CN102402369A (en) * | 2010-09-13 | 2012-04-04 | 联想(北京)有限公司 | Electronic equipment and method for moving operation prompt identifier thereof |
| US20120154303A1 (en) * | 2010-09-24 | 2012-06-21 | Research In Motion Limited | Method for conserving power on a portable electronic device and a portable electronic device configured for the same |
| CN102520845A (en) * | 2011-11-23 | 2012-06-27 | 优视科技有限公司 | Method and device for mobile terminal to call out thumbnail interface |
| CN102591567A (en) * | 2011-01-06 | 2012-07-18 | 捷讯研究有限公司 | Electronic device and method of controlling same |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI248015B (en) * | 2003-11-27 | 2006-01-21 | Sentelic Corp | Method and controller for recognizing drag gesture |
| TW200701047A (en) * | 2005-06-23 | 2007-01-01 | Elan Microelectronics Corp | Method for detecting overlap of function area on touch pad |
-
2012
- 2012-09-10 TW TW101132966A patent/TWI475440B/en not_active IP Right Cessation
- 2012-10-11 CN CN201210384853.0A patent/CN103677380A/en active Pending
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101004651A (en) * | 2006-01-18 | 2007-07-25 | 义隆电子股份有限公司 | Multi-object motion detection method for touchpad |
| CN101196793A (en) * | 2006-12-04 | 2008-06-11 | 三星电子株式会社 | Gesture-based user interface method and device |
| CN102012759A (en) * | 2009-09-08 | 2011-04-13 | 万达光电科技股份有限公司 | Touch panel gesture detection method |
| US20110185318A1 (en) * | 2010-01-27 | 2011-07-28 | Microsoft Corporation | Edge gestures |
| CN102193696A (en) * | 2010-03-15 | 2011-09-21 | 万达光电科技股份有限公司 | Multipoint detection method for capacitive touch panel |
| CN101853133A (en) * | 2010-05-31 | 2010-10-06 | 中兴通讯股份有限公司 | A method for automatically recognizing gestures and a mobile terminal |
| TW201211846A (en) * | 2010-09-13 | 2012-03-16 | Elan Microelectronics Corp | Touchpad preventing remiss touch, method thereof and its application |
| CN102402369A (en) * | 2010-09-13 | 2012-04-04 | 联想(北京)有限公司 | Electronic equipment and method for moving operation prompt identifier thereof |
| US20120154303A1 (en) * | 2010-09-24 | 2012-06-21 | Research In Motion Limited | Method for conserving power on a portable electronic device and a portable electronic device configured for the same |
| CN102591567A (en) * | 2011-01-06 | 2012-07-18 | 捷讯研究有限公司 | Electronic device and method of controlling same |
| CN102289321A (en) * | 2011-08-22 | 2011-12-21 | 惠州Tcl移动通信有限公司 | Handheld device and method for processing mistaken touch on touch screen thereof |
| CN102520845A (en) * | 2011-11-23 | 2012-06-27 | 优视科技有限公司 | Method and device for mobile terminal to call out thumbnail interface |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104951213A (en) * | 2014-03-27 | 2015-09-30 | 原相科技股份有限公司 | Method for preventing false triggering of edge sliding gesture and gesture triggering method |
| CN104951213B (en) * | 2014-03-27 | 2018-06-22 | 原相科技股份有限公司 | Method for preventing false triggering of edge sliding gesture |
| CN108733302A (en) * | 2014-03-27 | 2018-11-02 | 原相科技股份有限公司 | Gesture triggering method |
| CN108874284A (en) * | 2014-03-27 | 2018-11-23 | 原相科技股份有限公司 | gesture triggering method |
| CN105630391A (en) * | 2015-12-29 | 2016-06-01 | 武汉斗鱼网络科技有限公司 | Boundary gesture operation recognition method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| TWI475440B (en) | 2015-03-01 |
| TW201411432A (en) | 2014-03-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2820511B1 (en) | Classifying the intent of user input | |
| US9864507B2 (en) | Methods and apparatus for click detection on a force pad using dynamic thresholds | |
| TWI608407B (en) | Touch device and control method thereof | |
| EP3049898B1 (en) | Pressure-sensitive trackpad | |
| US20110069021A1 (en) | Reducing false touchpad data by ignoring input when area gesture does not behave as predicted | |
| US20090066659A1 (en) | Computer system with touch screen and separate display screen | |
| CN105353927B (en) | Capacitive touch device and object identification method thereof | |
| US20110102339A1 (en) | Touch sensing method and electronic device | |
| US8970498B2 (en) | Touch-enabled input device | |
| JP2014052988A (en) | Touch panel input device, touch input method, and touch input control program | |
| US20140298275A1 (en) | Method for recognizing input gestures | |
| JP6647901B2 (en) | Electrostatic input device, program for electrostatic input device | |
| US20170170826A1 (en) | Optical sensor based mechanical keyboard input system and method | |
| CN103370680A (en) | Touch input device, electronic apparatus, and input method | |
| CN103677380A (en) | Touch device and gesture judgment method thereof | |
| CN102214028B (en) | Gesture recognition method and device for touch panel | |
| CN104679312A (en) | Electronic device as well as touch system and touch method of electronic device | |
| CN103677379B (en) | Touch device and gesture judgment method thereof | |
| TWI709891B (en) | Touch device and operation method thereof | |
| CN103164060A (en) | Electronic device and touch method | |
| CN110119212A (en) | A kind of cursor control keyboard | |
| US20110025513A1 (en) | Method for carrying out single touch operation by means of computer input devices | |
| KR101706909B1 (en) | Finger Input Devices | |
| US20240370119A1 (en) | Control method of a touchpad | |
| US9727236B2 (en) | Computer input device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140326 |
