CN101667077B - Single click, double click and drag action recognition method and controller of touch device - Google Patents
Single click, double click and drag action recognition method and controller of touch device Download PDFInfo
- Publication number
- CN101667077B CN101667077B CN200810214860XA CN200810214860A CN101667077B CN 101667077 B CN101667077 B CN 101667077B CN 200810214860X A CN200810214860X A CN 200810214860XA CN 200810214860 A CN200810214860 A CN 200810214860A CN 101667077 B CN101667077 B CN 101667077B
- Authority
- CN
- China
- Prior art keywords
- action
- control device
- reference time
- contactor control
- time
- 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.)
- Expired - Fee Related
Links
- 230000009471 action Effects 0.000 title claims abstract description 158
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000001514 detection method Methods 0.000 claims description 45
- 230000033001 locomotion Effects 0.000 claims description 14
- 238000012850 discrimination method Methods 0.000 claims 5
- 238000004364 calculation method Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 238000004519 manufacturing process Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 101100129500 Caenorhabditis elegans max-2 gene Proteins 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000001939 inductive effect Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000035484 reaction time Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种仿真鼠标按键的动作辨识方法及其控制器,特别是涉及一种单击、双击与拖拽动作辨识方法及触控装置的控制器。The invention relates to an action recognition method for simulating mouse buttons and a controller thereof, in particular to a single-click, double-click and drag action recognition method and a controller for a touch device.
背景技术Background technique
视窗图形用户界面(Graphical User Interface,GUI)是最早由PARC研究室所推出的程序操作界面,其可搭配指向装置(Pointing Device,如鼠标)来使用,用户仅需以视觉式的指针移动鼠标加上点选动作,即可轻松完成想要执行的动作,有效解决以往文字模式需输入繁杂的指令所造成的不便。因此视窗界面纷纷被苹果计算机与微软(Microsoft)所采用,成为所有操作系统的主流模式。在应用视窗界面系统的电子设备上,例如台式计算机、笔记本电脑、平板计算机、个人数字助理(Personal Digital Assistant,PDA)等等,指向装置已成为基本配置。Windows GUI (Graphical User Interface, GUI) is the first program operation interface launched by PARC Research Office. It can be used with a pointing device (pointing device, such as a mouse). Users only need to move the mouse with a visual pointer to move Click on the action, you can easily complete the action you want to execute, effectively solving the inconvenience caused by the need to input complicated commands in the previous text mode. Therefore, the window interface has been adopted by Apple Computer and Microsoft (Microsoft), and has become the mainstream mode of all operating systems. On electronic devices using the window interface system, such as desktop computers, notebook computers, tablet computers, personal digital assistants (Personal Digital Assistant, PDA), etc., the pointing device has become a basic configuration.
目前指向装置包含外部装置的鼠标、内建于携带式计算机系统上的轨迹球与触控板(Touch Pad)、以及与屏幕结合的触控面板(Touch Panel)等等,其中鼠标为最早推出的指向装置。以鼠标为例来说明指向装置的功能,鼠标可控制电子装置的屏幕上的指针(Pointer),即鼠标移到哪里,指针也跟随移到哪里,然后在屏幕上对将要执行的目标按下控制按键,即可对电子装置下达执行指令。然而,目前的电子设备的设计朝向短小轻薄发展,例如笔记本电脑已逐渐取代台式计算机的出售,致使体积小的触控装置(诸如触控板)有逐渐成为指向装置主流的趋势。At present, pointing devices include a mouse of an external device, a trackball and a touch pad (Touch Pad) built in a portable computer system, and a touch panel (Touch Panel) combined with a screen, etc., wherein the mouse is the earliest pointing device. Take the mouse as an example to illustrate the function of the pointing device. The mouse can control the pointer (Pointer) on the screen of the electronic device, that is, where the mouse moves, the pointer also moves there, and then press the control on the target to be executed on the screen By pressing the button, an execution command can be issued to the electronic device. However, the design of the current electronic equipment is becoming smaller and thinner. For example, notebook computers have gradually replaced desktop computers in sales, so that small touch devices (such as touchpads) gradually become the mainstream of pointing devices.
目前触控装置的技术大致包含电容式、电阻式、电磁式、压力式、电感式、表面声波式、超音波式、光学式等等。而当诸如手指等物体在触控装置上移动,即可控制指针沿物体移动的方向移动。然而,指向装置除了控制指针移动外,还兼具下达执行指令的功能。Current touch device technologies generally include capacitive, resistive, electromagnetic, pressure, inductive, surface acoustic wave, ultrasonic, optical, and so on. And when an object such as a finger moves on the touch device, the pointer can be controlled to move along the moving direction of the object. However, in addition to controlling the movement of the pointer, the pointing device also has the function of issuing instructions for execution.
以鼠标的操作为例,当指标移动至欲启动的目标(如程序、文件)时,若按一次鼠标按键(Clicking,一般系统预设为鼠标左键),则可选择目标;若连续按两次鼠标按键(Double Clicking),则可选择目标并令其开启。若持续按压鼠标按键(如左键)并移动鼠标,则可拖拽(Drag)目标物至其它位置。然而,以诸如触控板等的触控装置来说,可定义物体在触控装置上的某种动作手势,用于实现上述和操作鼠标相同的目的。Take the operation of the mouse as an example, when the pointer moves to the target to be started (such as a program, file), if you click the mouse button once (Clicking, generally the system defaults to the left mouse button), you can select the target; Clicking the mouse button (Double Clicking) selects the target and makes it open. If you keep pressing the mouse button (such as the left button) and move the mouse, you can drag (Drag) the target to another location. However, for a touch device such as a touch pad, certain gestures of an object on the touch device can be defined to achieve the same purpose as that of operating a mouse.
参照图1、2、3,现有触控装置仿真鼠标单击、双击与拖拽的动作,分别如美国专利公告号US6380931“OBJECT POSITION DETECTOR WITH EDGE MOTION FEATURE AND GESTURE RECOGNITION”及US6414671“OBJECT POSITION DETECTOR WITH EDGE MOTION FEATURE AND GESTURE RECOGNITION”所示,使用多个定时器计算一个物体在一个触控装置上出现的复数时间间距,并利用该些时间间距计算出单击、双击与拖拽的动作。在图1的单击动作程序的情况下,时间Tdown需小于第一最大参考时间Tmax_1。在图2所示的双击动作程序情况下,时间Tdown-1需小于该第一最大参考时间Tmax_1,时间Tup-1需小于第二最大参考时间Tmax_2,且时间Tdown-2需小于第三最大参考时间Tmax_3。在图3的拖拽动作程序的情况下,时间Tdown-1需小于该第一最大参考时间Tmax_1,且时间Tup-1需小于该第二最大参考时间Tmax_2。然而,该些现有发明因为各时间间距的组合及比较关系相当复杂,其逻辑电路的制造成本较为高昂。另外,由于用户的个人差异,所以每一个人在触控装置上执行双击及拖拽手势的各阶段时间间距存在差异,导致现有方法容易有误判的情况发生。Referring to Figures 1, 2, and 3, the existing touch devices simulate mouse click, double-click, and drag actions, such as US Patent No. US6380931 "OBJECT POSITION DETECTOR WITH EDGE MOTION FEATURE AND GESTURE RECOGNITION" and US6414671 "OBJECT POSITION DETECTOR As shown in WITH EDGE MOTION FEATURE AND GESTURE RECOGNITION", multiple timers are used to calculate the multiple time intervals of an object appearing on a touch device, and these time intervals are used to calculate the click, double-click and drag actions. In the case of the single-click action program in FIG. 1 , the time T down needs to be less than the first maximum reference time T max — 1 . In the case of the double-click action program shown in Figure 2, the time T down-1 needs to be less than the first maximum reference time T max_1 , the time T up-1 needs to be less than the second maximum reference time T max_2 , and the time T down-2 needs to be less than the third maximum reference time T max_3 . In the case of the drag action program in FIG. 3 , the time T down-1 must be less than the first maximum reference time T max_1 , and the time T up-1 must be less than the second maximum reference time T max_2 . However, in these prior inventions, the manufacturing cost of the logic circuit is relatively high due to the complex combination and comparison relationship of the various time intervals. In addition, due to individual differences among users, there are differences in the time interval between each stage of double-tapping and dragging gestures performed by each person on the touch device, which leads to misjudgment in the existing method.
参阅图4、5、6,另一现有触控装置仿真鼠标单击、双击与拖拽的动作,分别如美国专利公告号US7180506“METHOD FOR IDENTIFYING A MOVEMENT OF SINGLE TAP ON A TOUCH DEVICE”、US7190356“METHOD AND CONTROLLER FOR IDENTIFYING DOUBLE TAPGESTURES”及US7184031“METHOD AND CONTROLLER FOR IDENTIFYING A DRAG GESTURE”所示,这些现有发明利用检测时间Tdetect,分析在该检测时间Tdetect中一个物体触碰一个触控装置时,触发信号的波形的发生及结束,从而对应地产生操作信号代表单击、双击与拖拽的动作。其中,检测时间Tdetect是相同时间长度。由于利用较前一现有技术简易的判断规则,该些现有的发明有效解决前一现有技术判断方法较为复杂的缺点,然而却也因为在检测时间Tdetect后才开始执行单击、双击与拖拽的动作,无法快速地反应用户的操作。Referring to Figures 4, 5, and 6, another existing touch device simulates the actions of clicking, double-clicking, and dragging a mouse, such as US Patent No. US7180506 "METHOD FOR IDENTIFYING A MOVEMENT OF SINGLE TAP ON A TOUCH DEVICE", US7190356 As shown in "METHOD AND CONTROLLER FOR IDENTIFYING DOUBLE TAPGESTURES" and US7184031 "METHOD AND CONTROLLER FOR IDENTIFYING A DRAG GESTURE", these existing inventions use the detection time T detect to analyze when an object touches a touch device during the detection time T detect When the waveform of the trigger signal occurs and ends, the operation signal is correspondingly generated to represent the actions of clicking, double-clicking and dragging. Wherein, the detection time T detect is the same time length. Due to the use of simple judgment rules compared with the previous prior art, these existing inventions effectively solve the comparatively complicated shortcomings of the previous prior art judgment method, but also because the single-click and double-click are only executed after the detection time T detect The action of dragging and dropping cannot quickly respond to the user's operation.
如上所述,为了改善执行单击、双击与拖拽的动作的反应时间,并仍能维持较简易的判断规则以减少逻辑电路的制造成本,因此,有必要寻求解决方法。As mentioned above, in order to improve the response time of the actions of clicking, double-clicking and dragging, and still maintain a simpler judgment rule to reduce the manufacturing cost of the logic circuit, it is necessary to find a solution.
发明内容Contents of the invention
本发明的第一目的是提供一种单击动作辨识方法。The first object of the present invention is to provide a click action recognition method.
本发明的第二目的是提供一种触控装置的控制器。本发明的第三目的是提供一种双击动作辨识方法。The second objective of the present invention is to provide a controller for a touch device. The third object of the present invention is to provide a double-tap action recognition method.
本发明的第四目的,即提供一种拖拽动作辨识方法。The fourth objective of the present invention is to provide a method for recognizing a drag action.
本发明单击动作辨识方法,是用于辨识一个物体触击一个触控装置的动作,其特征在于:该辨识方法包含下列步骤:(a)检测该物体接触该触控装置动作的发生,并开始计时;(b)检测在第一参考时间内,是否有物体接触该触控装置并离开;(c)若该(b)步骤的检测结果为是,则从该第一参考时间结束时起产生一个操作信号,用于表示触击启动动作,且若该(b)步骤的检测结果为否,则重新检测所述物体接触所述触控装置动作的发生;(d)在该第一参考时间结束后,检测是否有该物体在第二参考时间内第二次接触该触控装置动作的发生,其中第二参考时间内维持该表示触击启动动作的操作信号;(e)若该(d)步骤的结果为否,则从该第二参考时间结束时起终止该操作信号,用于表示触击结束动作,从而完成单击动作。The click action recognition method of the present invention is used to recognize the action of an object touching a touch device, and is characterized in that: the recognition method includes the following steps: (a) detecting the occurrence of the action of the object touching the touch device, and Start timing; (b) detect whether an object touches the touch device and leaves within the first reference time; (c) if the detection result of the (b) step is yes, start from the end of the first reference time Generate an operation signal for indicating a touch start action, and if the detection result of the (b) step is negative, re-detect the occurrence of the action of the object touching the touch device; (d) in the first reference After the time is over, detect whether there is an action of the object touching the touch device for the second time within the second reference time, wherein the operation signal representing the touch start action is maintained within the second reference time; (e) if the ( If the result of step d) is no, the operation signal is terminated from the end of the second reference time, which is used to indicate that the tap ends the action, thereby completing the click action.
而本发明触控装置的控制器,是用于辨识一个物体在该触控装置上的动作,其特征在于:该控制器包括:接触检测单元,用于检测到每一次该物体接触该触控装置的动作发生时,分别对应产生一个触发信号;计时单元,用于当该物体接触该触控装置时进行计时,并于该物体不接触该触控装置时结束计时;手势运算单元,用于依据该接触检测单元在第一参考时间内所检测的结果,判断是否从该第一参考时间结束时起产生一个操作信号以表示一次触击启动动作,再依据该接触检测单元在第二参考时间内所检测的结果,判断该物体是否在该第二参考时间内第二次接触该触控装置,其中在该第二参考时间内维持该表示触击启动动作的操作信号,若该物体未在该第二参考时间内第二次接触该触控装置,则从该第二参考时间结束时起终止该操作信号以表示一次触击结束动作,从而完成一次单击动作。The controller of the touch device of the present invention is used to identify the movement of an object on the touch device, and it is characterized in that: the controller includes: a contact detection unit, which is used to detect the When the action of the device occurs, a corresponding trigger signal is generated respectively; the timing unit is used for timing when the object touches the touch device, and ends the timing when the object does not touch the touch device; the gesture operation unit is used for According to the result detected by the contact detection unit within the first reference time, it is judged whether an operation signal is generated from the end of the first reference time to indicate a touch start action, and then according to the contact detection unit at the second reference time Based on the detected result, it is judged whether the object touches the touch device for the second time within the second reference time, wherein the operation signal representing the touch start action is maintained within the second reference time, if the object is not within the second reference time When the touch device is touched for the second time within the second reference time, the operation signal is terminated from the end of the second reference time to indicate the end of a touch action, thereby completing a click action.
本发明双击动作辨识方法,用于辨识物体触击于触控装置的动作,其特征在于:该辨识方法包含下列步骤:(a)检测该物体接触该触控装置动作的发生,并开始计时;(b)检测在第一参考时间内,是否有该物体接触该触控装置并离开;(c)若该(b)步骤的检测结果为是,则自该第一参考时间结束时起产生一个操作信号,用于表示触击启动动作,且若该(b)步骤的检测结果为否,则重新检测所述物体接触所述触控装置动作的发生;(d)在该第一参考时间结束后,检测在第二参考时间内,是否有该物体第二次接触该触控装置动作的发生及动作的结束;及(e)若该(d)步骤的检测结果为是,则从该第二参考时间结束时起终止该操作信号,用于表示一次触击结束动作,再产生及结束另一操作信号,用于表示另一次触击开始动作及触击结束动作,从而完成一次双击动作。The double-click action recognition method of the present invention is used to identify the action of an object touching the touch device, and is characterized in that: the identification method includes the following steps: (a) detecting the occurrence of the action of the object touching the touch device, and starting timing; (b) Detect whether the object touches the touch device and leaves within the first reference time; (c) if the detection result of step (b) is yes, a The operation signal is used to indicate the touch start action, and if the detection result of the (b) step is no, then re-detect the occurrence of the object touching the touch device; (d) end at the first reference time After that, detect whether the object touches the touch device for the second time and the end of the action within the second reference time; and (e) if the detection result of the (d) step is yes, then from the first 2. The operation signal is terminated when the reference time ends, which is used to indicate the end action of one tap, and then another operation signal is generated and terminated, which is used to indicate the start action and end action of another tap, so as to complete a double-click action.
另一方面,本发明触控装置的控制器,是用于辨识物体在该触控装置上的动作,其特征在于:该控制器包括:接触检测单元,用于检测到每一次该物体接触该触控装置的动作发生时,分别对应产生一个触发信号;计时单元,用于当该物体接触该触控装置时进行计时,并于该物体不接触该触控装置时结束计时;手势运算单元,用于依据该接触检测单元在第一参考时间内所检测的结果,判断是否从该第一参考时间结束时起产生一个操作信号以表示一次触击启动动作,再依据该接触检测单元在第二参考时间内所检测的结果,判断该物体是否在该第二参考时间内第二次接触该触控装置并离开,若是,从该第二参考时间结束时起终止该操作信号以表示一次触击结束动作,再产生及结束另一个操作信号以表示另一次触击开始及结束动作,从而完成一次双击动作。On the other hand, the controller of the touch device of the present invention is used to identify the action of the object on the touch device, and it is characterized in that: the controller includes: a contact detection unit, used to detect each time the object touches the When the action of the touch device occurs, a corresponding trigger signal is generated respectively; the timing unit is used for timing when the object touches the touch device, and ends the timing when the object does not touch the touch device; the gesture operation unit, It is used to determine whether an operation signal is generated from the end of the first reference time according to the result detected by the contact detection unit within the first reference time to indicate a touch start action, and then according to the contact detection unit in the second Based on the detected results within the reference time, it is judged whether the object touches the touch device for the second time and leaves within the second reference time, and if so, the operation signal is terminated from the end of the second reference time to indicate a touch End the action, and then generate and end another operation signal to indicate that another touch starts and ends the action, thereby completing a double-click action.
本发明拖拽动作辨识方法,是用于辨识物体触击触控装置的动作,其特征在于:该辨识方法包含下列步骤:(a)检测该物体接触该触控装置动作的发生,并开始计时;(b)检测在第一参考时间内,是否有该物体接触该触控装置并离开;(c)若该(b)步骤的检测结果为是,则从该第一参考时间结束时起产生一个操作信号,用于表示触击启动动作,且若该(b)步骤的检测结果为否,则重新检测所述物体接触所述触控装置动作的发生;(d)在该第一参考时间结束后,检测在第二参考时间内,是否有该物体第二次接触该触控装置动作的发生及动作的结束;(e)若该(d)步骤的检测结果为:检测到该物体第二次接触该触控装置动作的发生,但是无该物体第二次接触该触控装置动作的结束,则从该第二参考时间结束时起,产生持续性的操作信号直到检测到该物体第二次接触该触控装置的动作结束时起终止该操作信号,以完成一次拖拽动作。The drag action recognition method of the present invention is used to identify the action of an object touching the touch device, and is characterized in that: the recognition method includes the following steps: (a) detecting the occurrence of the action of the object touching the touch device, and starting timing ; (b) detect whether the object touches the touch device and leaves within the first reference time; (c) if the detection result of the (b) step is yes, it will be generated from the end of the first reference time An operation signal, used to indicate a touch start action, and if the detection result of the (b) step is no, then re-detect the occurrence of the action of the object touching the touch device; (d) at the first reference time After the end, detect whether the object touches the touch device for the second time and the end of the action within the second reference time; (e) if the detection result of the (d) step is: the object is detected If the action of touching the touch device for the second time occurs, but there is no end of the action of the object touching the touch device for the second time, then from the end of the second reference time, a continuous operation signal will be generated until the object is detected for the first time. The operation signal is terminated when the action of touching the touch device for the second time ends, so as to complete a drag action.
另一方面,本发明触控装置的控制器,是辨识物体触击该触控装置的动作;其特征在于:该控制器包括:接触检测单元,用于检测到每一次该物体接触该触控装置的动作发生时,分别对应产生一个触发信号;计时单元,用于当该物体接触该触控装置时进行计时,并于该物体不接触该触控装置时结束计时;手势运算单元,用于依据该接触检测单元在第一参考时间内所检测的结果,判断是否从该第一参考时间结束时起产生一个操作信号以表示一次触击启动动作,再依据该接触检测单元在第二参考时间内所检测的结果,判断该物体是否在该第二参考时间内第二次接触该触控装置但未离开,若是,自该第二参考时间结束时起产生持续性的操作信号直到检测到该物体第二次接触该触控装置的动作结束时起终止该操作信号,以完成一次拖拽动作。On the other hand, the controller of the touch device of the present invention is to identify the action of an object touching the touch device; it is characterized in that: the controller includes: a contact detection unit, which is used to detect each time the object touches the touch When the action of the device occurs, a corresponding trigger signal is generated respectively; the timing unit is used for timing when the object touches the touch device, and ends the timing when the object does not touch the touch device; the gesture operation unit is used for According to the result detected by the contact detection unit within the first reference time, it is judged whether an operation signal is generated from the end of the first reference time to indicate a touch start action, and then according to the contact detection unit at the second reference time Based on the detected result, it is judged whether the object touches the touch device for the second time within the second reference time but does not leave. If so, a continuous operation signal is generated from the end of the second reference time until the object is detected. The operation signal is terminated when the object touches the touch device for the second time, so as to complete a dragging action.
本发明的有益效果在于:为触控装置提供更佳的单击、双击与拖拽动作辨识方法,以改善执行单击、双击与拖拽的动作的反应时间,并仍能维持较简易的判断规则以减少逻辑电路的制造成本。The beneficial effect of the present invention is to provide a better recognition method for single-click, double-click and drag actions for the touch device, so as to improve the reaction time for performing single-click, double-click and drag actions, and still maintain a simpler judgment rules to reduce the manufacturing cost of logic circuits.
附图说明Description of drawings
图1为时序图,说明一种现有单击动作辨识方法是依据单击动作而产生相对应的操作信号;FIG. 1 is a timing diagram, illustrating that an existing single-click action recognition method generates a corresponding operation signal based on the single-click action;
图2为时序图,说明一种现有双击动作辨识方法是依据双击动作而产生相对应的操作信号;FIG. 2 is a timing diagram, illustrating that an existing double-click action recognition method generates a corresponding operation signal based on the double-click action;
图3为时序图,说明一种现有拖拽动作辨识方法是依据拖拽动作而产生相对应的操作信号;FIG. 3 is a sequence diagram, illustrating that an existing drag action recognition method generates a corresponding operation signal based on the drag action;
图4为时序图,说明另一种现有单击动作辨识方法是依据单击动作而产生相对应的操作信号;FIG. 4 is a sequence diagram illustrating that another existing click action recognition method is to generate a corresponding operation signal based on the click action;
图5为时序图,说明另一种现有双击动作辨识方法是依据双击动作而产生相对应的操作信号;FIG. 5 is a sequence diagram illustrating another existing double-tap action recognition method is to generate a corresponding operation signal based on the double-tap action;
图6为时序图,说明另一种现有拖拽动作辨识方法是依据拖拽动作而产生相对应的操作信号;FIG. 6 is a sequence diagram illustrating that another existing method for identifying a drag action is to generate a corresponding operation signal based on the drag action;
图7为流程图,说明本发明单击、双击及拖拽动作辨识方法的优选实施例;FIG. 7 is a flow chart illustrating a preferred embodiment of the method for recognizing single-click, double-click and drag actions of the present invention;
图8为方块图,说明本发明触控装置的控制器优选实施例;8 is a block diagram illustrating a preferred embodiment of the controller of the touch device of the present invention;
图9为时序图,说明优选实施例的单击动作辨识方法是依据单击动作而产生相对应的操作信号;FIG. 9 is a sequence diagram illustrating that the single-click action recognition method of the preferred embodiment generates a corresponding operation signal based on the single-click action;
图10为时序图,说明优选实施例的双击动作辨识方法是依据双击动作而产生相对应的操作信号;FIG. 10 is a sequence diagram illustrating that the double-tap action recognition method of the preferred embodiment generates a corresponding operation signal based on the double-tap action;
图11为时序图,说明优选实施例的拖拽动作辨识方法是依据拖拽动作而产生相对应的操作信号。FIG. 11 is a timing diagram illustrating that the method for recognizing a drag action in a preferred embodiment generates a corresponding operation signal according to the drag action.
具体实施方式Detailed ways
下面结合附图及实施例对本发明进行详细说明:Below in conjunction with accompanying drawing and embodiment the present invention is described in detail:
参考图4,本发明单击、双击与拖拽控制器1的优选实施例,适用于安装在包括触控装置3的电子设备上,可用来辨识物体2在触控装置3上的动作,以向主机4发送一个对应于该动作的操作信号。需注意的是,触控装置3可泛指电容式、电感式及其它相类似的触控装置3,在本优选实施例中,特别是指电容式的触控装置3。Referring to FIG. 4 , a preferred embodiment of the single-click, double-click and
物体2用来与触控装置3相接触,即依据物体2在触控装置3上的动作,会使控制器1向主机4发送表示其动作的相对应操作信号,一般这些操作信号可以分为坐标的变化、单击、双击、拖拽、移动、卷动、左键、右键、中键等…,以进一步仿真出鼠标、键盘的行为。当然,物体2需与触控装置3相配合,例如电容的触控装置3,故物体2为人体手指,或是其它类型的导体。The
主机4泛指各种电子装置,例如台式计算机、笔记本电脑、平板计算机、个人数字助理(Personal Digital Assistant,PDA)、手机、各种电器用品的遥控器,或者其它能搭配触控装置3作为输入装置的电子装置。Host 4 generally refers to various electronic devices, such as desktop computers, notebook computers, tablet computers, personal digital assistants (Personal Digital Assistant, PDA), mobile phones, remote controls for various electrical appliances, or other devices that can be used with touch devices 3 as input The electronics of the device.
触控装置的控制器1的优选实施例包含模/数转换单元11、坐标计算单元12、接触检测单元13、手势运算单元14、编码单元15、传输接口单元16,及计时单元17。A preferred embodiment of the
由于触控装置3分别在X、Y方向上各有多条导线分布,所以,当物体2碰触触控装置3时,则触控装置3上会产生电容值变化,因此可通过量测电压的变化量来计算出例如坐标值等数值。Since the touch device 3 has a plurality of wires distributed in the X and Y directions respectively, when the
模/数转换单元11与触控装置3相连接,并能够把不同的电压大小转换为相对应的数字信号,以便于后续的处理。坐标计算单元12在接收到模/数转换单元11所传送来的数字信号后,即把此数字信号译码为相对应的绝对坐标值(X,Y)。The A/
接触检测单元13能够检测目前触控装置3上是否被物体2所按压,即依据触控装置3所传送的X、Y电压信号,可检测出该物体2接触该触控装置3,再对应产生一个触发信号。亦即,当接触检测单元13检测到按压时,会产生触发信号,如图5所示的第一时间T1的波形及如图6、7所示的第二时间T2的波形。亦即,本发明中并不计算第一时间T1及第二时间T2的时间长度,而是仅计算第一时间T1及第二时间T2时间内的手指触碰的波形变化,且本发明中是以其它低通滤波器(Low Pass Filter)及算法避免噪声干扰到接触检测单元13的运算。The
手势运算单元14与坐标计算单元12、接触检测单元13相连接,手势运算单元14主要是能够依据接触检测单元13所检测的结果,再辅以手势运算单元14内建的判断逻辑,判断出用户所进行的动作是否符合单击、双击、拖拽等条件。其中判断逻辑是利用如图5所示的第一参考时间TLB1及第二参考时间TLB2,配合触发信号发生及结束的时机,且第一参考时间TLB1及第二参考时间TLB2是以同一个定时器来计算。关于这一部分将在下文分别进行详细说明。The
除了动作的判别外,手势运算单元14还能够提供相对移动量,即当多组绝对坐标值被依序传送至手势运算单元14后,手势运算单元14亦能够依据前后不同坐标的差异性,计算出物体2在触控装置3上的相对移动量,甚至于速度、方向、距离等参数,至于是向主机4传送绝对坐标还是相对移动量,将根据主机4上的应用需求而定。In addition to the discrimination of actions, the
编码单元15与手势运算单元14相连接,因此能够接收到手势运算单元14所产生的绝对坐标信号、相对移动量信号,或是操作信号(包含单击、双击、拖拽等动作)。编码单元15会将不同的信号,编码为供主机4的操作系统处理的手写输入协议或标准鼠标协议等,例如Microsoft公司的鼠标标准协议、IBM公司的PS/2鼠标标准协议。The
传输接口单元16,其作用是在于将编码单元15所编码后的信号,以序列方式传送到主机4上,以台式计算机为例,是传送到键盘控制器(图未示)或是南桥芯片(图未示)上,以便于对主机4中的处理器发出中断请求(Interrupt Request,IRQ),使得主机4能进一步获得坐标位置、执行动作等必要参数,来进一步进行光标的移动、程序的选择或程序的执行等动作。The
参照图3、4,本发明单击、双击及拖拽动作辨识方法,适用于上述控制器1,并包含下列步骤:Referring to Figures 3 and 4, the single-click, double-click and drag action recognition method of the present invention is applicable to the above-mentioned
首先,如步骤51所示,接触检测单元13检测到物体2接触触控装置3动作的发生,并对应产生触发信号。其中,如图5所示,触发信号中第一时间T1波形的上升沿(最小值转变为最大值的瞬时)即是指接触动作的发生。在此同时,手势运算单元14控制计时单元17开始计时。First, as shown in step 51 , the
接着,如步骤52所示,手势运算单元14监测在第一参考时间TLB1中,接触检测单元13是否检测到物体2接触触控装置3动作的结束。若否,则如步骤51所示,接触检测单元13重新检测物体2接触触控装置3动作的发生。Next, as shown in
相反地,若检测到物体2接触触控装置3动作的结束,则如步骤53及图5所示,手势运算单元14透过计时单元17计算出第一时间T1时间内的手指触碰的波形变化,并产生如图5所示的第一时间T1波形的下降沿(最大值转变最小值的瞬时),且从第一参考时间TLB1结束时起产生一个操作信号,用于表示一次触击启动动作。Conversely, if it is detected that the
然后,如步骤54所示,手势运算单元14依据该接触检测单元13在第二参考时间TLB2内所检测的结果,判断该物体2是否在该第二参考时间TLB2内第二次接触该触控装置3,其中在该第二参考时间TLB2内维持该表示触击启动动作的操作信号。Then, as shown in
若该物体2未在该第二参考时间TLB2内第二次接触该触控装置3,则如步骤55所示,从该第二参考时间TLB2结束时起终止该操作信号以表示一次触击结束动作,从而完成一次单击动作。If the
必须注意的是,虽然手势运算单元14送出操作信号以表示单击动作,但是手势运算单元14是以检测第一参考时间TLB1及第二参考时间TLB2内,物体2接触触控装置3的所有动作作为整体判断的依据,因此若在第二参考时间TLB2内,接触检测单元13检测到其它的触发信号(步骤54的检测结果为是),则上述操作信号将延伸变化为下述的双击(步骤56)或拖拽动作(步骤57)。It must be noted that although the
如步骤56及图6所示,手势运算单元14判断出该物体2在该第二参考时间TLB2内第二次接触该触控装置3并离开。于是,该手势运算单元14从该第二参考时间TLB2结束时起终止该操作信号以表示触击结束动作,再产生及结束另一各操作信号以表示另一次触击开始及结束动作,从而完成一次双击动作。As shown in
步骤54的检测结果为届时所产生的另一种情况为,如步骤57及图7所示,手势运算单元14判断出该物体2在该第二参考时间TLB2内第二次接触该触控装置3但暂未离开(未于第二参考时间TLB2结束前离开),且从该第二参考时间TLB2结束时起产生持续性的操作信号直到检测到该物体2第二次接触该触控装置的动作结束时起终止该操作信号,以完成一次拖拽动作。The detection result of
综上所述,本发明具有以下优点:In summary, the present invention has the following advantages:
一、本发明和第一现有技术相比,不需设置多组定时器,判断条件更简单,也因此相对应的电路设计较不复杂,有效减少制造成本。1. Compared with the first prior art, the present invention does not need to set multiple sets of timers, and the judgment conditions are simpler, so the corresponding circuit design is less complicated, and the manufacturing cost is effectively reduced.
二、对单击动作辨识而言,本发明和第二现有技术的单击动作辨识相比,若检测时间Tdetect时间相同,则本发明的操作信号提前于第二参考时间TLB2的时间。2. For single-click action recognition, compared with the single-click action recognition of the second prior art, if the detection time T detect is the same, the operation signal of the present invention is ahead of the time of the second reference time T LB2 .
三、对双击动作辨识而言,本发明和第二现有技术的双击动作辨识相比,若检测时间Tdetect时间相同,则本发明提前输出第一个操作信号,减少一个信号传送的时间。3. For the double-click action recognition, compared with the double-click action recognition of the second prior art, if the detection time T detect is the same, the present invention outputs the first operation signal in advance, reducing the time for one signal transmission.
四、对拖拽动作辨识而言,本发明和第二现有技术的拖拽动作辨识相比,若检测时间Tdetect时间相同,则本发明提早第一参考时间TLB1的时间。上述第二、三、四点都显示本发明确实有效提升操作触控装置3时的反应速度。4. For the drag motion recognition, compared with the drag motion recognition of the second prior art, if the detection time T detect is the same, the present invention advances the time of the first reference time T LB1 . The second, third, and fourth points above all show that the present invention can effectively improve the response speed when operating the touch device 3 .
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810214860XA CN101667077B (en) | 2008-09-03 | 2008-09-03 | Single click, double click and drag action recognition method and controller of touch device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810214860XA CN101667077B (en) | 2008-09-03 | 2008-09-03 | Single click, double click and drag action recognition method and controller of touch device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101667077A CN101667077A (en) | 2010-03-10 |
| CN101667077B true CN101667077B (en) | 2011-06-22 |
Family
ID=41803715
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200810214860XA Expired - Fee Related CN101667077B (en) | 2008-09-03 | 2008-09-03 | Single click, double click and drag action recognition method and controller of touch device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101667077B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102375590A (en) * | 2010-08-18 | 2012-03-14 | 宏碁股份有限公司 | Touch device capable of cyclically displaying dragging columns and its method for cyclically displaying dragging columns |
| CN101907947A (en) * | 2010-09-01 | 2010-12-08 | 无敌科技(西安)有限公司 | Touch-control identification system and method thereof |
| CN103150037A (en) * | 2011-12-06 | 2013-06-12 | 禾威科技股份有限公司 | Touch control identification method and capacitive pointing device |
| CN103164137B (en) * | 2011-12-15 | 2015-11-25 | 宏碁股份有限公司 | Recognition method and electronic device for cross-screen operation |
| CN104615345B (en) * | 2013-11-05 | 2020-06-09 | 中兴通讯股份有限公司 | Method and device for automatically adjusting position of virtual keyboard |
| CN105653085B (en) * | 2015-12-23 | 2018-07-24 | 小米科技有限责任公司 | Touch-responsive method and apparatus |
| CN106502383A (en) * | 2016-09-21 | 2017-03-15 | 努比亚技术有限公司 | A kind of information processing method and mobile terminal |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6380931B1 (en) * | 1992-06-08 | 2002-04-30 | Synaptics Incorporated | Object position detector with edge motion feature and gesture recognition |
| CN1624632A (en) * | 2003-12-04 | 2005-06-08 | 陞达科技股份有限公司 | Method and controller for identifying double-tap gesture |
| CN1624631A (en) * | 2003-12-04 | 2005-06-08 | 陞达科技股份有限公司 | Method and controller for recognizing dragging gesture |
| CN1627244A (en) * | 2003-12-12 | 2005-06-15 | 陞达科技股份有限公司 | Click Action Recognition Method and Its Controller |
| CN1673941A (en) * | 2004-03-25 | 2005-09-28 | 升达科技股份有限公司 | Click touch method and its control module |
| CN1673940A (en) * | 2004-03-25 | 2005-09-28 | 升达科技股份有限公司 | Drag and touch method and its control module |
-
2008
- 2008-09-03 CN CN200810214860XA patent/CN101667077B/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6380931B1 (en) * | 1992-06-08 | 2002-04-30 | Synaptics Incorporated | Object position detector with edge motion feature and gesture recognition |
| CN1624632A (en) * | 2003-12-04 | 2005-06-08 | 陞达科技股份有限公司 | Method and controller for identifying double-tap gesture |
| CN1624631A (en) * | 2003-12-04 | 2005-06-08 | 陞达科技股份有限公司 | Method and controller for recognizing dragging gesture |
| CN1627244A (en) * | 2003-12-12 | 2005-06-15 | 陞达科技股份有限公司 | Click Action Recognition Method and Its Controller |
| CN1673941A (en) * | 2004-03-25 | 2005-09-28 | 升达科技股份有限公司 | Click touch method and its control module |
| CN1673940A (en) * | 2004-03-25 | 2005-09-28 | 升达科技股份有限公司 | Drag and touch method and its control module |
Non-Patent Citations (1)
| Title |
|---|
| JP特开9-311764A 1997.12.02 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101667077A (en) | 2010-03-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8164575B2 (en) | Method for identifying a single tap, double taps and a drag and a controller for a touch device employing the method | |
| US8830181B1 (en) | Gesture recognition system for a touch-sensing surface | |
| JP4295280B2 (en) | Method and apparatus for recognizing two-point user input with a touch-based user input device | |
| US7190356B2 (en) | Method and controller for identifying double tap gestures | |
| CN101667077B (en) | Single click, double click and drag action recognition method and controller of touch device | |
| TWI389014B (en) | Touchpad detection method | |
| CN104238901A (en) | Method for opening window control bar by identifying swipe gesture and touch system | |
| TW201135515A (en) | Gesture identification method and apparatus applied in a touchpad | |
| CN1323343C (en) | Click Action Recognition Method and Its Controller | |
| CN102736757A (en) | Method and apparatus for touch control identification | |
| KR20150091365A (en) | Multi-touch symbol recognition | |
| CN105022561A (en) | Touch screen control apparatus and method and mobile terminal | |
| US20140298275A1 (en) | Method for recognizing input gestures | |
| CN1280692C (en) | Method and controller for recognizing dragging gesture | |
| CN1308796C (en) | Method and controller for identifying double-tap gesture | |
| TWI478013B (en) | Click, double click with the drag action identification method and touch device controller | |
| CN102467283A (en) | Touch device with multi-touch function and touch operation method | |
| CN104516559A (en) | Multi-point touch method of touch input device | |
| KR20110075700A (en) | Touch interface device and method using Z value | |
| CN113407066B (en) | Touch controller of handheld device and control method thereof | |
| CN1673941A (en) | Click touch method and its control module | |
| CN101799727A (en) | Signal processing device and method of multipoint touch interface and selecting method of user interface image | |
| CN103164060A (en) | Electronic device and touch method | |
| TWI252433B (en) | Method and control device for identifying a double-tap gesture | |
| TWI270819B (en) | Drag-touch control method and control module for same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110622 Termination date: 20180903 |