TWI478013B - Click, double click with the drag action identification method and touch device controller - Google Patents
Click, double click with the drag action identification method and touch device controller Download PDFInfo
- Publication number
- TWI478013B TWI478013B TW097113772A TW97113772A TWI478013B TW I478013 B TWI478013 B TW I478013B TW 097113772 A TW097113772 A TW 097113772A TW 97113772 A TW97113772 A TW 97113772A TW I478013 B TWI478013 B TW I478013B
- Authority
- TW
- Taiwan
- Prior art keywords
- touch
- time interval
- reference time
- action
- touch device
- Prior art date
Links
Description
本發明是有關於一種模擬滑鼠按鍵之動作辨識方法及其控制器,特別是指一種單擊、雙擊與拖曳動作辨識方法及觸控裝置之控制器。The invention relates to an action recognition method for simulating a mouse button and a controller thereof, in particular to a click, double-click and drag action recognition method and a controller of the touch device.
視窗使用者圖形介面(Graphical User Interface,GUI)是最早由全祿PARC研究室所推出的程式操作介面,其可搭配指向裝置(Pointing Device,如滑鼠)來使用,使用者僅需以視覺式的指標移動滑鼠加上點選動作,即可輕鬆完成想要執行的動作,有效解決以往文字模式需輸入繁雜的指令所造成的不便。因此視窗介面紛紛被蘋果電腦與微軟(Microsoft)所採用,成為所有作業系統的主流模式。在應用視窗介面系統的電子設備上,例如桌上型電腦、筆記型電腦、平板電腦、個人數位助理(Personal Digital Assistant,PDA)等等,指向裝置已成為基本配備。The Graphic User Interface (GUI) is the program interface that was first introduced by the Quantum PARC Lab. It can be used with a pointing device such as a mouse. The user only needs to visually The moving mouse and the click action can easily complete the action that you want to perform, effectively solving the inconvenience caused by the complicated input of the previous text mode. Therefore, the Windows interface has been adopted by Apple Computer and Microsoft (Microsoft), becoming the mainstream mode of all operating systems. In electronic devices that use the Windows interface system, such as desktop computers, notebook computers, tablets, personal digital assistants (PDAs), etc., the pointing device has become a basic device.
目前指向裝置包含外部裝置的滑鼠、內建於攜帶式電腦系統上的軌跡球與觸控板(Touch Pad)、以及與螢幕結合的觸控面板(Touch Panel)等等,其中滑鼠為最早推出的指向裝置。以滑鼠為例來說明指向裝置的功能,滑鼠可控制電子裝置之螢幕上的指標(Pointer),即滑鼠移到哪裡,指標也跟隨移到哪裡,然後在螢幕上對欲執行的目標按下控制按鍵,即可對電子裝置下達執行指令。然而,目前的電子設備之設計朝向短小輕薄發展,例如筆記型電腦已逐 漸取代桌上型電腦的出貨,致使體積小之觸控裝置(諸如觸控板)有逐漸成為指向裝置主流的態勢。Currently, the pointing device includes a mouse for an external device, a trackball and a touch pad built on a portable computer system, and a touch panel combined with a screen, among which the mouse is the earliest. Introduced pointing device. Take the mouse as an example to illustrate the function of the pointing device. The mouse can control the pointer on the screen of the electronic device, where the mouse moves, where the indicator moves, and then the target to be executed on the screen. Press the control button to issue an execution command to the electronic device. However, the current design of electronic devices is moving toward a short and light, such as notebook computers. Gradually replacing the shipment of desktop computers, resulting in a small touch device (such as a touchpad) has gradually become the mainstream of the device.
目前觸控裝置的技術大致包含電容式、電阻式、電磁式、壓力式、電感式、表面聲波式、超音波式、光學式等等。而當諸如手指之類的物體於觸控裝置上移動,即可控制指標沿物體移動的方向移動。然而,指向裝置除了控制指標移動外,還兼具下達執行指令的功能。At present, the technology of touch devices generally includes capacitive, resistive, electromagnetic, pressure, inductive, surface acoustic wave, ultrasonic, optical, and the like. When an object such as a finger moves on the touch device, the indicator can be moved in the direction in which the object moves. However, in addition to controlling the movement of the indicator, the pointing device also has the function of issuing an execution instruction.
茲以滑鼠之操作為例,當指標移動至欲啟動之目標(如程式、文件)時,若按一次滑鼠按鍵(Clicking,一般系統預設為滑鼠左鍵),則可選擇目標;若連續按兩次滑鼠按鍵(Double Clicking),則可選擇目標並令其開啟。若持續按壓滑鼠按鍵(如左鍵)並移動滑鼠,則可拖曳(Drag)目標物至其他位置。然而,以諸如觸控板之類的觸控裝置來說,可定義物體於觸控裝置上的某種動作手勢,用以實現上述和操作滑鼠相同的目的。For example, when the pointer moves to the target to be activated (such as a program or a file), if the mouse button is pressed once (Clicking, the system is preset to the left mouse button), the target can be selected; If you press the Double Clicking button twice, you can select the target and turn it on. If you continue to press the mouse button (such as the left button) and move the mouse, you can drag the target to another location. However, in the case of a touch device such as a touch panel, an action gesture of the object on the touch device can be defined to achieve the same purpose as the operation of the mouse.
參閱圖1A~1C,一習知之觸控裝置模擬滑鼠單擊、雙擊與拖曳的動作,分別如美國專利公告號US6380931 "OBJECT POSITION DETECTOR WITH EDGE MOTION FEATURE AND GESTURE RECOGNITION"及US6414671 "OBJECT POSITION DETECTOR WITH EDGE MOTION FEATURE AND GESTURE RECOGNITION"所示,使用多個計時器計算一物體於一觸控裝置上出現的複數時間間距,並利用該等時間間距計算出單擊、雙擊與拖曳的動作。在圖1A之單擊動作程序之情況下,時距Tdown 需小於一第 一最大參考時距Tmax_1 。在圖1B之雙擊動作程序之情況下,時距Tdown-1 需小於該第一最大參考時距Tmax_1 ,時距Tup-1 需小於一第二最大參考時距Tmax_2 ,且時距Tdown-2 需小於一第三最大參考時距Tmax_3 。在圖1C之拖曳動作程序之情況下,時距Tdown-1 需小於該第一最大參考時距Tmax_1 ,且時距Tup-1 需小於該第二最大參考時距Tmax_2 。然而,該等習知發明因為各時間間距的組合及比較關係相當複雜,其邏輯電路之建置成本較為高昂。另外,由於使用者之個人差異,所以每一個人於觸控裝置上執行雙擊及拖曳手勢的各階段時間間距或有差異,導致習知方法容易有誤判的情況發生。Referring to Figures 1A-1C, a conventional touch device simulates mouse click, double click, and drag actions, such as US Patent Publication No. US6380931 "OBJECT POSITION DETECTOR WITH EDGE MOTION FEATURE AND GESTURE RECOGNITION" and US6414671 "OBJECT POSITION DETECTOR WITH EDGE MOTION FEATURE AND GESTURE RECOGNITION", using multiple timers to calculate the complex time interval of an object appearing on a touch device, and using these time intervals to calculate the click, double click, and drag actions. In the case of the click action program of FIG. 1A, the time interval T down needs to be smaller than a first maximum reference time interval T max_1 . In the case of the double-click action program of FIG. 1B, the time interval T down-1 needs to be smaller than the first maximum reference time interval T max_1 , and the time interval T up-1 needs to be smaller than a second maximum reference time interval T max_2 , and the time interval T down-2 needs to be less than a third maximum reference time interval T max — 3 . In the case of the drag operation procedure of FIG. 1C, the time interval T down-1 needs to be smaller than the first maximum reference time interval T max_1 , and the time interval T up-1 needs to be smaller than the second maximum reference time interval T max_2 . However, these conventional inventions have a relatively high cost of construction of logic circuits because of the complexity and complexity of the combination and comparison of time intervals. In addition, due to the personal difference of the user, each person performs a double-click and drag gesture on the touch device, and the time interval of each step may be different, resulting in a situation in which the conventional method is prone to misjudgment.
參閱圖2A~2C,另一習知之觸控裝置模擬滑鼠單擊、雙擊與拖曳的動作,分別如美國專利公告號US7180506 "METHOD FOR IDENTIFYING A MOVEMENT OF SINGLE TAP ON A TOUCH DEVICE"、US7190356 "METHOD AND CONTROLLER FOR IDENTIFYING DOUBLE TAP GESTURES"及US7184031 "METHOD AND CONTROLLER FOR IDENTIFYING A DRAG GESTURE"所示,該等習知發明利用一偵測時距Tdetect ,分析在該偵測時距Tdetect 中一物體觸碰一觸控裝置時,觸壓訊號之波形的發生及結束,以對應地產生操作信號代表單擊、雙擊與拖曳的動作。其中,偵測時距Tdetect 是相同時間長度。由於利用較前一習知技術簡易的判斷規則,該等習知之發明有效解決前一習知技術判斷方法較為複雜的缺點,然而卻也因為在偵測時距 Tdetect 後才開始執行單擊、雙擊與拖曳的動作,無法快速地反應使用者的操作。Referring to Figures 2A-2C, another conventional touch device simulates a mouse click, double click, and drag action, such as US Patent Publication No. US7180506 "METHOD FOR IDENTIFYING A MOVEMENT OF SINGLE TAP ON A TOUCH DEVICE", US7190356 "METHOD" FIG aND CONTROLLER FOR IDENTIFYING DOUBLE TAP GESTURES "and US7184031" METHOD aND CONTROLLER FOR IDENTIFYING a DRAG GESTURE ", the use of such conventional invention from a detection time T detect, when analyzed from the detection object T detect a touch of When a touch device is touched, the waveform of the touch signal is generated and terminated to correspondingly generate an operation signal representing an action of clicking, double clicking, and dragging. The detection time interval T detect is the same length of time. The conventional invention effectively solves the shortcomings of the prior art judgment method by using the simple judgment rule of the prior art, but also because the click is started after the detection time T detect , Double-clicking and dragging actions cannot quickly respond to user actions.
如上所述,為了改善執行單擊、雙擊與拖曳的動作的反應時間,並仍能維持較簡易的判斷規則以減少邏輯電路之建置成本,因此,有必要尋求解決之道。As described above, in order to improve the reaction time of performing the click, double click, and drag actions, and still maintaining a simple judgment rule to reduce the construction cost of the logic circuit, it is necessary to seek a solution.
因此,本發明之首要目的,即在提供一種單擊動作辨識方法。Accordingly, it is a primary object of the present invention to provide a method for identifying a click motion.
於是,本發明單擊動作辨識方法,係用於辨識一物體觸擊於一觸控裝置之動作,該辨識方法包含下列步驟:(a)偵測該物體接觸該觸控裝置之動作發生,並開始計時;(b)偵測在一第一參考時距內,是否有物體接觸該觸控裝置並離開;(c)若該(b)步驟之偵測結果為是,則自該第一參考時距結束起產生一操作信號,用以表示一觸擊啟動動作;(d)在該第一參考時距結束後,偵測是否有該物體於一第二參考時距內第二次接觸該觸控裝置之動作發生,其中第二參考時距內維持該表示觸擊啟動動作之操作信號;及(e)若該(d)步驟的結果為否,則自該第二參考時距結束起終止該操作信號,用以表示一觸擊結束動作,以完成一單擊動作。Therefore, the click action recognition method of the present invention is used for recognizing an action of an object touching a touch device, and the identification method includes the following steps: (a) detecting that the object touches the touch device occurs, and (b) detecting whether an object contacts the touch device and leaving within a first reference time interval; (c) if the detection result of the step (b) is YES, then the first reference An operation signal is generated to indicate a touch start action after the end of the time interval; (d) after the first reference time interval ends, detecting whether the object is in contact for a second time within a second reference time interval The action of the touch device occurs, wherein the operation signal indicating the touch start action is maintained during the second reference time interval; and (e) if the result of the (d) step is no, then the second reference time interval ends The operation signal is terminated to indicate a touch end action to complete a one click action.
另外,本發明之第二目的,即在提供一種觸控裝置之控制器。Further, a second object of the present invention is to provide a controller for a touch device.
於是,本發明觸控裝置之控制器,係用於辨識一物體於該觸控裝置上的動作,該控制器包括:一接觸偵測單元,用以偵測到每一次該物體接觸該觸控裝置之動作發生時 ,分別對應產生一觸壓訊號;一計時單元,用以當該物體接觸該觸控裝置時進行計時,並於該物體不接觸該觸控裝置時結束計時;及一手勢運算單元,用以依據該接觸偵測單元於一第一參考時距內所偵測之結果,判斷是否自該第一參考時距結束起產生一操作信號以表示一觸擊啟動動作,再依據該接觸偵測單元於一第二參考時距內所偵測之結果,判斷該物體是否在該第二參考時距內第二次接觸該觸控裝置,其中在該第二參考時距內維持該表示觸擊啟動動作之操作信號,若該物體未於該第二參考時距內第二次接觸該觸控裝置,則自該第二參考時距結束起終止該操作信號以表示一觸擊結束動作,以完成一單擊動作。Therefore, the controller of the touch device of the present invention is used for recognizing an object on the touch device. The controller includes: a contact detecting unit for detecting that the object touches the touch every time. When the action of the device occurs Corresponding to generate a touch pressure signal; a timing unit for timing when the object contacts the touch device, and ending timing when the object does not touch the touch device; and a gesture operation unit for The result of the detection by the contact detecting unit during a first reference time interval determines whether an operation signal is generated from the end of the first reference time interval to indicate a touch start action, and then according to the contact detection unit. As a result of the detection in a second reference time interval, determining whether the object contacts the touch device for a second time within the second reference time interval, wherein the indicating touch activation action is maintained within the second reference time interval An operation signal, if the object does not contact the touch device for a second time within the second reference time interval, terminating the operation signal from the end of the second reference time interval to indicate a touch end action to complete a Click on the action.
再者,本發明之第三目的,即在提供一種雙擊動作辨識方法。Furthermore, a third object of the present invention is to provide a double tap motion recognition method.
於是,本發明雙擊動作辨識方法,係用於辨識一物體觸擊於一觸控裝置之動作,該辨識方法包含下列步驟:(a)偵測該物體接觸該觸控裝置之動作發生,並開始計時;(b)偵測在一第一參考時距內,是否有該物體接觸該觸控裝置並離開;(c)若該(b)步驟之偵測結果為是,則自該第一參考時距結束起產生一操作信號,用以表示一觸擊啟動動作;(d)在該第一參考時距結束後,偵測在一第二參考時距內,是否有該物體第二次接觸該觸控裝置之動作發生及動作結束;及(e)若該(d)步驟之偵測結果為是,則自該第二參考時距結束起終止該操作信號,用以表示一觸擊結束動作,再產生及結束另一操作信號,用以表示另一觸擊開始動作及 觸擊結束動作,以完成一雙擊動作。Therefore, the double-click motion recognition method of the present invention is used for recognizing an action of an object touching a touch device, and the identification method includes the following steps: (a) detecting that the object touches the touch device occurs, and starts (b) detecting whether the object contacts the touch device and leaving within a first reference time interval; (c) if the detection result of the step (b) is YES, then the first reference An operation signal is generated to indicate a touch start action after the end of the time interval; (d) after the end of the first reference time interval, detecting whether the object is in contact for a second time within a second reference time interval The action of the touch device occurs and the action ends; and (e) if the detection result of the step (d) is YES, the operation signal is terminated from the end of the second reference time interval to indicate the end of a touch Action, regenerating and ending another operation signal to indicate another tap start action and Touch to end the action to complete a double click action.
另外,本發明之第四目的,即在提供一種觸控裝置之控制器。Further, a fourth object of the present invention is to provide a controller for a touch device.
於是,本發明觸控裝置之控制器,係用於辨識一物體於該觸控裝置上的動作,該控制器包括:一接觸偵測單元,用以偵測到每一次該物體接觸該觸控裝置之動作發生時,分別對應產生一觸壓訊號;一計時單元,用以當該物體接觸該觸控裝置時進行計時,並於該物體不接觸該觸控裝置時結束計時;及一手勢運算單元,用以依據該接觸偵測單元於一第一參考時距內所偵測之結果,判斷是否自該第一參考時距結束起產生一操作信號以表示一觸擊啟動動作,再依據該接觸偵測單元於一第二參考時距內所偵測之結果,判斷該物體是否在該第二參考時距內第二次接觸該觸控裝置並離開,若是,自該第二參考時距結束起終止該操作信號以表示一觸擊結束動作,再產生及結束另一操作信號以表示另一觸擊開始及結束動作,以完成一雙擊動作。Therefore, the controller of the touch device of the present invention is used for recognizing an object on the touch device. The controller includes: a contact detecting unit for detecting that the object touches the touch every time. When the action of the device occurs, a touch signal is generated correspondingly; a timing unit is used for timing when the object contacts the touch device, and ends when the object does not touch the touch device; and a gesture operation The unit is configured to determine, according to a result detected by the contact detecting unit within a first reference time interval, whether an operation signal is generated from the end of the first reference time interval to indicate a touch start action, and then according to the The result of the detection by the contact detecting unit within a second reference time interval determines whether the object touches the touch device a second time within the second reference time interval, and if so, from the second reference time interval The operation signal is terminated to indicate a touch end action, and another operation signal is generated and terminated to indicate another tap start and end action to complete a double tap action.
再者,本發明之第五目的,即在提供一種拖曳動作辨識方法。Furthermore, a fifth object of the present invention is to provide a drag motion recognition method.
於是,本發明拖曳動作辨識方法,係用於辨識一物體觸擊於一觸控裝置之動作,該辨識方法包含下列步驟:(a)偵測該物體接觸該觸控裝置之動作發生,並開始計時;(b)偵測在一第一參考時距內,是否有該物體接觸該觸控裝置並離開;(c)若該(b)步驟之偵測結果為是,則自該第一參考時距結束起產生一操作信號,用以表示一觸擊啟動動作; (d)在該第一參考時距結束後,偵測在一第二參考時距內,是否有該物體第二次接觸該觸控裝置之動作發生及動作結束;及(e)若該(d)步驟之偵測結果為:偵測到該物體第二次接觸該觸控裝置之動作發生,但是無該物體第二次接觸該觸控裝置之動作結束,則自該第二參考時距結束起,產生持續性之操作信號直到偵測到該物體第二次接觸該觸控裝置之動作結束起終止該操作信號,以完成一拖曳動作。Therefore, the method for identifying the drag action of the present invention is for recognizing an action of an object touching a touch device, and the method includes the following steps: (a) detecting that the object touches the touch device occurs, and starts (b) detecting whether the object contacts the touch device and leaving within a first reference time interval; (c) if the detection result of the step (b) is YES, then the first reference An operation signal is generated from the end of the time interval to indicate a touch start action; (d) after the end of the first reference time interval, detecting whether an action of the second contact with the touch device occurs and the action ends within a second reference time interval; and (e) if the The detection result of the step is: detecting that the second contact of the object with the touch device occurs, but the second reference time interval is not completed when the object touches the touch device for the second time. At the end, a continuous operation signal is generated until the operation of detecting the second contact of the object to the touch device is terminated to terminate the operation signal to complete a drag operation.
另外,本發明之第六目的,即在提供一種觸控裝置之控制器。Further, a sixth object of the present invention is to provide a controller for a touch device.
於是,本發明觸控裝置之控制器,係辨識一物體觸擊於該觸控裝置之動作,該控制器包括:一接觸偵測單元,用以偵測到每一次該物體接觸該觸控裝置之動作發生時,分別對應產生一觸壓訊號;一計時單元,用以當該物體接觸該觸控裝置時進行計時,並於該物體不接觸該觸控裝置時結束計時;及一手勢運算單元,用以依據該接觸偵測單元於一第一參考時距內所偵測之結果,判斷是否自該第一參考時距結束起產生一操作信號以表示一觸擊啟動動作,再依據該接觸偵測單元於一第二參考時距內所偵測之結果,判斷該物體是否在該第二參考時距內第二次接觸該觸控裝置但未離開,若是,自該第二參考時距結束起產生持續性之操作信號直到偵測到該物體第二次接觸該觸控裝置之動作結束起終止該操作信號,以完成一拖曳動作。Therefore, the controller of the touch device of the present invention recognizes the action of an object touching the touch device, and the controller includes: a contact detecting unit for detecting that the object touches the touch device each time When the action occurs, a touch signal is generated correspondingly; a timing unit is used for timing when the object contacts the touch device, and ends when the object does not touch the touch device; and a gesture operation unit And determining, according to the result detected by the contact detecting unit within a first reference time interval, whether an operation signal is generated from the end of the first reference time interval to indicate a touch start action, and then according to the contact The detecting unit detects whether the object contacts the touch device for a second time within the second reference time interval but does not leave the result of the second reference time interval. If yes, the second reference time interval At the end, a continuous operation signal is generated until the end of the action of detecting that the object touches the touch device for a second time to terminate the operation signal to complete a drag operation.
本發明的功效在於提供觸控裝置更佳的單擊、雙擊與拖曳動作辨識方法,以改善執行單擊、雙擊與拖曳的動作 的反應時間,並仍能維持較簡易的判斷規則以減少邏輯電路之建置成本。The utility model has the advantages of providing a better click, double click and drag motion recognition method of the touch device to improve the actions of performing click, double click and drag. The reaction time, and still maintain a simple decision rule to reduce the cost of logic circuit construction.
有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之一個較佳實施例的詳細說明中,將可清楚的呈現。The above and other technical contents, features and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments.
參閱圖4,本發明單擊、雙擊與拖曳控制器1之較佳實施例,適用於安裝於一包括一觸控裝置3的電子設備,可用來辨識一物體2於觸控裝置3上的動作,以發送一對應於該動作之操作信號至一主機4上。需注意的是,觸控裝置3可泛指電容式、電感式及其它相類似之觸控裝置3,在本較佳實施例中,特別是指一電容式之觸控裝置3。Referring to FIG. 4, the preferred embodiment of the present invention is applicable to an electronic device including a touch device 3, which can be used to recognize an object 2 on the touch device 3. To send an operation signal corresponding to the action to a host 4. It should be noted that the touch device 3 can be generally referred to as a capacitive, inductive, and other similar touch device 3. In the preferred embodiment, a capacitive touch device 3 is particularly referred to.
物體2是用來與觸控裝置3相接觸,即依據物體2在觸控裝置3上之動作,會使控制器1發送出表示其動作的相對應操作信號至主機4上,一般這些操作信號可以分為座標的變化、單擊、雙擊、拖曳、移動、捲動、左鍵、右鍵、中鍵等…,以進一步模擬出滑鼠、鍵盤的行為。當然,物體2需與觸控裝置3相配合,例如電容之觸控裝置3,故物體2是一人體手指,或是其它種導體。The object 2 is used for contacting the touch device 3, that is, according to the action of the object 2 on the touch device 3, the controller 1 sends a corresponding operation signal indicating the action to the host 4, generally these operation signals It can be divided into coordinates change, click, double click, drag, move, scroll, left button, right button, middle button, etc. to further simulate the behavior of the mouse and keyboard. Of course, the object 2 needs to cooperate with the touch device 3, such as the capacitive touch device 3, so the object 2 is a human finger or other kind of conductor.
主機4係泛指各種電子裝置,例如桌上型電腦、筆記型電腦、平板電腦、個人數位助理(Personal Digital Assistant,PDA)、手機、各種電器用品的遙控器,或者其它能搭配觸控裝置3作為輸入裝置之電子裝置。The mainframe 4 refers to various electronic devices, such as a desktop computer, a notebook computer, a tablet computer, a personal digital assistant (PDA), a mobile phone, a remote control for various electrical appliances, or the like. An electronic device as an input device.
觸控裝置之控制器1之較佳實施例包含一類比/數位轉 換單元11、座標計算單元12、一接觸偵測單元13、一手勢運算單元14、一編碼單元15、一傳輸介面單元16,及一計時單元17。A preferred embodiment of the controller 1 of the touch device includes an analog/digital conversion The unit 11 , the coordinate calculation unit 12 , a contact detection unit 13 , a gesture operation unit 14 , an encoding unit 15 , a transmission interface unit 16 , and a timing unit 17 .
由於觸控裝置3分別在X、Y方向上各有多數條導線分佈,故當物體2碰觸觸控裝置3時,則觸控裝置3上會產生電容值變化,因此能藉由量測電壓的變化量來計算出例如座標值等數值。Since the touch device 3 has a plurality of wires distributed in the X and Y directions, when the object 2 touches the touch device 3, the capacitance value changes on the touch device 3, so that the voltage can be measured. The amount of change is used to calculate values such as coordinate values.
類比/數位轉換單元11是與觸控裝置3相連接,並能夠把不同的電壓大小轉換為相對應的數位信號,以便於後續的處理。座標計算單元12在接收到類比/數位轉換單元11所傳送而來之數位信號後,即把此數位信號解碼為一相對應之絕對座標值(X,Y)。The analog/digital conversion unit 11 is connected to the touch device 3 and is capable of converting different voltage levels into corresponding digital signals for subsequent processing. After receiving the digital signal transmitted from the analog/digital conversion unit 11, the coordinate calculation unit 12 decodes the digital signal into a corresponding absolute coordinate value (X, Y).
接觸偵測單元13能夠偵測目前觸控裝置3上是否被物體2所按壓,即依據觸控裝置3所傳送的X、Y電壓信號,可偵測出該物體2接觸該觸控裝置3,再對應產生一觸壓訊號。亦即,當接觸偵測單元13偵測到按壓時,會產生觸壓訊號,如圖5所示之一第一時距T1 的波形及如圖6、7所示之一第二時距T2 的波形。亦即,本發明中並不計算第一時距T1 及第二時距T2 之時間長度,而是僅計算第一時距T1 及第二時距T2 時間內之手指觸碰之波形變化,且本發明中是以其他過濾雜訊方式(Low Pass Filter)及演算法避免雜訊干擾到接觸偵測單元13之運算。The contact detecting unit 13 can detect whether the touch device 3 is pressed by the object 2, that is, according to the X and Y voltage signals transmitted by the touch device 3, the object 2 can be detected to contact the touch device 3, Correspondingly, a touch signal is generated. That is, when the contact detecting unit 13 detects the pressing, a touch signal is generated, as shown in FIG. 5, the waveform of the first time interval T 1 and the second time interval shown in FIG. 6 and FIG. The waveform of T 2 . That is, in the present invention, the time lengths of the first time interval T 1 and the second time interval T 2 are not calculated, but only the finger touches of the first time interval T 1 and the second time interval T 2 are calculated. The waveform changes, and in the present invention, other filtering noise modes (Low Pass Filter) and algorithms are used to avoid noise interference to the contact detecting unit 13.
手勢運算單元14是與座標計算單元12、接觸偵測單元13相連接,手勢運算單元14主要是能夠依據接觸偵測單元 13所偵測之結果,再輔以手勢運算單元14內建之判斷邏輯,判斷出使用者所進行的動作是否符合單擊、雙擊、拖曳等條件。其中判斷邏輯係利用如圖5所示之一第一參考時距TLB1 及一第二參考時距TLB2 ,配合觸壓訊號發生及結束的時機,且第一參考時距TLB1 及第二參考時距TLB2 是以同一個計時器來計算。關於此部分將於下文分別進行詳細說明。The gesture calculation unit 14 is connected to the coordinate calculation unit 12 and the contact detection unit 13. The gesture operation unit 14 is mainly capable of detecting the result detected by the contact detection unit 13, and supplemented by the judgment logic built in the gesture operation unit 14. Determine whether the action performed by the user meets the conditions of click, double click, drag, and the like. The judging logic uses a first reference time interval T LB1 and a second reference time interval T LB2 as shown in FIG. 5 to match the timing of the occurrence and end of the touch signal, and the first reference time interval T LB1 and the second The reference time interval T LB2 is calculated by the same timer. This section will be described in detail below.
除了動作之判別外,手勢運算單元14亦能夠提供相對移動量,即當多組絕對座標值被依序傳送至手勢運算單元14後,手勢運算單元14亦能夠依據前後不同座標的差異性,計算出物體2在觸控裝置3上的相對移動量,甚至於速度、方向、距離等參數,至於是傳送絕對座標或是相對移動量至主機4上,端視主機4上的應用需求而定。In addition to the determination of the action, the gesture operation unit 14 can also provide a relative amount of movement, that is, when a plurality of sets of absolute coordinate values are sequentially transmitted to the gesture operation unit 14, the gesture operation unit 14 can also calculate the difference according to different coordinates before and after. The relative movement amount of the object 2 on the touch device 3, even the parameters such as speed, direction, distance, etc., is to transfer the absolute coordinates or the relative movement amount to the host 4, depending on the application requirements on the host 4.
編碼單元15是與手勢運算單元14相連接,因此能夠接收到手勢運算單元14所產生之絕對座標信號、相對移動量信號,或是操作信號(包含單擊、雙擊、拖曳等動作)。編碼單元15會將不同的信號,編碼為供主機4之作業系統處理的手寫輸入協定或標準滑鼠協定等,例如Microsoft公司之滑鼠標準協定、IBM公司之PS/2滑鼠標準協定。The encoding unit 15 is connected to the gesture computing unit 14, and thus can receive the absolute coordinate signal generated by the gesture computing unit 14, the relative movement amount signal, or the operation signal (including click, double click, drag, etc.). The encoding unit 15 encodes different signals into a handwritten input protocol or a standard mouse protocol for processing by the host 4 operating system, such as the mouse standard protocol of Microsoft Corporation, and the PS/2 mouse standard protocol of IBM Corporation.
傳輸介面單元16,其作用是在於將編碼單元15所編碼後之信號,以序列方式傳送至主機4上,以桌上型電腦為例,是傳送至鍵盤控制器(圖未示)或是南橋晶片(圖未示)上,以便於對主機4中之處理器發出中斷要求(Interrupt Request,IRQ),使得主機4能進一步獲得座標位 置、執行動作等必要參數,來進一步進行游標的移動、程式的選擇或程式的執行等動作。The transmission interface unit 16 is configured to transmit the signal encoded by the encoding unit 15 to the host computer 4 in a serial manner. For example, the desktop computer is transmitted to the keyboard controller (not shown) or the south bridge. On the chip (not shown), in order to issue an Interrupt Request (IRQ) to the processor in the host 4, the host 4 can further obtain the coordinate position. Set and execute the necessary parameters such as actions to further move the cursor, select the program, or execute the program.
參閱圖3、4,本發明單擊、雙擊及拖曳動作辨識方法,適用於上述控制器1,並包含下列步驟:首先,如步驟51所示,接觸偵測單元13偵測到物體2接觸於觸控裝置3上的動作發生,並對應產生觸壓訊號。其中,如圖5所示,觸壓訊號中第一時距T1 波形的正緣(低準位轉變為高準位間之暫態)即是指接觸動作的發生。在此同時,手勢運算單元14控制計時單元17開始計時。Referring to FIG. 3 and FIG. 4, the click, double-click and drag motion recognition methods of the present invention are applicable to the controller 1 described above, and include the following steps. First, as shown in step 51, the contact detecting unit 13 detects that the object 2 is in contact with The action on the touch device 3 occurs, and a touch signal is generated correspondingly. As shown in FIG. 5, the positive edge of the waveform of the first time interval T 1 in the touch signal (the transient transition between the low level and the high level) refers to the occurrence of the contact action. At the same time, the gesture arithmetic unit 14 controls the timing unit 17 to start timing.
接著,如步驟52所示,手勢運算單元14監測在第一參考時距TLB1 中,接觸偵測單元13是否偵測到物體2接觸觸控裝置3之動作結束。若否,則如步驟51所示,接觸偵測單元13重新偵測物體2接觸於觸控裝置3上的動作發生。Next, as shown in step 52, the gesture operation unit 14 monitors whether the contact detecting unit 13 detects that the object 2 is in contact with the touch device 3 in the first reference time interval T LB1 . If not, the contact detecting unit 13 re-detects that the action of the object 2 contacting the touch device 3 occurs as shown in step 51.
反之,若偵測到物體2接觸觸控裝置3之動作結束,則如步驟53及圖5所示,手勢運算單元14透過計時單元17計算出第一時距T1 時間內之手指觸碰之波形變化,並產生如圖5所示之第一時距T1 波形之負緣(高準位轉變為低準位間之暫態),且自第一參考時距TLB1 結束起產生一操作信號,用以表示一觸擊啟動動作。Conversely, if the detected object 2 in contact with the touch operation end 3 of the apparatus, as indicated in step 53 and 5, when the first gesture operation unit 14 calculates the timing unit 17 through the finger from the touch within a period of T The waveform changes and produces a negative edge of the first time interval T 1 waveform as shown in FIG. 5 (the high level transitions to a transient between the low levels), and an operation is generated from the end of the first reference time interval T LB1 A signal to indicate a touch start action.
然後,如步驟54所示,手勢運算單元14依據該接觸偵測單元13於一第二參考時距TLB2 內所偵測之結果,判斷該物體2是否在該第二參考時距TLB2 內第二次接觸該觸控裝置3,其中在該第二參考時距TLB2 內維持該表示觸擊啟動 動作之操作信號。Then, as shown in step 54, the gesture operation unit 14 according to the detection unit 13 from contacting the T LB2 at the time of a detection result of the second reference, determining whether the object 2 within the time T LB2 from the second reference The touch device 3 is contacted for the second time, wherein the operation signal indicating the touch start action is maintained in the second reference time interval T LB2 .
若該物體2未在該第二參考時距TLB2 內第二次接觸該觸控裝置3,則如步驟55所示,自該第二參考時距TLB2 結束起終止該操作信號以表示一觸擊結束動作,以完成一單擊動作。If the object 2 does not contact the touch device 3 for the second time in the second reference time from the T LB2 , as shown in step 55, the operation signal is terminated from the end of the second reference time interval T LB2 to indicate a Touch to end the action to complete a one-click action.
必須注意的是,雖然手勢運算單元14送出操作信號以表示單擊動作,但是手勢運算單元14是以偵測第一參考時距TLB1 及第二參考時距TLB2 內,物體2接觸觸控裝置3的所有動作做為整體判斷的依據,因此若在第二參考時距TLB2 內,接觸偵測單元13偵測到其他的觸壓訊號(步驟54之偵測結果為是),則上述操作信號將延伸變化為下述之雙擊(步驟56)或拖曳動作(步驟57)。It should be noted that although the gesture operation unit 14 sends an operation signal to indicate the click action, the gesture operation unit 14 detects the first reference time interval T LB1 and the second reference time interval T LB2 , and the object 2 touches the touch. All the actions of the device 3 are used as the basis for the overall determination. Therefore, if the contact detecting unit 13 detects other touch signals in the second reference time interval T LB2 (the detection result in step 54 is YES), then the above The operational signal will be extended to a double click (step 56) or a drag action (step 57) as described below.
如步驟56及圖6所示,手勢運算單元14判斷出該物體2在該第二參考時距TLB2 內第二次接觸該觸控裝置3並離開。於是,該手勢運算單元14自該第二參考時距TLB2 結束起終止該操作信號以表示觸擊結束動作,再產生及結束另一操作信號以表示另一觸擊開始及結束動作,以完成一雙擊動作。As shown in step 56 and FIG. 6, the gesture computing unit 14 determines that the object 2 touches the touch device 3 a second time within the second reference time interval T LB2 and leaves. Then, the gesture operation unit 14 terminates the operation signal from the end of the second reference time interval T LB2 to indicate the touch end action, and generates and ends another operation signal to indicate another touch start and end action to complete. A double click action.
步驟54之偵測結果為是時所產生的另一種情況為,如步驟57及圖7所示,手勢運算單元14判斷出該物體2在該第二參考時距TLB2 內第二次接觸該觸控裝置3但暫未離開(未於第二參考時距TLB2 結束前離開),且自該第二參考時距TLB2 結束起產生持續性之操作信號直到偵測到該物體2第二次接觸該觸控裝置之動作結束起終止該操作信號,以 完成一拖曳動作。In another case, the detection result of the step 54 is YES. As shown in step 57 and FIG. 7, the gesture operation unit 14 determines that the object 2 touches the second time within the second reference time T LB2 . The touch device 3 does not leave yet (not leaving before the end of the second reference time T LB2 ), and generates a continuous operation signal from the end of the second reference time T LB2 until the second object is detected. The operation signal is terminated after the end of the action of contacting the touch device to complete a dragging action.
綜上所述,本發明具有以下優點:一、本發明和第一習知技術相比,不需設置多數組計時器,判斷條件更簡單,也因此相對應之電路設計較不複雜,有效減少製作成本。In summary, the present invention has the following advantages: 1. Compared with the first prior art, the present invention does not need to set a multi-array timer, and the judgment condition is simpler, and accordingly the corresponding circuit design is less complicated and effectively reduced. production cost.
二、對單擊動作辨識而言,本發明和第二習知技術的單擊動作辨識相比,若偵測時距Tdetect 時間相同,則本發明之操作信號提早第二參考時距TLB2 的時間。2. For the click action identification, compared with the click action recognition of the second prior art, if the detection time is the same as the T detect time, the operation signal of the present invention is earlier than the second reference time interval T LB2 time.
三、對雙擊動作辨識而言,本發明和第二習知技術的雙擊動作辨識相比,若偵測時距Tdetect 時間相同,則本發明提早輸出第一個操作信號,減少一個訊號傳送的時間。3. In the double-click motion recognition, compared with the double-click motion recognition of the second prior art, if the detection time is the same as the T detect time, the present invention outputs the first operation signal early, reducing one signal transmission. time.
四、對拖曳動作辨識而言,本發明和第二習知技術的拖曳動作辨識相比,若偵測時距Tdetect 時間相同,則本發明提早第一參考時距TLB1 的時間。上述第二、三、四點都顯示本發明確實有效提昇操作觸控裝置3時的反應速度。4. For the identification of the drag action, the present invention compares the time of the first reference time interval T LB1 with the T detect time when the detection time is the same as the T detect time of the second prior art. The second, third and fourth points above show that the present invention effectively improves the reaction speed when the touch device 3 is operated.
惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。The above is only the preferred embodiment of the present invention, and the scope of the invention is not limited thereto, that is, the simple equivalent changes and modifications made by the scope of the invention and the description of the invention are All remain within the scope of the invention patent.
1‧‧‧控制器1‧‧‧ controller
11‧‧‧類比/數位轉換單元11‧‧‧ Analog/Digital Conversion Unit
12‧‧‧座標計算單元12‧‧‧ coordinate calculation unit
13‧‧‧接觸偵測單元13‧‧‧Contact detection unit
14‧‧‧手勢運算單元14‧‧‧ gesture arithmetic unit
15‧‧‧編碼單元15‧‧‧ coding unit
16‧‧‧傳輸介面單元16‧‧‧Transport interface unit
17‧‧‧計時單元17‧‧‧Time unit
2‧‧‧物體2‧‧‧ objects
3‧‧‧觸控裝置3‧‧‧ touch device
4‧‧‧主機4‧‧‧Host
T1 ‧‧‧第一時距T 1 ‧‧‧first time interval
T2 ‧‧‧第二時距T 2 ‧‧‧second time interval
T2a ‧‧‧前半部T 2a ‧‧‧ first half
T3 ‧‧‧間隔時間T 3 ‧‧‧ interval
TLB1 ‧‧‧第一參考時距T LB1 ‧‧‧First reference time interval
TLB2 ‧‧‧第二參考時距T LB2 ‧‧‧second reference time interval
TX1 ‧‧‧第一時間點T X1 ‧‧‧ first time
TX2 ‧‧‧第二時間點T X2 ‧‧‧ second time
51~57‧‧‧步驟51~57‧‧‧Steps
圖1A是一時序圖,說明一習知之單擊動作辨識方法係依據單擊動作而產生相對應的操作信號;圖1B是一時序圖,說明一習知之雙擊動作辨識方法係依據雙擊動作而產生相對應的操作信號; 圖1C是一時序圖,說明一習知之拖曳動作辨識方法係依據拖曳動作而產生相對應的操作信號;圖2A是一時序圖,說明另一習知之單擊動作辨識方法係依據單擊動作而產生相對應的操作信號;圖2B是一時序圖,說明另一習知之雙擊動作辨識方法係依據雙擊動作而產生相對應的操作信號;圖2C是一時序圖,說明另一習知之拖曳動作辨識方法係依據拖曳動作而產生相對應的操作信號;圖3是一流程圖,說明本發明之單擊、雙擊及拖曳動作辨識方法之較佳實施例;圖4是一方塊圖,說明本發明之觸控裝置之控制器之較佳實施例;圖5是一時序圖,說明較佳實施例之單擊動作辨識方法係依據單擊動作而產生相對應的操作信號;圖6是一時序圖,說明較佳實施例之雙擊動作辨識方法係依據雙擊動作而產生相對應的操作信號;及圖7是一時序圖,說明較佳實施例之拖曳動作辨識方法係依據拖曳動作而產生相對應的操作信號。FIG. 1A is a timing diagram illustrating a conventional click action recognition method for generating a corresponding operation signal according to a click action; FIG. 1B is a timing chart illustrating that a conventional double click motion recognition method is generated according to a double click action. Corresponding operation signal; FIG. 1C is a timing diagram illustrating a conventional drag gesture recognition method for generating a corresponding operation signal according to a drag action; FIG. 2A is a timing diagram illustrating another conventional click motion recognition method according to a click action. A corresponding timing signal is generated; FIG. 2B is a timing diagram illustrating another conventional double-click motion recognition method for generating a corresponding operation signal according to a double-click motion; FIG. 2C is a timing diagram illustrating another conventional drag motion recognition. The method generates a corresponding operation signal according to the dragging action; FIG. 3 is a flowchart illustrating a preferred embodiment of the method for identifying click, double-click and drag actions of the present invention; FIG. 4 is a block diagram illustrating the present invention. A preferred embodiment of the controller of the touch device; FIG. 5 is a timing diagram illustrating that the click action recognition method of the preferred embodiment generates a corresponding operation signal according to the click action; FIG. 6 is a timing chart. The double-click motion recognition method of the preferred embodiment generates a corresponding operation signal according to the double-click action; and FIG. 7 is a timing diagram illustrating the drag operation of the preferred embodiment. The identification method generates a corresponding operation signal according to the drag action.
51~57‧‧‧步驟51~57‧‧‧Steps
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW097113772A TWI478013B (en) | 2008-04-16 | 2008-04-16 | Click, double click with the drag action identification method and touch device controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW097113772A TWI478013B (en) | 2008-04-16 | 2008-04-16 | Click, double click with the drag action identification method and touch device controller |
Publications (2)
Publication Number | Publication Date |
---|---|
TW200945126A TW200945126A (en) | 2009-11-01 |
TWI478013B true TWI478013B (en) | 2015-03-21 |
Family
ID=44869626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW097113772A TWI478013B (en) | 2008-04-16 | 2008-04-16 | Click, double click with the drag action identification method and touch device controller |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI478013B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI522843B (en) | 2010-07-12 | 2016-02-21 | 原相科技股份有限公司 | Optical system and click detection method therefor |
TWI518580B (en) | 2012-01-15 | 2016-01-21 | 仁寶電腦工業股份有限公司 | Portable apparatus and operation method thereof |
CN105487690B (en) * | 2015-12-29 | 2018-01-30 | 苏州佳世达电通有限公司 | Double-click processing method and slave electric device |
TWI677818B (en) * | 2018-11-09 | 2019-11-21 | 華碩電腦股份有限公司 | Electronic device and control method thereof |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200643777A (en) * | 2005-06-08 | 2006-12-16 | Elan Microelectronics Corp | Object-detecting method of capacitive touch panel |
-
2008
- 2008-04-16 TW TW097113772A patent/TWI478013B/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200643777A (en) * | 2005-06-08 | 2006-12-16 | Elan Microelectronics Corp | Object-detecting method of capacitive touch panel |
Also Published As
Publication number | Publication date |
---|---|
TW200945126A (en) | 2009-11-01 |
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 | |
JP4295280B2 (en) | Method and apparatus for recognizing two-point user input with a touch-based user input device | |
US8830181B1 (en) | Gesture recognition system for a touch-sensing surface | |
JP2009146374A (en) | Method for controlling multipoint touch controller | |
TWI457798B (en) | Method and device for identifying multipoint rotating movement | |
US20140160054A1 (en) | Anchor-drag touch symbol recognition | |
CN101667077B (en) | Method for identifying single-click, double-click and drag motions and controller of touch device | |
CN1323343C (en) | Method for identifying single clicking action and controller | |
CN105022561A (en) | Touch screen control apparatus and method and mobile terminal | |
TW201411426A (en) | Electronic apparatus and control method thereof | |
TWI478013B (en) | Click, double click with the drag action identification method and touch device controller | |
US20140298275A1 (en) | Method for recognizing input gestures | |
US10345932B2 (en) | Disambiguation of indirect input | |
US9772699B2 (en) | Touch control system and touch control method and computer system of the same | |
TW201409295A (en) | Touch device and method of sampling touch points for touch panel | |
CN202075711U (en) | Touch control identification device | |
TWI478017B (en) | Touch panel device and method for touching the same | |
TWI248028B (en) | Single click identification method and controller thereof | |
TWM241746U (en) | Touch-controlled input apparatus of electronic apparatus | |
US10540086B2 (en) | Apparatus, method and computer program product for information processing and input determination | |
TWI270819B (en) | Drag-touch control method and control module for same | |
TWI464647B (en) | Touch device and gesture identifying method thereof | |
JP2005190127A (en) | Method for identifying double-tap operation and controller | |
JP2005173945A (en) | Method for identifying drag gesture and controller | |
JP2005309599A (en) | Method for drag control and its control module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |