JPH07152677A - Data transfer control method - Google Patents

Data transfer control method

Info

Publication number
JPH07152677A
JPH07152677A JP22451094A JP22451094A JPH07152677A JP H07152677 A JPH07152677 A JP H07152677A JP 22451094 A JP22451094 A JP 22451094A JP 22451094 A JP22451094 A JP 22451094A JP H07152677 A JPH07152677 A JP H07152677A
Authority
JP
Japan
Prior art keywords
data
storage
buffer
control unit
storage 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.)
Granted
Application number
JP22451094A
Other languages
Japanese (ja)
Other versions
JP3517452B2 (en
Inventor
Satoshi Kodama
智 小玉
Mikito Ogata
幹人 尾形
Shigeru Kaga
滋 加賀
Shinjiro Shiraki
伸二郎 白木
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
Hitachi Information and Telecommunication Engineering Ltd
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Computer Peripherals Co Ltd
Hitachi Ltd
Hitachi Computer Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Computer Peripherals Co Ltd, Hitachi Ltd, Hitachi Computer Engineering Co Ltd filed Critical Hitachi Computer Peripherals Co Ltd
Priority to JP22451094A priority Critical patent/JP3517452B2/en
Publication of JPH07152677A publication Critical patent/JPH07152677A/en
Application granted granted Critical
Publication of JP3517452B2 publication Critical patent/JP3517452B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To prevent deterioration in performance of a communication cable due to the transfer delay time by setting intervals of data requests on the b ' data transfer speed between a storage control part and an information storage part when the data requests are issued. CONSTITUTION:The storage control part 3 and information storage part 4 which are connected to a host processor 1 constitute an information storage subsystem 2. The storage control part 3 receives a data transfer start indication 11 and transmits a 2nd data request 13 even between the end of the transmission of a 1st data request 12 and the reception of 1st data, so a buffer 6 never becomes empty. Then intervals 17 between respective 2nd data requests 13 are calculated on the basis of the mean transfer speed of data from the storage control part 3 to the information storage part 4. Consequently, the data mean transfer speed between the storage control part 3 and host processor 1 never exceeds the data mean transfer speed between the storage control part 3 and information storage part 4, so the buffer 6 never overflows.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、上位処理装置に接続さ
れる記憶制御部と情報記憶部とを有する情報記憶サブシ
ステムに関し、特に上位処理装置から情報記憶部へのデ
ータ書き込み処理時に、記憶制御部が上位処理装置に対
してデータ要求を送信制御するためのデータ転送制御方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information storage subsystem having a storage control unit and an information storage unit connected to a host processing device, and more particularly, to a data storage process when data is written from the host processing device to the information storage unit. The present invention relates to a data transfer control method for a control unit to control transmission of a data request to a host processing device.

【0002】[0002]

【従来の技術】上位処理装置と情報記憶部に対してそれ
ぞれ転送速度が異なるインタフェースが接続される記憶
制御部には、転送速度の差を調整するためにデータを一
時的に記憶する記憶手段(バッファ)が必要である。例
えば、上位処理装置が情報記憶部に対するデータ書き込
みを実行する場合、上位処理装置は記憶制御部に書き込
みデータ転送開始指示を送信する。この指示を受信した
記憶制御部は、上位処理装置に対してデータ要求を転送
する。上位処理装置から転送されたデータは、その転送
速度と情報記憶部がデータを記憶する記憶速度とが異な
るので、その速度差を調節するために一旦バッファに格
納され、その後情報記憶部に転送される。
2. Description of the Related Art A storage control unit to which interfaces having different transfer rates are connected to a higher-level processing unit and an information storage unit stores a data temporarily in order to adjust the difference in the transfer rate. Buffer) is required. For example, when the host processor executes data writing to the information storage unit, the host processor sends a write data transfer start instruction to the storage controller. Upon receiving this instruction, the storage control unit transfers the data request to the host processing device. The data transferred from the host processor differs in the transfer speed and the storage speed at which the information storage unit stores data, so it is temporarily stored in a buffer to adjust the speed difference, and then transferred to the information storage unit. It

【0003】特開平1−233646号には、このよう
な情報記憶サブシステムにおいて、記憶制御部が上位処
理装置にデータ要求を行なう場合、一度に要求するデー
タの容量がバッファ容量を超えないようし、バッファの
容量が不足する時はバッファから情報記憶部へのデータ
転送を待ち、バッファ容量を確保してからデータ要求を
行うデータ転送制御方法が開示されている。
JP-A-1-233646 discloses that in such an information storage subsystem, when the storage control unit makes a data request to a higher-order processing device, the amount of data requested at one time does not exceed the buffer capacity. There is disclosed a data transfer control method of waiting for data transfer from the buffer to the information storage unit when the buffer capacity is insufficient and securing the buffer capacity before making a data request.

【0004】[0004]

【発明が解決しようとする課題】近年、装置の配置の自
由度の向上などの観点から、上位処理装置と記録制御部
との間のケーブルの長距離化が求められている。しか
し、上位処理装置と記憶制御部とを結ぶ通信ケーブルが
長くなると、上位処理装置にデータ要求を送信してから
該データ要求に対応するデータが着信するまでの時間
(転送遅延時間)が、満杯状態のバッファの読み出し時
間を超える場合がある。この場合、従来の方法では、要
求したデータを受信する前にバッファから情報記憶部へ
のデータ転送が終了し、バッファが空の状態が発生す
る。そのため、バッファから情報記憶部へのデータ転送
の終了から、新たに上位処理装置から記憶制御部に転送
されたデータがバッファから情報記憶部へのデータ転送
されるまでの間、バッファから情報記憶部へのデータ転
送がストップし、性能が低下するという問題があった。
In recent years, from the viewpoint of improving the degree of freedom in the arrangement of the apparatus, it has been required to extend the cable distance between the host processing apparatus and the recording control section. However, if the communication cable connecting the host processor and the storage controller becomes long, the time (transfer delay time) from when the data request is sent to the host processor until the data corresponding to the data request arrives is full. The state buffer read time may be exceeded. In this case, in the conventional method, the data transfer from the buffer to the information storage unit is completed before the requested data is received, and the buffer becomes empty. Therefore, from the end of the data transfer from the buffer to the information storage unit until the data newly transferred from the host processor to the storage control unit is transferred from the buffer to the information storage unit, There was a problem that the data transfer to the server stopped and the performance deteriorated.

【0005】図3に、上述した記憶制御部と上位処理装
置との間の一連の信号のやり取りを模式的に示す。21
はデータ転送開始指示、22はデータ要求、23は転送
されるデータである。記憶制御部はデータ転送開始指示
21を受信すると、最初にバッファ容量に相当する容量
のデータ要求を連続して送信する。その後、バッファの
あき領域がデータ要求22により要求される容量以上に
なった場合、記憶制御部はデータ要求を上位処理装置に
転送する。図3に示すように、この方法によると記憶制
御部と情報記憶部との間のデータ転送がストップしてい
る。
FIG. 3 schematically shows the exchange of a series of signals between the above-mentioned storage control unit and the upper processing unit. 21
Is a data transfer start instruction, 22 is a data request, and 23 is data to be transferred. Upon receiving the data transfer start instruction 21, the storage control unit first continuously transmits a data request having a capacity corresponding to the buffer capacity. After that, when the free area of the buffer becomes equal to or larger than the capacity required by the data request 22, the storage control unit transfers the data request to the upper processing device. As shown in FIG. 3, according to this method, data transfer between the storage control unit and the information storage unit is stopped.

【0006】この発明の目的は、情報記憶サブシステム
において、上位処理装置と記憶制御部とを結ぶ通信ケー
ブルの転送遅延時間が満杯状態のバッファの読み出し時
間を超えるような場合でも、通信ケーブルの転送遅延時
間により性能が低下しないデータ転送制御方法を提供す
ることである。
An object of the present invention is to transfer a communication cable in an information storage subsystem even when the transfer delay time of the communication cable connecting the host processor and the storage control unit exceeds the read time of a buffer in a full state. An object of the present invention is to provide a data transfer control method in which the performance is not deteriorated by the delay time.

【0007】[0007]

【課題を解決するための手段】バッファが空になるの
は、データ処理装置がバッファのオーバフロー(入力側
のポインタが出力側のポインタを追い越すこと)を防ぐ
ため、上位処理装置に対してバッファ容量を越えてデー
タ要求を行なわないことが原因である。
[Means for Solving the Problem] The buffer becomes empty because the data processing device prevents the buffer overflow (the pointer on the input side overtakes the pointer on the output side) by the buffer capacity of the upper processing device. The cause is that no data request is made over the range.

【0008】この問題を解決するため、本発明では、記
憶制御部はデータ転送開始指示を受信し、バッファ容量
に相当する容量のデータ要求を送信してから最初のデー
タを受信するまでの間、バッファのあき領域を確保せず
に継続してデータ要求を送信する。更に、バッファのオ
ーバフローを防ぐため、記憶制御部と情報記憶部との情
報転送速度から、各データ要求間の間隔を決定する。
In order to solve this problem, according to the present invention, the storage control unit receives a data transfer start instruction and transmits a data request of a capacity corresponding to the buffer capacity until the first data is received. Data requests are sent continuously without allocating an open area in the buffer. Further, in order to prevent the buffer overflow, the interval between each data request is determined from the information transfer rate between the storage control unit and the information storage unit.

【0009】図1に本発明の基本構成図を示す。上位処
理装置1に接続される記憶制御部3と情報記憶部4とは
情報記憶サブシステム2を構成する。記憶制御部3はバ
ッファ6とバッファ制御手段7を有し、上位処理装置1
と記憶制御部3とを接続するインタフェースケーブル5
の伝送遅延時間は満杯状態の前記バッファの最大読みだ
し時間より長くなっている。
FIG. 1 shows a basic configuration diagram of the present invention. The storage control unit 3 and the information storage unit 4 connected to the higher-level processing device 1 constitute an information storage subsystem 2. The storage control unit 3 has a buffer 6 and a buffer control means 7, and the upper processing device 1
Interface cable 5 for connecting the storage controller 3 to the storage controller 3
The transmission delay time is longer than the maximum read time of the full buffer.

【0010】本発明における記憶制御部3と上位処理装
置1の間の一連の信号のやり取りを模式的に示したもの
が図2である。11はデータ転送開始指示、12はバッ
ファ容量に相当する容量の第一のデータ要求、13は最
初のデータの受信前に送信される第二のデータ要求、1
4は最初のデータの受信後に送信される第三のデータ要
求、15は転送されるデータである。
FIG. 2 schematically shows a series of exchanges of signals between the storage controller 3 and the host processor 1 according to the present invention. Reference numeral 11 is a data transfer start instruction, 12 is a first data request having a capacity corresponding to the buffer capacity, 13 is a second data request transmitted before receiving the first data, 1
4 is a third data request transmitted after receiving the first data, and 15 is data to be transferred.

【0011】記憶制御部3はデータ転送開始指示11を
受信すると、第一のデータ要求12をバッファ容量に相
当する容量について発行する。
When the storage control unit 3 receives the data transfer start instruction 11, it issues a first data request 12 for a capacity corresponding to the buffer capacity.

【0012】さらに、記憶制御部3は、第一のデータ要
求12に対応して上位処理装置1から送信される最初の
データ15の着信前は、第二のデータ要求13を送信す
る。各第二のデータ要求13相互間の間隔17は、バッ
ファ6と情報記憶部4との間のデータ平均転送速度によ
り決まる、1回のデータ要求で要求される容量のデータ
がバッファから情報記憶部へ転送される時間16から算
出される。
Further, the storage control unit 3 transmits the second data request 13 before the arrival of the first data 15 transmitted from the host processing device 1 in response to the first data request 12. The interval 17 between the respective second data requests 13 is determined by the average data transfer rate between the buffer 6 and the information storage unit 4, and the data of the capacity required by one data request is transferred from the buffer to the information storage unit. It is calculated from time 16 transferred to.

【0013】上位処理装置1から送信される最初のデー
タの着信後は、記憶制御部3は、第三のデータ要求14
を送信する。第三のデータ要求14は、要求する容量分
のデータを格納する領域をバッファ6に確保してから送
信される。
After the arrival of the first data transmitted from the upper processing unit 1, the storage control unit 3 makes the third data request 14
To send. The third data request 14 is transmitted after securing an area for storing the requested amount of data in the buffer 6.

【0014】[0014]

【作用】本発明では、記憶制御部3はデータ転送開始指
示11を受信し、記憶制御部3が第一のデータ要求12
を送信を終了してから最初のデータを受信するまでの間
も、第二のデータ要求13を送信するため、バッファ5
が空になることはない。また、各第二のデータ要求13
間の間隔17を、該記憶制御部3から情報記憶部4への
データの平均転送速度を基に算出することにより、記憶
制御部3と上位処理装置1との間のデータ平均転送速度
が、該記憶制御部3と情報記憶部4との間のデータ平均
転送速度を上回らないため、バッファのオーバフローが
発生することもない。従って、転送遅延時間が満杯状態
のバッファの読み出し時間を超えるようなインタフェー
スが接続される情報記憶サブシステムにおいて、記憶制
御部のバッファを効率良く利用し、転送遅延時間による
性能の低下を防ぐことができる。
In the present invention, the storage control unit 3 receives the data transfer start instruction 11, and the storage control unit 3 receives the first data request 12
Since the second data request 13 is transmitted during the period from the end of the transmission to the reception of the first data, the buffer 5
Will never be empty. Also, each second data request 13
By calculating the interval 17 between them based on the average transfer rate of data from the storage control section 3 to the information storage section 4, the average data transfer rate between the storage control section 3 and the higher-level processing device 1 becomes Since the average data transfer rate between the storage control unit 3 and the information storage unit 4 is not exceeded, overflow of the buffer does not occur. Therefore, in an information storage subsystem to which an interface is connected whose transfer delay time exceeds the read time of a buffer in a full state, it is possible to efficiently use the buffer of the storage control unit and prevent performance deterioration due to the transfer delay time. it can.

【0015】[0015]

【実施例】以下、本発明の一実施例を図面によって説明
する。図4は、本発明の一実施例であるディスク装置サ
ブシステムの構成図を示す。図4において、ディスク制
御装置33は、上位の光チャネル31との通信プロトコ
ルを制御する光通信制御部34と、下位のディスク装置
42を制御する外部記憶装置制御部40と、その双方と
通信するチャネル制御部38からなる。各制御部は、光
ファイバケーブル32、光通信制御部・チャネル制御部
間パス37、チャネル制御部・外部記憶装置制御部間パ
ス39、及び、外部記憶装置制御部・ディスク装置間パ
ス41により接続される。図1の上位処理装置1は光チ
ャネル31に相当し、記憶制御部3はディスク制御装置
33に相当し、バッファ6はディスク制御装置33の内
部の光通信制御部34に設けられたバッファ35に相当
し、情報記憶部4はディスク装置42に相当する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 4 shows a block diagram of a disk device subsystem which is an embodiment of the present invention. 4, the disk controller 33 communicates with both the optical communication controller 34 that controls the communication protocol with the upper optical channel 31, the external storage controller 40 that controls the lower disk device 42, and both. It comprises a channel control unit 38. Each control unit is connected by an optical fiber cable 32, an optical communication control unit / channel control unit path 37, a channel control unit / external storage device control unit path 39, and an external storage device control unit / disk device path 41. To be done. 1 corresponds to the optical channel 31, the storage controller 3 corresponds to the disk controller 33, and the buffer 6 corresponds to the buffer 35 provided in the optical communication controller 34 inside the disk controller 33. The information storage unit 4 corresponds to the disk device 42.

