JP5439295B2 - Character input method, program, and character input device - Google Patents
Character input method, program, and character input device Download PDFInfo
- Publication number
- JP5439295B2 JP5439295B2 JP2010147022A JP2010147022A JP5439295B2 JP 5439295 B2 JP5439295 B2 JP 5439295B2 JP 2010147022 A JP2010147022 A JP 2010147022A JP 2010147022 A JP2010147022 A JP 2010147022A JP 5439295 B2 JP5439295 B2 JP 5439295B2
- Authority
- JP
- Japan
- Prior art keywords
- event
- unit
- character string
- display
- character
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 102
- 230000008569 process Effects 0.000 claims description 94
- 238000000926 separation method Methods 0.000 claims description 22
- 230000004044 response Effects 0.000 claims description 21
- 238000012545 processing Methods 0.000 description 61
- 238000003672 processing method Methods 0.000 description 16
- 238000004891 communication Methods 0.000 description 15
- 238000006243 chemical reaction Methods 0.000 description 11
- 238000012790 confirmation Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 235000016496 Panda oleosa Nutrition 0.000 description 4
- 240000000220 Panda oleosa Species 0.000 description 4
- 239000000284 extract Substances 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Description
本発明は、コンピュータに、ソフトウェアキーボードと、ソフトウェアキーボードに入力された文字列とを表示させる処理方法、プログラム、及び文字入力装置に関する。 The present invention relates to a processing method, a program, and a character input device for causing a computer to display a software keyboard and a character string input to the software keyboard.
従来、コンピュータのディスプレー上にキーボードを配列する、いわゆるソフトウェアキーボードを用いた文字入力の処理が広く知られている。このような処理方法では、キーボードをディスプレー上に表示するとともに、変換中の文字列を表示する文字入力枠をディスプレー上に表示する(例えば、特許文献1)。 Conventionally, character input processing using a so-called software keyboard in which a keyboard is arranged on a computer display is widely known. In such a processing method, a keyboard is displayed on the display, and a character input frame for displaying a character string being converted is displayed on the display (for example, Patent Document 1).
このようなソフトウェアキーボードを用いた処理方法によれば、ソフトウェアキーボードを表示するブラウザにJavaScript(商標登録)等を実装することで、文字入力枠に、変換中の文字列を表示することができる。このため、ユーザは、目視して入力した或いは変換した文字列を確認することができる。 According to such a processing method using a software keyboard, it is possible to display a character string that is being converted in a character input frame by mounting JavaScript (registered trademark) or the like in a browser that displays the software keyboard. For this reason, the user can confirm the character string input or converted visually.
しかしながら、上述した従来の処理方法には、次のような問題があった。すなわち、上述した処理方法では、文字入力枠の文字列を更新する際に、ブラウザを実装したパソコンのスペックの影響を受けて、スクリプト処理が遅延してしまうという問題があった。その結果、ユーザが、文字入力枠に文字を入力したにも関わらず、文字入力枠の文字列の表示が更新されないため、ユーザは、使い勝手がよくないと感じてしまうという問題があった。
そこで、本発明は、このような状況に鑑みてなされたものであり、パソコンのスペックが低い場合においても、ユーザの入力に対する見かけ上の応答時間を短縮できる処理方法、プログラム、文字入力装置を提供することを目的とする。
However, the conventional processing method described above has the following problems. In other words, the processing method described above has a problem in that when the character string in the character input frame is updated, the script processing is delayed due to the influence of the specifications of the personal computer on which the browser is mounted. As a result, the display of the character string in the character input box is not updated even though the user has entered a character in the character input box, so that the user feels unusable.
Therefore, the present invention has been made in view of such a situation, and provides a processing method, a program, and a character input device that can shorten an apparent response time to a user's input even when the specifications of the personal computer are low. The purpose is to do.
上述した問題を解決するため、本発明は、次のような特徴を有している。まず、本発明の第1の特徴は、コンピュータ(テレビ受像機10)が、キー入力の信号をイベントとして受信するイベント受信ステップ(ステップS130)と、コンピュータが、前記イベントの受信に応じて、文字列の表示を更新するイベントハンドラステップ(ステップS170)と、コンピュータが、前記イベントハンドラステップの処理の一部を前記イベントから切り離した処理として外に出す切り離しステップ(ステップS190)と、を備える処理方法であることを要旨とする。
このような処理方法は、キー入力の信号をイベントとして受信した後に、イベントの受信に応じて、文字列の表示を更新するイベントハンドラステップを有する。一方、イベントハンドラステップの処理の一部をイベントから切り離した処理として外に出す切り離しステップを有する。
In order to solve the problems described above, the present invention has the following features. First, the first feature of the present invention is that an event receiving step (step S130) in which a computer (television receiver 10) receives a key input signal as an event, and the computer receives a character in response to the event reception. A processing method comprising: an event handler step (step S170) for updating the display of the column; and a separation step (step S190) in which the computer extracts a part of the processing of the event handler step as processing that is separated from the event. It is a summary.
Such a processing method includes an event handler step of updating the display of a character string in response to reception of an event after receiving a key input signal as an event. On the other hand, there is a separation step for releasing a part of the processing of the event handler step as processing that is separated from the event.
すなわち、上述した処理方法によれば、文字列の表示を更新する処理を実行する際、少なくとも処理の一部をイベントから切り離した処理として外に出す。このため、外に出した処理量に応じた分だけ、ユーザへの応答時間を短縮して、文字列の表示を更新できる。 That is, according to the processing method described above, when executing the process of updating the display of the character string, at least a part of the process is taken out as a process separated from the event. For this reason, the response time to the user can be shortened and the display of the character string can be updated by an amount corresponding to the amount of processing that has gone out.
従って、パソコンのスペックが低い場合においても、ユーザの入力に対する見かけ上の応答時間を短縮できる処理方法を提供することができる。 Therefore, it is possible to provide a processing method that can shorten the apparent response time to the user's input even when the specifications of the personal computer are low.
本発明の第2の特徴は、本発明の第1の特徴に係り、前記切り離しステップにより切り離した処理は、前記文字列に装飾を施す処理を含むことを要旨とする。 The second feature of the present invention relates to the first feature of the present invention, and the gist thereof is that the process separated by the separation step includes a process of decorating the character string.
本発明の第3の特徴は、本発明の第1又は第2の特徴に係り、前記切り離しステップにより切り離した処理は、タイマー処理により実行されることを要旨とする。 A third feature of the present invention relates to the first or second feature of the present invention, and is summarized in that the process separated by the separation step is executed by a timer process.
本発明の第4の特徴は、本発明の第1乃至第3の特徴に係り、前記切り離しステップにより前記切り離した処理は、ソフトウェアキーボードの表示を更新する処理を含むことを要旨とする。 A fourth feature of the present invention relates to the first to third features of the present invention, and is summarized in that the separation processing by the separation step includes processing for updating a display of a software keyboard.
本発明の第5の特徴は、キー入力の信号をイベントとして受信するイベント受信ステップと、前記イベントの受信に応じて、文字列の表示を更新するイベントハンドラステップと、前記イベントハンドラステップの処理の一部を前記イベントから切り離した処理として外に出す切り離しステップと、をコンピュータに実行させるプログラムであることを要旨とする。 According to a fifth aspect of the present invention, there is provided an event receiving step of receiving a key input signal as an event, an event handler step of updating a display of a character string in response to the reception of the event, and processing of the event handler step The gist of the present invention is a program that causes a computer to execute a disconnecting step for releasing a part of the event from the event.
本発明の第6の特徴は、キー入力の信号をイベントとして受信するイベント受信手段(イベント受信部15)と、前記イベントの受信に応じて、文字列の表示を更新するイベントハンドラ手段(イベントハンドラ部19)と、前記イベントハンドラ手段の処理の一部を前記イベントから切り離した処理として外に出す切り離し手段(切り離し部21)と、を備える文字入力装置(テレビ受像機10)であることを要旨とする。 The sixth feature of the present invention is that event receiving means (event receiving unit 15) for receiving a key input signal as an event, and event handler means (event handler) for updating display of a character string in response to reception of the event. A character input device (television receiver 10) comprising: a unit 19) and a separation unit (separation unit 21) that extracts a part of the processing of the event handler unit as processing that is separated from the event. And
本発明によれば、パソコンのスペックが低い場合においても、ユーザの入力に対する見かけ上の応答時間を短縮することができる処理方法、プログラム、文字入力装置を提供することができる。 According to the present invention, it is possible to provide a processing method, a program, and a character input device that can reduce the apparent response time to a user's input even when the specifications of the personal computer are low.
次に、図面を参照して、本発明の実施形態について説明する。なお、以下の図面の記載において、同一または類似の部分には、同一または類似の符号を付している。また、図面は模式的なものであり、各寸法の比率などは現実のものとは異なる。 Next, embodiments of the present invention will be described with reference to the drawings. In the following description of the drawings, the same or similar parts are denoted by the same or similar reference numerals. Further, the drawings are schematic, and the ratio of each dimension is different from the actual one.
したがって、具体的な寸法などは以下の説明を参酌して判断すればよく、図面相互間においても互いの寸法の関係や比率が異なる部分が含まれている。 Therefore, specific dimensions and the like may be determined in consideration of the following description, and include portions where the relationship and ratio of the dimensions are different between the drawings.
以下の実施形態においては、(1)テレビ受像機10の全体構成、(2)テレビ受像機10の詳細構成、(3)テレビ受像機10の画面100の詳細構成、(4)プログラム500の詳細記述、(5)テレビ受像機10の処理手順、(6)作用・効果、(7)その他の実施形態について説明する。
In the following embodiments, (1) the overall configuration of the
(1)テレビ受像機10の全体構成
図1は、本実施形態に係るテレビ受像機10と、リモートコントロール装置50との関係を示す構成図である。
(1) Overall Configuration of
図1に示すテレビ受像機10は、通信ネットワーク(インターネットを含むなど)を介して、データ放送等を受信することにより映像、音声、テキストデータ等を出力する。
The
テレビ受像機10は、CPU等の制御装置、メモリやHDD等の記憶装置、通信ネットワークと通信する通信I/F等の通信装置といったハードウェア資源を有するコンピュータ(単一或いは複数)としての機能を有する。テレビ受像機10が備える下記の各ブロックは、前述したコンピュータの制御装置等のハードウェア資源を用いてコンピュータプログラムを実行することによって実現されるものである。なお、これらの各ブロック、手段は、単一のコンピュータ上に配置される必要はなく、必要に応じて分散される構成を採用しても良い。
The
テレビ受像機10は、ハードウェア資源に加えて、キーボタンやタッチパネル等の入力装置、液晶ディスプレー等の出力装置、一般的なブラウザを備える。ブラウザは、インターネットの標準プロトコルであるHTTP(Hyper Text Transfer Protocol)等に従い、HTML(Hyper Text Markup Language)等の言語で記述されたページデータの要求、受信及び表示、フォームデータの送信等を行う機能を有している。
In addition to hardware resources, the
リモートコントロール装置50は、テレビ受像機10を遠隔より操作する。具体的には、リモートコントロール装置50は、テレビ受像機10に対して、操作の為の信号を送信する。リモートコントロール装置50は、赤外線通信、無線LAN、近傍無線通信(Bluetooth(登録商標)によってテレビ受像機10に接続されている。テレビ受像機10は、有線通信(USB(Universal Serial Bus)ケーブル接続等)によって、テレビ受像機10に接続されていてもよい。
The
リモートコントロール装置50には、テレビ受像機10の規格に応じたキーが設けられている。例えば、リモートコントロール装置50には、1〜12の数字キーが設けられ、数字キーへの入力に応じて、対応する信号がテレビ受像機10に送信される。
The
(2)テレビ受像機10の詳細構成
図2は、テレビ受像機10の機能ブロック図である。図3は、本実施形態に係るテレビ受像機10において画面100の詳細構成を説明するための一例を示す図である。
(2) Detailed Configuration of
本実施形態では、テレビ受像機10は、文字入力装置として機能する。具体的には、テレビ受像機10には、テレビ受像機10に、ソフトウェアキーボード110と、ソフトウェアキーボード110に入力された文字列とを表示させるプログラムが記憶される。以下の実施形態においては、特に文字入力装置として機能するブロックについて、詳細を示す。
In the present embodiment, the
テレビ受像機10は、制御部11、データ放送情報送受信部13、イベント受信部15、記憶部17、イベントハンドラ部19、切り離し部21、タイマーイベントハンドラ部23、画面作成部25、画面表示部27、変換部29、ソフトウェアキーボード表示部31、出力部33を備える。
The
制御部11は、テレビ受像機10を構成する各機能部を制御する。例えば、制御部11は、記憶部17に記憶されるプログラムを起動するとともに、データ放送情報送受信部13を介して受信した映像を画面表示部27に出力する。
The
データ放送情報送受信部13は、通信ネットワークを介して、放送局から映像、音声、テキストデータを受信する。データ放送情報送受信部13は、受信した映像、音声、テキストデータ等を記憶部17に記憶してもよい。データ放送情報送受信部13は、通信ネットワークを介して、放送局から映像、音声、テキストデータを受信する。データ放送情報送受信部13は、受信した映像、音声、テキストデータ等を記憶部17に記憶してもよい。
The data broadcast information transmission /
データ放送情報送受信部13は、通信ネットワークを介して、HTTP等に従い、HTML等の言語で記述されたページデータを受信する。データ放送情報送受信部13は、受信したページデータを記憶部17に記憶する。また、データ放送情報送受信部13は、HTTPに従い、HTMLの言語で記述されたページデータの要求等をサーバに送信する。
The data broadcast information transmitting / receiving
イベント受信部15は、リモートコントロール装置50により送信されたキー入力の信号をイベントとして受信する。なお、「イベント」とは、上述の通り、リモートコントロール装置50により送信されたキー入力の信号であるが、ユーザの操作に基づき、ユーザの意図が含まれている信号を特に、イベントとしている。例えば、ユーザが「1」のキーボタンを押した場合、イベントA、ユーザが、ディスプレー上のポインタを動かした場合イベントBというようにユーザの操作に伴う信号に応じて、対応するイベントが定義されている。
The
記憶部17は、テレビ受像機10に、リモートコントロール装置50から受信する可能性のある信号、該信号に対応するイベント、イベントの受信に応じて起動するプログラム500、データ放送情報送受信部13を介して受信したページデータを記憶する。
The storage unit 17 is connected to the
イベントハンドラ部19は、イベント受信部15によるイベントの受信に応じて、イベントハンドラ処理を実行する。イベントハンドラ部19は、即座に反映されるべき処理を実行する。具体的には、イベントハンドラ部19は、プログラム500の第1記述部510又は第3記述部530に記述される処理を実行する。例えば、イベントハンドラ部19は、画面100において、文字列の表示、又はソフトウェアキーボード110の一部の表示を更新する。図3に示すように、イベントハンドラ部19は、入力文字表示枠111に未確定の文字列である未確定文字131を表示する。イベントハンドラ部19は、ユーザの操作に基づき、リモートコントロール装置50から受信したイベントに基づいて、未確定文字131の表示を更新する。
The
また、イベントハンドラ部19は、リモートコントロール装置50から受信した信号に基づいて、ソフトウェアキーボード110の表示を適宜、更新する。具体的には、イベントハンドラ部19は、リモートコントロール装置50に割り当てられたキーに対応する信号に基づいて、対応するキーボタン119の表示を変更する。例えば、図3に示すように、ユーザがリモートコントロール装置50の「6」のキーボタンを押した場合、図3に示すように、イベントハンドラ部19は、ソフトウェアキーボード110の「6」のキーボタン119の背景色を変更する。これにより、イベントハンドラ部19は、ユーザにより「6」のキーボタン119が選択されれていることを明確に示す。
In addition, the
切り離し部21は、イベントハンドラ部19により行われる処理の一部をイベントから切り離した処理として外に出す。具体的には、切り離し部21は、イベントハンドラ部19により行われる処理から、即座に反映されなくてもユーザの操作に支障を及ぼさない処理を切り離す。すなわち、切り離し部21は、イベントハンドラ部19により実行されるプログラム500の処理から、第2記述部520又は第4記述部540に記述される処理を切り離す。例えば、切り離し部21は、未確定文字131に装飾を施す処理、ソフトウェアキーボード110の全体表示を更新する処理をイベントハンドラ部19により行われる処理から切り離す。なお、ソフトウェアキーボード110の全体表示を更新する処理とは、後述する図3において、破線で示されるソフトウェアキーボード110の全体を更新する処理を示す。
The separation unit 21 exposes part of the processing performed by the
なお、「外に出す」とは、イベントハンドラ部19により実行されるプログラム500の処理から切り離されることや、切り離された処理をもとの処理と異なるタイミングで実行することを示す。具体的には、切り離し部21によりプログラム500の処理から外に出された第2記述部520又は第4記述部540に記述される処理は、プログラム500の他の処理である、第1記述部510又は第3記述部530に記述される処理とは異なるタイミングで実行される。なお、プログラム500には、タイマー処理等が記述されることにより、処理の一部をイベントから外に出すことが可能になる。
“Exit” indicates that the program is separated from the processing of the
タイマーイベントハンドラ部23は、切り離し部21により切り離された処理を実行する。タイマーイベントハンドラ部23は、即座に反映されなくてもユーザの操作に支障を及ぼさない処理を実行する。具体的には、タイマーイベントハンドラ部23は、プログラム500の第2記述部520又は第4記述部540に記述される処理を実行する。例えば、タイマーイベントハンドラ部23は、画面100において、未確定文字131に装飾を施す処理を実行する。また、タイマーイベントハンドラ部23は、ソフトウェアキーボード110の全体表示を更新する処理と、確定文字列133の表示を更新する処理とを実行する。タイマーイベントハンドラ部23は、タイマー処理によりイベントハンドラ部19と異なるタイミングで処理を実行する。具体的には、タイマーイベントハンドラ部23は、タイマー処理によって、イベントハンドラ部19の処理が終わった後に、所定の処理を実行するように設定される。
The timer event handler unit 23 executes the process separated by the separation unit 21. The timer event handler unit 23 executes a process that does not affect the user's operation even if it is not immediately reflected. Specifically, the timer event handler unit 23 executes processing described in the
画面作成部25は、後述する画面100を作成する。
The screen creation unit 25 creates a
画面表示部27は、画面100を表示する。また、画面表示部27は、ブラウザを介して、通信ネットワークを介して、HTTP等に従い、HTML等の言語で記述されたページデータを表示する。
The screen display unit 27 displays the
変換部29は、未確定文字131を漢字、かな、カタカナ、ローマ字、数字、記号の少なくともいずれか、又はこれらの組み合わせに変換する。具体的には、変換部29は、リモートコントロール装置50から受信した信号に基づいて、記憶部17に記憶する言語モデル等を用いて、未確定文字131を変換する。
The conversion unit 29 converts the
ソフトウェアキーボード表示部31は、ソフトウェアキーボード110を表示する。
The software
出力部33は、変換が確定した未確定文字131、すなわち確定文字列133を出力する。具体的には、出力部33は、ユーザの操作に基づき、検索フォーム130に確定文字列133を表示する。また、出力部33は、通信ネットワークを介して、確定文字列133を外部の情報処理装置等に出力する。
The
(3)テレビ受像機10の画面100の詳細構成
図3に示すように、テレビ受像機10の画面100は、ソフトウェアキーボード110、検索フォーム130、メニュー150を表示する。
(3) Detailed Configuration of
ソフトウェアキーボード110には、入力文字表示枠111、入力文字確定ボタン113、キーボタン119、検索候補表示枠121が含まれる。ソフトウェアキーボード110は、いわゆるパソコンに接続されるキーボードで行う入力処理をソフトウェア上で実現するものである。すなわち、ソフトウェアキーボード110は、画面100を介して入力処理を支援する。
The
入力文字表示枠111は、リモートコントロール装置50から受信した信号に基づいて、キーボタン119に対応した文字列を表示することにより、未確定文字131を表示する。未確定文字131は、かな、カタカナ、ローマ字、数字、記号等、キーボタン119に対応した文字列である。
The input character display frame 111 displays the
また、入力文字表示枠111は、変換部29により変換された未確定文字131を表示する。具体的には、入力文字表示枠111は、変換部29により、漢字、かな、カタカナ、ローマ字、数字、記号の少なくともいずれか、又はこれらの組み合わせにより構成された文字列に変換された未確定文字131を表示する。
The input character display frame 111 displays the
入力文字確定ボタン113は、未確定文字131を確定するためのボタンである。具体的には、入力文字確定ボタン113は、ユーザの操作に基づきリモートコントロール装置50から入力文字確定ボタン113を選択したことを示す信号を受信することにより、未確定文字131を確定する。例えば、入力文字表示枠111に「みなとく」として表示されていた未確定文字131は、「港区」に変換された後、入力文字確定ボタン113が選択されることにより、確定文字列133となる。
The input character confirmation button 113 is a button for confirming the
確定した未確定文字131として表示された文字列である確定文字列133は、出力部33により、出力される。具体的には、入力文字確定ボタン113が選択されることにより、確定文字列133は、検索フォーム130に出力される。
A confirmed
キーボタン119は、リモートコントロール装置50に割り当てられたキーに対応するボタンである。具体的には、リモートコントロール装置50の1〜12の数字キーに対応するように、各数字にかな、ローマ字、記号等が割り当てられる。キーボタン119は、リモートコントロール装置50からの信号に基づいて、背景色を変更する。例えば、ユーザがリモートコントロール装置50の「6」のキーボタンを押した場合、「6」のキーボタン119は、イベントハンドラ部19により、背景色を変更する。
The
例えば、図3に示すキーボタン119は、1〜3の数字キーに「あ」、「か」、「さ」が割り当てられている。この場合、ユーザは、リモートコントロール装置50の2ボタンを押すことにより、「か行」を選択したこととなる。続けて、キーボタン119は、1〜5の数字キーに「か」「き」「く」「け」「こ」が割り当てられる。これにより、ユーザは、自分の選択した文字を選択することができる。なお、キーボタン119は、ローマ字、記号等についても同様に割り当てるため、説明の詳細を省略する。
For example, in the
キーボタン119は、リモートコントロール装置50から受信した信号に基づいて、ソフトウェアキーボード表示部31により更新される。
The
検索候補表示枠121は、通信ネットワークを介して、未確定文字131に対応した変換候補135を表示する。検索候補表示枠121は、未確定文字131に対応した変換候補135を記憶部17から抽出して、表示してもよい。例えば、入力文字表示枠111に未確定文字131として「みなとく」が表示されている場合、検索候補表示枠121には、変換候補135として、「港区」、「港区赤坂」、「港区赤坂9丁目」等が表示される。
The search
検索フォーム130は、出力部33により出力された確定文字列133を表示する。検索フォーム130は、隣接する検索ボタンが選択されることにより、通信ネットワークを介して、確定文字列133を検索クエリとして、該当するページデータを取得する。
The
メニュー150は、画面100のサービスメニューを表示する。
The
(4)プログラム500の詳細記述
図4は、本発明の実施形態に係るプログラム500のソースコードの一例を示す図である。
(4) Detailed Description of
プログラム500は、第1記述部510、第2記述部520、第3記述部530、第4記述部540を備える構成である。プログラム500は、イベント受信部15によるイベントの受信の有無に基づいて、記述を分ける。具体的には、第1記述部510及び第2記述部520は、イベント受信部15によるイベントの受信が有った場合の処理を記述する。また、第3記述部530及び第4記述部540は、イベント受信部15によるイベントの受信が無かった場合の処理を記述する。
The
第1記述部510は、イベントハンドラ部19により実行される処理を記述する。第1記述部510は、イベント受信部15によるイベントの受信が有った場合に、即座に反映されるべき処理を記述する。具体的には、第1記述部510は、イベント受信部15によるイベントの受信が有った場合に、要素に対して最低限のスタイルを適用させるスタイル属性のみを書き換える処理を記述する。例えば、第1記述部510は、イベントハンドラ部19により、入力文字表示枠111に未確定文字131を表示するとともに、未確定文字131を青色で示す。
The
第2記述部520は、タイマーイベントハンドラ部23により実行される処理を記述する。第2記述部520は、setTimeout等のタイマー処理を記述する。このようなタイマー処理により、第2記述部520に記述した処理をイベントから切り離した処理として外に出している。具体的には、タイマー処理により、第2記述部520の処理は、1つのイベントに対して、実行されるプログラム500の処理から、切り離され、第1記述部510の処理が終了後、最終処理として実行される。
The
第2記述部520は、イベント受信部15によるイベントの受信が有った場合に、即座に反映されなくてもユーザの操作に支障を及ぼさない処理を記述する。具体的には、第2記述部520は、イベント受信部15によるイベントの受信が有った場合に、要素のクラスの指定をするクラス属性を操作する処理を記述する。例えば、第2記述部520は、未確定文字131に装飾を施す処理を記述する。また、第2記述部520は、ソフトウェアキーボード110の表示と、確定した文字列の表示を更新する処理を記述する。
The
第3記述部530は、イベントハンドラ部19により実行される処理を記述する。第3記述部530は、イベント受信部15によるイベントの受信が無かった場合に、即座に反映されるべき処理を記述する。具体的には、第3記述部530は、イベント受信部15によるイベントの受信が無かった場合に、要素に対してスタイルを適用させる最低限のスタイル属性のみを書き換える処理を記述する。例えば、第3記述部530は、イベントハンドラ部19により、入力文字表示枠111に「文字を入力して下さい」と表示するとともに、入力文字表示枠111に示す文字を灰色で示す。
The
第4記述部540は、タイマーイベントハンドラ部23により実行される処理を記述する。第4記述部540は、setTimeout等のタイマー処理を記述する。このようなタイマー処理により、第4記述部540に記述した処理をイベントから切り離した処理として外に出している。具体的には、タイマー処理により、第4記述部540の処理は、1つのイベントに対して、実行されるプログラム500の処理から、切り離され、第3記述部530の処理が終了後、最終処理として実行される。
The
第4記述部540は、イベント受信部15によるイベントの受信が無かった場合に、即座に反映されなくてもユーザの操作に支障を及ぼさない処理を記述する。具体的には、第4記述部540は、イベント受信部15によるイベントの受信が無かった場合に、要素のクラスの指定をするクラス属性を操作する処理を記述する。
The
(5)テレビ受像機10の処理手順
図5は、本発明の実施形態に係るプログラムの起動に基づく、テレビ受像機10の処理手順を示すフローチャートである。なお、以下の処理については、ソフトウェアキーボード110に入力された文字列を表示する際の手順について詳細を説明する。
(5) Processing Procedure of
ステップS110において、イベント受信部15は、キー入力の信号等の入力を待っている。
In step S110, the
ステップS130において、イベント受信部15は、リモートコントロール装置50により送信されたキー入力の信号をイベントとして受信する。
In step S <b> 130, the
ステップS150において、イベントハンドラ部19は、イベントハンドラ処理を開始する。
In step S150, the
ステップS170において、イベントハンドラ部19は、イベントハンドラ処理を実行する。具体的には、イベントハンドラ部19は、入力文字表示枠111に未確定文字131、又はソフトウェアキーボード110の一部の表示を更新する。
In step S170, the
ステップS190において、切り離し部21は、イベントハンドラ部19により行われる処理の一部をイベントから切り離した処理として外に出す。
In step S <b> 190, the separation unit 21 leaves part of the processing performed by the
ステップS210において、イベントハンドラ部19は、イベントハンドラ処理を終了する。
In step S210, the
ステップS230において、画面表示部27は、イベントハンドラ部19による処理を反映した画面100を表示する。具体的には、画面表示部27は、未確定文字131の表示を更新、又は、ソフトウェアキーボード110の一部の表示を更新する。
In step S230, the screen display unit 27 displays the
ステップS250において、タイマーイベントハンドラ部23は、切り離し部21により切り離された処理を実行する。 In step S250, the timer event handler unit 23 executes the process separated by the separation unit 21.
ステップS270において、タイマーイベントハンドラ部23は、切り離し部21により切り離された処理を終了する。 In step S <b> 270, the timer event handler unit 23 ends the process separated by the separation unit 21.
ステップS290において、画面表示部27は、タイマーイベントハンドラ部23による処理を反映した画面100を表示する。例えば、画面表示部27は、未確定文字131に装飾を施す処理を反映した画面100を表示する。
In step S290, the screen display unit 27 displays the
(6)作用・効果
以上説明したように、本実施形態によれば、処理方法は、ステップS130によるイベントの受信に応じて、イベントハンドラ処理を実行し、入力文字表示枠111に未確定文字131を表示するステップS170と、イベントハンドラステップの処理の一部をイベントから切り離した処理として外に出すステップS190とを備える。すなわち、処理方法によれば、未確定文字131を表示する処理の一部を切り離すため、未確定文字131を表示するまでの処理時間を短縮できる。従って、パソコンのスペックが低い場合においても、ユーザの入力に対する見かけ上の応答時間を短縮できる。
(6) Action / Effect As described above, according to the present embodiment, the processing method executes event handler processing in response to the reception of the event in step S130, and the
実施形態では、ステップS190により切り離した処理は、文字列に装飾を施す処理である。すなわち、ステップS190により切り離した処理は、即座に反映されなくてもユーザの操作に支障を及ぼさない処理である。従って、処理方法によれば、ユーザの入力に対する見かけ上の応答時間を確実に短縮できる。 In the embodiment, the process separated in step S190 is a process for decorating a character string. That is, the process separated in step S190 is a process that does not hinder the user's operation even if it is not immediately reflected. Therefore, according to the processing method, it is possible to reliably reduce the apparent response time to the user input.
実施形態では、ステップS190により切り離した処理は、タイマー処理により実行される。このため、切り離した処理は、入力文字表示枠111に未確定文字131を表示するステップS170と異なるタイミングで実行される。従って、パソコンの処理が集中することを抑制することができるため、パソコンのスペックが低い場合においても、ステップS170で実行される処理に係る処理時間を短縮できる。
In the embodiment, the process separated in step S190 is executed by a timer process. For this reason, the separated process is executed at a timing different from that in step S <b> 170 in which the
実施形態では、ステップS190により切り離した処理は、ソフトウェアキーボード110の全体表示を更新する処理である。すなわち、ステップS190により切り離した処理は、即座に反映されなくてもユーザの操作に支障を及ぼさない処理である。
In the embodiment, the process separated in step S190 is a process of updating the entire display of the
実施形態では、ステップS130によるイベントの受信に応じて、イベントハンドラ処理を実行し、ソフトウェアキーボード110の一部の表示を更新するステップS170と、イベントハンドラステップの処理の一部をイベントから切り離した処理として外に出すステップS190とを備える。すなわち、処理方法によれば、ソフトウェアキーボード110表示を更新する処理の一部を切り離すため、ソフトウェアキーボード110の一部を更新して表示するまでの処理時間を短縮できる。従って、パソコンのスペックが低い場合においても、ユーザの入力に対する見かけ上の応答時間を短縮できる。
In the embodiment, in response to the reception of the event in step S130, event handler processing is executed to update a part of the display of the
(7)その他の実施形態
上述した実施形態では、プログラムは、テレビ受像機10の記憶部17に記憶されるとしたが、本発明は、これに限られず、例えば、プログラムを起動する毎に、通信ネットワークを介して、他のサーバ等から直接取得してもよい。
(7) Other Embodiments In the above-described embodiments, the program is stored in the storage unit 17 of the
上述した実施形態では、第1記述部510及び第3記述部530は、イベントハンドラ部19により実行される処理、すなわち即座に反映されるべき処理を記述する。本発明は、これに限定されず、第1記述部510及び第3記述部530の処理をsetTimeout等のタイマー処理を記述することにより、複数の段階に分けて記載してもよい。例えば、複数のイベントの受信が連続してあった場合に、第1記述部510及び第3記述部530の一部の処理をsetTimeout等のタイマー処理により、第1記述部510及び第3記述部530から切り離してもよい。これにより、複数のイベントの受信が連続してあった場合など、更にパソコンに高負荷がかかる場合においても、ユーザの入力に対する見かけ上の応答時間を確実に短縮できる。
In the embodiment described above, the
上述した実施形態では、切り離し部21は、イベントハンドラ部19により実行されるプログラム500の処理から、第2記述部520又は第4記述部540に記述される処理を切り離すことにより、第2記述部520の処理は、第1記述部510の処理が終了後、最終処理として実行される。本発明は、これに限定されず、例えば、第2記述部520の処理は、第1記述部510の処理と実行されるタイミングの一部が重複してもよい。このような処理方法においてもユーザの入力に対する見かけ上の応答時間を短縮できるためである。
In the embodiment described above, the separation unit 21 separates the process described in the
上述した実施形態では、テレビ受像機10が備える各ブロックについて記載しているが、本発明は、これに限られず、例えば、上記の各ブロックの機能を実行するプログラム、表示方法、文字入力装置としてもよく、また、このプログラムを配信するサーバであってもよい。
In the embodiment described above, each block included in the
10 テレビ受像機
11 制御部
13 データ放送情報送受信部
15 イベント受信部
17 記憶部
19 イベントハンドラ部
21 切り離し部
23 タイマーイベントハンドラ部
25 画面作成部
27 画面表示部
29 変換部
31 ソフトウェアキーボード表示部
33 出力部
50 リモートコントロール装置
100 画面
110 ソフトウェアキーボード
111 入力文字表示枠
113 入力文字確定ボタン
119 キーボタン
121 検索候補表示枠
130 検索フォーム
131 未確定文字
133 確定文字列
135 変換候補
150 メニュー
500 プログラム
510 第1記述部
520 第2記述部
530 第3記述部
540 第4記述部
DESCRIPTION OF
Claims (4)
コンピュータが、前記イベントの受信に応じて、入力文字表示枠に未確定の文字列を表示し、当該文字列の表示を更新し、文字列を確定するイベントハンドラステップと、
コンピュータが、前記イベントハンドラステップにおける、未確定の文字列を表示し当該文字列の表示を更新する処理を実行する際に、前記文字列に装飾を施す処理またはソフトウェアキーボードの表示を更新する処理を前記イベントから切り離した処理として外に出す切り離しステップと、
を備えることを特徴とする文字入力方法。 An event receiving step in which the computer receives a key input signal as an event;
In response to receiving the event, an event handler step of displaying an undetermined character string in the input character display frame, updating the display of the character string, and confirming the character string;
When the computer executes a process of displaying an undetermined character string and updating the display of the character string in the event handler step, a process of decorating the character string or a process of updating the display of the software keyboard A disconnecting step to go outside as a process disconnected from the event;
A character input method comprising:
前記イベントの受信に応じて、入力文字表示枠に未確定の文字列を表示し、当該文字列の表示を更新し、文字列を確定するイベントハンドラステップと、
前記イベントハンドラステップにおける、未確定の文字列を表示し当該文字列の表示を更新する処理を実行する際に、前記文字列に装飾を施す処理またはソフトウェアキーボードの表示を更新する処理を前記イベントから切り離した処理として外に出す切り離しステップと、
をコンピュータに実行させることを特徴とするプログラム。 An event reception step for receiving a key input signal as an event;
In response to receiving the event, an undefined character string is displayed in the input character display frame, the display of the character string is updated, and an event handler step for confirming the character string;
In the event handler step, when executing a process of displaying an undetermined character string and updating the display of the character string, a process for decorating the character string or a process for updating the display of the software keyboard is performed from the event. A separation step that goes out as a separate process,
A program that causes a computer to execute.
前記イベントの受信に応じて、入力文字表示枠に未確定の文字列を表示し、当該文字列の表示を更新し、文字列を確定するイベントハンドラ手段と、
前記イベントハンドラ手段による、未確定の文字列を表示し当該文字列の表示を更新する処理を実行する際に、前記文字列に装飾を施す処理またはソフトウェアキーボードの表示を更新する処理を前記イベントから切り離した処理として外に出す切り離し手段と、
を備えることを特徴とする文字入力装置。 Event receiving means for receiving a key input signal as an event;
In response to reception of the event, an event handler means for displaying an undetermined character string in the input character display frame, updating the display of the character string, and confirming the character string;
When executing the process of displaying an undetermined character string and updating the display of the character string by the event handler means, the process of decorating the character string or the process of updating the display of the software keyboard is performed from the event. Separation means that goes out as a separate process,
A character input device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010147022A JP5439295B2 (en) | 2010-06-29 | 2010-06-29 | Character input method, program, and character input device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010147022A JP5439295B2 (en) | 2010-06-29 | 2010-06-29 | Character input method, program, and character input device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012014212A JP2012014212A (en) | 2012-01-19 |
JP5439295B2 true JP5439295B2 (en) | 2014-03-12 |
Family
ID=45600612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010147022A Active JP5439295B2 (en) | 2010-06-29 | 2010-06-29 | Character input method, program, and character input device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5439295B2 (en) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4085123B1 (en) * | 2007-03-29 | 2008-05-14 | 株式会社サピエンス | Image display update method, server / client system, and drawing operation echo back script |
-
2010
- 2010-06-29 JP JP2010147022A patent/JP5439295B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012014212A (en) | 2012-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105940399B (en) | Voice search device, speech search method and display device | |
CN111314789A (en) | Display device and channel positioning method | |
CN104113774A (en) | Television device control method and system and television device | |
JP5351855B2 (en) | Information home appliance system, information acquisition method and program | |
US20140359650A1 (en) | Text input method, electronic device, and storage medium | |
JP2009276889A (en) | Server unit, client unit, server-based computing system, server control method, and client control method | |
JP2007299375A (en) | Adaptive text input mode for mobile electronic device, electronic device, program and recording medium | |
US8707210B2 (en) | Display control apparatus and method for selecting an interactive object on a display frame by a numeric controller | |
WO2021109411A1 (en) | Text type conversion method and display device | |
JP5439295B2 (en) | Character input method, program, and character input device | |
JP2008217228A (en) | Web page browsing method, web page browsing apparatus, web page browsing program, and recording medium with web page browsing program recorded thereon | |
JP5739968B2 (en) | Multi-character set character code input method, multi-character set character code input system, and apparatus for executing multi-character set character code input program | |
KR20130092262A (en) | Broadcast receiving apparatus and method for providing website accessing route using the same | |
JP5311368B2 (en) | Electronic device, control program, recording medium, and control method | |
JPH10162002A (en) | Internet browsing device | |
JP4750128B2 (en) | Browser with numbering function | |
JP2006031713A (en) | Display method for web document on ce equipment | |
JP2012014211A (en) | Program, display method, and character input device | |
JP2009169467A (en) | Electronic device, control program, recording medium, and control method | |
WO2009064077A2 (en) | Method and apparatus for processing character-input | |
JP6572249B2 (en) | Content conversion apparatus, content conversion method, program, and recording medium | |
JP5687552B2 (en) | Operation support system, display system, electronic device, script, operation support method and program | |
JP2009015561A (en) | Server, key information conversion method, program, and system | |
JP2006165785A (en) | Multiple function processor and information processing method | |
JP5222264B2 (en) | Information processing apparatus, information processing method, and information processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120518 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120612 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20120711 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120810 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130305 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130430 |
|
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: 20131203 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131216 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5439295 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
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 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |