JPH06124258A - Data transfer control system - Google Patents

Data transfer control system

Info

Publication number
JPH06124258A
JPH06124258A JP4271824A JP27182492A JPH06124258A JP H06124258 A JPH06124258 A JP H06124258A JP 4271824 A JP4271824 A JP 4271824A JP 27182492 A JP27182492 A JP 27182492A JP H06124258 A JPH06124258 A JP H06124258A
Authority
JP
Japan
Prior art keywords
data
optical communication
communication control
control information
optical
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.)
Pending
Application number
JP4271824A
Other languages
Japanese (ja)
Inventor
Masaya Minefuji
正也 峯藤
Moriji Sugimoto
守二 杉本
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 JP4271824A priority Critical patent/JPH06124258A/en
Publication of JPH06124258A publication Critical patent/JPH06124258A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To ensure a data transferring performance corresponding to an optical fiber cable connection by reducing the overhead time of an optical communication control part at the time of connecting a host CPU through the optical fiber cable to an outside storage controller. CONSTITUTION:At the time of a data writing, optical communication control information and writing data received from an optical channel 2 are separated and stored respectively in an optical communication information buffer 25 and a data buffer 26. Afterwards, only the writing data in the data buffer 26 are transferred to an outside storage control part 9(10). At the time of a data reading, the optical communication control information in the optical communication control information buffer 25 is combined with the reading data in the data buffer 26 transferred from the outside storage control part 9(10), and transmitted to the optical channel 2. The optical communication control information is not remade, and not transmitted to the outside storage control part, so that the load of a control part 7 can be reduced.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、計算機システムにおけ
る上位CPUと外部記憶制御装置の間のデータ転送制御
方式に係り、特に、上位CPUと外部記憶制御装置間を
光ファイバケーブルにより接続する場合のデータ転送制
御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer control system between a host CPU and an external storage controller in a computer system, and particularly when connecting the host CPU and the external storage controller by an optical fiber cable. The present invention relates to a data transfer control method.

【0002】[0002]

【従来の技術】従来、上位CPUに接続される磁気テー
プ装置,半導体記憶装置,磁気または光デイスク装置な
どを有するサブシステム等の外部記憶システムにおいて
は、例えば特開昭59−91564号公報に示されてい
るように、上位CPUないしチャネル装置からの書き込
みデータを、電気ケーブルを使ってディスク制御装置等
の外部記憶制御装置で受信し、これをデイスク装置等の
外部記憶装置に書き込む。また、デイスク装置等の外部
記憶装置から読み出したデータを、外部記憶制御装置及
び電気ケーブルを介して上位CPUへ送信するようにな
っている。一方、小型軽量で高速伝送が可能な光ファイ
バケーブルを用いたデータ伝送方式は、一般の通信シス
テムにおいて確立しているが、これを上記のようなディ
スクサブシステム等のサブシステムに適用したものは、
現在ようやく実現されつつある段階である。
2. Description of the Related Art Conventionally, an external storage system such as a magnetic tape device, a semiconductor memory device, a subsystem having a magnetic or optical disk device, etc. connected to a host CPU is disclosed in, for example, Japanese Patent Laid-Open No. 59-91564. As described above, the write data from the host CPU or the channel device is received by the external storage control device such as the disk control device using the electric cable, and is written in the external storage device such as the disk device. Further, the data read from the external storage device such as the disk device is transmitted to the host CPU via the external storage control device and the electric cable. On the other hand, a data transmission method using an optical fiber cable that is small and lightweight and capable of high-speed transmission has been established in general communication systems, but there is no application of this to subsystems such as the above-mentioned disk subsystems. ,
It is at the stage of being finally realized.

【0003】[0003]

