JPH06103482B2 - I / O controller - Google Patents

I / O controller

Info

Publication number
JPH06103482B2
JPH06103482B2 JP20681286A JP20681286A JPH06103482B2 JP H06103482 B2 JPH06103482 B2 JP H06103482B2 JP 20681286 A JP20681286 A JP 20681286A JP 20681286 A JP20681286 A JP 20681286A JP H06103482 B2 JPH06103482 B2 JP H06103482B2
Authority
JP
Japan
Prior art keywords
data
field
bus
request
external storage
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 - Fee Related
Application number
JP20681286A
Other languages
Japanese (ja)
Other versions
JPS6364153A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP20681286A priority Critical patent/JPH06103482B2/en
Publication of JPS6364153A publication Critical patent/JPS6364153A/en
Publication of JPH06103482B2 publication Critical patent/JPH06103482B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は入出力制御装置に係り、特にチャンネル装置か
ら複数バイトのバスを介してデータを受け、外部記憶装
置へ複数バイトのバスを介してデータを転送する入出力
制御装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output control device, and more particularly, to receiving data from a channel device via a multi-byte bus and sending it to an external storage device via a multi-byte bus. The present invention relates to an input / output controller that transfers data.

[従来の技術] 従来、複数の転送ブロック(以下、フィールドと称す
る)を連続して下位装置に転送する技術としては、ダイ
レクト・メモリ・アクセス制御方式等が知られている。
この種の装置としては、例えば特開昭59-136830号公報
に記載された発明が存在する。
[Prior Art] Conventionally, a direct memory access control method or the like is known as a technology for continuously transferring a plurality of transfer blocks (hereinafter, referred to as fields) to a lower device.
An example of this type of device is the invention described in JP-A-59-136830.

しかし、上記従来技術では、複数フィールドを複数の並
列バスを用いて転送する場合、各フィールド境界を認識
して、データ転送する技術については考慮されていな
い。
However, in the above-mentioned conventional technique, when transferring a plurality of fields using a plurality of parallel buses, a technique of recognizing each field boundary and transferring data is not considered.

[発明が解決しようとする問題点] 一般に、上位のチャンネル装置から出力されるデータを
下位の外部記憶装置に転送する入出力制御装置が、上記
データの受信と送信を複数本の並列バスを介して行なう
場合の問題点について、第4図を用いて説明する。
[Problems to be Solved by the Invention] Generally, an input / output control device that transfers data output from an upper channel device to a lower external storage device receives and transmits the data via a plurality of parallel buses. Problems in the case of performing the above will be described with reference to FIG.

第4図において、入出力制御装置はチャンネル装置から
バスB1,B2を介してデータを受け、バスB3,B4を介して外
部記憶装置へデータを送出するものである。第4図にお
いては、チャンネル装置の上位装置から送出された1バ
イト単位のデータD0〜D9が、チャンネル装置からバスB
1,B2を介して2バイト並列に転送される。このとき、1
フィールドが5バイトのデータで構成され、データD4と
D5の間にフィールド境界が存在すると仮定すると、チャ
ンネル装置はバスB1,B2を介して、図示する様にデータD
0〜D9を送出する。データD4とデータD5は、フィールド
境界であり、図示する様にタイミングがずれた状態でバ
スB1,B2に送出される場合もあり、又同一タイミングで
送出される場合もある。これは、入出力制御装置がチャ
ンネル装置に送出するデータ転送に関する要求の内容に
よって決定されるものである。
In FIG. 4, the input / output control device receives data from the channel device via the buses B1 and B2 and sends the data to the external storage device via the buses B3 and B4. In FIG. 4, 1-byte unit data D0 to D9 sent from the higher-level device of the channel device is transferred from the channel device to the bus B.
2 bytes are transferred in parallel via 1 and B2. At this time, 1
The field consists of 5 bytes of data, and data D4 and
Assuming that there is a field boundary between D5, the channel device sends data D through bus B1 and B2 as shown.
Send 0 to D9. The data D4 and the data D5 are field boundaries, and may be transmitted to the buses B1 and B2 in a state where the timings are deviated as shown in the figure, or may be transmitted at the same timing. This is determined by the content of the data transfer request sent by the input / output control device to the channel device.

入出力制御装置は、バスB1,B2上のデータを受け、外部
記憶装置に接続されたバスB3,B4へデータD0〜D9を送出
するものであるが、そのデータ転送順序は第4図に示す
順序である必要がある。即ち、データD0〜D9に関して
は、受信したのと同じ順次でバスB3,B4を介して転送で
きるが、データD5〜D9に関しては、バスB1,B2の送信順
序と入れ替えて転送する必要がある。これは外部記憶装
置におけるデータ処理の必要上のためである。即ち、上
記した様にデータの入れ替えを行なわないと、外部記憶
装置のデバイスバス上のデータが、図示する様にD0〜D9
の形にならず、データの記憶にとって障害となるからで
ある。
The input / output control device receives the data on the buses B1 and B2 and sends the data D0 to D9 to the buses B3 and B4 connected to the external storage device. The data transfer order is shown in FIG. Must be in order. That is, the data D0 to D9 can be transferred through the buses B3 and B4 in the same order as they are received, but the data D5 to D9 must be transferred in the transmission order of the buses B1 and B2. This is because of the necessity of data processing in the external storage device. That is, if the data is not exchanged as described above, the data on the device bus of the external storage device will be D0 to D9 as shown in the figure.
This is because it does not take the form of, and becomes an obstacle to data storage.

この様なデータの入れ替えをチャンネル装置で行なう
と、チャンネル装置が外部記憶装置に特有のフィールド
を意識する必要があり、かつチャンネル制御が複雑化
し、チャンネル装置の標準化が行なえないという問題点
があった。すなわち、通常、チャンネル装置は、例えば
第4図のバスB1,B2に示すようなフィールド単位のデー
タD0〜D4,D5〜D9を送出する場合、チャンネル装置内の
2つのバッファうち、第1のバッファにデータD0〜D4を
セットし、第2のバッファにデータD5〜D9をセットす
る。このデータセットは、入出力制御装置からデータの
転送要求が来る前に行われ、さらに要求が到着してから
一定時間経過後に次のデータを第1、第2のバッファに
セットする構造になっている。したがって、仮に第4図
に示すバスB3,B4の形式でデータD5〜D9を送出するに
は、第1のバッファからデータD0〜D4を送出した後、第
1のバッファと第2のバッファの間でデータを入れ替え
る動作が必要になる。これは、チャンネル装置が入出力
制御装置に接続される外部記憶装置のフィールド構造を
意識することであり、外部記憶装置はその機種毎にフィ
ールド構造を異にするため、チャンネル装置の制御を複
雑化し、その標準化を困難にするものである。そのた
め、チャンネル装置が入出力制御装置からフィールド単
位でのデータ転送の要求を受けたとき、第4図のバスB
1,B2に示す形式でフィールド単位のデータD0〜D4,D5〜D
9を入出力制御装置に送出することは、日本電信電話公
社の定めた仕様書「JS形情報処理装置複合システム入出
力インターフェイス共通仕様書」に記載されている事項
である。また、従来技術では、外部記憶装置が入出力制
御装置に部分的にデータの送出を要求することがあり、
外部記憶装置の制御が複雑化する問題点があった。
When such a data exchange is performed by the channel device, the channel device needs to be aware of the field peculiar to the external storage device, and the channel control becomes complicated, so that there is a problem that the channel device cannot be standardized. . That is, normally, when the channel device sends data D0 to D4, D5 to D9 in field units as shown on buses B1 and B2 in FIG. 4, for example, the first buffer among the two buffers in the channel device is used. The data D0 to D4 are set in the buffer and the data D5 to D9 are set in the second buffer. This data set is performed before a data transfer request is received from the input / output control device, and the next data is set in the first and second buffers after a lapse of a certain time after the request arrives. There is. Therefore, if the data D5 to D9 are to be transmitted in the format of the buses B3 and B4 shown in FIG. 4, the data D0 to D4 is transmitted from the first buffer, and then the data between the first buffer and the second buffer is transmitted. The operation of exchanging data is required. This is because the channel device is aware of the field structure of the external storage device connected to the input / output control device. Since the external storage device has a different field structure for each model, the control of the channel device is complicated. , That makes standardization difficult. Therefore, when the channel device receives a data transfer request in field units from the input / output control device, the bus B in FIG.
Data in field units in the format shown in 1 and B2 D0 to D4, D5 to D
Sending 9 to the input / output control device is a matter described in the specification “JS type information processing device composite system input / output interface common specification” specified by Nippon Telegraph and Telephone Public Corporation. Further, in the conventional technology, the external storage device may partially request the input / output control device to send data,
There is a problem that the control of the external storage device becomes complicated.

本発明は、複数のバスを介して転送される一連のデータ
中にフィールド境界が存在する場合、その境界でデータ
を分割してデータの整列を行ない、外部記憶装置に転送
することが可能な入出力制御装置を提供することを目的
としている。
According to the present invention, when a field boundary exists in a series of data transferred via a plurality of buses, the data can be divided at the boundary to align the data and transferred to an external storage device. An object is to provide an output control device.

[問題点を解決するための手段] 本発明の入出力制御装置は、チャンネル装置から送信さ
れるフィールド単位のデータを複数のバスを介して受信
し、受信したフィールド単位のデータを複数のバスを介
して外部記憶装置に転送するものであり、特に一つのフ
ィールドに含まれるデータ数を設定することによりフィ
ールドの設定を行い、チャンネル装置に対して上記設定
されたフィールド単位のデータ送信を順次要求する第1
の手段と、上記要求に応じてチャンネル装置から送信さ
れる上記設定に従ったフィールド単位のデータを順次受
信し、受信したフィールド内のデータ順序が外部記憶装
置におけるデータ処理に適合していない場合、外部記憶
装置におけるデータ処理に適合する順序に該フィールド
内のデータを整列させる第2の手段を設けたことを特徴
としている。
[Means for Solving Problems] An input / output control device of the present invention receives field-unit data transmitted from a channel device via a plurality of buses, and receives received field-unit data via a plurality of buses. The data is transferred to an external storage device via a field, and in particular, the field is set by setting the number of data included in one field, and the channel device is sequentially requested to transmit data in the field unit set above. First
In the case where the data of the field unit according to the setting transmitted from the channel device in response to the request is sequentially received, and the data order in the received field is not suitable for the data processing in the external storage device, A second means for arranging the data in the field in an order suitable for data processing in the external storage device is provided.

[作用] 本発明の入出力制御装置によれば、第1の手段によっ
て、フィールド内のデータ数が設定され、フィールド単
位のデータがチャンネル装置に対して順次要求される。
そして、第2の手段は、受信したフィールド内のデータ
順序が外部記憶装置におけるデータ処理に適合していな
い場合、外部記憶装置におけるデータ処理に適合する順
序に該フィールド内のデータを整列させる。これによっ
て、チャンネル装置は、単にメモリ上のデータ順序にし
たがって複数のバス上にデータを送出すれば良い。ま
た、これによってチャンネル装置のデータ転送制御を簡
略化できる。また、チャンネル装置が、フィールドの境
界を意識するという入出力制御装置特有の制御を取り込
む必要がないため、チャンネル装置が行なう制御を外部
記憶装置の種類にかかわらず標準化可能である。一方、
第2の手段が、外部記憶装置へ転送するデータを制御装
置内で整列することにより、外部記憶装置に対してもフ
ィールド境界を意識させることがなく、制御を簡略化す
ることができる。
[Operation] According to the input / output control device of the present invention, the number of data in the field is set by the first means, and data in field units are sequentially requested to the channel device.
Then, the second means arranges the data in the field in an order suitable for the data processing in the external storage device when the received data order in the field is not compatible with the data processing in the external storage device. This allows the channel device to simply send data out on a plurality of buses according to the data order in the memory. Further, this can simplify the data transfer control of the channel device. Further, since the channel device does not need to take in the control peculiar to the input / output control device that is aware of the field boundaries, the control performed by the channel device can be standardized regardless of the type of the external storage device. on the other hand,
Since the second means arranges the data to be transferred to the external storage device in the control device, the control can be simplified without making the external storage device aware of the field boundary.

