JPH044608B2 - - Google Patents
Info
- Publication number
- JPH044608B2 JPH044608B2 JP58116763A JP11676383A JPH044608B2 JP H044608 B2 JPH044608 B2 JP H044608B2 JP 58116763 A JP58116763 A JP 58116763A JP 11676383 A JP11676383 A JP 11676383A JP H044608 B2 JPH044608 B2 JP H044608B2
- Authority
- JP
- Japan
- Prior art keywords
- input information
- key
- key input
- buffer
- cursor
- 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.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 claims description 24
- 238000010586 diagram Methods 0.000 description 6
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Input From Keyboards Or The Like (AREA)
Description
【発明の詳細な説明】
発明の技術分野
本発明は、コンピユータシステムにおけるカー
ソルキーやスペースキーなどのキーの重複キー入
力情報の処理方法に関する。DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a method for processing duplicate key input information of keys such as cursor keys and space keys in a computer system.
従来技術と問題点
マイクロコンピユータ、オフイスコンピユー
タ、あるいはワードプロセツサなどのコンピユー
タシステムでは、キーボードからの入力速度とそ
れに対するシステムの処理速度が整合しない場
合、例えば一般にはシステムの処理速度の方がキ
ーボードからの入力速度より大であるが、フアイ
ルアクセスなどが入るとシステムの方が処理が遅
くなり、このような場合は、キーボードからの入
力を順次バツフアに蓄積してその後処理するのが
一般的である。Prior Art and Problems In computer systems such as microcomputers, office computers, and word processors, when the input speed from the keyboard and the corresponding system processing speed do not match, for example, in general, the system processing speed is faster than the input speed from the keyboard. However, if there is a file access, etc., the system processing speed becomes slower, and in such cases, it is common to accumulate input from the keyboard in a buffer and then process it. .
第1図はこの種のシステムの概略図で、1はキ
ーボード(KB)、2は中央処理装置(CPU)、3
はフロツピイデイスク(FD)等の外部記憶装置、
4は陰極線管(CRT)等のデイスプレイである。
キーボード1からの入力はCPU2で処理され、
例えばCRT4上のカーソルを移動させたりする。
カーソル移動はカーソル移動キーをn回押してカ
ーソルをnステツプさせる、あるいは該キーを連
続的に押してキーボードの一定時間毎キー状態読
取り機能によりnステツプさせる等の手段で行な
い、システムの処理速度は一般にはかゝるキー入
力速度より大でシステムがキー入力を処理し切れ
ないということはないが、例えばフアイルが必要
になつてシステムが外部記憶媒体3へアクセスす
る等の処理が入ると、これには時間がかかるので
キー入力を処理し切れないという事態が生じる。
そこでバツフアを設けて、処理し切れないキー入
力は該バツフアに溜めておき、フアイルアクセス
終了などで迅速な処理機能を回復したシステムが
該バツフアに溜められたキー入力を見てこれを迅
速に処理してしまうようにする。 Figure 1 is a schematic diagram of this type of system, where 1 is the keyboard (KB), 2 is the central processing unit (CPU), and 3 is the keyboard (KB).
is an external storage device such as a floppy disk (FD),
4 is a display such as a cathode ray tube (CRT).
Input from keyboard 1 is processed by CPU 2,
For example, move the cursor on the CRT4.
The cursor is moved by pressing the cursor movement key n times to move the cursor in n steps, or by pressing the key continuously and using the keyboard's key state reading function at fixed intervals to move the cursor in n steps. Although the system will not be unable to process key inputs faster than this key input speed, for example, if a file is required and the system accesses the external storage medium 3, this will cause Since it takes time, a situation may arise in which key input cannot be processed completely.
Therefore, a buffer is set up, and the key inputs that cannot be processed are stored in the buffer, and the system, which has recovered its quick processing function when file access is finished, sees the key inputs stored in the buffer and processes them quickly. make it happen.
ところでオペレータは、キーボード1からの指
示は全て瞬時に処理されると考えがちであるた
め、システムが時間のかかる処理を実行している
最中に入力したキーの結果が直ちに出ない(待機
させられている)と、そのキーが不充分な打鍵等
で正しく入力されなかつたと判断しやすい。この
傾向は特にキー入力の結果がデイスプレイ4で直
ちに確認できる操作、例えば上記のカーソルの移
動等において顕著になる。第2図はこの説明図
で、5はデイスプレイ4上を直交する方向A〜D
に移動可能なカーソルである。キーボード1には
カーソル5の移動方向に応じた4個のカーソル移
動キーA〜Dがあり、例えばカーソル5をA方向
に1ステツプ(通常1行分、または1文字分)移
動させるにはAキーを1回打鍵する。このときシ
ステムが他の処理を実行しているとAキーの入力
は前述のバツフアに蓄積される。従つてこの時点
ではカーソル5は移動しない。オペレータはカー
ソル5が移動しないという様子をデイスプレイ4
上で認識すると、一般には再度Aキーを打鍵して
カーソル5を移動させようとする。それでもシス
テムが他の処理を継続していればカーソル5は移
動せずに、Aキーの入力がバツフアに2回分たま
る。 By the way, operators tend to think that all instructions from keyboard 1 are processed instantly, so when the system is performing a time-consuming process, the result of a key input is not immediately available (it is forced to wait). ), it is easy to determine that the key was not entered correctly due to insufficient keystrokes, etc. This tendency is particularly noticeable in operations where the result of key input can be immediately confirmed on the display 4, such as the above-mentioned cursor movement. FIG. 2 is an explanatory diagram of this, and 5 indicates directions A to D perpendicular to the display 4.
A cursor that can be moved to The keyboard 1 has four cursor movement keys A to D that correspond to the movement direction of the cursor 5. For example, to move the cursor 5 one step (usually one line or one character) in the A direction, press the A key. Press the key once. At this time, if the system is executing other processing, the input of the A key is accumulated in the buffer described above. Therefore, the cursor 5 does not move at this point. The operator can see on display 4 that cursor 5 is not moving.
As recognized above, the user generally tries to move the cursor 5 by pressing the A key again. However, if the system continues other processing, the cursor 5 will not move and the A key inputs will be repeated twice.
問題はこのバツフアに蓄えられたキー入力が従
来方式ではその後に全て実行されてしまう点であ
る。上述した例ではオペレータがAキーを2回打
鍵した後にシステムが前の処理を完了したとすれ
ばシステムは直ちに該バツフアの処理に入り、バ
ツフアから読み出した2回分のAキー入力に従い
カーソル5をA方向に2ステツプ分移動する。し
かし、この移動量はオペレータが予期した移動量
(この場合1ステツプ)より多いので、その後オ
ペレータはCキーを1回打鍵してカーソル5をC
方向に1ステツプ戻す必要が生ずる。カーソルを
1ステツプまたは2ステツプなど少数ステツプ移
動させる場合はオペレータがシステムのくせ(メ
カニズム)を飲み込んでしまえば格別問題は生じ
ないかも知れないが、カーソルを多数ステツプさ
せるような場合は問題である。即ちかゝる場合一
般にオペレータはカーソルが目標位置へ移動する
迄キーを何回でも押す、もしくは自動読取りをさ
せるべくキーを連続的に押すので、目標位置へカ
ーソルが来たときバツフア内には多数のキー入力
が溜つており、オペレータがキーを離したあとで
カーソルは何ステツプもする、という事になりか
ねない。 The problem is that in the conventional method, all key inputs stored in this buffer are executed afterwards. In the above example, if the system completes the previous process after the operator presses the A key twice, the system immediately enters the process of the buffer and moves the cursor 5 to A according to the two A key inputs read from the buffer. Move two steps in the direction. However, this amount of movement is greater than the amount of movement expected by the operator (one step in this case), so the operator then presses the C key once to move cursor 5 to C.
It becomes necessary to move back one step in the direction. If the cursor is moved by a small number of steps, such as one or two steps, no particular problem may arise if the operator understands the system's mechanics, but it is a problem if the cursor is moved by a large number of steps. That is, in such cases, the operator generally presses the key as many times as necessary until the cursor moves to the target position, or presses the key continuously for automatic reading, so that when the cursor reaches the target position, there are many numbers in the buffer. Keystrokes can accumulate, causing the cursor to take several steps after the operator releases a key.
発明の目的
本発明は、上述した重複キー入力の一部をソフ
トウエアで無視する処理をすることにより、キー
ボードの入力速度とシステムの処理時間の間に整
合性を持たせようとするものである。Purpose of the Invention The present invention attempts to maintain consistency between keyboard input speed and system processing time by using software to ignore some of the duplicate key inputs described above. .
発明の構成
本発明は、キーボードからの入力情報に対応す
る処理を中央処理装置で実行してその結果をデイ
スプレイに表示し、該処理装置が1つの処理を実
行中のとき該キーボードから入力されたキー入力
情報は順次バツフアに蓄積してその後該処理が終
了した後に、該キー入力情報に対応する処理を実
行するシステムの重複キー入力情報の処理方法に
おいて、
最新のキー入力情報に対し該バツフアに蓄積さ
れたキー入力情報を古いもの順に比較して該最新
のキー入力情報と同じものは無視して異なるもの
から、その異なるキー入力情報に対応する処理を
実行し、最後まで同じなら最新のキー入力情報に
対処する処理のみ実行することを特徴とするが、
以下図示の実施例を参照しながらこれを詳細に説
明する。Structure of the Invention The present invention executes processing corresponding to information input from a keyboard in a central processing unit and displays the result on a display, and when the processing unit is executing one process, the processing corresponding to information input from the keyboard is executed. In a method for processing duplicate key input information of a system in which key input information is sequentially accumulated in a buffer and then after the processing is completed, a process corresponding to the key input information is executed, the key input information is stored in the buffer for the latest key input information. Compare the stored key input information in order of oldest key input information, ignore the same key input information as the latest key input information, start with the different key input information, and execute the process corresponding to the different key input information, and if the key input information is the same until the end, use the latest key input information. It is characterized by executing only the processing that deals with the input information,
This will be explained in detail below with reference to the illustrated embodiments.
発明の実施例
第3図は本発明の一実施例を示す説明図で、第
4図はそのフローチヤートである。第3図aは
CPU2内の先読みバツフア(前述のバツフア)
6にA,A,B,Cというキー入力が蓄積され、
最新実行のキー(指定キー)はAキーであつたケ
ースである。このときは、バツフア6に古くから
溜つている指定キーと同じキーAを2回分とも読
み飛ばし、次のAキーとは異なるBキーから、シ
ステムには異なる入力があつたと判断して処理す
る。つまり、CPU2は最初2回のA,Aを無視
し、続くB,C,Aだけがこの順に入力されたも
のとして処理する。同図bはバツフア6内が全て
Aキーのケースで、この場合は前4回のキーAを
読み飛ばして最後の(最新の)キーAだけが入力
されたものとして処理する。Embodiment of the Invention FIG. 3 is an explanatory diagram showing an embodiment of the present invention, and FIG. 4 is a flowchart thereof. Figure 3 a is
Look-ahead buffer in CPU2 (the buffer mentioned above)
Key inputs A, A, B, C are accumulated in 6,
This is a case where the key (designated key) for the latest execution was the A key. In this case, the system skips the key A that is the same as the specified key that has been stored in the buffer 6 for a long time, and processes it by determining that the system receives a different input from the next B key, which is different from the A key. That is, the CPU 2 ignores the first two A and A, and processes only the subsequent B, C, and A as if they were input in this order. Figure b shows a case in which all keys in the buffer 6 are A keys, and in this case, the previous four keys A are skipped and processing is performed assuming that only the last (latest) key A has been input.
このようにバツフア内に蓄積されたキー(キー
入力)のうち同じキーは1回だけ有効にする処理
をすると、先の例のようにカーソル5をA方向に
1ステツプだけ移動させようとしたときにAキー
を何回打鍵しても同じ結果になる(但し、すべて
バツフアリングされた、が条件)。つまりCPU2
が前の処理を終了したときにオペレータの希望通
りに1ステツプだけA方向に移動する。この様な
読み飛ばし処理は、同じキーを連続して押し続け
ることで該キーの入力が一定時間間隔(例えば20
ms)で繰り返し行なわれたと認識するようなタ
イパマチツクなキー入力時に特に有効である。こ
の場合は第3図bのようになるはずで、オペレー
タは何回Aキーを打鍵したかという意識はない。
勿論、オペレータが2ステツプA方向に移動させ
たかつたという場合もあるが、そのときは後にA
キーを1回打鍵すれば済むことで、バツフア内容
に従いA方向に5ステツプ移動したカーソルをC
方向に3ステツプ戻すよりは操作が簡単である。
しかし、異種のキー(例えばB,C)は全く異な
る処理を指定するものであるから、これは読み飛
ばしの対象とはしない。 If you enable the same key only once among the keys (key inputs) accumulated in the buffer in this way, when you try to move cursor 5 by one step in the A direction as in the previous example, No matter how many times you press the A key, the result will be the same (provided that all the keys are pressed). In other words, CPU2
When the previous process is completed, the operator moves one step in the A direction as desired by the operator. This type of skip processing is performed by continuously pressing the same key, and the input of that key is executed at a certain time interval (for example, 20 seconds).
This is particularly effective when typing a key input that is recognized as having been repeatedly performed in ms). In this case, the situation should be as shown in FIG. 3b, and the operator is not aware of how many times he has pressed the A key.
Of course, there may be cases where the operator wanted to move 2 steps in the direction of A, but in that case, the
By pressing the key once, the cursor, which has moved 5 steps in the A direction according to the buffer content, can be moved to C.
It is easier to operate than going back three steps in the direction.
However, since different types of keys (for example, B and C) specify completely different processes, they are not skipped.
第4図は上述した処理のフローチヤートであ
る。デイスプレイの制御部などから最新実行キー
は何であつたかの情報をもらい、それを指定キー
とする。本例ではこれはAとする。ステツプは
キー入力(ここではAとする)が有効か(有る
か)を判断し、N(ノー)であればキー待ちにな
る。Y(イエス)のときはステツプでバツフア
の第1ブロツクが有効か(データが入つている
か)を判断する。もしそのブロツクにキー入力が
溜つていれば、それが今入力されたAと同じであ
るかを判断する(ステツプ)。同じであればス
テツプバツフアのポインタ(pt)を+1して次
の第2ブロツクの内容を見る。違つていればその
内容、例えばBコードの処理をする。このように
してバツフアの全ブロツクを見てそれらが全てA
なら(最後もAなら)そこで初めてAの処理をす
る。これがステツプである。 FIG. 4 is a flowchart of the process described above. Information about the latest execution key is obtained from the display control unit, etc., and this is used as the designated key. In this example, this is A. The step determines whether a key input (A here) is valid (or exists), and if N (no), the process waits for a key. If the answer is Y (yes), it is determined in this step whether the first block of the buffer is valid (contains data). If a key input is accumulated in that block, it is determined whether it is the same as the A that was just input (step). If they are the same, add 1 to the step buffer pointer (pt) and look at the contents of the next second block. If there is a difference, the content, for example the B code, is processed. In this way, you can look at all the blocks in the buffer and find that they are all A.
If so (if the last one is also A) then process A for the first time. This is the step.
発明の効果
以上述べたように本発明によれば、システムの
処理中に発生したキー入力の重複部分を無視する
処理をするので、キーボードからの入力とシステ
ムの処理時間との間に整合性を持たせることがで
きる。実施例ではカーソル移動キーを挙げたが、
間隔を設けるのに使用するスペースキー、フアイ
ルを前進または後戻り方向にめくつて所望頁を開
くのに使用する前頁、次頁キーなども本発明は有
効に利用できる。Effects of the Invention As described above, according to the present invention, duplicate key inputs that occur during system processing are ignored, thereby ensuring consistency between keyboard input and system processing time. You can have it. In the example, the cursor movement key was mentioned, but
The present invention can also effectively utilize space keys used to set intervals, and previous page and next page keys used to open a desired page by flipping a file forward or backward.
第1図は一般的なコンピユータシステムの概略
構成図、第2図はデイスプレイ上のカーソルの説
明図、第3図は本発明の一実施例を示す説明図、
第4図はそのフローチヤートである。
図中、1はキーボード、2は中央処理装置、3
は外部記憶装置、4はデイスプレイ、6はバツフ
アである。
FIG. 1 is a schematic configuration diagram of a general computer system, FIG. 2 is an explanatory diagram of a cursor on a display, and FIG. 3 is an explanatory diagram showing an embodiment of the present invention.
Figure 4 is a flowchart. In the figure, 1 is the keyboard, 2 is the central processing unit, 3
is an external storage device, 4 is a display, and 6 is a buffer.
Claims (1)
中央処理装置で実行してその結果をデイスプレイ
に表示し、該処理装置が1つの処理を実行中のと
き該キーボードから入力されたキー入力情報は順
次バツフアに蓄積してその後該処理が終了した後
に、該キー入力情報に対応する処理を実行するシ
ステムの重複キー入力情報の処理方法において、 最新のキー入力情報に対し該バツフアに蓄積さ
れたキー入力情報を古いもの順に比較して該最新
のキー入力情報と同じものは無視して異なるもの
から、その異なるキー入力情報に対応する処理を
実行し、最後まで同じなら最新のキー入力情報に
対応する処理のみ実行することを特徴とする重複
キー入力情報の処理方法。[Claims] 1. A central processing unit executes a process corresponding to information input from a keyboard and displays the result on a display, and when the processing unit is executing one process, information input from the keyboard is executed. In a method for processing duplicate key input information of a system in which key input information is sequentially accumulated in a buffer and then after the processing is completed, a process corresponding to the key input information is executed, the key input information is stored in the buffer for the latest key input information. Compare the stored key input information in order of oldest key input information, ignore the same key input information as the latest key input information, start with the different key input information, and execute the process corresponding to the different key input information, and if the key input information is the same until the end, use the latest key input information. A method for processing duplicate key input information, characterized in that only processing corresponding to the input information is executed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58116763A JPS608925A (en) | 1983-06-28 | 1983-06-28 | Processing method of overlap key input |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58116763A JPS608925A (en) | 1983-06-28 | 1983-06-28 | Processing method of overlap key input |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS608925A JPS608925A (en) | 1985-01-17 |
| JPH044608B2 true JPH044608B2 (en) | 1992-01-28 |
Family
ID=14695129
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58116763A Granted JPS608925A (en) | 1983-06-28 | 1983-06-28 | Processing method of overlap key input |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS608925A (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61248117A (en) * | 1985-04-25 | 1986-11-05 | Fujitsu Ltd | Key inputting control system |
| JPH0782411B2 (en) * | 1987-09-17 | 1995-09-06 | 株式会社日立製作所 | Input/Output Control Unit |
| JP2507641B2 (en) * | 1989-12-15 | 1996-06-12 | 富士通株式会社 | Keyboard control system |
| CN114691072A (en) * | 2022-04-19 | 2022-07-01 | 北斗星通智联科技有限责任公司 | Display screen identification method, device, display screen and medium |
-
1983
- 1983-06-28 JP JP58116763A patent/JPS608925A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS608925A (en) | 1985-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100342801B1 (en) | Misoperation prevention method and apparatus, and storage medium for storing software product for preventing misoperation | |
| US6907577B2 (en) | System and method for accessing screen fields, functions and programs using a simple single key stroke | |
| US20050114778A1 (en) | Dynamic and intelligent hover assistance | |
| JPH07104877B2 (en) | Drawing method in computer-aided drawing system | |
| JPH042964B2 (en) | ||
| CN112596845A (en) | Page switching method, device, server and storage medium | |
| JPH044608B2 (en) | ||
| JP3107309B2 (en) | Method and system for processing multiple data blocks | |
| JPS60241156A (en) | Word processor | |
| KR102936111B1 (en) | Method and system for monitoring remote terminals | |
| EP0052754A1 (en) | Text highlighting method in a text processing system | |
| JP3271466B2 (en) | Reading device | |
| JPH1165800A (en) | Graphical user interface controller and storage medium | |
| JPH0338690A (en) | Data processor | |
| JPH0363103B2 (en) | ||
| JPS63100533A (en) | Display/printing device with multi-window display function | |
| JPS63610A (en) | How to automatically execute operating procedures | |
| JPH0525338B2 (en) | ||
| JPH02126313A (en) | Data processor | |
| JPS59106054A (en) | information processing system | |
| JPH064216A (en) | Information processor | |
| JPH0217521A (en) | Help processing system for information processor | |
| JPH0628134A (en) | Method for selecting plural data and device therefor | |
| JPH0736699A (en) | Fuzzy computer system and its operating method, fuzzy inference circuit and method, and device driver and its operating method | |
| JPS63216126A (en) | Hard copy device in multi-window system |