【発明が解決しようとする課題】ところで、上記のディ
スクサブシステムに光ファイバケーブル接続方式を適用
しようとする場合、光チャネル装置ないし光ファイバケ
ーブルと、従来の電気ケーブル形式のディスク制御装置
との間に、光通信用の信号及び電気ケーブル用の信号を
相互に変換する光通信制御部のようなインタフェースを
追加挿入することが考えられるが、この追加挿入によ
り、光通信制御部の動作時間分のオーバヘッドがシステ
ムで増加することになる。このため、システム全体のオ
ーバヘッドを少なくするには、光通信制御部の負担を軽
くし動作時間を短かくする必要がある。また、追加され
る光通信制御部の規模もできるだけ小型で小資源のもの
とすることが望まれる。しかし、単純に考えられるよう
に、上位光チャネルからの光信号(制御情報及び中味の
データ等で構成されている)中のすべての制御信号をそ
っくり作り直しデータに付け替えて下位のディスク制御
部(外部記憶制御装置)に送り、また、下位のディスク
制御装置からの電気信号(制御情報及び中味のデータ)
中のすべての制御信号をそっくり作り直しデータに付け
替えて上位光チャネルに送るようにするのでは、光通信
制御部の負担が大きくなってシステムのオーバヘッドが
増大する。
By the way, when an optical fiber cable connection system is applied to the above-mentioned disk subsystem, the optical channel device or the optical fiber cable and the conventional electric cable type disk control device are connected to each other. In addition, it is conceivable to additionally insert an interface such as an optical communication control unit for mutually converting a signal for optical communication and a signal for an electric cable. Overhead will increase in the system. Therefore, in order to reduce the overhead of the entire system, it is necessary to reduce the load on the optical communication control unit and shorten the operation time. Further, it is desirable that the scale of the added optical communication control unit is as small as possible and has small resources. However, as can be simply considered, all the control signals in the optical signal (composed of control information and contents data, etc.) from the upper optical channel are completely regenerated and replaced with the lower disk control unit (external Storage controller), and electric signals (control information and contents data) from the lower disk controller.
If all the control signals inside are recreated and replaced with data and sent to the upper optical channel, the load on the optical communication control unit increases and the system overhead increases.

【0004】そこで、(1)上位光チャネルからの光通
信制御情報は、そのまま上位光チャネルへの送信時に使
えるので、作り直しはしない、(2)上位光チャネルか
らの光通信制御情報の多くは、下位の外部記憶制御装置
に必要のないもので、下位の外部記憶制御装置に送らな
い、という観点で、下位装置に送らない光通信制御情報
と下位装置に送る中味のデータを分離して、光通信制御
部で格納保管するようにすれば、上述のオーバヘッドが
少なくなると考えられる。
Therefore, (1) the optical communication control information from the upper optical channel can be used as it is at the time of transmission to the upper optical channel, so that it is not recreated. (2) Most of the optical communication control information from the upper optical channel is Optical communication control information that is not sent to the lower-level device and data that is not sent to the lower-level device is separated from the data that is not necessary for the lower-level external storage control device and is not sent to the lower-level external storage control device. If the communication control unit stores and stores the data, the above-mentioned overhead is considered to be reduced.

【0005】従って、本発明の目的は、上記問題点を解
決し、上位CPUに接続されるデイスクサブシステム等
の外部記憶システムにおいて、上位CPUと外部記憶制
御装置間の接続ケーブルを従来の電気ケーブルから光フ
ァイバケーブルに置き換えるにあたり不可欠な光通信制
御部を追加する際に、その制御部自身のオーバヘッド時
間を削減し、光ファイバーケーブル接続に見合うデータ
転送性能を確保することができるデータ転送制御方式を
提供することにある。
Therefore, an object of the present invention is to solve the above problems and, in an external storage system such as a disk subsystem connected to an upper CPU, use a conventional electric cable as a connection cable between the upper CPU and the external storage controller. Provides a data transfer control method that can reduce the overhead time of the control unit itself when adding an optical communication control unit that is indispensable for replacing the optical fiber cable with To do.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明のデータ転送制御方式は、上位CPUに接続
される光チャネルと、外部記憶装置と、上位CPUとの
間で前記外部記憶装置にデータを書き込みまたは前記外
部記憶装置よりデータを読み出す制御をする外部記憶制
御部と、前記光チャネルと前記外部記憶制御部との間に
光ファイバケーブルを介して接続された光通信制御部と
を具備し、前記光通信制御部は、前記光チャネルとの間
でのみ転送される光通信制御情報を格納する光通信制御
情報用バッファと、前記光チャネルと前記外部記憶制御
部との間で転送されるデータを一時的に格納するデータ
用バッファとを有し、データ書き込み時に、前記光チャ
ネルから転送される信号を光通信制御情報とデータとに
分離してそれぞれ前記光通信制御情報用バッファ及び前
記データ用バッファに格納した後、格納したデータのみ
を前記外部記憶制御部に転送し、データ読み出し時に、
読み出されたデータを前記外部記憶制御部から前記デー
タ用バッファに格納した後、格納したデータを前記光通
信制御情報用バッファに格納された光通信制御情報と結
合して上位光チャネルに転送するように構成したもので
ある。
In order to achieve the above object, the data transfer control method of the present invention is such that the external storage device is provided between the optical channel connected to the upper CPU, the external storage device, and the upper CPU. An external storage control unit for controlling writing of data to or reading of data from the external storage device; and an optical communication control unit connected between the optical channel and the external storage control unit via an optical fiber cable. The optical communication control unit comprises an optical communication control information buffer for storing optical communication control information transferred only between the optical channel and the optical channel, and transfers between the optical channel and the external storage control unit. A data buffer for temporarily storing the data to be stored, and when the data is written, the signal transferred from the optical channel is separated into optical communication control information and data, After storing the optical communication control information buffer and the data buffer, and transfers only the stored data to the external storage control unit, when reading data,
After storing the read data from the external storage control unit in the data buffer, the stored data is combined with the optical communication control information stored in the optical communication control information buffer and transferred to the upper optical channel. It is configured as follows.

【0007】例えば、前記光通信制御部において、前記
CPUから送られてくる光通信制御情報中に、データ転
送完了後に光通信制御部から上位CPUに送信する応答
情報と同じ形式である特定の制御情報を予め含ませて、
この特定の制御情報を特定バッファ(光通信制御情報用
バッファの一部等)に分離格納しておき、上位CPUへ
の応答時に、前記特定の制御情報を取り出して送信する
ように構成することができる。
For example, in the optical communication control unit, in the optical communication control information sent from the CPU, a specific control having the same format as the response information transmitted from the optical communication control unit to the upper CPU after the data transfer is completed. Including information in advance,
The specific control information may be separately stored in a specific buffer (a part of the optical communication control information buffer or the like), and the specific control information may be extracted and transmitted at the time of response to the upper CPU. it can.

【0008】[0008]

【作用】上記構成に基づく作用を説明する。The operation based on the above configuration will be described.

【0009】本発明によれば、光チャネルないし光ファ
イバケーブルと外部記憶制御部との間に光通信制御部を
追加し、この光通信制御部に光通信制御情報用バッファ
とデータ用バッファとを設け、データ書き込み時に、光
チャネルから転送される光通信制御情報とデータとを分
離してそれぞれ光通信制御情報用バッファとデータ用バ
ッファに格納し、外部記憶制御部には、この分離して格
納したデータのみを転送するようにし、一方、データ読
み出し時には、読み出されたデータを外部記憶制御部か
らデータ用バッファに格納した後、このデータを光通信
制御用バッファに格納された光通信制御情報と結合して
上位光チャネルに転送される。従って、光チャネルから
光通信制御部に送られた光通信制御情報は、書き替え、
作り替えることなく、そのまま、光通信制御部から光チ
ャネルへの送信の際に用いることができ、また、光通信
制御部から外部記憶制御へはデータのみが送られ、光通
信制御情報は送られない。これによって、光通信制御部
における光信号/電気信号変換処理のための負担が軽く
なるので、システムのオーバヘッドを削減し、光ファイ
バ接続によるデータ転送性能の向上を図ることができ
る。
According to the present invention, an optical communication control section is added between the optical channel or the optical fiber cable and the external storage control section, and the optical communication control section is provided with the optical communication control information buffer and the data buffer. When the data is written, the optical communication control information and the data transferred from the optical channel are separated and stored in the optical communication control information buffer and the data buffer, respectively, and are separately stored in the external storage control unit. Only the data that has been transferred is transferred, while at the time of reading the data, the read data is stored in the data buffer from the external storage control unit, and then this data is stored in the optical communication control buffer. And is transferred to the upper optical channel. Therefore, the optical communication control information sent from the optical channel to the optical communication control unit is rewritten,
It can be used as it is without any modification when transmitting from the optical communication control unit to the optical channel, and only the data is sent from the optical communication control unit to the external storage control, and the optical communication control information is not sent. . As a result, the load of the optical signal / electrical signal conversion processing on the optical communication control unit is lightened, so that the system overhead can be reduced and the data transfer performance by the optical fiber connection can be improved.

【0010】また、バッファ部を、上位光チャネルと光
通信制御部間のみで使用される光通信制御情報の格納の
ための光通信制御情報用バッファと、光通信制御部と下
位の外部記憶制御部との間でも転送されるデータの格納
のためのデータ用バッファとに分けて構成したので、こ
れらのバッファに対するアクセスも容易である。
The buffer unit is an optical communication control information buffer for storing optical communication control information used only between the upper optical channel and the optical communication control unit, and the optical communication control unit and lower external storage control. Since it is configured separately from the data buffer for storing data to be transferred to and from the unit, it is easy to access these buffers.

【0011】[0011]

【実施例】以下に、本発明の実施例を図面により説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1に、本発明の実施例が適用されるデイ
スク装置サブシステムの構成図を示す。
FIG. 1 is a block diagram of a disk device subsystem to which an embodiment of the present invention is applied.

【0013】図1においては、上位CPU1は、光チャ
ネル2、3を下位接続部として持ち、光チャネル2、3
は、光ファイバーケーブル4、5により、デイスク制御
装置6に内蔵される光通信制御部7、8に接続される。
光通信制御部7、8は、線11、12により、外部記憶
制御部A9、外部記憶制御部B10に接続され、更に、
外部記憶制御部A9、外部記憶制御部B10は、線1
3、14により、デイスク装置15に接続される。ここ
で、外部記憶制御部A9及びB10のそれぞれは、電線
ケーブル式のチャネル装置と電線で接続される従来の一
般的なディスク制御装置と同様なものである。一方、光
通信制御部7及び8は、本実施例の特徴として、このよ
うな一般的なディスク制御装置を光チャネル装置ないし
光ファイバケーブルに適応させるために新しく追加した
部分である。
In FIG. 1, the upper CPU 1 has optical channels 2 and 3 as lower connection portions, and the optical channels 2 and 3 are connected.
Are connected to optical communication control units 7 and 8 built in the disk control device 6 by optical fiber cables 4 and 5.
The optical communication control units 7 and 8 are connected to the external storage control unit A9 and the external storage control unit B10 by lines 11 and 12, and further,
The external storage control unit A9 and the external storage control unit B10 are connected to the line 1
It is connected to the disk device 15 by 3, 14. Here, each of the external storage control units A9 and B10 is similar to a conventional general disk control device that is connected to a wire cable type channel device by an electric wire. On the other hand, the optical communication control units 7 and 8 are a newly added portion for adapting such a general disk control device to an optical channel device or an optical fiber cable as a feature of this embodiment.

【0014】図2に、本発明の実施例を示す光通信制御
部7または8のハードウエア構成図を示す。
FIG. 2 is a hardware block diagram of the optical communication controller 7 or 8 showing an embodiment of the present invention.

【0015】図2において、光ファイバーケーブル4ー
1は、パラレルーシリアル変換部21を通じて送信用バ
ッファ23に接続され、また、光ファイバーケーブル4
ー2は、シリアルーパラレル変換部22を通じて受信用
バッファ24に接続される。送信用バッファ23は、線
27により、受信用バッファ24は、線28により、光
通信制御情報用バッファ25及びデータ用バッファ26
に接続される。データ用バッファ26は、線29、30
により、外部記憶制御部A9、外部記憶制御部B10に
接続される。31は、光通信制御情報バッファ25及び
データ用バッファ26の情報データの転送を行なうハー
ドウエア(転送処理回路)、32はこれらの情報データ
を管理するマイクロプログラムである。ここで、光通信
制御情報用バッファ25及びデータ用バッファ26は、
本実施例の特に重要な部分である。
In FIG. 2, the optical fiber cable 4-1 is connected to the transmission buffer 23 through the parallel-serial conversion section 21, and the optical fiber cable 4 is also connected.
-2 is connected to the reception buffer 24 through the serial-parallel converter 22. The transmission buffer 23 is connected by a line 27, the reception buffer 24 is connected by a line 28, and the optical communication control information buffer 25 and the data buffer 26 are connected.
Connected to. The data buffer 26 has lines 29 and 30.
Thus, the external storage control unit A9 and the external storage control unit B10 are connected. Reference numeral 31 is hardware (transfer processing circuit) for transferring the information data in the optical communication control information buffer 25 and data buffer 26, and 32 is a microprogram for managing these information data. Here, the optical communication control information buffer 25 and the data buffer 26 are
This is a particularly important part of this embodiment.

【0016】図3に、本発明の実施例の制御フローを示
す。
FIG. 3 shows a control flow of the embodiment of the present invention.

【0017】以下、図3のフローチャートに従い、図
1、図2を参照しながら、制御の流れを説明する。
The control flow will be described below with reference to the flowchart of FIG. 3 and with reference to FIGS. 1 and 2.

【0018】最初に、データ転送の書き込み制御につい
て説明する。上位CPU1より光チャネル2及び光ファ
イバーケーブル4ー2を通して光通信制御部7へ光通信
制御情報及び書き込みデータが転送される。光通信制御
部7においては、光ファイバーケーブル4ー2及びシリ
アルーパラレル変換部22を通過した情報が一旦受信用
バッファ24に格納され、その後、ハードウエア(転送
処理回路)31により、光通信制御情報は、光通信制御
情報用バッファ25に、書き込みデータは、データ用バ
ッファ26に、相互に分離して格納される。(なお、従
来の制御装置に対する制御情報は、データ用バッファ2
6のデータに含まれる)。その時点で、マイクロプログ
ラム32により、光通信制御情報受信が検知される(ス
テップ301)。
First, write control for data transfer will be described. Optical communication control information and write data are transferred from the upper CPU 1 to the optical communication controller 7 through the optical channel 2 and the optical fiber cable 4-2. In the optical communication control unit 7, the information passed through the optical fiber cable 4-2 and the serial-parallel conversion unit 22 is temporarily stored in the reception buffer 24, and thereafter, the hardware (transfer processing circuit) 31 causes the optical communication control information. Are stored in the optical communication control information buffer 25, and the write data are stored in the data buffer 26 separately from each other. (Note that the control information for the conventional control device is the data buffer 2
6 data included). At that time, reception of the optical communication control information is detected by the microprogram 32 (step 301).

【0019】マイクロプログラム32では、光通信制御
情報より、データ転送方向が書き込みであることを認識
し(ステップ302)、線29を通して、外部記憶制御
部A9,外部記憶制御部B10のうち、使用可能な外部
記憶制御部を選択する(ステップ303、304)。続
いて、書き込みデータ転送起動を行い(ステップ30
5)、データ用バッファ26からデータ線29を介して
ディスク装置15に対する書込データ転送を行ない、デ
ータ転送完了を待つ(ステップ306)。マイクロプロ
グラム32は、このデータ転送完了を検知すると、光通
信制御情報用バッファ25に終了情報を設定し(ステッ
プ307)、このデータ転送完了を上位装置に通知(報
告)するため、光チャネル2への光通信制御情報(終了
情報)転送起動を行う(ステップ308)。その情報転
送完了を待ち(ステップ309)、完了すると、再び、
光通信制御情報受信を待つ(ステップ301)。
The microprogram 32 recognizes from the optical communication control information that the data transfer direction is writing (step 302), and the line 29 can be used to activate the external storage control unit A9 or the external storage control unit B10. The external storage control unit is selected (steps 303 and 304). Then, write data transfer is activated (step 30
5) The write data is transferred from the data buffer 26 to the disk device 15 via the data line 29, and the completion of the data transfer is awaited (step 306). When the microprogram 32 detects the completion of the data transfer, it sets the end information in the optical communication control information buffer 25 (step 307) and notifies (reports) the completion of the data transfer to the host device. The optical communication control information (end information) transfer activation is started (step 308). Wait for the information transfer to be completed (step 309), and when completed, again
Wait for reception of optical communication control information (step 301).

【0020】光チャネル2への光通信制御情報転送起動
を受けたハードウエア31は、光通信制御情報用バッフ
ァ25に格納されている光通信制御情報を、一旦送信用
バッファ23に送り、続いて、パラレルーシリアル変換
部21及び光ファイバーケーブル4ー1を通じて光チャ
ネル2へ転送し、上位CPUに転送完了を通知(報告、
応答)する。
The hardware 31 having received the optical communication control information transfer activation to the optical channel 2, sends the optical communication control information stored in the optical communication control information buffer 25 to the transmission buffer 23, and then, , The parallel-serial converter 21 and the optical fiber cable 4-1 to transfer to the optical channel 2 and notify the upper CPU of the transfer completion (report,
respond.

【0021】なお、上位CPUから光通信制御部に送ら
れてくる光通信制御情報中に、光通信制御部から上位C
PUに送る応答情報(終了情報)と同じ形式である特定
の制御情報を予め含ませて、これを特定のバッファに分
離して格納し、上位CPUへの応答時に、この特定の制
御情報を取り出して上位装置に送信するようにすれば、
処理の効率化を行ない、データ転送を高速化できる。
In the optical communication control information sent from the upper CPU to the optical communication control unit, the upper communication C from the optical communication control unit is included.
Specific control information in the same format as the response information (end information) to be sent to the PU is included in advance, and this is separated and stored in a specific buffer, and this specific control information is taken out when responding to the upper CPU. And send it to the host device,
The efficiency of processing can be improved and data transfer can be speeded up.

【0022】また、上位光チャネルから転送されて来る
信号が可変長レコード(各レコード単位が、順に固定長
の制御情報,可変長のデータ,CRC符号及び転送終了
コードから成る)の場合、可変長部分であるデータの最
後を認識するために、転送終了コードを検出し、その位
置より遡って書き込みデータの最後を決定し、それによ
って光チャネルからの信号を光通信制御情報と書き込み
データに分離するようにしてもよい。
If the signal transferred from the upper optical channel is a variable-length record (each record unit is composed of fixed-length control information, variable-length data, CRC code and transfer end code in order), variable-length record In order to recognize the end of the data which is the part, the transfer end code is detected and the end of the write data is determined by going back from that position, thereby separating the signal from the optical channel into the optical communication control information and the write data. You may do it.

【0023】次に、データ転送の読み出し制御について
説明する。上位CPU1より光チャネル2及び光ファイ
バーケーブル4ー2を通して光通信制御部7へ光通信制
御情報が転送される。光通信制御部7においては、光フ
ァイバーケーブル4ー2及びシリアルーパラレル変換部
22を通過した光通信制御情報が一旦受信用バッファ2
4に格納され、その後、ハードウエア31により、光通
信制御情報用バッファ25に格納される。その時点で、
マイクロプログラム32により、光通信制御情報受信が
検知される(ステップ301)。
Next, read control of data transfer will be described. Optical communication control information is transferred from the upper CPU 1 to the optical communication control unit 7 through the optical channel 2 and the optical fiber cable 4-2. In the optical communication control unit 7, the optical communication control information that has passed through the optical fiber cable 4-2 and the serial-parallel conversion unit 22 is temporarily received by the reception buffer 2.
4 and then stored in the optical communication control information buffer 25 by the hardware 31. at the time,
The microprogram 32 detects the reception of the optical communication control information (step 301).

【0024】マイクロプログラム32では、光通信制御
情報より、データ転送方向が読み出しであることを認識
し(ステップ302)、線29を通して、外部記憶制御
部A9,外部記憶制御部B10のうち、使用可能な外部
記憶制御部を選択する(ステップ310、311)。続
いて、読み出しデータ転送起動を行い(ステップ31
2)、ディスク装置15から、選択された外部記憶制御
部及び線30を通ってデータ用バッファ26に読出しデ
ータ転送を行ない、データ転送完了を待つ(ステップ3
13)。マイクロプログラム32は、データ転送完了を
検知すると、光通信制御情報バッファ25に終了情報を
設定し(ステップ314)、光チャネル2への情報転送
起動を行う(ステップ315)。その情報転送完了を待
ち(ステップ316)、完了すると、再び、光通信制御
情報受信を待つ(ステップ301)。
The microprogram 32 recognizes from the optical communication control information that the data transfer direction is read (step 302), and the line 29 can be used to activate the external storage control unit A9 or the external storage control unit B10. The external storage control unit is selected (steps 310 and 311). Then, the read data transfer is activated (step 31
2) The read data is transferred from the disk device 15 to the data buffer 26 through the selected external storage control unit and the line 30 and waits for the completion of the data transfer (step 3).
13). When detecting the completion of data transfer, the microprogram 32 sets end information in the optical communication control information buffer 25 (step 314) and activates information transfer to the optical channel 2 (step 315). The completion of the information transfer is waited (step 316), and when it is completed, the optical communication control information reception is again waited (step 301).

【0025】光チャネル2への情報転送起動を受けたハ
ードウエア31は、光通信制御情報用バッファ25内の
光通信制御情報及びデータ用バッファ26内のデータを
結合して送信用バッファ23に格納し、続いて、パラレ
ルーシリアル変換部21及び光ファイバーケーブル4ー
1を通じて光チャネル2へ転送する。
Upon receiving the information transfer activation to the optical channel 2, the hardware 31 combines the optical communication control information in the optical communication control information buffer 25 and the data in the data buffer 26 and stores them in the transmission buffer 23. Then, the data is transferred to the optical channel 2 through the parallel / serial conversion unit 21 and the optical fiber cable 4-1.

【0026】前述したように、本発明の実施例によれ
ば、データ書き込み時に、ハードウエアにより、上位C
PUから受信した光通信制御情報と書き込みデータを受
信と同時に分離してそれぞれ光通信制御情報用バッファ
とデータ用バッファに別々に格納し、下位の外部記憶制
御部へは、この光通信制御情報は転送することなく、デ
ータ用バッファに格納されたデータのみを転送し、一
方、データ読み出し時には、外部記憶制御部から光通信
制御部へは読み出しデータのみが送られて一旦データ用
バッファに格納された後、光通信制御情報とこの読み出
しデータを結合すると同時に上位CPUへ送信するもの
であり、また、光通信制御情報の、データに対する付け
替え、書き替えは行なわない。また、マイクロプログラ
ムにより、光チャネル・光通信制御部間データ転送、及
び、光通信制御部・外部記憶制御部間データ転送の受け
渡しの制御を行う。以上により、光通信制御部における
負担を軽くし、データ転送性能の向上を図ることができ
る。
As described above, according to the embodiment of the present invention, when writing data, the upper C
The optical communication control information received from the PU and the write data are separated at the same time as they are received and separately stored in the optical communication control information buffer and the data buffer, respectively, and the optical communication control information is transferred to the lower external storage control unit. Only the data stored in the data buffer is transferred without being transferred. On the other hand, when reading the data, only the read data is sent from the external storage control unit to the optical communication control unit and temporarily stored in the data buffer. After that, the optical communication control information and this read data are combined and transmitted to the upper CPU at the same time, and the optical communication control information is not replaced or rewritten with respect to the data. Further, the microprogram controls the transfer of data between the optical channel and the optical communication control unit and the transfer of data between the optical communication control unit and the external storage control unit. As described above, it is possible to reduce the burden on the optical communication control unit and improve the data transfer performance.

【0027】[0027]

【発明の効果】以上詳しく述べたように、本発明によれ
ば、光チャネルと外部記憶制御部との間に光通信制御部
を設け、この中に光通信制御用バッファとデータ用バッ
ファとを設け、データ書き込み時に上位光チャネルから
転送される光通信制御情報とデータとを両バッファに分
離して格納し、外部記憶制御部にはこの分離格納したデ
ータのみを転送し、一方、データ読み出し時には、読み
出されたデータを外部記憶制御部からデータ用バッファ
に格納した後、このデータを光通信制御情報と結合して
上位光チャネルに転送するようにしたので、光通信制御
情報を書き替えたりデータに付け替えたりする必要な
く、そのまま光通信制御部から光チャネルへの送信に用
いることができる。この結果、光通信制御部自体の作業
負担が軽くなり、外部記憶サブシステムのオーバヘッド
が削減できる効果が得られる。
As described in detail above, according to the present invention, an optical communication control unit is provided between the optical channel and the external storage control unit, and an optical communication control buffer and a data buffer are provided therein. When the data is written, the optical communication control information and the data transferred from the upper optical channel are separately stored in both buffers, and only the separately stored data is transferred to the external storage control section, while the data is read out. After storing the read data from the external storage control unit in the data buffer and transferring this data to the upper optical channel by combining this data with the optical communication control information, the optical communication control information can be rewritten. The data can be directly used for transmission from the optical communication control unit to the optical channel without the need to replace it with data. As a result, the work load of the optical communication control unit itself is reduced, and the overhead of the external storage subsystem can be reduced.

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

【図1】本発明の実施例が適用される光通信制御部を内
蔵するデイスク装置サブシステムのハードウエア構成図
である。
FIG. 1 is a hardware configuration diagram of a disk device subsystem including an optical communication control unit to which an embodiment of the present invention is applied.

【図2】本発明の実施例が適用される光通信制御部のハ
ードウエア構成図である。
FIG. 2 is a hardware configuration diagram of an optical communication control unit to which an embodiment of the present invention is applied.

【図3】本発明の実施例が適用される光通信制御部のマ
イクロプログラムの制御のフローチャートである。
FIG. 3 is a flowchart of control of a microprogram of an optical communication control unit to which an embodiment of the present invention is applied.

【符号の説明】[Explanation of symbols]

1 上位CPU 2,3 光チャネル 4、5 光ファイバーケーブル 4ー1,4ー2 光ファイバーケーブル 6 デイスク制御装置 7,8 光通信制御部 9 外部記憶制御部A 10 外部記憶制御部B 11,12,13,14 線(電気ケーブル) 15 デイスク装置(外部記憶装置) 21 パラレルーシリアル変換部 22 シリアルーパラレル変換部 23 送信用バッファ 24 受信用バッファ 25 光通信制御情報用バッファ 26 データ用バッファ 27,28,29,30 線 1 Upper CPU 2, 3 Optical channel 4, 5 Optical fiber cable 4-1 and 4-2 Optical fiber cable 6 Disk control device 7, 8 Optical communication control unit 9 External storage control unit A 10 External storage control unit B 11, 12, 13 , 14 wires (electrical cable) 15 Disk device (external storage device) 21 Parallel-serial conversion unit 22 Serial-parallel conversion unit 23 Transmission buffer 24 Reception buffer 25 Optical communication control information buffer 26 Data buffer 27, 28, 29,30 lines

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 上位CPUに接続される光チャネルと、
外部記憶装置と、上位CPUとの間で前記外部記憶装置
にデータを書き込みまたは前記外部記憶装置よりデータ
を読み出す制御をする外部記憶制御部と、前記光チャネ
ルと前記外部記憶制御部との間に光ファイバーケーブル
を介して接続された光通信制御部とを具備し、前記光通
信制御部は、前記光チャネルとの間でのみ転送される光
通信制御情報を格納する光通信制御情報用バッファと、
前記光チャネルと前記外部記憶制御部との間で転送され
るデータを一時的に格納するデータ用バッファとを有
し、データ書き込み時に、前記光チャネルから転送され
る信号を光通信制御情報とデータとに分離してそれぞれ
前記光通信制御情報用バッファ及び前記データ用バッフ
ァに格納した後、格納したデータのみを前記外部記憶制
御部に転送し、データ読み出し時に、読み出されたデー
タを前記外部記憶制御部から前記データ用バッファに格
納した後、格納したデータを前記光通信制御情報用バッ
ファに格納された光通信制御情報と結合して上位光チャ
ネルに転送するように構成したことを特徴とするデータ
転送制御方式。
1. An optical channel connected to a host CPU,
Between the external storage device and the host CPU, an external storage control unit that controls writing data to the external storage device or reading data from the external storage device, and between the optical channel and the external storage control unit. An optical communication control unit connected via an optical fiber cable, wherein the optical communication control unit stores an optical communication control information buffer that stores optical communication control information transferred only between the optical channels,
A data buffer for temporarily storing data transferred between the optical channel and the external storage control unit, and a signal transferred from the optical channel is written to the optical communication control information and data when writing data. And store them in the optical communication control information buffer and the data buffer, respectively, and then transfer only the stored data to the external storage control unit, and at the time of data reading, the read data are stored in the external storage. After being stored in the data buffer from the control unit, the stored data is combined with the optical communication control information stored in the optical communication control information buffer and transferred to the upper optical channel. Data transfer control method.
【請求項2】 データ書込時に、前記光チャネルから転
送される信号を光通信制御情報と書き込みデータに分離
する際に、可変長部分であるデータの最後を認識するた
めに、書き込みデータの次に位置する転送終了コードを
検出し、その位置より遡って書き込みデータの最後を決
定する手段を備えたことを特徴とする請求項1記載のデ
ータ転送制御方式。
2. When data is written, when the signal transferred from the optical channel is separated into optical communication control information and write data, the end of the data which is a variable length portion is recognized to recognize the end of the write data. 2. The data transfer control system according to claim 1, further comprising means for detecting a transfer end code located at, and determining the end of the write data by tracing back from the position.
【請求項3】 前記光通信制御部において、前記上位C
PUから送られてくる光通信制御情報中に、データ転送
完了後に光通信制御部から上位CPUに送信する応答情
報と同じ形式である特定の制御情報を予め含ませて、こ
の特定の制御情報を特定バッファに分離格納し、上位C
PUへの応答時に、前記特定の制御情報を取り出して送
信するようにしたことを特徴とする請求項1または2記
載のデータ転送制御方式。
3. The upper C in the optical communication control unit
In the optical communication control information sent from the PU, specific control information in the same format as the response information transmitted from the optical communication control unit to the upper CPU after the data transfer is completed is included in advance, and this specific control information is stored. Separately stored in a specific buffer, upper C
The data transfer control system according to claim 1 or 2, wherein the specific control information is extracted and transmitted at the time of responding to the PU.
JP4271824A 1992-10-09 1992-10-09 Data transfer control system Pending JPH06124258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4271824A JPH06124258A (en) 1992-10-09 1992-10-09 Data transfer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4271824A JPH06124258A (en) 1992-10-09 1992-10-09 Data transfer control system

Publications (1)

Publication Number Publication Date
JPH06124258A true JPH06124258A (en) 1994-05-06

Family

ID=17505366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4271824A Pending JPH06124258A (en) 1992-10-09 1992-10-09 Data transfer control system

Country Status (1)

Country Link
JP (1) JPH06124258A (en)

Similar Documents

Publication Publication Date Title
US6292878B1 (en) Data recorder and method of access to data recorder
JP3247076B2 (en) SCSI-IDE bus conversion adapter
US7146494B2 (en) High speed data transfer between mainframe storage systems
US5023829A (en) Data transfer system having a channel adapter with varying data transfer lengths
CN114296646A (en) Caching method, device, server and storage medium based on IO service
CN102426560A (en) Controlled device
JPH06124258A (en) Data transfer control system
JPH1185413A (en) Recorder
JP3499938B2 (en) I / O device sharing system between multiple systems with different protocols
JPS6213705B2 (en)
JPS63263553A (en) Remote channel system
JP3216659B2 (en) Storage device and information processing system using the same
KR0166876B1 (en) Device and method for converting interface of a cd-rom drive
JPH07334281A (en) Scsi connector
US20080109583A1 (en) High performance serial bus data recorder
JPH064422A (en) Input/output controller
KR940001108B1 (en) Interface system for optical disc driver
KR100214945B1 (en) Guide sound sending apparatus in vms/ars system
JP2570986B2 (en) Data transfer control device and method
JPH0660014A (en) I/o bus extension device
JPH08263427A (en) Interface circuit
KR960014177B1 (en) Data communication device for a parallel data processing system
US20060291809A1 (en) Hdd control apparatus
JPS58114261A (en) Data transferring device
JPS62184555A (en) Interface connection system