[実施例] 以下、添付の図面に示す実施例により、更に詳細に本発
明について説明する。
EXAMPLES Hereinafter, the present invention will be described in more detail with reference to the examples shown in the accompanying drawings.

第1図は本発明をディスク制御装置に適用した場合の一
実施例を示すブロック図である。図示するディスク制御
装置は、図示しないチャンネル装置から1バイト幅のバ
スアウト6a,6bを介してデータを受信し、1バイト幅の
デバイスバス26a,26bを介してデータをディスク装置に
転送するものである。
FIG. 1 is a block diagram showing an embodiment in which the present invention is applied to a disk control device. The disk controller shown in the figure receives data from a channel device (not shown) via the 1-byte wide bus outs 6a, 6b and transfers the data to the disk device via the 1-byte wide device buses 26a, 26b. is there.

第1図において、プロセッサ17は、データ転送の開始前
に、1フィールド分のデータ転送数を要求数カウンタ15
にセットする。その後、プロセッサ17は、要求開始指示
信号28を“1"とすることにより、要求制御部16に対して
データ転送要求の開始を指示する。これによって、要求
制御部16は、一定間隔でデータ転送要求信号1を送出す
る。要求数カウンタ15は、データ転送要求信号1が出力
される毎に、要求バス表示信号2a,2bに応じて減算され
る。即ち、要求バス表示信号2a,2bが共に“1"の場合は
2だけ減算され、要求バス表示信号2a,2bのうち一方が
“1"の場合には1だけ減算される。この減算は、次の様
に行なわれる。要求バス表示信号2a,2bが共に“1"の場
合は、アンドゲート11の出力値は“1"となり、要求数カ
ウンタ15に“−2"のデクリメント指示を出す。要求バス
表示信号2a又は2bのどちらか一方しか“1"でない場合
は、アンドゲート11の出力値は“0"となり、“−1"のデ
クリメント指示を出す。通常、ディスク制御装置は、2
バイトのデータを並列に転送するため、要求バス表示信
号2a,2bは共に“1"で、要求数カウンタ15は−2づつ減
算される。しかし、1フィールドを構成するデータ転送
数が奇数の場合には、要求数カウンタ15の値が最終的に
“1"となる。デコーダ13はこの状態を検出して、オアゲ
ート10に“1"を出力する。これによって、要求バス表示
信号2bが“0"となる。このことは、後述する様に、バス
アウト6aのみへのデータ送出要求を意味し、バスアウト
6bにはデータ送出要求を行なわないことになる。
In FIG. 1, the processor 17 determines the data transfer number for one field before the data transfer is started by the request number counter 15
Set to. After that, the processor 17 instructs the request control unit 16 to start a data transfer request by setting the request start instruction signal 28 to “1”. As a result, the request control unit 16 sends the data transfer request signal 1 at regular intervals. The request number counter 15 is decremented according to the request bus display signals 2a and 2b each time the data transfer request signal 1 is output. That is, when both the request bus display signals 2a and 2b are "1", 2 is subtracted, and when one of the request bus display signals 2a and 2b is "1", 1 is subtracted. This subtraction is performed as follows. When both the request bus display signals 2a and 2b are "1", the output value of the AND gate 11 becomes "1" and the request number counter 15 is instructed to decrement "-2". When only one of the request bus display signals 2a and 2b is "1", the output value of the AND gate 11 becomes "0" and the decrement instruction of "-1" is issued. Normally, the disk controller is 2
Since the bytes of data are transferred in parallel, the request bus display signals 2a and 2b are both "1" and the request counter 15 is decremented by -2. However, when the number of data transfers forming one field is odd, the value of the request number counter 15 finally becomes "1". The decoder 13 detects this state and outputs "1" to the OR gate 10. As a result, the request bus display signal 2b becomes "0". This means a data transmission request only to the bus out 6a, as will be described later.
No data transmission request is sent to 6b.

第1図において、データ転送要求信号1が出力される
と、図示しないチャンネル装置からデータ転送応答信号
4と共にバスアウト6a,6bにデータが出力される。この
ときのバスアウト6a,6b上の各データの有効性を示すの
がバス有効表示信号5a,5bであり、第2図に示す様なタ
イミングでチャンネル装置から出力される。即ち、チャ
ンネル装置は、要求バス表示信号2aに対して、バスアウ
ト6a上にデータを送出すると共に、バス有効表示信号5a
を“1"とする、同様にチャンネル装置は要求バス表示信
号2bに対してバスアウト6b上にデータを送出すると共
に、バス有効表示信号5bを“1"とする。そこで、前記し
た様に、要求バス表示信号2aが“1"で要求バス表示信号
2bが“0"の場合には、バスアウト6aのみへのデータ送出
要求となる。
In FIG. 1, when the data transfer request signal 1 is output, data is output from the channel device (not shown) to the bus outs 6a and 6b together with the data transfer response signal 4. At this time, the validity of each data on the bus outs 6a and 6b is indicated by the bus validity display signals 5a and 5b, which are output from the channel device at the timings shown in FIG. That is, the channel device sends data on the bus out 6a in response to the request bus display signal 2a, and at the same time, outputs the bus valid display signal 5a.
Similarly, the channel device sends data to the bus out 6b in response to the request bus display signal 2b and sets the bus valid display signal 5b to "1". Therefore, as described above, the requested bus display signal 2a is "1" and the requested bus display signal 2a
When 2b is "0", the data transmission request is sent only to the bus out 6a.

また、バス有効表示信号5a,5bとバスアウト6a,6b上のデ
ータの切替わりタイミングは、第2図に示す様に等し
く、共にデータ転送応答信号4の立ち上がりのタイミン
グでサンプリングすることができる。
Further, the switching timing of the data on the bus valid display signals 5a, 5b and the data on the bus outs 6a, 6b are equal as shown in FIG. 2, and both can be sampled at the rising timing of the data transfer response signal 4.

ディスク装置上にフィールドを連続して書込むコマンド
において、前フィールドの最終転送が、バスアウト6aだ
けを用いて行なわれた場合、すなわち、要求数カウンタ
15の値が“1"になり、要求バス表示信号2aを“1",2bを
“0"として転送要求を行なった場合、チャンネル装置は
次フィールドの最初のデータをバスアウト6b上に出力す
る。このとき、プロセッサ17は、前フィールド処理時
に、要求数カウンタ15にセットした値に基づいて(偶
数、奇数)、次フィールドの開始データがバスアウト6b
上に存在することを判断し、次フィールドの転送要求の
開始に先立って、制御信号30を“1"とする。制御信号30
を“1"とすることにより、次フィールドの最初のデータ
転送は、以下に説明する様に、バスアウト6bだけを使用
して行なわれると共に、データバッファ24aおよび24bへ
書き込む際に、データ内容を入れ替え、ディスク装置へ
書き込むデータの順序を整える。
In the command to continuously write a field on the disk device, when the last transfer of the previous field is performed using only the bus out 6a, that is, the request number counter
When the value of 15 becomes "1" and the transfer request is made by setting the request bus display signal 2a to "1" and 2b to "0", the channel device outputs the first data of the next field onto the bus out 6b. . At this time, the processor 17 determines that the start data of the next field is the bus out 6b based on the value set in the request number counter 15 (even number or odd number) during the previous field processing.
The control signal 30 is determined to be present above, and the control signal 30 is set to "1" before the start of the transfer request of the next field. Control signal 30
Is set to "1", the first data transfer of the next field is performed using only the bus out 6b as described below, and the data contents are written when writing to the data buffers 24a and 24b. Change the order of the data to be exchanged and written to the disk device.

即ち、次フィールドの転送開始時に、フリップフロップ
14は、その出力値が“1"となる様にイニシャライズされ
る。制御信号30が“1"である為、アンドゲート12の出力
は“1"となり、要求バス表示信号2aは“0"となる。ここ
で、データ転送要求信号1が送出されると、データ転送
要求信号1の立下がり時にフリップフロップ14はトリガ
され、その値を“0"とする。したがって、2発目以降の
データ転送要求信号1に同期して出力されるアンドゲー
ト12の出力値は“0"となり、要求バス表示信号2aは“1"
となる。また、最初にデータ転送要求信号1が出力され
るタイミングにおいて、前記した様に要求バス表示信号
2bが“1"となり、チャンネル装置に対して、バスアウト
6bへのデータ送出を要求する。最初の要求に対するチャ
ンネル装置からの応答は、バスアウト6bへのデータ送出
とバス有効表示信号5aを“0",5bを“1"とすることによ
ってなされる。チャンネル装置から出力されたバス有効
表示信号5bとバスアウト6b上のデータは、それぞれデー
タ転送応答信号4の出力タイミングで、バッファ18b,19
bに格納される。このとき、制御信号30が“1"の為、バ
ス有効表示信号5bはセレクタ20aによってバッファ制御
回路22aに入力され、バスアウト6b上のデータはセレク
タ21aによってデータバッファ24aに入力される。この状
態において、バッファ制御回路22aは、データバッファ2
4aへデータを1バイト書込むと共に、書込みアドレスポ
インタ23aの値を次の書込みアドレスに更新する為に+
1する。その後、チャンネル装置からバスアウト6a,6b
を介して転送されるデータは、セレクタ21a,21bによっ
て全で切り替えられる。即ち、セレクタ21aはバッファ1
9b内のデータをデータバッファ24aに切替出力し、セレ
クタ21bはバッファ19a内のデータをデータバッファ24b
に切替出力し、それぞれのデータがアドレスポインタ23
a,23bの示すアドレスに格納される。
That is, at the start of transfer of the next field, the flip-flop
14 is initialized so that its output value becomes "1". Since the control signal 30 is "1", the output of the AND gate 12 becomes "1" and the request bus display signal 2a becomes "0". Here, when the data transfer request signal 1 is transmitted, the flip-flop 14 is triggered when the data transfer request signal 1 falls, and the value is set to "0". Therefore, the output value of the AND gate 12 that is output in synchronization with the data transfer request signal 1 for the second and subsequent times is "0", and the request bus display signal 2a is "1".
Becomes In addition, at the timing when the data transfer request signal 1 is first output, as described above, the request bus display signal
2b becomes "1", bus out to channel device
Request to send data to 6b. The response from the channel device to the first request is made by sending data to the bus out 6b and setting the bus valid indication signal 5a to "0" and 5b to "1". The data on the bus valid indication signal 5b and the data on the bus out 6b output from the channel device are respectively output to the buffers 18b and 19 at the output timing of the data transfer response signal 4.
Stored in b. At this time, since the control signal 30 is "1", the bus valid display signal 5b is input to the buffer control circuit 22a by the selector 20a, and the data on the bus out 6b is input to the data buffer 24a by the selector 21a. In this state, the buffer control circuit 22a causes the data buffer 2
To write 1 byte of data to 4a and update the value of the write address pointer 23a to the next write address +
Do 1 Then, from the channel device, bus out 6a, 6b
All the data transferred via the selectors 21a and 21b are switched. That is, the selector 21a is the buffer 1
The data in 9b is switched and output to the data buffer 24a, and the selector 21b outputs the data in the buffer 19a to the data buffer 24b.
Output to the address pointer 23
It is stored at the address indicated by a and 23b.

上記した動作の結果、データバッファ24a,24b内のデー
タ順序は、第3図に示す様に、あたかも、バスアウト6a
上に次フィールドの最初のデータD5が転送され、バスア
ウト6b上に次フィールドの2番目のデータD6が転送され
たのと同じ様になる。この様に格納されたデータは、バ
ッファ出力制御部29の指令に応じて、アドレスポインタ
25によって、第3図に示す様にデバイスバス26a,26bへ
整列した順序で送出される。
As a result of the above-mentioned operation, the data order in the data buffers 24a and 24b is as if the bus out 6a as shown in FIG.
This is the same as when the first data D5 of the next field is transferred above and the second data D6 of the next field is transferred onto bus out 6b. The data stored in this way is stored in the address pointer according to the command from the buffer output control unit 29.
By 25, the data is sent to the device buses 26a and 26b in the order arranged as shown in FIG.

本実施例によれば、ディスク装置へ転送するデータの順
序は、制御装置内のハードウェアによって自動的に整列
される。したがって、チャンネル装置では、データの順
序は全く意識する必要はなく、よって、チャンネル装置
における制御内容を簡略化できる。
According to this embodiment, the order of data transferred to the disk device is automatically arranged by the hardware in the control device. Therefore, in the channel device, it is not necessary to pay attention to the order of the data, so that the control content in the channel device can be simplified.

尚、上記した実施例においては、1フィールド5バイト
のデータを2本のバスを介して転送する場合を例にして
説明したが、本発明はこれに限定されるものではなく、
1フィールドのデータ数及び並列バスの数は任意で良
い。
In the above embodiment, the case where data of 5 bytes in one field is transferred via two buses has been described as an example, but the present invention is not limited to this.
The number of data in one field and the number of parallel buses may be arbitrary.

[発明の効果] 以上の説明から明らかな様に、本発明によれば、複数の
バスを介して転送されるフィールド単位のデータが外部
記憶装置のデータ処理に適合していない場合、外部記憶
装置のデータ処理に適合する様にデータの整列を行な
い、外部記憶装置に転送可能な入出力制御装置を提供す
ることができる。そのため、チヤンネル装置が、装置特
有の制御を行なうことをさけることが可能になり、チャ
ンネル装置の制御内容を装置によらず標準化することが
できる。また、外部記憶装置へ転送するデータを、常に
上位バイトのバスから順番に整列させることにより、従
来行なわれていた外部記憶装置が、バス内に部分的にデ
ータを送出することを要求する制御内容を省略でき、外
部記憶装置の制御内容を簡略化する効果がある。
[Effects of the Invention] As is apparent from the above description, according to the present invention, when the data in units of fields transferred via a plurality of buses is not suitable for the data processing of the external storage device, the external storage device is used. It is possible to provide an input / output control device capable of arranging data so as to be compatible with the data processing described above and transferring the data to an external storage device. Therefore, the channel device can avoid performing the control peculiar to the device, and the control content of the channel device can be standardized regardless of the device. In addition, by arranging the data to be transferred to the external storage device in order from the bus of the upper byte, the external storage device, which has been conventionally used, requests to partially send the data to the bus. Can be omitted, and the control contents of the external storage device can be simplified.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図に示す実施例の動作を示すタイムチャート、第3
図は第1図に示す実施例において実行されるデータ整列
の一例を示す説明図、第4図は本発明で行なわれるデー
タ整列の具体例を示す説明図である。 1…データ転送要求信号、2a,2b…要求バス表示信号、
4…データ転送応答信号、5a,5b…バス有効表示信号、6
a,6b…バスアウト、15…要求数カウンタ、16…要求制御
部、22a,22b…バッファ入力制御部、23a,23b…書込アド
レスポインタ、24a,24b…データバッファ、25…読出ア
ドレスポインタ、29…バッファ出力制御部。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a time chart showing the operation of the embodiment shown in FIG. 1, and FIG.
FIG. 4 is an explanatory diagram showing an example of data alignment executed in the embodiment shown in FIG. 1, and FIG. 4 is an explanatory diagram showing a concrete example of data alignment performed in the present invention. 1 ... Data transfer request signal, 2a, 2b ... Request bus display signal,
4 ... Data transfer response signal, 5a, 5b ... Bus valid display signal, 6
a, 6b ... Bus out, 15 ... Request counter, 16 ... Request control unit, 22a, 22b ... Buffer input control unit, 23a, 23b ... Write address pointer, 24a, 24b ... Data buffer, 25 ... Read address pointer, 29 ... Buffer output control section.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】チャンネル装置から送信されるフィールド
単位のデータを複数のバスを介して受信し、受信したフ
ィールド単位のデータを複数のバスを介して外部記憶装
置に転送する入出力制御装置において、 一つのフィールドに含まれるデータ数を設定することに
よりフィールドの設定を行い、チャンネル装置に対して
上記設定されたフィールド単位のデータ送信を順次要求
する第1の手段と、 上記要求に応じてチャンネル装置から送信される上記設
定に従ったフィールド単位のデータを順次受信し、受信
したフィールド内のデータ順序が外部記憶装置における
データ処理に適合していない場合、外部記憶装置におけ
るデータ処理に適合する順序に該フィールド内のデータ
を整列させる第2の手段と を設けたことを特徴とする入出力制御装置。
1. An input / output control device for receiving field-unit data transmitted from a channel device via a plurality of buses and transferring the received field-unit data to an external storage device via a plurality of buses, Field setting is performed by setting the number of data included in one field, and first means for sequentially requesting the channel device to perform data transmission in the set field unit, and the channel device according to the request. If the data order in the received field is sequentially received according to the above settings and the data order in the received field is not compatible with the data processing in the external storage device, the order is adjusted to the data processing in the external storage device. A second means for aligning data in the field. .
JP20681286A 1986-09-04 1986-09-04 I / O controller Expired - Fee Related JPH06103482B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20681286A JPH06103482B2 (en) 1986-09-04 1986-09-04 I / O controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20681286A JPH06103482B2 (en) 1986-09-04 1986-09-04 I / O controller

Publications (2)

Publication Number Publication Date
JPS6364153A JPS6364153A (en) 1988-03-22
JPH06103482B2 true JPH06103482B2 (en) 1994-12-14

Family

ID=16529496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20681286A Expired - Fee Related JPH06103482B2 (en) 1986-09-04 1986-09-04 I / O controller

Country Status (1)

Country Link
JP (1) JPH06103482B2 (en)

Also Published As

Publication number Publication date
JPS6364153A (en) 1988-03-22

Similar Documents

Publication Publication Date Title
US5692137A (en) Master oriented bus bridge
JPH10143466A (en) Bus communication system
US5404137A (en) High speed transition signalling communication system
US20020089940A1 (en) Duplexing apparatus and method in large scale system
JPH06103482B2 (en) I / O controller
JP3178474B2 (en) Communication control device
JPH05265948A (en) Four-line type synchronizing serial communication system
JP2573790B2 (en) Transfer control device
JPS63201810A (en) Time system for information processing system
JPS6284358A (en) Input-output device controlling system
JPH0610798B2 (en) High speed data transmission equipment
JPH02211571A (en) Information processor
JPS61262870A (en) Bus controlling system
JPH02307151A (en) Processor system
JP2001034588A (en) Data processor
JPS60136853A (en) Data transfer system
JPH0573473A (en) Industrial computer system
JPS62232057A (en) Pseudo dma system
JPH01118950A (en) Bus control system
JP2001117891A (en) Inter-processor data transfer control system
JPS61267852A (en) Data bus conversion system
JPS59225648A (en) Data transmission-reception system
JPS63204456A (en) Bus control device
JPH09251438A (en) Memory control circuit for interface
JPH04156652A (en) Bus control system

Legal Events

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