JP5615579B2 - Character input device, character input method, and character input program - Google Patents

Character input device, character input method, and character input program Download PDF

Info

Publication number
JP5615579B2
JP5615579B2 JP2010076293A JP2010076293A JP5615579B2 JP 5615579 B2 JP5615579 B2 JP 5615579B2 JP 2010076293 A JP2010076293 A JP 2010076293A JP 2010076293 A JP2010076293 A JP 2010076293A JP 5615579 B2 JP5615579 B2 JP 5615579B2
Authority
JP
Japan
Prior art keywords
character
contact
characters
button
input
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
JP2010076293A
Other languages
Japanese (ja)
Other versions
JP2011209964A (en
JP2011209964A5 (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.)
Kyocera Corp
Original Assignee
Kyocera Corp
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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2010076293A priority Critical patent/JP5615579B2/en
Priority to PCT/JP2011/057823 priority patent/WO2011122627A1/en
Priority to US13/638,159 priority patent/US9256363B2/en
Publication of JP2011209964A publication Critical patent/JP2011209964A/en
Publication of JP2011209964A5 publication Critical patent/JP2011209964A5/ja
Application granted granted Critical
Publication of JP5615579B2 publication Critical patent/JP5615579B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、文字入力装置、文字入力方法および文字入力プログラムに関する。 The present invention relates to a character input device, a character input method, and a character input program.

近年、直感的な操作を可能にするとともに、キーボードのように物理的に大きな面積を必要とするデバイスを具備しない小型の端末装置を実現するために、タッチパネルが広く利用されるようになっている。タッチパネルを用いて文字を入力するための技術として、タッチパネル上で文字を手書き入力する技術(例えば、特許文献1)と、タッチパネル上に表示された仮想的なキーボード(以下、「仮想キーボード」という)を用いて文字を入力する技術(例えば、特許文献2)が知られている。   In recent years, touch panels have been widely used to realize a small terminal device that enables intuitive operation and does not include a device that requires a physically large area such as a keyboard. . As a technique for inputting characters using the touch panel, a technique for inputting characters by handwriting on the touch panel (for example, Patent Document 1) and a virtual keyboard (hereinafter referred to as “virtual keyboard”) displayed on the touch panel. A technique (for example, Patent Document 2) for inputting characters using a character is known.

特開2003−141448号公報JP 2003-141448 A 特開2008−108233号公報JP 2008-108233 A

しかしながら、タッチパネル上で文字を手書き入力する従来技術には、入力と文字認識処理に時間がかかるため高速な文字入力が困難であるという問題があった。また、仮想キーボードを用いて文字を入力する従来技術でも、入力したい文字に対応するキーごとに指をタッチパネルに対して上げ下げする動作を繰り返す必要があったため、高速な文字入力が困難であった。   However, the conventional technique for inputting characters by handwriting on the touch panel has a problem that it is difficult to input characters at high speed because input and character recognition processing take time. Further, even in the conventional technique for inputting characters using a virtual keyboard, it is necessary to repeat the operation of raising and lowering the finger with respect to the touch panel for each key corresponding to the character to be input, so that high-speed character input is difficult.

本発明は、上記に鑑みてなされたものであって、タッチパネル上で高速に文字を入力することを可能にする文字入力装置、文字入力方法および文字入力プログラムを提供することを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to provide a character input device, a character input method, and a character input program that enable high-speed character input on a touch panel.

上述した課題を解決し、目的を達成するために、本発明は、文字入力装置であって、接触検出部と、文字がそれぞれ対応付けられた複数のキーを表示する表示部と、を有し、一の位置から他の位置までの連続的な接触を前記接触検出部が検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた文字のうち少なくとも一つを抽出し、当該抽出した文字を用いて文字列を作成する。 In order to solve the above-described problems and achieve the object, the present invention is a character input device having a contact detection unit and a display unit that displays a plurality of keys each associated with a character. When the contact detection unit detects a continuous contact from one position to another position, the key displayed at the position where the contact has passed straight without staying in the continuous contact process. At least one of the characters associated with is extracted, and a character string is created using the extracted characters.

上述した課題を解決し、目的を達成するために、本発明は、文字入力装置であって、接触検出部と、英字がそれぞれ対応付けられた複数のキーを表示する表示部と、を有し、一の位置から他の位置までの連続的な接触を前記接触検出部が検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた英字のうち少なくとも一つを抽出し、当該抽出した英字を用いてかな文字を作成する。 In order to solve the above-described problems and achieve the object, the present invention is a character input device, and includes a contact detection unit and a display unit that displays a plurality of keys each associated with an alphabetic character. When the contact detection unit detects a continuous contact from one position to another position, the key displayed at the position where the contact has passed straight without staying in the continuous contact process. At least one of the alphabetic characters associated with is extracted, and a kana character is created using the extracted alphabetic character.

上述した課題を解決し、目的を達成するために、本発明は、文字入力装置であって、接触検出部と、文字がそれぞれ対応付けられた複数のキーを表示する表示部と、を有し、一の位置から他の位置までの連続的な接触を前記接触検出部が検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示された複数のキーそれぞれに対応付けられた複数の文字のうち少なくとも一部の複数の文字を抽出し、当該抽出した複数の文字それぞれを用い複数の文字列を作成する。 In order to solve the above-described problems and achieve the object, the present invention is a character input device having a contact detection unit and a display unit that displays a plurality of keys each associated with a character. When the contact detection unit detects continuous contact from one position to another position, in the process of the continuous contact, a plurality of positions displayed at positions where the contact is linearly passed without staying At least some of the plurality of characters associated with each of the keys are extracted, and a plurality of character strings using each of the extracted plurality of characters is created.

また、上述した課題を解決し、目的を達成するために、本発明は、文字入力方法であって、文字入力装置が、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた文字のうち少なくとも一つを抽出し、当該抽出した文字を用いて文字列を作成する。 In order to solve the above-described problems and achieve the object, the present invention is a character input method, in which the character input device detects continuous contact from one position to another position. in the course of the continuous contact, extracting at least one of the contact associated with a key displayed on the linearly passing position without stay character string by using the extracted character Create

また、上述した課題を解決し、目的を達成するために、本発明は、文字入力方法であって、文字入力装置が、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた英字のうち少なくとも一つを抽出し、当該抽出した英字を用いてかな文字を作成する。 In order to solve the above-described problems and achieve the object, the present invention is a character input method, in which the character input device detects continuous contact from one position to another position. In the continuous contact process, extract at least one of the alphabetic characters associated with the key displayed at the position where the contact was passed linearly without stopping, and use the extracted alphabetic characters to extract kana characters. Create

また、上述した課題を解決し、目的を達成するために、本発明は、文字入力方法であって、文字入力装置が、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示された複数のキーそれぞれに対応付けられた複数の文字のうち少なくとも一部の複数の文字を抽出し、当該抽出した複数の文字それぞれを用い複数の文字列を作成する。 In order to solve the above-described problems and achieve the object, the present invention is a character input method, in which the character input device detects continuous contact from one position to another position. In the process of the continuous contact, extract at least some of the plurality of characters associated with each of the plurality of keys displayed at the position where the contact has been linearly passed without staying , A plurality of character strings using each of the extracted plurality of characters is created.

また、上述した課題を解決し、目的を達成するために、本発明は、文字入力プログラムであって、文字入力装置に、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた文字のうち少なくとも一つを抽出し、当該抽出した文字を用いて文字列を作成する機能を発揮させる。 Further, in order to solve the above-described problems and achieve the object, the present invention is a character input program, and when the character input device detects continuous contact from one position to another position, in the course of the continuous contact, extracting at least one of the contact associated with a key displayed on the linearly passing position without stay character string by using the extracted character Demonstrate the ability to create.

また、上述した課題を解決し、目的を達成するために、本発明は、文字入力プログラムであって、文字入力装置に、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた英字のうち少なくとも一つを抽出し、当該抽出した英字を用いてかな文字を作成する機能を発揮させる。 Further, in order to solve the above-described problems and achieve the object, the present invention is a character input program, and when the character input device detects continuous contact from one position to another position, In the continuous contact process, extract at least one of the alphabetic characters associated with the key displayed at the position where the contact was passed linearly without stopping, and use the extracted alphabetic characters to extract kana characters. Demonstrate the ability to create.

また、上述した課題を解決し、目的を達成するために、本発明は、文字入力プログラムであって、文字入力装置に、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示された複数のキーそれぞれに対応付けられた複数の文字のうち少なくとも一部の複数の文字を抽出し、当該抽出した複数の文字それぞれを用い複数の文字列を作成する機能を発揮させる。 Further, in order to solve the above-described problems and achieve the object, the present invention is a character input program, and when the character input device detects continuous contact from one position to another position, In the process of the continuous contact, extract at least some of the plurality of characters associated with each of the plurality of keys displayed at the position where the contact has been linearly passed without staying , The function of creating a plurality of character strings using each of the extracted plurality of characters is exhibited.

本発明に係る文字入力装置、文字入力方法および文字入力プログラムは、タッチパネル上で高速に文字を入力することを可能にするという効果を奏する。 The character input device, the character input method, and the character input program according to the present invention have the effect of allowing characters to be input at high speed on the touch panel.

図1は、携帯電話端末の外観を示す正面図である。FIG. 1 is a front view showing an appearance of a mobile phone terminal. 図2は、タッチパネル上に表示される仮想キーボードを示す図である。FIG. 2 is a diagram illustrating a virtual keyboard displayed on the touch panel. 図3は、ボタン領域内を指が通過した例を示す図である。FIG. 3 is a diagram illustrating an example in which a finger passes through the button area. 図4は、ボタン領域内で指の移動方向が変化した例を示す図である。FIG. 4 is a diagram illustrating an example in which the moving direction of the finger is changed in the button area. 図5は、ボタン領域内で指が回転する軌跡を描いた例を示す図である。FIG. 5 is a diagram illustrating an example of a trajectory in which a finger rotates within a button area. 図6は、文字入力の操作例を示す図である。FIG. 6 is a diagram illustrating an operation example of character input. 図7は、携帯電話端末の機能の概略構成を示すブロック図である。FIG. 7 is a block diagram showing a schematic configuration of functions of the mobile phone terminal. 図8は、仮想キーボードデータの一例を示す図である。FIG. 8 is a diagram illustrating an example of virtual keyboard data. 図9は、携帯電話端末による文字入力処理の処理手順を示すフロー図である。FIG. 9 is a flowchart showing a processing procedure of character input processing by the mobile phone terminal. 図10は、入力文字バッファの一例を示す図である。FIG. 10 is a diagram illustrating an example of the input character buffer. 図11は、一時バッファの一例を示す図である。FIG. 11 is a diagram illustrating an example of a temporary buffer. 図12は、タッチパネル上に表示される入力文字列候補表示領域を示す図である。FIG. 12 is a diagram showing an input character string candidate display area displayed on the touch panel. 図13は、文字入力判定処理の処理手順を示すフロー図である。FIG. 13 is a flowchart showing a processing procedure for character input determination processing. 図14は、文字列検索処理の処理手順を示すフロー図である。FIG. 14 is a flowchart showing the procedure of the character string search process. 図15は、優先度を細分化した場合の一時バッファの一例を示す図である。FIG. 15 is a diagram illustrating an example of a temporary buffer when priority is subdivided.

以下、本発明につき図面を参照しつつ詳細に説明する。なお、以下の説明により本発明が限定されるものではない。また、以下の説明における構成要素には、当業者が容易に想定できるもの、実質的に同一のもの、いわゆる均等の範囲のものが含まれる。以下においては、端末装置として携帯電話端末を例として説明するが、本発明の適用対象は携帯電話端末に限定されるものではなく、タッチパネルを備える各種装置、例えば、PHS(Personal Handyphone System)、PDA、ポータブルナビゲーション装置、パーソナルコンピュータ、ゲーム機等に対しても本発明は適用できる。   Hereinafter, the present invention will be described in detail with reference to the drawings. The present invention is not limited to the following description. In addition, constituent elements in the following description include those that can be easily assumed by those skilled in the art, those that are substantially the same, and those in a so-called equivalent range. In the following, a mobile phone terminal will be described as an example of a terminal device. However, the application target of the present invention is not limited to a mobile phone terminal, and various devices including a touch panel, such as PHS (Personal Handyphone System), PDA, etc. The present invention can also be applied to portable navigation devices, personal computers, game machines, and the like.

図1は、本発明の端末装置の一実施形態である携帯電話端末1の外観を示す正面図である。携帯電話端末1は、タッチパネル2と、ボタン3A、ボタン3Bおよびボタン3Cからなる入力部3を備える。タッチパネル2は、文字、図形、画像等を表示するとともに、指、スタイラス、ペン等(以下、単に「指」という)を用いてタッチパネル2に対して行われる各種動作を検出する。入力部3は、いずれかのボタンが押下された場合に、押下されたボタンに対応する機能を起動させる。   FIG. 1 is a front view showing an appearance of a mobile phone terminal 1 which is an embodiment of the terminal device of the present invention. The mobile phone terminal 1 includes a touch panel 2 and an input unit 3 including a button 3A, a button 3B, and a button 3C. The touch panel 2 displays characters, figures, images, and the like, and detects various operations performed on the touch panel 2 using a finger, stylus, pen, or the like (hereinafter simply referred to as “finger”). When any button is pressed, the input unit 3 activates a function corresponding to the pressed button.

携帯電話端末1は、利用者から文字の入力を受け付けるために、図2に示すように、タッチパネル2上に仮想キーボード4を表示させる。仮想キーボード4は、物理的なキーボードのキーを模した複数の仮想的なボタンを含む。例えば、利用者が仮想キーボード4内の「Q」のボタンに指を置いて(接触して)離す動作をすると、その動作がタッチパネル2によって検出され、携帯電話端末1は、「Q」という文字を入力として受け付ける。   The cellular phone terminal 1 displays a virtual keyboard 4 on the touch panel 2 as shown in FIG. 2 in order to accept input of characters from the user. The virtual keyboard 4 includes a plurality of virtual buttons that imitate physical keyboard keys. For example, when the user puts a finger on (touches) and releases the button “Q” in the virtual keyboard 4, the operation is detected by the touch panel 2, and the mobile phone terminal 1 displays the character “Q”. Is accepted as input.

携帯電話端末1は、さらに、仮想キーボード4上での連続方式による文字の入力を受け付ける。連続方式とは、利用者が指をタッチパネル2に接触させたまま仮想キーボード4上を移動させることによって複数の文字を連続して入力することを可能にする方式である。連続方式では、利用者は、例えば、指をタッチパネル2に接触させたままで、「W」のボタン、「E」のボタン、「T」のボタンの順に滑るように移動させることで「WET」という文字列を入力することができる。   The cellular phone terminal 1 further accepts input of characters by a continuous method on the virtual keyboard 4. The continuous method is a method that allows a user to continuously input a plurality of characters by moving the virtual keyboard 4 while keeping a finger in contact with the touch panel 2. In the continuous method, for example, a user keeps a finger in contact with the touch panel 2 and moves the user to slide in the order of a “W” button, an “E” button, and a “T” button. You can enter a string.

このように、連続方式では、ボタン毎に指を上げ下げする動作を行わずに、タッチパネル2上で指を滑るように移動させるだけで複数の文字を入力することができるため、非常に高速に文字を入力することができる。   In this way, in the continuous method, a plurality of characters can be input simply by sliding the finger on the touch panel 2 without performing the operation of raising and lowering the finger for each button. Can be entered.

ただし、連続方式では、利用者が指を移動させた軌跡上にある各ボタンについて、利用者がそのボタンに対応する文字を入力するために意図的に触れたのか、あるいは、利用者が他のボタン上へ指を移動させるために単にその上を通過させたに過ぎないのかを判定する必要がある。例えば、仮想キーボード4の配列がQWERTY配列であり、利用者が上記の「WET」という単語を入力したいものとする。この場合、利用者の指は「E」のボタンから「T」のボタンへ移動する際に、それらのボタンの間にある「R」のボタン上を通過することになる。このため、「R」のボタンについては意図的に触れたわけではないと判定できなかった場合には、利用者の意図に反して「WERT」という文字列が入力として受け付けられてしまう。   However, in the continuous method, for each button on the locus where the user moves his / her finger, the user has intentionally touched to input the character corresponding to the button, or the user In order to move a finger over the button, it is necessary to determine if it was simply passed over it. For example, it is assumed that the arrangement of the virtual keyboard 4 is the QWERTY arrangement and the user wants to input the word “WET”. In this case, when the user's finger moves from the “E” button to the “T” button, the user's finger passes over the “R” button between the buttons. For this reason, if it cannot be determined that the “R” button is not intentionally touched, the character string “WERT” is accepted as an input against the user's intention.

そこで、携帯電話端末1は、利用者が指を移動させた軌跡上にあるボタンのうち、特定の動作がタッチパネル2によって検出された位置に表示されているボタンを、利用者が文字を入力するために意図的に触れたものであると判定する。具体的には、携帯電話端末1は、指の接触を開始する動作がタッチパネル2によって検出された場合、接触の開始が検出された位置にボタンがあれば、そのボタンは意図的に触れられたと判定する。また、携帯電話端末1は、指の移動が終了しタッチパネル2から離れる動作がタッチパネル2によって検出された場合、接触の終了が検出された位置にボタンがあれば、そのボタンは意図的に触れられたと判定する。   Therefore, in the mobile phone terminal 1, the user inputs a character among the buttons on the locus on which the user moves his / her finger, the button being displayed at the position where the specific operation is detected by the touch panel 2. Therefore, it is determined that the object is intentionally touched. Specifically, when the touch panel 2 detects an operation for starting finger contact, the mobile phone terminal 1 is said to be touched intentionally if there is a button at a position where the start of contact is detected. judge. Further, when the touch panel 2 detects an operation of moving the finger and moving away from the touch panel 2, the mobile phone terminal 1 is intentionally touched if there is a button at the position where the end of contact is detected. It is determined that

また、携帯電話端末1は、指がタッチパネル2に触れたまま移動方向を変更する動作がタッチパネル2によって検出された場合、移動方向の変更が検出された位置にボタンがあれば、そのボタンは意図的に触れられたと判定する。具体的には、携帯電話端末1は、指がボタンに進入したときの移動方向と指がボタンから出るときの移動方向とを比較し、移動方向の角度差が閾値よりも大きければ、利用者が意図的にそのボタンに触れたと判定する。   Further, when an operation for changing the movement direction is detected by the touch panel 2 while the finger is touching the touch panel 2, if the mobile phone terminal 1 has a button at a position where the change of the movement direction is detected, the button is intended. It is determined that it has been touched. Specifically, the mobile phone terminal 1 compares the moving direction when the finger enters the button and the moving direction when the finger comes out of the button, and if the angle difference between the moving directions is larger than the threshold, the user Determines that the button is intentionally touched.

これは、他のボタンへの移動中において、単に通過するに過ぎない場合、指はボタン上を一定方向へ移動し、図3に示すように進入時の移動方向(ベクトル)を示すV1と脱出時の移動方向を示すV2の角度差は小さくなると考えられるためである。また、図4に示すように進入時の移動方向を示すV3と脱出時の移動方向を示すV4の角度差の角度差が大きい場合、利用者が意図的にそのボタンに触れた後に他のボタンに触れるために移動方向を変更した可能性が高いためである。つまり、このボタンが目的ボタンの一つであったと判定できる。   This is because if the finger simply passes while moving to another button, the finger moves in a certain direction on the button, and as shown in FIG. 3, escapes with V1 indicating the moving direction (vector) at the time of entry. This is because the angular difference of V2 indicating the moving direction at that time is considered to be small. In addition, as shown in FIG. 4, when the angle difference between V3 indicating the moving direction at the time of entry and V4 indicating the moving direction at the time of exit is large, another button after the user intentionally touches the button. This is because there is a high possibility that the moving direction has been changed to touch. That is, it can be determined that this button is one of the purpose buttons.

また、携帯電話端末1は、図5に示すように、指がタッチパネル2に触れたままあるボタン領域内で回転する軌跡を描いて移動する動作がタッチパネル2によって検出された場合に、利用者が意図的にそのボタンに触れたと判定する。単に通過するに過ぎない場合に指がこのような軌跡を描いて移動することはないと考えられるためである。なお、回転する軌跡に限らずに、山型や波状等の特徴的な形状の軌跡が指によってボタン領域内で描かれた場合に、利用者が意図的にそのボタンに触れたと判定することとしてもよい。   In addition, as shown in FIG. 5, when the touch panel 2 detects that the mobile phone terminal 1 moves while drawing a trajectory that rotates in a button area where the finger is still touching the touch panel 2, It is determined that the button is intentionally touched. This is because it is considered that the finger does not move along such a locus when it merely passes. In addition, it is determined that the user has intentionally touched the button when a trajectory of a characteristic shape such as a mountain shape or a wave shape is drawn with a finger in the button area, not limited to a rotating trajectory. Also good.

このようにボタン領域内で特徴的な形状の軌跡を描く指の移動が検出された場合にそのボタンが意図的に触れられたと判定することにより、利用者は同じ文字を容易に連続して入力することが可能になる。例えば、「W」という文字を3回連続して入力したい場合、利用者は「W」のボタン領域内で円を3回描くように指を移動させればよい。ここで、例えば、ボタン領域内での指の移動ベクトルの角度の総計が360度を超える度に1回転とカウントすることにより、回転数をカウントすることができる。   Thus, when the movement of a finger that draws a trajectory of a characteristic shape in the button area is detected, it is determined that the button has been intentionally touched, so that the user can easily input the same character continuously. It becomes possible to do. For example, if the user wishes to input the letter “W” three times in succession, the user may move his / her finger to draw a circle three times within the “W” button area. Here, for example, the number of rotations can be counted by counting one rotation every time the total angle of finger movement vectors in the button region exceeds 360 degrees.

利用者が携帯電話端末1に「エレクトロニクス(EREKUTORONIKUSU)」と入力する場合の操作例を図6に示す。s1では、「E」のボタン領域内に指が置かれた後、指がタッチパネル2に触れたまま、「R」、「E」、「H」、「J」、「K」の順にボタンの上を通過している。この場合、携帯電話端末1は、指が置かれた「E」のボタンと、進入方向と脱出方向の角度差が閾値よりも大きい「R」、「E」、「K」のボタンが意図的に触れられたと判断する。   FIG. 6 shows an operation example when the user inputs “electronics (EREKTORONIKUSU)” to the mobile phone terminal 1. In s1, after the finger is placed in the button area of “E”, the buttons are in the order of “R”, “E”, “H”, “J”, “K” with the finger touching the touch panel 2. Has passed over. In this case, the cellular phone terminal 1 intentionally includes an “E” button on which a finger is placed, and “R”, “E”, and “K” buttons in which the angle difference between the entry direction and the exit direction is greater than a threshold value. Judged that it was touched.

s2では、指がタッチパネル2に触れたまま、「U」、「Y」、「T」、「Y」、「U」、「I」の順にボタンの上を通過している。この場合、携帯電話端末1は、進入方向と脱出方向の角度差が閾値よりも大きい「U」、「T」のボタンが意図的に触れられたと判断する。s3では、指がタッチパネル2に触れたまま、「O」、「I」、「U」、「Y」、「T」、「R」、「T」、「Y」、「U」、「I」の順にボタンの上を通過している。この場合、携帯電話端末1は、進入方向と脱出方向の角度差が閾値よりも大きい「O」、「R」のボタンが意図的に触れられたと判断する。   In s2, the finger passes through the buttons in the order of “U”, “Y”, “T”, “Y”, “U”, “I” while touching the touch panel 2. In this case, the cellular phone terminal 1 determines that the “U” and “T” buttons whose angle difference between the approach direction and the exit direction is larger than the threshold value are intentionally touched. In s3, with the finger touching the touch panel 2, “O”, “I”, “U”, “Y”, “T”, “R”, “T”, “Y”, “U”, “I” ”Is passed over the buttons in the order. In this case, the mobile phone terminal 1 determines that the “O” and “R” buttons whose angle difference between the approach direction and the exit direction is larger than the threshold value are intentionally touched.

s4では、指がタッチパネル2に触れたまま、「O」、「K」、「N」、「J」の順にボタンの上を通過している。この場合、携帯電話端末1は、進入方向と脱出方向の角度差が閾値よりも大きい「O」、「N」のボタンが意図的に触れられたと判断する。s5では、指がタッチパネル2に触れたまま、「I」、「K」、「U」、「G」、「F」、「D」、「S」、「R」、「T」、「Y」の順にボタンの上を通過している。この場合、携帯電話端末1は、進入方向と脱出方向の角度差が閾値よりも大きい「I」、「K」、「U」、「S」のボタンが意図的に触れられたと判断する。   In s4, the finger passes over the buttons in the order of “O”, “K”, “N”, and “J” while touching the touch panel 2. In this case, the mobile phone terminal 1 determines that the “O” and “N” buttons whose angle difference between the approach direction and the exit direction is larger than the threshold value are intentionally touched. In s5, with the finger touching the touch panel 2, “I”, “K”, “U”, “G”, “F”, “D”, “S”, “R”, “T”, “Y” ”Is passed over the buttons in the order. In this case, the mobile phone terminal 1 determines that the “I”, “K”, “U”, and “S” buttons whose angle difference between the approach direction and the exit direction is larger than the threshold value are intentionally touched.

s6では、タッチパネル2に触れたまま「U」のボタンへ移動した指が、「U」のボタン領域内でタッチパネル2から離れている。この場合、携帯電話端末1は、指がタッチパネル2から離れた位置にある「U」のボタンが意図的に触れられたと判断する。   In s6, the finger moved to the “U” button while touching the touch panel 2 is separated from the touch panel 2 in the “U” button area. In this case, the mobile phone terminal 1 determines that the “U” button with the finger away from the touch panel 2 is intentionally touched.

以上の操作により、携帯電話端末1は、「E」、「R」、「E」、「K」、「U」、「T」、「O」、「R」、「O」、「N」、「I」、「K」、「U」、「S」、「U」の順にボタンが意図的に触れられたと判定し、これらのボタンに対応する文字を時系列に連結した「エレクトロニクス(EREKUTORONIKUSU)」を入力された文字列として受け付ける。この文字列は、利用者が入力しようとした文字列と一致する。   Through the above operation, the cellular phone terminal 1 can be connected to “E”, “R”, “E”, “K”, “U”, “T”, “O”, “R”, “O”, “N”. , “I”, “K”, “U”, “S”, “U” are determined to have been intentionally touched, and the characters corresponding to these buttons are connected in time series to “Electronics (EREKTORONIKUSU). ) "Is accepted as the input character string. This character string matches the character string that the user tried to input.

図6の例が示すように、携帯電話端末1は、利用者の指がタッチパネル2に触れたまま移動した軌跡上の各ボタンについて、意図して触れられたのか、単にその上を通過したに過ぎないのかを、利用者が自然に行う動作に基づいて精度よく判定して文字の入力を受け付ける。このため、利用者は、携帯電話端末1に対して文字を高速かつ正確に入力することができる。   As shown in the example of FIG. 6, the cellular phone terminal 1 has either intentionally touched each button on the trajectory that the user's finger moved while touching the touch panel 2 or simply passed over it. Whether or not it is too much is accurately determined based on the action that the user naturally performs, and character input is accepted. Therefore, the user can input characters to the mobile phone terminal 1 at high speed and accurately.

なお、携帯電話端末1は、単に指が通過したに過ぎないと判定したボタンに対応する文字を無視するのではなく、入力精度を向上させるためにそれらの文字を利用する。具体的には、携帯電話端末1は、利用者が意図的に触れたと判定したボタンに対応する文字を時系列に連結した文字列を辞書と照合し、該当する単語が見つからない場合は、単に指が通過したに過ぎないと判定したボタンに対応する文字を補完して辞書との照合をやり直して正当な単語を見つけ出す。   Note that the cellular phone terminal 1 does not ignore characters corresponding to the button that is determined that the finger has just passed, but uses those characters in order to improve input accuracy. Specifically, the cellular phone terminal 1 collates a character string obtained by concatenating characters corresponding to a button determined to have been intentionally touched by the user with a dictionary, and if a corresponding word is not found, The character corresponding to the button determined to have only passed the finger is complemented, and collation with the dictionary is performed again to find a valid word.

例えば、利用者が携帯電話端末1に対して「WET」という単語を入力したい場合、利用者は、「W」のボタン領域内に指を置いた後、タッチパネル2に触れたまま指を「T」のボタンの方向へ移動させ、「T」のボタン領域内で指をタッチパネル2から離す。この場合、指が置かれた「W」のボタンと指が離れた「T」のボタンは意図的に触れられたと判定されるが、指が移動する軌道上にある「E」と「R」のボタンは、進入方向と脱出方向の角度差が小さいため、単に通過したに過ぎないと判定される。   For example, when the user wants to input the word “WET” to the mobile phone terminal 1, the user places the finger in the “W” button area, and then touches the touch panel 2 with the finger “T”. "" Is moved in the direction of the button "", and the finger is released from the touch panel 2 within the button area "T". In this case, it is determined that the “W” button on which the finger is placed and the “T” button on which the finger is separated are intentionally touched, but “E” and “R” on the trajectory along which the finger moves. Since the angle difference between the approach direction and the exit direction is small, it is determined that the button has only passed.

しかしながら、利用者が意図的に触れたと判定したボタンに対応する文字を時系列に連結した文字列である「WT」は辞書に存在しない。そこで、携帯電話端末1は、単に通過したに過ぎないと判定したボタンに対応する文字を時系列に補完して、「WET」、「WRT」、「WERT」という候補を作成し、各候補を辞書と照合する。この場合、「WET」という単語が辞書に含まれるため、携帯電話端末1は、「WET」を入力された文字として受け付ける。この文字列は、利用者が入力しようとした文字列と一致する。   However, “WT”, which is a character string obtained by concatenating characters corresponding to a button determined to have been intentionally touched by the user in time series, does not exist in the dictionary. Therefore, the mobile phone terminal 1 complements the characters corresponding to the buttons that are determined to have just passed through in time series to create candidates “WET”, “WRT”, and “WERT”, and sets each candidate as Check against a dictionary. In this case, since the word “WET” is included in the dictionary, the cellular phone terminal 1 accepts “WET” as an input character. This character string matches the character string that the user tried to input.

ところで、「WET」という単語を入力する場合、利用者は、タッチパネル2に触れたまま指を「W」のボタンから「T」のボタンの方向へ移動させる最中に、「E」のボタンの中で回転する軌道を描いてもよい。このような操作をすることにより、利用者は、「E」のボタンに意図的に触れたことを携帯電話端末1に明示的に示して、入力した文字列の識別精度を向上させることができる。   By the way, when inputting the word “WET”, the user moves the finger from the “W” button toward the “T” button while touching the touch panel 2, A trajectory that rotates inside may be drawn. By performing such an operation, the user can explicitly indicate to the mobile phone terminal 1 that the user has intentionally touched the “E” button, and can improve the identification accuracy of the input character string. .

次に、携帯電話端末1の機能と制御部との関係を説明する。図7は、図1に示す携帯電話端末1の機能の概略構成を示すブロック図である。図7に示すように携帯電話端末1は、タッチパネル2と、入力部3と、電源部5と、通信部6と、スピーカ7と、マイク8と、記憶部9と、主制御部10と、RAM(Random Access Memory)11とを有する。   Next, the relationship between the function of the mobile phone terminal 1 and the control unit will be described. FIG. 7 is a block diagram showing a schematic configuration of functions of the mobile phone terminal 1 shown in FIG. As shown in FIG. 7, the mobile phone terminal 1 includes a touch panel 2, an input unit 3, a power supply unit 5, a communication unit 6, a speaker 7, a microphone 8, a storage unit 9, a main control unit 10, A RAM (Random Access Memory) 11 is included.

タッチパネル2は、表示部2Bと、表示部2Bに重畳されたタッチセンサ2Aとを有する。タッチセンサ2Aは、指を用いてタッチパネル2に対して行われた各種動作を、動作が行われた場所のタッチパネル2上での位置とともに検出する。タッチセンサ2Aによって検出される動作には、指をタッチパネル2の表面に接触させる動作や、指をタッチパネル2の表面に接触させたまま移動させる動作や、指をタッチパネル2の表面から離す動作が含まれる。なお、タッチセンサ2Aは、感圧式、静電式等のいずれの検出方式を採用していてもよい。表示部2Bは、例えば、液晶ディスプレイ(LCD、Liquid Crystal Display)や、有機EL(Organic Electro−Luminescence)パネルなどで構成され、文字、図形、画像等を表示する。   The touch panel 2 includes a display unit 2B and a touch sensor 2A superimposed on the display unit 2B. The touch sensor 2A detects various operations performed on the touch panel 2 using a finger together with the position on the touch panel 2 where the operation is performed. The operations detected by the touch sensor 2 </ b> A include an operation of bringing a finger into contact with the surface of the touch panel 2, an operation of moving the finger while keeping the surface in contact with the touch panel 2, and an operation of moving the finger away from the surface of the touch panel 2. It is. The touch sensor 2A may employ any detection method such as a pressure-sensitive method or an electrostatic method. The display unit 2B includes, for example, a liquid crystal display (LCD), an organic EL (Organic Electro-Luminescence) panel, and the like, and displays characters, figures, images, and the like.

入力部3は、物理的なボタン等を通じて利用者の操作を受け付け、受け付けた操作に対応する信号を主制御部10へ送信する。電源部5は、蓄電池または外部電源から得られる電力を、主制御部10を含む携帯電話端末1の各機能部へ供給する。通信部6は、基地局によって割り当てられるチャネルを介し、基地局との間でCDMA方式などによる無線信号回線を確立し、基地局との間で電話通信及び情報通信を行う。スピーカ7は、電話通信における相手側の音声や着信音等を出力する。マイク8は、利用者等の音声を電気的な信号へ変換する。   The input unit 3 receives a user operation through a physical button or the like, and transmits a signal corresponding to the received operation to the main control unit 10. The power supply unit 5 supplies power obtained from a storage battery or an external power supply to each functional unit of the mobile phone terminal 1 including the main control unit 10. The communication unit 6 establishes a radio signal line by a CDMA system or the like with a base station via a channel assigned by the base station, and performs telephone communication and information communication with the base station. The speaker 7 outputs the other party's voice, ringtone, and the like in telephone communication. The microphone 8 converts the voice of the user or the like into an electrical signal.

記憶部9は、例えば、不揮発性メモリや磁気記憶装置であり、主制御部10での処理に利用されるプログラムやデータを保存する。具体的には、記憶部9は、メールの送受信や閲覧のためのメールプログラム9Aや、WEBページの閲覧のためのブラウザプログラム9Bや、上述した連続方式での文字入力を受け付けるための文字入力プログラム9Cや、文字入力時にタッチパネル2に表示される仮想キーボードに関する定義を含む仮想キーボードデータ9Dや、正当な文字列が登録された辞書データ9Eを記憶する。記憶部9には、携帯電話端末1の基本的な機能を実現するオペレーティングシステムプログラムや、氏名、電話番号、メールアドレス等が登録されたアドレス帳データ等の他のプログラムやデータも記憶される。   The storage unit 9 is, for example, a nonvolatile memory or a magnetic storage device, and stores programs and data used for processing in the main control unit 10. Specifically, the storage unit 9 includes a mail program 9A for sending / receiving and browsing mails, a browser program 9B for browsing WEB pages, and a character input program for receiving character input in the continuous mode described above. 9C, virtual keyboard data 9D including definitions relating to the virtual keyboard displayed on the touch panel 2 when a character is input, and dictionary data 9E in which a valid character string is registered are stored. The storage unit 9 also stores an operating system program that realizes basic functions of the mobile phone terminal 1 and other programs and data such as address book data in which names, telephone numbers, mail addresses, and the like are registered.

主制御部10は、例えば、CPU(Central Processing Unit)であり、携帯電話端末1の動作を統括的に制御する。具体的には、主制御部10は、記憶部9に記憶されているデータを必要に応じて参照しつつ、記憶部9に記憶されているプログラムを実行して、タッチパネル2、通信部6等を制御することによって各種処理を実行する。主制御部10は、記憶部9に記憶されているプログラムや、処理を実行することによって取得/生成/加工されたデータを、一時的な記憶領域を提供するRAM11に必要に応じて展開する。なお、主制御部10が実行するプログラムや参照するデータは、通信部6による無線通信でサーバ装置からダウンロードすることとしてもよい。   The main control unit 10 is, for example, a CPU (Central Processing Unit), and comprehensively controls the operation of the mobile phone terminal 1. Specifically, the main control unit 10 executes the program stored in the storage unit 9 while referring to the data stored in the storage unit 9 as necessary, so that the touch panel 2, the communication unit 6, etc. Various processes are executed by controlling. The main control unit 10 expands the program stored in the storage unit 9 and the data acquired / generated / processed by executing the process to the RAM 11 that provides a temporary storage area as necessary. The program executed by the main control unit 10 and the data to be referred to may be downloaded from the server device by wireless communication by the communication unit 6.

ここで、記憶部9が記憶する仮想キーボードデータ9Dの一例を図8に示す。図8の例に示すように、仮想キーボードデータ9Dには、仮想キーボードに含まれるボタン毎に、ボタンに対応する文字、ボタンの位置(例えば、左上座標)、幅、高さ等が登録される。図8に示す例では、あるボタンに対応する文字が「Q」であり、そのボタンの左上座標がX=10、Y=10であり、そのボタンの幅と高さが20と40であること等が登録されている。   An example of the virtual keyboard data 9D stored in the storage unit 9 is shown in FIG. As shown in the example of FIG. 8, in the virtual keyboard data 9D, for each button included in the virtual keyboard, a character corresponding to the button, a position of the button (for example, upper left coordinates), a width, a height, and the like are registered. . In the example shown in FIG. 8, the character corresponding to a certain button is “Q”, the upper left coordinates of the button are X = 10, Y = 10, and the width and height of the button are 20 and 40. Etc. are registered.

次に、携帯電話端末1が文字の入力を受け付ける場合の動作について説明する。図9は、携帯電話端末1による文字入力処理の処理手順を示すフロー図である。図9に示す文字入力処理は、主制御部10が記憶部9から文字入力プログラム9Cを読み出して実行することにより実現され、仮想キーボード4がタッチパネル2上に表示されている間、繰り返し実行される。なお、仮想キーボード4は、主制御部10が文字入力プログラム9Cまたは他のプログラムを実行することにより、タッチパネル2上に表示される。   Next, the operation when the cellular phone terminal 1 accepts input of characters will be described. FIG. 9 is a flowchart showing a processing procedure of character input processing by the cellular phone terminal 1. The character input process shown in FIG. 9 is realized by the main control unit 10 reading and executing the character input program 9C from the storage unit 9, and is repeatedly executed while the virtual keyboard 4 is displayed on the touch panel 2. . The virtual keyboard 4 is displayed on the touch panel 2 when the main control unit 10 executes the character input program 9C or another program.

まず、主制御部10は、ステップS10として、入力文字バッファ12をクリアし、ステップS11として、一時バッファ13をクリアする。入力文字バッファ12は、指がタッチパネル2に接触したまま移動した軌跡上の各ボタンに対応する文字が優先度と対応づけて格納される記憶領域であり、RAM11に設けられる。一時バッファ13は、指がタッチパネル2に接触したまま移動した軌跡上の各ボタンのうち、指が単にその上を通過したに過ぎないと判定されたボタンに対応する文字が一時的に格納される記憶領域であり、RAM11に設けられる。   First, the main control unit 10 clears the input character buffer 12 as step S10, and clears the temporary buffer 13 as step S11. The input character buffer 12 is a storage area in which characters corresponding to the respective buttons on the trajectory moved with the finger touching the touch panel 2 are stored in association with the priority, and are provided in the RAM 11. Temporary buffer 13 temporarily stores characters corresponding to buttons determined that the finger has just passed over the buttons on the locus where the finger has moved while touching touch panel 2. This is a storage area and is provided in the RAM 11.

入力文字バッファ12の一例を図10に示す。図10は、タッチパネル2に対して図6に示した操作が行われた場合の入力文字バッファ12を示している。図10の例において、入力文字バッファ12の上段には、指がタッチパネル2に接触したまま移動した軌跡上の各ボタンに対応する文字が格納され、下段には、上段の文字に対応づけられた優先度が格納されている。図10の例が示すように、入力文字バッファ12には、指がタッチパネル2に接触したまま移動した軌跡上の各ボタンに対応する文字が時系列に格納される。   An example of the input character buffer 12 is shown in FIG. FIG. 10 shows the input character buffer 12 when the operation shown in FIG. 6 is performed on the touch panel 2. In the example of FIG. 10, characters corresponding to the buttons on the locus where the finger moves while touching the touch panel 2 are stored in the upper part of the input character buffer 12, and the characters corresponding to the upper characters are stored in the lower part. Stores the priority. As shown in the example of FIG. 10, the input character buffer 12 stores characters corresponding to each button on the locus where the finger moves while touching the touch panel 2 in time series.

優先度は、入力文字バッファ12に含まれる文字を連結して文字列を構成する際に、対応付けられた文字を採用するか否かを決定するために用いられる。本実施例では、優先度の値が小さいほど、対応付けられた文字が優先的に採用されることとする。具体的には、指が意図的に触れたと判断されたボタンに対応する文字には優先度として「1」を対応付け、指が単に通過したに過ぎないと判断されたボタンに対応する文字には優先度として「2」を対応付ける。   The priority is used to determine whether or not to adopt the associated character when the character string is formed by concatenating the characters included in the input character buffer 12. In this embodiment, the smaller the priority value, the more preferentially the associated character is adopted. Specifically, the character corresponding to the button that is determined to have been intentionally touched by the finger is associated with “1” as the priority, and the character corresponding to the button that is determined to be that the finger has simply passed is used. Associates “2” as a priority.

一時バッファ13の一例を図11に示す。図11は、図6のs1において指が「J」のボタンから出た時点での一時バッファ13を示している。図11の例が示すように、一時バッファ13には、指が単にその上を通過したに過ぎないと判定されたボタンに対応する文字が、指がいずれかのボタンに意図的に触れたと判定されるまで、時系列に格納される。   An example of the temporary buffer 13 is shown in FIG. FIG. 11 shows the temporary buffer 13 when the finger comes out of the “J” button in s1 of FIG. As shown in the example of FIG. 11, the temporary buffer 13 determines that a character corresponding to a button determined that the finger has just passed over it has intentionally touched any button. Until it is stored in time series.

入力文字バッファ12と一時バッファ13のクリアを終えると、主制御部10は、ステップS12として、RAM11に設けた入力完了フラグを0に設定する。入力完了フラグは、1回分の文字入力が完了したか否かを判定するために用いられる。ここでいう1回分の文字入力とは、指をタッチパネル2に接触させてから離すまでの間に行われる文字入力を意味する。   When the input character buffer 12 and the temporary buffer 13 are cleared, the main control unit 10 sets the input completion flag provided in the RAM 11 to 0 as step S12. The input completion flag is used to determine whether or not one character input has been completed. The character input for one time here means character input performed between the time when the finger is brought into contact with the touch panel 2 and the time when the finger is released.

続いて、主制御部10は、ステップS13として、タッチパネル2の最新の検出結果を取得し、ステップS14として、文字入力判定処理を実行する。文字入力判定処理において、主制御部10は、指がタッチパネル2に接触したまま移動した軌跡上に表示されている各ボタンに対応する文字を入力文字バッファ12や一時バッファ13に格納していく。なお、文字入力判定処理の詳細については後述する。   Subsequently, the main control unit 10 acquires the latest detection result of the touch panel 2 as step S13, and executes a character input determination process as step S14. In the character input determination process, the main control unit 10 stores the characters corresponding to the buttons displayed on the trajectory where the finger moves while touching the touch panel 2 in the input character buffer 12 and the temporary buffer 13. Details of the character input determination process will be described later.

文字入力判定処理の実行後、主制御部10は、ステップS15として、入力完了フラグが0のままであるかを判定する。ここで、入力完了フラグが0のままである場合、すなわち、1回分の文字入力がまだ完了していない場合(ステップS15,Yes)、主制御部10は、ステップS16として、文字列検索処理を実行して入力文字バッファ12に格納されている文字を連結した文字列とマッチする文字列を辞書データ9Eから検索する。なお、文字列検索処理の詳細については後述する。   After executing the character input determination process, the main control unit 10 determines whether or not the input completion flag remains 0 as step S15. Here, when the input completion flag remains 0, that is, when the character input for one time is not yet completed (step S15, Yes), the main control unit 10 performs the character string search process as step S16. The character string matching the character string obtained by concatenating the characters stored in the input character buffer 12 is searched from the dictionary data 9E. Details of the character string search process will be described later.

続いて、主制御部10は、ステップS17として、文字列検索処理によって得られた1ないし複数の文字列を図12に示すように入力文字列候補表示領域14に表示する。そして、主制御部10は、入力完了フラグが0でない、すなわち、1回分の文字入力が完了したとステップS15で判定されるまで、ステップS13〜ステップS17を繰り返して実行する。   Subsequently, in step S17, the main control unit 10 displays one or more character strings obtained by the character string search process in the input character string candidate display area 14 as shown in FIG. The main control unit 10 then repeatedly executes step S13 to step S17 until it is determined in step S15 that the input completion flag is not 0, that is, one character input has been completed.

ステップS15で入力完了フラグが0でなくなっていた場合(ステップS15,No)、主制御部10は、ステップS18として、文字列検索処理を実行して入力文字バッファ12に格納されている文字を連結した文字列とマッチする文字列を辞書データ9Eから検索する。ここで、文字列検索処理の処理結果として得られた文字列が1つだけであった場合(ステップS19,Yes)、主制御部10は、ステップS20として、文字列検索処理の処理結果として得られた文字列を入力された文字列として受け付ける。 When the input completion flag is not 0 in step S15 (No in step S15), the main control unit 10 executes a character string search process and concatenates characters stored in the input character buffer 12 in step S18. The character string matching the character string thus searched is searched from the dictionary data 9E. Here, when there is only one character string obtained as the processing result of the character string search processing (step S19, Yes), the main control unit 10 obtains the processing result of the character string search processing as step S20. It accepts a string that has been as an input string.

一方、文字列検索処理の処理結果として得られた文字列が複数あった場合(ステップS19,No)、主制御部10は、ステップS21として、文字列検索処理の処理結果として得られた複数の文字列を図12に示すように入力文字列候補表示領域14に表示する。そして、主制御部10は、ステップS22として、タッチパネル2の最新の検出結果を取得し、ステップS23として、入力文字列候補表示領域14に表示した文字列のいずれかが選択されたかを判定する。   On the other hand, when there are a plurality of character strings obtained as a result of the character string search process (No in step S19), the main control unit 10 performs a plurality of character strings obtained as a result of the character string search process in step S21. The character string is displayed in the input character string candidate display area 14 as shown in FIG. And the main control part 10 acquires the newest detection result of the touch panel 2 as step S22, and determines whether any of the character strings displayed on the input character string candidate display area 14 was selected as step S23.

ここで、いずれの文字列も選択されていなければ(ステップS23,No)、主制御部10は、いずれかの文字列が選択されるまで、ステップS22〜ステップS23を繰り返して実行する。なお、ステップS22において利用者の指が入力文字列候補表示領域14以外の領域に触れるといった入力のキャンセルを示す動作が検出された場合に、主制御部10が、文字入力処理を終了させることとしてもよい。   Here, if no character string is selected (No at Step S23), the main control unit 10 repeatedly executes Steps S22 to S23 until any character string is selected. In addition, when the operation | movement which shows the cancellation of input that a user's finger | toe touches areas other than the input character string candidate display area 14 is detected in step S22, the main control part 10 will complete | finish a character input process. Also good.

ステップS23で入力文字列候補表示領域14に表示した文字列のいずれかが選択されていた場合(ステップS23,Yes)、主制御部10は、ステップS24として、選択された文字列を入力された文字列として受け付ける。 If any of the character string displayed in the input character string candidate display area 14 is selected in step S23 (step S23, Yes), the main control unit 10, at Step S24, is entered the selected character string Accept as a character string.

次に、図13に示したフロー図を参照しながら、図9のステップS14で実行される文字入力判定処理について説明する。主制御部10は、ステップS30として、タッチパネル2で検出された動作がタッチパネル2への接触を開始する動作、すなわち、指をタッチパネル2の表面に接触させる動作であったかを、タッチパネル2の検出結果に基づいて判定する。   Next, the character input determination process executed in step S14 of FIG. 9 will be described with reference to the flowchart shown in FIG. In step S30, the main control unit 10 determines whether the operation detected by the touch panel 2 is an operation of starting contact with the touch panel 2, that is, an operation of bringing a finger into contact with the surface of the touch panel 2 as a detection result of the touch panel 2. Judgment based on.

検出された動作がタッチパネル2への接触を開始する動作であった場合(ステップS30,Yes)、主制御部10は、ステップS31として、接触が開始された位置を仮想キーボードデータ9Dと照合して、接触が開始された位置がいずれかのボタン領域内であったかを判定する。接触が開始された位置がいずれかのボタン領域内であった場合(ステップS31,Yes)、ボタンは意図して触れられたと考えられるので、主制御部10は、ステップS32として、そのボタンに対応する文字を優先度「1」と対応付けて入力文字バッファ12に追加する。ボタンに対応する文字は、仮想キーボードデータ9Dから取得される。   When the detected operation is an operation for starting contact with the touch panel 2 (step S30, Yes), the main control unit 10 compares the position where the contact is started with the virtual keyboard data 9D as step S31. Then, it is determined whether the position where the contact is started is in any button area. When the position where the contact is started is in any one of the button regions (step S31, Yes), the button is considered to have been touched intentionally, so the main control unit 10 responds to that button as step S32. The character to be added is associated with the priority “1” and added to the input character buffer 12. The character corresponding to the button is acquired from the virtual keyboard data 9D.

そして、主制御部10は、ステップS33として、出力フラグを「1」に設定して文字入力判定処理を終了させる。出力フラグは、RAM11に設けられ、指が現在接触している位置に表示されているボタンに対応する文字を入力文字バッファ12または一時バッファ13に出力済みであるか否かを判定するために用いられる。出力フラグの値が「0」であることは、指が現在接触している位置に表示されているボタンに対応する文字をいずれのバッファにもまだ出力していないことを示す。出力フラグの値が「1」であることは、指が現在接触している位置に表示されているボタンに対応する文字をいずれかのバッファに出力済みであることを示す。   In step S33, the main control unit 10 sets the output flag to “1” and ends the character input determination process. The output flag is provided in the RAM 11 and is used to determine whether or not the character corresponding to the button displayed at the position where the finger is currently in contact has been output to the input character buffer 12 or the temporary buffer 13. It is done. The value of the output flag being “0” indicates that the character corresponding to the button displayed at the position where the finger is currently in contact has not been output to any buffer yet. That the value of the output flag is “1” indicates that the character corresponding to the button displayed at the position where the finger is currently in contact has been output to any buffer.

ステップS31において、接触が開始された位置がボタン領域内でなかった場合(ステップS31,No)、主制御部10は、特に処理を行わずに文字入力判定処理を終了させる。   In step S31, when the position where the contact is started is not within the button area (No in step S31), the main control unit 10 ends the character input determination process without performing any particular process.

ステップS30において、タッチパネル2で検出された動作がタッチパネル2への接触を開始する動作でなかった場合(ステップS30,No)、主制御部10は、ステップS34として、タッチパネル2で検出された動作がタッチパネル2への接触を保ったまま指をボタン領域内に進入させる動作であったかを、タッチパネル2の検出結果に基づいて判定する。検出された動作がタッチパネル2への接触を保ったまま指をボタン領域内に進入させる動作であったか否かは、タッチパネル2の最新の検出結果が示す接触位置とその直前の検出結果が示す接触位置とを仮想キーボードデータ9Dと照合することによって判定される。   In step S30, when the operation detected on the touch panel 2 is not an operation for starting contact with the touch panel 2 (No in step S30), the main control unit 10 performs the operation detected on the touch panel 2 as step S34. It is determined based on the detection result of the touch panel 2 whether the operation is to move the finger into the button area while keeping the touch to the touch panel 2. Whether or not the detected operation is an operation of moving a finger into the button area while maintaining contact with the touch panel 2 depends on the contact position indicated by the latest detection result of the touch panel 2 and the contact position indicated by the immediately preceding detection result. Are compared with the virtual keyboard data 9D.

検出された動作がタッチパネル2への接触を保ったまま指をボタン領域内に進入させる動作であった場合(ステップS34,Yes)、主制御部10は、ステップS35として、移動方向履歴をクリアする。移動方向履歴は、ボタン領域内で指がどの方向へ移動したかを示す方向ベクトルが時系列に記録されるデータであり、RAM11に記憶される。   When the detected operation is an operation of moving a finger into the button area while maintaining contact with the touch panel 2 (Yes in step S34), the main control unit 10 clears the movement direction history as step S35. . The movement direction history is data in which a direction vector indicating in which direction the finger has moved in the button area is recorded in time series, and is stored in the RAM 11.

続いて、主制御部10は、ステップS36として、指がボタン領域内に進入した方向を示す方向ベクトルを取得して、取得した方向ベクトルを移動方向履歴に追加する。そして、主制御部10は、ステップS37として、出力フラグを「0」に設定して文字入力判定処理を終了させる。   Subsequently, in step S36, the main control unit 10 acquires a direction vector indicating the direction in which the finger has entered the button area, and adds the acquired direction vector to the movement direction history. In step S37, the main control unit 10 sets the output flag to “0” and ends the character input determination process.

なお、タッチパネル2の検出結果に指の移動方向を示す情報が含まれている場合、方向ベクトルは、タッチパネル2の検出結果から取得される。タッチパネル2の検出結果に指の移動方向を示す情報が含まれていない場合、方向ベクトルは、タッチパネル2の最新の検出結果が示す接触位置とその直前の検出結果が示す接触位置とから算出される。   Note that when the detection result of the touch panel 2 includes information indicating the moving direction of the finger, the direction vector is acquired from the detection result of the touch panel 2. When the detection result of the touch panel 2 does not include information indicating the moving direction of the finger, the direction vector is calculated from the contact position indicated by the latest detection result of the touch panel 2 and the contact position indicated by the detection result immediately before that. .

ステップS34において、タッチパネル2で検出された動作がタッチパネル2への接触を保ったまま指をボタン領域内に進入させる動作でなかった場合(ステップS34,No)、主制御部10は、ステップS38として、タッチパネル2で検出された動作がタッチパネル2への接触を保ったまま指をボタンの外へ出す動作であったかを、タッチパネル2の検出結果に基づいて判定する。検出された動作がタッチパネル2への接触を保ったまま指をボタンの外へ出す動作であったか否かは、タッチパネル2の最新の検出結果が示す接触位置とその直前の検出結果が示す接触位置とを仮想キーボードデータ9Dと照合することによって判定される。   In step S34, when the operation detected by the touch panel 2 is not an operation of making a finger enter the button area while maintaining contact with the touch panel 2 (No in step S34), the main control unit 10 performs step S38. Based on the detection result of the touch panel 2, it is determined whether the operation detected by the touch panel 2 is an operation of putting a finger out of the button while maintaining contact with the touch panel 2. Whether or not the detected operation is an operation of moving a finger out of the button while maintaining contact with the touch panel 2 depends on the contact position indicated by the latest detection result of the touch panel 2 and the contact position indicated by the immediately preceding detection result. Is compared with the virtual keyboard data 9D.

検出された動作がタッチパネル2への接触を保ったまま指をボタンの外へ出す動作であった場合(ステップS38,Yes)、主制御部10は、ステップS39として、出力フラグが「0」であるかを判定する。ここで、出力フラグが「0」でなかった場合、すなわち、指がそれまで内部に位置していたボタンに対応する文字をいずれかのバッファに出力済みの場合(ステップS39,No)、主制御部10は、特に処理を行わずに文字入力判定処理を終了させる。   When the detected operation is an operation of moving a finger out of the button while maintaining contact with the touch panel 2 (step S38, Yes), the main control unit 10 sets the output flag to “0” as step S39. Determine if there is. Here, when the output flag is not “0”, that is, when the character corresponding to the button that the finger has been positioned inside has already been output to any buffer (step S39, No), the main control The unit 10 ends the character input determination process without performing any particular process.

一方、出力フラグが「0」であった場合(ステップS39,Yes)、主制御部10は、ステップS40として、最新の移動ベクトル、すなわち、指がボタンの外へ出た方向を示す方向ベクトルを取得し、移動方向履歴の先頭の方向ベクトルとの角度差を算出する。ここで算出された角度差は、指がボタンに進入したときの方向と指がボタンから脱出したときの方向の相違の大きさを表す。   On the other hand, when the output flag is “0” (step S39, Yes), the main control unit 10 obtains the latest movement vector, that is, a direction vector indicating the direction in which the finger has moved out of the button, as step S40. Obtain the angle difference from the head direction vector of the movement direction history. The calculated angle difference represents the magnitude of the difference between the direction when the finger enters the button and the direction when the finger exits the button.

算出された角度差が所定の閾値以下の場合(ステップS41,No)、指は単にボタンを通過したに過ぎないと考えられるため、主制御部10は、ステップS42として、そのボタンに対応する文字を一時バッファ13に追加して文字入力判定処理を終了させる。   When the calculated angle difference is equal to or smaller than the predetermined threshold (No at Step S41), it is considered that the finger has simply passed through the button, and therefore the main control unit 10 performs the character corresponding to the button as Step S42. Is added to the temporary buffer 13 to end the character input determination process.

一方、算出された角度差が所定の閾値より大きい場合(ステップS41,Yes)、ボタンは意図的に触れられたと考えられるため、主制御部10は、そのボタンに対応する文字が、指が通過した軌道上の他のボタンに対応する文字とともに時系列に入力文字バッファ12に格納されるように、ステップS43以降の処理手順を実行する。   On the other hand, when the calculated angle difference is larger than the predetermined threshold (step S41, Yes), since the button is considered to have been touched intentionally, the main control unit 10 causes the finger to pass the character corresponding to the button. The processing procedure after step S43 is executed so that the characters corresponding to the other buttons on the trajectory are stored in the input character buffer 12 in time series.

ステップS43として、主制御部10は、一時バッファ13に格納されている文字を優先度「2」と対応付けて入力文字バッファ12へ追加し、続いて、ステップS44として、ボタンに対応する文字を優先度「1」と対応付けて入力文字バッファ12に追加する。そして、主制御部10は、ステップS45として、一時バッファ13をクリアして文字入力判定処理を終了させる。   In step S43, the main control unit 10 adds the character stored in the temporary buffer 13 to the input character buffer 12 in association with the priority “2”, and then in step S44, adds the character corresponding to the button. It is added to the input character buffer 12 in association with the priority “1”. In step S45, the main control unit 10 clears the temporary buffer 13 and ends the character input determination process.

ステップS38において、タッチパネル2で検出された動作がタッチパネル2への接触を保ったまま指をボタンの外へ出す動作でなかった場合(ステップS38,No)、主制御部10は、ステップS46として、タッチパネル2で検出された動作がタッチパネル2への接触を終了させる動作、すなわち、指をタッチパネル2から離す動作であったかを、タッチパネル2の検出結果に基づいて判定する。   In step S38, when the operation detected by the touch panel 2 is not an operation of moving a finger out of the button while maintaining contact with the touch panel 2 (No in step S38), the main control unit 10 performs step S46. Based on the detection result of the touch panel 2, it is determined whether the operation detected by the touch panel 2 is an operation for ending contact with the touch panel 2, that is, an operation for releasing a finger from the touch panel 2.

検出された動作がタッチパネル2への接触を終了させる動作であった場合(ステップS46,Yes)、主制御部10は、ステップS47として、接触が終了された位置を仮想キーボードデータ9Dと照合して、接触が終了された位置がいずれかのボタン領域内であったかを判定する。接触が終了された位置がいずれかのボタン領域内であった場合(ステップS47,Yes)、ボタンは意図して触れられたと考えられるため、主制御部10は、そのボタンに対応する文字が、指が通過した軌道上の他のボタンに対応する文字とともに時系列に入力文字バッファ12に格納されるように、ステップS48以降の処理手順を実行する。   When the detected operation is an operation for ending contact with the touch panel 2 (step S46, Yes), the main control unit 10 compares the position where the contact is ended with the virtual keyboard data 9D as step S47. Then, it is determined whether the position where the contact is ended is in any button area. When the position where the contact is terminated is in any one of the button areas (step S47, Yes), since the button is considered to have been touched intentionally, the main control unit 10 determines that the character corresponding to the button is The processing procedure after step S48 is executed so that the characters corresponding to other buttons on the trajectory through which the finger passes are stored in the input character buffer 12 in time series.

ステップS48として、主制御部10は、出力フラグが「0」であるかを判定する。ここで、出力フラグが「0」である場合、すなわち、意図して触れられたと考えられるボタンに対応する文字がまだいずれのバッファにも出力されていない場合(ステップS48,Yes)、主制御部10は、ステップS49として、一時バッファ13に格納されている文字を優先度「2」と対応付けて入力文字バッファ12へ追加する。そして、主制御部10は、ステップS50として、ボタンに対応する文字を優先度「1」と対応付けて入力文字バッファ12に追加する。   In step S48, the main control unit 10 determines whether the output flag is “0”. Here, when the output flag is “0”, that is, when the character corresponding to the button that is considered to have been touched intentionally has not been output to any buffer yet (step S48, Yes), the main control unit In step S49, the character stored in the temporary buffer 13 is added to the input character buffer 12 in association with the priority “2”. In step S50, the main control unit 10 adds the character corresponding to the button to the input character buffer 12 in association with the priority “1”.

そして、タッチパネル2への接触が終了させる動作が行われたということは、一回分の文字入力が完了したことを意味するので、主制御部10は、ステップS51として、入力完了フラグを「1」に設定して文字入力判定処理を終了させる。   The fact that the operation for terminating the touch on the touch panel 2 has been performed means that the character input for one time has been completed, so the main control unit 10 sets the input completion flag to “1” in step S51. Is set to end the character input determination process.

接触が終了された位置がボタン領域内でなかった場合(ステップS47,No)、または、出力フラグが「0」でなかった場合(ステップS48,No)、主制御部10は、ステップS51として、入力完了フラグを「1」に設定する処理のみを行って文字入力判定処理を終了させる。   When the position where the contact is terminated is not within the button region (step S47, No), or when the output flag is not “0” (step S48, No), the main control unit 10 performs step S51. Only the process of setting the input completion flag to “1” is performed, and the character input determination process is terminated.

なお、接触が終了された位置がボタン領域内でなかった場合、または、出力フラグが「0」でなかった場合に、一時バッファ13に格納されている文字を優先度「2」と対応付けて入力文字バッファ12へ追加することとしてもよい。   In addition, when the position where the contact is ended is not within the button area, or when the output flag is not “0”, the character stored in the temporary buffer 13 is associated with the priority “2”. It may be added to the input character buffer 12.

ステップS46において、タッチパネル2で検出された動作がタッチパネル2への接触を終了させる動作でなかった場合(ステップS46,No)、主制御部10は、ステップS52として、タッチパネル2で検出された動作がタッチパネル2への接触を保ったままボタン領域内で指を移動させる動作であったかを、タッチパネル2の検出結果に基づいて判定する。   In step S46, when the operation detected on the touch panel 2 is not an operation for ending the contact with the touch panel 2 (No in step S46), the main control unit 10 performs the operation detected on the touch panel 2 as step S52. It is determined based on the detection result of the touch panel 2 whether the operation is to move the finger within the button area while keeping the touch to the touch panel 2.

検出された動作がタッチパネル2への接触を保ったままボタン領域内で指を移動させる動作であった場合(ステップS52,Yes)、主制御部10は、ステップS53として、指がボタン領域内で移動した方向を示す方向ベクトルを取得して、取得した方向ベクトルを移動方向履歴に追加する。そして、主制御部10は、ステップS54として、移動方向履歴に記録されている各方向ベクトルを参照して、指がタッチパネル2に触れたままボタン領域内で回転する軌跡を描いて移動したかを判定する。   When the detected operation is an operation of moving a finger within the button area while maintaining contact with the touch panel 2 (step S52, Yes), the main control unit 10 determines that the finger is within the button area as step S53. A direction vector indicating the direction of movement is acquired, and the acquired direction vector is added to the movement direction history. Then, in step S54, the main control unit 10 refers to each direction vector recorded in the movement direction history, and determines whether the finger moves while drawing a locus rotating in the button area while touching the touch panel 2. judge.

ここで、指がタッチパネル2に触れたままボタン領域内で回転する軌跡を描いて移動していた場合(ステップS54,Yes)、ボタンは意図的に触れられたと考えられるため、主制御部10は、そのボタンに対応する文字が、指が通過した軌道上の他のボタンに対応する文字とともに時系列に入力文字バッファ12に格納されるように、ステップS55以降の処理手順を実行する。   Here, if the finger is touching the touch panel 2 and moving while drawing a trajectory rotating in the button area (Yes in step S54), the main control unit 10 is considered to have touched the button intentionally. The processing procedure after step S55 is executed so that the character corresponding to the button is stored in the input character buffer 12 in time series together with the characters corresponding to other buttons on the trajectory through which the finger has passed.

ステップS55として、主制御部10は、一時バッファ13に格納されている文字を優先度「2」と対応付けて入力文字バッファ12へ追加し、続いて、ステップS56として、ボタンに対応する文字を優先度「1」と対応付けて入力文字バッファ12に追加する。そして、主制御部10は、ステップS57として、出力フラグを「1」に設定し、ステップS58として、移動方向履歴をクリアして文字入力判定処理を終了させる。   In step S55, the main control unit 10 adds the character stored in the temporary buffer 13 to the input character buffer 12 in association with the priority “2”, and then in step S56, selects the character corresponding to the button. It is added to the input character buffer 12 in association with the priority “1”. In step S57, the main control unit 10 sets the output flag to “1”, and in step S58, clears the movement direction history and ends the character input determination process.

ステップS52において、タッチパネル2で検出された動作がタッチパネル2への接触を保ったままボタン領域内で指を移動させる動作でなかった場合、すなわち、指が仮想キーボード4上のボタン外を移動していた場合(ステップS52,No)、主制御部10は、特に処理を行わずに文字入力判定処理を終了させる。   In step S <b> 52, when the operation detected by the touch panel 2 is not an operation of moving a finger within the button area while maintaining contact with the touch panel 2, that is, the finger is moving outside the button on the virtual keyboard 4. If it is found (step S52, No), the main control unit 10 ends the character input determination process without performing any particular process.

なお、タッチパネル2への接触を保ったまま指を仮想キーボード4の外へ出す動作が検出された場合に、タッチパネル2への接触を終了させる動作が検出された場合と同様の処理手順を実行し、タッチパネル2への接触を保ったまま指を仮想キーボード4の中へ移動させる動作が検出された場合に、タッチパネル2への接触を開始する動作が検出された場合と同様の処理手順を実行することとしてもよい。このようにすることにより、利用者は、一回分の入力を終えた後に、指を上げ下げすることなくタッチパネル2への接触を保ったまま、迅速に次の入力に移ることが可能になる。   In addition, when the operation | movement which puts a finger out of the virtual keyboard 4 with the contact to the touch panel 2 detected is performed, the same processing procedure as the case where the operation | movement which complete | finishes the contact to the touch panel 2 is detected is performed. When an operation for moving a finger into the virtual keyboard 4 is detected while maintaining contact with the touch panel 2, the same processing procedure as when an operation for starting contact with the touch panel 2 is detected is executed. It is good as well. By doing so, the user can quickly move on to the next input while keeping touching the touch panel 2 without raising or lowering the finger after finishing one input.

次に、図14に示したフロー図を参照しながら、図9のステップS16およびステップS18で実行される文字列検索処理について説明する。主制御部10は、ステップS70として、入力文字バッファ12から優先度が「1」である文字を取得し、取得した文字を組み合わせて第1候補文字列を生成する。   Next, the character string search process executed in steps S16 and S18 in FIG. 9 will be described with reference to the flowchart shown in FIG. In step S70, the main control unit 10 acquires a character having a priority “1” from the input character buffer 12, and generates a first candidate character string by combining the acquired characters.

例えば、「A」、「B」、「C」、「D」という4つの文字列がこの順序で入力文字バッファ12に格納され、「A」と「D」の優先度が「1」で、「B」と「C」の優先度が「2」であったものとする。この場合、主制御部10は、優先度が「1」の文字を格納順に連結して「A」という第1候補文字列を生成する。 For example, four character strings “A”, “B”, “C”, “D” are stored in the input character buffer 12 in this order, and the priority of “A” and “D” is “1”. It is assumed that the priority of “B” and “C” is “2”. In this case, the main control unit 10 generates a first candidate character string “A D ” by concatenating characters having a priority “1” in the order of storage.

続いて、主制御部10は、ステップS71として、第1候補文字列にマッチする文字列を辞書データ9Eから検索する。   Subsequently, in step S71, the main control unit 10 searches the dictionary data 9E for a character string that matches the first candidate character string.

本実施例では、例えば第1候補文字列が「ABC」の場合、「A*B*C*」というパターンにマッチする文字列が辞書データ9Eから検索されるものとする。ここで、「*」は、任意の文字にマッチするワイルドカードである。すなわち、本実施例では、第1候補文字列と先頭の文字が一致し、第1候補文字列の2番目以降の各文字が、0個以上の文字を介在させて第1候補文字列と同じ順序で出現する文字列が、第1候補文字列とマッチすると文字列として検索される。   In the present embodiment, for example, when the first candidate character string is “ABC”, a character string that matches the pattern “A * B * C *” is searched from the dictionary data 9E. Here, “*” is a wild card that matches any character. That is, in this embodiment, the first candidate character string and the first character match, and the second and subsequent characters of the first candidate character string are the same as the first candidate character string with zero or more characters interposed therebetween. When a character string appearing in order matches the first candidate character string, it is searched as a character string.

このようにマッチングさせることにより、指によって意図的に触れられたことを判別できないボタンがあった場合でも、入力された文字列を正しく識別することができる可能性を高めることができる。   By matching in this way, it is possible to increase the possibility that the input character string can be correctly identified even when there is a button that cannot be determined to be intentionally touched by a finger.

検索結果として複数の文字列が得られた場合(ステップS72,Yes)、主制御部10は、検索結果を絞り込むために、ステップS73として、入力文字バッファ12から優先度が「2」である文字を取得し、取得した文字を第1候補文字列に補完して、1ないし複数の第2候補文字列を生成する。   When a plurality of character strings are obtained as a search result (step S72, Yes), the main control unit 10 selects a character having a priority “2” from the input character buffer 12 as step S73 in order to narrow down the search result. And the acquired character is supplemented to the first candidate character string to generate one or more second candidate character strings.

例えば、上記と同様に、「A」、「B」、「C」、「D」という4つの文字列がこの順序で入力文字バッファ12に格納され、「A」と「D」の優先度が「1」で、「B」と「C」の優先度が「2」であったものとする。この場合、主制御部10は、格納順序を守りつつ、第1候補文字列である「A」に優先度が「2」の文字を少なくとも1つ補完して、「ABD」、「ACD」、「ACDB」という3つの第2候補文字列を生成する。 For example, as described above, four character strings “A”, “B”, “C”, and “D” are stored in the input character buffer 12 in this order, and the priorities of “A” and “D” are set. It is assumed that the priority of “B” and “C” is “2” at “1”. In this case, the main control unit 10 supplements at least one character with a priority “2” to the first candidate character string “A D ” while maintaining the storage order, and performs “ABD”, “ACD”. , Three second candidate character strings “ACDB” are generated.

続いて、主制御部10は、ステップS74として、第2候補文字列のいずれかにマッチする文字列を辞書データ9Eから検索する。マッチングの方式は、第1候補文字列の場合と同様である。   Subsequently, in step S74, the main control unit 10 searches the dictionary data 9E for a character string that matches any of the second candidate character strings. The matching method is the same as that for the first candidate character string.

そして、ステップS74において、いずれかの文字列が検索された場合(ステップS75,Yes)、主制御部10は、ステップS76として、検索された文字列を検索結果として文字列検索処理を終了させる。一方、ステップS74において、いずれの文字列も検索されなかった場合(ステップS75,No)、主制御部10は、ステップS77として、ステップS71において第1候補文字列とマッチした文字列を検索結果として文字列検索処理を終了させる。   In step S74, when any character string is searched (step S75, Yes), the main control unit 10 ends the character string search process using the searched character string as a search result in step S76. On the other hand, if no character string has been searched in step S74 (No in step S75), the main control unit 10 uses the character string matched with the first candidate character string in step S71 as a search result in step S77. Terminate the string search process.

ステップS71において検索結果として1つの文字列のみが得られた場合(ステップS72,No、かつ、ステップS78,Yes)、主制御部10は、ステップS76として、検索された文字列を検索結果として文字列検索処理を終了させる。ステップS71において検索結果として1つの文字列も得られなかった場合(ステップS78,No)、主制御部10は、ステップS79として、第1候補文字列、すなわち、優先度が「1」の文字を格納順に連結した文字列を検索結果として文字列検索処理を終了させる。   When only one character string is obtained as a search result in step S71 (step S72, No and step S78, Yes), the main control unit 10 uses the searched character string as a search result as a search result in step S76. End the column search process. When one character string is not obtained as a search result in step S71 (step S78, No), the main control unit 10 selects a first candidate character string, that is, a character having a priority of “1” as step S79. The character string search process is terminated with the character string concatenated in the storage order as a search result.

上述してきたように、携帯電話端末1は、指をタッチパネル2から離さずに仮想キーボード上を移動させて文字を入力することを可能にするため、高速な文字入力を実現することができる。   As described above, since the mobile phone terminal 1 can input characters by moving on the virtual keyboard without releasing the finger from the touch panel 2, high-speed character input can be realized.

なお、携帯電話端末1の構成は、本発明の要旨を逸脱しない範囲で任意に変更することができる。例えば、本実施例では、指をタッチパネル2から離れずに移動した軌跡上の各ボタンに対応する文字に優先度として「1」または「2」を対応付けることとしたが、文字に対応付ける優先度をさらに細分化してもよい。   The configuration of the mobile phone terminal 1 can be arbitrarily changed without departing from the gist of the present invention. For example, in the present embodiment, “1” or “2” is associated with the character corresponding to each button on the trajectory in which the finger is moved away from the touch panel 2 as the priority. It may be further subdivided.

例えば、意図的に触れられたと判定されたボタンに対応する文字には優先度として「1」を対応付け、指が単に通過したに過ぎないと判定されたボタンに対応する文字については優先度として「2」〜「5」のいずれかの値を対応付けることとしてもよい。優先度を細分化する場合、図13に示した文字入力判定処理では、図15の例のように一時バッファ13に格納される各文字に優先度が対応付けられる。   For example, a character corresponding to a button determined to have been intentionally touched is associated with a priority “1”, and a character corresponding to a button determined to have only passed a finger has a priority. Any value of “2” to “5” may be associated. When subdividing the priority, in the character input determination process shown in FIG. 13, the priority is associated with each character stored in the temporary buffer 13 as in the example of FIG.

この場合、例えば、指が単に通過したに過ぎないと判定されたボタンに対応する文字について、指がボタンに進入したときの移動方向と指がボタンから出たときの移動方向の角度差が大きいほど高い優先度を対応付けることとしてもよい。角度差が大きいほど、意図的に触れられたボタンである可能性が高いためである。   In this case, for example, for a character corresponding to a button that has been determined that the finger has just passed, the angle difference between the moving direction when the finger enters the button and the moving direction when the finger leaves the button is large. Higher priority may be associated. This is because the larger the angle difference, the higher the possibility that the button is intentionally touched.

また、指が単に通過したに過ぎないと判定されたボタンに対応する文字について、指が通過した軌跡がボタンの中心に近いほど高い優先度を対応付けることとしてもよい。通過した軌跡がボタンの中心に近いほど、意図的に触れられたボタンである可能性が高いためである。   In addition, for a character corresponding to a button that has been determined that the finger has just passed, a higher priority may be associated with the locus of the finger passing closer to the center of the button. This is because the closer the trajectory passed through to the center of the button, the higher the possibility that the button is intentionally touched.

そして、このように優先度を細分化した場合、文字列検索処理においては、優先度の高い文字ほど第2候補文字列の作成時に優先的に使用される。具体的には、優先度が「1」の文字を組み合わせた第1候補文字列に複数の文字列がマッチした場合、まず、優先度が「2」の文字を第1候補文字列に補完して検索結果の絞込みが試みられる。そして、優先度が「2」の文字を補完しても複数の文字列がマッチした場合、優先度が「3」の文字を第1候補文字列にさらに補完して検索結果の絞込みが試みられる。   When the priorities are subdivided in this way, in the character string search process, the higher priority characters are preferentially used when the second candidate character string is created. Specifically, when a plurality of character strings match a first candidate character string in which characters having a priority of “1” are combined, first, a character having a priority of “2” is complemented to the first candidate character string. To narrow down the search results. If a plurality of character strings are matched even if the character having the priority “2” is complemented, the search result is further narrowed down by further complementing the character having the priority “3” to the first candidate character string. .

以下同様に、検索結果が1つに絞り込まれるまで、優先度が高い順に補完に文字が利用される。このように、優先度を細分化することにより、意図的に触れられた可能性が高い順に文字を組み合わせて検証対象の文字列を生成することができるため、入力された文字列の識別精度を向上させることができる。   Similarly, characters are used for completion in descending order of priority until the search result is narrowed down to one. In this way, by subdividing the priority, it is possible to generate a character string to be verified by combining characters with the highest possibility of being touched intentionally. Can be improved.

また、図9を参照しながら説明した文字入力処理では、主制御部10がタッチパネル2から新たに検出結果を取得するたびに検索された文字列を入力文字列候補表示領域14に表示することとしているが、一回分の文字入力が完了するまではこのような表示は行わずに、一回分の文字入力が完了した後に文字列検索処理で複数の文字列が検索された場合にのみ検索された文字列を入力文字列候補表示領域14に表示することとしてもよい。   In the character input process described with reference to FIG. 9, the main control unit 10 displays the searched character string in the input character string candidate display area 14 every time a new detection result is acquired from the touch panel 2. However, such a display is not performed until the character input for one time is completed, and it is searched only when a plurality of character strings are searched in the character string search process after the character input for one time is completed. The character string may be displayed in the input character string candidate display area 14.

また、図14を参照しながら説明した文字列検索処理における辞書データとのマッチング処理は、完全一致や前方一致等の他のマッチング方式を用いることとしてもよい。また、入力予測技術を用いて、利用者が入力しようとしている文字列を予測し、予測された文字列を検索結果として扱うこととしてもよい。入力予測技術とは、文字列の結びつきの強さや使用頻度等に基づいて、既に入力された文字列と入力途中の文字列から、利用者が入力しようとしている文字列を予測する技術である。   Further, the matching process with the dictionary data in the character string search process described with reference to FIG. 14 may use another matching method such as complete matching or forward matching. Moreover, it is good also as predicting the character string which a user is going to input using an input prediction technique, and treating the predicted character string as a search result. The input prediction technique is a technique for predicting a character string that a user is about to input from a character string that has already been input and a character string that is being input, based on the strength of string connection and the frequency of use.

また、上記の実施例では、指がタッチパネル2に接触したまま移動した軌跡上に表示されているボタンに対応する文字のうち、特定の動作が検出された位置に表示されているボタンに対応する文字を優先して入力された文字列を識別することとしているが、本発明これに限定されるものではなく、指がタッチパネル2に接触したまま移動した軌跡上またはその近隣に表示されているボタンに対応する文字を含む文字列を入力された文字列として受け付けるものであればよい。   Further, in the above-described embodiment, among the characters corresponding to the buttons displayed on the locus where the finger moves while touching the touch panel 2, it corresponds to the button displayed at the position where the specific action is detected. The character string input with priority given to the character is identified, but the present invention is not limited to this, and the button displayed on or near the locus where the finger moves while touching the touch panel 2 Any character string may be used as long as it accepts a character string including characters corresponding to the input character string.

また、上記の実施例では、特定の動作として、ボタン領域内でタッチパネル2に接触する動作や、ボタン領域内でタッチパネル2から指を離す動作等について説明したが、これらの動作は特定の動作の例であり、他の動作を特定の動作として扱ってもよい。   Further, in the above-described embodiment, as specific operations, the operation of touching the touch panel 2 in the button region, the operation of releasing the finger from the touch panel 2 in the button region, and the like have been described, but these operations are specific operations. It is an example, and other operations may be treated as specific operations.

以上のように、本発明に係る文字入力装置、文字入力方法および文字入力プログラムは、文字の入力に有効であり、タッチパネルを用いて文字を高速に入力することが必要な場合に特に適している。 As described above, the character input device, the character input method, and the character input program according to the present invention are effective for inputting characters, and are particularly suitable when it is necessary to input characters at high speed using a touch panel. .

1 携帯電話端末
2 タッチパネル
2A タッチセンサ
2B 表示部
3 入力部
3A、3B、3C ボタン
4 仮想キーボード
5 電源部
6 通信部
7 スピーカ
8 マイク
9 記憶部
9A メールプログラム
9B ブラウザプログラム
9C 文字入力プログラム
9D 仮想キーボードデータ
9E 辞書データ
10 主制御部
11 RAM
12 入力文字バッファ
13 一時バッファ
14 入力文字列候補表示領域
DESCRIPTION OF SYMBOLS 1 Cellular phone terminal 2 Touch panel 2A Touch sensor 2B Display part 3 Input part 3A, 3B, 3C Button 4 Virtual keyboard 5 Power supply part 6 Communication part 7 Speaker 8 Microphone 9 Storage part 9A Mail program 9B Browser program 9C Character input program 9D Virtual keyboard Data 9E Dictionary data 10 Main controller 11 RAM
12 Input character buffer 13 Temporary buffer 14 Input character string candidate display area

Claims (9)

接触検出部と、
文字がそれぞれ対応付けられた複数のキーを表示する表示部と、を有し、
一の位置から他の位置までの連続的な接触を前記接触検出部が検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた文字のうち少なくとも一つを抽出し、当該抽出した文字を用いて文字列を作成する文字入力装置。
A contact detector;
A display unit for displaying a plurality of keys each associated with a character;
When the contact detection unit detects a continuous contact from one position to another position, in the process of the continuous contact, the key displayed at the position where the contact has passed straight without staying. at least one extract the character input device for creating a character string by using the extracted character of the associated character.
接触検出部と、
英字がそれぞれ対応付けられた複数のキーを表示する表示部と、を有し、
一の位置から他の位置までの連続的な接触を前記接触検出部が検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた英字のうち少なくとも一つを抽出し、当該抽出した英字を用いてかな文字を作成する文字入力装置。
A contact detector;
A display unit for displaying a plurality of keys each associated with an alphabetic character,
When the contact detection unit detects a continuous contact from one position to another position, in the process of the continuous contact, the key displayed at the position where the contact has passed straight without staying. A character input device that extracts at least one of the associated alphabetic characters and creates a kana character using the extracted alphabetic characters.
接触検出部と、
文字がそれぞれ対応付けられた複数のキーを表示する表示部と、を有し、
一の位置から他の位置までの連続的な接触を前記接触検出部が検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示された複数のキーそれぞれに対応付けられた複数の文字のうち少なくとも一部の複数の文字を抽出し、当該抽出した複数の文字それぞれを用い複数の文字列を作成する文字入力装置。
A contact detector;
A display unit for displaying a plurality of keys each associated with a character;
When the contact detection unit detects a continuous contact from one position to another position, in the process of the continuous contact, a plurality of positions displayed in a position where the contact is linearly passed without remaining . extracting at least a portion of the plurality of character among the plurality of characters associated with each key, the character input device for creating a plurality of strings with a plurality of characters the extracted.
文字入力装置が、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた文字のうち少なくとも一つを抽出し、当該抽出した文字を用いて文字列を作成する文字入力方法。 When the character input device detects continuous contact from one position to another position, the key displayed at the position where the contact has passed straight without staying in contact during the continuous contact process. A character input method of extracting at least one of associated characters and creating a character string using the extracted characters. 文字入力装置が、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた英字のうち少なくとも一つを抽出し、当該抽出した英字を用いてかな文字を作成する文字入力方法。 When the character input device detects continuous contact from one position to another position, the key displayed at the position where the contact has passed straight without staying in contact during the continuous contact process. A character input method for extracting at least one of the associated alphabetic characters and creating a kana character using the extracted alphabetic characters. 文字入力装置が、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示された複数のキーそれぞれに対応付けられた複数の文字のうち少なくとも一部の複数の文字を抽出し、当該抽出した複数の文字それぞれを用い複数の文字列を作成する文字入力方法。 When the character input device detects a continuous contact from one position to another position, in the process of the continuous contact, the plurality of characters displayed at the positions where the contact has passed linearly without stopping . At least a portion of a plurality of character extraction, character input method to create a plurality of strings with a plurality of characters the extracted among a plurality of characters associated with each key. 文字入力装置に、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた文字のうち少なくとも一つを抽出し、当該抽出した文字を用いて文字列を作成する機能を発揮させる文字入力プログラム。 If the character input device detects a continuous contact from one position to another, the key displayed at the position where the contact was passed straight without staying in contact during the continuous contact process. A character input program that exhibits a function of extracting at least one of associated characters and creating a character string using the extracted characters. 文字入力装置に、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示されたキーに対応付けられた英字のうち少なくとも一つを抽出し、当該抽出した英字を用いてかな文字を作成する機能を発揮させる文字入力プログラム。 If the character input device detects a continuous contact from one position to another, the key displayed at the position where the contact was passed straight without staying in contact during the continuous contact process. A character input program for extracting at least one of the associated alphabetic characters and demonstrating the function of creating a kana character using the extracted alphabetic characters. 文字入力装置に、一の位置から他の位置までの連続的な接触を検出した場合、当該連続的な接触の過程で、接触が留まらずに直線的に通過された位置に表示された複数のキーそれぞれに対応付けられた複数の文字のうち少なくとも一部の複数の文字を抽出し、当該抽出した複数の文字それぞれを用い複数の文字列を作成する機能を発揮させる文字入力プログラム。 When a continuous contact from one position to another position is detected in the character input device, in the process of the continuous contact, a plurality of points displayed at positions where the contact has passed linearly without stopping . extracting at least a portion of the plurality of character among the plurality of characters associated with each key, the character input program to exhibit the ability to create a plurality of strings with a plurality of characters the extracted.
JP2010076293A 2010-03-29 2010-03-29 Character input device, character input method, and character input program Active JP5615579B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2010076293A JP5615579B2 (en) 2010-03-29 2010-03-29 Character input device, character input method, and character input program
PCT/JP2011/057823 WO2011122627A1 (en) 2010-03-29 2011-03-29 Information processing device and character input method
US13/638,159 US9256363B2 (en) 2010-03-29 2011-03-29 Information processing device and character input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010076293A JP5615579B2 (en) 2010-03-29 2010-03-29 Character input device, character input method, and character input program

Publications (3)

Publication Number Publication Date
JP2011209964A JP2011209964A (en) 2011-10-20
JP2011209964A5 JP2011209964A5 (en) 2013-03-07
JP5615579B2 true JP5615579B2 (en) 2014-10-29

Family

ID=44940959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010076293A Active JP5615579B2 (en) 2010-03-29 2010-03-29 Character input device, character input method, and character input program

Country Status (1)

Country Link
JP (1) JP5615579B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5519020B2 (en) * 2011-10-27 2014-06-11 京セラ株式会社 Input device and control method of input device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08292944A (en) * 1995-04-24 1996-11-05 Matsushita Electric Ind Co Ltd Character input device
US7250938B2 (en) * 2004-01-06 2007-07-31 Lenovo (Singapore) Pte. Ltd. System and method for improved user input on personal computing devices
JP4207089B2 (en) * 2007-07-02 2009-01-14 ソニー株式会社 Text input device and method

Also Published As

Publication number Publication date
JP2011209964A (en) 2011-10-20

Similar Documents

Publication Publication Date Title
JP5615583B2 (en) Character input device, character input method, and character input program
JP4950321B2 (en) Character input device, character input method, and character input program
WO2011122627A1 (en) Information processing device and character input method
JP5697521B2 (en) Character input device, character input control method, and character input program
WO2011129398A1 (en) Character input device and character input method
JP5739131B2 (en) Portable electronic device, control method and program for portable electronic device
JP2011232898A (en) Electronic equipment, and method and program for controlling the same
JP5615579B2 (en) Character input device, character input method, and character input program
JP5487226B2 (en) Character input device
JP5627372B2 (en) Character input device, character input method, and character input program
JP5875937B2 (en) Portable electronic device and input method
JP5503486B2 (en) Character input device, character input method, and character editing program
JP5455847B2 (en) Character input device, character input method, and character input program
US9014762B2 (en) Character input device, character input method, and character input program
JP2012208614A (en) Portable electronic equipment
JP2012048588A (en) Character input device, character input method and character input program
JP5641844B2 (en) Electronic device and control method thereof
JP5525320B2 (en) Information processing apparatus, attribute information input method, and object management program
JP2012068752A (en) Authentication device, authentication method and authentication program
US20120200508A1 (en) Electronic device with touch screen display and method of facilitating input at the electronic device
EP2485133A1 (en) Electronic device with touch-sensitive display and method of facilitating input at the electronic device
JP6740823B2 (en) Display control device, display device, and display control program
KR20120024034A (en) Mobile terminal capable of inputting alphabet

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130122

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140210

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140401

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140627

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20140707

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140910

R150 Certificate of patent or registration of utility model

Ref document number: 5615579

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150