JP6217467B2 - Program and character input device for character input system - Google Patents
Program and character input device for character input system Download PDFInfo
- Publication number
- JP6217467B2 JP6217467B2 JP2014045514A JP2014045514A JP6217467B2 JP 6217467 B2 JP6217467 B2 JP 6217467B2 JP 2014045514 A JP2014045514 A JP 2014045514A JP 2014045514 A JP2014045514 A JP 2014045514A JP 6217467 B2 JP6217467 B2 JP 6217467B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- area
- discrimination
- region
- representative
- 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
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Description
本発明は、タッチパネルに、文字入力のためのソフトウェアキーボードと入力文字表示領域とを設定し、ソフトウェアキーボードに触れる動作(以下「タッチダウン」という。)とその後のタッチ位置の変化に応じて入力文字を選択し、選択された入力文字を入力文字表示領域に表示する機能をコンピュータに付与するためのプログラム、およびこのプログラムが導入された文字入力装置に関する。 The present invention sets a software keyboard and an input character display area for character input on the touch panel, and touches the software keyboard (hereinafter referred to as “touch down”) and subsequent input characters according to the change in touch position. The present invention relates to a program for giving a computer a function of displaying a selected input character in an input character display area, and a character input device in which the program is installed.
スマートフォンなどのタッチパネルを備えた小型の情報処理装置では、複数の文字が割り付けられた文字キーが複数配列されたソフトウェアキーボードと入力文字表示領域とをタッチパネルに設定して、文字入力を受け付ける。また、文字キーの上で指を軽くスライドさせる操作(フリック操作)を受け付け、その操作方向によって入力文字を選択するフリック入力方式が、広く採用されている(特許文献1,2を参照。)。
In a small information processing apparatus including a touch panel such as a smartphone, a software keyboard in which a plurality of character keys to which a plurality of characters are assigned and an input character display area are set on the touch panel to accept character input. In addition, a flick input method that accepts an operation (flick operation) of sliding a finger lightly on a character key and selects an input character according to the operation direction is widely adopted (see
フリック入力方式に対して実施する具体的な情報処理に関して、特許文献2には、文字キー毎に、その文字キーに割り当てられている個々の文字にタッチパネル上の異なる領域を対応づけた定義情報(タッチパネル領域情報)を登録しておき、タッチパネルに対するタッチが検出されると、タッチされたキーに対するタッチパネル領域情報と指が離れた位置の座標とを比較してフリック方向を検出し、そのフリック方向に対応する文字を入力文字として決定することが記載されている(特許文献2の段落0032〜0037,図2〜5等を参照。)。
Regarding specific information processing performed for the flick input method,
また、特許文献3には、複数の文字がそれぞれ異なる方向範囲に対応づけられて割り付けられたキーに対する尖筆(スタイラスペン)の痕跡の開始点および終了点の各座標から筆の動き方向を表すベクトルを特定し、そのベクトルに対応する方向範囲に対応づけられた文字を選択することが記載されている(特許文献3の段落0011〜0017,図8等を参照。)。指によるフリック操作に対しても、特許文献3と同様の方法でフリック方向を示すベクトルを特定することが可能である。
In
特許文献2に記載されている方法は、フリック方向を示すベクトルを求める代わりに、タッチダウンが検出された文字キーに割り付けられている各文字にそれぞれフリック入力のルールに基づき個別の領域を対応づけ、フリック操作によるタッチ位置がいずれの領域に移動したかによりフリック方向を判定するものである。またタッチダウン後の指をタッチパネルから離す動作(以下「タッチアップ」という。)が検出されたことに応じて、入力文字を確定している。
In the method described in
実際の仮名文字の入力にも、上記に類似する方法を採用している事例がある。その具体例として、図10に、「あ」行の文字キー10Aに対するタッチダウンが検出されたことに応じて、この文字キー10Aに割り付けられた5文字「あ」「い」「う」「え」「お」のそれぞれに対応する領域(以下、「判別領域」という。)を設定した例を示す。この例では、ユーザの指が文字キー10Aに触れ、その接触範囲内の一点Pの座標がタッチダウンの位置として検出されたことに応じて、文字キー10Aの中央部を含む広い範囲に、代表文字の「あ」に対する矩形状の判別領域R0が設定される。さらに、この判別領域R0の対角線の延長線によって当該判別領域R0の周囲が4つに区切られ、左方向に生じた領域R1が「い」の判別領域として、上方向に生じた領域R2が「う」の判別領域として、右方向に生じた領域R3が「え」の判別領域として、下方向に生じた領域R4が「お」の判別領域として、それぞれ設定される。
There is a case in which a method similar to the above is used to input actual kana characters. As a specific example, FIG. 10 shows the five characters “A”, “I”, “U”, “E” assigned to the
ユーザには、「あ」を入力する場合には、フリック操作をせずに文字キー20Aをタップし、「い」を入力する場合には左方向へのフリック操作を行い、「う」を入力する場合には上方向へのフリック操作を行い、「え」を入力する場合には右方向へのフリック操作を行い、「お」を入力する場合には下方向へのフリック操作を行う、という入力のルールが提示される。 When the user inputs “A”, the character key 20A is tapped without performing the flick operation, and when “I” is input, the user flicks leftward and inputs “U”. If you want to do, flick up, if you enter "e", do a flick to the right, if you enter "o", do a flick down Input rules are presented.
上記のルールに従ってユーザが文字キー10Aをタップした場合には、判別領域R0内でタッチアップが検出されることによって「あ」が入力文字として選択される。また、左方向へのフリック操作に対しては、判別領域R1でタッチアップが検出されることによって「い」が選択され、上方向へのフリック操作に対しては、判別領域R2でタッチアップが検出されることによって「う」が選択され、右方向へのフリック操作に対しては、判別領域R3でタッチアップが検出されることによって「え」が選択され、下方向へのフリック操作に対しては、判別領域R4でタッチアップが検出されることによって「お」が選択される。
When the user taps the
このように、指の動きを示すベクトルを求めなくとも、入力ルールに合わせて設定された各文字の判別領域の中のいずれにおいてタッチアップが検出されるかに基づき、指の動きに適合する文字を選択することができる。しかし、タッチダウンの検出点Pの座標はタッチパネルに対するユーザの指の触れ具合によって変動するため、検出点Pが「あ」の判別領域から外れた場合には、入力文字の選択に誤りが生じるおそれがある。 In this way, even if a vector indicating finger movement is not obtained, a character that matches the finger movement is determined based on which touch-up is detected in each character discrimination area set according to the input rule. Can be selected. However, since the coordinates of the touchdown detection point P vary depending on how the user's finger touches the touch panel, an error may occur in the selection of the input character when the detection point P is out of the “A” discrimination region. There is.
図11は、文字キー10Aの左端部でタッチダウンが検出された例を示す。この場合にもタッチダウンの検出に応じて「あ」行の文字キー10Aが操作されたと認識され、図10の例と同様の判別領域R0〜R4が設定されるが、そうなると、タッチダウンの検出点Pは「い」の判別領域に含まれてしまう。その結果、ユーザがフリック操作をせずに文字キー10Aをタップした場合には「い」の判別領域R1でタッチアップが検出され、入力文字として「い」が選択される。つまり、フリック操作が行われていないにも関わらず、フリック操作が行われたものとして取り扱われてしまう。
FIG. 11 shows an example in which touchdown is detected at the left end of the
また、ユーザが上方向へのフリック操作を行ったが、検出点Pからのタッチ点の移動量が小さかったために、「う」の判別領域R2ではなく、「い」の判別領域R1内でタッチアップが検出された場合にも、入力文字として「い」が選択される。つまり、上方向へのフリック操作が行われたのに左方向へのフリック操作が行われたものとして取り扱われてしまう。フリック操作の指の移動量が小さかったために「う」が選択されなかったとしても、「あ」が選択されるのであれば、ユーザは合点するが、「あ」以外の文字が選択されると、ユーザは違和感を感じてしまう。 In addition, the user performs an upward flick operation, but the amount of movement of the touch point from the detection point P is small, so that the user touches not in the “U” determination region R2 but in the “I” determination region R1. Also when “up” is detected, “i” is selected as the input character. That is, it is handled as if the left flick operation was performed although the upward flick operation was performed. Even if “U” is not selected because the amount of movement of the finger in the flick operation is small, if “A” is selected, the user will make a point, but if a character other than “A” is selected, The user feels uncomfortable.
本発明は上記の問題に着目し、文字キーのいずれの位置でタッチダウンが検出された場合でも、その検出点を含む所定範囲が文字キーに割り付けられた代表文字の判別領域に含まれるようにすることにより、入力文字の選択の精度を高めることを課題とする。 The present invention pays attention to the above-described problem so that, even when a touchdown is detected at any position of the character key, a predetermined range including the detection point is included in the representative character determination area assigned to the character key. Thus, it is an object to improve the accuracy of selection of input characters.
本発明は、タッチパネルに接続されたコンピュータを、以下の判別領域設定手段と入力文字選択手段とを備える文字入力装置として機能させるためのプログラムを提供する。 The present invention provides a program for causing a computer connected to a touch panel to function as a character input device including the following determination area setting means and input character selection means.
判別領域設定手段は、タッチダウンが検出された文字キー内に当該文字キーに割り付けられた代表文字(一般に、文字キーに表記されている文字)に対する判別領域を設定すると共に、この判別領域の外側に、当該文字キーに割り付けられた前記代表文字以外の各文字に対する判別領域を代表文字の判別領域に対するそれぞれの方位を異ならせて設定する。入力文字選択手段は、設定された複数の判別領域のうち前記タッチダウン後にタッチアップが検出された判別領域に対応する文字を、タッチパネルの入力文字表示領域に表示する文字として選択する。 The discrimination area setting means sets a discrimination area for a representative character assigned to the character key (generally, a character written on the character key) within the character key where the touchdown is detected, and outside the discrimination area. In addition, a determination area for each character other than the representative character assigned to the character key is set with different orientations with respect to the determination area of the representative character. The input character selection means selects a character corresponding to a determination region in which touch-up is detected after the touch-down among a plurality of set determination regions as a character to be displayed in the input character display region of the touch panel.
上記の判別領域設定手段には、タッチダウンに応じて設定した前記代表文字の判別領域の外側にタッチダウンの検出点が位置する場合に、この判別領域に対する前記検出点の位置ずれ方向に沿って当該判別領域が拡張されて、前記検出点を含む所定範囲が前記代表文字の拡張された判別領域に含まれるように、前記代表文字の判別領域と他の文字の判別領域との境界線を変更する補正手段が含まれる。 When the detection point of the touchdown is located outside the determination area of the representative character set in accordance with the touchdown, the determination area setting unit is configured to follow the position shift direction of the detection point with respect to the determination area. The boundary area between the representative character discrimination area and another character discrimination area is changed so that the discrimination area is expanded and the predetermined range including the detection point is included in the extended discrimination area of the representative character. Correction means is included.
上記構成によれば、文字キーに指を触れる操作によって検出されたタッチダウンの位置が代表文字の判別領域の設定範囲より外側に位置する場合には、その位置ずれの方向に沿って代表文字の判別領域が拡張されて、タッチダウンの検出点やその周囲も代表文字の判別領域に含まれる状態になるので、代表文字を入力するためのタップ操作に対して他の文字が誤って選択されるのを防ぐことができる。また、フリック操作に応じてタッチアップが検出される可能性がある範囲のうち、その検出に従って入力文字を選択すると実際のフリック操作とは異なる方向に対応づけられている文字が選択される範囲が代表文字の判別領域に含まれるように当該判別領域を拡張することによって、フリック操作の方向が取り違えられるのを防ぐことができる。 According to the above configuration, when the touch-down position detected by touching the character key with a finger is located outside the set range of the representative character determination area, the representative character is moved along the position shift direction. Since the discrimination area is expanded and the touchdown detection point and its surroundings are also included in the representative character discrimination area, other characters are erroneously selected in response to a tap operation for inputting the representative character. Can be prevented. In addition, there is a range in which touch-up may be detected according to the flick operation, and when an input character is selected according to the detection, a character associated with a direction different from the actual flick operation is selected. By expanding the determination area so as to be included in the determination area of the representative character, it is possible to prevent the direction of the flick operation from being mistaken.
上記文字入力装置の一実施形態では、補正手段は、タッチダウンの検出点を中心とする小領域を設定すると共に、タッチダウンの検出点を通りかつ前記代表文字の判別領域から他の文字の判別領域に向かう方向に沿う直線を設定し、前記代表文字の判別領域の境界線のうち前記直線に対向する範囲の境界線が当該直線が示す位置に変更され、前記小領域が前記代表文字の判別領域に含まれるように、代表文字の判別領域を拡張する。 In one embodiment of the character input device, the correction means sets a small region centered on the touch-down detection point, and determines other characters from the representative character determination region through the touch-down detection point. A straight line is set along the direction toward the area, and the boundary line in the range facing the straight line is changed to the position indicated by the straight line among the boundary lines of the representative character determination area, and the small area is determined as the representative character. The representative character discrimination area is expanded so as to be included in the area.
上記の実施形態によれば、タッチダウンの検出点を中心とする小領域を代表文字の判別領域内に含めることによって、代表文字を入力するためのタップ操作に応じてタッチアップが検出され得る範囲を代表文字の判別領域に含めることができる。また、代表文字の判別領域の境界線のうちタッチダウンの検出点を通る直線に対向する範囲の境界線を当該直線が示す位置に変更することにより、代表文字以外の文字を入力するためのフリック操作に応じて入力文字を選択した場合にフリック操作の方向の取り違えが生じるおそれがある範囲を、代表文字の判別領域に含めることができる。 According to the above embodiment, by including a small area centered on the touchdown detection point in the representative character discrimination area, a range in which touch-up can be detected in response to a tap operation for inputting the representative character Can be included in the representative character discrimination area. In addition, a flick for inputting characters other than the representative character by changing the boundary line in the range opposite to the straight line passing through the touchdown detection point of the boundary line of the representative character discrimination area to the position indicated by the straight line. A range in which the direction of the flick operation may be mixed when an input character is selected in accordance with the operation can be included in the representative character determination area.
他の実施形態による補正手段は、前記代表文字の判別領域に対する前記タッチダウンの検出点の位置ずれ方向に沿って当該検出点より所定距離だけ離れた点を通り、かつ前記代表文字の判別領域から他の文字の判別領域に向かう方向に沿う直線を設定し、代表文字の判別領域の境界線のうち前記直線に対向する範囲の境界線が当該直線が示す位置に変更されるように、代表文字の判別領域を拡張する。 According to another embodiment, the correction means passes through a point that is a predetermined distance away from the detection point along the direction of displacement of the detection point of the touchdown with respect to the determination region of the representative character, and from the determination region of the representative character. A straight line is set along the direction toward the discrimination area for other characters, and the boundary of the range opposite to the straight line among the boundary lines of the discrimination area for the representative character is changed to the position indicated by the straight line. Extend the discrimination area.
上記の実施形態によれば、代表文字の判別領域から見てタッチダウンの検出点よりさらに離れた点を基準として、フリック操作に伴ってタッチ点が移動する方向に沿った直線を設定し、この直線に対向する範囲にある代表文字の判別領域の境界線を当該直線が示す位置に変更することにより、タップ操作に応じてタッチアップが検出され得る範囲や、フリック操作に応じて入力文字を選択した場合にフリック操作の方向の取り違えが生じるおそれがある範囲を、代表文字の判別領域に含めることができる。 According to the above embodiment, a straight line along the direction in which the touch point moves in accordance with the flick operation is set with reference to a point further away from the touch-down detection point when viewed from the representative character discrimination region. By changing the boundary line of the representative character discrimination area in the range facing the straight line to the position indicated by the straight line, select the range where touch-up can be detected according to the tap operation and the input character according to the flick operation In such a case, it is possible to include a range in which the direction of the flick operation may be mistaken in the representative character determination area.
上記の各実施形態では、判別領域設定手段は、タッチダウンが検出された文字キーに割り当てられた代表文字の判別領域として、当該文字キーより小さい矩形状の領域を当該文字キーに中心を合わせて設定すると共に、この判別領域の周囲を当該判別領域の対角線の延長線により区分けすることにより残りの文字の判別領域を設定することができる。この場合、補正手段は、代表文字の判別領域から他の文字の判別領域に向かう方向に沿う直線として、代表文字の判別領域の各辺に沿う2本の直線を設定し、これらの直線のうち前記代表文字の判別領域の各対角線の延長線と交わる直線における各交点の間の線分によって前記代表文字の判別領域の境界線を変更する。 In each of the embodiments described above, the determination area setting means sets a rectangular area smaller than the character key as the center of the character key as the determination area of the representative character assigned to the character key in which the touchdown is detected. In addition to setting, by distinguishing the periphery of the discrimination area by the extension of the diagonal line of the discrimination area, the discrimination area for the remaining characters can be set. In this case, the correcting means sets two straight lines along each side of the representative character discrimination area as straight lines along the direction from the representative character discrimination area to another character discrimination area, and among these straight lines, A boundary line of the representative character discrimination region is changed by a line segment between each intersection point in a straight line that intersects with an extension of each diagonal line of the representative character discrimination region.
上記の実施形態によれば、タッチダウンの検出点、または代表文字の判別領域に対し検出点の位置ずれ方向に沿って検出点より遠くに位置する点を通るように代表文字の判別領域の各辺に沿う2本の直線を設定して、代表文字の判別領域の2本の対角線の延長線と各直線との交点を求め、各交点の間の線分に基づき代表文字の判別領域の境界線を容易に変更することができる。 According to the above-described embodiment, each of the representative character discrimination regions passes through a detection point of touchdown or a point located farther than the detection point along the direction of displacement of the detection point with respect to the discrimination region of the representative character. Set two straight lines along the side, find the intersection of the two diagonal lines of the representative character discrimination area and each straight line, and the boundary of the representative character discrimination area based on the line segment between each intersection Lines can be easily changed.
本発明によれば、文字キーに対するタッチダウンに応じて設定された代表文字の判別領域より外側にタッチダウンの検出点が位置する場合でも、代表文字を選択するためのタップ操作に応じてタッチアップが検出され得る範囲や、フリック操作の方向が取り違えられるおそれがある範囲が代表文字の判別領域に含まれるように、代表文字の判別領域が拡張される。よって、タップ操作がフリック操作として取り扱われたり、フリック操作に対して実際の指の移動方向とは異なる方向に対応づけられた文字が選択されるのを防いで、文字入力の精度を向上することができる。 According to the present invention, even when the detection point of the touchdown is located outside the representative character determination area set according to the touchdown with respect to the character key, the touchup is performed according to the tap operation for selecting the representative character. The representative character discrimination region is expanded so that the range in which the flick operation can be detected and the range in which the direction of the flick operation may be mistaken are included in the representative character discrimination region. Therefore, it is possible to prevent the tap operation from being handled as a flick operation or to select a character associated with the flick operation in a direction different from the actual finger movement direction, thereby improving the accuracy of character input. Can do.
図1は、本発明が適用されるスマートフォン100の文字入力画面を示す。
この文字入力画面は、スマートフォン100で起動中のアプリケーション(メーラーやインターネットブラウザなど)が文字入力を受け付ける状態にあるときに、前面のタッチパネル1に表示されるもので、二分された画面の上側に入力文字表示領域11が設定され、下側にソフトウェアキーボード12が配置される。
FIG. 1 shows a character input screen of a
This character input screen is displayed on the
ソフトウェアキーボード12には、タッチパネル1の縦横各方向に沿って4行3列に配列された12個の文字キー10と、これら文字キー10の左右に配列された8個の機能キー13とが含まれる。文字キー10のうち最下段の左右を除く10個の文字キー10(テンキー)には、50音の「あ」行から「わ」行までの仮名文字が1行ずつ割り当てられ、その先頭の仮名文字が表記されている。これらのうち以下の具体例に用いる「あ」行の文字キーを、符号10Aにより示す。
各文字キー10には、数字、アルファベット文字、記号なども割り当てられ、切り替え操作によって入力対象の文字種が切り替えられる。
The
Each
図示はしないが、ソフトウェアキーボード12内のいずれかの文字キー10にユーザが指を触れると、その文字キー10に表記されている代表の文字(たとえば「あ」)を中心として、その上下左右に他の4文字を配列したガイド画像が表示される。ユーザが指を動かすことなく文字キー10から指を離す、いわゆるタップ操作を行うと、代表の文字が入力文字として選択される。一方、上下左右のいずれかの方向へのフリック操作が行われると、指の移動方向に対応づけられている文字が入力文字として選択される。いずれの場合も、タッチ点の座標が検出されなくなったことをタッチアップとして検出して、入力文字を選択し、選択した入力文字を入力文字表示領域11内に表示する。
Although not shown, when a user touches one of the
上記の文字入力を実施するために、この実施例では、タッチダウンの検出に応じて、その検出がされた文字キー10に対し、当該文字キー10に割り付けられている各種文字の判別領域を設定し、タッチダウン後のタッチアップが検出された判別領域に対応する文字を入力文字として選択する。さらに、この実施例では、タッチダウンの検出点が代表文字の判別領域の外側に位置する状態にあるときは、この検出点の代表文字の判別領域に対する位置ずれ方向に沿って代表文字の判別領域を拡張することにより、実際の指の動きに適合する文字が選択されやすい状況を設定する。
In order to perform the character input described above, in this embodiment, in response to detection of touchdown, a discrimination area for various characters assigned to the
図2は、「あ」行の文字キー10Aを例として、代表文字の判別領域を拡張する処理の具体例を示す。図2[a]は、各判別領域の基本の設定ルールを示すもので、図10に示した従来例と同様に、代表文字「あ」に対して、文字キー10Aの中央部を含む広い範囲に矩形状の判別領域R0が設定される。判別領域R0の周囲は当該判別領域R0の対角線の延長線により4つに区分けされて、左側に「い」の判別領域R1が、上側に「う」の判別領域R2が、右側に「え」の判別領域R3が、下側に「お」の判別領域R4が、それぞれ設定される。 FIG. 2 shows a specific example of processing for expanding the representative character discrimination area, taking the character key 10A of the “A” line as an example. FIG. 2A shows basic setting rules for each discrimination area. Similar to the conventional example shown in FIG. 10, a wide range including the central portion of the character key 10A with respect to the representative character “A”. Is set to a rectangular discrimination region R0. The circumference of the discrimination area R0 is divided into four by the diagonal lines of the discrimination area R0. The discrimination area R1 of “I” on the left side, the discrimination area R2 of “U” on the upper side, and “E” on the right side. Discriminating region R3 and “O” discriminating region R4 are respectively set on the lower side.
図2では、文字キー10Aの左下の端縁部でタッチダウンが検出されたものとして、その検出点を符号Pで示す。文字キー10Aに対するタッチダウンはキーの全域で受け付けられるが、その直後の判別領域R0〜R4の設定によって、この実施例のタッチダウンの検出点Pは判別領域R0の左側の「い」の判別領域R1に含まれ、「あ」の判別領域R0の左下頂点に対して左方向および下方向に位置ずれした状態となる。 In FIG. 2, the detection point is indicated by the symbol P, assuming that touchdown is detected at the lower left edge of the character key 10 </ b> A. The touchdown with respect to the character key 10A is accepted over the entire area of the key, but the touchdown detection point P of this embodiment is set to the discrimination area “I” on the left side of the discrimination area R0 by setting the discrimination areas R0 to R4 immediately after that. It is included in R1 and is in a state of being shifted in the left direction and the downward direction with respect to the lower left vertex of the “A” discrimination region R0.
この実施例では、検出点Pの座標や代表文字の判別領域R0の設定データに基づき、図2の下段の[b−1][b−2][b−3]に示すような補正領域S0,S1,S2を設け、これらの補正領域S0,S1,S2が判別領域R0に含まれるように各領域を統合することにより、代表文字の判別領域R0とその他の文字の判別領域R1〜R4との境界線を変更する。 In this embodiment, based on the coordinates of the detection point P and the setting data of the representative character discrimination area R0, the correction area S0 as shown in [b-1] [b-2] [b-3] in the lower part of FIG. , S1 and S2, and by integrating these areas so that these correction areas S0, S1 and S2 are included in the discrimination area R0, the discrimination area R0 for the representative character and the discrimination areas R1 to R4 for the other characters Change the border of.
図2[b−1]に示す補正領域S0は、タッチダウンの検出点Pを中心とする矩形領域である。この領域S0の大きさや形状は、たとえば、タップ操作が行われる場合のタッチダウンの検出点とタッチアップの検出点との間に生じる誤差に応じてあらかじめ定めて登録しておくことができる。ただし、判別領域R0の検出点Pに最も近い辺と検出点Pとの距離などに応じて補正領域S0の大きさを変動させてもよい。 The correction area S0 shown in FIG. 2 [b-1] is a rectangular area centered on the touchdown detection point P. The size and shape of the area S0 can be determined and registered in advance according to, for example, an error generated between the touchdown detection point and the touchup detection point when a tap operation is performed. However, the size of the correction region S0 may be changed according to the distance between the detection point P and the side closest to the detection point P in the determination region R0.
図2[b−2]に示す補正領域S1は、タッチダウンの検出点Pを通りかつタッチパネル1の縦軸(y軸)に沿う直線と判別領域R0の2本の対角線の延長線との交点A,B、および判別領域R0の中心点Oにより定まる三角形OABを輪郭線とするものである。
The correction area S1 shown in FIG. 2 [b-2] is an intersection of a straight line passing through the touchdown detection point P and along the vertical axis (y axis) of the
図2[b−3]に示す補正領域S2は、タッチダウンの検出点Pを通りかつタッチパネル1の横軸(x軸)に沿う直線と判別領域R0の2本の対角線の延長線の交点C,D、および判別領域R0の中心点Oにより定まる三角形OCDを輪郭線とするものである。
The correction area S2 shown in FIG. 2 [b-3] is an intersection C between two straight lines extending through the touchdown detection point P and along the horizontal axis (x axis) of the
図2[c]は、上記3つの補正領域S0,S1,S2と判別領域R0とを統合することにより更新された判別領域R0の範囲を、当該領域R0の最初の範囲(点線)と比較して示す。上記の統合によって、判別領域R0は、補正領域S1の領域R0からはみ出した部分と、補正領域S2の領域R0からはみ出した部分と、補正領域S0とを加えたものとなり、最初の範囲から左方向すなわち「い」の判別領域R1の側と、下方向すなわち「お」の判別領域R4の側に拡張される。また、タッチダウンの検出点Pを囲む所定範囲が拡張後の判別領域R0に含まれる状態となる。 FIG. 2C compares the range of the discrimination region R0 updated by integrating the three correction regions S0, S1, S2 and the discrimination region R0 with the first range (dotted line) of the region R0. Show. As a result of the above integration, the determination region R0 is obtained by adding the portion of the correction region S1 that protrudes from the region R0, the portion of the correction region S2 that protrudes from the region R0, and the correction region S0. That is, it is expanded to the “I” discrimination region R1 side and to the lower side, that is, the “O” discrimination region R4 side. Further, a predetermined range surrounding the touchdown detection point P is included in the expanded discrimination region R0.
タッチダウンが検出された段階で設定される代表文字の判別領域R0の範囲に対しては、図2[a]に示すように、タッチダウンの検出点Pは「い」の判別領域R1に含まれている。判別領域R0が拡張されない場合には、「あ」を入力する目的で文字キー12Aがタップされると、「い」の領域R1でタッチアップが検出され、その結果、「あ」ではなく「い」が入力文字として選択される。また「う」を入力する目的で上方向へのフリック操作が行われても、タッチ点が「う」の判別領域R2には届かなかった場合には「い」の判別領域R1でタッチアップが検出され、入力文字として「い」が選択される。「え」を入力する目的で右方向へのフリック操作が行われても、タッチ点が「え」の判別領域R3には届かなかった場合には「お」の判別領域R4でタッチアップが検出され、入力文字として「お」が選択される。 For the range of the representative character discrimination region R0 set when the touchdown is detected, the touchdown detection point P is included in the discrimination region R1 of “Yes” as shown in FIG. It is. When the discrimination area R0 is not expanded, when the character key 12A is tapped for the purpose of inputting “A”, a touch-up is detected in the “I” area R1, and as a result, “I” instead of “A” is detected. "Is selected as the input character. Further, even if the upward flick operation is performed for the purpose of inputting “U”, if the touch point does not reach the “U” determination region R2, the touch-up is performed in the “YES” determination region R1. Detected and “I” is selected as the input character. If the touch point does not reach the “e” discrimination region R3 even if the right flick operation is performed for the purpose of inputting “e”, a touch-up is detected in the “o” discrimination region R4. "O" is selected as the input character.
上記のとおり、タッチダウンの検出点Pが代表文字「あ」の判別領域R0に含まれていない場合には、文字入力操作のルールに従ってタップ操作やフリック操作を行ったユーザの意図に合わない文字が選択されるおそれがある。これに対し、図2の実施例によれば、タッチアップが検出されて各判別領域R0〜R4が設定された直後に判別領域R0が図2[c]のように拡張されるので、文字キー12Aがタップされてタッチダウンの検出点Pまたはその近傍でタッチアップが検出された場合には、その検出点は「あ」の判別領域R0内の補正領域S0に相当する場所に含まれるようになる。よって、タップ操作に適合する文字「あ」を選択することができる。 As described above, when the touchdown detection point P is not included in the determination region R0 of the representative character “A”, the character that does not match the intention of the user who performed the tap operation or the flick operation according to the rule of the character input operation May be selected. On the other hand, according to the embodiment of FIG. 2, the discrimination region R0 is expanded as shown in FIG. 2 [c] immediately after the touch-up is detected and the discrimination regions R0 to R4 are set. When 12A is tapped and a touch-up is detected at or near the touch-down detection point P, the detection point is included in a location corresponding to the correction area S0 in the “A” discrimination area R0. Become. Therefore, it is possible to select the character “A” that matches the tap operation.
また、上方向へのフリック操作が行われたが「う」の判別領域R2までタッチ点を移動させることができなかった場合や、右方向へのフリック操作が行われたが「え」の判別領域R3までタッチ点を移動させることができなかった場合にも、「あ」の判別領域R0内の領域S1または領域S2に相当する場所でタッチアップを検出することができる。この検出によって、入力文字として「あ」が選択される。この選択自体は誤りではあるが、フリック操作の指の移動量が少なかったために生じ得る誤りとして許容できるものである。 In addition, when the upward flick operation is performed but the touch point cannot be moved to the “U” determination region R2, or when the right flick operation is performed but “E” is determined. Even when the touch point cannot be moved to the region R3, the touch-up can be detected at a place corresponding to the region S1 or the region S2 in the “A” determination region R0. By this detection, “A” is selected as the input character. Although this selection itself is an error, it is acceptable as an error that may occur because the amount of finger movement in the flick operation is small.
上記図2の例では、判別領域R0の最初に設定された範囲に対してタッチダウンの検出点Pが縦方向(y軸方向)および横方向(x軸方向)の両方向に位置ずれしているため、それぞれの位置ずれ方向に沿って判別領域R0が拡張されたが、タッチダウンの検出点Pの位置ずれの方向がx軸またはy軸の一方のみに生じている場合には、判別領域R0の拡張の方向もその位置ずれが生じている方向のみとなる。図3,図4に具体的な事例を示す。 In the example of FIG. 2 described above, the touch-down detection point P is displaced in both the vertical direction (y-axis direction) and the horizontal direction (x-axis direction) with respect to the initially set range of the discrimination region R0. For this reason, the discrimination region R0 is expanded along the respective misalignment directions. However, when the direction of misalignment of the touchdown detection point P occurs only in one of the x-axis and the y-axis, the discrimination region R0. The direction of the expansion is only the direction in which the positional deviation occurs. 3 and 4 show specific examples.
図3[a]の例では、タッチダウンの検出点Pは、x軸においては「あ」の判別領域R0の最初の範囲より左に位置ずれして「い」の判別領域R1に含まれているが、この検出点Pは、y軸においては判別領域R0の最初の範囲内に含まれており、位置ずれしていない。このため、図3[b−3]に示すように、検出点Pを通りx軸方向に沿う直線は判別領域R0内で各対角線に交わり、三角形OCDによる補正領域S2は判別領域R0内に含まれる状態となる。 In the example of FIG. 3A, the touchdown detection point P is shifted to the left from the first range of the “A” discrimination region R0 on the x axis and is included in the “I” discrimination region R1. However, the detection point P is included in the first range of the discrimination region R0 on the y axis, and is not displaced. Therefore, as shown in FIG. 3 [b-3], a straight line passing through the detection point P and extending along the x-axis direction intersects each diagonal line in the discrimination region R0, and a correction region S2 by the triangle OCD is included in the discrimination region R0. It will be in a state to be.
一方、検出点Pを通りy軸方向に沿う直線は、図3[b−2]に示すように、判別領域R0の対角線の延長線と交わるため、三角形OABによる補正領域S1は、辺ABを含む左側が判別領域R0からはみ出した状態になる。 On the other hand, as shown in FIG. 3 [b-2], the straight line passing through the detection point P and extending along the y-axis direction intersects the diagonal extension line of the discrimination region R0, so that the correction region S1 by the triangle OAB has the side AB. The left side that is included protrudes from the discrimination region R0.
したがって、統合処理によって、判別領域R0は、図3[b−2]に示す補正領域S1の判別領域R0からはみ出した部分と図3[b−1]に示す領域S0とが加えられることによって、左方向すなわち「い」の判別領域R1の側へと拡張される。 Therefore, by the integration process, the determination region R0 is added with the portion of the correction region S1 that protrudes from the determination region R0 shown in FIG. 3 [b-2] and the region S0 shown in FIG. 3 [b-1]. It is expanded in the left direction, that is, toward the determination area R1 of “I”.
図4[a]の例では、タッチダウンの検出点Pは、y軸においては判別領域R0の最初の範囲より下に位置ずれして「う」の判別領域R4に含まれているが、x軸においては、検出点Pは判別領域R0の最初の範囲内に含まれ、位置ずれしていない。このため、図4[b−2]に示すように、タッチダウンの検出点Pを通りy軸方向に沿う直線は判別領域R0の各対角線に対して判別領域R0内で交わり、三角形OABによる補正領域S1は、判別領域R0に含まれる状態となる。 In the example of FIG. 4A, the touch-down detection point P is included in the discrimination region R4 where “u” is shifted from the first range of the discrimination region R0 on the y axis. On the axis, the detection point P is included in the first range of the discrimination region R0 and is not displaced. Therefore, as shown in FIG. 4 [b-2], a straight line passing through the touchdown detection point P and extending along the y-axis direction intersects each diagonal line of the discrimination region R0 in the discrimination region R0, and is corrected by the triangle OAB. The region S1 is included in the determination region R0.
一方、検出点Pを通りx軸方向に沿う直線は、図4[b−3]に示すように、判別領域R0の各対角線の延長線と交わるため、三角形OCDによる補正領域S2は、辺CDを含む下側が判別領域R0からはみ出した状態となる。 On the other hand, as shown in FIG. 4B-3, the straight line passing through the detection point P and extending along the x-axis direction intersects with the extension of each diagonal line of the discrimination region R0. The lower side including the portion protrudes from the discrimination region R0.
したがって、統合処理によって、判別領域R0は、図4[b−3]に示す補正領域S2の判別領域R0からはみ出した部分と図4[b−1]に示す領域S0とが加えられることによって、下方向すなわち「お」の判別領域R4の側へと拡張される。 Therefore, by the integration process, the determination region R0 is added with the portion of the correction region S2 shown in FIG. 4 [b-3] that protrudes from the determination region R0 and the region S0 shown in FIG. 4 [b-1]. It is expanded downward, that is, toward the “O” discrimination region R4.
図2〜4に示したように、文字キー10に対するタッチダウンの検出に応じて設定された代表文字の判別領域R0の外部にタッチダウンの検出点Pが位置する場合には、代表文字の判別領域R0は、x軸とy軸とのうち、判別領域R0に対する検出点Pのずれが生じている軸方向に沿って拡張される。
As shown in FIGS. 2 to 4, when the touchdown detection point P is located outside the representative character discrimination region R <b> 0 set according to the touchdown detection for the
図5は、上記した判別領域R0の補正を行う文字入力システム(IME)110の機能を、タッチパネル1内の入力文字表示領域11やソフトウェアキーボード12との関係と共に示す。
FIG. 5 shows the function of the character input system (IME) 110 that corrects the discrimination region R0 described above, together with the relationship with the input
文字入力システム110は、スマートフォン100の図示しない制御部に組み込まれたソフトウェアであって、キーボード処理部101、判別領域設定部102、判別領域補正部103、入力文字選択部104、文字表示処理部105、キー情報記憶部106、判別領域情報記憶部107などを含む。
The
キーボード処理部101は、タッチパネル1に前出のソフトウェアキーボード12を表示すると共に、図示しないタッチパネル1の管理システムからタッチ点の座標を入力することによって、ソフトウェアキーボード12に対するタッチダウンやタッチアップを検出する。
The
文字キー10に対するタッチダウンが検出されると、判別領域設定部102が動いて、タッチダウンが検出された文字キー10に対し、通常の定義に基づき、その文字キー10に割り付けられている文字に対する判別領域R0〜R4が設定される。すなわち図2[a],図3[a],図4[a]に示した関係をもって、各判別領域R0〜R4が設定される。
When a touchdown for a
この直後に、判別領域補正部103によって、上述した3種類の補正領域S0,S1,S2が設定され、これらの補正領域S0,S1,S2が代表文字の判別領域R0に統合される。この統合処理により、タッチダウンの検出点Pが判別領域R0の最初の範囲の外に位置する場合には、その範囲に対する検出点Pの位置ずれの方向に沿って判別領域R0が拡張され、かつ検出点Pを囲む所定範囲が拡張後の判別領域R0に含まれるようになる。
Immediately after this, the above-described three types of correction areas S0, S1, and S2 are set by the discrimination
なお、この実施例では、判別領域R0の最初の範囲に対するタッチダウンの検出点Pの位置関係に関わらず、判別領域補正部103を動作させる。したがって、タッチダウンの検出点Pが判別領域R0の内部にある場合でも、3種類の補正領域S0,S1,S2が設定されて領域の統合処理が行われるが、この場合の補正領域S0,S1,S2は全て判別領域R0の最初の範囲に包含されるため、判別領域R0の範囲は最初の設定のまま維持される。
In this embodiment, the discrimination
判別領域設定部102および判別領域補正部103の処理が終了した後、キーボード処理部101によりタッチアップが検出されると、入力文字選択部104により、タッチアップの検出点が各判別領域R0〜R4と照合されて入力文字が選択される。選択された文字は、文字表示処理部105によってタッチパネル1の入力文字表示領域11に表示される。
After the processing of the discrimination
キー情報記憶部106には、ソフトウェアキーボード12内の各キー10,13の範囲を示す情報(たとえばキー10,13に沿う矩形領域の左上および右下の各頂点の座標)が登録される。
In the key
判別領域情報記憶部107には、文字キー10に代表文字の判別領域R0を設定するための定義情報(たとえば、文字キー10の中心点に対する判別領域R0の各頂点の相対座標)が登録される。また、文字キー10毎に、各判別領域R0〜R4に対応する文字が登録される。
In the discrimination area
上記構成のほか、図5には示していないが、この実施例の文字入力システム110には、文字キー10に対する操作に応じた仮名文字列が特定された後の変換操作に応じて、仮名文字列に対する仮名漢字変換を実施する機能や、入力文字表示領域11に未確定状態で表示されている文字列を確定操作に応じて確定し、起動中のアプリケーションに出力する機能などが設けられている。
In addition to the above configuration, although not shown in FIG. 5, the
図6は、上記の文字入力システム110において、文字キー10のひとつに対する操作を受け付けてから入力文字を選択するまでに実施する処理の流れを示す。
FIG. 6 shows a flow of processing performed in the
まず、ユーザがソフトウェアキーボード12内の目的の文字キー10に指を触れたことに応じてタッチ点の座標が入力されると、キーボード処理部101は「タッチダウンあり」と判定し(ステップST1が「YES」)、入力された座標によりキー情報記憶部106の登録情報を照合して、タッチダウンが検出された文字キー10を特定する(ステップST2)。
First, when the coordinates of the touch point are input in response to the user touching the target character key 10 in the
つぎに、ステップST3では、判別領域設定部102が、検出点Pを含む文字キー10に関して判別領域情報記憶部107に登録されている定義情報に基づき、代表文字の判別領域R0を設定する。さらに、判別領域設定部102は、代表文字の判別領域R0の周囲をこの領域R0の対角線の延長線により区分けし、代表文字以外の文字に対する判別領域R1〜R4を設定する。このほか、ステップST3では、各判別領域R0〜R4への文字の対応付けも実施される。
Next, in step ST3, the discrimination
判別領域R0〜R4が設定された後は、判別領域補正部103によってステップST4〜ST7が実施される。まずステップST4では、タッチダウンの検出点Pを通り、タッチパネル1の座標系の縦軸(y軸)に沿う直線と判別領域R0の対角線またはその延長線との交点A,Bの座標を求める。ステップST5では、タッチダウンの検出点Pを通り、タッチパネル1の座標系の横軸(x軸)に沿う直線と判別領域R0の対角線またはその延長線との交点C,Dの座標を求める。
After the determination areas R0 to R4 are set, the determination
ステップST6では、検出点Pを中心として所定大きさの矩形状の補正領域S0を設定する。ステップST7では、ステップST4で求めた交点A,Bと判別領域R0の中心点Oとによる三角形OABにより定まる補正領域S1と、ステップST5で求めた交点C,Dと中心点Oとによる三角形OCDにより定まる補正領域S2と、ステップST6で求めた補正領域S0とが判別領域R0に含まれるようにこれらの領域を統合する。この統合によって、判別領域R0と他の判別領域R1〜R4との境界線が変更される。 In step ST6, a rectangular correction region S0 having a predetermined size with the detection point P as the center is set. In step ST7, the correction area S1 determined by the triangle OAB formed by the intersections A and B obtained in step ST4 and the center point O of the discrimination area R0, and the triangle OCD formed by the intersections C and D and the center point O obtained in step ST5. These areas are integrated so that the determined correction area S2 and the correction area S0 obtained in step ST6 are included in the determination area R0. By this integration, the boundary line between the determination region R0 and the other determination regions R1 to R4 is changed.
この後、キーボード処理部101がタッチアップを検出すると(ステップST8が「YES」)、入力文字選択部104が、そのタッチアップの検出点を含む判別領域を特定し(ステップST9)、特定した判別領域に対応づけられている文字を入力文字として選択する(ステップST10)。選択された文字は、文字表示処理部105によってタッチパネル1の入力文字表示領域11に表示され(ステップST11)、これをもって処理終了となる。
Thereafter, when the
上記の手順によれば、ソフトウェアキーボード12内のいずれの文字キー10に対しても、タッチダウンの検出点Pが判別領域R0の最初の範囲の外側に位置する場合には、図2〜図4に示した事例と同様に、判別領域R0に対する検出点Pの位置ずれ方向に沿って判別領域R0が拡張され、検出点Pを含む所定範囲が判別領域R0に含まれるようになる。よって、タップ操作がフリック操作として取り扱われたり、フリック操作の指の移動方向とは異なる方向に対応する文字が選択されるのを防ぐことができる。
According to the above procedure, when the touchdown detection point P is located outside the first range of the discrimination region R0 for any character key 10 in the
なお、この実施例では、タッチダウンの検出点Pが判別領域R0の最初の範囲内に位置する場合にも、補正領域S0,S1,S2を設定してこれらを判別領域R0に統合する処理を実施しているが、図6のステップST4の前にタッチダウンの検出点Pの座標をチェックする処理を入れ、検出点Pが判別領域R0の範囲内に位置する場合にはステップST4〜ST7をスキップしてもよい。またはステップST4,ST5で求めた各交点A,B,C,Dがすべて判別領域R0内に含まれていたことをもって、ステップST6,ST7をスキップしてもよい。 In this embodiment, even when the touchdown detection point P is located within the initial range of the discrimination area R0, the correction areas S0, S1, and S2 are set and integrated into the discrimination area R0. Although a process for checking the coordinates of the touchdown detection point P is performed before step ST4 in FIG. 6 and the detection point P is located within the determination region R0, steps ST4 to ST7 are performed. You may skip. Alternatively, steps ST6 and ST7 may be skipped when the intersections A, B, C and D obtained in steps ST4 and ST5 are all included in the determination region R0.
また、上記の実施例では、領域S1,S2を特定するための2本の直線をタッチダウンの検出点Pを通るように設定したが、これに限らず、図7に示すように、各直線を判別領域R0から見て検出点Pより所定距離外側を通る位置に設定して、判別領域R0の対角線またはその延長線との交点および判別領域R0の中心点Oによる三角形OABや三角形OCDを補正領域S1,S2としてもよい。また、この場合には、検出点Pを含む矩形の補正領域S0を設定せずに補正領域S1,S2と判別領域R0との統合を行うだけでよいが、さらに補正領域S0を設定して統合処理に加えてもよい。 In the above embodiment, two straight lines for specifying the regions S1 and S2 are set so as to pass through the touchdown detection point P. However, the present invention is not limited to this, and as shown in FIG. Is set to a position that passes a predetermined distance outside the detection point P when viewed from the discrimination region R0, and the triangle OAB and the triangle OCD by the intersection of the discrimination region R0 with the diagonal line or its extension line and the center point O of the discrimination region R0 are corrected. It is good also as area | region S1, S2. In this case, the correction areas S1 and S2 and the discrimination area R0 may be integrated without setting the rectangular correction area S0 including the detection point P. However, the correction area S0 is further set and integrated. It may be added to the processing.
図2〜図4や図7に示した事例は、図1に示した縦長の画面に対して文字入力操作が行われることを前提とするが、スマートフォン100の姿勢によって、タッチパネル1の画面が横長画面に切り替えられる場合にも、同様の方法で代表文字の判別領域R0を拡張することができる。 The examples shown in FIGS. 2 to 4 and 7 are based on the premise that a character input operation is performed on the vertically long screen shown in FIG. Even when switching to the screen, the representative character discrimination region R0 can be expanded by the same method.
上記の方法によれば、タッチダウンの検出点Pが判別領域R0の範囲外にある場合の判別領域R0を拡張することによって、フリック操作に対する感度を高めることができ、操作性が向上する、という効果も得られる。 According to the above method, by expanding the discrimination region R0 when the touchdown detection point P is outside the range of the discrimination region R0, the sensitivity to the flick operation can be increased, and the operability is improved. An effect is also obtained.
従来はタッチダウンの検出点Pが判別領域R0の範囲外に位置する状態になるケースが多くなることがないように、文字キー10の広い範囲に判別領域R0を設定する必要があったが、そうすると、フリック操作によって代表文字以外の文字を入力するのに必要な指の移動量が大きくなる。しかし、タッチダウンの検出点Pが代表文字の判別領域R0の範囲外に位置する場合にその検出点Pが含まれるように判別領域R0を拡張するのであれば、判別領域R0の最初の範囲を小さくすることができる。
Conventionally, it has been necessary to set the discrimination region R0 in a wide range of the
図8は、図2等の例と同じ文字キー10Aに対して代表文字の判別領域R0の最初の範囲を図2[a]の設定例より小さくした場合について、タッチダウンの検出点Pが判別領域R0の範囲外に位置したことに応じて判別領域R0を拡張した例を示す。図9は、横長画面に設定された横長の文字キー10Aに対し、このキー10Aに沿う矩形を所定の比率で縮小した横長の矩形領域を判別領域R0とした場合について、同様に、タッチダウンの検出点Pが判別領域R0の範囲外に位置したことに応じて判別領域R0を拡張した例を示す。 FIG. 8 shows the touchdown detection point P when the initial range of the representative character discrimination region R0 is smaller than the setting example of FIG. 2A for the same character key 10A as in the example of FIG. An example is shown in which the discrimination region R0 is expanded in response to being located outside the range of the region R0. FIG. 9 shows a case where, for a horizontally long character key 10A set on a horizontally long screen, a horizontally long rectangular area obtained by reducing a rectangle along the key 10A at a predetermined ratio is set as a discrimination area R0. An example is shown in which the discrimination region R0 is expanded in response to the detection point P being located outside the range of the discrimination region R0.
図8および図9の例の判別領域R0は、いずれも文字キー10Aに対して中心点が位置合わせされている。またいずれの例でも、タッチダウンの検出点Pは、判別領域R0の最初の範囲に対して左方向および下方向に位置ずれしているが、判別領域補正部103の処理によって、各位置ずれ方向に沿って判別領域R0が拡張されている。 In each of the determination regions R0 in the examples of FIGS. 8 and 9, the center point is aligned with the character key 10A. In any example, the touch-down detection point P is displaced leftward and downward with respect to the initial range of the discrimination region R0. The discrimination region R0 is expanded along the line.
図8や図9に示すように、代表文字に対して、文字キー10の中央部に小さめの判別領域R0が設定された場合、タップダウンの検出点Pが判別領域R0に含まれるのであれば、上下左右のいずれかに小さく指を動かすことによって、その移動方向に位置する代表文字以外の文字の判別領域にタッチ位置を入れることができる。
As shown in FIG. 8 and FIG. 9, if a small discrimination region R0 is set at the center of the
タッチダウンの検出点Pが判別領域R0の外に位置する場合には、判別領域R0に対する検出点Pの位置ずれ方向に沿って判別領域R0が拡張されるため、この拡張の方向(図8,9の例では左方向と下方向)に対応する文字を選択する場合には、指をごく小さく移動させることによって目的の文字の判別領域R1,R4にタッチ点を移動させることができる。拡張の方向とは反対方向(図8,9の例では右方向と上方向)に対応する文字を選択する場合には、拡張された判別領域R0を横切って目的の文字の判別領域R2,R3まで指を進める必要があるが、判別領域R0の最初の範囲が小さく、その範囲に対するタッチダウンの検出点Pの位置ずれ量もさほど大きくなければ、判別領域R0の拡張幅も抑えられ、フリック入力に必要な指の移動量が極端に増えることはない。 When the touchdown detection point P is located outside the determination region R0, the determination region R0 is expanded along the direction of displacement of the detection point P with respect to the determination region R0. When the characters corresponding to the left direction and the downward direction in the example 9 are selected, the touch point can be moved to the target character discrimination regions R1 and R4 by moving the finger very small. When selecting a character corresponding to the direction opposite to the extension direction (in the examples of FIGS. 8 and 9, rightward and upward), the target character determination regions R2 and R3 cross the expanded determination region R0. However, if the initial range of the discrimination area R0 is small and the displacement amount of the touchdown detection point P with respect to the range is not so large, the extension width of the discrimination area R0 can be suppressed, and flick input The amount of finger movement required for this does not increase extremely.
したがって、ユーザが文字キー10の中央部付近に対してフリック操作を行えば、上下左右のいずれの方向に対しても、軽く指を動かすだけで目的の文字を選択することが可能になる。
Therefore, if the user performs a flick operation on the vicinity of the center of the
ユーザが熟練者である場合には、わざと文字キー10の端縁に近い場所で、その端縁を横切るように指を動かすことによって、少ない移動量で目的の文字を選択することができる。たとえば、図8や図9の事例において、ユーザが「い」を入力するつもりで文字キー10Aの左端縁部で左方向へのフリック操作を行うと、その操作によるタッチダウンが検出される左端縁部まで判別領域R0が拡張されるが、左方向への指の移動によってタッチ点はすぐに「い」の判別領域R1に移動するので、指の移動量がわずかでも判別領域R1内でタッチアップを検出することができる。他の文字「う」「え」「お」についても同様に、それぞれ文字キーの上端縁部、右端縁部、下端縁部で目的の文字に対応する方向への軽いフリック操作を行うことにより、目的の文字を選択することができる。
If the user is an expert, the intended character can be selected with a small amount of movement by intentionally moving the finger across the edge of the
上記のとおり、文字キー10における代表文字の判別領域R0の大きさによって、フリック入力の感度が変動するので、判別領域R0の大きさを適宜変更できるようにしてもよい。たとえば、ユーザに、フリック入力の感度調整のメニューを提示し、感度を高める設定操作が行われたことに応じて判別領域R0を小さくし、感度を低くする設定操作が行われたことに応じて判別領域R0を大きくすることができる。
As described above, since the sensitivity of flick input varies depending on the size of the representative character discrimination region R0 in the
上記の文字入力システム110が組み込まれたコンピュータ(文字入力装置)は、スマートフォン100に限らず、タブレット端末、スマートテレビ、ファクシミリ装置など、タッチパネルを操作部および表示部として機能させるタイプの情報処理装置全般(リモコンを含む。)に導入することができる。
The computer (character input device) in which the
1 タッチパネル
10,10A 文字キー
11 入力文字表示領域
12 ソフトウェアキーボード
100 スマートフォン
101 キーボード処理部
102 判別領域設定部
103 判別領域補正部
104 入力文字選択部
105 文字表示処理部
106 キー情報記憶部
107 判別領域情報記憶部
110 文字入力システム
P タッチダウンの検出点
R0 代表文字の判別領域
R1〜R4 代表文字以外の文字の判別領域
S1,S2,S3 補正領域
DESCRIPTION OF
Claims (5)
前記文字入力装置は、
前記タッチダウンが検出された文字キー内に当該文字キーに割り付けられた代表文字に対する判別領域を設定すると共に、この判別領域の外側に、当該文字キーに割り付けられた前記代表文字以外の各文字に対する判別領域を代表文字の判別領域に対するそれぞれの方位を異ならせて設定する判別領域設定手段と、設定された判別領域のうち前記タッチダウン後にタッチアップが検出された判別領域に対応する文字を、前記入力文字表示領域に表示する文字として選択する入力文字選択手段とを備え、
前記判別領域設定手段には、前記タッチダウンに応じて設定した前記代表文字の判別領域の外側に前記タッチダウンの検出点が位置する場合に、この判別領域に対する前記検出点の位置ずれ方向に沿って当該判別領域が拡張されて、前記検出点を囲む所定範囲が前記代表文字の拡張された判別領域に含まれるように、前記代表文字の判別領域と他の文字の判別領域との境界線を変更する補正手段が含まれる、文字入力用のプログラム。 The touch panel is configured with a software keyboard including a plurality of character keys to which a plurality of characters are assigned and an input character display area, and when a touchdown is detected with respect to any of the character keys of the software keyboard, A computer as a character input device having a function of selecting one of characters assigned to a character key in which the touch-down is detected according to a change in touch position and displaying the selected character in the input character display area A program for operating
The character input device includes:
A determination area for the representative character assigned to the character key is set in the character key in which the touchdown is detected, and for each character other than the representative character assigned to the character key outside the determination area. A discrimination area setting means for setting the discrimination area with different orientations with respect to the discrimination area of the representative character, and a character corresponding to the discrimination area in which touch-up is detected after the touch-down among the set discrimination areas, Input character selection means for selecting as a character to be displayed in the input character display area,
In the discrimination area setting means, when the touchdown detection point is located outside the discrimination area of the representative character set in accordance with the touchdown, the position of the detection point is shifted with respect to the discrimination area. The boundary area between the determination area of the representative character and the determination area of another character is set so that the predetermined area surrounding the detection point is included in the extended determination area of the representative character. A program for inputting characters, including correction means for changing.
前記補正手段は、前記代表文字の判別領域から他の文字の判別領域に向かう方向に沿う直線として、前記代表文字の判別領域の各辺に沿う2本の直線を設定し、これらの直線のうち前記代表文字の判別領域の各対角線の延長線と交わる直線における各交点の間の線分によって前記代表文字の判別領域の境界線を変更する、請求項2または3に記載された文字入力用のプログラム。 The determination area setting means sets a rectangular area smaller than the character key as the determination area of the representative character assigned to the character key in which touchdown is detected, with the character key being centered, and this determination. Set the discrimination area for the remaining characters by dividing the perimeter of the area with the diagonal extension of the discrimination area,
The correcting means sets two straight lines along each side of the representative character discrimination area as straight lines along a direction from the representative character discrimination area to another character discrimination area, and among these straight lines, 4. The character input area according to claim 2, wherein a boundary line of the representative character discrimination region is changed by a line segment between each intersection point in a straight line that intersects with an extension of each diagonal line of the representative character discrimination region. program.
前記タッチダウンが検出された文字キー内に当該文字キーに割り付けられた代表文字に対する判別領域を設定すると共に、この判別領域の外側に、当該文字キーに割り付けられた前記代表文字以外の各文字に対する判別領域を代表文字の判別領域に対するそれぞれの方位を異ならせて設定する判別領域設定手段と、設定された判別領域のうち前記タッチダウン後にタッチアップが検出された判別領域に対応する文字を、前記入力文字表示領域に表示する文字として選択する入力文字選択手段とを備え、
前記判別領域設定手段には、前記タッチダウンに応じて設定した前記代表文字の判別領域の外側に前記タッチダウンの検出点が位置する場合に、この判別領域に対する前記検出点の位置ずれ方向に沿って当該判別領域が拡張されて、前記検出点を囲む所定範囲が前記代表文字の拡張された判別領域に含まれるように、前記代表文字の判別領域と他の文字の判別領域との境界線を変更する補正手段が含まれる、文字入力装置。 The touch panel is configured with a software keyboard including a plurality of character keys to which a plurality of characters are assigned and an input character display area, and when a touchdown is detected with respect to any of the character keys of the software keyboard, A character input device that selects one of the characters assigned to the character key in which the touchdown is detected according to a change in touch position, and displays the selected character in the input character display area,
A determination area for the representative character assigned to the character key is set in the character key in which the touchdown is detected, and for each character other than the representative character assigned to the character key outside the determination area. A discrimination area setting means for setting the discrimination area with different orientations with respect to the discrimination area of the representative character, and a character corresponding to the discrimination area in which touch-up is detected after the touch-down among the set discrimination areas, Input character selection means for selecting as a character to be displayed in the input character display area,
In the discrimination area setting means, when the touchdown detection point is located outside the discrimination area of the representative character set in accordance with the touchdown, the position of the detection point is shifted with respect to the discrimination area. The boundary area between the determination area of the representative character and the determination area of another character is set so that the predetermined area surrounding the detection point is included in the extended determination area of the representative character. A character input device including correction means for changing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014045514A JP6217467B2 (en) | 2014-03-07 | 2014-03-07 | Program and character input device for character input system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014045514A JP6217467B2 (en) | 2014-03-07 | 2014-03-07 | Program and character input device for character input system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2015170212A JP2015170212A (en) | 2015-09-28 |
| JP6217467B2 true JP6217467B2 (en) | 2017-10-25 |
Family
ID=54202865
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014045514A Active JP6217467B2 (en) | 2014-03-07 | 2014-03-07 | Program and character input device for character input system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6217467B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006133887A (en) * | 2004-11-02 | 2006-05-25 | Konami Co Ltd | Indication accepting device, method for controlling recognition region, and program |
| JP5400578B2 (en) * | 2009-11-12 | 2014-01-29 | キヤノン株式会社 | Display control apparatus and control method thereof |
| JP5527304B2 (en) * | 2011-10-17 | 2014-06-18 | 株式会社デンソー | Input device |
| JP2015061180A (en) * | 2013-09-18 | 2015-03-30 | シャープ株式会社 | Information input device |
-
2014
- 2014-03-07 JP JP2014045514A patent/JP6217467B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2015170212A (en) | 2015-09-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6902234B2 (en) | Methods for inserting characters into strings and corresponding digital devices | |
| US20130002562A1 (en) | Virtual keyboard layouts | |
| US8760428B2 (en) | Multi-directional calibration of touch screens | |
| US20130271379A1 (en) | Character input device and character input method | |
| WO2012086133A1 (en) | Touch panel device | |
| CN105468271A (en) | Handwritten symbol recognition method, system and device | |
| JP5102894B1 (en) | Character input device and portable terminal device | |
| JP6217459B2 (en) | Program and information processing apparatus for character input system | |
| US8390590B2 (en) | Information input apparatus and information input method | |
| JP2011076173A (en) | Character input device, character input method and character input program | |
| US20110032190A1 (en) | Information input apparatus and information input method | |
| KR20130112410A (en) | Method and apparatus for detecting coordinates in a pen-based display device | |
| JP2008226097A (en) | Touch panel system | |
| JP6217467B2 (en) | Program and character input device for character input system | |
| JP2014195202A (en) | Symbol inputting device and program | |
| US20110316791A1 (en) | Touch pad character entering system and method | |
| US11244138B2 (en) | Hologram-based character recognition method and apparatus | |
| KR101366528B1 (en) | Method and apparatus for inputting character by modifying mistyped-character using recognition of drag direction | |
| US9563355B2 (en) | Method and system of data entry on a virtual interface | |
| TWI416401B (en) | Method of improving the accuracy of selecting a soft button displayed on a touch-sensitive screen and related portable electronic device | |
| KR20160044194A (en) | Method and apparatus for selecting an object at plurality of objects on electronic device with touch screen | |
| JP6229582B2 (en) | Information processing apparatus, character input program, and character input method | |
| JP2016200896A (en) | Character input method, apparatus, and program | |
| KR20090009184A (en) | Character input device and method of electronic device | |
| JP6156709B2 (en) | Information processing apparatus, information processing method, program, and information processing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20160603 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161209 |
|
| TRDD | Decision of grant or rejection written | ||
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170823 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20170829 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170911 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6217467 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |