This application claims priority under 35 U.S.C. §119 to Chinese Patent Application No. 201110081232.0, filed on Mar. 31, 2011, the content of which is incorporated herein by reference in its entirety.
Example embodiments of the present disclosure relate generally to a identifying method, and more particularly, to a method of identifying a touch gesture and device thereof.
Although the keyboard remains a primary input device of a computer, the prevalence of graphical user interfaces (GUIs) may require use of a mouse or other pointing device such as a trackball, joystick, touchpad or the like. Operations performed by the pointing devices generally correspond to moving a cursor, making selections, dragging, zoom in/out, rotating or the like.
Touchpads are commonly used on portable electronic devices by providing a panel for user's fingers or other conductive objects to touch or move thereon. Operations on touchpads may be implemented by detecting hand gestures. For example, selections may be made when one or more taps are detected on the touchpads. In addition to selections, moving a selected content from one place to another may be made by dragging a user's finger across the touchpad.
According to one exemplary embodiment of the present invention, a method of identifying gestures on a touchpad comprises determining a first time interval between receipt and drop in a first contact signal induced by a first contact with the touchpad, recording a first start touch point and a first end touch point associated with the receipt and drop in the first contact signal, determining a gesture according to the first time interval, the first start touch point and the first end touch point and generating a control signal associated with the determined gesture.
According to one exemplary embodiment of the present invention, a touch gesture identifying device comprises a touch screen, an identifying module and a data storage medium. The touch screen is configured to receive a first contact signal induced by a first contact with the touchpad. The identifying is configured to determine a first time interval between receipt and drop in the first contact signal, record a first start touch point associated with receipt of the first contact signal and a first end touch point associated with drop in the first contact signal, and determine a gesture according to the first time interval, the first start touch point and the first end touch point. The data storage medium is configured to store data output from the touch screen and the identifying module.
Having thus described example embodiments of the present disclosure in general terms, reference will now be made to the accompanying drawings, which are not necessarily drawn to scale, and wherein:
The present invention now will be described more fully hereinafter with reference to the accompanying drawings, in which preferred embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like numbers refer to like elements throughout.
The identifying module 120 may include a processing unit (not numbered) that is configured to determine time intervals between receipt and drop in one or two contact signals. The receipt and the drop signal may be associated with two subsequent contact signals. The identification module 120 may be configured to identify coordinates of each touch point on the touch screen 110 and calculate displacement between a start touch point associated with receipt of a contact signal and an end touch point associated with a drop signal. The start touch point and the end touch point may be associated with two subsequent contact signals. The identifying module 120 may be configured to determine a gesture and generate corresponding control signals based on coordinates of touch points on the touch screen 110. The processing unit may be configured to provide the control signals and other related information to a terminal application device to execute the gesture applied to the touch screen. The terminal application device may be any of a number of different processing devices including, for example, a laptop computer, desktop computer, server computer, or a portable electronic devices such as a portable music player, mobile telephone, portable digital assistant (PDA), tablet or the like. Generally, the terminal application device may include the processing unit, memory, user interface (e.g., display and/or user input interface) and/or one or more communication interfaces. As will be appreciated, the identifying module 120 may include a counter embodied in the form of a software program or an electronic circuit, e.g., a cyclic counter. In various embodiments, the counter may be reset on receipt and/or drop in a contact signal.
The identifying module 120 is configured to communicate with the data storage medium 130. The data storage medium 130 may be volatile memory and/or non-volatile memory, which may store data received or calculated by the processing unit, and may also store one or more software applications, instructions or the like for the identifying module 120 to perform functions associated with operation of the device in accordance with exemplary embodiments of the present invention.
The displacement measurement module 230 is configured to record start touch point and end touch point of each contact that is presented on the touch screen 210 and measure the displacement between the start touch point and the end touch point. The start touch point and the end touch point may be associated with two subsequent contact signals.
The processing unit 240 may be configured to record time intervals between receipts of two adjacent signals, calculate reference intervals according to the displacements and the time intervals, and perform comparison functions to compare the reference intervals to predefined references. The processing unit 240 may be embodied in hardware in a number of different manners, such as a CPU (Central Processing Unit), microprocessor, coprocessor, controller and/or various other processing devices including integrated circuits such as ASIC (Application Specification Integrated Circuit), FPGA (Field Programmable Gate Array) or the like. The processing unit 240 may communicate with the data storage medium 250. The data storage medium 250 may be in a form of volatile memory, non-volatile memory or in any other forms, which may store data recorded or calculated by displacement measurement module 230 and the processing unit 240, and may also store predefined references, and one or more software applications, instructions or the like for the processing unit 240 to perform associated with operation of the device in accordance with exemplary embodiments of the present invention.
The processing unit 240 may calculate a first reference interval RT1 and compare the first reference interval RT1 to a first reference t11 and a second reference t12 at step S314 to determine if the first reference interval RT1 is greater than the first reference t11 and less than the second reference t12. The first reference interval RT1 may be the result of T11×(S1+1), the sum of T1+S1 or the result of other equations including parameters T1 and/or S1. The first reference interval RT1 that is greater than the first reference t11 and less than the second reference t12 may indicate that a valid touch or a real touch is detected. In an instance in which the comparison result obtained at step S314 indicates that the first reference interval RT1 is less than the first reference t11 or larger than the second reference t12, the method proceed to step S316. In an instance in which the first reference interval RT1 is determined to be less than the first reference t11 at step S316, the processing unit 240 may determine that the first contact is an invalid contact at step S308. Otherwise, the processing unit 240 may determine the contact is other gestures at step S318.
After the user lifts his/her finger off the touchpad, the counter 220 may be reset or may continue to run. The sensing module 260 may monitor for receipt of a second contact signal from the touchpad.
In an instance in which the touchpad receives a second contact signal at step S320, a second time interval T2 is recorded as the time between the time the first valid signal ceased and receipt of the second contact signal. In an instance in which the second contact signal is received in the third reference time t21, a single-click signal may be generated by the processing unit 240 and is output at step S324. In an instance in which the touchpad does not receive a second contact signal in a fourth reference time t22 at step S322, a single-click signal may be generated by the processing unit 240 and is output at step S324.
In an instance in which the processing unit 240 receives a second contact signal 516 in a period that is greater than the third reference time t21 but less than the fourth reference time t22 (t21<T2≦t22), as shown in
In an instance in which the second time interval T2 is greater than the third reference t21 and less than the fourth reference t22 at step S328, the sensing module 260 may monitor the second contact signal for a drop in the signal at step S332. On detecting a drop in the second contact signal by the sensing module 260, a third time interval T3 and a displacement S3 are respectively recorded by the processing unit 240 and the displacement measurement module 230 at step S334. The processing unit 240 then calculates a third time interval T3 and compares the third time interval T3 to a fifth reference t31 and a six reference t32 at step S336. The third time interval T3 is recorded between receipt and drop in the second contact signal induced by the user's finger on the touchpad. The third displacement S3 is recorded between the second start touch point and a second end touch point associated with the second contact signal. The processing unit 240 may compare a third reference interval RT3 to the fifth reference t31 and the sixth reference t32. The third reference interval RT3 may be the result of T3×(S3+1), the sum of T3+S3 or the result of other equations including parameters T3 and/or S3. In an instance in which the third time interval T3 is greater than the fifth reference t31, and less than the sixth reference t32 at step S336, a double-click signal 530, as shown in
In an instance in which the third reference interval RT3 is larger than the sixth reference t32 at step S340, as shown in
Accordingly, blocks or steps of the flowcharts support combinations of means for performing the specified functions, combinations of steps for performing the specified functions and program instruction means for performing the specified functions. It will also be understood that each block or step of the flowcharts, and combinations of blocks or steps in the flowcharts, can be implemented by special purpose hardware-based computer systems which perform the specified functions or steps, or combinations of special purpose hardware and computer instructions.
It will be appreciated by those skilled in the art that changes could be made to the examples described above without departing from the broad inventive concept. It is understood, therefore, that this invention is not limited to the particular examples disclosed, but it is intended to cover modifications within the spirit and scope of the present invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201110081232.0 | Mar 2011 | CN | national |