JPH0415812A - Keyboard control method - Google Patents

Keyboard control method

Info

Publication number
JPH0415812A
JPH0415812A JP2118991A JP11899190A JPH0415812A JP H0415812 A JPH0415812 A JP H0415812A JP 2118991 A JP2118991 A JP 2118991A JP 11899190 A JP11899190 A JP 11899190A JP H0415812 A JPH0415812 A JP H0415812A
Authority
JP
Japan
Prior art keywords
computer
keyboard
code
key
computers
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
JP2118991A
Other languages
Japanese (ja)
Other versions
JP2905552B2 (en
Inventor
Naoichi Kato
加藤 直一
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2118991A priority Critical patent/JP2905552B2/en
Publication of JPH0415812A publication Critical patent/JPH0415812A/en
Application granted granted Critical
Publication of JP2905552B2 publication Critical patent/JP2905552B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複数のコンピュータをそれぞれ通信インタ
フェースによって接続してその各キーボードからの入力
をコントロールするキーボードコントロール方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a keyboard control method for controlling input from each keyboard by connecting a plurality of computers through communication interfaces.

〔従来の技術〕[Conventional technology]

近年、コンピュータ利用の増加にともなって。 In recent years, with the increase in computer usage.

1人の操作者が複数台のコンピュータを交互に駆使して
文書作成やプログラム開発及び図形処理等の各種の作業
を行なうようになってきている。
One operator has come to perform various tasks such as document creation, program development, and graphic processing by alternately using a plurality of computers.

このような場合、各コンピュータへの入力はそれぞれの
コンピュータに備わる各キーボードによって行なうので
、操作者はコンピュータの台数分のキーボードを扱わな
くてはならなくなり、作業効率が低下してしまう。
In such a case, since input to each computer is performed using each keyboard provided on each computer, the operator has to use as many keyboards as there are computers, which reduces work efficiency.

そこで、どのキーボードからも所望のコンピュータへ入
力できるようにして、扱うキーボードの数を減らせるよ
うにしようとすると、従来は複数のコンピュータをロー
カルエリアネットワーク(LAN)等のネットワークシ
ステムで接続する方法があった。
Therefore, in order to reduce the number of keyboards that need to be handled by allowing input from any keyboard to the desired computer, the conventional method was to connect multiple computers using a network system such as a local area network (LAN). there were.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、上述のように複数のコンピュータを接続
するためにLAN等のネットワークシステムを使用する
と、システムがソフト面でもハード面でも大規模なもの
になってしまって、コスト高になるという問題があった
However, as mentioned above, when a network system such as a LAN is used to connect multiple computers, the system becomes large in both software and hardware, resulting in high costs. .

この発明は上記の点に鑑みてなされたものであり、複数
のコンピュータをそれぞれ簡単な通信インタフェースに
よって接続して、それらをいずれか1台のキーボードで
もコントロールできるようにすることを目的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to connect a plurality of computers to each other through a simple communication interface so that they can be controlled using any one keyboard.

〔課題を解決するための手段〕[Means to solve the problem]

この発明は上記の目的を達成するため、それぞれキーボ
ードを備えた複数台のコンピュータを通信インタフェー
スによって接続すると共に、少なくとも1台のコンピュ
ータにはマスタフラグを立てられるようにし、このマス
タフラグが立っているコンピュータのキーボードによっ
て、このコンピュータ以外のそれに接続されている各コ
ンピュータのキーボードコントロールを行なうキーボー
ドコントロール方式を提供するものである。
In order to achieve the above object, the present invention connects a plurality of computers, each equipped with a keyboard, through a communication interface, and also enables at least one computer to set a master flag, and when the master flag is set. A keyboard control method is provided in which the keyboard of the computer is used to control the keyboards of computers connected to the computer other than this computer.

〔作 用〕[For production]

この発明によるキーボードコントロール方式は、通信イ
ンタフェースによって接続された複数台のコンピュータ
の中から、マスタフラグが立っているコンピュータのキ
ーボードによってそのコンピュータ以外のコンピュータ
へのキー人力ができる。
In the keyboard control method according to the present invention, from among a plurality of computers connected through a communication interface, keys of a computer whose master flag is set can be used to input keys to computers other than that computer.

〔実施例〕〔Example〕

以下、この発明の実施例を図面に基づいて具体的に説明
する。
Embodiments of the present invention will be specifically described below with reference to the drawings.

第2図は、この発明によるキーボードコントロール方式
を適用したコンピュータシステムの外観図である。
FIG. 2 is an external view of a computer system to which the keyboard control method according to the present invention is applied.

このコンピュータシステムは、キーボード1とデータ処
理装置2とデイスプレィ3等を備えたn台のコンピュー
タC1〜Cnが、8ビツトあるいは16ビツトのパラレ
ル通信インタフェース回路又はシリアル通信インタフェ
ース回路(第3図参照)を介してインタフェースケーブ
ル12によってそれぞれ接続さ九ている。
In this computer system, n computers C1 to Cn each having a keyboard 1, a data processing device 2, a display 3, etc., use an 8-bit or 16-bit parallel communication interface circuit or a serial communication interface circuit (see Fig. 3). They are each connected by an interface cable 12 through the nine.

第3図は、第2図に示した各コンピュータの構成を、デ
ータ処理装置2の内部構成と共に示すブロック図である
FIG. 3 is a block diagram showing the configuration of each computer shown in FIG. 2 together with the internal configuration of the data processing device 2. As shown in FIG.

このコンピュータのデータ処理装置2は、記憶装置とし
てハードディスク装置(HDD)4及びフロッピディス
ク装置(FDD)5を備えている。
The data processing device 2 of this computer includes a hard disk device (HDD) 4 and a floppy disk device (FDD) 5 as storage devices.

そして、キーボードコントロール回路部6゜CPU7.
RAM8.ROM9.通信インタフェース回路10.及
びデイスプレィコントロール部11からなる。
Then, the keyboard control circuit section 6°CPU7.
RAM8. ROM9. Communication interface circuit 10. and a display control section 11.

キーボード1は、入力装置であって文字、数字。The keyboard 1 is an input device for characters and numbers.

各種機能指示、キー人刃先のコンピュータの指示入力等
を行なう。
Inputs instructions for various functions, keys, etc. for the computer.

デイスプレィ3は、CRTまたはLCD等の表示装置で
あり、キー人力された文字や数字と各種機能実行の際の
作業画面、及び各種のメツセージ等を表示する。
The display 3 is a display device such as a CRT or LCD, and displays characters and numbers entered manually, work screens for executing various functions, and various messages.

ハードディスク装置(HDD)4及びフロッピディスク
装置(FDD)5は、それぞれ外部記憶装置であり、こ
のコンピュータで実行した各種機能の成果であるデータ
を格納する。
A hard disk device (HDD) 4 and a floppy disk device (FDD) 5 are external storage devices, and store data that is the result of various functions executed by this computer.

キーボードコントロール回路部6は、キーボード1の制
御を司り、キーボード1からのキー人力を検知してその
キーのキーコード(キャラクタコード、制御コード等)
をCPU7八γる。
The keyboard control circuit section 6 is in charge of controlling the keyboard 1, detects the human input of a key from the keyboard 1, and generates a key code (character code, control code, etc.) for that key.
The CPU 7 is running.

CPU7は、中央処理装置であってこの装置全体の制御
を司ると共に、キー人力によってキーボード割込みの発
生を検知して、マスタフラグが立っているか否かによっ
てそのキーのキーコードを当該コンピュータへ入力する
か、通信インタフェース回路10によって他のコンピュ
ータへ送出するかのいずれかを行なう処理、他のコンピ
ュータから送出されたキーコードのIDコートが当該コ
ンピュータのIDコードと一散したらそのキーコートを
受は取る処理、及びこのコンピュータで実現する各種機
能の処理等を行なう。
The CPU 7 is a central processing unit that is in charge of controlling the entire device, and also detects the occurrence of a keyboard interrupt using a key manually, and inputs the key code of that key to the computer depending on whether the master flag is set. or sending it to another computer by the communication interface circuit 10, and when the ID code of the key code sent from the other computer is dispersed with the ID code of the computer concerned, the key code is received and received. It performs processing and various functions realized by this computer.

RAM8は、書き込み読み出し可能なメモリであり、C
PU7による各種処理を行なうデータを一時格納する作
業用メモリである。
RAM8 is a writable and readable memory, and C
This is a working memory that temporarily stores data used for various processing by the PU 7.

ROM9は、読み出し専用のメモリであり、このコンピ
ュータで実現する各種機能の処理プログラム、キーボー
ド割込みルーチンの処理プログラム及び通信インタフェ
ース割込みルーチンの処理プログラム等を格納する。
The ROM 9 is a read-only memory, and stores processing programs for various functions realized by this computer, a processing program for a keyboard interrupt routine, a processing program for a communication interface interrupt routine, and the like.

通信インタフェース回路10は、インタフェースケーブ
ル12と共に他のコンピュータとの通信インタフェース
を構成し、CPU7からの指示によって、インタフェー
スケーブル12によって接続されている他のコンピュー
タへキーコード等を送出し、他のコンピュータから送ら
れて来るキーコード等を受信する。
The communication interface circuit 10 constitutes a communication interface with other computers together with an interface cable 12, and in response to instructions from the CPU 7, sends key codes and the like to other computers connected by the interface cable 12, and receives data from the other computers. Receive the sent key code etc.

デイスプレィコントロール部11は、デイスプレィ3の
制御を司り、入力されたキーコードに対応するキャラク
タを表示させる。
The display control unit 11 controls the display 3 and displays a character corresponding to the input key code.

次に、第1図(a)(b)のフローチャートによってC
PU7のキーボードコントロールに係わる処理について
説明する。
Next, C
Processing related to keyboard control of the PU 7 will be explained.

第1図(a)は、キーコードを送出するコンピュータ側
のキーボード割込みルーチンの処理を示すフローチャー
トである。
FIG. 1(a) is a flowchart showing the processing of a keyboard interrupt routine on the computer side that sends out a key code.

ステップlでキーボード割込みの発生を検知したらステ
ップ2へ進み、キーボードコントロール回路部6から送
られるキーコードを読み込んでステップ3へ進む。
When the occurrence of a keyboard interrupt is detected in step 1, the process proceeds to step 2, where the key code sent from the keyboard control circuit section 6 is read, and the process proceeds to step 3.

ステップ3ではマスタフラグが立っている(設定されて
いる)か否かを判断して、立っていたらステップ4へ進
むが立っていなければステップ5へ進む。
In step 3, it is determined whether the master flag is raised (set) or not. If it is set, the process proceeds to step 4; if not, the process proceeds to step 5.

なお、マスタフラグはキーボード1の所定のキー操作に
よって任意に設定及び解除することができる。
Note that the master flag can be arbitrarily set or canceled by operating a predetermined key on the keyboard 1.

ステップ4では、そのキーコードを通信インタフェース
によって他の各コンピュータへ通信コードとして送出し
、処理を終了する。
In step 4, the key code is sent as a communication code to each other computer via the communication interface, and the process ends.

一方、ステップ5,6ではそのキーコードをキーボード
バッファへ書き込んで、当該コンピュータのデイスプレ
ィ3ヘキヤラクタとして表示し、処理を終了する。
On the other hand, in steps 5 and 6, the key code is written into the keyboard buffer and displayed as a character on the display 3 of the computer, and the process ends.

第1図(b)は、キーコードを受信するコンピュータ側
の通信インタフェースの割込みルーチンの処理を示すフ
ローチャートである。
FIG. 1(b) is a flowchart showing the interrupt routine processing of the communication interface on the computer side that receives the key code.

キーコードを受信したコンピュータは、ステップ10で
通信インタフェース割込みが発生したか否かを判断し、
発生したらステップ11へ進んで。
The computer that has received the key code determines whether or not a communication interface interrupt has occurred in step 10,
If it occurs, proceed to step 11.

その受信したキーコードのヘッダコードを読み込んでス
テップ12へ進む。
The header code of the received key code is read and the process proceeds to step 12.

ステップ12では、読み込んだヘッダコードのIDコー
ドを自己のIDコードと比較して一致するか否かを判断
し、一致したらステップ13へ進むが、一致しなければ
そのまま処理を終了する。
In step 12, the ID code of the read header code is compared with its own ID code to determine whether they match. If they match, the process proceeds to step 13, but if they do not match, the process ends.

ステップ13では通信コードのキーコードデータを読み
込んでステップ1.4へ進み、そのキーコードをキーボ
ードバッファへ書き込み、ステップ15でそのキーコー
ドに対応するキャラクタを当該コンピュータのデイスプ
レィ3に表示して処理を終了する。
In step 13, the key code data of the communication code is read, the process proceeds to step 1.4, the key code is written to the keyboard buffer, and in step 15, the character corresponding to the key code is displayed on the display 3 of the computer and processing is performed. finish.

すなわち、マスタフラグが立っているコンピュータのキ
ーボードから入力されたキーのキーコードに送信先のコ
ンピュータのIDコードを付加して送出すると、そのI
Dコードと一致するコンピュータのみがそのキーコード
を読み込む。
In other words, if the ID code of the destination computer is added to the key code of the key input from the keyboard of the computer on which the master flag is set, then the ID code of the destination computer is sent.
Only computers that match the D code will read that key code.

第4図は、キーコードを各コンピュータへ送出する際の
通信コードの形式の一例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of the format of the communication code when transmitting the key code to each computer.

この通信コードは、先頭の1バイトによってヘッダコー
ドである送信先のコンピュータのIDコードを、次の1
バイトによってキーコードデータであるキャラクタコー
ドを例えばアスキーコードでそれぞれ送出する。
This communication code uses the first byte to indicate the ID code of the destination computer, which is the header code, and the next 1 byte.
Character codes, which are key code data, are sent out in the form of ASCII codes, for example, using bytes.

したがって、IDコードが一致したコンピュータにはそ
のキャラクタコードがキー人力されるので、そのコンピ
ュータ以外のコンピュータのキーボードからのキーボー
ドコントロール(キー人力)が可能になる。
Therefore, the character code is manually input to the computer with the matching ID code, so that keyboard control (key input) from the keyboard of a computer other than that computer becomes possible.

〔発明の効果〕〔Effect of the invention〕

以上説明してきたように、この発明によるキーボードコ
ントロール方式は、複数のコンピュータのそれぞれを簡
単な通信インタフェースによって接続して、マスタフラ
グを立てた1台のコンピュータのキーボードから各コン
ピュータへの入力が可能になるので、1人の操作者が複
数台のコンピュータを交互に郵便して各種の作業を行な
う場合の作業効率を向上させることができる。
As explained above, the keyboard control method according to the present invention connects multiple computers through a simple communication interface, and allows input to each computer from the keyboard of a single computer with a master flag set. Therefore, work efficiency can be improved when one operator performs various tasks by mailing multiple computers alternately.

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

第1図はこの発明によるキーボードコントロール方式を
実現するための各コンピュータにおけるキーコードの送
受信の際の処理を示すフロー図、 第2図はこの発明によるキーボードコントロール方式を
適用したコンピュータシステムの外観図、 第3図は第2図に示した各コンピュータの構成を示すブ
ロック図、 第4図はキーコードを各コンピュータへ送呂する際の通
信コードの形式の一例を示す説明図である。 C1〜Cn・・・コンピュータ  1・・・キーボード
2・・・データ処理装置     3・・・デイスプレ
ィ4・・・ハードディスク装置(HDD)5・・・フロ
ッピディスク装置(FDD)6・・・キーボードコント
ロール回路部7・・・CPU    8・・・RAM 
   9・・・ROM10・・・通信インタフェース回
路 11・・デイスプレィコントロール部 12・・・インタフェースケーブル 第1 第2図 第3図 池の=ンビュ 第4 (1バイト目) ヘッダコード (2バイト目) キーコードデータ キャラクタコード
FIG. 1 is a flow diagram showing the process of transmitting and receiving key codes in each computer to realize the keyboard control method according to the present invention; FIG. 2 is an external view of a computer system to which the keyboard control method according to the present invention is applied; FIG. 3 is a block diagram showing the configuration of each computer shown in FIG. 2, and FIG. 4 is an explanatory diagram showing an example of the format of a communication code when transmitting a key code to each computer. C1 to Cn... Computer 1... Keyboard 2... Data processing device 3... Display 4... Hard disk device (HDD) 5... Floppy disk device (FDD) 6... Keyboard control circuit Section 7...CPU 8...RAM
9...ROM 10...Communication interface circuit 11...Display control section 12...Interface cable 1 Figure 2 Figure 3 Ikeno = Nbu No. 4 (1st byte) Header code (2nd byte) Key code data character code

Claims (1)

【特許請求の範囲】[Claims] 1 それぞれキーボードを備えた複数台のコンピュータ
を通信インタフェースによつて接続すると共に、少なく
とも1台のコンピュータにはマスタフラグを立てられる
ようにし、このマスタフラグが立つているコンピュータ
のキーボードによつて、該コンピュータ以外のそれに接
続されている各コンピュータのキーボードコントロール
を行なうことを特徴とするキーボードコントロール方式
1 Connect multiple computers, each equipped with a keyboard, through a communication interface, and set a master flag on at least one computer, and use the keyboard of the computer on which the master flag is set to A keyboard control method characterized by performing keyboard control of each computer connected to the computer other than the computer.
JP2118991A 1990-05-09 1990-05-09 Keyboard control method Expired - Fee Related JP2905552B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2118991A JP2905552B2 (en) 1990-05-09 1990-05-09 Keyboard control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2118991A JP2905552B2 (en) 1990-05-09 1990-05-09 Keyboard control method

Publications (2)

Publication Number Publication Date
JPH0415812A true JPH0415812A (en) 1992-01-21
JP2905552B2 JP2905552B2 (en) 1999-06-14

Family

ID=14750302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2118991A Expired - Fee Related JP2905552B2 (en) 1990-05-09 1990-05-09 Keyboard control method

Country Status (1)

Country Link
JP (1) JP2905552B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6621378B2 (en) 2000-06-15 2003-09-16 Matsushita Electric Industrial Co., Ltd. Filter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6621378B2 (en) 2000-06-15 2003-09-16 Matsushita Electric Industrial Co., Ltd. Filter

Also Published As

Publication number Publication date
JP2905552B2 (en) 1999-06-14

Similar Documents

Publication Publication Date Title
US5485570A (en) Display station controller
JPH0415812A (en) Keyboard control method
JPH0635855A (en) Work station control method for computer system
JP3029812B2 (en) Operation error recovery method and apparatus, and computer-readable recording medium storing a program for causing a computer to execute the method
JPS6134620A (en) Inputting method to computer
JPS62113224A (en) Keyboard data input device
JP2835753B2 (en) Data input method
JPS63156220A (en) Data transfer system
JPH06231077A (en) Data input system
JPH0455947A (en) Processing management method in information processing equipment
JPH06149707A (en) Display terminal system
JPH0675908A (en) On-line real time processing system
JPH10340239A (en) Information exchanging method of client server system
JPS62221720A (en) Control system for terminal local picture
JPH04182823A (en) Parameter setting device
JPH02109101A (en) Monitoring device
JPH07129575A (en) Document processor
JPH06149738A (en) Information terminal device
JPH01220026A (en) 32-bit integer computing element
JPS63211458A (en) Point of sales terminal
JPH11194922A (en) Client/server data conversion system
JPH05174097A (en) Parallel logical simulator
JPH0414124A (en) Keyboard device
JPH06332857A (en) Online processing system
JPH01259413A (en) Decentralized processing system for computer system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees