JPH0334009A - Key input processor - Google Patents

Key input processor

Info

Publication number
JPH0334009A
JPH0334009A JP1167012A JP16701289A JPH0334009A JP H0334009 A JPH0334009 A JP H0334009A JP 1167012 A JP1167012 A JP 1167012A JP 16701289 A JP16701289 A JP 16701289A JP H0334009 A JPH0334009 A JP H0334009A
Authority
JP
Japan
Prior art keywords
input
key input
character data
key
processing
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.)
Pending
Application number
JP1167012A
Other languages
Japanese (ja)
Inventor
Yoshiaki Niihori
新堀 良明
Takaaki Yui
隆昭 油井
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP1167012A priority Critical patent/JPH0334009A/en
Publication of JPH0334009A publication Critical patent/JPH0334009A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To follow a high speed key input operation and to surely carry out the key input process by controlling properly the executing time of the input arithmetic/display process. CONSTITUTION:The character data received from a keyboard 11 is stored tempo rarily in a key input buffer 12 and then fetched to a CPU13. The CPU13 inputs the character data read out of the buffer 12 to a text memory 14 and at the same time carries out a key input process which is displayed and outputted via the text screen of a display part 15. In this case, it is possible to properly control the executing time of the input arithmetic process to obtain the present position of an input cursor and the display process of the arithmetic process. Therefore the least and necessary processing is secured in such a case where the characters such as the alphabet, etc., are inputted at a high speed via the key operations. Thus it is possible to follow a high speed key input operation and to surely carry out the key input process.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明は2電子式タイプライターやワードプロセッサ
等のキー入力処理装置に関する。
The present invention relates to a key input processing device such as a two-electronic typewriter or word processor.

【発明の概要】[Summary of the invention]

この発明は、キー入力された文字データをキー入力バッ
ファに一時的に記憶保持すると共にこのキー入力バッフ
ァ内の文字データを順次読み出してテキストメモリへ入
力するワードプロセッサ等において、現在の入力カーソ
ル位置等をテキストメモリ内の入力文字数に基づいて求
める為の入力演算を実行する際に、その演算の実行時期
を適宜制御できるようにしたものである。 [従来の技術〕 従来、電子式タイプライタ−やワードプロセッサ等のキ
ー入力処理装置においでは、キー入力された文字データ
をキー入力バッファに一時的に記憶保持すると共に、こ
のキー入力バッファ内の文字データを順次読み出して表
示出力すると共にテキストメモリへ入力するキー入力処
理を行っている。 この場合、現在の入力カーソル位M(頁1行。 桁)をテキストメモリ内の入力文字数に基づいて求める
入力演算を実行し5そのy4算結果を表示出力するよう
にしている。 第4図は従来のキー入力処理装置の動作を説明する為の
フローチャートである。 先ず、キー入力バッファ内に文字データが保持されてい
ることを条件に(ステツプA2)、以下の処理を逐次実
行する。 即ち、キー入力バッファ内の文字データをキー入力され
た順に1文字分読み出してこの文字データをテキストメ
モリへ入力して格納すると共に(ステップA2)、テキ
スト画面から表示出力させる(ステップA3)。 このようにして、1文字分のキー入力処理が終ると、現
在の入力カーソル位置(頁1行1桁)をテキストメモリ
内の入力文字数に基づいて求める為の入力演算を実行す
る(ステップA4)、この場合、テキストメモリの先頭
から現在の入力位置の算出を行う、そして、この演算結
果をメツセージ画面から表示出力させる(ステップA5
)、なお、かな漢字変換を必要とする場合、上述の入力
rA算はかな漢字変換後に行われる。 [発明が解決しようとする課11] しかしながら、この種のものにおいては、かな漢字変換
を必要としない文字、即ちアルファベット、カタカナ、
数字等がブラインドタッチによって高速にキー入力され
たような場合、キー入力操作の方が内部処理時間よりも
一時的に早くなってキー入力スピードに内部処理が追随
できなくなることがある。このような場合、キー入力バ
ッファからデータがあふれ、そのデータに対するキー入
力処理が行われないまま処理が進行し、当該あぶれデー
タのキー落ちという重大な問題を生ずる。 この原因は、入力演算およびその演算結果の表示処理に
かなりの時間を要すると共に、キー入力の毎に入力演算
/表示処理を毎回行うことに起因している。 してみれば、入力演算/表示処理の実行時期を適宜制御
できるようにすれば、高速なキー入力操作に追随し、キ
ー入力処理を確実に実行できることは明らかである。 この発明の課題は、現在の入力カーンル位置等を求める
為の入力演算処理やその演算結果を表示する表示処理の
実行時期を適宜制御できるようにすることである。 [課題を解決するための手段] この発明の手段は次の通りである。 キ一入力処理l(第1図の411能ブロック図を参照、
以下同じ)は、アルファベット、カタカナ2数字等、各
種のキーを備えたキー入力装置である。 キー入力保持手段2はキ一入力処理lから順次入力され
た文字データを一時的に記憶保持するキー入力バッファ
である。なお1文字データとはアルファベット、数字等
の他、記号等をも含む。 入力処理手段3はキー入力保持手段2に保持されている
文字データを順次読み出してテキストメモリ4へ入力す
る為のキー入力処理を行なう。 判別手段5は入力処理手段3によってキー入力処理が行
われていない文字データがキー入力保持手段2内に存在
するか否かを判別する。 演算子段6は判別手段5で存在無しと判別された際に、
テキストメモリ4に入力されている文字データ数に基づ
いて所定の入力演算を行う。 表示手段7は演算手段6で得られた演算結果を表示出力
するCRT表示装置や液晶表示装置等である。 [作 用] この発明の手段の作用は次の通りである。 いま、キ一入力処理lから文字データを順次入力すると
、入力された文字データはキー入力保持手段2に一時記
憶保持される。そして、入力処理手段3はキー入力され
た順にキー入力保持手段2内の文字データを順次読み出
してテキストメモリ4へ入力する。 この際1判別手段5はキー入力処理が行われていない文
字データがキー入力保持手段2内に存在するか否かの判
別を行う、ここで、アルファベットや数字等が高速にキ
ー入力されたような場合。 つまり、キー入力スピードにキー入力処理が一時的に追
随できなくなったような場合には、キー入力保持手段2
内に文字データが存在している為。 演算子段6による入力演算を禁止するが、キー入力処理
が進行し、キー入力保持手段2内に文字データが存在し
なくなると、演算子段6はテキストメモリ4内に入力さ
れている文字データ数に基づいて所定の入力演算を実行
する0例えば、テキストメモリ4の先頭から現在の入力
位置を求めることにより、現在の入力カーソル位置(頁
1行。 桁)を算出する。これによって求められた入力カーソル
位δ等は表示手段7から表示出力される。 したがって、現在の入力カーソル位置等を求める九の入
力演算処理やその演算結果を表示する表示処理の実行時
期を適宜制御することができる。
This invention provides information on the current input cursor position, etc. in a word processor or the like that temporarily stores key-input character data in a key-input buffer and sequentially reads out the character data in this key-input buffer and inputs it into a text memory. When performing an input calculation based on the number of input characters in the text memory, the execution timing of the calculation can be appropriately controlled. [Prior Art] Conventionally, in key input processing devices such as electronic typewriters and word processors, character data input by key is temporarily stored and held in a key input buffer, and the character data in this key input buffer is It performs key input processing to sequentially read and display the text and input it to the text memory. In this case, an input operation is performed to determine the current input cursor position M (page 1 line, digit) based on the number of input characters in the text memory, and the y4 calculation result is displayed and output. FIG. 4 is a flow chart for explaining the operation of a conventional key input processing device. First, on the condition that character data is held in the key input buffer (step A2), the following processes are sequentially executed. That is, one character of the character data in the key input buffer is read out in the order of key input, and this character data is input and stored in the text memory (step A2), and is displayed and output from the text screen (step A3). In this way, when the key input process for one character is completed, an input calculation is executed to determine the current input cursor position (one column per page, one digit) based on the number of input characters in the text memory (step A4). In this case, the current input position is calculated from the beginning of the text memory, and the result of this calculation is displayed and output from the message screen (step A5).
), if kana-kanji conversion is required, the above-mentioned input rA calculation is performed after kana-kanji conversion. [Issue 11 to be solved by the invention] However, in this type of device, characters that do not require kana-kanji conversion, namely alphabets, katakana,
When numbers or the like are entered at high speed by blind touching, the key entry operation may temporarily become faster than the internal processing time, and the internal processing may not be able to keep up with the key entry speed. In such a case, data overflows from the key input buffer, and processing proceeds without any key input processing being performed on the data, resulting in a serious problem of key drop due to the blurred data. The reason for this is that input calculations and display processing of the calculation results require a considerable amount of time, and input calculation/display processing is performed every time a key is input. It is clear that if the execution timing of input calculation/display processing can be appropriately controlled, it is possible to follow high-speed key input operations and reliably execute key input processing. An object of the present invention is to make it possible to appropriately control the execution timing of input calculation processing for determining the current input curvature position, etc., and display processing for displaying the calculation results. [Means for Solving the Problems] The means of the present invention are as follows. Key input processing (see the 411 function block diagram in Figure 1)
The same applies hereafter) is a key input device equipped with various keys such as alphabet, katakana and two numeric keys. The key input holding means 2 is a key input buffer that temporarily stores and holds character data sequentially input from the key input process 1. Note that one character data includes not only alphabets, numbers, etc., but also symbols, etc. The input processing means 3 performs key input processing for sequentially reading character data held in the key input holding means 2 and inputting the data into the text memory 4. The determining means 5 determines whether character data that has not been subjected to key input processing by the input processing means 3 exists in the key input holding means 2 or not. When the operator stage 6 is determined to be non-existent by the determining means 5,
A predetermined input calculation is performed based on the number of character data input to the text memory 4. The display means 7 is a CRT display device, a liquid crystal display device, or the like that displays and outputs the calculation results obtained by the calculation means 6. [Function] The function of the means of this invention is as follows. Now, when character data is input sequentially from the key input process 1, the input character data is temporarily stored and held in the key input holding means 2. Then, the input processing means 3 sequentially reads out the character data in the key input holding means 2 in the order of key input and inputs them into the text memory 4. At this time, the first determining means 5 determines whether or not character data that has not been subjected to key input processing exists in the key input holding means 2. In that case. In other words, if the key input process is temporarily unable to keep up with the key input speed, the key input holding means 2
Because there is character data inside. Input calculations by the operator stage 6 are prohibited, but when the key input processing progresses and character data no longer exists in the key input holding means 2, the operator stage 6 stores the character data input in the text memory 4. For example, by determining the current input position from the beginning of the text memory 4, the current input cursor position (page 1 line, digit) is calculated. The input cursor position δ, etc. thus determined are displayed and output from the display means 7. Therefore, it is possible to appropriately control the execution timing of the input calculation process (9) for determining the current input cursor position, etc., and the display process for displaying the calculation results.

【実施例】【Example】

以下、第2図および第3図を参照して一実施例を説明す
る。 第2図はキー入力処理装置の基本的な構成を示したブロ
ック図である。 キ−ボード11から入力された文字データはキー入力バ
ッファ12に一時記憶されたのちCPU13に取り込ま
れる。キー入力バッファ12はキーボード11から入力
された文字データ等を一時的に記憶保持するもので、キ
ー入力バッファ12の内容はキー入力された順序にした
がってCPU13に順次読み込まれる。 CPU13は予め格納されているマイクロプロダラムに
したがって各種の動作を制御するもので、キー入力バッ
ファ12から読み取った文字データをテキストメモリ1
4へ入力すると共に表示部15のテキスト画面から表示
出力させるキー入力処理を実行する。この場合、CPU
13はキー入力バッファ12内に文字データが存在する
か否かを検出すると共にその検出結果に基づいてデータ
バス切換部16の切換動作を制御する。なお、データバ
ス切換部16はCPU13と表示部15とを直接あるい
は入力情報演算61117を介して接続するか否かを制
御するもので1通常、データバス切換部16と入力情報
演算部17とは切り離されているが、データバス切換部
16と入力情報演算部17とが接続されると入力情報演
算部17の演算結果が表示部15のメツセージ画面から
表示出力される。 入力情報演算部!7は現在の入力カーソル位置(頁、行
1桁)を求める為の入力演算処理を実行するもので、こ
の入力演算処理は通常と同様にテキストメモリ14内に
入力した文字データ数に基づいて現在の入力カーソル位
置を求める。 次に1本実施例の動作を第3図のフローチャートを参照
して説明する。 いま、キー入力操作が行われると、第3図のフローチャ
ートが実行開始され、先ず、キー入力バッファ12内に
文字データが有るか否かを調べる(ステツプB1)、こ
こで、キ一入力バツフア12内に文字データが無ければ
、ファンクションキーが操作された場合であるから、こ
のフローから抜け、操作されたファンクションキーに応
じた処理の実行へ移る。 また、文字キーが操作された場合にはステップB1で文
字データ有りが検出されるので、キー入力バッファ12
内の文字データをキー入力された順に1文字分読み出し
てこの文字データをテキストメモリ14へ入力すると共
に(ステップB2)、この文字データを表示部15のテ
キスト画面から表示出力させる(ステップB3)、この
場合、CPU13と入力情報演算部17とを接続するデ
ータバスはデータバス切換部16によって通常切り離さ
れているので、CPU13から表示部15へ文字データ
が送られて表示出力される。 このようにして1文字分のキー入力処理が終ると2次の
ステップB4に進み、キー入力バッファ12内にキー入
力処理が行われていない文字データが残っているか否か
を調べる。ここで、アルファベットや数字等が高速にキ
ー入力されたような場合、つまり、キー入力操作の方が
処理スピードよりも一時的に早くなったような場合に゛
は、キー入力バッファ12内に文字データが残っている
ので、ステップB2に戻り、キー入力バッファ12から
次の文字データを読み出してテキストメモリ14へ入力
すると共に2表示部15のテキスト画面から表示出力さ
せる(ステップB3)。 このように、キー入力バッファ12内に文字データが有
れば、キ一入力バツフア12内から1文字ずつ文字デー
タを読み出してキー入力処理を順次繰り返す。 しかして2キ一入力処理が進行し、キー入力バッファ1
2内に文字データが無くなると、ステップB4でそのこ
とが検出される。するとデータバス切換部16の切換動
作を制御してCPU13と入力情報演算部17とを接続
させる。これにより入力情報演算部エフはテキストメモ
リ14内の入力文字数に基づいて現在の入力カーソル位
置を求める入力演算処理を実行しくステップB5)、こ
れによって得られたカーソル位置情報は表示部15のメ
ツセージ画面から表示出力される(ステップB6)。 このように本実施例においては、キ一入力バツフア12
内に文文字データが無くなった時点で入力y4算処理お
よびその@算結果の表示処理が実行される。 なお、上記実施例は入力演算処理で現在の入力カーソル
位置を求めるようにしたが、テキストメモリ14の使用
量や残量等を求めるようにしてもよい。 [発明の効果] この発明は、現在の入力カーソル位置等を求める為の入
力演算処理やその演算結果を表示する表示処理の実行時
期を適宜制御することができるので、アルファベット等
の文字が高速にキー入力されたような場合には、必要最
小限の処理にとどめることが可能となる。したがって、
このような場合にも高速なキー入力に追随し、キー入力
処理を確実に実行することができる。
One embodiment will be described below with reference to FIGS. 2 and 3. FIG. 2 is a block diagram showing the basic configuration of the key input processing device. Character data input from the keyboard 11 is temporarily stored in a key input buffer 12 and then taken into the CPU 13. The key input buffer 12 temporarily stores and holds character data etc. input from the keyboard 11, and the contents of the key input buffer 12 are sequentially read into the CPU 13 according to the order of key input. The CPU 13 controls various operations according to pre-stored microprograms, and stores character data read from the key input buffer 12 in the text memory 1.
4 and executes key input processing to display and output from the text screen of the display unit 15. In this case, the CPU
13 detects whether or not character data exists in the key input buffer 12, and controls the switching operation of the data bus switching unit 16 based on the detection result. Note that the data bus switching unit 16 controls whether the CPU 13 and the display unit 15 are connected directly or via an input information calculation unit 61117.1 Normally, the data bus switching unit 16 and the input information calculation unit 17 are Although they are separated, when the data bus switching section 16 and the input information calculation section 17 are connected, the calculation results of the input information calculation section 17 are displayed and output from the message screen of the display section 15. Input information calculation section! 7 executes input calculation processing to obtain the current input cursor position (page, line 1 digit), and this input calculation processing is performed based on the number of character data input in the text memory 14 as usual. Find the input cursor position. Next, the operation of this embodiment will be explained with reference to the flowchart shown in FIG. Now, when a key input operation is performed, the flowchart shown in FIG. If there is no character data in the file, this means that a function key has been operated, and the process exits from this flow and moves to execution of the process corresponding to the operated function key. Furthermore, when a character key is operated, the presence of character data is detected in step B1, so the key input buffer 12
reads one character of character data in the order of key input, inputs this character data into the text memory 14 (step B2), and displays and outputs this character data from the text screen of the display unit 15 (step B3), In this case, since the data bus connecting the CPU 13 and the input information calculation section 17 is normally separated by the data bus switching section 16, character data is sent from the CPU 13 to the display section 15 and output for display. When the key input processing for one character is completed in this way, the process proceeds to the second step B4, and it is checked whether there is any character data remaining in the key input buffer 12 that has not been subjected to key input processing. Here, if alphabets, numbers, etc. are entered using the keys at high speed, that is, if the key entry operation is temporarily faster than the processing speed, then the characters are stored in the key input buffer 12. Since some data remains, the process returns to step B2, reads the next character data from the key input buffer 12, inputs it to the text memory 14, and outputs it for display from the text screen of the second display section 15 (step B3). In this way, if there is character data in the key input buffer 12, the character data is read out one character at a time from the key input buffer 12 and the key input process is sequentially repeated. However, the 2-key input process progresses, and the key input buffer 1
When there is no more character data in 2, this is detected in step B4. Then, the switching operation of the data bus switching unit 16 is controlled to connect the CPU 13 and the input information calculation unit 17. As a result, the input information calculation unit F executes input calculation processing to determine the current input cursor position based on the number of input characters in the text memory 14 (step B5), and the cursor position information obtained thereby is displayed on the message screen of the display unit 15. It is displayed and output from (step B6). In this way, in this embodiment, the key input buffer 12
When there is no longer any sentence character data within the input y4 input y4 calculation process and the @ calculation result display process is executed. In the above embodiment, the current input cursor position is determined through input calculation processing, but the usage amount, remaining amount, etc. of the text memory 14 may also be determined. [Effects of the Invention] This invention can appropriately control the execution timing of input calculation processing for determining the current input cursor position, etc. and display processing for displaying the calculation results, so that characters such as alphabets can be displayed at high speed. In the case of key input, it is possible to limit the processing to the minimum necessary. therefore,
Even in such a case, it is possible to follow high-speed key input and reliably execute key input processing.

