JPH0250503B2 - - Google Patents
Info
- Publication number
- JPH0250503B2 JPH0250503B2 JP54172173A JP17217379A JPH0250503B2 JP H0250503 B2 JPH0250503 B2 JP H0250503B2 JP 54172173 A JP54172173 A JP 54172173A JP 17217379 A JP17217379 A JP 17217379A JP H0250503 B2 JPH0250503 B2 JP H0250503B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- output device
- adapter
- channel
- terminal control
- 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
Links
Description
【発明の詳細な説明】
本発明は端末機器などの入出力装置と入出力装
置アダプタとの結合テーブルを作成して置くこと
により入出力装置を制御するチヤネルを含む端末
制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a terminal control device including a channel for controlling input/output devices by creating a connection table between input/output devices such as terminal devices and input/output device adapters.
従来、複数の入出力装置を制御する構成として
第1図に示すものがあつた。中央処理装置CPU
と接続される端末制御TCはチヤネルCHを含み、
このチヤネルによつて複数の入出力装置IOのう
ち対応する入出力装置IOと接続し制御を行う。
或る入出力装置IOは特定のチヤネルCHと対応し
て動作するものであるから、チヤネルCHの何れ
かが故障し、入出力装置IOは健在のとき、端末
制御部TCに未使用のチヤネルCHがあつても、
前記入出力装置IOが接続換えして直ちに使用す
ることは出来ず、ハードウエア及びソフトウエア
の両者の再調整を行わない限り接続制御が続行出
来ない欠点があつた。 Conventionally, there has been a configuration shown in FIG. 1 as a configuration for controlling a plurality of input/output devices. central processing unit cpu
The terminal control TC connected to includes a channel CH,
This channel connects and controls the corresponding input/output device IO among the plurality of input/output devices IO.
Since a certain input/output device IO operates in correspondence with a specific channel CH, if one of the channels CH fails and the input/output device IO is still intact, an unused channel CH is sent to the terminal control unit TC. Even if there is
There was a drawback that the input/output device IO could not be used immediately after being reconnected, and connection control could not be continued unless both hardware and software were readjusted.
本発明の目的は前述の欠点を改善し、入出力装
置IOと入出力装置アダプタIOAとを結合する結
合テーブルを準備し、アダプタIOAと入出力装置
IOとの接続対応が柔軟にできる端末制御装置を
提供することにある。 The purpose of the present invention is to improve the above-mentioned drawbacks, to prepare a join table that joins an input/output device IO and an input/output device adapter IOA, and to connect the adapter IOA and the input/output device
The objective is to provide a terminal control device that can be flexibly connected to IO.
以下図面に示す本発明の実施例について説明す
る。第2図は本発明の実施例としての端末制御装
置の構成をブロツク的に示した図であり、TMC
はチヤネルで特にターミナル・マルチプレクサ・
チヤネルをいう。またBS―PRは前記チヤネル
TMCを制御するベーシツクプログラム、AP―
PR1,AP―PR2…はアプリケーシヨンプログ
ラム、SVPは端末制御装置全体の管理プログラ
ムをいう。管理プログラムSVPは複数のアプリ
ケーシヨンプログラムAP―PR1,AP―PR2…
の起動を制御すると共に、ゲートを介してベーシ
ツクプログラムBS―PRのアクセスを制御する。
なお、CPU,IOは第1図の場合と同一のものを
示す。第2図において、チヤネルTMCと入出力
装置アダプタIOAとをまとめて端末制御部とい
う。またSVPとTBLなどのメモリ部MEMと
CPUと端末制御部とを併せて(第2図では入出
力装置IO以外の部分をまとめて)端末制御装置
という。更に処理部とは、ここでは、中央処理装
置CPUとベーシツクプログラムBS―PRとを含め
たものをいう。 Embodiments of the present invention shown in the drawings will be described below. FIG. 2 is a block diagram showing the configuration of a terminal control device as an embodiment of the present invention.
is a channel, especially a terminal, multiplexer,
Channel. Also, BS-PR is the channel mentioned above.
Basic program that controls TMC, AP-
PR1, AP-PR2... are application programs, and SVP is a management program for the entire terminal control device. The management program SVP manages multiple application programs AP-PR1, AP-PR2...
In addition to controlling the startup of the basic program BS-PR, it also controls access to the basic program BS-PR via the gate.
Note that the CPU and IO are the same as in Figure 1. In FIG. 2, the channel TMC and the input/output device adapter IOA are collectively referred to as a terminal control unit. Also, the memory part MEM such as SVP and TBL
The CPU and the terminal control unit together (in Figure 2, all parts other than the input/output device IO) are called the terminal control unit. Furthermore, the processing section here includes a central processing unit CPU and a basic program BS-PR.
今、入出力装置IOに電源が投入されると、そ
の信号が入出力装置アダプタ経由でチヤネル
TMCに通知される。チヤネルTMCは入出力装置
アダプタIOAの番号をベーシツクプログラムBS
―PRに通知するから、そのプログラムはテーブ
ルTBLに入出力装置アダプタの番号を書込む。
次いでプログラムBS―PRはセンスコマンドをチ
ヤネルTMCに送出し、接続されている入出力装
置IOの機種コードを入出力装置アダプタIOAに
通知させる。入出力装置アダプタIOAは自己の番
号を付与してベーシツクプログラムBS―PRに通
知することで、結合テーブルTBLを得ている。
即ち、入出力装置IOに電源を投入されたとき、
それと接続されている入出力装置アダプタの番号
が自動的にプログラムBS―PRに送出される構成
としているので、チヤネルTMCを制御するプロ
グラムBS―PRは「入出力装置の機種を検索する
指令(即ちIOセンスコマンド)」を上記入出力装
置アダプタIOAを介して入出力装置装置IO向け
に送出する。当該入出力装置アダプタIOAに接続
されている入出力装置はこのとき機種コードを含
む返送信号をアダプタIOAを介して通知して来
る。プログラムBS―PRはこの返送信号を解析
し、その結果として入出力装置アダプタ番号と入
出力装置機種コードとを対応させる結合テーブル
TBL(その時までデータは何も入つていない)に
ついて書込みを行う。次の入出力装置IOについ
ても電源が投入されると、入出力装置アダプタ
IOAの番号が通知されることから、前述と同様に
IOセンスコマンドの送出とIOについての機種コ
ードの返送を繰り返し動作を行い、電源投入され
た入出力装置についての結合テーブルを完成す
る。 Now, when the input/output device IO is powered on, its signal is channeled via the input/output device adapter.
TMC will be notified. Channel TMC sets the number of input/output device adapter IOA to Basic Program BS
- Since PR is notified, the program writes the number of the input/output device adapter to table TBL.
Next, the program BS-PR sends a sense command to the channel TMC to notify the input/output device adapter IOA of the model code of the connected input/output device IO. The input/output device adapter IOA obtains the connection table TBL by assigning its own number and notifying the basic program BS-PR.
That is, when power is applied to the input/output device IO,
Since the number of the input/output device adapter connected to it is configured to be automatically sent to the program BS-PR, the program BS-PR that controls the channel TMC can be used as a command to search for the model of the input/output device (i.e. IO sense command) is sent to the input/output device IO via the input/output device adapter IOA. At this time, the input/output device connected to the input/output device adapter IOA sends a return signal including the model code via the adapter IOA. The program BS-PR analyzes this return signal and uses the result as a combination table to match the input/output device adapter number and input/output device model code.
Writes to TBL (which contains no data until then). When the power is turned on for the next input/output device IO, the input/output device adapter
Since the IOA number will be notified, the same as above
It repeats the operation of sending an IO sense command and returning the model code for IO, and completes the binding table for the input/output devices that have been powered on.
この結合テーブルTBLは入出力装置について
書込み・読出しなどの具体的動作を行なうときに
も参照する。中央処理装置CPUの側は入出力装
置アダプタIOAの番号のみが判り、そのとき対応
する入出力装置IOについては結合テーブルTBL
を参照して判る。即ちチヤネルTMC動作関係以
外のベーシツクプログラムやアプリケーシヨンプ
ログラムAP―PRはアクセス時に必要の都度結合
テーブルTBLを参照し、所望の入出力装置IOを
正常にアクセスできるか否か判断できる。 This combination table TBL is also referred to when performing specific operations such as writing and reading with respect to the input/output device. On the central processing unit CPU side, only the number of the input/output device adapter IOA is known, and at that time, the corresponding input/output device IO is stored in the combination table TBL.
You can find out by referring to. That is, basic programs and application programs AP-PR other than those related to channel TMC operation can refer to the connection table TBL each time they are accessed and determine whether or not they can normally access the desired input/output device IO.
結合テーブルTBLはクリアされるまで残存し、
それまでは入出力装置と入出力装置アダプタとの
関係がチヤネルTMCを介して残存する。クリア
は例えばチヤネルTMCの初期動作時にリセツト
するためその時行なわれる。 Join table TBL remains until cleared,
Until then, the relationship between the input/output device and the input/output device adapter remains via the channel TMC. Clearing is done, for example, at the time of initial operation of the channel TMC to reset it.
このようにして結合テーブルはシステムの設計
製作時に入出力装置アダプタと接続した入出力装
置について作成されるものではなく、端末側の電
源投入時においてその時点で接続されている入出
力装置アダプタIOA対入出力装置IOの表となる
ことである。したがつて入出力装置アダプタIOA
の何れかに障害が発生した場合、同一チヤネル
TMC内の入出力装置アダプタIOAで空いている
ものがあれば、入出力装置を接続し直して、入出
力装置IOの電源を投入すれば、前述と同様の経
過で新たな結合テーブルの欄が登録され、且つ各
プログラムは、例えば所定の機能を有する機種コ
ードから入出力端末を知りそれを使用して適当な
処理が可能となり、入出力装置IOはチヤネル
TMCを介して通常の動作が可能となるよう制御
される。このとき結合テーブルTBLについて外
部から人為的に操作する必要がなく、所定の順序
で起動すれば書直されるのであつて、システムが
ダウンすることができない。したがつて銀行の各
支店におけるクラスタ制御部と言われる中間制御
装置として使用することに好適である。 In this way, the connection table is not created for the input/output devices connected to the input/output device adapter at the time of designing and manufacturing the system, but is created for the input/output device adapter IOA pairs connected at that time when the terminal side is powered on. It is a table of input/output device IO. Therefore, the input/output device adapter IOA
If a failure occurs in one of the channels, the same channel
If there is a free input/output device adapter IOA in the TMC, reconnect the input/output device and turn on the power to the input/output device IO, and a new join table column will be created in the same way as described above. Each program is registered, and each program can know the input/output terminal from the model code with a predetermined function and use it to perform appropriate processing, and the input/output device IO is connected to the channel.
It is controlled via TMC to enable normal operation. At this time, there is no need to manually manipulate the join table TBL from the outside; the system can be rewritten by starting in a predetermined order, and the system cannot go down. Therefore, it is suitable for use as an intermediate control device called a cluster control section in each branch of a bank.
第1図は従来の端末制御装置とその接続を示す
図、第2図は本発明の実施例の構成を説明する図
である。
CPU…中央処理装置、CH,TMC…チヤネル、
IOA…入出力装置アダプタ、IO…入出力装置、
TBL…結合テーブル、BS―PR…ベーシツクプ
ログラム、AP―PR…アプリケーシヨンプログラ
ム。
FIG. 1 is a diagram showing a conventional terminal control device and its connections, and FIG. 2 is a diagram explaining the configuration of an embodiment of the present invention. CPU...Central processing unit, CH, TMC...Channel,
IOA…I/O device adapter, IO…I/O device,
TBL...Join table, BS-PR...Basic program, AP-PR...Application program.
Claims (1)
ダプタ別番号を具える複数の入出力装置アダプタ
と該入出力装置アダプタをまとめて制御するチヤ
ネルとを内蔵した端末制御部と、処理部と、該入
出力装置と該入出力装置アダプタの接続に応じて
当該入出力装置の機種コードと当該入出力装置ア
ダプタの番号とを対応させて記憶する書替え自在
なテーブルと、を含み、該処理部が該テーブルを
参照して該チヤネルおよび該入出力装置アダプタ
を介して該入出力装置を制御する端末制御装置に
おいて、 入出力装置に電源が投入されると、該入出力装
置が接続された入出力装置アダプタは当該入出力
装置アダプタの番号を上記チヤネルを介して該処
理部に通知し、該処理部は当該入出力装置の機種
を検索する指令を上記チヤネルと当該入出力装置
アダプタを介して当該入出力装置に発信し、該検
索指令の応答信号から当該入出力装置の機種コー
ドを検出して、 該入出力装置の機種コードと該入出力装置アダ
プタ番号との対応を前記テーブルに書き込むよう
に構成したことを特徴とする端末制御装置。[Scope of Claims] 1. A terminal control unit incorporating a plurality of input/output device adapters each having an adapter-specific number to which input/output devices each having a model code are connected, and a channel for collectively controlling the input/output device adapters; , a processing unit, and a rewritable table that stores the model code of the input/output device and the number of the input/output device adapter in correspondence according to the connection of the input/output device and the input/output device adapter. , in a terminal control device in which the processing unit refers to the table and controls the input/output device via the channel and the input/output device adapter, when the input/output device is powered on, the input/output device The connected input/output device adapter notifies the processing unit of the number of the input/output device adapter through the channel, and the processing unit sends a command to search for the model of the input/output device to the channel and the input/output device. sends a message to the input/output device via the adapter, detects the model code of the input/output device from the response signal of the search command, and determines the correspondence between the model code of the input/output device and the input/output device adapter number. A terminal control device characterized in that it is configured to write to a table.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17217379A JPS5697123A (en) | 1979-12-29 | 1979-12-29 | Terminal control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17217379A JPS5697123A (en) | 1979-12-29 | 1979-12-29 | Terminal control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5697123A JPS5697123A (en) | 1981-08-05 |
| JPH0250503B2 true JPH0250503B2 (en) | 1990-11-02 |
Family
ID=15936916
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17217379A Granted JPS5697123A (en) | 1979-12-29 | 1979-12-29 | Terminal control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5697123A (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58105324A (en) * | 1981-12-16 | 1983-06-23 | Matsushita Electric Ind Co Ltd | Connecting device between main body equipment and peripheral equipment |
| JPS6045867A (en) * | 1983-08-22 | 1985-03-12 | Fujitsu Ltd | Information processor |
| JPS60243760A (en) * | 1984-05-18 | 1985-12-03 | Oki Electric Ind Co Ltd | System parameter setting method |
| JPS6188361A (en) * | 1984-10-01 | 1986-05-06 | サンドストランド・データ・コントロール・インコーポレーテツド | Avionic system |
| US4760553A (en) * | 1985-06-03 | 1988-07-26 | International Business Machines Corporation | Terminal system configuration tracing method and apparatus |
| JPS62134725A (en) * | 1985-12-06 | 1987-06-17 | Nec Corp | Recognizing system for device constitution of computer system |
| JPS62171972U (en) * | 1986-04-23 | 1987-10-31 |
-
1979
- 1979-12-29 JP JP17217379A patent/JPS5697123A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5697123A (en) | 1981-08-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0250503B2 (en) | ||
| US6182207B1 (en) | Microcontroller with register system for the indirect accessing of internal memory via auxiliary register | |
| JPS6359178B2 (en) | ||
| US5434979A (en) | Disk drive controller | |
| JPS62226500A (en) | Memory access system | |
| JPH0393942U (en) | ||
| JP2527964B2 (en) | Backup system initial startup control method | |
| KR900007279B1 (en) | Floppy Disk Driver Control in Private Switching System | |
| JPH0827761B2 (en) | Dual-system simultaneous writing method for dual memory | |
| JPS63140357A (en) | Disk input and output control system | |
| JP2551054B2 (en) | Input/output system reconfiguration processing device | |
| JP2682746B2 (en) | Virtual computer system | |
| JPS605369A (en) | Memory control system | |
| JPH03229331A (en) | Information processor | |
| JPS59206924A (en) | Input-output control device | |
| JPS61187031A (en) | Information processor | |
| JPS604498B2 (en) | How to combine an electronic computer and a direct memory access device | |
| JPS6126085B2 (en) | ||
| JPS61100849A (en) | Storage device | |
| JPS5918787B2 (en) | TLB partition method | |
| JPS6121539A (en) | Generation management system of data file | |
| JPH0476142B2 (en) | ||
| JPS5911401A (en) | (n+1)redundancy controller | |
| JPS6079459A (en) | Multi-computer system startup processing device | |
| JPH01177151A (en) | Information processing system |