【0016】バッファ35を有する光通信制御部34
は、光チャネル31からの書込みデータ、又は、ディス
ク装置41からの読み出しデータを、このバッファ35
に取り込んでからデータ転送を行う。バッファ35に取
り込まれたデータは、ハードウエア制御のバッファ制御
部32によって、取り込まれた順番でチャネル制御部3
8、又は、上位光チャネル31へ転送される。さらに、
バッファ制御部36は図示しない格納手段に格納された
プログラムを読み出し、このプログラムによって書込み
データ転送制御を行っている。
Optical communication control section 34 having a buffer 35
Write data from the optical channel 31 or read data from the disk device 41 to the buffer 35.
Data is transferred after it is loaded into. The data fetched in the buffer 35 is processed by the buffer control unit 32 of hardware control in the order of fetching.
8 or to the upper optical channel 31. further,
The buffer control unit 36 reads a program stored in a storage unit (not shown) and controls write data transfer by this program.

【0017】図5は、本発明の実施例における光通信制
御部の書込みデータ転送制御の概要フローを示す。図6
は、本発明の実施例における光通信制御部の書込みデー
タ転送制御の詳細フローを示す。
FIG. 5 shows an outline flow of write data transfer control of the optical communication controller in the embodiment of the present invention. Figure 6
FIG. 4 shows a detailed flow of write data transfer control of the optical communication control unit in the embodiment of the present invention.

【0018】以下、図5のフローチャートに従い簡単な
制御の流れを説明する。まず、書込みデータ転送は、光
チャネル31によるデータ転送開始指示の送信(ステッ
プ100)から開始する。書込みデータ転送の制御は、
バッファ容量以下のデータ転送制御(ステップ10
1)、データ着信前のデータ転送制御(ステップ10
2)、及びデータ着信後のデータ転送制御(ステップ1
03)の順で実行される。光通信制御部がデータ転送開
始指示によって指定された全てのデータをチャネル制御
部へ転送した後、光通信制御部は光チャネルに書き込み
データ転送終了報告を送信し処理を終了する(ステップ
104)。
A simple control flow will be described below with reference to the flowchart of FIG. First, the write data transfer is started by transmitting a data transfer start instruction by the optical channel 31 (step 100). Write data transfer control
Data transfer control below buffer capacity (step 10
1), data transfer control before data arrival (step 10
2) and data transfer control after receiving data (step 1
03) is executed in this order. After the optical communication control unit transfers all the data designated by the data transfer start instruction to the channel control unit, the optical communication control unit sends a write data transfer end report to the optical channel and ends the process (step 104).

【0019】バッファ容量以下のデータ転送制御(ステ
ップ101)では、光通信制御部34は、光チャネル3
1に対しバッファ容量を越えない範囲で連続してデータ
要求を行う。
In the data transfer control below the buffer capacity (step 101), the optical communication control unit 34 causes the optical channel 3 to operate.
Data is continuously requested to 1 within a range not exceeding the buffer capacity.

【0020】データ着信前のデータ転送制御(ステップ
102)では、光チャネル31に対するデータ要求を定
められた時間間隔をおいて行なう。この時間間隔は、バ
ッファ35からチャネル制御部38への平均データ転送
速度から求められる、1回のデータ要求によって光チャ
ネル31から送信されるデータをバッファ35からチャ
ネル制御部38に送信するのに要する時間から算出され
る。
In the data transfer control (step 102) before the arrival of data, the data request to the optical channel 31 is made at a predetermined time interval. This time interval is required to transmit the data transmitted from the optical channel 31 from the buffer 35 to the channel control unit 38 by one data request, which is obtained from the average data transfer rate from the buffer 35 to the channel control unit 38. Calculated from time.

【0021】データ着信後のデータ転送制御(ステップ
103)は、データ要求が光チャネル31に転送された
後、バッファ35からチャネル制御部38へのデータ転
送を監視し、該データ転送によって転送されたデータ容
量が1回のデータ要求によって光チャネル31から送信
されるデータ容量を超えた場合、光チャネル31に対
し、データ要求を行う。
The data transfer control (step 103) after the arrival of data is carried out by monitoring the data transfer from the buffer 35 to the channel controller 38 after the data request is transferred to the optical channel 31 and transferring the data by the data transfer. When the data capacity exceeds the data capacity transmitted from the optical channel 31 by one data request, the data request is made to the optical channel 31.

【0022】次に、図6のフローチャートと図2のタイ
ムチャートに従い、光通信制御部34の書込みデータ転
送の詳細な制御の流れを説明する。残書込みデータ数A
は、光チャネル31から書込みデータ転送開始指示によ
って指定される全書き込みデータ数からデータ要求され
たデータ数を引いたデータ数を示す変数である。残バッ
ファ容量Bは、バッファ35の容量のうちデータの格納
に使用されていない容量を示す変数である。本実施例で
は、データ転送開始指示とデータ要求等の制御情報を含
めて、データ転送はパケット単位で行われる。パケット
容量Pは、パケットに格納できる最大データ数を示す。
次に、データ数掃き出しタイマ値ATは、バッファ35
からチャネル制御部38への平均データ転送速度を基に
した最後のデータ要求からA値分のデータがバッファ3
5から掃き出されるタイマ値を示す。最後に、データ数
掃き出しタイマ値PTは、バッファ制御部36によるバ
ッファ35からチャネル制御部38への平均データ転送
速度を基にした最後のデータ要求からP値分のデータが
バッファ35から掃き出されるタイマ値を示す。
Next, the detailed control flow of the write data transfer of the optical communication control section 34 will be described with reference to the flowchart of FIG. 6 and the time chart of FIG. Number of remaining write data A
Is a variable indicating the number of data obtained by subtracting the number of requested data from the total number of write data specified by the write data transfer start instruction from the optical channel 31. The remaining buffer capacity B is a variable indicating the capacity of the buffer 35 that is not used for storing data. In this embodiment, data transfer is performed in packet units including control information such as a data transfer start instruction and data request. The packet capacity P indicates the maximum number of data that can be stored in a packet.
Next, the data number sweep timer value AT is stored in the buffer 35
From the last data request based on the average data transfer rate from the channel controller 38 to the channel controller 38, data corresponding to the value A is stored in the buffer 3
The timer value swept from 5 is shown. Finally, as for the data number sweeping timer value PT, data of P value is swept from the buffer 35 from the last data request based on the average data transfer rate from the buffer 35 to the channel controller 38 by the buffer controller 36. Indicates the timer value.

【0023】まず、光チャネル31から書込みデータ転
送開始指示31が送信され(ステップ200)、全書き
込みデータ数が指定される。次に、A値の初期値を全書
込みデータ数、B値の初期値をバッファ35の容量と
し、P値をパケット容量とする(ステップ201)。
First, the write data transfer start instruction 31 is transmitted from the optical channel 31 (step 200), and the total write data number is designated. Next, the initial value of the A value is the total number of write data, the initial value of the B value is the capacity of the buffer 35, and the P value is the packet capacity (step 201).

【0024】残書込みデータ数がバッファ容量以上でな
い(A≦B)場合(ステップ202)、A値がP値以上
(A値≧P値)の間(ステップ207)、パケット容量
単位に光チャネル31に対し第一のデータ要求12を行
い(ステップ208)、残書込みデータ数を監視するた
め、P値をA値から差し引く(A=A−P)(ステップ
209)。A値がP値以下になれば(ステップ20
7)、A値分の第一のデータ要求12を光チャネル31
に対し行い(ステップ210)、ステップ407の処理
に移る。
When the number of remaining write data is not larger than the buffer capacity (A ≦ B) (step 202), while the A value is larger than the P value (A value ≧ P value) (step 207), the optical channel 31 is set in packet capacity units. The first data request 12 is made to the (step 208), and the P value is subtracted from the A value (A = AP) in order to monitor the number of remaining write data (step A209). If the A value becomes less than or equal to the P value (step 20
7), the first data request 12 for the A value is sent to the optical channel 31
(Step 210) and the process proceeds to Step 407.

【0025】残書込みデータ数がバッファ容量以上(A
>B)の場合(ステップ202)、まず、バッファ容量
を越えない範囲で第一のデータ要求12を光チャネル3
1に対して送信する。そのために、光チャネル31に対
しパケット容量(P値)単位でデータ要求を送信し(ス
テップ203)、残書込みデータ数と残バッファ容量を
監視するため、P値をB値、及びA値から差し引き(B
=B−P、A=A−P)(ステップ204、205)、
B値がP値以上(B>P)の間(ステップ206)、ス
テップ203−206を繰り返す。B値がP値以上(B
>P)になれば、ステップ301の処理にへ移る。
The number of remaining write data is more than the buffer capacity (A
> B) (step 202), the first data request 12 is first sent to the optical channel 3 within a range not exceeding the buffer capacity.
Send to 1. Therefore, a data request is transmitted to the optical channel 31 in units of packet capacity (P value) (step 203), and the P value is subtracted from the B value and the A value in order to monitor the number of remaining write data and the remaining buffer capacity. (B
= B-P, A = A-P) (steps 204, 205),
While the B value is the P value or more (B> P) (step 206), steps 203 to 206 are repeated. B value is P value or more (B
> P), the process proceeds to step 301.

【0026】次に、本発明のポイントであるデータ着信
前の制御を説明する。まず、データ要求を行う間隔を指
定するAT、PTのタイマ値をセットする(ステップ3
01)。もし、A値がP値以下の時は(ステップ30
2)、最後のデータ要求の送信からA値分の掃き出し時
間AT値の間隔をおいて(ステップ308、309)光
チャネル31に対し、A値分の第二のデータ要求13を
送信し(ステップ310)、ステップ407へ移る。ま
た、A値がP値以上(A≧P)の時は(ステップ30
2)、要求したデータの着信の判定と(ステップ30
3)、最後のデータ要求からP値分のデータ掃き出し時
間が経過したかどうかの判定を行なう。ここで、P値分
のデータ掃き出し時間監視としては、PT=0かどうか
判定し(ステップ304)、PT=0でなければPT値
からタイマ値を差し引く(ステップ305)。ステップ
303〜305の処理を、データが着信するか、PT=
0になるまで行なう。データが着信したときはステップ
401の処理に移る。データ着信する前に、最後のデー
タ要求からP値分のデータ掃き出し時間が経過した場合
(PT=0)、光チャネル31に対し、P値分の第二の
データ要求13を送信し(ステップ306)、残書込み
データ数を監視するため、A値からP値を差し引き(ス
テップ307)、ステップ301の処理に戻る。次に、
データ着信前に残書込みデータ数がパケット容量より小
さくなった場合(ステップ302)、最後のデータ要求
からA値分の掃き出し時間AT値を監視し(ステップ3
08)、光チャネル31に対し、A値分の第二のデータ
要求13を送信し(ステップ310)、ステップ407
へ移る。
Next, the control before data reception, which is the point of the present invention, will be described. First, the timer values of AT and PT that specify the data request interval are set (step 3).
01). If the A value is less than or equal to the P value (step 30
2) A second data request 13 corresponding to the A value is transmitted to the optical channel 31 at an interval of the sweep time AT value corresponding to the A value from the transmission of the last data request (steps 308 and 309) (step 308). 310), and proceeds to step 407. Further, when the A value is equal to or larger than the P value (A ≧ P) (step 30
2) Determine whether or not the requested data has arrived (step 30
3) It is determined whether or not the data sweep time for the P value has elapsed from the last data request. Here, in monitoring the data sweep time for the P value, it is determined whether or not PT = 0 (step 304), and if PT = 0, the timer value is subtracted from the PT value (step 305). In the processing of steps 303 to 305, whether data arrives or PT =
Repeat until it reaches 0. When the data arrives, the process proceeds to step 401. When the data sweep-out time for the P value has elapsed from the last data request before the data arrival (PT = 0), the second data request 13 for the P value is transmitted to the optical channel 31 (step 306). ), In order to monitor the number of remaining write data, the P value is subtracted from the A value (step 307) and the process returns to step 301. next,
If the number of remaining write data becomes smaller than the packet capacity before the data is received (step 302), the sweep time AT value for A value from the last data request is monitored (step 3).
08), the second data request 13 for the A value is transmitted to the optical channel 31 (step 310), and step 407.
Move to.

【0027】最後に、データ着信後の制御を説明する。
データ着信後のデータ要求は、データ着信前の1パケッ
ト分の掃き出し時間によって各データ要求間の間隔を制
御する方法から、1パケット分のデータのチャネル制御
部への転送の完了を監視する方法に切り換える。まず、
バッファ35に着信したデータが、バッファ制御部22
によってチャネル制御部38へ転送される。ステップ4
01では、最後のデータ要求の送信の後、バッファ制御
部22によるチャネル制御部38へのデータ送信の監視
を行ない、バッファ制御部22がチャネル制御部38へ
P値分のデータの転送を完了したとき、光チャネル31
に対し、P値分の第三のデータ要求14を送信し(ステ
ップ402)、A値からP値を差し引き(ステップ40
3)、A値がP値以上(A≧P)の間、ステップ401
−403を繰り返す。A値がP値以下になったとき、最
後のデータ要求の送信の後、バッファ制御部36による
チャネル制御部38へのデータ送信を監視を行ない、バ
ッファ制御部36がチャネル制御部38へA値分のデー
タの転送を完了したとき、光チャネル31に対し、A値
分の第三のデータ要求14を送信し(ステップ40
6)、ステップ407へ移る。
Finally, the control after the arrival of data will be described.
For the data request after the data arrival, the method of controlling the interval between the data requests by the sweep time for one packet before the data arrival, to the method of monitoring the completion of the transfer of the data of one packet to the channel controller. Switch. First,
The data received in the buffer 35 is transferred to the buffer control unit 22.
Are transferred to the channel control unit 38 by. Step 4
In 01, after transmitting the last data request, the buffer control unit 22 monitors the data transmission to the channel control unit 38, and the buffer control unit 22 completes the transfer of the data for the P value to the channel control unit 38. When the optical channel 31
In response, the third data request 14 for the P value is transmitted (step 402), and the P value is subtracted from the A value (step 40).
3), while the A value is greater than or equal to the P value (A ≧ P), step 401
-403 is repeated. When the A value becomes equal to or less than the P value, after the last data request is transmitted, the buffer control unit 36 monitors the data transmission to the channel control unit 38, and the buffer control unit 36 notifies the channel control unit 38 of the A value. When the transfer of the minute data is completed, the third data request 14 for the A value is transmitted to the optical channel 31 (step 40).
6) and moves to step 407.

【0028】最後にバッファ制御部36によりチャネル
制御部38へのデータ送信を監視し(ステップ40
7)、全書き込みデータがチャネル制御部38に送信で
きたとき、書き込みデータ転送終了報告を送信し処理を
終了する(ステップ408)。ステップ407〜408
は、データ転送の信頼性を上げる為に実行する。
Finally, the buffer controller 36 monitors the data transmission to the channel controller 38 (step 40
7) When all the write data can be transmitted to the channel controller 38, a write data transfer completion report is transmitted and the process is terminated (step 408). Steps 407-408
Is executed to increase the reliability of data transfer.

【0029】本実施例では、データ要求は1パケット単
位で行っているが、複数のパケットのデータを1つのデ
ータ要求で複数のパケットのデータを要求することも可
能である。
In this embodiment, the data request is made on a packet-by-packet basis, but it is also possible to request the data of a plurality of packets by a single data request.

【0030】[0030]

【発明の効果】ケーブルの転送遅延時間に関係なくデー
タが上位処理装置から記憶制御部に転送されるため、バ
ッファが前記転送遅延時間の影響により空の状態になる
ことがない。そのため、記憶制御部と情報記憶部との間
のデータ転送において、下位記憶装置への転送待ち時間
がなくなるので、効率の良いデータ転送が実現でき、ケ
ーブルの転送遅延時間による性能の低下を防止できる。
Since the data is transferred from the host processor to the storage controller regardless of the transfer delay time of the cable, the buffer will not become empty due to the transfer delay time. Therefore, in the data transfer between the storage control unit and the information storage unit, the transfer waiting time to the lower storage device is eliminated, so that the efficient data transfer can be realized and the deterioration of the performance due to the transfer delay time of the cable can be prevented. .

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

【図1】本発明の基本構成図である。FIG. 1 is a basic configuration diagram of the present invention.

【図2】本発明における記憶制御部と上位処理装置の間
の信号のやり取りを模式的に示したタイムチャートであ
る。
FIG. 2 is a time chart schematically showing the exchange of signals between the storage control unit and the host processing device according to the present invention.

【図3】従来技術における記憶制御部と上位処理装置の
間の信号のやり取りを模式的に示したタイムチャートで
ある。
FIG. 3 is a time chart schematically showing the exchange of signals between a storage control unit and a higher-level processing device in the prior art.

【図4】本発明の実施例における光通信制御部を内蔵す
るディスクサブシステムのハードウエア構成図である。
FIG. 4 is a hardware configuration diagram of a disk subsystem including an optical communication control unit according to an embodiment of the present invention.

【図5】本発明の実施例における光通信制御部のマイク
ロプログラム制御の概要フローチャートである。
FIG. 5 is a schematic flowchart of microprogram control of the optical communication control unit in the embodiment of the present invention.

【図6】本発明の実施例における光通信制御部のマイク
ロプログラム制御の詳細フローチャートである。
FIG. 6 is a detailed flowchart of microprogram control of the optical communication control unit in the embodiment of the present invention.

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

1:上位処理装置 11:データ転送開
始指示 2:情報記憶サブシステム 12:バッファ容量
以下のデータ要求 3:記憶制御部 13:最初のデータ
着信前のデータ要求 4:情報記憶部 14:最初のデータ
着信後のデータ要求 5:インタフェースケーブル 16:P値分データ
転送時間 6:バッファ 7:バッファ制御部
1: Host processor 11: Data transfer start instruction 2: Information storage subsystem 12: Data request below buffer capacity 3: Storage control unit 13: Data request before first data arrival 4: Information storage unit 14: First data Data request after incoming 5: Interface cable 16: Data transfer time for P value 6: Buffer 7: Buffer controller

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小玉 智 神奈川県小田原市国府津2880番地 株式会 社日立製作所ストレージシステム事業部内 (72)発明者 尾形 幹人 神奈川県小田原市国府津2880番地 株式会 社日立製作所ストレージシステム事業部内 (72)発明者 加賀 滋 神奈川県秦野市堀山下1番地 日立コンピ ュータエンジニアリング株式会社内 (72)発明者 白木 伸二郎 神奈川県小田原市国府津2880番地 日立コ ンピュータ機器株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Satoshi Kodama Satoshi Kodama 2880 Kozu, Odawara City, Kanagawa Stock Company Hitachi Storage Systems Division (72) Inventor Mikihito 2880 Kozu, Odawara City, Kanagawa Hitachi Ltd. In storage system division (72) Inventor Shigeru Kaga 1 Horiyamashita, Hadano-shi, Kanagawa Hitachi Computer Engineering Co., Ltd. (72) Inventor Shinjiro Shiraki 2880, Kozu, Odawara, Kanagawa Hitachi Computer Equipment Co., Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】上位処理装置と、前記上位処理装置から転
送されるデータを一時的に保持する記憶手段を有する記
憶制御部と、前記上位処理装置と前記記憶制御部とを接
続し、伝送路の転送遅延時間が記憶手段の最大読み出し
時間より長いインタフェースと、前記記憶制御部に接続
される情報記憶部とを有するデータ処理システムのデー
タ転送制御方法であって、前記記憶制御部が前記上位処
理装置に対してデータ要求を発行する際、データ要求の
間隔を前記記憶制御部と前記情報記憶部との間のデータ
転送速度を基に設定することを特徴とするデータ転送制
御方法。
1. A high-order processing apparatus, a storage control section having a storage means for temporarily holding data transferred from the high-order processing apparatus, a connection between the high-order processing apparatus and the storage control section, and a transmission line. Is a data transfer control method for a data processing system having an interface, the transfer delay time of which is longer than the maximum read time of the storage means, and an information storage section connected to the storage control section, wherein the storage control section performs the higher-level processing. When issuing a data request to a device, a data transfer interval is set based on a data transfer rate between the storage control unit and the information storage unit.
【請求項2】上位処理装置と、前記上位処理装置から転
送されるデータを一時的に保持する記憶手段を有する記
憶制御部と、前記上位処理装置と前記記憶制御部とを接
続し、伝送路の転送遅延時間が記憶手段の最大読み出し
時間より長いインタフェースと、前記記憶制御部に接続
される情報記憶部とを有するデータ処理システムのデー
タ転送制御方法であって、前記記憶制御部が前記上位処
理装置に対してデータ要求を発行する際、前記記憶制御
部は前記記憶手段の容量に相当する第1のデータ要求を
発行した後、上位処理装置から転送される最初のデータ
を受信するまでの間に、前記記憶制御部が前記上位処理
装置に対して第2のデータ要求を発行することを特徴と
するデータ転送制御方法。
2. A high-order processing apparatus, a storage control section having a storage means for temporarily holding data transferred from the high-order processing apparatus, a connection between the high-order processing apparatus and the storage control section, and a transmission line. Is a data transfer control method for a data processing system having an interface, the transfer delay time of which is longer than the maximum read time of the storage means, and an information storage section connected to the storage control section, wherein When issuing a data request to the device, the storage control unit issues a first data request corresponding to the capacity of the storage means and then receives the first data transferred from the host processing device. In the data transfer control method, the storage controller issues a second data request to the higher-level processing device.
【請求項3】前記第2のデータ要求を発行する間隔を、
前記記憶制御部と前記情報記憶部との間のデータ転送速
度を基に設定することを特徴とする請求項2記載のデー
タ転送制御方法。
3. The interval for issuing the second data request is
The data transfer control method according to claim 2, wherein the setting is performed based on a data transfer rate between the storage control unit and the information storage unit.
【請求項4】前記第2のデータ要求を発行する間隔を、
前記記憶制御部がデータ要求により要求する容量のデー
タを前記情報記憶部へ転送するために必要な時間に実質
的に等しいことを特徴とする請求項2記載のデータ転送
制御方法。
4. The interval for issuing the second data request is
3. The data transfer control method according to claim 2, wherein the storage control unit is substantially equal to the time required to transfer the data of the capacity requested by the data request to the information storage unit.
JP22451094A 1993-10-05 1994-09-20 Data transfer control method Expired - Lifetime JP3517452B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22451094A JP3517452B2 (en) 1993-10-05 1994-09-20 Data transfer control method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP24907793 1993-10-05
JP5-249077 1993-10-05
JP22451094A JP3517452B2 (en) 1993-10-05 1994-09-20 Data transfer control method

Publications (2)

Publication Number Publication Date
JPH07152677A true JPH07152677A (en) 1995-06-16
JP3517452B2 JP3517452B2 (en) 2004-04-12

Family

ID=26526103

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22451094A Expired - Lifetime JP3517452B2 (en) 1993-10-05 1994-09-20 Data transfer control method

Country Status (1)

Country Link
JP (1) JP3517452B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7441142B2 (en) 2005-10-21 2008-10-21 Hitachi, Ltd. Data transfer method and remote copy system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7441142B2 (en) 2005-10-21 2008-10-21 Hitachi, Ltd. Data transfer method and remote copy system

Also Published As

Publication number Publication date
JP3517452B2 (en) 2004-04-12

Similar Documents

Publication Publication Date Title
US6397287B1 (en) Method and apparatus for dynamic bus request and burst-length control
US5440691A (en) System for minimizing underflowing transmit buffer and overflowing receive buffer by giving highest priority for storage device access
US7765336B2 (en) Autonomous mapping of protected data streams to fibre channel frames
US5046039A (en) Buffer management system
KR100235584B1 (en) Synchronous node controllers for switching network
US5842042A (en) Data transfer control method for controlling transfer of data through a buffer without causing the buffer to become empty or overflow
EP0558935A2 (en) Communications adapter between two way alternate and two way simultaneous communication links
JP3027369B2 (en) Network system, bandwidth management device, transmission device, network transmission method, bandwidth management method, transmission method
JPH0210447B2 (en)
US4805170A (en) Data communication network
US6052387A (en) Enhanced interface for an asynchronous transfer mode segmentation controller
JP2001203696A (en) Artificial satellite mount data bus control method, and its system
US5613141A (en) Data storage subsystem having dedicated links connecting a host adapter, controller and direct access storage devices
JP3517452B2 (en) Data transfer control method
JP2001067299A (en) Interface controller and computer system
JP3018975B2 (en) ATM protocol processing controller
JPH0520939B2 (en)
JP2000354040A (en) Device and method for controlling system switching
JPS6051751B2 (en) Communication control device
JP2564499B2 (en) Transmission data flow control method
JPH10285170A (en) Atm cell delay fluctuation absorptive buffer control method
JPS6130149A (en) Packet signal transfer system
JPS5830256A (en) Communication controller
JPS6158073A (en) Data transfer controlling system
JP2002164900A (en) Atm switching system and its flow control method, and recording medium recording flow control program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040113

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040126

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080130

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090130

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090130

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100130

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110130

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110130

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120130

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130130

Year of fee payment: 9

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term