JP2852664B2 - Peripheral device automatic recognition method - Google Patents

Peripheral device automatic recognition method

Info

Publication number
JP2852664B2
JP2852664B2 JP1186673A JP18667389A JP2852664B2 JP 2852664 B2 JP2852664 B2 JP 2852664B2 JP 1186673 A JP1186673 A JP 1186673A JP 18667389 A JP18667389 A JP 18667389A JP 2852664 B2 JP2852664 B2 JP 2852664B2
Authority
JP
Japan
Prior art keywords
peripheral device
channel
information processing
command
peripheral
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
Application number
JP1186673A
Other languages
Japanese (ja)
Other versions
JPH0350653A (en
Inventor
正行 波田野
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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP1186673A priority Critical patent/JP2852664B2/en
Publication of JPH0350653A publication Critical patent/JPH0350653A/en
Application granted granted Critical
Publication of JP2852664B2 publication Critical patent/JP2852664B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理装置に於て、マンマシンインタフ
ェースとして重要な各種周辺装置、たとえば、文字を入
力するためのキーボード、16〜32ケのボタンから構成さ
れるファクションキーボード、3軸方向の数値データを
入力する為のジョイスティック、2軸方向の移動量を入
力する為のマウス、8〜9ケの数値データを入力する為
のダイアル装置、2次元座標値を入力する為のタブレッ
ト装置などを、情報処理装置に接続する際の装置自動認
識に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to various peripheral devices which are important as a man-machine interface in an information processing apparatus, for example, a keyboard for inputting characters, and 16 to 32 characters. A function keyboard composed of buttons, a joystick for inputting numerical data in three-axis directions, a mouse for inputting the amount of movement in the three-axis direction, a dial device for inputting eight to nine numerical data, The present invention relates to automatic device recognition when a tablet device or the like for inputting two-dimensional coordinate values is connected to an information processing device.

〔発明の概要〕[Summary of the Invention]

本発明は、情報処理装置に於て使用されるいくつかの
性格の異なる周辺装置を接続する際、その接続したチャ
ネルと周辺装置との関連をあらかじめ設定したプロトコ
ルを介し情報処理装置側で自動的に認識するようにした
ものである。
According to the present invention, when connecting some peripheral devices having different characteristics used in the information processing device, the information processing device side automatically connects a connection between the connected channel and the peripheral device through a preset protocol. Is to be recognized.

〔従来の技術〕[Conventional technology]

従来、情報処理装置に於て各種周辺装置を接続する場
合、主に次に示す様な2つの方法が採られてきた。
2. Description of the Related Art Conventionally, when connecting various peripheral devices in an information processing apparatus, the following two methods have been mainly employed.

(1)接続すべきチャネルと周辺装置の関係を固定化し
特定のチャネルに異なった周辺装置が接続できない様に
する。これは接続ミスなど人為的トラブルを避けること
ができるが、接続可能な周辺装置すべてに対応できる個
別化したチャネルが必要である。
(1) The relationship between a channel to be connected and a peripheral device is fixed so that a different peripheral device cannot be connected to a specific channel. This can avoid human troubles such as connection mistakes, but requires an individualized channel that can handle all connectable peripheral devices.

従って、コストアップにつながる。又、システム設計
時に存在した周辺装置は接続できるが、将来サポートさ
れるであろう新規周辺装置は接続できない。
Therefore, it leads to an increase in cost. Also, peripheral devices that existed at the time of system design can be connected, but new peripheral devices that will be supported in the future cannot be connected.

(2)接続すべきチャネルと周辺装置の関係は固定化し
ないが、オペレータが人為的に、接続関係を設定する。
本方式は平均的ユーザが接続するのであろう最大数の汎
用化チャネルを用意しておけば良いという点で(1)の
方式に較べコストは低かった。しかし人為的作業が入る
為に間違いが生じることがあった。
(2) The relationship between the channel to be connected and the peripheral device is not fixed, but the operator artificially sets the connection relationship.
The cost of this method is lower than that of the method (1) in that the maximum number of general-purpose channels to be connected by the average user may be prepared. However, mistakes were sometimes made due to human work.

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

従来、採られてきた2つの方法に示した様に、専用化
したチャネルを接続可能な全周辺装置の為に用意しなけ
ればならないというコスト高、従来サポートされるであ
ろう周辺装置に対する接続可能性、さらに汎用化したチ
ャネルに対する周辺装置の関連性設定の人為的トラブル
という3つの欠陥があった。
As shown in the two conventional methods, a dedicated channel must be provided for all connectable peripheral devices, and the connection to peripheral devices that would be supported conventionally is possible. There are three deficiencies, namely, the difficulty in setting the relevance of the peripheral device to the generalized channel.

本発明の目的はこれらの欠陥を取り除き汎用化したチ
ャネルに非同期通信方式でしかも転送速度が様々である
という条件のもとで接続された各種周辺装置を自動認識
し、人為的トラブルから守り、さらに将来開発されるで
あろう未知の周辺装置に対しても接続可能な余地を残す
方法を提供することである。
An object of the present invention is to eliminate these defects, automatically recognize various peripheral devices connected to a general-purpose channel under the condition of an asynchronous communication system and various transfer speeds, and protect from human trouble, and It is an object of the present invention to provide a method that leaves room for connection to unknown peripheral devices that will be developed in the future.

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

本発明は、これら問題点を解決する為、情報処理装置
と各種周辺装置の間で以下に示す2つのプロトコルを設
け、 (1)非同期通信方式で接続された周辺装置の転送速度
で認識するためのプロトコル (2)非同期通信方式で接続された周辺装置の種類を認
識する為のプロトコル これら2つのプロトコルを、情報処理装置側に搭載さ
れたプログラムから何が接続されているか判らない各チ
ャネルに対し発行することにより、そのチャネルの適正
転送速度を求め、 さらに接続された周辺装置の種類をも自動認識できる
ようにしたものである。
In order to solve these problems, the present invention provides the following two protocols between an information processing device and various peripheral devices, and (1) recognizes a transfer speed of a peripheral device connected by an asynchronous communication method. (2) Protocol for recognizing the types of peripheral devices connected by the asynchronous communication method These two protocols are used for each channel for which it is not known from a program installed in the information processing device that what is connected. By issuing the command, the appropriate transfer rate of the channel is obtained, and the type of the connected peripheral device can be automatically recognized.

〔作用〕[Action]

情報処理装置と各種周辺装置との間はすべて第3図に
示す様に非同期通信方式で接続するという条件のもとで
本発明は有効となる。それぞれ異った転送速度で接続さ
れた周辺装置に対し情報処理装置側からその転送速度を
求める為に前述した(1)のプロトコルを使用する。第
1図にこの転送速度自動認識の為の手順を示す。第1図
に示した手順を情報処理装置の持つすべてのチャネルに
対し繰り返し実行することにより各チャネルの接続有
無、及び転送速度が確定できる。
The present invention is effective under the condition that the information processing device and various peripheral devices are all connected by the asynchronous communication method as shown in FIG. The above-described protocol (1) is used to obtain the transfer speed from the information processing device side to the peripheral devices connected at different transfer speeds. FIG. 1 shows a procedure for automatic transfer rate recognition. By repeatedly executing the procedure shown in FIG. 1 for all the channels of the information processing apparatus, the presence / absence of connection of each channel and the transfer speed can be determined.

転送速度が確定したチャネルに対し、つづいて周辺装
置の種類を確定する為に前述した(2)のプロトコルを
使用する。第2図にこの周辺装置の種類確定の為の手順
を示す。第2図に示した手順を実行することにより、情
報処理装置の各チャネルとそれらに接続された各種周辺
装置が確定できる。
The above-described protocol (2) is used to determine the type of peripheral device for the channel for which the transfer rate has been determined. FIG. 2 shows a procedure for determining the type of the peripheral device. By executing the procedure shown in FIG. 2, each channel of the information processing apparatus and various peripheral devices connected thereto can be determined.

〔実施例〕〔Example〕

次に本発明の実施例について説明する。第3図に実施
例として4つのチャネルを持つグラフィックス表示装置
1と3つの周辺装置、キーボード3、ファンクション・
キーボード4そしてダイアル装置5が接続された場合を
考える。これら周辺装置は、グラフィック表示装置1の
それぞれA、B、Dチャネルに4800、4800、9600BPSで
接続されているものとする。
Next, examples of the present invention will be described. FIG. 3 shows a graphics display device 1 having four channels, three peripheral devices, a keyboard 3, a function
It is assumed that the keyboard 4 and the dial device 5 are connected. These peripheral devices are connected to the A, B, and D channels of the graphic display device 1 at 4800, 4800, and 9600 BPS, respectively.

グラフィックス表示装置1側に搭載されたプログラム
(以後Aプログラムという)は、まず、4つのチャネル
がそれぞれのどれだけの転送速度で周辺装置と接続され
ているかを認識する。この為に第1図に示したフローを
4つのチャネルに対し実行する。話を容易にする為にA
プログラムでは4つのすべてのチャネルに対し初期設定
として、9600BPSが設定されているものとする。まず第
1チャネルに対し特定のコマンド(以後、折返しコマン
ドという)を発行するステップA。チャネルAに接続さ
れた周辺装置は初期設定されている転送速度9600BPSで
は通信が出来ないので折返しコマンドを正常に受信する
ことができない。すると、Aプログラムは一定時間待っ
ても折返しコマンドが返送されてこないので転送速度を
4800BPSに切換える(ステップB〜ステップD)、この
状態で再び折返しコマンドをチャネルAに発行する(ス
テップE)。これにより、チャネルAに接続された周辺
装置は折返しコマンドを正常に受信することがで出来る
為(ステップJ)、折返しコマンドを返送する(ステッ
プK)。Aプログラムは折返しコマンドの返送が確認で
きたので、チャネルAは、4800BPSで何かが接続されて
いることを認識し、チャネルの転送速度を決定する(ス
テップH)。同様の手順によりチャネルBも4800BPSで
何かが接続されていることを認識する。つづいてチャネ
ルCに対して、9600BPSで折返しコマンドを発行する。
一定時間経過後、折返しコマンドの返送が無いので転送
速度を4800BPSに切換えて再試行する。これでも何も返
ってこないのでさらに転送速度を変更する。これに繰返
し、可能性のあるすべての転送速度で試行しても折返し
コマンドが返ってこないので、Aプログラムは、チャネ
ルCには何も接続されていないと判断する(ステップ
F)。つづいてチャネルDに対し同様の試行が成され96
00BPSで周辺装置が接続されていることを認識する。以
上で全4チャネルの接続有無、転送速度が確定できる。
A program (hereinafter referred to as an A program) mounted on the graphics display device 1 first recognizes at what transfer speed each of the four channels is connected to the peripheral device. For this purpose, the flow shown in FIG. 1 is executed for four channels. A to make it easier to talk
In the program, it is assumed that 9600 BPS is set as an initial setting for all four channels. First, a step A of issuing a specific command (hereinafter referred to as a return command) to the first channel. The peripheral device connected to the channel A cannot perform communication at the initially set transfer rate of 9600 BPS, and thus cannot normally receive the return command. Then, the A program does not return the return command even after waiting for a certain period of time,
Switching to 4800 BPS (step B to step D), a return command is again issued to channel A in this state (step E). Accordingly, the peripheral device connected to the channel A can normally receive the return command (step J), and thus returns the return command (step K). Since the program A has confirmed the return of the return command, the channel A recognizes that something is connected at 4800 BPS and determines the transfer rate of the channel (step H). By the same procedure, the channel B also recognizes that something is connected at 4800 BPS. Then, a return command is issued to channel C at 9600 BPS.
After a certain period of time, there is no return command, so switch the transfer speed to 4800 BPS and try again. Since nothing is returned, change the transfer speed further. The program A repeats this process, and returns the return command even if all possible transfer speeds are tried. Therefore, the program A determines that nothing is connected to the channel C (step F). Subsequently, a similar attempt is made for channel D.
00BPS recognizes that a peripheral device is connected. As described above, the connection presence / absence and transfer rate of all four channels can be determined.

次にチャネルA、B、Dに接続された周辺装置の種類
を確定する。この為にAプログラムは第2図に示した手
順を実行する。これはAプログラムからそのチャネルに
対して特定のコマンド(以後、機種問合わせコマンドと
いう)を発行する(ステップM〜ステップN)。これを
受取った各周辺装置はプロトコルとして定められた装置
を一意に定めることができる機種通知コマンドを返送す
る(ステップS〜ステップV)。例えばチャネルAに対
し機種問合わせコマンドを発行すると(ステップN)接
続された周辺装置はキーボードであることを示す機種通
知コマンドをAプログラムに返送する(ステップV)。
同様にチャネルB、チャネルDに機種問合わせコマンド
を発行すると、それぞれファンクションキーボード、ダ
イアル装置である旨の機種通知コマンドを返送してく
る。これにより、全チャネルの接続周辺装置の機種が確
定できる。
Next, the types of the peripheral devices connected to the channels A, B, and D are determined. For this purpose, the program A executes the procedure shown in FIG. In this, a specific command (hereinafter referred to as a model inquiry command) is issued from the A program to the channel (step M to step N). Each peripheral device that has received this returns a model notification command that can uniquely determine the device defined as the protocol (step S to step V). For example, when a model inquiry command is issued to channel A (step N), the connected peripheral device returns a model notification command indicating a keyboard to the A program (step V).
Similarly, when a model inquiry command is issued to channel B and channel D, a model notification command indicating a function keyboard and a dial device is returned. As a result, the types of peripheral devices connected to all channels can be determined.

〔発明の効果〕〔The invention's effect〕

以上説明した様に、本発明によれば、非同期通信方式
を接続される各種周辺装置を自動認識し、オペレータの
介在を無くすことができ、人為的間違いを無くすことが
できる。周辺装置とチャネルを固定化し、全種類の周辺
装置の為に別々に用意していた従来の接続機構を汎用化
することができコストの低減が図れる。さらに将来作ら
れるであろう様々な周辺装置に対し柔軟に対応すること
ができるという利点をあげることができる。
As described above, according to the present invention, it is possible to automatically recognize various peripheral devices connected to the asynchronous communication system, eliminate operator intervention, and eliminate human error. Peripheral devices and channels are fixed, so that conventional connection mechanisms separately prepared for all types of peripheral devices can be generalized and cost can be reduced. Further, there is an advantage that it is possible to flexibly cope with various peripheral devices to be produced in the future.

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

第1図(a)は情報処理装置側の転送速度自動認識手順
のフローチャート、第1図(b)は周辺装置側の転送速
度自動認識手順のフローチャート、 第2図(a)は情報処理装置側の周辺装置の確定手順の
フローチャート、第2図(b)は周辺装置側の周辺装置
の確定手順のフローチャート、 第3図はグラフィックス表示装置と周辺装置の接続側を
示す概略図である。
FIG. 1 (a) is a flowchart of a transfer speed automatic recognition procedure on the information processing apparatus side, FIG. 1 (b) is a flowchart of a transfer rate automatic recognition procedure on the peripheral device side, and FIG. 2 (a) is an information processing apparatus side 2 (b) is a flowchart of a procedure for determining a peripheral device on the peripheral device side, and FIG. 3 is a schematic diagram showing a connection side between the graphics display device and the peripheral device.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 13/14──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 13/14

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】各種周辺装置を任意に接続できるチャネル
を有する情報処理装置において、情報処理装置からチャ
ネルを通して周辺装置に折り返しコマンドを送信し、 前記折り返しコマンドに対する、接続されている周辺装
置からの応答により、前記チャネルへの周辺装置の接続
の有無、及び接続されている周辺装置固有の転送速度を
認識し、 前記情報処理装置から前記周辺装置に対し、前記周辺装
置固有の転送速度にて機種問い合わせコマンドを送信
し、 前記機種問い合わせコマンドに応答して前記周辺装置が
返送する機種通知コマンドから前記周辺装置の機種を認
識する、情報処理装置における周辺装置の自動認識方
法。
1. An information processing device having a channel to which various peripheral devices can be arbitrarily connected, a return command is transmitted from the information processing device to the peripheral device through the channel, and a response from the connected peripheral device to the return command is provided. By recognizing whether or not a peripheral device is connected to the channel and a transfer rate specific to the connected peripheral device, the information processing device inquires the peripheral device about the model at the transfer speed specific to the peripheral device. A method for automatically recognizing a peripheral device in an information processing device, comprising transmitting a command, and recognizing the model of the peripheral device from a model notification command returned by the peripheral device in response to the model inquiry command.
【請求項2】各種周辺装置を任意に接続できるチャネル
を複数有する情報処理装置において、情報処理装置から
各チャネルを通して周辺装置に折り返しコマンドを送信
し、 前記折り返しコマンドに対する、接続されている各周辺
装置からの応答により、前記各チャネルへの周辺装置の
接続の有無、及び接続されている各周辺装置固有の転送
速度を認識し、 前記情報処理装置から前記各周辺装置に対し、前記各周
辺装置固有の転送速度にて機種問い合わせコマンドを送
信し、 前記機種問い合わせコマンドに応答して前記各周辺装置
が返送する機種通知コマンドから前記各周辺装置の機種
を認識する、情報処理装置における周辺装置の自動認識
方法。
2. An information processing apparatus having a plurality of channels to which various peripheral devices can be arbitrarily connected, wherein a return command is transmitted from the information processing apparatus to the peripheral device through each channel, and the connected peripheral device responds to the return command. , The presence or absence of the connection of the peripheral device to each of the channels, and the transfer rate specific to each connected peripheral device are recognized. A model inquiry command is transmitted at a transfer speed of, and in response to the model inquiry command, the peripheral device is recognized from the model notification command returned by the peripheral device. Method.
【請求項3】情報処理装置からチャネルを通して、周辺
装置に、ある転送速度で折り返しコマンドを送信し、 一定時間待っても前記周辺装置から前記情報処理装置へ
の応答が無い場合には、前記転送速度とは異なる転送速
度で前記折り返しコマンドを送信し、 前記周辺装置からの応答がある迄、前記折り返しコマン
ドを、転送速度を変えて送信し、応答があった転送速度
を前記周辺装置固有の転送速度として認識し、 可能性のあるすべての転送速度で前記折り返しコマンド
を送信しても応答が無い場合には、前記チャネルには周
辺装置が接続されていないと認識する請求項1または請
求項2記載の周辺装置の自動認識方法。
3. A return command is transmitted from an information processing device to a peripheral device through a channel at a certain transfer rate. If there is no response from the peripheral device to the information processing device even after waiting for a predetermined time, the transfer is performed. Transmitting the return command at a transfer rate different from the speed, transmitting the return command at a different transfer rate until there is a response from the peripheral device, and transmitting the transfer rate with the response to the peripheral device specific transfer. 3. The communication device according to claim 1, wherein the communication device recognizes that no peripheral device is connected to the channel if there is no response even if the return command is transmitted at all possible transfer speeds. Automatic recognition method of the peripheral device described.
JP1186673A 1989-07-18 1989-07-18 Peripheral device automatic recognition method Expired - Lifetime JP2852664B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1186673A JP2852664B2 (en) 1989-07-18 1989-07-18 Peripheral device automatic recognition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1186673A JP2852664B2 (en) 1989-07-18 1989-07-18 Peripheral device automatic recognition method

Publications (2)

Publication Number Publication Date
JPH0350653A JPH0350653A (en) 1991-03-05
JP2852664B2 true JP2852664B2 (en) 1999-02-03

Family

ID=16192657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1186673A Expired - Lifetime JP2852664B2 (en) 1989-07-18 1989-07-18 Peripheral device automatic recognition method

Country Status (1)

Country Link
JP (1) JP2852664B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3204301B2 (en) 1997-10-14 2001-09-04 日本電気株式会社 Control method between pointing device and computer
JP4198167B2 (en) 2006-09-20 2008-12-17 株式会社ソニー・コンピュータエンタテインメント Adapter device, data transmission system
US7861017B2 (en) * 2007-10-19 2010-12-28 Sony Corporation Consumer electronics control (CEC) line enhancement method for HDMI network that selects a transfer rate from a plurality of transfer rates

Also Published As

Publication number Publication date
JPH0350653A (en) 1991-03-05

Similar Documents

Publication Publication Date Title
EP0527596B1 (en) Generic data exchange
JP3072751B2 (en) Apparatus and method for displaying and processing action bar and pull-down menu on workstation
JPH06309099A (en) Method for selection of character displayed on display by using pointer element
JPS57137957A (en) Terminal connection system
JPH0682319B2 (en) Screen control device and method in computer system
JP2852664B2 (en) Peripheral device automatic recognition method
KR100307616B1 (en) Industrial process monitoring and controlling system
US3737847A (en) Traffic signal control system
JP2809325B2 (en) Multiple computer system and its monitoring operation method
JP2003505799A (en) Method and apparatus for managing pixel transmission
JP3893787B2 (en) Communication method
JPS6046443B2 (en) Data input control method using functional distribution
JP2539517B2 (en) Communication control method
CN111475204A (en) Host interactive operation method, system and intermediate conversion device
JPH01297591A (en) Setting and processing system for system timepiece
JPH0264743A (en) Pseudo on-line simulation system
JPS61190626A (en) Process display device
JP3360690B2 (en) System switching control method for online communication system
JPH04130555A (en) Transfer rate measuring device for multidata bus tester
JPH0319058A (en) Inter-program communication system
JPH022447A (en) Terminal emulator
JPH04295952A (en) Message communication equipment for multi-processor system
JPS62166426A (en) Remote job entry control system
JPH06243081A (en) Process data input/output system
JPH01312658A (en) Computer system