JP2004227089A - Character string input device, character string input method, and program - Google Patents

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

Info

Publication number
JP2004227089A
JP2004227089A JP2003011524A JP2003011524A JP2004227089A JP 2004227089 A JP2004227089 A JP 2004227089A JP 2003011524 A JP2003011524 A JP 2003011524A JP 2003011524 A JP2003011524 A JP 2003011524A JP 2004227089 A JP2004227089 A JP 2004227089A
Authority
JP
Japan
Prior art keywords
character string
candidate
input
unit
instruction 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.)
Granted
Application number
JP2003011524A
Other languages
Japanese (ja)
Other versions
JP3836795B2 (en
Inventor
Shoji Mori
昌二 森
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.)
Konami Group Corp
Original Assignee
Konami 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 Konami Corp filed Critical Konami Corp
Priority to JP2003011524A priority Critical patent/JP3836795B2/en
Publication of JP2004227089A publication Critical patent/JP2004227089A/en
Application granted granted Critical
Publication of JP3836795B2 publication Critical patent/JP3836795B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a character string device which can input a character string efficiently. <P>SOLUTION: A storage section 302 stores at least a history of the character string inputted by a character string input device 301 in the past, and a fixed form character string as candidate character strings; a display section 304 displays a candidate character string referred by a reference section 303; a transfer section 306 transfers an object referred by the reference section 303 in accordance with the kind of a user's transfer instruction input; an edit section 305 edits a present candidate character string in accordance with a user's edit instruction input and makes this as an object referred by the reference section 303, and a determination section 307 outputs the character string referred by the reference section 303 as an input result from the user, when the user performed a determination instruction input. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、文字列入力装置、文字列入力方法、ならびに、プログラムに関する。
【0002】
【従来の技術】
コンピュータやPDA(Personal Data Assistant)、携帯電話、ゲーム装置などを用いた各種の情報処理においては、ユーザからの各種の指示入力やデータ入力の技術が極めて重要である。
【0003】
一般的なコンピュータでは、キーボードやマウスを利用して文字列の入力を行い、携帯電話では、0〜9の数字キーにひらがなや英字を割り当てて、入力モードを切り替えて入力を行い、PDAでは文字認識技術を用いて入力を行う手法が広く用いられている。また、ゲーム装置では、キーボードの映像が画面に表示され、方向キーを利用してキーボード中の所望の文字にカーソルを移動し、決定キーを利用して、その文字の入力を行う技術が用いられる。
【0004】
さらに、定型文をファンクションキーなどに割り当てて、これを押圧操作することによりその定型文が入力される技術も提供されている。
【0005】
このほか、ユーザとの対話をコマンドラインを用いて行うシステムでは、当該ユーザにより過去に入力された文字列の履歴を記憶しておき、キーボードからの操作によってその履歴内を移動して、過去に入力した文字列と同じものを再度入力したり、その文字列を編集したりできるようなヒストリ機能を提供するものもある。
【0006】
【発明が解決しようとする課題】
しかしながら、特に携帯電話、ゲーム装置、PDAなどのようにユーザが利用できるキーやボタンが少ない環境下では、ユーザにとって親しみやすく効率の良い文字列入力技術が常に求められている。
【0007】
本発明は、このような課題を解決するためになされたもので、効率良く文字列の入力を行うのに好適な文字列入力装置、文字列入力方法、ならびに、これらをコンピュータによって実現するプログラムを提供することを目的とする。
【0008】
【課題を解決するための手段】
以上の目的を達成するため、本発明の原理にしたがって、下記の発明を開示する。
【0009】
本発明の第1の観点に係る文字列入力装置は、記憶部と、参照部と、表示部と、移動部と、決定部と、を備え、以下のように構成する。なお、当該文字列入力装置には、コンピュータ等のようにソフトウェアによって制御されるもののほか、専用電子回路・電気回路によって以下の構成を実現するものも含まれる。
【0010】
まず、記憶部は、少なくとも、当該文字列入力装置がユーザからの入力結果として過去に出力した文字列の履歴と、所定の複数の定型文字列と、を候補の文字列として記憶する。すなわち、記憶部は、そのユーザが過去にこの文字列入力装置を使って入力した文字列の履歴を記憶するとともに、あらかじめ用意されたよく利用されると予想される定型文字列を記憶する。
【0011】
一方、参照部は、現在の候補の文字列を参照する。さらに、表示部は、参照部により参照される候補の文字列を表示する。したがって、参照部により参照される候補の文字列が、後述する編集部や移動部の働きにより変更・更新されると、それに応じて、表示部は、変更・更新された後の候補の文字列を表示する。
【0012】
一方、移動部は、ユーザからの移動指示入力があった場合、当該移動指示入力にしたがって、記憶部に記憶される候補の文字列のうち現在の候補の文字列以外のものを、次の候補として選択して、当該次の候補の文字列を参照部に新たな候補として参照させる。すなわち、移動指示入力によって、移動部は、過去に入力した履歴および定型の文字列の候補群の中を「移動」して、所望の文字列(もしくは、所望の文字列に類似する文字列で、所望の文字列に簡単な編集できると思われるもの)を探し、これを現在の候補とする。上述のように、参照部に新たな候補を参照させると、それが現在の候補となり、表示部はこの新たな候補を表示することとなる。
【0013】
さらに、決定部は、ユーザからの決定指示入力があった場合、参照部により参照される候補の文字列を、ユーザからの入力結果として出力する。すなわち、ユーザからの決定指示入力があれば、参照部により参照されている文字列(これは、表示部により表示されている文字列と同じである。)が入力結果となる。また、上述するように、記憶部は、過去に出力した文字列の履歴を記憶するので、ここで出力された入力結果は、記憶部に追加記憶されることとなる。
【0014】
本発明では、ユーザは、簡単な指示入力で、入力文字列の履歴と定型文とのなかから所望の文字列を探して文字列の入力を行うことができる。
【0015】
また、本発明の文字列入力装置は、編集部をさらに備え、以下のように構成することができる。すなわち、編集部は、ユーザからの編集指示入力があった場合、参照部により参照される文字列を当該編集指示入力にしたがって編集し、編集結果の文字列を、新たな候補として参照部に参照させる。編集指示入力としては、現在の候補の文字列内におけるカーソルの移動、カーソルの前の文字の削除、カーソルが指す文字の削除、カーソル位置への文字の挿入、現在の候補の全削除などが考えられる。文字の挿入の場合には、上述したソフトウェアキーボードの技術を適用することができる。本発明では、ユーザは、あらかじめ用意された文字列を選択して入力することができるだけでなく、当該文字列をさらに編集することができるようになる。
【0016】
また、本発明の文字列入力装置において、当該移動指示入力は、履歴内移動指示入力と、定型内移動指示入力と、の種類を含み、以下のように構成することができる。
(a)ユーザからの移動指示入力が履歴内移動指示入力であり、参照部に参照される候補の文字列が、記憶部に記憶される過去に出力した文字列の履歴の1つである場合、移動部は、過去に出力した文字列の履歴の他の1つを当該次の候補として選択する。
(b)ユーザからの移動指示入力が定型内移動指示入力であり、参照部に参照される候補の文字列が、記憶部に記憶される所定の複数の定型文字列の1つである場合、移動部は、所定の複数の定型文字列の他の1つを当該次の候補として選択する。
【0017】
すなわち、移動部は、現在の候補の文字列が履歴の1つであるか、定型文字列であるか、と、指示入力が履歴内の移動であるか、定型文字列内の移動であるか、とに、応じて、候補の文字列を変更する。
【0018】
本発明により、ユーザが履歴内の候補のみを走査して所望の文字列を探したい場合や、定型文字列内のみを走査して所望の文字列を探したい場合に、効率良くこれを行うことができる。
【0019】
また、本発明に係る文字列入力装置において、記憶部は、所定の既定文字列(長さ0の文字列を含む。)をさらに記憶し、当該移動指示入力は、第1の移動指示入力と、第2の移動指示入力と、の種類を含み、以下のように構成することができる。ここで、所定の既定文字列とは、履歴内および定型文字列という候補群内の移動の、「基準位置」として働くこととなり、履歴内および定型文字列内に所望の文字列がない場合には、ユーザからのソフトウェアキーボード等による文字の直接入力を受け付ける場合に相当する。
【0020】
まず、参照部に参照される候補の文字列が、当該所定の既定文字列である場合、移動部は、当該ユーザからの移動指示入力が
第1の移動指示入力であれば当該過去に出力した文字列の履歴の1つを、
第2の移動指示入力であれば当該所定の複数の定型文字列の1つを、
次の候補として選択する。
【0021】
一方、参照部に参照される候補の文字列が、当該過去に出力した文字列の履歴の1つである場合、移動部は、当該ユーザからの移動指示入力が
第1もしくは第2の移動指示入力であれば当該過去に出力した文字列の履歴の他の1つ、もしくは、当該所定の既定文字列を、
次の候補として選択する。
【0022】
参照部に参照される候補の文字列が、当該所定の複数の定型文字列の1つである場合、移動部は、当該ユーザからの移動指示入力が
第1もしくは第2の移動指示入力であれば、当該所定の複数の定型文字列の他の1つ、もしくは、当該所定の既定文字列を、
次の候補として選択する。
【0023】
すなわち、第1の移動指示入力には、基準位置および履歴内の移動が対応し、第2の移動指示入力には、基準位置および定型文字列内の移動が対応する。
【0024】
本発明により、履歴内の移動と、定型文字列内の移動と、が、それぞれグループ化されるとともに、両グループ間の移動は、基準位置を介して行われるため、ユーザによって理解しやすい候補文字列の選択インターフェースを提供することができる。
【0025】
また、本発明の文字列入力装置は、以下のように構成することができる。
【0026】
すなわち、参照部が第1の候補の文字列を参照している時に第1の移動指示入力が与えられて第2の候補の文字列を参照することとなり、当該第1の候補と第2の候補とが、いずれも当該過去に出力した文字列の履歴に含まれる場合、続いて第2の移動指示入力が与えられると、移動部は、当該第1の候補の文字列を次の候補として選択する。
【0027】
一方、参照部が第3の候補の文字列を参照している時に第2の移動指示入力が与えられて第4の候補の文字列を参照することとなり、当該第3の候補と第4の候補とが、いずれも当該過去に出力した文字列の履歴に含まれる場合、続いて第1の移動指示入力が与えられると、移動部は、当該第3の候補の文字列を次の候補として選択する。
【0028】
本発明により、第1の移動指示入力を直後の第2の移動指示入力でキャンセルすることができ、第2の移動指示入力を直後の第1の移動指示入力でキャンセルすることができるので、ユーザにとってわかりやすい選択インターフェースを提供することができる。
【0029】
また、本発明の文字列入力装置において、記憶部は、当該所定の複数の定型文字列を、複数のグループに分類して記憶し、当該移動指示入力は、第3の移動指示入力の種類を含み、参照部に参照される候補の文字列が、当該所定の複数の定型文字列の1つである場合、前記移動部は、当該定型文字列の1つが属するグループに含まれる他の定型文字列の1つを次の候補として選択するように構成することができる。すなわち、定型文字列が表示されている状況下で、第3の移動指示入力がされると現在のグループに含まれる候補内を走査して新たな候補を得ることとなる。
【0030】
本発明では、たとえば、「あいさつ」「人名」「動詞」「名詞」「助詞」「形容詞」などに定型文字列をグループ化しておくことにより、ユーザが所望の定型文字列を効率良く選択できるような選択インターフェースを実現することができる。
【0031】
また、本発明の文字列入力装置において、記憶部は、複数のグループのそれぞれについて、これに属する定型文字列のいずれか少なくとも1つを代表定型文字列として記憶し、参照部に参照される候補の文字列が、当該代表定型文字列である場合、決定部は、ユーザからの決定指示入力があった場合であっても、参照部により参照される候補の文字列を、ユーザからの入力結果としては出力しないように構成することができる。
【0032】
たとえば、あるグループ内に「あいさつ」「おはよう」「こんにちは」「こんばんは」「さようなら」「バイバイ」という定型文字列が含まれ、「あいさつ」が当該グループ代表定型文字列である場合を考える。これらのいずれかが現在の候補となっているときに第3の移動指示入力を与えれば、これら6つの候補が走査され、適宜表示されることとなる。そして、「あいさつ」以外の5つの文字列のいずれかが候補として表示されているときに、決定指示入力があった場合は、その文字列が入力結果として出力されるが、代表定型文字列「あいさつ」が候補として表示されている場合は、これを入力結果とはしない。
【0033】
本発明では、代表定型文字列としてグループの名前(当該グループに属する定型文字列の上位概念に相当する。)を採用すれば、ユーザが所望の文字列を容易に取得できるような選択インターフェースを実現することができる。
【0034】
本発明の他の観点に係る文字列入力方法は、少なくとも、当該文字列入力方法によりユーザからの入力結果として過去に出力された文字列の履歴と、所定の複数の定型文字列と、を候補の文字列として記憶する記憶部と、現在の候補の文字列を参照する参照部と、を用い、表示工程と、編集工程と、移動工程と、決定工程と、を備え、以下のように構成する。
【0035】
まず、表示工程では、参照部により参照される候補の文字列を表示する。
【0036】
一方、編集工程では、ユーザからの編集指示入力があった場合、参照部により参照される文字列を当該編集指示入力にしたがって編集し、編集結果の文字列を、新たな候補として参照部に参照させる。
【0037】
さらに、移動工程では、ユーザからの移動指示入力があった場合、当該移動指示入力にしたがって、記憶部に記憶される候補の文字列のうち現在の候補の文字列以外のものを、次の候補として選択して、当該次の候補の文字列を新たな候補として参照部に参照させる。
【0038】
そして、決定工程では、ユーザからの決定指示入力があった場合、参照部により参照される候補の文字列を、ユーザからの入力結果として出力する。
【0039】
本発明の他の観点に係るプログラムは、コンピュータ(ゲーム装置、PDA、携帯電話等の情報処理装置を含む。)を、記憶部、参照部、表示部、移動部、および決定部として機能させ、当該プログラムは、当該コンピュータを以下のように機能させるように構成する。
【0040】
すなわち、記憶部は、少なくとも、当該文字列入力装置がユーザからの入力結果として過去に出力した文字列の履歴と、所定の複数の定型文字列と、を候補の文字列として記憶する。
【0041】
一方、参照部は、現在の候補の文字列を参照する。
【0042】
さらに、表示部は、参照部により参照される候補の文字列を表示する。
【0043】
一方、移動部は、ユーザからの移動指示入力があった場合、当該移動指示入力にしたがって、記憶部に記憶される候補の文字列のうち現在の候補の文字列以外のものを、次の候補として選択して、当該次の候補の文字列を新たな候補として参照部に参照させる。
【0044】
さらに、決定部は、ユーザからの決定指示入力があった場合、参照部により参照される候補の文字列を、ユーザからの入力結果として出力する。
【0045】
また、本発明のプログラムは、コンピュータを、さらに編集部として機能させ、編集部は、ユーザからの編集指示入力があった場合、参照部により参照される文字列を当該編集指示入力にしたがって編集し、編集結果の文字列を、新たな候補として参照部に参照させるように構成することができる。
【0046】
本発明のプログラムは、コンパクトディスク、フレキシブルディスク、ハードディスク、光磁気ディスク、ディジタルビデオディスク、磁気テープ、半導体メモリ等のコンピュータ読取可能な情報記録媒体に記録することができる。上記プログラムは、当該プログラムが実行されるコンピュータとは独立して、コンピュータ通信網を介して配布・販売することができる。また、上記情報記録媒体は、当該コンピュータとは独立して配布・販売することができる。
【0047】
【発明の実施の形態】
以下に本発明の実施形態を説明する。以下では、理解を容易にするため、ゲーム装置に本発明が適用される実施形態を説明するが、各種のコンピュータ、PDA、携帯電話などの情報処理装置においても同様に本発明を適用することができる。すなわち、以下に説明する実施形態は説明のためのものであり、本願発明の範囲を制限するものではない。したがって、当業者であればこれらの各要素もしくは全要素をこれと均等なものに置換した実施形態を採用することが可能であるが、これらの実施形態も本発明の範囲に含まれる。
【0048】
(第1の実施の形態)
図1は、本発明の第1の実施の形態に係る文字列入力装置が実現される典型的なゲーム装置の概要構成を示す模式図である。以下、本図を参照して説明する。
【0049】
ゲーム装置100は、CPU(Central Processing Unit)101と、ROM(Read Only Memory)102と、RAM(Random Access Memory)103と、インターフェース104と、コントローラ105と、外部メモリ106と、画像処理部107と、DVD(Digital Versatile Disk)−ROMドライブ108と、NIC(Network Interface Card)109と、を備える。
【0050】
ゲーム用のプログラムおよびデータを記憶したDVD−ROMをDVD−ROMドライブ108に装着して、ゲーム装置100の電源を投入することにより、当該プログラムが実行され、本実施形態の文字列入力装置が実現される。
【0051】
CPU 101は、ゲーム装置100全体の動作を制御し、各構成要素と接続され制御信号やデータをやりとりする。
【0052】
ROM 102には、電源投入直後に実行されるIPL(Initial Program Loader)が記録され、これが実行されることにより、DVD−ROMに記録されたプログラムをRAM 103に読み出してCPU 101による実行が開始される。また、ROM 102には、ゲーム装置100全体の動作制御に必要なオペレーティングシステムのプログラムや各種のデータを記録される。
【0053】
RAM 103は、データやプログラムを一時的に記憶するためのもので、DVD−ROMから読み出したプログラムやデータ、その他ゲームの進行やチャット通信に必要なデータが保持される。
【0054】
インターフェース104を介して接続されたコントローラ105は、ユーザがゲーム実行の際に行う操作入力を受け付ける。
【0055】
図2は、コントローラ105の外観を示す説明図である。以下、本図を参照して説明する。
【0056】
コントローラ105の左方には、上下左右を示す操作入力を行うのに利用される↑ボタン201、↓ボタン202、←ボタン203、→ボタン204が配置されている。
【0057】
右方には、決定操作入力を行うのに利用される○ボタン205、取消操作入力を行うのに利用される×ボタン206、メニュー表示等の指示入力を行うのに利用される△ボタン207、その他の指示入力を行うのに利用される□ボタン208が配置されている。
【0058】
中央には、SELECTボタン209、STARTボタン210のほか、アナログ入力の開始・停止を指示するためのANALOGボタン211、および、アナログ入力が有効か無効かを表示するためのインジケータ212が配置されている。
【0059】
また中央下部には、上下左右に限らない方向に大きさを伴う指示入力を行うためのジョイスティック213、214が配置されている。
【0060】
さらに、上方には、各種の指示入力に用いることができるL1ボタン215、L2ボタン216、R1ボタン217、R2ボタン218が配置されている。
【0061】
コントローラ105の各ボタン201〜208、215〜218には、圧力センサが配備され、アナログ入力が有効となっている場合には、いずれのボタンが押圧操作されているかを検知することができるほか、ユーザの押圧操作の圧力の大きさを0〜255の256段階で得ることができる。
【0062】
コントローラ105のジョイスティック213、214は、ひずみゲージが配備され、これらがどの方向にどれだけ曲げられているか、を検知することができる。
【0063】
図1に戻り、インターフェース104を介して脱自在に接続された外部メモリ106には、ゲームの進行状態を示すデータ、チャット通信のログ(記録)のデータなどが書き換え可能に記憶される。ユーザは、コントローラ105を介して指示入力を行うことにより、これらのデータを適宜外部メモリ106に記録することができる。
【0064】
DVD−ROMドライブ108に装着されるDVD−ROMには、ゲームを実現するためのプログラムとゲームに付随する画像データや音声データが記録される。CPU 101の制御によって、DVD−ROMドライブ108は、これに装着されたDVD−ROMに対する読み出し処理を行って、必要なプログラムやデータを読み出し、これらはRAM 103等に一時的に記憶される。
【0065】
画像処理部107は、DVD−ROMから読み出されたデータをCPU 101や画像処理部107が備える画像演算プロセッサ(図示せず)によって加工処理した後、これを画像処理部107が備えるフレームメモリ(図示せず)に記録する。フレームメモリに記録された画像情報は、所定の同期タイミングでビデオ信号に変換され画像処理部107に接続されるモニタ(図示せず)へ出力される。これにより、各種の画像表示が可能となる。
【0066】
画像演算プロセッサは、2次元の画像の重ね合わせ演算やαブレンディング等の透過演算、各種の飽和演算を高速に実行できる。
【0067】
また、仮想3次元空間に配置され、各種のテクスチャ情報が付加されたポリゴン情報を、Zバッファ法によりレンダリングして、所定の視点位置から仮想3次元空間に配置されたポリゴンを俯瞰したレンダリング画像を得る演算の高速実行も可能である。
【0068】
さらに、CPU 101と画像演算プロセッサが協調動作することにより、文字の形状を定義するフォント情報にしたがって、文字列を2次元画像としてフレームメモリへ描画したり、各ポリゴン表面へ描画することが可能である。フォント情報は、ROM 102に記録されているが、DVD−ROMに記録された専用のフォント情報を利用することも可能である。
【0069】
NIC 109は、ゲーム装置100をインターネット等のコンピュータ通信網(図示せず)に接続するためのものであり、LAN(Local Area Network)を構成する際に用いられる10BASE−T/100BASE−T規格にしたがうものや、電話回線を用いてインターネットに接続するためのアナログモデム、ISDN(Integraged Services Digital Network)モデム、ADSL(Asymmetric Digital Subscriber Line Modem)モデム、ケーブルテレビジョン回線を用いてインターネットに接続するためのケーブルモデム等と、これらとCPU 101との仲立ちを行うインターフェース(図示せず)により構成される。
【0070】
音声処理部110は、DVD−ROMから読み出した音声データをアナログ音声信号に変換し、これに接続されたスピーカ(図示せず)から出力させる。また、CPU 101の制御の下、ゲームの進行の中で発生させるべき効果音や楽曲データを生成し、これに対応した音声をスピーカから出力させる。
【0071】
このほか、ゲーム装置100は、ハードディスク等の大容量外部記憶装置を用いて、ROM 102、RAM 103、外部メモリ106、DVD−ROMドライブ108に装着されるDVD−ROM等と同じ機能を果たすように構成してもよい。
【0072】
また、ユーザからの文字列の編集入力を受け付けるためのキーボードや、各種の位置の指定および選択入力を受け付けるためのマウスなどを接続する形態も採用することができる。また、本実施形態のゲーム装置100にかえて、汎用のパーソナルコンピュータを利用することもできる。
【0073】
(概要構成)
図3は、本実施形態に係る文字列入力装置の概要構成を示す模式図である。以下、本図を参照して説明する。なお、以下では、まず、文字列入力装置301について概説した後に、当該文字列入力装置301において実行される処理の制御について述べる。
【0074】
文字列入力装置301は、記憶部302と、参照部303と、表示部304と、編集部305と、移動部306と、決定部307と、を備える。
【0075】
まず、記憶部302は、少なくとも、当該文字列入力装置301がユーザからの入力結果として過去に出力した文字列の履歴と、所定の複数の定型文字列と、を候補の文字列として記憶する。すなわち、記憶部302は、そのユーザが過去にこの文字列入力装置301を使って入力した文字列の履歴を記憶するとともに、あらかじめ用意されたよく利用されると予想される定型文字列を記憶する。したがって、RAM 103や外部メモリ106は、記憶部302のうち、過去に出力した文字列の履歴を記憶する部分として機能する。また、RAM 103や外部メモリ106のほか、DVD−ROMドライブ108に装着されたDVD−ROM、ROM 102は、記憶部302のうち、所定の複数の定型文字列を記憶する部分として機能しうる。
【0076】
図4は、文字列の履歴と、定型文字列と、がノードとなり、互いのいずれかを参照するグラフ構造の形式で記憶部302に記憶されている様子を示している。図に示すように、グラフ構造401には、過去にユーザが当該文字列入力装置301を用いて入力した文字列の履歴を格納する履歴ノード402、あらかじめ用意された定型文字列を格納する定型文字列ノード403、および、当該文字列入力装置301による処理が開始されたときに、最初に候補となる文字列を記憶する既定文字列ノード404が含まれている。
【0077】
ノードからは他のノードを参照する矢印(グラフ理論におけるアーク)が出ている。矢印にはそれぞれ「上」「下」という符号が付されている。1つのノードから出る「上」矢印、「下」矢印は、それぞれ1本である。
【0078】
また、図4には、参照部303も図示されている。参照部303は、現在の候補の文字列を参照する。当該文字列入力装置301の利用を開始した時点では、参照部303は、矢印411により、既定文字列ノード404を指しているが、ユーザの移動指示入力により、矢印411が指すノードが更新される。図4では、矢印411は、文字列の履歴401内のノードの1つを指している。すなわち、RAM 103や外部メモリ106は、参照部303として機能する。
【0079】
このグラフ構造401は、いわゆる連結リストとしてメモリ内に実現するのが最も素直な実装であるが、たとえば、文字列配列として実装し、配列の添字の計算処理によって上記のような矢印関係を表現するような手法を採用しても良い。
【0080】
一方、表示部304は、参照部303により参照される候補の文字列を表示する。後述するように、編集部305によって既定文字列ノード404自体が編集されたり、移動部306によって移動指示入力が処理され矢印411が指すノードが変更されると、それに応じて、表示部304は、変更・更新された後の候補の文字列を表示する。すなわち、CPU 101は、画像処理部107と共働して、表示部304として機能する。
【0081】
図5は、表示部304により、矢印411が指すノードの内容と、グラフ構造401の一部とが、画像処理部107によりモニタに表示された様子を示す説明図である。
【0082】
画面501の中央には、枠状の形状を有するカーソル502が表示されている。カーソル502の枠内には、現在の参照部303が矢印411により参照している候補である既定文字列ノード404の内容が表示されている。ただし、本図は、ユーザからの入力は何もない状況であるため、カーソル502内には長さ0の文字列が表示されている(すなわち、文字は何も表示されていない)。また、カーソル502の上には、既定文字列ノード404から「上」矢印を順にたどっていったときの各ノードの文字列が、所定の数だけ表示されている。カーソル502の下には、既定文字列ノード404から「下」矢印を順にたどっていったときの各ノードの文字列が、所定の数だけ表示されている。
【0083】
移動部306は、ユーザによるコントローラ105の押圧操作を監視する。すなわち、CPU 101は、コントローラ105と共働して、移動部306として機能する。そして、ユーザからの移動指示入力があった場合、これに応じて、参照部303からの矢印411の指すノードを変更する。移動指示入力としては、以下のような態様を採用する。
↑ボタン201の押圧操作。「上」矢印に沿ってノードを移動する。
↓ボタン202の押圧操作。「下」矢印に沿ってノードを移動する。
【0084】
図6は、図4に示したグラフ構造401に対して、↑ボタン201を2回押圧操作した場合のグラフ構造の様子と、当該グラフ構造に対応して表示部304によりモニタに表示される画像の様子を示す。本図に示すように矢印411は、「履歴2」という文字列を有する履歴ノード402を指すこととなる。画面にも、カーソル502内に「履歴2」が表示されているが、これは、ちょうど、カーソル502の上下に表示された一連の文字列を上方向に2つ移動したことに相当していることがわかる。
【0085】
これにより、現在の候補の文字列以外のものが、次の候補として選択され、参照部303は、当該次の候補の文字列を新たな候補として参照することとなる。
【0086】
図4に示すグラフ構造401を見ればわかる通り、↑ボタン201の押圧操作を続ければ、履歴ノード402の文字列が順に画面のカーソル502内に表示され、すべての履歴ノード402の文字列が表示されると、既定文字列ノード404に戻ることとなる(1周したことになる)。すなわち、↑ボタン201を押圧操作し続けている間は、当該↑ボタン201は、履歴内の移動の指示入力として解釈されることになる。
【0087】
また、↓ボタン202の押圧操作を続ければ、定型文字列ノード403内の文字列が順に画面のカーソル502内に表示され、すべての定型文字列ノード403内の文字列が表示されると、既定文字列ノード404に戻ることとなる(1周したことになる)。すなわち、↓ボタン202を押圧操作し続けている間は、当該↓ボタン202は、定型文字列内の移動の指示入力として解釈されることになる。
【0088】
また、↑ボタン201と↓ボタン202は互いに逆向きの移動を意味するので、↑ボタン201を押した直後に↓ボタン202を押せば、元のノードに戻ることができる。↓ボタン202を押した直後に↑ボタン201を押した場合も同様である。
【0089】
ユーザは、このように↑ボタン201と↓ボタン202とを用いて、過去に入力した履歴および定型の文字列の候補群の中を自由に移動し、所望の文字列がカーソル502内に表示されたら、これを入力結果として決定することとなる。決定部307は、ユーザからの決定指示入力があった場合、参照部303により参照される候補の文字列を、ユーザからの入力結果として出力する。本実施形態では、決定指示入力は、○ボタン205の押圧操作に対応付けられている。
【0090】
たとえば、図6のような状況で、ユーザが○ボタン205を押圧操作すると、参照部303により参照され、表示部304によりカーソル502内に表示されている文字列「履歴2」が入力結果として出力される。
【0091】
さらに、記憶部302は、過去に出力した文字列の履歴を記憶するので、ここで出力された入力結果は、記憶部302に追加記憶されることとなる。すなわち、新たな履歴ノード402が作成され、当該履歴ノード402は、この入力結果を格納する。また、この新たな履歴ノード402は、図7に示すように、既定文字列ノード404と、これから「上」矢印を介して隣接する履歴ノード402との間に挿入される。
【0092】
なお、履歴ノード402の数を一定数に制限するような実施形態では、すでに確保された履歴ノード402の数が制限数に達している場合は、既定文字列ノード404へ「上」矢印を介して隣接する履歴ノード402をグラフ構造401から削除し、この履歴ノード402に当該入力結果を格納して、あらためて上記のようにグラフ構造401に挿入するような実施形態を採用しても良い。この場合、『既定文字列ノード404へ「上」矢印を介して隣接する履歴ノード402』は、最も以前に入力された入力結果に相当する。
【0093】
また、当該入力結果が既存の履歴ノード402のいずれかと一致する場合には、これを挿入しない、という手法も考えられる。このほか、既存の履歴ノード402のいずれかと一致する場合には、既存の履歴ノード402の位置を、既定文字列ノード404と、これから「上」矢印を介して隣接する履歴ノード402との間に移動することとしても良い。後者の場合には、↑ボタン201を押圧していくと、最近入力した順に履歴がカーソル502内に表示されるが、1周するまでに同じ文字列が複数回表示されることはないので、迅速に現在の履歴の状況を一覧することができる。
【0094】
一方、カーソル502内に表示された文字列を直接編集したい場合がありうる。本実施形態では、□ボタン208の押圧操作によって、カーソル502内に表示された文字列の直接編集モードに移行する。
【0095】
直接編集モードに移行する際には、まず、現在の候補の文字列、すなわち、参照部303から矢印411を介して参照されているノードが格納する文字列を取得する。そして、この文字列で既定文字列ノード404を上書きして格納し、矢印411が既定文字列ノード404を参照するように更新を行う。
【0096】
ついで、他の編集機能モジュールに既定文字列ノード404のアドレスを渡し、ユーザからの指示にしたがって、これに格納された文字列の編集を行う。このような文字列の編集の際には、公知のソフトウェアキーボードの技術等を利用することができる。
【0097】
以下、公知のソフトウェアキーボード技術による編集作業について簡単に述べる。図8は、ソフトウェアキーボードの画面表示の例を示す説明図である。画面801には、編集対象文字列802、利用可能な文字803(図では「A」〜「Z」の英字と空白のみ。)、文字803のいずれか1つを指す文字カーソル804(図中では「N」を指している。)が表示されている。ユーザが↑ボタン201、↓ボタン202、←ボタン203、→ボタン204を用いると、その方向に文字カーソル804が移動する。○ボタン205を操作すると、現在文字カーソルが指している文字が、編集対象文字列802の末尾に追加される。×ボタン206を操作すると、編集対象文字列802の末尾の文字が削除される。□ボタン208の押圧操作によって、文字列の編集が終了し、最後に表示されていた編集対象文字列802が、既定文字列ノード404に格納される。
【0098】
図9は、本実施形態の文字列入力装置301で実行される文字列入力処理の流れを示すフローチャートである。以下、本図を参照して説明する。
【0099】
文字列入力処理が開始されると、まず、参照部303が矢印411を介して既定文字列ノード404を指すように、参照部303の内容を初期設定して更新し(ステップS901)、既定文字列ノード404の内容を消去する(ステップS902)。
【0100】
そして、現在のグラフ構造401の状況を、図5や図6に示すように表示し(ステップS903)、ユーザからの指示入力を監視して、指示入力が何かを調べる(ステップS904)。
【0101】
指示入力が↑ボタン201であった場合(ステップS904;上)、矢印411が指すノードから出ている「上」矢印に沿った次のノードを調べ、参照部303が矢印411を介して当該次のノードを参照するように参照部303の内容を更新して(ステップS905)、ステップS903に戻る。
【0102】
指示入力が↓ボタン202であった場合(ステップS904;下)、矢印411が指すノードから出ている「下」矢印に沿った次のノードを調べ、参照部303が矢印411を介して当該次のノードを参照するように参照部303の内容を更新して(ステップS906)、ステップS903に戻る。
【0103】
指示入力が○ボタン205であった場合(ステップS904;決定)、参照部303が矢印411を介して参照しているノードが格納する文字列を取得し(ステップS907)、当該取得した文字列によってグラフ構造401を上記のように更新して(ステップS908)、当該取得した文字列を入力結果として出力し(ステップS909)、本処理を終了する。
【0104】
指示入力が□ボタン208であった場合(ステップS904;編集)、参照部303が矢印411を介して参照しているノードが格納する文字列を取得し(ステップS910)、当該取得した文字列を既定文字列ノード404に格納し(ステップS911)、当該既定文字列ノード404を参照部303が矢印411を介して参照するようにした上で(ステップS912)、当該格納された文字列をソフトウェアキーボードにより編集し(ステップS913)、ステップS903に戻る。
【0105】
本実施形態により、ヒストリ機能と定型文字列の両入力機能を兼ね備え、ユーザが効率良く文字列を入力できる文字列入力技術を実現することができる。
【0106】
尚、上記実施形態では、図5、図6に示すように、カーソル502の上下にも候補となる文字列を表示していたが、各種OSのコマンドラインインターフェースに本発明を適用する場合には、この表示を省略してもよい。この場合は、カーソル502自体の表示も省略することができる。コマンドラインの1行には、参照部303が矢印411を介して参照するノードが格納している文字列が表示されることとなる。
【0107】
また、上記実施形態では、きわめて簡単なソフトウェアキーボードを利用したが、公知のより高機能なソフトウェアキーボードを採用してもよい。たとえば、編集対象文字列についても編集カーソルが定められており、編集カーソルの移動と、文字カーソルの移動との組合せにより、多彩な編集機能を実現したようなソフトウェアキーボードと組み合わせることができる。
【0108】
(その他の実施形態)
上記実施形態では、移動指示入力として↑ボタン201と↓ボタン202を採用し、これらのそれぞれにグラフ構造401内の「上」矢印と「下」矢印を対応付けていた。本実施形態は、グラフ構造401に、さらに他の種類の矢印を設け、この矢印に他のボタンを割り当てることにより、メニュー形式に類似した手法で文字列を入力可能にするものである。
【0109】
図10に、本実施形態におけるグラフ構造を示す。グラフ構造401の上半分に相当する履歴ノード402と既定文字列ノード404との関係は、上記実施形態と同様である。下半分には、上記実施形態では、定型文字列ノード402が配置されていたが、本実施形態では、定型文字列ノードの一種である代表定型文字列ノード405が、既定文字列ノード404と「上」矢印および「下」矢印を介して循環的に配置されている。また、各代表定型文字列ノード405からは、「右」矢印および「左」矢印を介して、定型文字列ノード403が循環的に配置されている。
【0110】
そして、定型文字列ノード403のそれぞれから出る「上」矢印・「下」矢印は、これに対応する代表定型文字列ノード405の「上」矢印・「下」矢印が指すものと同じノードを指している。
【0111】
そして、「左」矢印には←ボタン203が、「右」矢印には→ボタン204が、それぞれ対応付けられており、ステップS904〜S906に示した↑ボタン201、↓ボタン202の操作の処理の場合と同様に、ノード内の移動を行う。
すなわち、ユーザからの指示入力が←ボタン203の押圧操作であった場合、矢印411が指すノードから出ている「左」矢印に沿った次のノードが存在するか調べ、存在する場合は、参照部303が矢印411を介して当該次のノードを参照するように参照部303の内容を更新する。一方、ユーザからの指示入力が右ボタン204の押圧操作であった場合、矢印411が指すノードから出ている「右」矢印に沿った次のノードが存在するか調べ、存在する場合は、参照部303が矢印411を介して当該次のノードを参照するように参照部303の内容を更新する。
【0112】
典型的には、代表定型文字列ノード405には、これと「左」「右」矢印により循環的に配置されている定型文字列ノード403に格納されている文字列の上位概念に相当する文字列を格納することが望ましい。
【0113】
そして、本実施形態では、上記実施形態のステップS904において指示入力が○ボタン205であった場合には、当該ノードが代表定型文字列ノード405であるか否かを調べ、そうである場合にはステップS903に戻り、そうでなければステップS907に進むこととして、代表定型文字列ノード405に格納された文字列そのものは、入力結果として決定できないようにしても良い。
【0114】
(その他の実施形態)
上記実施形態では、既定文字列ノード404をグラフ構造401内に用意して、これを仲立ちとして履歴ノード402の群と定型文字列ノード403の群とが区分されるように構成していたが、これらのノードと矢印との接続・参照関係は、上記の態様に限らない。たとえば、図11に示すような、種々のバリエーションが考えられる。
【0115】
図11(a)は、履歴ノード402と定型文字列ノード403と既定文字列ノード404とが1つの循環をなしている構造である。図11(b)は、履歴ノード402の最も「上」のものから出ている「上」矢印が履歴ノード402の最も「下」のものを指し、定型文字列ノード403の最も「下」のものから出ている「下」矢印が定型文字列ノード403の最も「上」のものを指す構造である。このようなバリエーションと、上記の「左」「右」矢印を用いた構成とを組み合わせても良い。
【0116】
なお、このような種々のバリエーションを採用する際においても、グラフ構造401において、あるノードから他のノードへある方向属性(「上」「下」等)の矢印がある場合には、当該他のノードから当該あるノードへこれとは逆の方向属性の矢印があるように設計しておくと、必ず循環的に候補文字列が表示されることとなり、逆方向の操作を行ったときには、逆方向に移動がされるため、人間の直観に適合した入力手法が実現される。
【0117】
【発明の効果】
以上説明したように、本発明によれば、効率良く文字列の入力を行うのに好適な文字列入力装置、文字列入力方法、ならびに、これらをコンピュータによって実現するプログラムを提供することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係る文字列入力装置が実現される典型的なゲーム装置の概要構成を示す模式図である。
【図2】ゲーム装置に容易されるコントローラの外観構成を示す説明図である。
【図3】文字列入力装置の概要構成を示す模式図である。
【図4】記憶部と参照部に記憶されるグラフ構造の様子を示す説明図である。
【図5】表示部による表示例を示す説明図である。
【図6】表示部による表示例と、記憶部と参照部に記憶されるグラフ構造の様子と、を示す説明図である。
【図7】グラフ構造の更新の様子を示す説明図である。
【図8】ソフトウェアキーボードの概要構成を示す説明図である。
【図9】文字列入力装置で実行される文字列入力処理の流れを示すフローチャートである。
【図10】グラフ構造の他の実施形態を示す模式図である。
【図11】グラフ構造の他の実施形態を示す模式図である。
【符号の説明】
100 ゲーム装置
101 CPU
102 ROM
103 RAM
104 インターフェース
105 コントローラ
106 外部メモリ
107 画像処理部
108 DVD−ROMドライブ
109 NIC
110 音声処理部
201 ↑ボタン
202 ↓ボタン
203 ←ボタン
204 →ボタン
205 ○ボタン
206 ×ボタン
207 △ボタン
208 □ボタン
209 SELECTボタン
210 STARTボタン
211 ANALOGボタン
212 インジケータ
213 ジョイスティック
214 ジョイスティック
215 L1ボタン
216 L2ボタン
217 R1ボタン
218 R2ボタン
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a character string input device, a character string input method, and a program.
[0002]
[Prior art]
In various information processing using a computer, a PDA (Personal Data Assistant), a mobile phone, a game device, etc., various instruction input and data input techniques from a user are extremely important.
[0003]
A general computer uses a keyboard or mouse to input a character string. A mobile phone assigns hiragana or alphabetic characters to the numeric keys 0 to 9, and switches the input mode for input. A method of performing input using a recognition technique is widely used. Also, in the game device, a technique is used in which video of the keyboard is displayed on the screen, the cursor is moved to a desired character on the keyboard using the direction key, and the character is input using the enter key. .
[0004]
Furthermore, a technique is also provided in which a fixed sentence is assigned to a function key or the like, and the fixed sentence is input by pressing it.
[0005]
In addition, in a system that performs a dialog with a user using a command line, a history of character strings input in the past by the user is stored, and the history is moved by the operation from the keyboard. Some provide a history function that allows the user to re-enter or edit the same character string as the input character string.
[0006]
[Problems to be solved by the invention]
However, particularly in an environment where there are few keys and buttons that can be used by the user, such as a mobile phone, a game device, and a PDA, there is always a need for a character string input technology that is easy to get familiar with and efficient for the user.
[0007]
The present invention has been made to solve such a problem, and provides a character string input device, a character string input method, and a program for realizing them by a computer, which are suitable for efficiently inputting a character string. The purpose is to provide.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the following invention is disclosed in accordance with the principle of the present invention.
[0009]
A character string input device according to a first aspect of the present invention includes a storage unit, a reference unit, a display unit, a moving unit, and a determining unit, and is configured as follows. Note that the character string input device includes not only a computer or the like that is controlled by software, but also a device that implements the following configuration using a dedicated electronic circuit / electric circuit.
[0010]
First, the storage unit stores at least a history of character strings output by the character string input device in the past as an input result from the user and a plurality of predetermined fixed character strings as candidate character strings. In other words, the storage unit stores a history of character strings input by the user using the character string input device in the past, and also stores fixed character strings prepared in advance and expected to be frequently used.
[0011]
On the other hand, the reference unit refers to the current candidate character string. Further, the display unit displays candidate character strings referred to by the reference unit. Therefore, when the candidate character string referred to by the reference unit is changed / updated by the action of the editing unit or moving unit described later, the display unit accordingly changes the candidate character string after being changed / updated. Is displayed.
[0012]
On the other hand, when there is a movement instruction input from the user, the movement unit selects a character string other than the current candidate character string from among the candidate character strings stored in the storage unit according to the movement instruction input as the next candidate. And the next candidate character string is referred to as a new candidate by the reference unit. In other words, in response to the movement instruction input, the moving unit “moves” through the history and the fixed character string candidate group input in the past, and a desired character string (or a character string similar to the desired character string). , Which can be easily edited to a desired character string), and this is set as the current candidate. As described above, when the reference unit refers to a new candidate, it becomes the current candidate, and the display unit displays this new candidate.
[0013]
Furthermore, when a determination instruction is input from the user, the determination unit outputs a candidate character string referred to by the reference unit as an input result from the user. That is, if there is a determination instruction input from the user, the character string referred to by the reference unit (this is the same as the character string displayed on the display unit) is the input result. As described above, since the storage unit stores the history of character strings output in the past, the input result output here is additionally stored in the storage unit.
[0014]
In the present invention, the user can input a character string by searching for a desired character string from the history of the input character string and the fixed sentence with a simple instruction input.
[0015]
The character string input device of the present invention further includes an editing unit and can be configured as follows. That is, when an editing instruction is input from the user, the editing unit edits the character string referred to by the reference unit in accordance with the input of the editing instruction, and refers to the reference unit as the new candidate character string. Let Possible editing instructions include moving the cursor within the current candidate string, deleting the character before the cursor, deleting the character pointed to by the cursor, inserting a character at the cursor position, and deleting all the current candidates. It is done. In the case of character insertion, the above-described software keyboard technique can be applied. In the present invention, the user can select and input a character string prepared in advance, and can further edit the character string.
[0016]
In the character string input device of the present invention, the movement instruction input includes the types of the movement instruction input in the history and the movement instruction input in the fixed form, and can be configured as follows.
(A) When the movement instruction input from the user is an in-history movement instruction input, and the candidate character string referred to by the reference unit is one of the character string histories output in the past stored in the storage unit The moving unit selects another one of the character string histories output in the past as the next candidate.
(B) When the movement instruction input from the user is an in-standard movement instruction input, and the candidate character string referred to by the reference unit is one of a plurality of predetermined fixed character strings stored in the storage unit, The moving unit selects another one of the predetermined plural fixed character strings as the next candidate.
[0017]
That is, the moving unit determines whether the current candidate character string is one in the history or a fixed character string, and whether the instruction input is a movement in the history or a movement in the fixed character string. , And the candidate character string is changed accordingly.
[0018]
According to the present invention, when a user wants to search only a candidate in the history to search for a desired character string or scan only a fixed character string to search for a desired character string, the user can efficiently do this. Can do.
[0019]
In the character string input device according to the present invention, the storage unit further stores a predetermined default character string (including a character string having a length of 0), and the movement instruction input is a first movement instruction input. And the second movement instruction input, and can be configured as follows. Here, the predetermined default character string serves as a “reference position” for movement within the candidate group of the history and the fixed character string, and when there is no desired character string in the history and the fixed character string. Corresponds to the case of accepting direct input of characters from the user by a software keyboard or the like.
[0020]
First, when the candidate character string referred to by the reference unit is the predetermined default character string, the moving unit receives a movement instruction input from the user.
If it is the first movement instruction input, one of the character string histories output in the past is
If it is the second movement instruction input, one of the predetermined plural fixed character strings is
Select as next candidate.
[0021]
On the other hand, when the candidate character string referred to by the reference unit is one of the character string histories output in the past, the moving unit receives a movement instruction input from the user.
If it is the first or second movement instruction input, another one of the history of the character strings output in the past, or the predetermined default character string,
Select as next candidate.
[0022]
When the candidate character string referred to by the reference unit is one of the predetermined plural fixed character strings, the moving unit receives a movement instruction input from the user.
If it is the first or second movement instruction input, another one of the predetermined plurality of fixed character strings, or the predetermined predetermined character string,
Select as next candidate.
[0023]
That is, the first movement instruction input corresponds to the reference position and movement in the history, and the second movement instruction input corresponds to the movement in the reference position and the fixed character string.
[0024]
According to the present invention, the movement in the history and the movement in the fixed character string are grouped, and the movement between both groups is performed via the reference position. A column selection interface can be provided.
[0025]
The character string input device of the present invention can be configured as follows.
[0026]
That is, when the reference unit refers to the first candidate character string, the first movement instruction input is given to refer to the second candidate character string, and the first candidate and the second candidate character string are referred to. If any of the candidates is included in the history of the character string output in the past, then when the second movement instruction input is given, the moving unit sets the first candidate character string as the next candidate. select.
[0027]
On the other hand, when the reference unit is referring to the third candidate character string, the second movement instruction input is given to refer to the fourth candidate character string, and the third candidate and the fourth candidate character string are referred to. If any of the candidates is included in the history of the character string output in the past, and the first movement instruction input is subsequently given, the moving unit sets the third candidate character string as the next candidate. select.
[0028]
According to the present invention, the first movement instruction input can be canceled by the second movement instruction input immediately after, and the second movement instruction input can be canceled by the first movement instruction input immediately after, so that the user An easy-to-understand selection interface can be provided.
[0029]
In the character string input device of the present invention, the storage unit classifies and stores the predetermined plurality of fixed character strings into a plurality of groups, and the movement instruction input indicates the type of the third movement instruction input. If the candidate character string included in the reference part is one of the predetermined plurality of fixed character strings, the moving unit may include another fixed character included in the group to which one of the fixed character strings belongs. One of the columns can be configured to be selected as the next candidate. In other words, when a fixed character string is displayed, when a third movement instruction is input, a new candidate is obtained by scanning the candidates included in the current group.
[0030]
In the present invention, for example, by grouping fixed character strings into “greetings”, “person names”, “verbs”, “nouns”, “particles”, “adjectives”, etc., the user can efficiently select a desired fixed character string. A simple selection interface can be realized.
[0031]
In the character string input device of the present invention, the storage unit stores at least one of the fixed character strings belonging to each of the plurality of groups as a representative fixed character string, and is referred to by the reference unit. When the character string is the representative standard character string, the determination unit determines the candidate character string referred to by the reference unit as the input result from the user even when the determination instruction is input from the user. Can be configured not to output.
[0032]
For example, a "greeting", "Good morning,""Hello,""Goodevening" in the group contains a fixed character string "Goodbye,""bye-bye", consider the case "greeting" is the group representative fixed string. If a third movement instruction input is given when any of these is the current candidate, these six candidates are scanned and displayed as appropriate. When any of the five character strings other than “greeting” is displayed as a candidate and a decision instruction is input, the character string is output as an input result, but the representative standard character string “ When “greeting” is displayed as a candidate, this is not used as an input result.
[0033]
In the present invention, if a group name (corresponding to a higher level concept of a fixed character string belonging to the group) is adopted as a representative fixed character string, a selection interface that allows a user to easily acquire a desired character string is realized. can do.
[0034]
A character string input method according to another aspect of the present invention is a candidate for at least a history of character strings output in the past as an input result from a user by the character string input method and a plurality of predetermined character strings. Using a storage unit that stores the character string and a reference unit that refers to the current candidate character string, and includes a display step, an editing step, a moving step, and a determining step, and is configured as follows. To do.
[0035]
First, in the display step, a candidate character string referred to by the reference unit is displayed.
[0036]
On the other hand, in the editing process, when there is an editing instruction input from the user, the character string referenced by the reference unit is edited according to the editing instruction input, and the edited character string is referred to the reference unit as a new candidate. Let
[0037]
Further, in the movement step, when there is a movement instruction input from the user, a character string other than the current candidate character string is selected from the candidate character strings stored in the storage unit according to the movement instruction input as the next candidate. And the reference part refers to the character string of the next candidate as a new candidate.
[0038]
In the determination step, when a determination instruction is input from the user, a candidate character string referred to by the reference unit is output as an input result from the user.
[0039]
A program according to another aspect of the present invention causes a computer (including an information processing device such as a game device, a PDA, or a mobile phone) to function as a storage unit, a reference unit, a display unit, a moving unit, and a determining unit, The program is configured to cause the computer to function as follows.
[0040]
In other words, the storage unit stores at least a history of character strings output in the past by the character string input device as an input result from the user and a plurality of predetermined fixed character strings as candidate character strings.
[0041]
On the other hand, the reference unit refers to the current candidate character string.
[0042]
Further, the display unit displays candidate character strings referred to by the reference unit.
[0043]
On the other hand, when there is a movement instruction input from the user, the movement unit selects a character string other than the current candidate character string from among the candidate character strings stored in the storage unit according to the movement instruction input as the next candidate. And the reference part refers to the character string of the next candidate as a new candidate.
[0044]
Furthermore, when a determination instruction is input from the user, the determination unit outputs a candidate character string referred to by the reference unit as an input result from the user.
[0045]
The program of the present invention further causes the computer to function as an editing unit, and when the editing unit inputs an editing instruction, the editing unit edits a character string referred to by the reference unit according to the editing instruction input. The character string of the edited result can be configured to be referred to by the reference unit as a new candidate.
[0046]
The program of the present invention can be recorded on a computer-readable information recording medium such as a compact disk, flexible disk, hard disk, magneto-optical disk, digital video disk, magnetic tape, and semiconductor memory. The above program can be distributed and sold via a computer communication network independently of the computer on which the program is executed. The information recording medium can be distributed and sold independently of the computer.
[0047]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below. In the following, for ease of understanding, an embodiment in which the present invention is applied to a game device will be described. However, the present invention can be similarly applied to information processing devices such as various computers, PDAs, and mobile phones. it can. That is, the embodiment described below is for explanation, and does not limit the scope of the present invention. Therefore, those skilled in the art can employ embodiments in which each or all of these elements are replaced with equivalent ones, and these embodiments are also included in the scope of the present invention.
[0048]
(First embodiment)
FIG. 1 is a schematic diagram showing a schematic configuration of a typical game device in which the character string input device according to the first embodiment of the present invention is realized. Hereinafter, a description will be given with reference to FIG.
[0049]
The game apparatus 100 includes a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, an interface 104, a controller 105, an external memory 106, an image processing unit 107, and the like. , A DVD (Digital Versatile Disk) -ROM drive 108 and a NIC (Network Interface Card) 109.
[0050]
A DVD-ROM storing a game program and data is loaded in the DVD-ROM drive 108 and the game apparatus 100 is turned on to execute the program, thereby realizing the character string input device of the present embodiment. Is done.
[0051]
The CPU 101 controls the overall operation of the game apparatus 100 and is connected to each component to exchange control signals and data.
[0052]
The ROM 102 stores an IPL (Initial Program Loader) that is executed immediately after the power is turned on, and when this is executed, the program recorded on the DVD-ROM is read out to the RAM 103 and execution by the CPU 101 is started. The The ROM 102 stores an operating system program and various data necessary for operation control of the entire game apparatus 100.
[0053]
The RAM 103 is for temporarily storing data and programs, and holds programs and data read from the DVD-ROM and other data necessary for game progress and chat communication.
[0054]
The controller 105 connected via the interface 104 receives an operation input performed when the user executes the game.
[0055]
FIG. 2 is an explanatory diagram showing the appearance of the controller 105. Hereinafter, a description will be given with reference to FIG.
[0056]
On the left side of the controller 105, there are arranged an ↑ button 201, a ↓ button 202, a ← button 203, and a → button 204 that are used to perform operation input indicating up, down, left, and right.
[0057]
On the right side, a ○ button 205 used to input a decision operation, a × button 206 used to input a cancel operation, a Δ button 207 used to input an instruction such as a menu display, A square button 208 used for inputting other instructions is arranged.
[0058]
In addition to the SELECT button 209 and the START button 210, an ANALOG button 211 for instructing start / stop of analog input and an indicator 212 for displaying whether the analog input is valid or invalid are arranged in the center. .
[0059]
In addition, joysticks 213 and 214 for inputting an instruction with a size in a direction not limited to up, down, left, and right are arranged at the lower center.
[0060]
Further, an L1 button 215, an L2 button 216, an R1 button 217, and an R2 button 218 that can be used for inputting various instructions are disposed above.
[0061]
Each button 201-208, 215-218 of the controller 105 is provided with a pressure sensor, and when analog input is enabled, it can detect which button is pressed, The magnitude of the pressure of the user's pressing operation can be obtained in 256 steps from 0 to 255.
[0062]
The joysticks 213 and 214 of the controller 105 are provided with strain gauges and can detect how much they are bent in which direction.
[0063]
Returning to FIG. 1, the external memory 106 detachably connected via the interface 104 stores data indicating the progress of the game, chat communication log (record) data, and the like in a rewritable manner. The user can record these data in the external memory 106 as appropriate by inputting an instruction via the controller 105.
[0064]
A DVD-ROM mounted on the DVD-ROM drive 108 stores a program for realizing the game and image data and audio data associated with the game. Under the control of the CPU 101, the DVD-ROM drive 108 performs a reading process on the DVD-ROM loaded therein, reads out necessary programs and data, and these are temporarily stored in the RAM 103 or the like.
[0065]
The image processing unit 107 processes the data read from the DVD-ROM by an image arithmetic processor (not shown) included in the CPU 101 or the image processing unit 107, and then processes the processed data on a frame memory ( (Not shown). The image information recorded in the frame memory is converted into a video signal at a predetermined synchronization timing and output to a monitor (not shown) connected to the image processing unit 107. Thereby, various image displays are possible.
[0066]
The image calculation processor can execute a two-dimensional image overlay calculation, a transmission calculation such as α blending, and various saturation calculations at high speed.
[0067]
In addition, the polygon information arranged in the virtual three-dimensional space and added with various texture information is rendered by the Z buffer method, and a rendering image obtained by overlooking the polygon arranged in the virtual three-dimensional space from a predetermined viewpoint position is obtained. High speed execution of the obtained operation is also possible.
[0068]
Further, the CPU 101 and the image arithmetic processor operate in a coordinated manner, so that a character string can be drawn as a two-dimensional image in a frame memory or drawn on the surface of each polygon according to font information that defines the character shape. is there. The font information is recorded in the ROM 102, but it is also possible to use dedicated font information recorded in the DVD-ROM.
[0069]
The NIC 109 is used to connect the game apparatus 100 to a computer communication network (not shown) such as the Internet, and conforms to the 10BASE-T / 100BASE-T standard used when configuring a LAN (Local Area Network). Accordingly, an analog modem for connecting to the Internet using a telephone line, an ISDN (Integrated Services Digital Network) modem, an ADSL (Asymmetric Digital Subscriber Modem) modem, and a cable television line for connecting to the Internet. A cable modem or the like and an interface (not shown) that mediates between these and the CPU 101 are configured.
[0070]
The audio processing unit 110 converts audio data read from the DVD-ROM into an analog audio signal and outputs the analog audio signal from a speaker (not shown) connected thereto. Further, under the control of the CPU 101, sound effects and music data to be generated during the progress of the game are generated, and sound corresponding to this is output from the speaker.
[0071]
In addition, the game apparatus 100 uses a large-capacity external storage device such as a hard disk so as to perform the same functions as the ROM 102, the RAM 103, the external memory 106, the DVD-ROM attached to the DVD-ROM drive 108, and the like. It may be configured.
[0072]
Further, it is possible to adopt a form in which a keyboard for accepting a character string editing input from a user, a mouse for accepting various position designations and selection inputs, and the like are connected. In addition, a general-purpose personal computer can be used instead of the game apparatus 100 of the present embodiment.
[0073]
(Outline configuration)
FIG. 3 is a schematic diagram illustrating a schematic configuration of the character string input device according to the present embodiment. Hereinafter, a description will be given with reference to FIG. In the following, first, the outline of the character string input device 301 will be described, and then control of processing executed in the character string input device 301 will be described.
[0074]
The character string input device 301 includes a storage unit 302, a reference unit 303, a display unit 304, an editing unit 305, a moving unit 306, and a determining unit 307.
[0075]
First, the storage unit 302 stores, as candidate character strings, at least a history of character strings output by the character string input device 301 in the past as an input result from the user and a plurality of predetermined fixed character strings. In other words, the storage unit 302 stores a history of character strings input by the user using the character string input device 301 in the past, and stores a fixed character string prepared in advance and expected to be frequently used. . Accordingly, the RAM 103 and the external memory 106 function as a part of the storage unit 302 that stores a history of character strings output in the past. In addition to the RAM 103 and the external memory 106, the DVD-ROM and ROM 102 mounted on the DVD-ROM drive 108 can function as a part of the storage unit 302 that stores a plurality of predetermined character strings.
[0076]
FIG. 4 shows a state in which a history of character strings and a fixed character string are nodes and are stored in the storage unit 302 in the form of a graph structure that refers to one another. As shown in the figure, the graph structure 401 includes a history node 402 that stores a history of character strings input by a user using the character string input device 301 in the past, and a fixed character that stores a fixed character string prepared in advance. A column node 403 and a default character string node 404 that stores character strings that are candidates first when processing by the character string input device 301 is started are included.
[0077]
From the node, there is an arrow (an arc in graph theory) that refers to another node. The arrows are labeled “upper” and “lower”, respectively. There is one “up” arrow and “down” arrow from each node.
[0078]
FIG. 4 also shows the reference unit 303. The reference unit 303 refers to the current candidate character string. When the use of the character string input device 301 is started, the reference unit 303 points to the default character string node 404 by the arrow 411, but the node pointed to by the arrow 411 is updated by the user's movement instruction input. . In FIG. 4, an arrow 411 indicates one of the nodes in the character string history 401. That is, the RAM 103 and the external memory 106 function as the reference unit 303.
[0079]
The graph structure 401 is the most straightforward implementation in the memory as a so-called linked list. For example, the graph structure 401 is implemented as a character string array and expresses the above-described arrow relationship by calculation processing of array subscripts. Such a method may be adopted.
[0080]
On the other hand, the display unit 304 displays candidate character strings referred to by the reference unit 303. As will be described later, when the default character string node 404 itself is edited by the editing unit 305, or when the movement instruction input is processed by the moving unit 306 and the node indicated by the arrow 411 is changed, the display unit 304 changes accordingly. The candidate character string after being changed / updated is displayed. That is, the CPU 101 functions as the display unit 304 in cooperation with the image processing unit 107.
[0081]
FIG. 5 is an explanatory diagram showing how the contents of the node indicated by the arrow 411 and a part of the graph structure 401 are displayed on the monitor by the image processing unit 107 by the display unit 304.
[0082]
A cursor 502 having a frame shape is displayed at the center of the screen 501. In the frame of the cursor 502, the content of the default character string node 404 that is a candidate that the current reference unit 303 refers to by the arrow 411 is displayed. However, in this figure, since there is no input from the user, a character string having a length of 0 is displayed in the cursor 502 (that is, no characters are displayed). Further, a predetermined number of character strings are displayed on the cursor 502 when the “up” arrow is sequentially traced from the default character string node 404. Below the cursor 502, a predetermined number of character strings of each node when the “down” arrow is followed in order from the default character string node 404 are displayed.
[0083]
The moving unit 306 monitors the pressing operation of the controller 105 by the user. That is, the CPU 101 functions as the moving unit 306 in cooperation with the controller 105. If a movement instruction is input from the user, the node indicated by the arrow 411 from the reference unit 303 is changed accordingly. The following modes are adopted as the movement instruction input.
↑ Pressing operation of button 201. Move the node along the "up" arrow.
↓ Pressing operation of the button 202. Move the node along the "down" arrow.
[0084]
FIG. 6 shows a graph structure when the ↑ button 201 is pressed twice with respect to the graph structure 401 shown in FIG. 4 and an image displayed on the monitor by the display unit 304 corresponding to the graph structure. The state of is shown. As shown in the figure, the arrow 411 indicates the history node 402 having the character string “history 2”. “History 2” is also displayed in the cursor 502 on the screen, which corresponds to the fact that a series of character strings displayed above and below the cursor 502 has been moved upwards by two. I understand that.
[0085]
As a result, a character string other than the current candidate character string is selected as the next candidate, and the reference unit 303 refers to the next candidate character string as a new candidate.
[0086]
As can be seen from the graph structure 401 shown in FIG. 4, if the pressing operation of the ↑ button 201 is continued, the character strings of the history nodes 402 are sequentially displayed in the cursor 502 on the screen, and the character strings of all the history nodes 402 are displayed. If it is done, it will return to the default character string node 404 (it will be 1 round). That is, while the ↑ button 201 is continuously pressed, the ↑ button 201 is interpreted as an instruction input for movement in the history.
[0087]
If the pressing operation of the ↓ button 202 is continued, the character strings in the fixed character string node 403 are sequentially displayed in the cursor 502 on the screen, and the character strings in all the fixed character string nodes 403 are displayed. It will return to the character string node 404 (it will be 1 round). That is, while the ↓ button 202 is continuously pressed, the ↓ button 202 is interpreted as a movement instruction input within the fixed character string.
[0088]
Further, since the ↑ button 201 and the ↓ button 202 mean movements in opposite directions, if the ↓ button 202 is pressed immediately after the ↑ button 201 is pressed, it is possible to return to the original node. The same applies when the ↑ button 201 is pressed immediately after the ↓ button 202 is pressed.
[0089]
Using the ↑ button 201 and the ↓ button 202 in this manner, the user can freely move in the past and the candidate group of fixed character strings, and the desired character string is displayed in the cursor 502. Then, this is determined as an input result. When receiving a determination instruction input from the user, the determination unit 307 outputs a candidate character string referred to by the reference unit 303 as an input result from the user. In the present embodiment, the determination instruction input is associated with the pressing operation of the ○ button 205.
[0090]
For example, when the user presses the ○ button 205 in the situation as shown in FIG. 6, the character string “history 2” that is referred to by the reference unit 303 and displayed in the cursor 502 by the display unit 304 is output as an input result. Is done.
[0091]
Furthermore, since the storage unit 302 stores the history of character strings output in the past, the input result output here is additionally stored in the storage unit 302. That is, a new history node 402 is created, and the history node 402 stores this input result. Further, as shown in FIG. 7, this new history node 402 is inserted between the default character string node 404 and the adjacent history node 402 via the “up” arrow.
[0092]
In an embodiment in which the number of history nodes 402 is limited to a certain number, when the number of history nodes 402 that have already been reached reaches the limit number, the default character string node 404 is connected via an “up” arrow. Alternatively, an embodiment may be employed in which the adjacent history node 402 is deleted from the graph structure 401, the input result is stored in the history node 402, and the graph structure 401 is inserted again as described above. In this case, “the history node 402 adjacent to the default character string node 404 via the“ up ”arrow” corresponds to the input result input the earliest.
[0093]
In addition, when the input result matches any of the existing history nodes 402, a method of not inserting the input node is also conceivable. In addition, when it matches with any of the existing history nodes 402, the position of the existing history node 402 is set between the default character string node 404 and the adjacent history node 402 through the “up” arrow. It may be moved. In the latter case, when the ↑ button 201 is pressed, the history is displayed in the cursor 502 in the order of the latest input, but the same character string is not displayed multiple times before going around once. The current history status can be quickly listed.
[0094]
On the other hand, there may be a case where a character string displayed in the cursor 502 is desired to be directly edited. In this embodiment, the character string displayed in the cursor 502 is shifted to the direct editing mode by pressing the □ button 208.
[0095]
When shifting to the direct editing mode, first, the current candidate character string, that is, the character string stored in the node referred to by the reference unit 303 via the arrow 411 is acquired. Then, the default character string node 404 is overwritten and stored with this character string, and updating is performed so that the arrow 411 refers to the default character string node 404.
[0096]
Next, the address of the default character string node 404 is passed to another editing function module, and the character string stored therein is edited in accordance with an instruction from the user. When editing such a character string, a known software keyboard technique or the like can be used.
[0097]
The following is a brief description of editing operations using known software keyboard technology. FIG. 8 is an explanatory diagram illustrating an example of a screen display of the software keyboard. On the screen 801, an edit target character string 802, usable characters 803 (in the figure, only letters and spaces of “A” to “Z”) and a character cursor 804 (in the figure, pointing to one of the characters 803). “N” is displayed). When the user uses the ↑ button 201, the ↓ button 202, the ← button 203, and the → button 204, the character cursor 804 moves in that direction. When the ○ button 205 is operated, the character currently pointed to by the character cursor is added to the end of the edit target character string 802. When the × button 206 is operated, the last character of the edit target character string 802 is deleted. When the button 208 is pressed, the editing of the character string is completed, and the editing target character string 802 that was displayed last is stored in the default character string node 404.
[0098]
FIG. 9 is a flowchart showing the flow of character string input processing executed by the character string input device 301 of this embodiment. Hereinafter, a description will be given with reference to FIG.
[0099]
When the character string input process is started, first, the contents of the reference unit 303 are initialized and updated so that the reference unit 303 points to the default character string node 404 via the arrow 411 (step S901). The contents of the column node 404 are deleted (step S902).
[0100]
Then, the current state of the graph structure 401 is displayed as shown in FIGS. 5 and 6 (step S903), and the instruction input from the user is monitored to check what the instruction input is (step S904).
[0101]
When the instruction input is the ↑ button 201 (step S904; up), the next node along the “up” arrow coming out from the node indicated by the arrow 411 is examined, and the reference unit 303 performs the next operation via the arrow 411. The content of the reference unit 303 is updated so as to refer to the node (step S905), and the process returns to step S903.
[0102]
When the instruction input is the ↓ button 202 (step S904; down), the next node along the “down” arrow coming out from the node indicated by the arrow 411 is examined, and the reference unit 303 passes the next node via the arrow 411. The contents of the reference unit 303 are updated so as to refer to the node (step S906), and the process returns to step S903.
[0103]
When the instruction input is the ○ button 205 (step S904; determination), the reference unit 303 acquires a character string stored in the node referred to via the arrow 411 (step S907), and the acquired character string The graph structure 401 is updated as described above (step S908), the acquired character string is output as an input result (step S909), and this process is terminated.
[0104]
When the instruction input is the □ button 208 (step S904; edit), the character string stored in the node referenced by the reference unit 303 via the arrow 411 is acquired (step S910), and the acquired character string is displayed. The stored character string is stored in the default character string node 404 (step S911), the reference unit 303 refers to the predetermined character string node 404 via the arrow 411 (step S912), and the stored character string is used as a software keyboard. (Step S913), and the process returns to Step S903.
[0105]
According to the present embodiment, it is possible to realize a character string input technique that has both a history function and a fixed character string input function and allows a user to input a character string efficiently.
[0106]
In the above embodiment, as shown in FIGS. 5 and 6, candidate character strings are also displayed above and below the cursor 502. However, when the present invention is applied to command line interfaces of various OSs. This display may be omitted. In this case, the display of the cursor 502 itself can be omitted. In one line of the command line, a character string stored in a node referenced by the reference unit 303 via the arrow 411 is displayed.
[0107]
In the above embodiment, a very simple software keyboard is used. However, a publicly known higher-performance software keyboard may be used. For example, an edit cursor is defined for the character string to be edited, and can be combined with a software keyboard that realizes various editing functions by combining the movement of the edit cursor and the movement of the character cursor.
[0108]
(Other embodiments)
In the above embodiment, the ↑ button 201 and the ↓ button 202 are employed as movement instruction inputs, and the “up” arrow and the “down” arrow in the graph structure 401 are associated with each of them. In the present embodiment, another type of arrow is provided in the graph structure 401, and another button is assigned to the arrow, thereby enabling a character string to be input by a method similar to a menu format.
[0109]
FIG. 10 shows a graph structure in the present embodiment. The relationship between the history node 402 corresponding to the upper half of the graph structure 401 and the default character string node 404 is the same as in the above embodiment. In the lower half, the fixed character string node 402 is arranged in the above embodiment, but in this embodiment, the representative fixed character string node 405 which is a kind of the fixed character string node is replaced with the default character string node 404 and “ It is arranged cyclically via an “up” arrow and a “down” arrow. Also, from each representative fixed character string node 405, fixed character string nodes 403 are cyclically arranged via a “right” arrow and a “left” arrow.
[0110]
Then, the “up” arrow and “down” arrow coming out of each of the fixed character string nodes 403 indicate the same nodes as those indicated by the “up” arrow and “down” arrow of the representative fixed character string node 405 corresponding thereto. ing.
[0111]
The “left” arrow is associated with the ← button 203, and the “right” arrow is associated with the → button 204, and the processing of the operation of the ↑ button 201 and the ↓ button 202 shown in steps S 904 to S 906 is performed. As in the case, move within the node.
In other words, if the instruction input from the user is a pressing operation of the ← button 203, it is checked whether there is a next node along the “left” arrow coming out from the node pointed by the arrow 411. The content of the reference unit 303 is updated so that the unit 303 refers to the next node via the arrow 411. On the other hand, if the instruction input from the user is a pressing operation of the right button 204, it is checked whether there is a next node along the “right” arrow coming out from the node indicated by the arrow 411. The content of the reference unit 303 is updated so that the unit 303 refers to the next node via the arrow 411.
[0112]
Typically, in the representative standard character string node 405, characters corresponding to the superordinate concept of the character string stored in the standard character string node 403 arranged cyclically by the “left” and “right” arrows. It is desirable to store the column.
[0113]
In this embodiment, when the instruction input is the ○ button 205 in step S904 of the above embodiment, it is checked whether or not the node is the representative fixed character string node 405. Returning to step S903, otherwise proceeding to step S907, the character string itself stored in the representative standard character string node 405 may not be determined as an input result.
[0114]
(Other embodiments)
In the above-described embodiment, the default character string node 404 is prepared in the graph structure 401, and the group of the history node 402 and the group of the fixed character string node 403 are configured to be separated from each other. The connection / reference relationship between these nodes and the arrows is not limited to the above-described mode. For example, various variations as shown in FIG. 11 are conceivable.
[0115]
FIG. 11A shows a structure in which the history node 402, the fixed character string node 403, and the default character string node 404 form one cycle. In FIG. 11B, the “up” arrow from the most “top” of the history node 402 points to the “bottom” of the history node 402, and the “bottom” of the fixed character string node 403 is the “bottom”. The “down” arrow from the thing indicates the structure that points to the “upper” part of the fixed character string node 403. Such a variation may be combined with the above-described configuration using the “left” and “right” arrows.
[0116]
Even when such various variations are adopted, if there is an arrow of a certain direction attribute (such as “up” and “down”) from one node to another in the graph structure 401, the other If there is an arrow with the opposite direction attribute from the node to the node, the candidate character string will be displayed cyclically. When the reverse operation is performed, the reverse direction will be displayed. Therefore, an input method suitable for human intuition is realized.
[0117]
【The invention's effect】
As described above, according to the present invention, it is possible to provide a character string input device, a character string input method, and a program for realizing these by a computer, which are suitable for efficiently inputting a character string.
[Brief description of the drawings]
FIG. 1 is a schematic diagram showing a schematic configuration of a typical game device in which a character string input device according to a first embodiment of the present invention is realized.
FIG. 2 is an explanatory diagram showing an external configuration of a controller that is facilitated by the game device;
FIG. 3 is a schematic diagram showing a schematic configuration of a character string input device.
FIG. 4 is an explanatory diagram showing a state of a graph structure stored in a storage unit and a reference unit.
FIG. 5 is an explanatory diagram showing a display example by a display unit.
FIG. 6 is an explanatory diagram illustrating a display example by a display unit and a state of a graph structure stored in a storage unit and a reference unit.
FIG. 7 is an explanatory diagram showing how a graph structure is updated.
FIG. 8 is an explanatory diagram showing a schematic configuration of a software keyboard.
FIG. 9 is a flowchart showing a flow of character string input processing executed by the character string input device.
FIG. 10 is a schematic diagram showing another embodiment of a graph structure.
FIG. 11 is a schematic diagram showing another embodiment of a graph structure.
[Explanation of symbols]
100 game devices
101 CPU
102 ROM
103 RAM
104 interface
105 controller
106 External memory
107 Image processing unit
108 DVD-ROM drive
109 NIC
110 Speech processing unit
201 ↑ button
202 ↓ button
203 ← button
204 → button
205 ○ button
206 x button
207 button
208 □ button
209 SELECT button
210 START button
211 ANALOG button
212 Indicator
213 Joystick
214 Joystick
215 L1 button
216 L2 button
217 R1 button
218 R2 button

Claims (9)

記憶部と、参照部と、表示部と、移動部と、決定部と、を備える文字列入力装置であって、
前記記憶部は、少なくとも、当該文字列入力装置がユーザからの入力結果として過去に出力した文字列の履歴と、所定の複数の定型文字列と、を候補の文字列として記憶し、
前記参照部は、現在の候補の文字列を参照し、
前記表示部は、前記参照部により参照される候補の文字列を表示し、
前記移動部は、ユーザからの移動指示入力があった場合、当該移動指示入力にしたがって、前記記憶部に記憶される候補の文字列のうち現在の候補の文字列以外のものを、次の候補として選択して、当該次の候補の文字列を前記参照部に新たな候補として参照させ、
前記決定部は、ユーザからの決定指示入力があった場合、前記参照部により参照される候補の文字列を、ユーザからの入力結果として出力することを特徴とするもの。
A character string input device comprising a storage unit, a reference unit, a display unit, a moving unit, and a determining unit,
The storage unit stores at least a history of character strings output in the past by the character string input device as an input result from a user, and a plurality of predetermined fixed character strings as candidate character strings,
The reference unit refers to the current candidate character string,
The display unit displays a candidate character string referenced by the reference unit,
In response to a movement instruction input from the user, the moving unit selects a character string other than the current candidate character string from the candidate character strings stored in the storage unit according to the movement instruction input as a next candidate. Select the next candidate character string as a new candidate in the reference section,
The determination unit outputs a candidate character string referred to by the reference unit as an input result from the user when a determination instruction is input from the user.
請求項1に記載の文字列入力装置であって、編集部をさらに備え、
前記編集部は、ユーザからの編集指示入力があった場合、前記参照部により参照される文字列を当該編集指示入力にしたがって編集し、編集結果の文字列を、新たな候補として参照部に参照させることを特徴とするもの。
The character string input device according to claim 1, further comprising an editing unit,
When there is an editing instruction input from the user, the editing unit edits the character string referred to by the reference unit according to the editing instruction input, and refers to the character string of the editing result as a new candidate to the reference unit It is characterized by letting.
請求項1または2に記載の文字列入力装置であって、
当該移動指示入力は、履歴内移動指示入力と、定型内移動指示入力と、の種類を含み、
ユーザからの移動指示入力が履歴内移動指示入力であり、前記参照部に参照される候補の文字列が、前記記憶部に記憶される過去に出力した文字列の履歴の1つである場合、前記移動部は、過去に出力した文字列の履歴の他の1つを当該次の候補として選択し、
ユーザからの移動指示入力が定型内移動指示入力であり、前記参照部に参照される候補の文字列が、前記記憶部に記憶される所定の複数の定型文字列の1つである場合、前記移動部は、所定の複数の定型文字列の他の1つを当該次の候補として選択することを特徴とするもの。
The character string input device according to claim 1 or 2,
The movement instruction input includes types of movement instruction input in history and movement instruction input in fixed form,
When the movement instruction input from the user is an in-history movement instruction input, and the candidate character string referred to by the reference unit is one of the history of character strings output in the past stored in the storage unit, The moving unit selects another one of the history of character strings output in the past as the next candidate,
When the movement instruction input from the user is an in-standard movement instruction input, and the candidate character string referred to by the reference unit is one of a plurality of predetermined fixed character strings stored in the storage unit, The moving unit selects another one of a predetermined plurality of fixed character strings as the next candidate.
請求項1または2に記載の文字列入力装置であって、
前記記憶部は、所定の既定文字列(長さ0の文字列を含む。)をさらに記憶し、
当該移動指示入力は、第1の移動指示入力と、第2の移動指示入力と、の種類を含み、
(a)前記参照部に参照される候補の文字列が、当該所定の既定文字列である場合、前記移動部は、当該ユーザからの移動指示入力が第1の移動指示入力であれば当該過去に出力した文字列の履歴の1つを、第2の移動指示入力であれば当該所定の複数の定型文字列の1つを、次の候補として選択し、
(b)前記参照部に参照される候補の文字列が、当該過去に出力した文字列の履歴の1つである場合、前記移動部は、当該ユーザからの移動指示入力が第1もしくは第2の移動指示入力であれば当該過去に出力した文字列の履歴の他の1つ、もしくは、当該所定の既定文字列を次の候補として選択し、
(c)前記参照部に参照される候補の文字列が、当該所定の複数の定型文字列の1つである場合、前記移動部は、当該ユーザからの移動指示入力が第1もしくは第2の移動指示入力であれば、当該所定の複数の定型文字列の他の1つ、もしくは、当該所定の既定文字列を次の候補として選択することを特徴とするもの。
The character string input device according to claim 1 or 2,
The storage unit further stores a predetermined default character string (including a zero-length character string),
The movement instruction input includes the types of the first movement instruction input and the second movement instruction input,
(A) When the candidate character string referred to by the reference unit is the predetermined default character string, the moving unit determines the past if the movement instruction input from the user is the first movement instruction input. If one of the character string histories output to the second movement instruction input is selected, one of the predetermined plural fixed character strings is selected as the next candidate,
(B) When the candidate character string referred to by the reference unit is one of the character string histories output in the past, the moving unit receives the first or second movement instruction input from the user. If it is a movement instruction input, the other one of the history of the character string output in the past or the predetermined default character string is selected as the next candidate,
(C) When the candidate character string referred to by the reference unit is one of the predetermined plurality of fixed character strings, the moving unit receives the first or second movement instruction input from the user. If it is a movement instruction input, another one of the predetermined plural fixed character strings or the predetermined predetermined character string is selected as a next candidate.
請求項4に記載の文字列入力装置であって、
前記参照部が第1の候補の文字列を参照している時に第1の移動指示入力が与えられて第2の候補の文字列を参照することとなり、当該第1の候補と第2の候補とが、いずれも当該過去に出力した文字列の履歴に含まれる場合、続いて第2の移動指示入力が与えられると、前記移動部は、当該第1の候補の文字列を次の候補として選択し、
前記参照部が第3の候補の文字列を参照している時に第2の移動指示入力が与えられて第4の候補の文字列を参照することとなり、当該第3の候補と第4の候補とが、いずれも当該過去に出力した文字列の履歴に含まれる場合、続いて第1の移動指示入力が与えられると、前記移動部は、当該第3の候補の文字列を次の候補として選択することを特徴とするもの。
The character string input device according to claim 4,
When the reference section refers to the first candidate character string, the first movement instruction input is given to refer to the second candidate character string, and the first candidate and the second candidate are referred to. Are included in the history of the character string output in the past, and then when the second movement instruction input is given, the moving unit sets the first candidate character string as the next candidate. Selected,
When the reference section refers to the third candidate character string, the second movement instruction input is given to refer to the fourth candidate character string, and the third candidate and the fourth candidate are referred to. Are included in the history of the character string output in the past, and then when the first movement instruction input is given, the moving unit sets the third candidate character string as the next candidate. A feature characterized by selection.
請求項1から5のいずれか1項に記載の文字列入力装置であって、
前記記憶部は、当該所定の複数の定型文字列を、複数のグループに分類して記憶し、
当該移動指示入力は、第3の移動指示入力の種類を含み、
前記参照部に参照される候補の文字列が、当該所定の複数の定型文字列の1つである場合、当該ユーザからの移動指示入力が第3の移動指示入力であれば、前記移動部は、当該定型文字列の1つが属するグループに含まれる他の定型文字列の1つを次の候補として選択することを特徴とするもの。
The character string input device according to any one of claims 1 to 5,
The storage unit categorizes and stores the predetermined plurality of fixed character strings into a plurality of groups,
The movement instruction input includes the type of the third movement instruction input,
When the candidate character string referred to by the reference unit is one of the predetermined plurality of fixed character strings, if the movement instruction input from the user is a third movement instruction input, the movement unit , One of the other fixed character strings included in the group to which one of the fixed character strings belongs is selected as the next candidate.
請求項6に記載の文字列入力装置であって、
前記記憶部は、複数のグループのそれぞれについて、これに属する定型文字列のいずれか少なくとも1つを代表定型文字列として記憶し、
前記参照部に参照される候補の文字列が、当該代表定型文字列である場合、決定部は、ユーザからの決定指示入力があった場合であっても、前記参照部により参照される候補の文字列を、ユーザからの入力結果としては出力しないことを特徴とするもの。
The character string input device according to claim 6,
The storage unit stores, as a representative fixed character string, at least one of fixed character strings belonging to each of a plurality of groups,
When the candidate character string referred to by the reference unit is the representative fixed character string, the determination unit can determine whether the candidate reference unit is referred to by the reference unit even when a determination instruction is input from the user. Character strings are not output as user input results.
記憶部と、参照部と、を用いる文字列入力方法であって、前記記憶部は、少なくとも、当該文字列入力方法によりユーザからの入力結果として過去に出力された文字列の履歴と、所定の複数の定型文字列と、を候補の文字列として記憶し、前記参照部は、現在の候補の文字列を参照し、
表示工程と、移動工程と、決定工程と、を備え、
前記表示工程では、前記参照部により参照される候補の文字列を表示し、
前記移動工程では、ユーザからの移動指示入力があった場合、当該移動指示入力にしたがって、前記記憶部に記憶される候補の文字列のうち現在の候補の文字列以外のものを、次の候補として選択して、当該次の候補の文字列を新たな候補として前記参照部に参照させ、
前記決定工程では、ユーザからの決定指示入力があった場合、前記参照部により参照される候補の文字列を、ユーザからの入力結果として出力することを特徴とする方法。
A character string input method using a storage unit and a reference unit, wherein the storage unit includes at least a history of character strings output in the past as an input result from a user by the character string input method, A plurality of fixed character strings are stored as candidate character strings, and the reference unit refers to the current candidate character strings,
A display process, a movement process, and a determination process,
In the display step, a candidate character string referred to by the reference unit is displayed,
In the movement step, when there is a movement instruction input from the user, a candidate character string stored in the storage unit other than the current candidate character string is changed to the next candidate according to the movement instruction input. And select the next candidate character string as a new candidate to be referred to by the reference unit,
In the determination step, when a determination instruction is input from a user, a candidate character string referred to by the reference unit is output as an input result from the user.
コンピュータを、記憶部、参照部、表示部、移動部、および決定部として機能させるプログラムであって、当該プログラムは、当該コンピュータにおいて、
前記記憶部は、少なくとも、当該文字列入力装置がユーザからの入力結果として過去に出力した文字列の履歴と、所定の複数の定型文字列と、を候補の文字列として記憶し、
前記参照部は、現在の候補の文字列を参照し、
前記表示部は、前記参照部により参照される候補の文字列を表示し、
前記移動部は、ユーザからの移動指示入力があった場合、当該移動指示入力にしたがって、前記記憶部に記憶される候補の文字列のうち現在の候補の文字列以外のものを、次の候補として選択して、当該次の候補の文字列を新たな候補として前記参照部に参照させ、
前記決定部は、ユーザからの決定指示入力があった場合、前記参照部により参照される候補の文字列を、ユーザからの入力結果として出力するように機能させることを特徴とするもの。
A program that causes a computer to function as a storage unit, a reference unit, a display unit, a moving unit, and a determining unit,
The storage unit stores at least a history of character strings output in the past by the character string input device as an input result from a user, and a plurality of predetermined fixed character strings as candidate character strings,
The reference unit refers to the current candidate character string,
The display unit displays a candidate character string referenced by the reference unit,
In response to a movement instruction input from the user, the moving unit selects a character string other than the current candidate character string from the candidate character strings stored in the storage unit according to the movement instruction input as a next candidate. And select the next candidate character string as a new candidate to be referred to by the reference unit,
The determination unit functions to output a candidate character string referred to by the reference unit as an input result from the user when a determination instruction is input from the user.
JP2003011524A 2003-01-20 2003-01-20 Character string input device, character string input method, and program Expired - Fee Related JP3836795B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003011524A JP3836795B2 (en) 2003-01-20 2003-01-20 Character string input device, character string input method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003011524A JP3836795B2 (en) 2003-01-20 2003-01-20 Character string input device, character string input method, and program

Publications (2)

Publication Number Publication Date
JP2004227089A true JP2004227089A (en) 2004-08-12
JP3836795B2 JP3836795B2 (en) 2006-10-25

Family

ID=32900404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003011524A Expired - Fee Related JP3836795B2 (en) 2003-01-20 2003-01-20 Character string input device, character string input method, and program

Country Status (1)

Country Link
JP (1) JP3836795B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006204344A (en) * 2005-01-25 2006-08-10 Nintendo Co Ltd Game program and game device
WO2007060773A1 (en) * 2005-11-24 2007-05-31 Sony Computer Entertainment Inc. Character input device and character input method
WO2008004486A1 (en) * 2006-07-06 2008-01-10 Panasonic Corporation Voice input device
JP2008229234A (en) * 2007-03-23 2008-10-02 Konami Digital Entertainment:Kk Game device, game control method, and program
JP2011118891A (en) * 2009-12-01 2011-06-16 Honda Research Inst Europe Gmbh Many object tracking which use autonomous adaptation of knowledge base of tracking modeling level

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006204344A (en) * 2005-01-25 2006-08-10 Nintendo Co Ltd Game program and game device
WO2007060773A1 (en) * 2005-11-24 2007-05-31 Sony Computer Entertainment Inc. Character input device and character input method
WO2008004486A1 (en) * 2006-07-06 2008-01-10 Panasonic Corporation Voice input device
US8279171B2 (en) 2006-07-06 2012-10-02 Panasonic Corporation Voice input device
JP2008229234A (en) * 2007-03-23 2008-10-02 Konami Digital Entertainment:Kk Game device, game control method, and program
JP4510841B2 (en) * 2007-03-23 2010-07-28 株式会社コナミデジタルエンタテインメント GAME DEVICE, GAME CONTROL METHOD, AND PROGRAM
JP2011118891A (en) * 2009-12-01 2011-06-16 Honda Research Inst Europe Gmbh Many object tracking which use autonomous adaptation of knowledge base of tracking modeling level

Also Published As

Publication number Publication date
JP3836795B2 (en) 2006-10-25

Similar Documents

Publication Publication Date Title
JP5462828B2 (en) Selection device, selection method, and program
CN101076166B (en) Device having display buttons and display method and medium for the device
EP1876516B1 (en) Information processing device, image movement instructing method, and information storage medium
JP4134008B2 (en) Image processing apparatus and image processing program
JP5235671B2 (en) Terminal device, content display method, and content display program
US8966399B2 (en) Graphical menu interface, implementing method thereof, and operating method thereof
US6760477B2 (en) Method and apparatus for entering data strings including Hangul (Korean) and ASCII characters
JP5851170B2 (en) Image processing apparatus and image processing method
JP2013069172A (en) Information processor, information processing method and data structure for content file
US20080016457A1 (en) Character input device, character input method, and information storage medium
JP3836795B2 (en) Character string input device, character string input method, and program
JP5467123B2 (en) Information processing apparatus and information processing method
JP4381216B2 (en) Content playback device, mobile phone, content playback method, content playback program, and recording medium for recording content playback program
JP2004265244A (en) Display menu providing device, display menu providing method, and display menu providing program
JP5399788B2 (en) Information processing device
JP2002268803A (en) Method for controlling character input, program, recording medium and character input device
JP4928580B2 (en) Character string registration device, character string registration method, and program
JP5211197B2 (en) Selection device, selection method, and program
JP5325276B2 (en) Selection device, selection method, and program
JP5138669B2 (en) Selection device, selection method, and program
JP2011209854A (en) Processor, processing method, and program
JP2006251930A (en) Character conversion apparatus, program for information processor, received content display method, and received content display system
CN115779438A (en) Data processing method, data processing apparatus, storage medium, and electronic apparatus
JP2002032182A (en) Key allocating system and key allocating method
JP2006087497A (en) Game program, game device and game method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050617

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051228

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20060427

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060525

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060727

R150 Certificate of patent or registration of utility model

Ref document number: 3836795

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090804

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090804

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090804

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100804

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110804

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110804

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120804

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130804

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130804

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140804

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees