JP7492044B1 - Input device, program, and method for preventing false detection - Google Patents

Input device, program, and method for preventing false detection Download PDF

Info

Publication number
JP7492044B1
JP7492044B1 JP2023018224A JP2023018224A JP7492044B1 JP 7492044 B1 JP7492044 B1 JP 7492044B1 JP 2023018224 A JP2023018224 A JP 2023018224A JP 2023018224 A JP2023018224 A JP 2023018224A JP 7492044 B1 JP7492044 B1 JP 7492044B1
Authority
JP
Japan
Prior art keywords
touch
touch information
information
threshold
primary
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.)
Active
Application number
JP2023018224A
Other languages
Japanese (ja)
Other versions
JP2024113328A (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.)
NEC Platforms Ltd
Original Assignee
NEC Platforms 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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2023018224A priority Critical patent/JP7492044B1/en
Application granted granted Critical
Publication of JP7492044B1 publication Critical patent/JP7492044B1/en
Publication of JP2024113328A publication Critical patent/JP2024113328A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

Figure 0007492044000001

【課題】 操作していない場合における誤検出を防止する。
【解決手段】 本発明の入力装置は、タッチダウンであるかタッチアップであるかを示すタッチ種類と、検出位置と、検出時刻とを含むタッチ情報を出力するタッチパッドと、タッチ種類がタッチダウンである第1タッチ情報と、タッチ種類がタッチアップである第2タッチ情報とのセットを生成するタッチ情報セット生成手段と、第1タッチ情報の第1タッチ時刻と、第2タッチ情報の第2タッチ時刻との時間差を算出する時間差算出手段と、第1タッチ情報の第1タッチ位置と、第2タッチ情報の第2タッチ位置との距離を算出する距離算出手段と、時間差が第1閾値より短く、かつ、距離が第2閾値より短い場合に、第1タッチ情報及び第2タッチ情報のセットを破棄するタッチ情報破棄手段と、破棄されない第1タッチ情報及び第2タッチ情報のセットを出力するタッチ情報出力手段とを含む。
【選択図】 図1

Figure 0007492044000001

To prevent erroneous detection when no operation is being performed.
[Solution] The input device of the present invention includes a touchpad that outputs touch information including a touch type indicating whether it is a touch down or a touch up, a detection position, and a detection time, a touch information set generation means that generates a set of first touch information whose touch type is a touch down and second touch information whose touch type is a touch up, a time difference calculation means that calculates the time difference between the first touch time of the first touch information and the second touch time of the second touch information, a distance calculation means that calculates the distance between the first touch position of the first touch information and the second touch position of the second touch information, a touch information discarding means that discards the set of the first touch information and the second touch information if the time difference is shorter than a first threshold value and the distance is shorter than a second threshold value, and a touch information output means that outputs the set of the first touch information and the second touch information that is not discarded.
[Selected Figure] Figure 1

Description

本発明は、入力装置に関し、特に、誤検出の防止に関する。 The present invention relates to an input device, and in particular to preventing false detection.

入力機器として用いられるタッチパネルのタッチパッドには、水滴などのために、誤検出が発生する。特許文献1に記載の誤検出防止方法は、接触領域の大きさに基づいて、水の付着を検出する。 The touch pad of a touch panel used as an input device can experience false detections due to water droplets and other factors. The false detection prevention method described in Patent Document 1 detects the presence of water based on the size of the contact area.

特開2015-191550号公報JP 2015-191550 A

タッチパッドの誤検出には、埃などのために、指などがタッチしていないのにタッチされたと判定される現象がある。この現象は、ゴーストタッチと呼ばれる。特許文献1に記載の誤検出防止方法は、指の接触時における接触領域の大きさに基づいて、水の付着を検出するものであり、ゴーストタッチのようなタッチしていない場合における誤検出を防止するものではない。 There is a phenomenon in which a touchpad is judged to have been touched even though it is not touched by a finger due to dust or the like. This phenomenon is called ghost touch. The method for preventing false detection described in Patent Document 1 detects adhesion of water based on the size of the contact area when the finger touches it, but does not prevent false detection when no touch is made, such as ghost touch.

本発明の目的は、タッチしていない場合における誤検出を防止する入力装置などを提供することにある。 The object of the present invention is to provide an input device that prevents false detection when no touch is made.

本発明の一形態における入力装置は、タッチダウンであるかタッチアップであるかを示すタッチ種類と、検出位置と、検出時刻とを含むタッチ情報を出力するタッチパッドと、タッチ種類がタッチダウンである第1タッチ情報と、第1タッチ情報より後に取得したタッチ情報であり、タッチ種類がタッチアップである第2タッチ情報とのセットを生成するタッチ情報セット生成手段と、第1タッチ情報の第1タッチ時刻と、第2タッチ情報の第2タッチ時刻との時間差を算出する時間差算出手段と、第1タッチ情報の第1タッチ位置と、第2タッチ情報の第2タッチ位置との距離を算出する距離算出手段と、時間差が第1閾値より短く、かつ、距離が第2閾値より短い場合に、第1タッチ情報及び第2タッチ情報のセットを破棄するタッチ情報破棄手段と、破棄されない第1タッチ情報及び第2タッチ情報のセットを出力するタッチ情報出力手段とを含む。 An input device according to one embodiment of the present invention includes a touch pad that outputs touch information including a touch type indicating whether the touch is a touch down or a touch up, a detection position, and a detection time; a touch information set generating means that generates a set of first touch information whose touch type is a touch down and second touch information that is acquired after the first touch information and whose touch type is a touch up; a time difference calculating means that calculates a time difference between a first touch time of the first touch information and a second touch time of the second touch information; a distance calculating means that calculates a distance between a first touch position of the first touch information and a second touch position of the second touch information; a touch information discarding means that discards the set of the first touch information and the second touch information when the time difference is shorter than a first threshold value and the distance is shorter than a second threshold value; and a touch information outputting means that outputs the set of the first touch information and the second touch information that is not discarded.

本発明の一形態におけるプログラムは、タッチダウンであるかタッチアップであるかを示すタッチ種類と、検出位置と、検出時刻とを含むタッチ情報を出力するタッチパッドを含むコンピュータに、タッチ種類がタッチダウンである第1タッチ情報と、第1タッチ情報より後に取得したタッチ情報であり、タッチ種類がタッチアップである第2タッチ情報とのセットを生成する処理と、第1タッチ情報の第1タッチ時刻と、第2タッチ情報の第2タッチ時刻との時間差を算出する処理と、第1タッチ情報の第1タッチ位置と、第2タッチ情報の第2タッチ位置との距離を算出する処理と、時間差が第1閾値より短く、かつ、距離が第2閾値より短い場合に、第1タッチ情報及び第2タッチ情報のセットを破棄する処理と、破棄されない第1タッチ情報及び第2タッチ情報のセットを出力する処理とを実行させる。 A program according to one embodiment of the present invention causes a computer including a touchpad that outputs touch information including a touch type indicating whether the touch is a touch down or a touch up, a detection position, and a detection time to execute the following processes: generating a set of first touch information whose touch type is a touch down and second touch information whose touch type is a touch up and is acquired after the first touch information; calculating the time difference between the first touch time of the first touch information and the second touch time of the second touch information; calculating the distance between the first touch position of the first touch information and the second touch position of the second touch information; discarding the set of the first touch information and the second touch information if the time difference is shorter than a first threshold value and the distance is shorter than a second threshold value; and outputting the set of the first touch information and the second touch information that is not discarded.

本発明の一形態における誤検出防止方法は、タッチダウンであるかタッチアップであるかを示すタッチ種類と、検出位置と、検出時刻とを含むタッチ情報を出力するタッチパッドを含むコンピュータが、タッチ種類がタッチダウンである第1タッチ情報と、第1タッチ情報より後に取得したタッチ情報であり、タッチ種類がタッチアップである第2タッチ情報とのセットを生成し、第1タッチ情報の第1タッチ時刻と、第2タッチ情報の第2タッチ時刻との時間差を算出し、第1タッチ情報の第1タッチ位置と、第2タッチ情報の第2タッチ位置との距離を算出し、時間差が第1閾値より短く、かつ、距離が第2閾値より短い場合に、第1タッチ情報及び第2タッチ情報のセットを破棄し、破棄されない第1タッチ情報及び第2タッチ情報のセットを出力する。 In one embodiment of the present invention, a method for preventing erroneous detection includes a computer including a touchpad that outputs touch information including a touch type indicating whether the touch is a touch down or a touch up, a detection position, and a detection time, the computer generates a set of first touch information whose touch type is a touch down and second touch information whose touch type is a touch up and is acquired after the first touch information, calculates a time difference between the first touch time of the first touch information and the second touch time of the second touch information, calculates a distance between the first touch position of the first touch information and the second touch position of the second touch information, and discards the set of the first touch information and the second touch information if the time difference is shorter than a first threshold value and the distance is shorter than a second threshold value, and outputs the set of the first touch information and the second touch information that is not discarded.

本発明に基づけば、タッチしていない場合における誤検出を防止するとの効果を奏することができる。 The present invention has the effect of preventing false detection when no touch is made.

第1実施形態にかかる入力装置の構成の一例を示すブロック図である。1 is a block diagram showing an example of a configuration of an input device according to a first embodiment; タッチ情報破棄部の動作の説明に用いるタッチ情報を示す図である。11A and 11B are diagrams illustrating touch information used to explain the operation of a touch information discarding unit. 入力装置の動作の一例を示すフロー図である。FIG. 11 is a flow chart showing an example of an operation of the input device. ハードウェア構成の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of a hardware configuration.

本発明における実施形態について図面を参照して説明する。各図面は、実施形態を説明するためのものである。ただし、実施形態は、図面の記載に限られるわけではない。 Embodiments of the present invention will be described with reference to the drawings. Each drawing is intended to explain an embodiment. However, the embodiment is not limited to the description in the drawings.

以下の説明おいて、入力装置10は、入力機器としてタッチパッドを含む。ただし、入力装置10は、タッチパッドと同様の情報を出力する機器であれば、デジタイザなどの他の入力機器を含んでいてもよい。あるいは、入力装置10は、GUI(Graphic User Interface)を実現するタッチパネルのような、表示器と、タッチパッドのような入力機器とを含む機器を含んでいてもよい。 In the following description, the input device 10 includes a touchpad as an input device. However, the input device 10 may include other input devices such as a digitizer, so long as the other input devices output information similar to that of a touchpad. Alternatively, the input device 10 may include a device that includes a display, such as a touch panel that realizes a GUI (Graphic User Interface), and an input device such as a touchpad.

さらに、入力装置10は、指などがタッチパッドにタッチしたタッチダウンと、指などを離したタッチアップとのセットを、一つのタッチとして、判定する。この判定方法は、タッチパッドを用いる場合における誤検出の発生を低減させる方法の一つである。 Furthermore, the input device 10 judges a set of a touch-down, where a finger or the like touches the touchpad, and a touch-up, where the finger or the like is lifted, as one touch. This judgment method is one method for reducing the occurrence of false detection when using a touchpad.

<第1実施形態>
図1は、第1実施形態にかかる入力装置10の構成の一例を示すブロック図である。入力装置10は、タッチパッド110と、タッチ情報セット生成部120と、時間差算出部130と、距離算出部140と、タッチ情報破棄部150と、タッチ情報出力部160とを含む。例えば、入力装置10は、タッチ情報セット生成部120、時間差算出部130、距離算出部140、タッチ情報破棄部150、及び、タッチ情報出力部160の機能を実現するソフトウェアを実行するプロセッサと、タッチパッド110とを用いて構成される。
First Embodiment
1 is a block diagram showing an example of a configuration of an input device 10 according to a first embodiment. The input device 10 includes a touchpad 110, a touch information set generation unit 120, a time difference calculation unit 130, a distance calculation unit 140, a touch information discarding unit 150, and a touch information output unit 160. For example, the input device 10 is configured using the touchpad 110 and a processor that executes software that realizes the functions of the touch information set generation unit 120, the time difference calculation unit 130, the distance calculation unit 140, the touch information discarding unit 150, and the touch information output unit 160.

タッチパッド110は、静電容量方式、又は、感圧式などを用いて、指などがタッチした位置を検出する入力機器である。さらに、本実施形態において、タッチパッド110は、指などのタッチダウン及びタッチアップを検出すると、タッチダウンであるかタッチアップであるかを示すタッチ種類、検出位置、及び、検出時刻を含むタッチ情報を出力する。検出位置は、タッチパッド110のいずれかの位置を原点とするタッチダウン及びタッチアップを検出した位置の座標である。検出時刻は、タッチパッド110が、タッチダウン及びタッチアップを検出した時刻である。タッチパッド110は、以下の構成の動作と非同期に、タッチ情報の出力を繰り返えしてもよい。あるいは、タッチパッド110は、タッチ情報セット生成部120からの指示に対応してタッチ情報を出力してもよい。 The touchpad 110 is an input device that detects a position touched by a finger or the like using a capacitive or pressure-sensitive method. Furthermore, in this embodiment, when the touchpad 110 detects a touch-down or touch-up by a finger or the like, it outputs touch information including a touch type indicating whether it is a touch-down or touch-up, a detection position, and a detection time. The detection position is the coordinates of the position where the touch-down or touch-up is detected, with any position on the touchpad 110 as the origin. The detection time is the time when the touchpad 110 detects the touch-down or touch-up. The touchpad 110 may repeat output of touch information asynchronously with the operation of the following configuration. Alternatively, the touchpad 110 may output touch information in response to an instruction from the touch information set generation unit 120.

タッチ情報セット生成部120は、タッチパッドからタッチ情報を取得する。そして、タッチ情報セット生成部120は、タッチ種類がタッチダウンである第1タッチ情報と、第1タッチ情報より後に取得したタッチ情報であり、タッチ種類がタッチアップである第2タッチ情報とのセットを生成する。以下、第1タッチ情報と第2タッチ情報とのセットを、単に、「タッチ情報のセット」と呼ぶ場合もある。例えば、タッチ情報セット生成部120は、次のように動作する。まず、タッチ情報セット生成部120は、タッチ種類がタッチダウンであるタッチ情報を取得するまで、タッチパッド110からタッチ情報の取得を繰り返す。タッチ種類がタッチダウンであるタッチ情報を取得すると、タッチ情報セット生成部120は、取得した情報を第1タッチ情報とする。タッチ情報セット生成部120は、第1タッチ情報を保存してもよい。第1タッチ情報を取得後、タッチ情報セット生成部120は、タッチパッド110からタッチ情報の取得を再開し、タッチ種類がタッチアップであるタッチ情報を取得するまで、タッチ情報の取得を繰り返す。そして、タッチ種類がタッチアップであるタッチ情報を取得すると、タッチ情報セット生成部120は、取得したタッチ情報を第2タッチ情報とする。そして、タッチ情報セット生成部120は、第1タッチ情報と第2タッチ情報とを組み合わせてタッチ情報のセットを生成する。 The touch information set generating unit 120 acquires touch information from the touchpad. Then, the touch information set generating unit 120 generates a set of first touch information whose touch type is touch down and second touch information whose touch type is touch up, which is touch information acquired after the first touch information. Hereinafter, the set of the first touch information and the second touch information may be simply referred to as a "set of touch information". For example, the touch information set generating unit 120 operates as follows. First, the touch information set generating unit 120 repeats acquiring touch information from the touchpad 110 until acquiring touch information whose touch type is touch down. When acquiring touch information whose touch type is touch down, the touch information set generating unit 120 sets the acquired information as the first touch information. The touch information set generating unit 120 may store the first touch information. After acquiring the first touch information, the touch information set generating unit 120 resumes acquiring touch information from the touchpad 110, and repeats acquiring touch information until acquiring touch information whose touch type is touch up. Then, when touch information in which the touch type is touch-up is acquired, the touch information set generation unit 120 sets the acquired touch information as second touch information. Then, the touch information set generation unit 120 generates a set of touch information by combining the first touch information and the second touch information.

時間差算出部130は、第1タッチ情報のタッチ時刻と、第2タッチ情報のタッチ時刻との時間差を算出する。以下、第1タッチ情報のタッチ時刻を「第1タッチ時刻」と呼び、第2タッチ情報のタッチ時刻を「第2タッチ時刻」と呼ぶ。 The time difference calculation unit 130 calculates the time difference between the touch time of the first touch information and the touch time of the second touch information. Hereinafter, the touch time of the first touch information is referred to as the "first touch time" and the touch time of the second touch information is referred to as the "second touch time."

距離算出部140は、第1タッチ情報のタッチ位置と、第2タッチ情報のタッチ位置との距離を算出する。以下、第1タッチ情報のタッチ位置を「第1タッチ位置」と呼び、第2タッチ情報のタッチ位置を「第2タッチ位置」と呼ぶ。 The distance calculation unit 140 calculates the distance between the touch position of the first touch information and the touch position of the second touch information. Hereinafter, the touch position of the first touch information is referred to as the "first touch position," and the touch position of the second touch information is referred to as the "second touch position."

タッチ情報破棄部150は、時間差が第1閾値より短く、かつ、距離が第2閾値より短い場合に、第1タッチ情報及び第2タッチ情報のセットを破棄する。例えば、タッチ情報破棄部150は、第1閾値として「1msec(ただし、時間解像度も1msecとする)」を、第2閾値として「4ピクセル」を用いるとする。この場合、タッチ情報破棄部150は、時間差が0msecであり、距離がタッチパッドにおける3ピクセル以下の場合に、第1タッチ情報及び第2タッチ情報のセットを破棄する。 The touch information discarding unit 150 discards the set of the first touch information and the second touch information when the time difference is shorter than the first threshold and the distance is shorter than the second threshold. For example, the touch information discarding unit 150 uses "1 msec (where the time resolution is also 1 msec)" as the first threshold and "4 pixels" as the second threshold. In this case, the touch information discarding unit 150 discards the set of the first touch information and the second touch information when the time difference is 0 msec and the distance is 3 pixels or less on the touchpad.

具体例を用いて、タッチ情報破棄部150の動作を説明する。図2は、タッチ情報破棄部150の動作の説明に用いるタッチ情報を示す図である。図2のタッチ情報の番号は、タッチパッド110が出力したタッチ情報の番号である。以下、図2の説明において、タッチ情報を区別する場合は、タッチ情報の番号を用いて説明する。タッチ情報のセット番号は、タッチ情報セット生成部120が生成した第1タッチ情報と第2タッチ情報とのセットの番号である。以下、図2の説明において、タッチ情報のセットを区別する場合は、タッチ情報のセット番号を用いて説明する。例えば、タッチ情報のセット1は、タッチ情報1及びタッチ情報2のセットである。タッチ種類は、タッチダウン又はタッチアップを示す情報である。検出時刻は、タッチ情報の検出時刻である。検出位置は、タッチ情報の検出位置である。図2は、タッチパッド110のいずれかの角を原点とした二次元座標の座標値として、検出位置を示している。位置の単位は、例えば、ピクセル単位である。なお、第1タッチ情報は、タッチ種類がタッチダウンのタッチ情報である。一方、第2タッチ情報は、タッチ種類がタッチアップのタッチ情報である。そこで、図2は、参考として、各タッチ情報のセットにおける、第1タッチ情報と、第2タッチ情報とを示している。 The operation of the touch information discarding unit 150 will be described using a specific example. FIG. 2 is a diagram showing touch information used to describe the operation of the touch information discarding unit 150. The number of the touch information in FIG. 2 is the number of the touch information output by the touchpad 110. In the following description of FIG. 2, when the touch information is to be distinguished, the number of the touch information is used. The set number of the touch information is the number of the set of the first touch information and the second touch information generated by the touch information set generating unit 120. In the following description of FIG. 2, when the set of the touch information is to be distinguished, the set number of the touch information is used. For example, the set 1 of the touch information is a set of the touch information 1 and the touch information 2. The touch type is information indicating a touch down or a touch up. The detection time is the detection time of the touch information. The detection position is the detection position of the touch information. FIG. 2 shows the detection position as a coordinate value of a two-dimensional coordinate system with any corner of the touchpad 110 as the origin. The unit of the position is, for example, a pixel unit. Note that the first touch information is touch information whose touch type is a touch down. On the other hand, the second touch information is touch information whose touch type is touch-up. Therefore, for reference, FIG. 2 shows the first touch information and the second touch information in each set of touch information.

次に、図2を参照して、タッチ情報破棄部150の動作の一例を説明する。以下の説明において、タッチ情報破棄部150は、第1閾値として0.1msecを用い、第2閾値として4ピクセルを用いる。 Next, an example of the operation of the touch information discarding unit 150 will be described with reference to FIG. 2. In the following description, the touch information discarding unit 150 uses 0.1 msec as the first threshold and 4 pixels as the second threshold.

タッチ情報のセット1は、第1タッチ情報の検出時刻(第1タッチ時刻)と第2タッチ情報の検出時刻(第2タッチ時刻)との時間差が、第1閾値より短い0msecである。なお、時間差が0msecとは、時間差がタッチパッド110の時間解像度以下であり、実質的に同時であることを示す。さらに、タッチ情報のセット1は、第1タッチ情報の検出位置(第1タッチ位置)と第2タッチ情報の検出位置(第2タッチ位置)との距離が第2閾値より短い0ピクセルである。なお、距離が0ピクセルとは、位置の差がタッチパッド110の空間解像度以下であり、実質的に同じ位置であることを示す。つまり、タッチ情報のセット1は、タッチダウンとタッチアップが同時刻に発生し、かつ、同じ位置である。このような、タッチダウンとタッチアップとセットは、人の操作ではない可能性が高い。そこで、タッチ情報破棄部150は、タッチ情報のセット1を破棄する。 In the set 1 of touch information, the time difference between the detection time of the first touch information (first touch time) and the detection time of the second touch information (second touch time) is 0 msec, which is shorter than the first threshold value. The time difference of 0 msec indicates that the time difference is equal to or smaller than the time resolution of the touchpad 110 and is substantially simultaneous. Furthermore, in the set 1 of touch information, the distance between the detection position of the first touch information (first touch position) and the detection position of the second touch information (second touch position) is 0 pixels, which is shorter than the second threshold value. The distance of 0 pixels indicates that the difference in position is equal to or smaller than the spatial resolution of the touchpad 110 and is substantially the same position. In other words, in the set 1 of touch information, touch down and touch up occur at the same time and are in the same position. Such a set of touch down and touch up is highly likely not a human operation. Therefore, the touch information discarding unit 150 discards the set 1 of touch information.

タッチ情報のセット2は、第1タッチ情報の検出時刻(第1タッチ時刻)と第2タッチ情報の検出時刻(第2タッチ時刻)との時間差が第1閾値より短い0msecである。さらに、タッチ情報のセット2は、第1タッチ情報の検出位置(第1タッチ位置)と第2タッチ情報の検出位置(第2タッチ位置)との距離が第2閾値より短い3ピクセルである。そこで、タッチ情報破棄部150は、タッチ情報のセット2を破棄する。 In touch information set 2, the time difference between the detection time of the first touch information (first touch time) and the detection time of the second touch information (second touch time) is 0 msec, which is shorter than the first threshold value. Furthermore, in touch information set 2, the distance between the detection position of the first touch information (first touch position) and the detection position of the second touch information (second touch position) is 3 pixels, which is shorter than the second threshold value. Therefore, the touch information discarding unit 150 discards touch information set 2.

タッチ情報のセット3は、第1タッチ情報の検出時刻(第1タッチ時刻)と第2タッチ情報の検出時刻(第2タッチ時刻)との時間差が第1閾値以上である2130msecである。そのため、タッチ情報破棄部150は、タッチ情報のセット3を破棄しない。 In set 3 of touch information, the time difference between the detection time of the first touch information (first touch time) and the detection time of the second touch information (second touch time) is 2130 msec, which is equal to or greater than the first threshold. Therefore, the touch information discarding unit 150 does not discard set 3 of touch information.

