JP5176870B2 - Information processing apparatus and input control method - Google Patents

Information processing apparatus and input control method Download PDF

Info

Publication number
JP5176870B2
JP5176870B2 JP2008277340A JP2008277340A JP5176870B2 JP 5176870 B2 JP5176870 B2 JP 5176870B2 JP 2008277340 A JP2008277340 A JP 2008277340A JP 2008277340 A JP2008277340 A JP 2008277340A JP 5176870 B2 JP5176870 B2 JP 5176870B2
Authority
JP
Japan
Prior art keywords
finger
touch panel
detected
event
discarding
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
Application number
JP2008277340A
Other languages
Japanese (ja)
Other versions
JP2010108103A (en
Inventor
雅之 後藤
嘉宏 高松屋
啓輔 五十嵐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2008277340A priority Critical patent/JP5176870B2/en
Publication of JP2010108103A publication Critical patent/JP2010108103A/en
Application granted granted Critical
Publication of JP5176870B2 publication Critical patent/JP5176870B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、情報処理装置および入力制御方法に関し、特に、タッチパネルに対する操作に応じた適切な動作を実行することができる情報処理装置および入力制御方法に関する。   The present invention relates to an information processing apparatus and an input control method, and more particularly to an information processing apparatus and an input control method that can execute an appropriate operation according to an operation on a touch panel.

従来より、利用者が情報や指示を入力するための入力部として、タッチパネルを備えた情報処理装置が知られている。タッチパネルによる情報や指示の入力は、利用者が指先で画面に触れることにより実行され、キーボードやマウス等のかさばる機器を必要としないため、携帯電話等の携帯端末において利用されることが多い。   Conventionally, an information processing apparatus provided with a touch panel is known as an input unit for a user to input information and instructions. Input of information and instructions using the touch panel is executed when the user touches the screen with a fingertip, and does not require a bulky device such as a keyboard or a mouse, and thus is often used in a mobile terminal such as a mobile phone.

特開平11−203045号公報JP-A-11-203045

しかしながら、タッチパネルによる情報や指示の入力には、キーボードやマウス等の他のデバイスによる情報や指示の入力と比べて、入力結果が誤って認識されて誤作動を生じさせることが多いという問題があった。   However, the input of information and instructions using the touch panel has a problem that the input result is often recognized erroneously and causes a malfunction as compared with the input of information and instructions using other devices such as a keyboard and mouse. It was.

例えば、キーボード入力の場合、複数のボタンのうち、どのボタンが押下されたかを認識すればよいので、誤作動が生じることはほとんどない。一方、タッチパネルによる入力の場合、1枚のタッチパネルに対して指がどのように触れたかを解析して、ドラッグやダブルタップを認識する複雑な処理が必要であるために、利用者が行った操作が誤認識され、誤作動を生じさせることが多かった。   For example, in the case of keyboard input, it is only necessary to recognize which button has been pressed among a plurality of buttons, so that malfunctions rarely occur. On the other hand, in the case of input using a touch panel, a user needs to perform a complicated process of analyzing how a finger touches a single touch panel and recognizing a drag or double tap. Have been misrecognized and often cause malfunctions.

また、タッチパネルによる入力の場合、指がブレ易いといった利用者の特性のために誤作動が生じることがあった。例えば、ダブルタップは、タッチパネルへのタップ操作が所定の期間内に連続した場合に認識されるが、指がブレ易い利用者の場合、タップ時に指の移動が検出されてしまい、2回目のタップを行っても連続したタップと認識されないことがあった。   In addition, in the case of input using a touch panel, malfunction may occur due to the user's characteristic that a finger is likely to shake. For example, a double tap is recognized when a tap operation on the touch panel continues within a predetermined period. However, in the case of a user whose finger is easy to shake, the movement of the finger is detected at the time of tapping, and the second tap is performed. In some cases, it was not recognized as a continuous tap.

開示の技術は、上述した従来技術による問題点を解消するためになされたものであり、タッチパネルに対する操作に応じた適切な動作を実行することができる情報処理装置および入力制御方法を提供することを目的とする。   The disclosed technique has been made to solve the above-described problems caused by the prior art, and provides an information processing apparatus and an input control method capable of executing an appropriate operation according to an operation on a touch panel. Objective.

上述した課題を解決し、目的を達成するため、本願の開示する情報処理装置は、一つの態様において、位置を検出するタッチパネルと、前記タッチパネルによって指の位置が検出された場合は、その後タッチパネルが検出した指の位置を所定の期間もしくは所定の回数破棄する破棄部と、前記破棄部が破棄しなかった指の位置と、前回アプリケーションへの操作指示に相当する入力イベントに変換した指の位置との差分を算出する算出部と、前記算出部が算出した差分が所定値よりも大きい場合には、前記破棄部が破棄しなかった指の位置を前記入力イベントに変換する変換部と、ドラッグ動作が検出された場合に、前記所定値をより小さな値に変更する変更部とを有することを特徴とする。 In order to solve the above-described problems and achieve the object, an information processing apparatus disclosed in the present application is, in one aspect, a touch panel that detects the position of a finger , and when the finger position is detected by the touch panel , The discard unit that discards the finger position detected by the touch panel for a predetermined period or a predetermined number of times, the finger position that the discard unit did not discard, and the finger event converted into the input event corresponding to the operation instruction to the previous application A calculation unit that calculates a difference with a position; and a conversion unit that converts the position of a finger that was not discarded by the discarding unit into the input event when the difference calculated by the calculation unit is greater than a predetermined value; And a change unit that changes the predetermined value to a smaller value when a drag operation is detected.

なお、本願の開示する情報処理装置の構成要素、表現または構成要素の任意の組合せを、方法、装置、システム、コンピュータプログラム、記録媒体、データ構造などに適用したものも上述した課題を解決するために有効である。   In addition, in order to solve the above-described problem, a component, expression, or any combination of components of the information processing device disclosed in the present application is applied to a method, a device, a system, a computer program, a recording medium, a data structure, and the like. It is effective for.

本願の開示する情報処理装置および入力制御方法の一つの態様によれば、タッチパネルに対する操作に応じた適切な動作を実行することができるという効果を奏する。   According to one aspect of the information processing apparatus and the input control method disclosed in the present application, there is an effect that an appropriate operation according to an operation on the touch panel can be executed.

以下に添付図面を参照して、本願の開示する情報処理装置および入力制御方法の好適な実施の形態を詳細に説明する。   Exemplary embodiments of an information processing apparatus and an input control method disclosed in the present application will be described below in detail with reference to the accompanying drawings.

まず、本実施例に係る入力制御方法について説明する。本実施例に係る入力制御方法は、タッチパネルに対して行われた操作の検出結果を分析し、その操作に応じた適切な動作が実行されるように制御を行う。   First, the input control method according to the present embodiment will be described. The input control method according to the present embodiment analyzes a detection result of an operation performed on the touch panel, and performs control so that an appropriate operation corresponding to the operation is executed.

具体的には、本実施例に係る入力制御方法は、タッチパネルに対する操作に応じた適切な動作が実行されるようにするために、ガード機能を実現する。以下に、ガード機能について説明する。   Specifically, the input control method according to the present embodiment implements a guard function in order to execute an appropriate operation according to an operation on the touch panel. The guard function will be described below.

利用者がタッチパネルに指を置いている場合、利用者が指を動かしているつもりはなくても、タッチパネルの指検出誤差や指の微妙な動きにより、タッチパネルにおいて指の移動が検出されることがある。この意図しない指の動きが、情報処理装置上で稼動するアプリケーションに伝わると、思わぬ誤作動を生じさせることがある。   When a user places a finger on the touch panel, even if the user does not intend to move the finger, movement of the finger may be detected on the touch panel due to finger detection errors on the touch panel or subtle movements of the finger. is there. If this unintended finger movement is transmitted to an application running on the information processing apparatus, an unexpected malfunction may occur.

このような意図しない指の動きの検出による誤作動を防止するために、本実施例に係る入力制御方法では、今回検出された指の位置に関する情報が、アプリケーション等に前回通知された指の位置に関する情報と比較される。そして、指の位置の座標値の差が予め決められたガード値の範囲内であれば、今回検出された指の位置に関する情報は、アプリケーション等に通知されることなく廃棄される。   In order to prevent such an erroneous operation due to detection of unintended finger movement, in the input control method according to the present embodiment, the information on the finger position detected this time is the finger position previously notified to the application or the like. Compared with information about. If the difference between the coordinate values of the finger positions is within a predetermined guard value range, the information on the finger position detected this time is discarded without being notified to an application or the like.

このように、アプリケーション等に前回通知した指の位置と近い範囲での指の移動に関する情報を廃棄することにより、意図しない指の動きがアプリケーション等に通知されなくなり、誤作動の発生が抑制される。   In this way, by discarding information related to finger movement within a range close to the finger position previously notified to the application or the like, unintended finger movement is not notified to the application or the like, and the occurrence of malfunction is suppressed. .

ここで、
解像度:864×480ピクセル
対角のサイズ:3.2インチ
指の動きに関する情報を出力する間隔:33ms
という仕様のタッチパネル上で、利用者が標準的な速度でドラッグ動作を行った場合を例にして、ガード値の好ましい大きさについて説明する。
here,
Resolution: 864 × 480 pixels Diagonal size: 3.2 inches Interval for outputting information about finger movement: 33 ms
A preferable size of the guard value will be described by taking as an example a case where the user performs a drag operation at a standard speed on the touch panel having the specifications.

ガード値を横:50ピクセル、縦:30ピクセルとした場合、図5−1に示すように、ドラック動作の開始後、指の動きを示す情報が、ガード機能によって4個分連続して廃棄されてしまう。このように指の動きを示す情報が数多く廃棄されると、指の動きに対するアプリケーション等の追随性が悪くなる。   When the guard value is set to horizontal: 50 pixels and vertical: 30 pixels, as shown in FIG. 5A, information indicating finger movement is continuously discarded by the guard function for four pieces after the start of the drag operation. End up. If a large amount of information indicating the movement of the finger is discarded, the followability of the application or the like with respect to the movement of the finger is deteriorated.

一方、ガード値を縦:25ピクセル、横:15ピクセルと半分にした場合、図5−2に示すように、ドラック動作の開始後、指の動きを示す情報がガード機能によって廃棄される回数が、大きく減って1回となっている。この程度の廃棄であれば、指の動きに対するアプリケーション等の追随性が悪いと利用者に知覚されることはない。   On the other hand, when the guard value is halved (vertical: 25 pixels, horizontal: 15 pixels), as shown in FIG. 5B, the number of times information indicating finger movement is discarded by the guard function after the start of the drag operation. , Greatly reduced once. With this level of disposal, the user will not perceive that the followability of an application or the like with respect to finger movement is poor.

ガード値をさらに小さくすることにより、指の動きに対するアプリケーション等の追随をさらに改善することもできるが、その場合、意図しない指の動きの検知に起因する誤作動を防止するというガード機能の目的が達成されなくなる。したがって、上記の仕様のタッチパネルの場合、ガード値を縦:25ピクセル、横:15ピクセル程度に設定することが好ましい。   By further reducing the guard value, it is possible to further improve the follow-up of the application with respect to finger movement, but in that case, the purpose of the guard function is to prevent malfunction caused by detection of unintended finger movement. It will not be achieved. Accordingly, in the case of the touch panel having the above specifications, it is preferable to set the guard value to about vertical: 25 pixels and horizontal: about 15 pixels.

このように、ガード値は、意図しない指の動きの検知による誤作動を防止するというガード機能の目的を達成でき、かつ、ドラッグ操作に関して利用者が違和感を覚えない程度の値に設定される。   In this way, the guard value is set to a value that can achieve the purpose of the guard function of preventing an erroneous operation due to detection of unintended finger movements and that does not cause the user to feel uncomfortable regarding the drag operation.

なお、通常時は、ガード値を大きめに設定しておき、ドラッグ操作の開始が判明してから、指がタッチパネルから離れてドラッグ操作が終了するまで、ガード値を小さくすることとしてもよい。このような制御を行えば、意図しない指の動きの検知に起因する誤作動を確実に防止しつつ、ドラッグ操作に対するアプリケーション等の追随性の劣化をほぼ完全に解消することができる。   In normal times, the guard value may be set to a large value, and the guard value may be decreased after the start of the drag operation is determined until the finger leaves the touch panel and the drag operation ends. By performing such control, it is possible to almost completely eliminate the deterioration of the followability of the application or the like with respect to the drag operation while reliably preventing an erroneous operation due to detection of an unintended finger movement.

また、本実施例に係る入力制御方法は、上記のガード機能に関する制御に加えて、ダブルタップの検出漏れを解消するための制御を含む。ダブルタップは、利用者が所定の期間内にタッチパネルを連続してタップした場合に認識される操作であるが、タップの際に、指がわずかに滑る等して、タップ以外に指の動きがタッチパネルに検出されることがある。このように2つのタップの間に指の動き等の別の事象が検出されると、タップが連続して検出されないために、利用者の操作がダブルタップとして認識されないことがある。   The input control method according to the present embodiment includes control for eliminating double tap detection omission in addition to the control related to the guard function. Double tap is an operation that is recognized when the user continuously taps the touch panel within a predetermined period. However, when the user taps, the finger moves slightly in addition to the tap. It may be detected on the touch panel. If another event such as finger movement is detected between the two taps in this way, the taps are not continuously detected, and the user's operation may not be recognized as a double tap.

この問題は、上記のガード機能を利用して解消することもできる。すなわち、ガード機能によって、タップ後に検出された指の動きを無視することができれば、利用者の操作は、ダブルタップとして正しく認識されるようになる。しかし、タップ時は指に勢いが加わっているため、タップ動作時に検出される指の移動量は、利用者がタッチパネル上に静止させているときの指の移動量よりも大きくなる。したがって、タップ動作時の指の動きをガード機能によって無視してダブルタップの認識率を向上させるには、ガード値を大きく設定する必要があり、上述したようにドラッグ操作に対するアプリケーション等の追随性が劣化する。   This problem can also be solved by using the guard function. That is, if the finger movement detected after the tap can be ignored by the guard function, the user's operation is correctly recognized as a double tap. However, since momentum is applied to the finger when tapping, the amount of finger movement detected during the tapping operation is greater than the amount of finger movement when the user is stationary on the touch panel. Therefore, in order to improve the double tap recognition rate by ignoring the finger movement during the tap operation by the guard function, it is necessary to set a large guard value. to degrade.

そこで、本実施例に係る入力制御方法では、タップが検出された後、検出された指の動きを所定の期間だけ廃棄する。タップ時に指が滑ったとしても、指の動きが検出される時間は短い。そのため、タップが検出された後、検出された指の動きを所定の期間だけ廃棄することにより、ダブルタップ操作がなされた場合に、2つのタップの間に何も検出されなかったこととなり、ダブルタップが正しく認識されるようになる。   Therefore, in the input control method according to the present embodiment, after the tap is detected, the detected finger movement is discarded for a predetermined period. Even if the finger slips when tapping, the time for detecting the movement of the finger is short. For this reason, after a tap is detected, the detected finger movement is discarded for a predetermined period, so that when a double tap operation is performed, nothing is detected between the two taps. Taps are recognized correctly.

なお、タップ検出後に指の動きの検出結果を廃棄する期間は、タップ時に滑った指の動きが認識されることがなく、かつ、ドラッグ動作の初動が鈍く感じられる程度が小さくて済む期間に設定することが好ましい。検証したところ、タップ時に指の動きが検出される期間は、最大で100ms程度であったため、タップ検出後に指の動きの検出結果を廃棄する期間は、100ms程度であることが好ましい。   The period for discarding the detection result of finger movement after tap detection is set to a period during which the movement of the finger that slipped at the time of tapping is not recognized and the initial movement of the drag operation is felt to be slow. It is preferable to do. As a result of the verification, the period during which the finger movement is detected at the time of tapping is about 100 ms at the maximum, and therefore, the period for discarding the detection result of the finger movement after the tap detection is preferably about 100 ms.

また、上記の仕様のタッチパネルのように、指が置かれている場合に指の動きに関する情報を一定の間隔で出力するタッチパネルの場合は、タップが検出された後、検出された指の動きを所定の回数だけ廃棄することとしてもよい。例えば、上記の仕様のタッチパネルのように、指が置かれている場合に指の動きに関する情報を33ms間隔で出力する場合は、検出された指の動きを3回だけ廃棄すれば、100msの期間だけ廃棄した場合と同じ効果が得られる。   In addition, in the case of a touch panel that outputs information about finger movement at a fixed interval when a finger is placed, such as a touch panel with the above specifications, the detected finger movement is detected after a tap is detected. It may be discarded only a predetermined number of times. For example, when information about finger movement is output at 33 ms intervals when a finger is placed, such as a touch panel with the above specifications, a period of 100 ms can be obtained by discarding the detected finger movement only three times. The same effect as when only discarding is obtained.

次に、本実施例に係る入力制御方法を実行する装置の構成について、携帯電話機を例にして説明する。図1は、本実施例に係る携帯電話機Cの構成を示す図である。図1(A)において、1はタッチパネル、2は操作キーを示す。   Next, the configuration of a device that executes the input control method according to the present embodiment will be described using a mobile phone as an example. FIG. 1 is a diagram illustrating a configuration of a mobile phone C according to the present embodiment. In FIG. 1A, 1 is a touch panel and 2 is an operation key.

携帯電話機Cは、上部筐体と下部筐体からなる折りたたみ型で、ヒンジ部3を折り曲げることにより、図1(B)のような形状となる。ヒンジ部3は、回転可能に構成されており、折り曲げ時に、タッチパネル1を内側に向けることも、外側に向けることもできる。タッチパネル1を外側にして折りたたまれた場合、携帯電話機Cは、折りたたまれた形状のままで、タッチパネル1を介して各種操作を受け付け、受け付けた操作に対応する処理を実行する。   The cellular phone C is a foldable type composed of an upper housing and a lower housing, and has a shape as shown in FIG. The hinge portion 3 is configured to be rotatable, and the touch panel 1 can be directed inward or outward during bending. When folded with the touch panel 1 facing outward, the mobile phone C accepts various operations via the touch panel 1 while maintaining the folded shape, and executes processing corresponding to the accepted operation.

図2は、携帯電話機Cのタッチパネル1関連の機能構成を示すブロック図である。1はタッチパネル、4はタッチパネルドライバ、5はOS(Operating System)、6はフレームワーク、7はアプリケーションを示す。タッチパネルドライバ4は、タッチパネル1で検出された指に関するイベントを基に、指の動作を判断して、様々な種類のイベントをOS5へ通知する。   FIG. 2 is a block diagram showing a functional configuration related to the touch panel 1 of the mobile phone C. As shown in FIG. Reference numeral 1 denotes a touch panel, 4 denotes a touch panel driver, 5 denotes an OS (Operating System), 6 denotes a framework, and 7 denotes an application. The touch panel driver 4 determines the operation of the finger based on the event related to the finger detected by the touch panel 1 and notifies the OS 5 of various types of events.

タッチパネル1において検出されるイベントには、座標イベント、指ありイベント/指なしイベント等の種類が含まれる。座標イベントは、タッチパネル1上における指の位置を示すイベントである。指ありイベント/指なしイベントは、タッチパネル1に指が触れたこと、もしくは、指が離れたことを示すイベントである。   Events detected on the touch panel 1 include types such as a coordinate event, an event with a finger / an event without a finger. The coordinate event is an event indicating the position of the finger on the touch panel 1. The event with a finger / the event without a finger is an event indicating that a finger has touched the touch panel 1 or a finger has been released.

これらのイベントに基づいて、タッチパネルドライバ4がOS5へ通知するイベントには、座標イベント、タップDOWN、タップUPイベント等の種類が含まれる。座標イベントは、タッチパネル1上における指の位置を示すイベントである。タップDOWNイベントは、タッチパネル1に指が触れたことと指が置かれた位置を示すイベントである。タップUPイベントは、タッチパネル1から指が離れたことを示すイベントである。   The events that the touch panel driver 4 notifies to the OS 5 based on these events include types such as a coordinate event, a tap DOWN, and a tap UP event. The coordinate event is an event indicating the position of the finger on the touch panel 1. The tap DOWN event is an event indicating that a finger touches the touch panel 1 and a position where the finger is placed. The tap UP event is an event indicating that a finger has been removed from the touch panel 1.

タッチパネルドライバ4は、利用者が意図しない誤作動が発生するのを防止するために、本実施例に係る入力制御方法を実行する。すなわち、タッチパネルドライバ4は、OS5へタッチDOWNイベントを通知した後、ガード値内の範囲で指の移動が検出されても、指の位置を座標イベントとして通知しない。また、タッチパネルドライバ4は、タッチパネル1に指が触れたことを示すタップDOWNイベントを通知した後、タッチパネル1から通知される座標イベントを所定の回数だけ廃棄する。   The touch panel driver 4 executes the input control method according to the present embodiment in order to prevent a malfunction that is not intended by the user. That is, after notifying the OS 5 of the touch DOWN event, the touch panel driver 4 does not notify the finger position as a coordinate event even if movement of the finger is detected within a range within the guard value. The touch panel driver 4 discards the coordinate event notified from the touch panel 1 a predetermined number of times after notifying the tap DOWN event indicating that the finger touches the touch panel 1.

OS5は、タッチパネルドライバ4から通知される座標イベントやタップDOWNイベント等を分析し、利用者が行った操作を判定して判定結果をフレームワーク6へ通知する。具体的には、OS5は、利用者が行った操作が、シングルタップであるのか、ダブルタップであるのか、ドラッグであるのか等を判定し、判定結果に応じたイベントをフレームワーク6へ通知する。   The OS 5 analyzes coordinate events, tap DOWN events, and the like notified from the touch panel driver 4, determines an operation performed by the user, and notifies the determination result to the framework 6. Specifically, the OS 5 determines whether the operation performed by the user is a single tap, a double tap, or a drag, and notifies the framework 6 of an event corresponding to the determination result. .

フレームワーク6は、OS5から通知されたイベントを、アプリケーション7へ通知する。アプリケーション7は、フレームワーク6から通知されたイベントに基づいて各種処理を実行する。   The framework 6 notifies the application 7 of the event notified from the OS 5. The application 7 executes various processes based on the event notified from the framework 6.

図3は、図2に示したタッチパネルドライバ4で実行される処理のフローチャートである。タッチパネルドライバ4は、タッチパネル1からイベントを受信する(ステップS1)。そして、タッチパネルドライバ4は、タッチパネル1から受信したイベント毎に処理を振り分ける(ステップS2)。   FIG. 3 is a flowchart of processing executed by the touch panel driver 4 shown in FIG. The touch panel driver 4 receives an event from the touch panel 1 (step S1). Then, the touch panel driver 4 distributes processing for each event received from the touch panel 1 (step S2).

ステップS1で受信したイベントが指ありイベントであれば、タッチパネルドライバ4は、OS5に対して、指がタッチパネル1に置かれたこととその位置を示す座標をタップDOWNイベントで通知する(ステップS3)。そして、タッチパネルドライバ4は、OS5に通知した座標を記憶し(ステップS4)、座標カウンタを0にクリアし(ステップS5)、当該のイベントに関する処理を終了する。   If the event received in step S1 is a finger presence event, the touch panel driver 4 notifies the OS 5 that the finger has been placed on the touch panel 1 and coordinates indicating the position thereof by a tap DOWN event (step S3). . Then, the touch panel driver 4 stores the coordinates notified to the OS 5 (step S4), clears the coordinate counter to 0 (step S5), and ends the processing related to the event.

ステップS1で受信したイベントが座標イベントであれば、タッチパネルドライバ4は、座標カウンタに1を加算する(ステップS6)。ここで、座標カウンタの値が閾値である3より小さければ(ステップS7否定)、タッチパネルドライバ4は、当該のイベントに関する処理を終了する。   If the event received in step S1 is a coordinate event, the touch panel driver 4 adds 1 to the coordinate counter (step S6). Here, if the value of the coordinate counter is smaller than 3 which is a threshold value (No at Step S7), the touch panel driver 4 ends the process related to the event.

なお、ここで閾値を3としているのは、一例であり、タップ時に滑った指の動きが認識されることがなく、かつ、ドラッグ動作の初動が鈍く感じられる程度が小さくて済む値であればどのような値でもよい。また、回数を閾値とする代わりに、時間を閾値としてもよい。この場合、ステップS5では、座標カウンタを0にクリアする処理ではなく、タイマをリセットする処理を実行する。   Here, the threshold value is set to 3 as an example, as long as the movement of the finger slipped at the time of tapping is not recognized and the initial motion of the drag operation is felt to be dull. Any value is acceptable. Also, instead of using the number of times as a threshold, time may be used as a threshold. In this case, in step S5, not the process of clearing the coordinate counter to 0 but the process of resetting the timer is executed.

ステップS6で、座標カウンタの値が閾値である3以上となった場合は(ステップS7肯定)、タッチパネルドライバ4は、OS5へ前回通知した座標と、今回通知された座標の差分を算出する(ステップS8)。そして、座標の差分がガード値よりも大きければ(ステップS9肯定)、タッチパネルドライバ4は、OS5に対して、指の位置を示す座標を座標イベントで通知する(ステップS10)。そして、タッチパネルドライバ4は、OS5に通知した座標を記憶し(ステップS11)、当該のイベントに関する処理を終了する。   In step S6, when the value of the coordinate counter is equal to or greater than 3 which is a threshold value (Yes in step S7), the touch panel driver 4 calculates the difference between the coordinate notified last time to the OS 5 and the coordinate notified this time (step S6). S8). If the coordinate difference is larger than the guard value (Yes at Step S9), the touch panel driver 4 notifies the OS 5 of the coordinate indicating the position of the finger with a coordinate event (Step S10). And the touch panel driver 4 memorize | stores the coordinate notified to OS5 (step S11), and complete | finishes the process regarding the said event.

ステップS8で算出した座標の差分がガード値よりも小さければ(ステップS9否定)、タッチパネルドライバ4は、当該のイベントに関する処理を終了する。   If the coordinate difference calculated in step S8 is smaller than the guard value (No in step S9), the touch panel driver 4 ends the process related to the event.

ステップS1で受信したイベントが指なしイベントであれば、タッチパネルドライバ4は、OS5に対して、指がタッチパネル1から離れたことを示す座標をタップUPイベントで通知する(ステップS12)。そして、タッチパネルドライバ4は、当該のイベントに関する処理を終了する。   If the event received in step S1 is a fingerless event, the touch panel driver 4 notifies the OS 5 of coordinates indicating that the finger has left the touch panel 1 by a tap UP event (step S12). Then, the touch panel driver 4 ends the process related to the event.

次に、本実施例に係る入力制御方法の効果について具体例を示して説明する。図4−1は、従来の入力制御の具体例を示す図である。図4−1に示す例では、利用者がダブルタップの操作をした場合に、タップDOWNイベントに続けて座標イベントがタッチパネルドライバ4からOS5へ通知されている。この座標イベントにより、OS5では、ダブルタップの検出処理が途中でキャンセルされ、ダブルタップの検出が失敗に終わっている。   Next, the effect of the input control method according to the present embodiment will be described with a specific example. FIG. 4A is a diagram of a specific example of conventional input control. In the example illustrated in FIG. 4A, when the user performs a double tap operation, a coordinate event is notified from the touch panel driver 4 to the OS 5 following the tap DOWN event. With this coordinate event, the OS 5 cancels the double tap detection process in the middle, and the double tap detection has failed.

図4−2は、本実施例に係る入力制御の具体例を示す図である。図4−2に示す例では、利用者がダブルタップの操作をした場合に、タッチパネル1において指ありイベントに続いて検出された座標イベントが、タッチパネルドライバ4において廃棄されている。このため、OS5へは、タップDOWNイベントとタップUPイベントのみが続けて通知され、OS5におけるダブルタップの認識が成功している。   FIG. 4B is a diagram of a specific example of the input control according to the present embodiment. In the example illustrated in FIG. 4B, when the user performs a double tap operation, the coordinate event detected following the finger presence event on the touch panel 1 is discarded in the touch panel driver 4. For this reason, only the tap DOWN event and the tap UP event are continuously notified to the OS 5, and the recognition of the double tap in the OS 5 is successful.

上述してきたように、本実施例では、ガード機能や、タップ検出後に所定期間(所定回数)だけ座標イベントを廃棄することにより、誤差動の原因となるイベントを上位に通知しないこととしたので、タッチパネルに対する操作に応じた適切な動作を実行することができる。   As described above, in this embodiment, since the coordinate event is discarded only for a predetermined period (predetermined number of times) after the guard function or tap detection, the event causing the error motion is not notified to the upper level. An appropriate operation according to the operation on the touch panel can be executed.

本実施例に係る携帯電話機の構成を示す図である。It is a figure which shows the structure of the mobile telephone which concerns on a present Example. 携帯電話機のタッチパネル関連の機能構成を示すブロック図である。It is a block diagram which shows the function structure relevant to the touchscreen of a mobile telephone. 図2に示したタッチパネルドライバで実行される処理のフローチャートである。It is a flowchart of the process performed with the touch panel driver shown in FIG. 従来の入力制御の具体例を示す図である。It is a figure which shows the specific example of the conventional input control. 本実施例に係る入力制御の具体例を示す図である。It is a figure which shows the specific example of the input control concerning a present Example. ガード値を横:50ピクセル、縦:30ピクセルとした場合の動作の一例を示す図である。It is a figure which shows an example of operation | movement in case a guard value is set to horizontal: 50 pixels and vertical: 30 pixels. ガード値を横:25ピクセル、縦:15ピクセルとした場合の動作の一例を示す図である。It is a figure which shows an example of operation | movement in case a guard value is set to horizontal: 25 pixel and vertical: 15 pixel.