【図面の簡単な説明】[Brief explanation of drawings]

第1図はこの発明の機能ブロック図、第2図および第3
図は実施例を示し、第2v!Jはキー入力処理装置の基
本的な構成を示したブロック図、第3図はキー入力時の
動作を示したフローチャート。 第4図は従来のキー入力処理装置の動作を示したフロー
チャートである。 11・・・・・・キーボード、12・・・・・・キ一入
力バツフア12・・・・・・CPU、14・・・・・・
テキストメモリ、 15・・・・・・表示部、 17・・・・・・入力情報演算部。 第 図 第 2 図 第 図
Figure 1 is a functional block diagram of this invention, Figures 2 and 3.
The figure shows an example, 2nd v! J is a block diagram showing the basic configuration of the key input processing device, and FIG. 3 is a flow chart showing operations during key input. FIG. 4 is a flowchart showing the operation of a conventional key input processing device. 11...Keyboard, 12...Key input buffer 12...CPU, 14...
Text memory, 15...display section, 17...input information calculation section. Figure 2 Figure 2

Claims (1)

【特許請求の範囲】 キー入力手段から順次入力された文字データを一時的に
記憶保持するキー入力保持手段と、このキー入力保持手
段に保持されている文字データを順次読み出してテキス
トメモリへ入力する為のキー入力処理を行なう入力処理
手段と、この入力処理手段でまだキー入力処理が行われ
ていない文字データが前記キー入力保持手段内に存在す
るか否かを判別する判別手段と、 この判別手段で存在無しと判別された際に、前記テキス
トメモリに入力されている文字データ数に基づいて所定
の入力演算を行う演算手段と、この演算手段による演算
結果を表示する表示手段と、 を具備したことを特徴とするキー入力処理装置。
[Claims] Key input holding means for temporarily storing and holding character data sequentially input from the key input means, and character data held in the key input holding means being sequentially read and input into a text memory. an input processing means for performing key input processing for the input processing; a determination means for determining whether or not character data that has not yet been subjected to key input processing by the input processing means exists in the key input holding means; A calculation means for performing a predetermined input calculation based on the number of character data input into the text memory when the text memory is determined to be non-existent by the means, and a display means for displaying the calculation result by the calculation means. A key input processing device characterized by:
JP1167012A 1989-06-30 1989-06-30 Key input processor Pending JPH0334009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1167012A JPH0334009A (en) 1989-06-30 1989-06-30 Key input processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1167012A JPH0334009A (en) 1989-06-30 1989-06-30 Key input processor

Publications (1)

Publication Number Publication Date
JPH0334009A true JPH0334009A (en) 1991-02-14

Family

ID=15841748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1167012A Pending JPH0334009A (en) 1989-06-30 1989-06-30 Key input processor

Country Status (1)

Country Link
JP (1) JPH0334009A (en)

Similar Documents

Publication Publication Date Title
US5388251A (en) Help display system for a computer
JPH06195164A (en) Key input device and method therefor
JPS61275990A (en) Electronic equipment with handwritten pattern recognizing function
JPH0334009A (en) Key input processor
KR100477125B1 (en) Character input device using electronic pen and its control method
JP6504128B2 (en) Electronic device, data processing method and program
KR960038571A (en) Data input method and apparatus
JP2815261B2 (en) Electronic equipment with complex number calculation function
JPS6038750B2 (en) How to enter characters in a word processor
JPS61204765A (en) Layout displaying system
KR100532092B1 (en) Method and apparatus for distinguishing English capital letter &small letter on computer screen using cursor
JP4028656B2 (en) Character display method and display device
JP2509554B2 (en) Character processing method
JP2573183B2 (en) Kana-Kanji conversion device
JP2993034B2 (en) Document processor with help information display function
JPH0566875A (en) Key input device
JPH0695826A (en) Input operation guide device for information processor
JPS61141028A (en) Printing position display device for wordprocessor
JPH01303514A (en) Key input device
JP3871498B2 (en) Data input interface device
JP2523441Y2 (en) Input device
JPH0822461A (en) Character processor and its operating method
JP3420333B2 (en) Document processing apparatus and spell checking method thereof
JPH05100783A (en) Key function displaying keyboard device
JPS6336365A (en) Japanese language processor