タッチ情報出力部160は、破棄されない第1タッチ情報及び第2タッチ情報のセットを出力する。例えば、図2に示されているタッチ情報のセット3の場合、タッチ情報出力部160は、タッチ情報のセット3を出力する。例えば、タッチ情報出力部160は、タッチ情報のセットを図示しない情報処理装置に出力してもよい。あるいは、例えば、入力装置10がタブレット装置に含まれる場合、タッチ情報出力部160は、タブレットの装置の処理部に、タッチ情報のセットを出力してもよい。なお、出力された第1タッチ情報及び第2タッチ情報のセットは、タッチパッド110に対する一つのタッチに対応する情報となる。 The touch information output unit 160 outputs a set of the first touch information and the second touch information that are not discarded. For example, in the case of the set of touch information 3 shown in FIG. 2, the touch information output unit 160 outputs the set of touch information 3. For example, the touch information output unit 160 may output the set of touch information to an information processing device not shown. Alternatively, for example, when the input device 10 is included in a tablet device, the touch information output unit 160 may output the set of touch information to a processing unit of the tablet device. Note that the output set of the first touch information and the second touch information becomes information corresponding to one touch on the touchpad 110.

図3は、入力装置10の動作の一例を示すフロー図である。タッチパッド110は、タッチダウン及びタッチアップを検出すると、タッチダウンであるかタッチアップであるかを示すタッチ種類と、検出位置と、検出時刻とを含むタッチ情報を出力する(ステップS201)。タッチ情報セット生成部120は、タッチ種類がタッチダウンである第1タッチ情報と、第1タッチ情報より後に取得したタッチ情報であり、タッチ種類がタッチアップである第2タッチ情報とのセットを生成する(ステップS202)。時間差算出部130は、第1タッチ情報の第1タッチ時刻と、第2タッチ情報の第2タッチ時刻との時間差を算出する(ステップS203)。距離算出部140は、第1タッチ情報の第1タッチ位置と、第2タッチ情報の第2タッチ位置との距離を算出する(ステップS204)。タッチ情報破棄部150は、第1タッチ情報及び第2タッチ情報のセットを破棄するか否かを判定する(ステップS205)。具体的には、タッチ情報破棄部150は、時間差が第1閾値より短く、かつ、距離が第2閾値より短い場合に、第1タッチ情報及び第2タッチ情報のセットを破棄すると判定する。タッチ情報のセットを破棄すると判定した場合(ステップS205でYes)、タッチ情報破棄部150は、第1タッチ情報及び第2タッチ情報のセットを破棄する(ステップS206)。そして、入力装置10は、ステップS202に戻る。タッチ情報破棄部150がタッチ情報のセットを破棄しないと判定した場合(ステップS205でNo)、タッチ情報出力部160は、破棄されない第1タッチ情報及び第2タッチ情報のセットを出力する(ステップS207)。 3 is a flow diagram showing an example of the operation of the input device 10. When the touch pad 110 detects a touch down or a touch up, it outputs touch information including a touch type indicating whether it is a touch down or a touch up, a detection position, and a detection time (step S201). The touch information set generation unit 120 generates a set of first touch information whose touch type is a touch down and second touch information whose touch type is a touch up, which is touch information acquired after the first touch information (step S202). The time difference calculation unit 130 calculates the time difference between the first touch time of the first touch information and the second touch time of the second touch information (step S203). The distance calculation unit 140 calculates the distance between the first touch position of the first touch information and the second touch position of the second touch information (step S204). The touch information discarding unit 150 determines whether to discard the set of the first touch information and the second touch information (step S205). Specifically, the touch information discarding unit 150 determines to discard the set of the first touch information and the second touch information when the time difference is shorter than the first threshold value and the distance is shorter than the second threshold value. When it is determined to discard the set of touch information (Yes in step S205), the touch information discarding unit 150 discards the set of the first touch information and the second touch information (step S206). Then, the input device 10 returns to step S202. When the touch information discarding unit 150 determines not to discard the set of touch information (No in step S205), the touch information output unit 160 outputs the set of the first touch information and the second touch information that is not discarded (step S207).

これまでの説明のように、入力装置10は、タッチパッド110と、タッチ情報セット生成部120と、時間差算出部130と、距離算出部140と、タッチ情報破棄部150と、タッチ情報出力部160とを含む。タッチパッド110は、タッチダウンであるかタッチアップであるかを示すタッチ種類と、検出位置と、検出時刻とを含むタッチ情報を出力する。タッチ情報セット生成部120は、タッチ種類がタッチダウンである第1タッチ情報と、第1タッチ情報により後に取得したタッチ情報であり、タッチ種類がタッチアップである第2タッチ情報とのセットを生成する。時間差算出部130は、第1タッチ情報の第1タッチ時刻と、第2タッチ情報の第2タッチ時刻との時間差を算出する。距離算出部140は、第1タッチ情報の第1タッチ位置と、第2タッチ情報の第2タッチ位置との距離を算出する。タッチ情報破棄部150は、時間差が第1閾値より短く、かつ、距離が第2閾値より短い場合に、第1タッチ情報及び第2タッチ情報のセットを破棄する。タッチ情報出力部160は、破棄されない第1タッチ情報及び第2タッチ情報のセットを出力する。 As described above, the input device 10 includes a touch pad 110, a touch information set generating unit 120, a time difference calculating unit 130, a distance calculating unit 140, a touch information discarding unit 150, and a touch information output unit 160. The touch pad 110 outputs touch information including a touch type indicating whether the touch is a touch down or a touch up, a detection position, and a detection time. The touch information set generating unit 120 generates a set of first touch information whose touch type is a touch down and second touch information whose touch type is a touch up, which is touch information acquired later from the first touch information. The time difference calculating unit 130 calculates a time difference between a first touch time of the first touch information and a second touch time of the second touch information. The distance calculating unit 140 calculates a distance between a first touch position of the first touch information and a second touch position of the second touch information. The touch information discarding unit 150 discards the set of the first touch information and the second touch information when the time difference is shorter than a first threshold value and the distance is shorter than a second threshold value. The touch information output unit 160 outputs the set of first touch information and second touch information that is not discarded.

埃などのために発生するゴーストタッチの少なくとも一部は、タッチダウンとタッチアップとの時間差及び距離が、人のタッチでは発生しないような短い時間差及び近距離となる。入力装置10は、上記のように、第1閾値より短い時間差、かつ、第2閾値より短い距離のタッチダウン及びタッチアップのセットを破棄する。そのため、入力装置10は、ゴーストタッチのような、指などがタッチパッド110にタッチしていない場合の誤検出を防止する。 At least some ghost touches that occur due to dust or the like have a short time difference and distance between touch-down and touch-up that do not occur with a human touch. As described above, the input device 10 discards sets of touch-down and touch-up with a time difference shorter than the first threshold and a distance shorter than the second threshold. Therefore, the input device 10 prevents erroneous detection of ghost touches, which are caused when a finger or the like is not touching the touchpad 110.

ゴーストタッチが頻発する場合、ゴーストタッチを起こす埃がタッチパッド110に付着している可能性がある。あるいは、ゴーストタッチが頻発する場合、タッチパッド110が不良となっている可能性がある。そこで、入力装置10は、破棄したタッチ情報のセットの数が閾値を超えた場合に、閾値を超えたことを示す情報を出力してもよい。以下、破棄したタッチ情報のセットの数の閾値を「第3閾値」と呼ぶ。例えば、タッチ情報破棄部150は、破棄した第1タッチ情報及び第2タッチ情報のセットの数をカウントしてもよい。そして、破棄したセットの数が第3閾値を超えた場合に、タッチ情報出力部160は、破棄したタッチ情報のセットの数が第3閾値を超えたことを示す情報を出力してもよい。あるいは、入力装置10は、破棄したタッチ情報のセットの数を出力してもよい。あるいは、入力装置10は、破棄したタッチ情報のセットの数、及び、破棄したタッチ情報のセットの数が第3閾値を超えたことを示す情報の両方を出力してもよい。例えば、利用者は、この情報に基づいて、タッチパッド110又は入力装置10の状態を確認すればよい。あるいは、例えば、利用者は、上記の情報に基づいて、タッチパッド110を掃除してもよい。あるいは、利用者は、入力装置10を修理してもよい。このように、入力装置10は、誤検出に関連する情報として、破棄したタッチ情報のセットの数が第3閾値を超えたことを示す情報を出力してもよい。 When ghost touches occur frequently, dust that causes ghost touches may be attached to the touchpad 110. Alternatively, when ghost touches occur frequently, the touchpad 110 may be defective. Therefore, when the number of sets of discarded touch information exceeds a threshold, the input device 10 may output information indicating that the threshold has been exceeded. Hereinafter, the threshold for the number of sets of discarded touch information is referred to as the "third threshold". For example, the touch information discarding unit 150 may count the number of sets of first touch information and second touch information that have been discarded. Then, when the number of sets of discarded touch information exceeds the third threshold, the touch information output unit 160 may output information indicating that the number of sets of discarded touch information has exceeded the third threshold. Alternatively, the input device 10 may output the number of sets of discarded touch information. Alternatively, the input device 10 may output both the number of sets of discarded touch information and information indicating that the number of sets of discarded touch information has exceeded the third threshold. For example, the user may check the state of the touchpad 110 or the input device 10 based on this information. Alternatively, for example, the user may clean the touch pad 110 based on the above information. Alternatively, the user may repair the input device 10. In this manner, the input device 10 may output information indicating that the number of discarded sets of touch information has exceeded the third threshold as information related to the false detection.

タッチパッド110は、マルチタッチに対応する場合がある。マルチタッチの場合、マルチタッチにおける最初のタッチと、そのタッチに続く一つ以上のタッチとが、一塊のタッチとなる。以下、マルチタッチにおける最初のタッチを「プライマリ・タッチ」と呼び、プライマリ・タッチに続く一つ以上の他のタッチを「セカンダリ・タッチ」と呼ぶ。そして、セカンダリ・タッチは、プライマリ・タッチに対して、ほぼ同時刻となる場合もあるし、近接した位置となる場合もある。そこで、入力装置10は、マルチタッチ対応として、「プライマリ・タッチ」と「セカンダリ・タッチ」と区別して動作してもよい。例えば、入力装置10は、セカンダリ・タッチの場合、時間差算出部130、距離算出部140、及び、タッチ情報破棄部150の動作を省略してもよい。以下、マルチタッチ対応の動作の一例を説明する。 The touchpad 110 may support multi-touch. In the case of multi-touch, the first touch in the multi-touch and one or more subsequent touches form a single touch. Hereinafter, the first touch in the multi-touch is referred to as a "primary touch", and one or more subsequent touches to the primary touch are referred to as "secondary touches". The secondary touch may occur at approximately the same time as the primary touch, or may occur in a position close to the primary touch. Thus, the input device 10 may operate in a multi-touch manner by distinguishing between a "primary touch" and a "secondary touch". For example, in the case of a secondary touch, the input device 10 may omit the operations of the time difference calculation unit 130, the distance calculation unit 140, and the touch information discarding unit 150. An example of the operation of multi-touch support is described below.

タッチパッド110は、タッチ種類、検出位置、及び、検出時刻に加え、タッチがプライマリ・タッチであるか、セカンダリ・タッチであるかを示すプライマリ情報を含むタッチ情報を出力する。 The touchpad 110 outputs touch information including the touch type, detection position, and detection time, as well as primary information indicating whether the touch is a primary touch or a secondary touch.

タッチ情報セット生成部120は、第1タッチ情報と第2タッチ情報とのセットを生成する。ただし、タッチ情報セット生成部120は、プライマリ情報が同じである、第1タッチ情報と第2タッチ情報とのセットを生成する。つまり、タッチ情報セット生成部120は、プライマリ情報がプライマリ・タッチである第1タッチ情報及び第2タッチ情報のセットと、プライマリ情報がセカンダリ・タッチである第1タッチ情報及び第2タッチ情報とのセットとを生成する。なお、プライマリ情報がプライマリ・タッチである第1タッチ情報及び第2タッチ情報のセットは、プライマリ・タッチについてのタッチ情報のセットである。プライマリ情報がセカンダリ・タッチである第1タッチ情報及び第2タッチ情報とのセットは、セカンダリ・タッチについてのタッチ情報のセットである。 The touch information set generation unit 120 generates a set of first touch information and second touch information. However, the touch information set generation unit 120 generates a set of first touch information and second touch information in which the primary information is the same. In other words, the touch information set generation unit 120 generates a set of first touch information and second touch information in which the primary information is a primary touch, and a set of first touch information and second touch information in which the primary information is a secondary touch. Note that the set of first touch information and second touch information in which the primary information is a primary touch is a set of touch information for the primary touch. The set of first touch information and second touch information in which the primary information is a secondary touch is a set of touch information for the secondary touch.

そして、セカンダリ・タッチについての第1タッチ情報及び第2タッチ情報のセットの場合に、タッチ情報破棄部150は、時間差が第1閾値より短く、かつ、距離が第2閾値より短い場合でも、第1タッチ情報及び第2タッチ情報のセットを破棄しない。そのため、セカンダリ・タッチについての第1タッチ情報及び第2タッチ情報のセットの場合、タッチ情報出力部160は、時間差が第1閾値より短く、かつ、距離が第2閾値より短い場合でも、タッチ情報のセットも出力する。あるいは、タッチ情報セット生成部120が、プライマリ情報に基づいて、生成した第1タッチ情報及び第2タッチ情報のセットが、プライマリ・タッチについての第1タッチ情報及び第2タッチ情報のセットであるか否かを判定してもよい。そして、セカンダリ・タッチについての第1タッチ情報及び第2タッチ情報のセットの場合に、タッチ情報セット生成部120が、第1タッチ情報及び第2タッチ情報のセットをタッチ情報出力部160に出力してもよい。つまり、セカンダリ・タッチについての第1タッチ情報及び第2タッチ情報のセットの場合、入力装置10は、時間差算出部130、距離算出部140、及び、タッチ情報破棄部150の動作を省略してもよい。そして、この場合も、タッチ情報出力部160は、取得したセカンダリ・タッチの第1タッチ情報及び第2タッチ情報のセットを出力する。このように、タッチ情報セット生成部120、又は、タッチ情報破棄部150のいずれか一方が、プライマリ・タッチについてのタッチ情報のセットであるか、セカンダリ・タッチについてのタッチ情報のセットであるか否かを判定する。そして、セカンダリ・タッチについての第1タッチ情報及び第2タッチ情報のセットの場合、タッチ情報出力部160は、時間差が第1閾値より短く、かつ、距離が第2閾値より短い第1タッチ情報及び第2タッチ情報のセットも出力する。 In the case of a set of first touch information and second touch information for a secondary touch, the touch information discarding unit 150 does not discard the set of first touch information and second touch information even if the time difference is shorter than the first threshold and the distance is shorter than the second threshold. Therefore, in the case of a set of first touch information and second touch information for a secondary touch, the touch information output unit 160 also outputs the set of touch information even if the time difference is shorter than the first threshold and the distance is shorter than the second threshold. Alternatively, the touch information set generating unit 120 may determine whether the generated set of first touch information and second touch information is a set of first touch information and second touch information for a primary touch based on the primary information. In the case of a set of first touch information and second touch information for a secondary touch, the touch information set generating unit 120 may output the set of first touch information and second touch information to the touch information output unit 160. That is, in the case of a set of first touch information and second touch information for a secondary touch, the input device 10 may omit the operations of the time difference calculation unit 130, the distance calculation unit 140, and the touch information discarding unit 150. In this case, the touch information output unit 160 outputs the acquired set of first touch information and second touch information for the secondary touch. In this manner, either the touch information set generation unit 120 or the touch information discarding unit 150 determines whether the set of touch information is for a primary touch or for a secondary touch. In the case of a set of first touch information and second touch information for a secondary touch, the touch information output unit 160 also outputs a set of first touch information and second touch information in which the time difference is shorter than the first threshold value and the distance is shorter than the second threshold value.

一方、プライマリ・タッチについての第1タッチ情報及び第2タッチ情報のセットの場合、入力装置10は、これまでの説明と同様に動作する。すなわち、まず、時間差算出部130は、第1タッチ情報の第1タッチ時刻と、第2タッチ情報の第2タッチ時刻との時間差を算出する。そして、距離算出部140は、第1タッチ情報の第1タッチ位置と、第2タッチ情報の第2タッチ位置との距離を算出する。そして、タッチ情報破棄部150は、時間差が第1閾値より短く、かつ、距離が第2閾値より短い場合に、プライマリ・タッチの第1タッチ情報及び第2タッチ情報のセットを破棄する。そして、タッチ情報出力部160は、破棄されなかったプライマリ・タッチの第1タッチ情報及び第2タッチ情報のセットを出力する。 On the other hand, in the case of a set of first touch information and second touch information for a primary touch, the input device 10 operates in the same manner as described above. That is, first, the time difference calculation unit 130 calculates the time difference between the first touch time of the first touch information and the second touch time of the second touch information. Then, the distance calculation unit 140 calculates the distance between the first touch position of the first touch information and the second touch position of the second touch information. Then, the touch information discarding unit 150 discards the set of the first touch information and the second touch information of the primary touch if the time difference is shorter than the first threshold value and the distance is shorter than the second threshold value. Then, the touch information output unit 160 outputs the set of the first touch information and the second touch information of the primary touch that was not discarded.

このように、入力装置10は、プライマリ情報に基づいて、マルチタッチに対応した動作を実行してもよい。 In this way, the input device 10 may perform an operation corresponding to multi-touch based on the primary information.

次に、入力装置10のハードウェア構成について説明する。入力装置10の各構成部は、ハードウェア回路で構成されてもよい。あるいは、入力装置10において、各構成部は、ネットワークを介して接続した複数の装置を用いて、構成されてもよい。例えば、入力装置10は、クラウドコンピューティングを利用して構成されてもよい。あるいは、入力装置10において、複数の構成部は、1つのハードウェアで構成されてもよい。あるいは、入力装置10は、タッチパッド110と、プロセッサ(CPU: Central Processing Unit)と、読み取り専用メモリ(ROM: Read Only Memory)と、ランダム・アクセス・メモリ(RAM: Random Access Memory)と、ネットワークインターフェースとを含むコンピュータ装置として実現されてもよい。 Next, the hardware configuration of the input device 10 will be described. Each component of the input device 10 may be configured with a hardware circuit. Alternatively, each component of the input device 10 may be configured using multiple devices connected via a network. For example, the input device 10 may be configured using cloud computing. Alternatively, multiple components of the input device 10 may be configured with a single piece of hardware. Alternatively, the input device 10 may be realized as a computer device including a touchpad 110, a processor (CPU: Central Processing Unit), a read only memory (ROM: Read Only Memory), a random access memory (RAM: Random Access Memory), and a network interface.

図4は、入力装置10のハードウェア構成の一例であるコンピュータ装置600を示すブロック図である。コンピュータ装置600は、タッチパッド110と、CPU610と、ROM620と、RAM630と、記憶装置640と、ネットワークインターフェース650とを含む。各構成は、バスなどを用いて接続されている。 Figure 4 is a block diagram showing a computer device 600, which is an example of the hardware configuration of the input device 10. The computer device 600 includes a touchpad 110, a CPU 610, a ROM 620, a RAM 630, a storage device 640, and a network interface 650. Each component is connected using a bus or the like.

CPU610は、ROM620及び記憶装置640の少なくとも一方からプログラムを読み込む。そして、CPU610は、読み込んだプログラムに基づいて、RAM630と、記憶装置640と、ネットワークインターフェース650とを制御する。そして、CPU610は、これらの構成を制御して、タッチ情報セット生成部120と、時間差算出部130と、距離算出部140と、タッチ情報破棄部150と、タッチ情報出力部160としての機能を実現する。このように、入力装置10は、ハードウェアとソフトウェアとの組合せとして、機能を実現してもよい。 The CPU 610 reads a program from at least one of the ROM 620 and the storage device 640. The CPU 610 then controls the RAM 630, the storage device 640, and the network interface 650 based on the read program. The CPU 610 then controls these components to realize the functions of the touch information set generation unit 120, the time difference calculation unit 130, the distance calculation unit 140, the touch information discarding unit 150, and the touch information output unit 160. In this way, the input device 10 may realize its functions as a combination of hardware and software.

CPU610は、コンピュータで読み取り可能にプログラムを記憶した記録媒体690が含むプログラムを、図示しない記録媒体読み取り装置を用いて読み込んでもよい。あるいは、CPU610は、ネットワークインターフェース650を介して、図示しない外部の装置からプログラムを受け取り、RAM630又は記憶装置640に保存して、保存したプログラムに基づいて動作してもよい。 The CPU 610 may read the program contained in the recording medium 690, which stores the program in a computer-readable manner, using a recording medium reading device (not shown). Alternatively, the CPU 610 may receive the program from an external device (not shown) via the network interface 650, store it in the RAM 630 or the storage device 640, and operate based on the stored program.

ROM620は、CPU610が実行するプログラム及び固定的なデータを記憶する。ROM620は、例えば、プログラマブルROM(P-ROM: Programmable-ROM)又はフラッシュROMである。RAM630は、CPU610が実行するプログラム及びデータを一時的に記憶する。RAM630は、例えば、ダイナミックRAM(D-RAM: Dynamic-RAM)である。記憶装置640は、コンピュータ装置600が長期的に保存するデータ及びプログラムを記憶する。また、記憶装置640は、CPU610の一時記憶装置として動作してもよい。記憶装置640は、例えば、ハードディスク装置、又は、ソリッド・ステート・ドライブ(SSD: Solid State Drive)である。 The ROM 620 stores programs and fixed data executed by the CPU 610. The ROM 620 is, for example, a programmable ROM (P-ROM) or a flash ROM. The RAM 630 temporarily stores programs and data executed by the CPU 610. The RAM 630 is, for example, a dynamic RAM (D-RAM). The storage device 640 stores data and programs that the computer device 600 stores for the long term. The storage device 640 may also operate as a temporary storage device for the CPU 610. The storage device 640 is, for example, a hard disk device or a solid state drive (SSD).

ROM620及び記憶装置640は、不揮発性(non-transitory)の記録媒体である。一方、RAM630は、揮発性(transitory)の記録媒体である。そして、CPU610は、ROM620、記憶装置640、及び、RAM630に記憶されているプログラムに基づいて動作可能である。つまり、CPU610は、不揮発性記録媒体及び揮発性記録媒体のどちらを用いても動作可能である。CPU610は、各機能を実現する際に、RAM630及び記憶装置640の少なくとも一方を、プログラム及びデータの一時的な記憶媒体として使用してもよい。 The ROM 620 and the storage device 640 are non-volatile (non-transitory) recording media. On the other hand, the RAM 630 is a volatile (transitory) recording media. The CPU 610 can operate based on the programs stored in the ROM 620, the storage device 640, and the RAM 630. In other words, the CPU 610 can operate using either a non-volatile recording medium or a volatile recording medium. When realizing each function, the CPU 610 may use at least one of the RAM 630 and the storage device 640 as a temporary storage medium for programs and data.

ネットワークインターフェース650は、ネットワークを介した図示しない外部の装置とのデータのやり取りを中継する。ネットワークインターフェース650は、例えば、ローカル・エリア・ネットワーク(LAN: Local Area Network)カードである。さらに、ネットワークインターフェース650は、有線に限らず、無線を用いてもよい。 The network interface 650 relays data exchange with external devices (not shown) via a network. The network interface 650 is, for example, a local area network (LAN) card. Furthermore, the network interface 650 is not limited to being wired, and may be wireless.

このように構成されたコンピュータ装置600は、入力装置10における各構成の動作を実行して、入力装置10としての機能を実現する。 The computer device 600 configured in this manner executes the operations of each component in the input device 10 to realize the functions of the input device 10.

以上、実施形態を参照して本願発明を説明したが、本願発明は上記実施形態に限定されるものではない。本願発明の構成及び詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 The present invention has been described above with reference to the embodiments, but the present invention is not limited to the above embodiments. Various modifications that can be understood by a person skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

10 入力装置
110 タッチパッド
120 タッチ情報セット生成部
130 時間差算出部
140 距離算出部
150 タッチ情報破棄部
160 タッチ情報出力部
600 コンピュータ装置
610 CPU
620 ROM
630 RAM
640 記憶装置
650 ネットワークインターフェース
690 記録媒体
10 Input device 110 Touch pad 120 Touch information set generator 130 Time difference calculator 140 Distance calculator 150 Touch information discarder 160 Touch information output unit 600 Computer device 610 CPU
620 ROM
630 RAM
640 Storage device 650 Network interface 690 Recording medium

Claims (9)

タッチダウンであるかタッチアップであるかを示すタッチ種類と、検出位置と、検出時刻とを含むタッチ情報を出力するタッチパッドと、
前記タッチ種類がタッチダウンである第1タッチ情報を取得するまで前記タッチ情報の取得を繰り返し、前記第1タッチ情報を取得すると前記第1タッチ情報を保存し、前記第1タッチ情報を保存後に前記タッチ情報の取得を再開し、前記タッチ種類がタッチアップである第2タッチ情報を取得するまで前記タッチ情報の取得を繰り返し、前記第2タッチ情報を取得すると保存している前記第1タッチ情報と前記第2タッチ情報とのセットを生成するタッチ情報セット生成手段と、
前記第1タッチ情報の第1タッチ時刻と、前記第2タッチ情報の第2タッチ時刻との時間差を算出する時間差算出手段と、
前記第1タッチ情報の第1タッチ位置と、前記第2タッチ情報の第2タッチ位置との距離を算出する距離算出手段と、
前記時間差が第1閾値より短く、かつ、前記距離が第2閾値より短い場合に、前記第1タッチ情報及び前記第2タッチ情報のセットを破棄するタッチ情報破棄手段と、
破棄されない前記第1タッチ情報及び前記第2タッチ情報のセットを出力するタッチ情報出力手段と
を含む入力装置。
a touch pad that outputs touch information including a touch type indicating whether it is a touch down or a touch up, a detection position, and a detection time;
a touch information set generating means for repeatedly acquiring the touch information until acquiring first touch information whose touch type is touch-down, storing the first touch information when acquiring the first touch information, restarting acquisition of the touch information after storing the first touch information, repeating acquisition of the touch information until acquiring second touch information whose touch type is touch-up, and generating a set of the stored first touch information and the second touch information when acquiring the second touch information;
a time difference calculation means for calculating a time difference between a first touch time of the first touch information and a second touch time of the second touch information;
a distance calculation means for calculating a distance between a first touch position of the first touch information and a second touch position of the second touch information;
a touch information discarding means for discarding a set of the first touch information and the second touch information when the time difference is shorter than a first threshold and the distance is shorter than a second threshold;
and a touch information output means for outputting a set of the first touch information and the second touch information that is not discarded.
前記タッチ情報破棄手段は、破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数をカウントし、
破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数が第3閾値を超えた場合、前記タッチ情報出力手段は、破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数、及び、破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数が第3閾値を超えたことを示す情報の少なくとも一方を出力する
請求項1に記載の入力装置。
The touch information discarding means counts the number of discarded sets of the first touch information and the second touch information,
2. The input device according to claim 1, wherein, when the number of discarded sets of the first touch information and the second touch information exceeds a third threshold, the touch information output means outputs at least one of the number of discarded sets of the first touch information and the second touch information and information indicating that the number of discarded sets of the first touch information and the second touch information has exceeded the third threshold.
前記タッチパッドは、プライマリ・タッチであるか、セカンダリ・タッチであるかを示すプライマリ情報を含む前記タッチ情報を出力し、
前記タッチ情報セット生成手段は、前記プライマリ情報がプライマリ・タッチである前記第1タッチ情報及び前記第2タッチ情報のセットと、前記プライマリ情報がセカンダリ・タッチである前記第1タッチ情報及び前記第2タッチ情報のセットとを生成し、
前記タッチ情報セット生成手段、又は、タッチ情報破棄手段のいずれか一方は、プライマリ・タッチについての第1タッチ情報及び第2タッチ情報のセットであるか、セカンダリ・タッチについての第1タッチ情報及び第2タッチ情報のセットであるかを判定し、
セカンダリ・タッチについての前記第1タッチ情報及び前記第2タッチ情報のセットの場合、前記タッチ情報出力手段は、前記時間差が第1閾値より短く、かつ、前記距離が第2閾値より短い前記第1タッチ情報及び前記第2タッチ情報のセットも出力する
請求項1又は2に記載の入力装置。
the touchpad outputs the touch information including primary information indicating whether the touch is a primary touch or a secondary touch;
the touch information set generation means generates a set of the first touch information and the second touch information, in which the primary information is a primary touch, and a set of the first touch information and the second touch information, in which the primary information is a secondary touch;
Either the touch information set generating means or the touch information discarding means determines whether the set of first touch information and second touch information is for a primary touch or the set of first touch information and second touch information is for a secondary touch;
3. The input device according to claim 1, wherein in the case of a set of the first touch information and the second touch information for a secondary touch, the touch information output means also outputs a set of the first touch information and the second touch information in which the time difference is shorter than a first threshold and the distance is shorter than a second threshold.
タッチダウンであるかタッチアップであるかを示すタッチ種類と、検出位置と、検出時刻とを含むタッチ情報を出力するタッチパッドを含むコンピュータに、
前記タッチ種類がタッチダウンである第1タッチ情報を取得するまで前記タッチ情報の取得を繰り返し、前記第1タッチ情報を取得すると前記第1タッチ情報を保存し、前記第1タッチ情報を保存後に前記タッチ情報の取得を再開し、前記タッチ種類がタッチアップである第2タッチ情報を取得するまで前記タッチ情報の取得を繰り返し、前記第2タッチ情報を取得すると保存している前記第1タッチ情報と前記第2タッチ情報とのセットを生成する処理と、
前記第1タッチ情報の第1タッチ時刻と、前記第2タッチ情報の第2タッチ時刻との時間差を算出する処理と、
前記第1タッチ情報の第1タッチ位置と、前記第2タッチ情報の第2タッチ位置との距離を算出する処理と、
前記時間差が第1閾値より短く、かつ、前記距離が第2閾値より短い場合に、前記第1タッチ情報及び前記第2タッチ情報のセットを破棄する処理と、
破棄されない前記第1タッチ情報及び前記第2タッチ情報のセットを出力する処理と
を実行させるプログラム。
A computer including a touchpad that outputs touch information including a touch type indicating whether the touch is a touch down or a touch up, a detection position, and a detection time,
a process of repeatedly acquiring the touch information until acquiring first touch information whose touch type is touch-down, storing the first touch information when the first touch information is acquired, restarting the acquisition of the touch information after storing the first touch information, repeating the acquisition of the touch information until acquiring second touch information whose touch type is touch-up, and generating a set of the stored first touch information and the second touch information when the second touch information is acquired ;
calculating a time difference between a first touch time of the first touch information and a second touch time of the second touch information;
calculating a distance between a first touch position of the first touch information and a second touch position of the second touch information;
discarding the set of the first touch information and the second touch information when the time difference is shorter than a first threshold and the distance is shorter than a second threshold;
and outputting the set of the first touch information and the second touch information that is not discarded.
前記コンピュータに、
破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数をカウントする処理と、
破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数が第3閾値を超えた場合、破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数、及び、破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数が第3閾値を超えたことを示す情報の少なくとも一方を出力する処理と
を実行させる請求項4に記載のプログラム。
The computer includes:
counting the number of discarded sets of the first touch information and the second touch information;
and when the number of discarded sets of the first touch information and the second touch information exceeds a third threshold, outputting at least one of the number of discarded sets of the first touch information and the second touch information and information indicating that the number of discarded sets of the first touch information and the second touch information has exceeded a third threshold.
前記タッチパッドは、プライマリ・タッチであるか、セカンダリ・タッチであるかを示すプライマリ情報を含む前記タッチ情報を出力し、
前記コンピュータに、
前記プライマリ情報がプライマリ・タッチである前記第1タッチ情報及び前記第2タッチ情報のセットと、前記プライマリ情報がセカンダリ・タッチである前記第1タッチ情報及び前記第2タッチ情報のセットとを生成する処理と、
プライマリ・タッチについての第1タッチ情報及び第2タッチ情報のセットであるか、セカンダリ・タッチについての第1タッチ情報及び第2タッチ情報のセットであるかを判定する処理と、
セカンダリ・タッチについての前記第1タッチ情報及び前記第2タッチ情報のセットの場合、前記時間差が第1閾値より短く、かつ、前記距離が第2閾値より短い前記第1タッチ情報及び前記第2タッチ情報のセットも出力する処理と
を実行させる請求項4又は5に記載のプログラム。
the touchpad outputs the touch information including primary information indicating whether the touch is a primary touch or a secondary touch;
The computer includes:
generating a set of the first touch information and the second touch information, the primary information of which is a primary touch, and a set of the first touch information and the second touch information, the primary information of which is a secondary touch;
determining whether the set of first touch information and second touch information is for a primary touch or the set of first touch information and second touch information is for a secondary touch;
and in the case of a set of the first touch information and the second touch information for a secondary touch, also outputting a set of the first touch information and the second touch information for which the time difference is shorter than a first threshold and the distance is shorter than a second threshold.
タッチダウンであるかタッチアップであるかを示すタッチ種類と、検出位置と、検出時刻とを含むタッチ情報を出力するタッチパッドを含むコンピュータが、
前記タッチ種類がタッチダウンである第1タッチ情報を取得するまで前記タッチ情報の取得を繰り返し、前記第1タッチ情報を取得すると前記第1タッチ情報を保存し、前記第1タッチ情報を保存後に前記タッチ情報の取得を再開し、前記タッチ種類がタッチアップである第2タッチ情報を取得するまで前記タッチ情報の取得を繰り返し、前記第2タッチ情報を取得すると保存している前記第1タッチ情報と前記第2タッチ情報とのセットを生成し、
前記第1タッチ情報の第1タッチ時刻と、前記第2タッチ情報の第2タッチ時刻との時間差を算出し、
前記第1タッチ情報の第1タッチ位置と、前記第2タッチ情報の第2タッチ位置との距離を算出し、
前記時間差が第1閾値より短く、かつ、前記距離が第2閾値より短い場合に、前記第1タッチ情報及び前記第2タッチ情報のセットを破棄し、
破棄されない前記第1タッチ情報及び前記第2タッチ情報のセットを出力する
誤検出防止方法。
a computer including a touchpad that outputs touch information including a touch type indicating whether the touch is a touch down or a touch up, a detection position, and a detection time,
Repeating acquisition of the touch information until first touch information whose touch type is touch-down is acquired, storing the first touch information when the first touch information is acquired, restarting acquisition of the touch information after storing the first touch information, repeating acquisition of the touch information until second touch information whose touch type is touch-up is acquired, and generating a set of the stored first touch information and the second touch information when the second touch information is acquired ;
Calculating a time difference between a first touch time of the first touch information and a second touch time of the second touch information;
Calculating a distance between a first touch position of the first touch information and a second touch position of the second touch information;
Discarding the set of the first touch information and the second touch information when the time difference is shorter than a first threshold and the distance is shorter than a second threshold;
outputting the set of the first touch information and the second touch information that are not discarded.
前記コンピュータが、
破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数をカウントし、
破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数が第3閾値を超えた場合、破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数、及び、破棄した前記第1タッチ情報及び前記第2タッチ情報のセットの数が第3閾値を超えたことを示す情報の少なくとも一方を出力する
請求項7に記載の誤検出防止方法。
The computer,
Counting the number of sets of the first touch information and the second touch information that have been discarded;
8. The method for preventing erroneous detection according to claim 7, further comprising: when a number of discarded sets of the first touch information and the second touch information exceeds a third threshold, outputting at least one of the number of discarded sets of the first touch information and the second touch information and information indicating that the number of discarded sets of the first touch information and the second touch information has exceeded the third threshold.
前記タッチパッドは、プライマリ・タッチであるか、セカンダリ・タッチであるかを示すプライマリ情報を含む前記タッチ情報を出力し、
前記コンピュータが、
前記プライマリ情報がプライマリ・タッチである前記第1タッチ情報及び前記第2タッチ情報のセットと、前記プライマリ情報がセカンダリ・タッチである前記第1タッチ情報及び前記第2タッチ情報のセットとを生成し、
プライマリ・タッチについての第1タッチ情報及び第2タッチ情報のセットであるか、セカンダリ・タッチについての第1タッチ情報及び第2タッチ情報のセットであるかを判定し、
セカンダリ・タッチについての前記第1タッチ情報及び前記第2タッチ情報のセットの場合、前記時間差が第1閾値より短く、かつ、前記距離が第2閾値より短い前記第1タッチ情報及び前記第2タッチ情報のセットも出力する
請求項7又は8に記載の誤検出防止方法。
the touchpad outputs the touch information including primary information indicating whether the touch is a primary touch or a secondary touch;
The computer,
generating a set of the first touch information and the second touch information, the primary information of which is a primary touch, and a set of the first touch information and the second touch information, the primary information of which is a secondary touch;
determining whether the set of first touch information and second touch information is for a primary touch or a secondary touch;
9. The method for preventing erroneous detection according to claim 7, further comprising: outputting, in the case of a set of the first touch information and the second touch information for a secondary touch, a set of the first touch information and the second touch information for which the time difference is shorter than a first threshold and the distance is shorter than a second threshold.
JP2023018224A 2023-02-09 2023-02-09 Input device, program, and method for preventing false detection Active JP7492044B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023018224A JP7492044B1 (en) 2023-02-09 2023-02-09 Input device, program, and method for preventing false detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023018224A JP7492044B1 (en) 2023-02-09 2023-02-09 Input device, program, and method for preventing false detection

Publications (2)

Publication Number Publication Date
JP7492044B1 true JP7492044B1 (en) 2024-05-28
JP2024113328A JP2024113328A (en) 2024-08-22

Family

ID=91194198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023018224A Active JP7492044B1 (en) 2023-02-09 2023-02-09 Input device, program, and method for preventing false detection

Country Status (1)

Country Link
JP (1) JP7492044B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012048566A (en) 2010-08-27 2012-03-08 Canon Inc Information processing unit and method
JP2014174801A (en) 2013-03-11 2014-09-22 Sony Corp Information processing apparatus, information processing method and program
US20170108992A1 (en) 2015-10-14 2017-04-20 Samsung Electronics Co., Ltd. Apparatus and method for obtaining coordinate through touch panel thereof
JP2022018588A (en) 2020-07-16 2022-01-27 Necプラットフォームズ株式会社 Tablet terminal, control method, and control program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012048566A (en) 2010-08-27 2012-03-08 Canon Inc Information processing unit and method
JP2014174801A (en) 2013-03-11 2014-09-22 Sony Corp Information processing apparatus, information processing method and program
US20170108992A1 (en) 2015-10-14 2017-04-20 Samsung Electronics Co., Ltd. Apparatus and method for obtaining coordinate through touch panel thereof
JP2022018588A (en) 2020-07-16 2022-01-27 Necプラットフォームズ株式会社 Tablet terminal, control method, and control program

Similar Documents

Publication Publication Date Title
US8866853B2 (en) Information processing apparatus, information processing method and medium for storing information processing program
US20120299856A1 (en) Mobile terminal and control method thereof
WO2019223461A1 (en) Touch detection method and computer-readable storage medium
US20150286283A1 (en) Method, system, mobile terminal, and storage medium for processing sliding event
US10048728B2 (en) Information processing apparatus, method, and storage medium
CN109753179B (en) User operation instruction processing method and handwriting reading equipment
TWI606376B (en) Touch Sensor Device And Touch-Sensing Method With Error-Touch Rejection
CN104571693A (en) Information processing method and electronic equipment
US8669957B2 (en) Information processing apparatus, input control method, and non-transitory computer-readable storage medium
WO2013175389A2 (en) Methods circuits apparatuses systems and associated computer executable code for providing projection based human machine interfaces
JP7492044B1 (en) Input device, program, and method for preventing false detection
JP2014109883A (en) Electronic apparatus and method of controlling the same
JP2024113328A (en) Input device, program, and method for preventing false detection
US20180059806A1 (en) Information processing device, input control method for controlling input to information processing device, and computer-readable storage medium storing program for causing information processing device to perform input control method
JP6081324B2 (en) Operation input device, portable information terminal, control method for operation input device, program, and recording medium
CN103543933A (en) Method for selecting files and touch terminal
US9857889B2 (en) Method and device for handling event invocation using a stylus pen
CN111475057A (en) Touch identification method and device
EP2876540B1 (en) Information processing device
TWI602098B (en) Touch Sensor Device And Sensing Method For Touch Point
US9377853B2 (en) Information processing apparatus and information processing method
CN107562260B (en) A kind of method and device of touch control
CN108139859B (en) Fast inking touch displays
US10712872B2 (en) Input apparatus and program
US9182873B2 (en) Click disambiguation on a touch-sensitive input device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240325

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: 20240423

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240516

R150 Certificate of patent or registration of utility model

Ref document number: 7492044

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150