符号の説明Explanation of symbols

1 タッチパネル
2 操作キー
3 ヒンジ部
4 タッチパネルドライバ
5 OS
6 フレームワーク
7 アプリケーション
1 Touch panel 2 Operation key 3 Hinge part 4 Touch panel driver 5 OS
6 Framework 7 Application

Claims (2)

位置を検出するタッチパネルと、
前記タッチパネルによって指の位置が検出された場合は、その後タッチパネルが検出した指の位置を所定の期間もしくは所定の回数破棄する破棄部と、
前記破棄部が破棄しなかった指の位置と、前回アプリケーションへの操作指示に相当する入力イベントに変換した指の位置との差分を算出する算出部と、
前記算出部が算出した差分が所定値よりも大きい場合には、前記破棄部が破棄しなかった指の位置を前記入力イベントに変換する変換部と、
ドラッグ動作が検出された場合に、前記所定値をより小さな値に変更する変更部と
を有することを特徴とする情報処理装置。
A touch panel that detects the position of the finger ;
When a finger position is detected by the touch panel, a discarding unit that discards the finger position detected by the touch panel after a predetermined period or a predetermined number of times;
A calculation unit that calculates a difference between a finger position that has not been discarded by the discarding unit and a finger position converted into an input event corresponding to an operation instruction to the previous application;
When the difference calculated by the calculation unit is greater than a predetermined value, a conversion unit that converts the finger position that the discard unit did not discard into the input event;
A change unit that changes the predetermined value to a smaller value when a drag operation is detected;
An information processing apparatus comprising:
タッチパネルを有する情報処理装置が実行する入力制御方法であって、An input control method executed by an information processing apparatus having a touch panel,
前記タッチパネルにおいて指の位置を検出する検出ステップと、A detection step of detecting a finger position on the touch panel;
前記検出ステップによって指の位置が検出された場合は、その後検出した指の位置を所定の期間もしくは所定の回数破棄する破棄ステップと、When the position of the finger is detected by the detection step, a discarding step of discarding the detected finger position after a predetermined period or a predetermined number of times;
前記破棄ステップで破棄しなかった指の位置と、前回アプリケーションへの操作指示に相当する入力イベントに変換した指の位置との差分を算出する算出ステップと、A calculation step for calculating a difference between a finger position that has not been discarded in the discarding step and a finger position converted into an input event corresponding to an operation instruction to the previous application;
前記算出ステップで算出した差分が所定値よりも大きい場合には、前記破棄ステップで破棄しなかった指の位置を前記入力イベントに変換する変換ステップと、When the difference calculated in the calculation step is larger than a predetermined value, a conversion step for converting the position of the finger that was not discarded in the discarding step into the input event;
ドラッグ動作が検出された場合に、前記所定値をより小さな値に変更する変更ステップとA changing step of changing the predetermined value to a smaller value when a drag operation is detected;
を実行することを特徴とする入力制御方法。  The input control method characterized by performing.
JP2008277340A 2008-10-28 2008-10-28 Information processing apparatus and input control method Expired - Fee Related JP5176870B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008277340A JP5176870B2 (en) 2008-10-28 2008-10-28 Information processing apparatus and input control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008277340A JP5176870B2 (en) 2008-10-28 2008-10-28 Information processing apparatus and input control method

Publications (2)

Publication Number Publication Date
JP2010108103A JP2010108103A (en) 2010-05-13
JP5176870B2 true JP5176870B2 (en) 2013-04-03

Family

ID=42297520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008277340A Expired - Fee Related JP5176870B2 (en) 2008-10-28 2008-10-28 Information processing apparatus and input control method

Country Status (1)

Country Link
JP (1) JP5176870B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5758716B2 (en) * 2011-06-22 2015-08-05 ミネベア株式会社 Physical quantity detection device and detection method
JP5862549B2 (en) 2012-11-28 2016-02-16 コニカミノルタ株式会社 Data processing apparatus, operation reception method, and browsing program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09258899A (en) * 1996-03-21 1997-10-03 Oki Electric Ind Co Ltd Touch panel controller
US6897853B2 (en) * 2000-11-10 2005-05-24 Microsoft Corp. Highlevel active pen matrix
JP2004355426A (en) * 2003-05-30 2004-12-16 Hitachi Ltd Software for enhancing operability of touch panel and terminal

Also Published As

Publication number Publication date
JP2010108103A (en) 2010-05-13

Similar Documents

Publication Publication Date Title
JP5957834B2 (en) Portable information terminal, touch operation control method, and program
US9000956B2 (en) Portable terminal and input control method
US8581869B2 (en) Information processing apparatus, information processing method, and computer program
US8446382B2 (en) Information processing apparatus and input control method
KR20160149262A (en) Touch point recognition method and device
JP2008159032A (en) Operation control method and system
JP5910345B2 (en) Character input program, information processing apparatus, and character input method
TW201537444A (en) Method for preventing from accidentally triggering edge swipe gesture and gesture triggering
US10372223B2 (en) Method for providing user commands to an electronic processor and related processor program and electronic circuit
CN102768595B (en) A kind of method and device identifying touch control operation instruction on touch-screen
KR20080029028A (en) Method for inputting character in terminal having touch screen
CN108733302B (en) Gesture triggering method
EP3712752A1 (en) Touch recognition method and touch device
CN107450820B (en) Interface control method and mobile terminal
JP2016177658A5 (en)
TWI511030B (en) Method for user interface display and electronic device using the same
JP5176870B2 (en) Information processing apparatus and input control method
TWI497357B (en) Multi-touch pad control method
CN102855017B (en) Terminal and method for preventing error input of terminal
EP2993555B1 (en) Screen operation method for electronic device based on electronic device and control action
TWI554938B (en) Control method for a touch device
CN113407066A (en) Touch controller of handheld device and control method thereof
US10037101B2 (en) Touch panel having a filter unit for filtering unintended touches and method thereof
US20210048937A1 (en) Mobile Device and Method for Improving the Reliability of Touches on Touchscreen
US20150268734A1 (en) Gesture recognition method for motion sensing detector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120529

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120530

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120726

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121211

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121224

R150 Certificate of patent or registration of utility model

Ref document number: 5176870

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees