JP2004005727A - Input/output control unit, and input/output control method - Google Patents

Input/output control unit, and input/output control method Download PDF

Info

Publication number
JP2004005727A
JP2004005727A JP2003278844A JP2003278844A JP2004005727A JP 2004005727 A JP2004005727 A JP 2004005727A JP 2003278844 A JP2003278844 A JP 2003278844A JP 2003278844 A JP2003278844 A JP 2003278844A JP 2004005727 A JP2004005727 A JP 2004005727A
Authority
JP
Japan
Prior art keywords
port
input
busy
output
channel
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
JP2003278844A
Other languages
Japanese (ja)
Other versions
JP4160470B2 (en
Inventor
Susumu Koyama
小山 進
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2003278844A priority Critical patent/JP4160470B2/en
Publication of JP2004005727A publication Critical patent/JP2004005727A/en
Application granted granted Critical
Publication of JP4160470B2 publication Critical patent/JP4160470B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To uniformly conduct service for input/output processing without being one-sided to a specified port, even when a speed is different in a channel bus between a channel and the input/output port. <P>SOLUTION: A frequency of a loop condition repeated with a busy response for start-up requirement and response for busy release (busy end) accompanied to finish of transfer in other input/output port is counted by a circulation number determining part 68 in either of the plurality of input/output ports A, B, as shown Fig.1(B), so as to determine whether the loop frequency exceeds a prescribed value or not. When the input/output port of which the loop frequency exceeds the prescribed value is determined by the circulation number determining part 68, a route control part 46 allocates reception for the start-up requirement with priority to the determined input/output port. That is, the control part 46 receives only the start-up requirement for the priority allocation input/output port, and responds with the busy response for the start-up requirement to the other inpu/output port. <P>COPYRIGHT: (C)2004,JPO

Description

 本発明は、ホストコンピュータ側の複数のチャネル装置を複数の入出力ポートに個別に接続して入出力要求を処理する入出力制御装置に関し、特に、転送速度の異なるチャネルバスを使用した入出力制御装置及び入出力制御方法に関する。
The present invention relates to an input / output control device for processing input / output requests by individually connecting a plurality of channel devices on a host computer to a plurality of input / output ports, and more particularly to an input / output control device using channel buses having different transfer speeds. The present invention relates to a device and an input / output control method.

 図26は、磁気テープ装置を用いた入出力サブシステムの一例である。入出力サブシステムは、入出力制御ユニットとして機能する磁気テープ制御ユニット410と、入出力装置として機能する複数の磁気テープドライブユニット412−1〜412−4で構成される。磁気テープドライブユニット412−1〜412−4には、デバイス機番#1〜#4が定義される。 FIG. 26 shows an example of an input / output subsystem using a magnetic tape device. The input / output subsystem includes a magnetic tape control unit 410 functioning as an input / output control unit and a plurality of magnetic tape drive units 412-1 to 412-4 functioning as input / output devices. Device unit numbers # 1 to # 4 are defined for the magnetic tape drive units 412-1 to 412-4.

 磁気テープ制御ユニット410は例えば2つの入出力ポート420−1,420−2をもつ。入出力ポート420−1,420−2にはポート番号A,Bが定義される。入出力ポート420−1,420−2にはホストコンピュータ414−1,414−2のチャネル装置416−1,416−2がチャネルバス418−1,418−2を介して接続される。チャネル装置416−1,416−2にはチャネル番号A,Bが定義される。尚、以下の説明は、単にチャネルA,B及びポートA,Bと表わす。 The magnetic tape control unit 410 has, for example, two input / output ports 420-1 and 420-2. Port numbers A and B are defined for the input / output ports 420-1 and 420-2. Channel devices 416-1 and 416-2 of the host computers 414-1 and 414-2 are connected to the input / output ports 420-1 and 420-2 via channel buses 418-1 and 418-2. Channel numbers A and B are defined for the channel devices 416-1 and 416-2. In the following description, channels A and B and ports A and B are simply referred to.

 ホストコンピュータによる入出力動作を簡単に説明する。例えばホストコンピュータ414−1で磁気テープドライブユニット412−1にロードされた磁気テープに対する入出力要求、例えばライト要求が発生したとする。ホストコンピュータ414−1のチャネルAは、まず入出力ポートAに対し磁気テープドライブユニット412−1のデバイス機番#1を指定したスタートI/O要求(起動要求)を発行する。 入 出力 I / O operations by the host computer will be briefly described. For example, it is assumed that an input / output request, for example, a write request for the magnetic tape loaded into the magnetic tape drive unit 412-1 by the host computer 414-1 occurs. The channel A of the host computer 414-1 issues a start I / O request (start request) to the input / output port A, specifying the device number # 1 of the magnetic tape drive unit 412-1.

 磁気テープ制御ユニット410は、ポートAからのスタートI/O要求に対しポートBがチャネルBと結合中か否かチェックする。ポートBが結合中になければ、ポートAに対するスタートI/O要求を受け入れてチャネルAと結合し、スタートI/O要求の正常終了を応答し、コマンドシーケンスの転送処理を行う。 一方、チャネルAからのスタートI/O要求をポートAで受けた際に、チャネルBが結合中であった場合は、ビジィ応答を返す。そして、チャネルBとポートBの結合による転送処理が終了すると、ポートBからチャネルBにユニットエンドのステータス応答が行われ結合が切り離される。これに伴ないポートAからチャネルAにもビジィ解除を示すビジィエンドが行われ、ビジィ応答により待ち状態にあるチャネルAから、再度、ポートAに対し起動要求が行われる。
特開平05−197651号公報
The magnetic tape control unit 410 checks whether the port B is being connected to the channel B in response to the start I / O request from the port A. If the port B is not in the coupled state, it accepts the start I / O request for the port A, connects to the channel A, responds that the start I / O request has been normally completed, and performs command sequence transfer processing. On the other hand, when the start I / O request from the channel A is received at the port A and the channel B is being connected, a busy response is returned. When the transfer processing by the connection between the channel B and the port B is completed, a unit end status response is sent from the port B to the channel B, and the connection is disconnected. Along with this, a busy end indicating that the busy is released is also performed from the port A to the channel A, and an activation request is made to the port A again from the channel A in the waiting state by the busy response.
Japanese Patent Application Laid-Open No. 05-197651

 ところで、このような複数のチャネルからの入出力要求を処理する入出力制御装置にあっては、各チャネルの入出力要求に対し、ある程度、均等にサービスを行う必要がある。しかし、チャネルバスの転送速度が異なったり、電気チャネルバスや光チャネルバスのようにチャネルによって異なった転送プロトコルが採用されている場合、どうしても高速チャネルのサービスへ偏る傾向になり、低速チャネルに対するサービスは低下する問題点があった。 In an input / output control device that processes input / output requests from a plurality of channels, it is necessary to provide services to some extent evenly with respect to input / output requests of each channel. However, if the transfer speed of the channel bus is different, or if different transfer protocols are adopted depending on the channel, such as an electric channel bus or an optical channel bus, the service tends to be biased toward high-speed channels, and services for low-speed channels are inevitable. There was a problem of lowering.

 またシステム環境として、高速ホストコンピュータと中・低速ホストコンピュータが混在している場合が多く、更に、高速ホストコンピュータと中・低速ホストコンピュータはクロスコール可能に接続されている。このような場合にも、同様な問題が発生する。 Furthermore, as a system environment, high-speed host computers and medium- and low-speed host computers are often mixed, and the high-speed host computers and medium- and low-speed host computers are connected so as to be capable of cross-calling. In such a case, a similar problem occurs.

 これを図26について説明すると次のようになる。例えばチャネルAが低速チャネルであり、チャネルBが高速チャネルであったとする。この場合の入出力制御は例えば図27のタイムチャートのようになる。 This will be described below with reference to FIG. For example, assume that channel A is a low-speed channel and channel B is a high-speed channel. The input / output control in this case is as shown in a time chart of FIG. 27, for example.

 いま高速チャネルBからスタートI/O要求500をポートBに行い、正常終了による結合完了応答502が得られると、高速チャネルBとポートB間でのコマンドシーケンスの転送処理504,506が行われる。 Now, a start I / O request 500 is sent from the high-speed channel B to the port B, and when a coupling completion response 502 due to normal termination is obtained, the command sequence transfer processing 504 and 506 between the high-speed channel B and the port B is performed.

 この転送処理504,506の間に、低速チャネルAからスタートI/O要求508をポートAに発行したとすると、ポートBが結合中にあるため、ビジィ応答510が返される。 If it is assumed that the start I / O request 508 is issued from the low-speed channel A to the port A during the transfer processes 504 and 506, the busy response 510 is returned because the port B is being connected.

 転送処理506が終了するとポートBからユニットエンド(Unit End)512が高速チャネルBに返され、結合が解除される。このユニットエンド512に伴ない、次にポートAからビジィ解除待ちにある低速チャネルAにビジィ解除を示すビジィエンド514が返される。ここでユニットエンド512を受けた高速チャネルBで次の入出力要求が発生していたとすると、直ちに高速チャネルBから起動要求としてのスタートI/O要求516がポートBに出され、結合完了応答518を経て再び転送処理520,522に入る。 (4) When the transfer process 506 is completed, a unit end (Unit End) 512 is returned from the port B to the high-speed channel B, and the connection is released. Along with this unit end 512, a busy end 514 indicating the busy release is returned from the port A to the low-speed channel A waiting for the busy release. If the next input / output request has occurred on the high-speed channel B having received the unit end 512, a start I / O request 516 as a start request is immediately issued from the high-speed channel B to the port B, and a connection completion response 518 Then, the process again enters the transfer processes 520 and 522.

 一方、ビジィエンド514を受けた低速チャネルAは、ビジィ解除を認識してスタートI/O要求524をポートAに出す。しかし、ビジィエンド514を出してからスタートI/O要求524がポートAで受信されるまでに時間がかかり、この間に、高速チャネルBからのスタートI/O要求516でポートBが結合中になっている。このため低速チャネルAからのスタートI/O要求524に対しポートAから再びビジィ応答526が出され、低速チャネルAは再度、ビジィ解除待ちとなる。 On the other hand, the low-speed channel A that has received the busy end 514 recognizes the release of the busy and issues a start I / O request 524 to the port A. However, it takes time from issuing the busy end 514 to receiving the start I / O request 524 at the port A. During this time, the port B is being connected by the start I / O request 516 from the high-speed channel B. I have. Therefore, in response to the start I / O request 524 from the low-speed channel A, a busy response 526 is issued again from the port A, and the low-speed channel A again waits for the busy release.

 このため高速チャネルBに入出力要求が続く限り、低速チャネルAはスタートI/O要求、ビジィ応答、ビジィエンドのループ処理が繰り返され、入出力要求が受け入れられずサービスの低下が発生する。最悪の場合、このループ処理が長時間に亘ることで、低速チャネルAのホストコンピュータは、チャネル装置や入出力サブシステムに何らかの異常が起きたものと判断するチェック・コンディションとなってしまう問題がある。 Therefore, as long as the input / output request continues to the high-speed channel B, the low-speed channel A repeats the start I / O request, the busy response, and the busy-end loop processing, and the input / output request is not accepted, and the service is deteriorated. In the worst case, there is a problem that the host computer of the low-speed channel A is in a check condition in which it is determined that some abnormality has occurred in the channel device or the input / output subsystem due to the long-time loop processing. .

 また制御方法によっては、高速チャネルからの入出力要求が連続した場合、低速チャネルAに対して高速チャネル側での結合終了に伴なうビジィエンドを応答する時間も無くなり、ビジィ解除待ちにある低速チャネルはいくら待ってもビジィエンドが得られず、ビジィ解除待ちがタイムアウトとなって低速チャネルの入出力要求がエラー終了となる事態も発生する。 In addition, depending on the control method, when input / output requests from the high-speed channel are continuous, there is no time to respond to the low-speed channel A with a busy end associated with the end of the coupling on the high-speed channel, and the low-speed channel waiting for the busy release is not used. No matter how long it waits, the busy end is not obtained, and the busy release wait times out and the low-speed channel I / O request ends in an error.

 このように特定のチャネルに入出力制御装置のサービスが偏ってしまう問題を解決する方法として、各入出力ポートが均等にサービスされるように、時分割でルートの優先度を変化させる方法がある。 As a method of solving the problem that the service of the input / output control device is biased to a specific channel, there is a method of changing the priority of a route in a time-sharing manner so that each input / output port is equally serviced. .

 図28は入出力制御装置にポートA〜Hの8チャネルを設けた場合であり、クロックによりポートA〜Hに順番に優先度を割り当てていく。例えば時刻t0 で全入出力ポートA〜Hに起動要求があった場合、このとき入出力ポートCのスロットにクロックがあって優先度を設定しており、入出力ポートCでの結合が受理される。それ以外の入出力ポートについては、自動的にビジィ応答が報告される。 FIG. 28 shows a case where eight channels of ports A to H are provided in the input / output control device, and priorities are sequentially assigned to ports A to H by a clock. For example, when there is a start request to all the input / output ports A to H at time t0, the clock is present in the slot of the input / output port C and the priority is set, and the connection at the input / output port C is accepted. You. For other input / output ports, a busy response is automatically reported.

 また時刻t0 で入出力ポートB,Eの2つに起動要求があったとすると、入出力ポートEのスロットにクロックが変化した時刻t1 で入出力ポートEの結合が受理され、入出力ポートBについては自動的にビジィ応答が報告される。 Assuming that there is a start request to two of the input / output ports B and E at the time t0, the coupling of the input / output port E is accepted at the time t1 when the clock is changed to the slot of the input / output port E. Automatically reports a busy response.

 このような時分割でルートの優先度を変化させる方法は、各チャネルバスが同一性能で、且つ電気チャネルバス又は光チャネルバスといったプロトコルが同じ場合は有効である。しかし、転送速度が異なったり、電気チャネルと光チャネルが混在したプロトコルの異なる場合には、あまり有効ではない。 The method of changing the priority of the route by the time division is effective when the channel buses have the same performance and the protocol such as the electric channel bus or the optical channel bus is the same. However, it is not very effective when the transfer speed is different or the protocol in which the electric channel and the optical channel are mixed is different.

 本発明の目的は、チャネルと入出力ポート間のチャネルバス速度が異なっても、特定のポートに偏ることなく均等に入出力処理をサービスできる入出力制御装置及び制御方法を提供する。
An object of the present invention is to provide an input / output control device and a control method capable of uniformly providing input / output processing without biasing to a specific port even if the channel bus speed between a channel and an input / output port is different.

 図1及び図2は本発明の原理説明図である。 FIGS. 1 and 2 are explanatory diagrams of the principle of the present invention.

 まず本発明は、異なる転送速度のチャネルバスを介して上位装置側の複数のチャネル装置と複数の入出力ポートを接続した入出力制御装置を対象とする。具体的には、転送速度の異なるチャネルバスを介して上位装置側の高速チャネル装置及び低速チャネル装置の各々に接続された高速入出力ポート及び低速入出力ポートを有する入出力制御装置を対象とする。 First, the present invention is directed to an input / output control device in which a plurality of channel devices on the host device side and a plurality of input / output ports are connected via channel buses having different transfer speeds. More specifically, the present invention is applied to an input / output control device having a high-speed input / output port and a low-speed input / output port connected to each of a high-speed channel device and a low-speed channel device on the host device side via channel buses having different transfer speeds. .

 本発明は、図1(A)のように、入出力制御装置10における入出力ポートA,Bの各々に、他の入出力ポートの転送終了に伴いビジィ解除を応答から起動要求を受信するまでの起動時間を計測して記憶する起動時間計測記憶部48を設ける。そしてルート制御部46によって、高速チャネル装置Bから高速入出力ポートBに起動要求を受けた際に、起動時間計測記憶部48に記憶した低速入出力ポートBの起動時間T2に亘って低速入出力ポートBに対する起動要求を待つ。この待ち時間中に低速入出力ポートBに起動要求があれば、対応する低速チャネル装置Bと結合して転送処理を行う。 According to the present invention, as shown in FIG. 1 (A), each of the input / output ports A and B in the input / output control device 10 responds from the response of the busy release with the completion of the transfer of the other input / output port to the reception of the activation request. And a start-up time measurement storage unit 48 for measuring and storing the start-up time. When the route control unit 46 receives a start request from the high-speed channel device B to the high-speed input / output port B, the low-speed input / output is performed over the start-up time T2 of the low-speed input / output port B stored in the start-up time measurement storage unit 48. Wait for a start request for port B. If there is an activation request to the low-speed input / output port B during this waiting time, the low-speed input / output port B is connected to the corresponding low-speed channel device B to perform the transfer processing.

 この場合、高速チャネル装置Aに対してはビジィ応答とする。また待ち時間に亘り低速入出力ポートBから起動要求がなかった場合は、高速チャネル装置Aと高速入出力ポートAを結合して転送処理を行う。 In this case, the busy response is made to the high-speed channel device A. If there is no activation request from the low-speed input / output port B during the waiting time, the high-speed channel device A and the high-speed input / output port A are connected to perform a transfer process.

 本発明は、更に、各入出力ポートのビジィ率を計測して記録するビジィ率計測記憶部50を設ける。この場合、起動時間計測記憶部50は、各入出力ポートA,Bの起動時間T1,T2を計測する毎に、最大時間Tmax 、平均時間Tav及び最小時間Tmin を生成して記憶する。またルート制御部46は、ビジィ率計測記憶部50に記憶した各入出力ポートA,Bのビジィ率R1,R2が均等になるように、最大時間、平均時間または最小時間を選択して低速入出力ポートBの起動要求の待ち時間T1を設定する。 The present invention further includes a busy ratio measurement storage unit 50 that measures and records the busy ratio of each input / output port. In this case, the start-up time measurement storage unit 50 generates and stores the maximum time Tmax, the average time Tav, and the minimum time Tmin every time the start-up times T1 and T2 of each of the input / output ports A and B are measured. The route control unit 46 selects the maximum time, the average time, or the minimum time so that the busy ratios R1 and R2 of the input / output ports A and B stored in the busy ratio measurement storage unit 50 are equal, and performs low-speed input. A waiting time T1 for a start request of the output port B is set.

 ビジィ率Rとしては、各入出力ポートA,B毎に、計測したビジィ応答回数をチャネル装置からの入出力起動回数で割って算出する。ビジィ率に基づく待ち時間の設定としては、低速入出力ポートAのビジィ率R1が高速入出力ポートBのビジィ率R2より大きい場合は最大時間Tmax を選択して設定し、低速入出力ポートAのビジィ率R1が高速入出力ポートBのビジィ率R2に等しい場合は平均時間Tavを選択して設定する。さらに低速入出力ポートAのビジィ率R1が高速入出力ポートBのビジィ率R2より小さい場合は最小時間Tmin を選択して設定する。 The busy ratio R is calculated by dividing the number of busy responses measured for each of the input / output ports A and B by the number of input / output activations from the channel device. If the busy rate R1 of the low-speed input / output port A is larger than the busy rate R2 of the high-speed input / output port B, the wait time is set based on the busy rate. If the busy rate R1 is equal to the busy rate R2 of the high-speed input / output port B, the average time Tav is selected and set. If the busy rate R1 of the low-speed input / output port A is smaller than the busy rate R2 of the high-speed input / output port B, the minimum time Tmin is selected and set.

 また前記発明の変形として次のようにする。まず入出力制御装置に、低速入出力ポートAから低速チャネル装置Aにビジィ解除を応答してから起動要求を受信するまでの起動時間を計測する起動時間計測部を設ける。ルート制御部46は、低速入出力ポートAからのビジィ解除の応答時に、高速入出力ポートBに対する高速チャネル装置Bからの処理要求を、計測した起動時間に亘り待たせ、その間に低速入出力ポートBに対する低速チャネル装置Bから処理要求を受け付ける。 The following is a modification of the above invention. First, the input / output control device is provided with a start-up time measuring unit that measures the start-up time from when the low-speed input / output port A responds to the low-speed channel device A to the low-speed channel device A until the start request is received. The route control unit 46 causes the processing request from the high-speed channel device B to the high-speed input / output port B to wait for the measured startup time when responding to the busy release from the low-speed input / output port A. A request for processing from B is received from the low-speed channel device B.

 また起動時間計測部の計測時間に基づいて、ルート制御部46の待ち時間を可変させる待ち時間設定部を設けてもよい。更に、オペレータの入力操作によって、ルート制御部46の待ち時間を設定させる待ち時間設定部を設けてもよい。 A waiting time setting unit that varies the waiting time of the route control unit 46 based on the measurement time of the activation time measuring unit may be provided. Further, a waiting time setting unit for setting the waiting time of the route control unit 46 by an input operation of the operator may be provided.

 また本発明は、図1(B)のように、判定部68によって、複数の入出力ポートA,Bのいずれかで、起動要求に対するビジィ応答と他の入出力ポートの転送終了に伴うビジィ解除(ビジィエンド)の応答とが繰り返されるループ状態の回数を計数し、このループ回数が所定値を越えるか否か判定する。 Further, according to the present invention, as shown in FIG. 1 (B), the determination unit 68 allows one of the plurality of input / output ports A and B to respond to the start request with a busy response and to cancel the busy associated with the completion of the transfer of the other input / output port. The number of loop states in which the response (busy end) is repeated is counted, and it is determined whether or not the number of loops exceeds a predetermined value.

 判定部68でループ回数が所定値を越える入出力ポートが判定された場合、ルート制御部46が判定入出力ポートに対し起動要求の受付けを優先的に割り付ける。即ち、ルート制御部46は、優先割付け入出力ポートに対する起動要求のみを受付け、他の入出力ポートに対する起動要求に対してはビジィ応答する。 When the determination unit 68 determines an input / output port whose loop count exceeds a predetermined value, the route control unit 46 preferentially allocates the reception of the activation request to the determined input / output port. That is, the route control unit 46 accepts only a start request for a priority-assigned input / output port, and makes a busy response to a start request for another input / output port.

 また本発明は、図1(C)のように、ビジィ応答時刻記憶部70で複数の入出力ポートA,Bの各々につき、起動要求に対するビジィ応答を行った時刻を記憶する。処理ポート決定部72は、起動要求に対する転送処理の終了毎に、ビジィ応答時刻の中の最も古い応答時刻をもつ入出力ポートを処理ポートに決定する。ルート制御部46は、決定した入出力ポートに対し起動要求の受付けを優先的に割り付ける。 According to the present invention, as shown in FIG. 1C, the busy response time storage unit 70 stores, for each of the plurality of input / output ports A and B, the time at which a busy response to the activation request is made. The processing port determination unit 72 determines the input / output port having the oldest response time among the busy response times as the processing port every time the transfer processing for the activation request ends. The route control unit 46 preferentially allocates the start request to the determined input / output port.

 また本発明は、図2(D)のように、ルート制御部46によって特定のチャネル装置Bと入出力ポートBとの結合中に、他の入出力ポートAに他のチャネル装置Aから起動要求があった場合、再試行割込み処理部74が他の入出力ポートBから再試行ステータスを応答して他のチャネル装置Bとの結合を切り離す。 そして、現在処理中の入出力ポートAとチャネル装置Aの結合終了時に、試行割込み処理部74は、他の入出力ポートAから再試行開始の割込み通知を他のチャネル装置Aに通知して起動要求を再試行させる。 Further, according to the present invention, as shown in FIG. 2D, during the connection of a specific channel device B and an input / output port B by the route control unit 46, a start request from another channel device A to another input / output port A is provided. If there is, the retry interrupt processing unit 74 responds the retry status from the other input / output port B and disconnects the connection with the other channel device B. When the connection between the input / output port A and the channel device A that is currently being processed is completed, the trial interrupt processing unit 74 notifies another channel device A of a retry start interrupt notification from the other input / output port A and starts up. Let the request be retried.

 また本発明は、図2(E)のように、ルート制御部46によって特定のチャネル装置Bと入出力ポートBとの結合中に所定の割込条件が成立した場合、例えば割込タイマ80がタイムアップした場合、再試行割込み処理部76によって割込み処理を行う。この再試行割込み処理は、
 (1)入出力ポートBからチャネル装置Bに再試行ステータスを応答して処理を中断して結合を切り離す。
Further, according to the present invention, as shown in FIG. 2E, when a predetermined interrupt condition is satisfied during the connection between the specific channel device B and the input / output port B by the route control unit 46, for example, the interrupt timer 80 is activated. When the time is up, the retry interrupt processing unit 76 performs an interrupt process. This retry interrupt processing is
(1) Processing is interrupted by responding the retry status from the input / output port B to the channel device B to disconnect the connection.

 (2)切離しが済むと、全てのポートA,Bについて、それまでのビジィ応答状態をチェックし、優先処理ポートを決定する。例えば、以前にビジィ応答を行ったポートAを優先処理ポートに決定する。 (2) When the disconnection is completed, the busy response status of all ports A and B is checked, and the priority processing port is determined. For example, the port A to which the busy response has been made before is determined as the priority processing port.

 (3)続いて、優先処理ポートAからチャネル装置Aにエンドステータスを応答して起動要求を行わせる。 {(3) Subsequently, the priority processing port A responds the end status to the channel device A to make a request for activation.

 (4)この起動要求に伴なう転送処理が終了すると、再試行割込み処理部76は、入出力ポートBからチャネル装置Bに再試行開始の割込みを通知し、中断した処理を再開させる。 (4) When the transfer process associated with this activation request is completed, the retry interrupt processing unit 76 notifies the channel device B of the retry start interrupt from the input / output port B, and restarts the interrupted process.

 ここで再試行割込みの割込条件としては、
   1)入出力ポートの結合時間が一定時間に達したこと、
   2)結合中の入出力ポートのコマンド処理回数が所定値に達したこと、
   3)入出力ポートの結合中に、他の入出力ポートに対する起動要求に対するビジィ応答でビジィ率が所定値に到達したこと、
等とする。
Here, the retry interrupt condition is
1) The coupling time of the input / output port has reached a certain time,
2) the number of command processing of the input / output port during coupling has reached a predetermined value,
3) that the busy rate reaches a predetermined value in a busy response to a start request to another input / output port during the connection of the input / output port;
And so on.

 また本発明は、図2(F)のように、複数の入出力ポートA,B毎にコマンド解析実行部92,94を設ける。例えばコマンド解析実行部92は、他の入出力ポートBの結合中に、入出力ポートAの起動要求に伴って受信したコマンドが実行可能なコマンドか否か解析し、実行可能なコマンドであれば起動要求を受け付けて内部資源に対するコマンド処理を実行する。 In the present invention, as shown in FIG. 2 (F), command analysis execution units 92 and 94 are provided for each of the plurality of input / output ports A and B. For example, the command analysis execution unit 92 analyzes whether the command received in response to the activation request of the input / output port A is an executable command while the other input / output port B is connected, and if the command is executable, It receives a start request and executes command processing for internal resources.

 具体的には、他の入出力ポートBの結合によって内部資源のデータ転送を行っている場合、別の内部資源で且つデータ転送を伴わない制御系のコマンドであれば、入出力ポートAの起動要求を受け付けて他の内部資源に対するコマンド処理を実行する。 Specifically, when data transfer of internal resources is performed by coupling with another input / output port B, if another internal resource is a control command that does not involve data transfer, activation of input / output port A is started. Accepts the request and executes command processing for other internal resources.

 内部資源は、データバスに対し独立した制御バスを備えた複数の入出力装置、例えば磁気テープドライブユニット12である。 The internal resources are a plurality of input / output devices having a control bus independent of the data bus, for example, the magnetic tape drive unit 12.

 このような本発明の入出力制御装置及び方法によれば、次の作用が得られる。 According to the input / output control device and method of the present invention, the following operations can be obtained.

 本発明は、学習方式ということができる。高速のチャネル装置に入出力制御のサービスが偏ってしまう一因として、ビジィ解除待ちにあるチャネルがビジィ解除の通知(ビジィエンド)を受けてから起動要求を出すまでの速さが上げられる。一般に高速チャネルは、この時間が短く、低速チャネルは長い。 The present invention can be called a learning method. One reason that the input / output control service is biased to high-speed channel devices is to increase the speed from when a busy release waiting channel receives a busy release notification (busy end) to when it issues an activation request. Generally, this time is short for high-speed channels and long for low-speed channels.

 そこで、各入出力ポートにタイマを設け、ビジィ解除を応答してから起動要求を受けるまでの起動時間をダイナミックに計測して記憶する。この起動時間の計測結果は、最大値、最小値、平均値に分けて算出記憶する。入出力制御装置は、例えば高速入出力ポートで連続してユニットエンド後に起動要求を受けても、受理応答は即座に行わずに、低速ポートの起動要求を起動時間だけ待つ。そして低速入出力ポートからの起動が来れば、高速ポートと低速ポートのどちらを受理するか判断し、片側だけにサービスが偏るのを防ぐ。 Therefore, a timer is provided for each input / output port to dynamically measure and store the start-up time from responding to the busy release to receiving the start-up request. The measurement result of the activation time is calculated and stored separately for the maximum value, the minimum value, and the average value. For example, even if a start request is continuously received after a unit end at a high-speed input / output port, the input / output controller waits for a start request of a low-speed port for the start time without immediately performing an acceptance response. Then, when activation from the low-speed input / output port comes, it is determined which of the high-speed port and the low-speed port is accepted, and the service is prevented from being biased to only one side.

 サービスの偏りを示す指標の一つとしてビジィ率を使用する。ビジィ率は、ビジィ応答カウンタで求めたビジィ応答の数を、チャネルからの起動の数を積算する起動数カウンタの値で割って求める。そして各入出力ポートのビジィ率をなるべく小さい値に、また各入出力ポートのビジィ率の値の差が大きくならないように、待ち時間を決める。 ビ We use the busy rate as one of the indicators of service bias. The busy rate is obtained by dividing the number of busy responses obtained by the busy response counter by the value of the number-of-starts counter that accumulates the number of starts from the channel. Then, the waiting time is determined so that the busy ratio of each input / output port is made as small as possible and the difference between the busy ratio values of each input / output port is not increased.

 ビジィ解除の応答後、例えば、応答した入出力ポートのビジィ率が高い場合は、起動時間の最大値付近の値で待ち、逆に入出力ポートのビジィ率が低く、他の入出力ポートのビジィ率が高い場合は、最小値付近の値で待つようにする。このように、本発明は、自らの学習によって各チャネルのサービスを均一化できる。 For example, if the busy rate of the responded I / O port is high after the response to the busy release, the system waits at a value near the maximum value of the start-up time, and conversely, the busy rate of the I / O port is low and the busy of the other I / O port If the rate is high, wait at a value near the minimum. As described above, according to the present invention, the service of each channel can be made uniform by its own learning.

 更に本発明は、ビジィ応答とビジィ解除応答(ビジィエンド)のループ処理が長時間続くとホスト側でチェックコンディションになるので、これを防ぐ。即ち、起動要求、ビジィ応答−ビジィ解除応答となるループ処理の回数をカウンタで検出し、カウンタが一定値を越えた入出力ポートを優先的にサービスする。その他の入出力ポートにはビジィを応答する。入出力ポートで優先処理が済んだら、その入出力ポートのカウンタはリセットする。これによりビジィ応答とビジィ解除応答がループすることによるチェックコンディションを回避できる。 Further, according to the present invention, if the loop processing of the busy response and the busy release response (busy end) continues for a long time, a check condition occurs on the host side, which is prevented. In other words, the counter detects the number of times of the loop processing, which becomes a start request, a busy response and a busy release response, and preferentially services an input / output port whose counter exceeds a certain value. Respond busy to other input / output ports. After the priority processing is completed at the input / output port, the counter of the input / output port is reset. As a result, a check condition caused by a loop between the busy response and the busy release response can be avoided.

 更に本発明は、時系列処理方式である。各入出力ポートにビジィ応答した時刻を記憶し、継続中のチャネルとの処理が終了したら、各入出力ポートのビジィ応答時刻を調べ、一番古い時刻を示している入出力ポートにビジィエンドを報告して優先的にサービスを行う。 Furthermore, the present invention is a time series processing method. The time of busy response to each I / O port is stored, and when the processing with the ongoing channel is completed, the busy response time of each I / O port is checked, and the busy end is reported to the I / O port indicating the oldest time Service with priority.

 更に本発明は、再試行割込み方式である。チャネルとの結合中に他のチャネルからの起動がきたら、ビジィ応答の代わりにチャネルの再試行を要求するステータスを報告して、後からの起動してきたチャネルとの結合を一旦切る。現在処理中のチャネルとの結合が終了したら、再試行要求を既にしたチャネルに対して再試行開始の割り込みを行い、再結合する。このようにビジィ応答の代わりに再試行ステータスを応答することで、入出力制御装置側でどの入出力ポートを再結合するか決定でき、各入出力ポートを平均してサービスできる。 {Furthermore, the present invention is a retry interruption method. If activation from another channel occurs during the connection with the channel, a status requesting the channel to be retried is reported instead of the busy response, and the connection with the later activated channel is temporarily disconnected. When the connection with the channel currently being processed is completed, a retry start interrupt is issued to the channel for which the retry request has already been made, and the channels are reconnected. As described above, by responding the retry status instead of the busy response, the input / output control device can determine which input / output port is to be re-coupled, and each input / output port can be serviced on average.

 更に本発明は、再試行割込み方式の変形といえる。まずチャネルとの結合中に所定の割込条件(所定時間、所定コマンド処理回数、所定ビジィ率等)が成立したら、割込みを発生して現在結合中のチャネルに対してチャネル再試行要求のステータスを応答し、処理を中断して一旦結合を切る。その後、全バスについて、以前にビジィ応答しているか、チェック要因は割込み要因を分析して、どの入出力ポートに対しサービスするか決定する。 {Furthermore, the present invention is a modification of the retry interruption method. First, when a predetermined interrupt condition (predetermined time, predetermined command processing count, predetermined busy rate, etc.) is satisfied during connection with the channel, an interrupt is generated and the status of the channel retry request is sent to the currently connected channel. Responds, interrupts processing, and temporarily disconnects. Thereafter, for all the buses, whether a busy response has been previously made or not, a check factor analyzes an interrupt factor to determine which I / O port to service.

 処理ポートを決定したら、そのポートからユニットエンドを応答して優先的に処理する。この優先処理が済んだら、再試行要求のステータス応答を行ったチャネルに対し再試行開始の割込み通知を行い、再結合して中断した処理を再開する。これによって、高速チャネルの処理が連続し、低速チャネルでビジィ応答を解除するユニットエンドが報告できない事態を回避できる。 (4) After the processing port is determined, the unit end is returned from the port and processing is performed with priority. After this priority processing is completed, an interrupt notification of retry start is sent to the channel that has made a status response to the retry request, and the interrupted processing is resumed by reconnection. As a result, it is possible to avoid a situation where the processing of the high-speed channel is continued and the unit end for releasing the busy response in the low-speed channel cannot be reported.

 更に本発明は、チャネルスイッチとして機能する入出力ポートのインテリジェント化である。他の入出力ポートでコマンド処理中であっても、入出力ポート自身で受け付けたコマンドが実行可能か否か判断し、実行可能な場合は、下位のドライブユニットに対する処理を実行し、ビジィ応答の回数を減らす。 Furthermore, the present invention is an intelligent input / output port functioning as a channel switch. Even if the command is being processed by another I / O port, it is determined whether the command received by the I / O port itself can be executed. If the command can be executed, the process is executed for the lower drive unit and the number of busy responses Reduce.

 例えば他の入出力ポートの結合中に、ある入出力ポートに起動要求があった場合は、これを受け付けてコマンドを解析し、結合中の入出力ポートと共通の内部資源、例えばデータバスを使わないコマンド、例えばモーション系やセンス系の制御コマンドの場合は、有効に受け付けて実行してしまう。このインテリジェント化は、データバスとコマンド処理バスが別であったり、共通バスであっても、データ転送と、コマンド処理用のデータ転送が同時に行えるような共通バス構成のハードウェアをもつ場合に有効となる。
For example, if a start request is issued to a certain input / output port while another input / output port is being connected, the request is accepted and the command is analyzed. In the case of a non-existent command, for example, a control command of a motion system or a sense system, the command is effectively accepted and executed. This intelligent function is effective when the data bus and the command processing bus are separate, or even if the common bus has hardware with a common bus configuration that can perform data transfer and data transfer for command processing at the same time. It becomes.

 以上説明してきたように本発明によれば、入出力制御装置の複数の入出力ポートを異なった転送速度のチャネルバスによってホストコンピュータ側のチャネル装置と接続していても、入出力要求に対するサービスが特定のチャネルとポート間に偏ってしまうことを確実に防止でき、チャネル装置からの入出力要求が重複しても、各入出力ポートに対するサービスをほぼ均一に提供することができる。 As described above, according to the present invention, even if a plurality of input / output ports of the input / output control device are connected to the channel device on the host computer side by channel buses having different transfer speeds, the service for the input / output request can be provided. It is possible to reliably prevent a bias between a specific channel and a port, and to provide services to each input / output port almost uniformly even if input / output requests from channel devices overlap.

 このため、低速のチャネルとポート間で起動要求がビジィ応答となってユニットエンドに対し起動要求を再度行ってもビジィ応答となってしまうビジィ−ユニットエンドのループ状態へ陥ることを確実に防止し、ホストコンピュータの入出力要求に対する応答遅れでタイムオーバとなり、チェックコンディションとなる事態を回避して、システム性能を保証することができる。
Therefore, it is possible to reliably prevent a busy unit end from entering a loop state in which a start request becomes a busy response between a low-speed channel and a port and becomes a busy response even if the start request is made again to the unit end. In addition, it is possible to avoid a situation in which a check condition occurs due to a time-out due to a response delay to an input / output request of the host computer, thereby guaranteeing system performance.

        <目 次>
   1.システム構成
   2.学習処理
   3.ビジィ応答−ビジィエンドの循環チェック処理
   4.時系列処理
   5.再試行割込み処理その1
   6.再試行割込み処理その2
   7.入出力ポートのインテリジェント化
<Table of Contents>
1. 1. System configuration Learning process 3. Busy response-busy end circulation check processing Time series processing Retry interrupt processing 1
6. Retry interrupt processing 2
7. Intelligent input / output ports

1.システム構成
 図3は、磁気テープ装置をドライブユニットとして用いた本発明の入出力制御装置のシステム構成である。
1. System Configuration FIG. 3 shows a system configuration of an input / output control device of the present invention using a magnetic tape device as a drive unit.

 図3において、入出力制御装置として機能する磁気テープ制御ユニット10に対しては、デバイスインタフェース22を介して、この実施例にあっては、8台の磁気テープドライブユニット12−1〜12−8が接続される。磁気テープドライブユニット12−1〜12−8には、予めドライブ機番#1〜#8が設定される。 3, eight magnetic tape drive units 12-1 to 12-8 are connected to a magnetic tape control unit 10 functioning as an input / output control device via a device interface 22 in this embodiment. Connected. Drive unit numbers # 1 to # 8 are set in advance in the magnetic tape drive units 12-1 to 12-8.

 磁気テープ制御ユニット10は、この実施例にあっては、8つの入出力ポート20−1〜20−8を有する。入出力ポート20−1〜20−8はポート番号A〜Hが定義される。以下の説明では、単にポートA〜Hと表現する。 The magnetic tape control unit 10 has eight input / output ports 20-1 to 20-8 in this embodiment. Port numbers A to H are defined for the input / output ports 20-1 to 20-8. In the following description, the ports are simply referred to as ports A to H.

 磁気テープ制御ユニット10のポートA〜Hのそれぞれには、ホストコンピュータ14−1〜14−8に設けたチャネル装置16−1〜16−8がチャネルバス18−1〜18−8を介して接続される。ここで、チャネル装置16−1〜16−8にはチャネル番号A〜Hが定義されている。以下の説明では単に、チャネルA〜チャネルHと表現する。 Channel devices 16-1 to 16-8 provided in host computers 14-1 to 14-8 are connected to ports A to H of magnetic tape control unit 10 via channel buses 18-1 to 18-8. Is done. Here, channel numbers A to H are defined for the channel devices 16-1 to 16-8. In the following description, it is simply expressed as channel A to channel H.

 ホストコンピュータ14−1〜14−8のチャネルA〜Hと磁気テープ制御ユニット10のポートA〜Hの間のチャネルバス18−1〜18−8は、それぞれ固有の転送速度をもっている。例えば、チャネルAとポートAを結ぶチャネルバス18−1は電気的なチャネルバスであり、その転送速度は4.5MBsとなる。 The channel buses 18-1 to 18-8 between the channels A to H of the host computers 14-1 to 14-8 and the ports A to H of the magnetic tape control unit 10 have their own transfer speeds. For example, the channel bus 18-1 connecting the channel A and the port A is an electric channel bus, and its transfer speed is 4.5 MBs.

 このような電気的なチャネルバス18−1としては、IBM製のブロック・マルチプレクス・チャネルインタフェース(BMC)を使用することができる。また、チャネルBとポートBを結ぶチャネルバス18−2は、例えば光チャネルバスであり、その転送速度は9MBsと高速である。このような光チャネルバス18−2としては、例えばIBM製のESCONチャネルを使用することができる。 (4) As such an electrical channel bus 18-1, an IBM block multiplex channel interface (BMC) can be used. The channel bus 18-2 connecting the channel B and the port B is, for example, an optical channel bus, and its transfer speed is as high as 9 MBs. As such an optical channel bus 18-2, for example, an ESCON channel manufactured by IBM can be used.

 残りのチャネルバス18−3〜18−8についても、各々固有の転送速度をもったチャネルバスが使用される。勿論、本発明にあっては、少なくとも複数のチャネルバスの転送速度が高速と低速の2種類である場合を対象としている。例えば、転送速度4.5MBsの電気的なチャネルバス18−1は低速チャネルバスとなり、これに対し光チャネルバスを用いたチャネルバス18−2は、転送速度が9MBsであることから高速チャネルバスとなる。 (4) Channel buses having their own transfer rates are used for the remaining channel buses 18-3 to 18-8. Of course, the present invention is intended for a case where the transfer speed of at least a plurality of channel buses is two types, high speed and low speed. For example, the electrical channel bus 18-1 having a transfer speed of 4.5 MBs is a low-speed channel bus, whereas the channel bus 18-2 using an optical channel bus is a high-speed channel bus because the transfer speed is 9 MBs. Become.

 以下の説明では、低速チャネルバス18−1のチャネルAを低速チャネルといい、高速チャネルバス18−2のチャネルBを高速チャネルという。同様に、ポートA,Bについても、ポートAが低速入出力ポート、ポートBが高速入出力ポートとなる。 In the following description, the channel A of the low-speed channel bus 18-1 is called a low-speed channel, and the channel B of the high-speed channel bus 18-2 is called a high-speed channel. Similarly, for ports A and B, port A is a low-speed input / output port and port B is a high-speed input / output port.

 図4は、図3の磁気テープ制御ユニット10のハードウェア構成である。磁気テープ制御ユニット10は、ホストインタフェース部24、バッファメモリ26、フォーマッタ部28および通信情報メモリテーブル30で構成される。ホストインタフェース部24には、MPU32、ファームウェア34およびインタフェースプロセッサ36が設けられる。 FIG. 4 shows a hardware configuration of the magnetic tape control unit 10 of FIG. The magnetic tape control unit 10 includes a host interface unit 24, a buffer memory 26, a formatter unit 28, and a communication information memory table 30. The host interface unit 24 includes an MPU 32, firmware 34, and an interface processor 36.

 インタフェースプロセッサ36には、ホストコンピュータとのチャネルバスを接続した入出力ポート20−1〜20−8で実現されるポートA〜Hが設けられる。フォーマッタ部28には、MPU38、ファームウェア40およびフォーマッタプロセッサ42が設けられる。 The interface processor 36 is provided with ports A to H realized by input / output ports 20-1 to 20-8 connecting a channel bus to a host computer. The formatter unit 28 includes an MPU 38, firmware 40, and a formatter processor 42.

 本発明の入出力制御は、ホストインタフェース部24に設けられたMPU32、ファームウェア34およびインタフェースプロセッサ36の制御機能により実現することができる。バッファメモリ26には、ホストコンピュータと磁気テープドライブユニットとの間でやり取りされるデータが一時的に格納される。バッファメモリ26を経由したデータ転送により、入出力制御装置10とチャネル側の転送、入出力制御装置10と磁気テープドライブユニット側の転送は、非同期に行われることになる。 The input / output control of the present invention can be realized by the control functions of the MPU 32, the firmware 34, and the interface processor 36 provided in the host interface unit 24. The buffer memory 26 temporarily stores data exchanged between the host computer and the magnetic tape drive unit. By the data transfer via the buffer memory 26, the transfer between the input / output control device 10 and the channel side and the transfer between the input / output control device 10 and the magnetic tape drive unit side are performed asynchronously.

 ホストインタフェース部24に設けられたMPU32は、インタフェースプロセッサ36において、いずれかのポートA〜Hに起動要求を受けると、他のポートが結合中でないことを条件に起動要求を受け入れ、チャネルバスと結合して、ホストコンピュータからの入出力要求に基づくチャネルコマンドワードの転送処理を行う。 When the MPU 32 provided in the host interface unit 24 receives a start request from any of the ports A to H in the interface processor 36, the MPU 32 accepts the start request on condition that no other port is being connected, and connects to the channel bus. Then, transfer processing of a channel command word based on an input / output request from the host computer is performed.

 チャネルコマンドは、通常、一連のコマンドシーケンスを実現するための異なったコマンド語の連続するコマンドチェインニングと、データのブロック単位の転送を行う際のリードコマンドまたはライトコマンドを繰り返し転送するためのデータチェインニングがある。 The channel command is usually a continuous command chain of different command words for realizing a series of command sequences, and a data chain for repeatedly transferring a read command or a write command when transferring data in block units. There is ning.

 このようなチャネルコマンドによる1回の転送処理ごとに、チャネル装置は対応する磁気テープ制御ユニット10のポートに対しスタートI/O要求(スタートI/Oコマンド)を発行して起動要求を行う。この起動要求の際には、通常、磁気テープドライブユニットのドライブ機番#1〜#8のいずれかを指定する。インタフェースプロセッサ36は、ポートA〜Hに対するチャネルバスからのスタートI/O要求を監視しており、スタートI/O要求を認識すると、他のポートが結合中にないことを条件に、スタートI/Oコマンドに対する正常終了を示す結合完了応答を返す。もし、スタートI/O要求を受けた際に他のポートが結合中であった場合には、基本的にはビジィ応答を返すことになる。 (4) Each time one transfer process is performed by such a channel command, the channel device issues a start I / O request (start I / O command) to the corresponding port of the magnetic tape control unit 10 to make a start request. At the time of this activation request, usually, one of drive unit numbers # 1 to # 8 of the magnetic tape drive unit is designated. The interface processor 36 monitors the start I / O request from the channel bus for the ports A to H. When recognizing the start I / O request, the interface processor 36 starts the start I / O on the condition that no other port is being connected. A connection completion response indicating a normal end to the O command is returned. If another port is being connected when the start I / O request is received, a busy response is basically returned.

 MPU32は、インタフェースプロセッサ36を介して受信したチャネル側からのコマンドを解読し、磁気テープドライブユニットの制御に必要なパラメータなどの各種情報を通信情報メモリテーブル30に書き込む。また、磁気テープドライブユニットに対する書込みのために転送されたデータについては、バッファメモリ26に書き込む。 The MPU 32 decodes the command from the channel side received via the interface processor 36 and writes various information such as parameters necessary for controlling the magnetic tape drive unit into the communication information memory table 30. The data transferred for writing to the magnetic tape drive unit is written to the buffer memory 26.

 フォーマッタ部28のMPU38は、MPU32とは非同期に、通信情報メモリテーブル30をサイクリックに参照しており、磁気テープドライブユニットの制御またはデータ転送に必要な情報を認識すると、フォーマットプロセッサ42を経由して、指定されたドライブ機番をもつ磁気テープドライブユニットに対する各種の制御およびデータ転送のための処理動作を指示する。 The MPU 38 of the formatter unit 28 cyclically refers to the communication information memory table 30 asynchronously with the MPU 32. When recognizing information necessary for control of the magnetic tape drive unit or data transfer, the MPU 38 via the format processor 42 , And instructs processing operations for various controls and data transfer to the magnetic tape drive unit having the designated drive unit number.

 またMPU38は、サイクリックに磁気テープドライブユニット12−1〜12−8の状態を検出して、検出結果を通信情報メモリテーブル30に書き込んでいる。このため、チャネル側より磁気テープドライブユニットの状態を確認するためのセンスコマンドをホストインタフェース部24で受けた場合、MPU32は通信情報メモリテーブル30を参照することで磁気テープドライブユニットの状態を認識し、ステータスコマンドに対し応答することができる。 The MPU 38 cyclically detects the states of the magnetic tape drive units 12-1 to 12-8 and writes the detection result in the communication information memory table 30. Therefore, when the host interface unit 24 receives a sense command for confirming the state of the magnetic tape drive unit from the channel side, the MPU 32 recognizes the state of the magnetic tape drive unit by referring to the communication information memory table 30, and Can respond to commands.

 更にインタフェースプロセッサ36には、チャネルバスからの転送データを圧縮した後にバッファメモリ26に書き込み、また磁気テープドライブユニットからバッファメモリ26に読み出された圧縮リードデータを元のデータに伸長してチャネルバスに送り出すための圧縮伸長部としての機能が設けられる。このデータの圧縮伸長処理は、リードまたはライト要求の最初に送られてくるセットコマンドのビットフラグにより伸長または圧縮するか、そのまま処理するか、指定することができる。 Further, the interface processor 36 writes the data transferred from the channel bus into the buffer memory 26 after compressing the data, and decompresses the compressed read data read from the magnetic tape drive unit into the buffer memory 26 into the original data and sends it to the channel bus. A function as a compression / decompression unit for sending out is provided. In this data compression / expansion processing, it is possible to specify whether to expand or compress the data or to process the data as it is by using a bit flag of a set command sent at the beginning of the read or write request.

 一方、オプションとして、デバイスインタフェース25を介してCRT35とキーボード45が設けられる。これによりオペレータはホストインタフェース部24のMPU32の入出力制御に必要な各種のパラメータを外部から設定できる。勿論、ホストコンピュータ側のCRTとキーボードを使用して、MPU32の制御パラメータを設定してもよい。
On the other hand, as an option, a CRT 35 and a keyboard 45 are provided via the device interface 25. This allows the operator to externally set various parameters necessary for input / output control of the MPU 32 of the host interface unit 24. Of course, the control parameters of the MPU 32 may be set using a CRT and a keyboard on the host computer side.

2.学習処理
 図5は本発明の実施例であり、磁気テープ制御ユニット10にポートAとポートBの2つを設けた場合を例にとっている。
2. Learning Process FIG. 5 shows an embodiment of the present invention, in which the magnetic tape control unit 10 is provided with two ports A and B.

 磁気テープ制御ユニット10にはルート制御部46が設けられ、ポートAまたはポートBに対するチャネルバスからの起動要求に基づいて、いずれか一方のポートを選択するチャネルスイッチとしての機能をもつ。ポートA,ポートBのそれぞれにはタイマ52,58が設けられている。タイマ52,58は、ポートA,Bからのチャネルバスに対するビジィエンドで起動し、その後にチャネルバスから起動要求を受けたときに停止する。 (4) The magnetic tape control unit 10 is provided with a route control unit 46, and has a function as a channel switch for selecting one of the ports based on a start request from the channel bus to the port A or the port B. Ports A and B are provided with timers 52 and 58, respectively. The timers 52 and 58 start at a busy end to the channel bus from the ports A and B, and then stop when receiving a start request from the channel bus.

 タイマ52,58により計測される起動時間は、より正確には、チャネルバスに対しビジィ応答を行った後に他のポートの結合終了に伴ってビジィエンドを応答した時点から、このビジィエンドを受けたビジィ解除待ちのチャネル装置からの起動要求がポートで受信されるまでの時間となる。したがって起動時間そのものはチャネル装置がビジィ解除待ちの状態でユニットエンドを受信して再度起動要求を発行する時間を表わすことになり、チャネルバスの転送速度に依存する。 More precisely, the start-up time measured by the timers 52 and 58 is from the time when the busy end is responded with the completion of the connection of the other port after the busy response is made to the channel bus, and the busy release receiving the busy end is started. This is the time until an activation request from the waiting channel device is received by the port. Therefore, the start-up time itself represents the time when the channel device receives the unit end and issues the start-up request again in the busy release waiting state, and depends on the transfer speed of the channel bus.

 ここで、ポートAは低速チャネルバス18−1に接続された低速ポートであり、ポートBは高速チャネルバス18−2に接続された高速ポートとなっている。このため、タイマ52で計測される低速ポートAの起動時間T1は、タイマ58で計測される高速ポートBの起動時間T2より長い時間となる。起動時間計測記憶部48は、タイマ52,58による低速ポートAの起動時間T1と高速ポートBの起動時間T2を記憶する。 Here, the port A is a low-speed port connected to the low-speed channel bus 18-1, and the port B is a high-speed port connected to the high-speed channel bus 18-2. Therefore, the activation time T1 of the low-speed port A measured by the timer 52 is longer than the activation time T2 of the high-speed port B measured by the timer 58. The activation time measurement storage unit 48 stores the activation time T1 of the low-speed port A and the activation time T2 of the high-speed port B by the timers 52 and 58.

 更に磁気テープ制御ユニット10には、ビジィ率計測記憶部50が設けられている。ビジィ率計測記憶部50は、ポートAに設けた起動数カウンタ54とビジィ数カウンタ56、およびポートBについて設けた起動数カウンタ60とビジィ数カウンタ62のそれぞれの計数値を用いて、ポートA,Bごとにビジィ率R1,R2を算出して記憶する。 The magnetic tape control unit 10 further includes a busy ratio measurement storage unit 50. The busy ratio measurement storage unit 50 uses the count values of the start number counter 54 and the busy number counter 56 provided for the port A, and the start number counter 60 and the busy number counter 62 provided for the port B, and calculates the values of the ports A, The busy ratios R1 and R2 are calculated and stored for each B.

 例えばポートAを例にとると、起動数カウンタ54はポートAに対するチャネルバス18−1からの起動要求があるごとにカウントアップされ、ポートAに対する運用中の起動要求の総数を表わす。ビジィ数カウンタ56は、ポートAに対する起動要求のうち、他のポートBが結合中でビジィ応答を行った回数を計数する。 Taking port A as an example, the number-of-activations counter 54 is counted up every time there is an activation request for the port A from the channel bus 18-1, and represents the total number of active activation requests for the port A. The busy number counter 56 counts the number of times that the other port B has made a busy response during the connection among the activation requests to the port A.

 ビジィ率計測記憶部50は、起動数カウンタ54がカウントアップするごとに、即ち起動要求があるごとに、そのときの起動数カウンタ54の値でビジィ数カウンタ56の値を割って、ポートAのビジィ率R1を算出する。この点は、ポートBの起動数カウンタ60およびビジィ数カウンタ62についても同様であり、起動要求を受けるごとにビジィ数カウンタ62の値を起動数カウンタ60の値で割って、ポートBのビジィ率R2を算出して記憶する。 The busy ratio measurement storage unit 50 divides the value of the busy number counter 56 by the value of the number-of-starts counter 54 each time the number-of-starts counter 54 counts up, that is, every time there is a start request, The busy ratio R1 is calculated. This point is the same for the start number counter 60 and the busy number counter 62 of the port B. Every time the start request is received, the value of the busy number counter 62 is divided by the value of the start number counter 60, and the busy rate of the port B is calculated. Calculate and store R2.

 更に、起動時間計測記憶部48にあっては、タイマ52,58で計測されたポートA,Bの起動時間T1,T2をそのまま記憶するのではなく、起動時間はそのときの状況により異なることから、最大時間Tmax ,最小時間Tmin および平均時間Tavに分けて記憶する。最大時間Tmax の記憶は、前回までに得られた最大時間Tmax と今回得られた起動時間Tを比較し、起動時間Tが大きければ、それまでの最大時間Tmax を更新し、小さければ、それまでの最大時間Tmax を残す。最小時間Tmin についても同様にして更新する。 Furthermore, in the start-up time measurement storage unit 48, the start-up times T1 and T2 of the ports A and B measured by the timers 52 and 58 are not stored as they are, but the start-up time differs depending on the situation at that time. , Maximum time Tmax, minimum time Tmin and average time Tav. The maximum time Tmax is stored by comparing the maximum time Tmax obtained up to the previous time with the activation time T obtained this time. If the activation time T is large, the maximum time Tmax up to that time is updated. The maximum time Tmax is left. The minimum time Tmin is similarly updated.

 平均時間Tavについては、現時点までの起動時間の総和を起動要求回数で割ることで求めることができる。全ての起動時間の総和をとった場合には、データビット長が大きくなりすぎることから、一定数の起動時間ごとの移動平均を計算することが望ましい。 The average time Tav can be obtained by dividing the sum of the activation times up to the present time by the number of activation requests. If the sum of all the start-up times is taken, the data bit length becomes too large, so it is desirable to calculate a moving average for each fixed number of start-up times.

 ルート制御部46は、高速ポートBに起動要求を受けると、ポートAが非結合状態にあっても直ちに結合完了応答を行わず、ビジィ率計測記憶部50を参照して、ポートAとポートBのビジィ率R1,R2を比較し、ビジィ率R1,R2が同じになるようにルート制御を行う。通常、低速ポートA側のビジィ率R1が大きく、高速ポートBのビジィ率R2が小さいことから、ビジィ率の大きい低速ポートAの起動時間T1を起動時間計測記憶部48から読み出し、読み出した低速ポートAの起動時間T1に亘って、ポートBは低速ポートAに対する起動要求の待ち時間を設定する。 Upon receiving the activation request from the high-speed port B, the route control unit 46 does not immediately perform the connection completion response even if the port A is in the non-connection state, and refers to the busy rate measurement storage unit 50 to Are compared, and the route control is performed so that the busy rates R1 and R2 become the same. Normally, since the busy rate R1 of the low-speed port A is large and the busy rate R2 of the high-speed port B is small, the activation time T1 of the low-speed port A having the large busy rate is read from the activation time measurement storage unit 48, and the read low-speed port is read. The port B sets a waiting time for a start request to the low-speed port A over the start time T1 of A.

 このポートAに対する起動要求の待ち時間T1の間に低速ポートAに対し起動要求があると、ルート制御部46はポートAをチャネルバス18−1に結合して転送処理を行い、先に起動要求のあった高速ポートBについては、ビジィ応答を返すようになる。この結果、ビジィ率の高い低速ポートA側が優先的に起動要求を受け入れられることになり、高速ポートBとのビジィ率をほぼ等しくさせることができる。 When there is an activation request to the low-speed port A during the waiting time T1 of the activation request to the port A, the route control unit 46 couples the port A to the channel bus 18-1 to perform a transfer process, and first executes the activation request. With respect to the high-speed port B having the error, a busy response is returned. As a result, the low-speed port A having a high busy rate can preferentially receive the activation request, and the busy rate with the high-speed port B can be made substantially equal.

 また起動時間計測記憶部48には、低速ポートAの起動時間T1として最大時間Tmax ,平均時間Tavおよび最小時間Tmin が記憶されていることから、ポートA,Bのビジィ率R1,R2の関係から、例えば次のように低速ポートAに対する起動要求の待ち時間を設定する。 Further, since the maximum time Tmax, the average time Tav, and the minimum time Tmin are stored in the activation time measurement storage unit 48 as the activation time T1 of the low-speed port A, the relationship between the busy rates R1 and R2 of the ports A and B is determined. For example, the waiting time of the activation request to the low-speed port A is set as follows.

   1)R1>R2の場合は、最大時間Tmax を待ち時間に設定する。 1) If R1> R2, set the maximum time Tmax as the waiting time.

   2)R1=R2の場合は、平均時間Tavを待ち時間に設定する。 2) If R1 = R2, set the average time Tav as the waiting time.

   3)R1<R2の場合は、最小時間Tmin を待ち時間に設定する。 3) If R1 <R2, set the minimum time Tmin as the waiting time.

 図6は、図5の磁気テープ制御ユニット10における起動時間計測処理のタイムチャートである。いま、ホストコンピュータ14−2がスタートI/O要求100をポートBに発行すると、このときポートAは使用されていないことから、正常終了を示す結合完了応答102が返され、チャネルBおよびポートBが転送処理104,106を行う。 FIG. 6 is a time chart of the startup time measuring process in the magnetic tape control unit 10 of FIG. Now, when the host computer 14-2 issues a start I / O request 100 to the port B, since the port A is not used at this time, a coupling completion response 102 indicating a normal end is returned, and the channel B and the port B Perform transfer processing 104 and 106.

 この転送処理104,106の間に、低速チャネルAからスタートI/O要求108が行われたとすると、低速ポートAからビジィ応答110が返される。転送処理が済むと、高速ポートBよりユニットエンド112が高速チャネルBに報告され、続いて低速ポートAよりビジィ解除待ちにある低速チャネルAに対しビジィエンド114が出される。このビジィエンド114に対し低速チャネルAはビジィ解除を認識し、スタートI/O116を発行する。 If a start I / O request 108 is made from the low-speed channel A during the transfer processes 104 and 106, a busy response 110 is returned from the low-speed port A. When the transfer processing is completed, the unit end 112 is reported from the high-speed port B to the high-speed channel B, and then the busy end 114 is issued from the low-speed port A to the low-speed channel A waiting for the busy release. In response to the busy end 114, the low-speed channel A recognizes the release of the busy state and issues a start I / O 116.

 図5のタイマ58は、この低速ポートAにおけビジィエンド114からスタートI/O要求116を受けるまでの時間T1を起動時間として計測する。スタートI/O要求116を受けた低速ポートAは、正常終了を示す結合完了応答118を出し、低速チャネルAおよび低速ポートAで転送処理120,122を行う。 (5) The timer 58 in FIG. 5 measures the time T1 until the start I / O request 116 is received from the busy end 114 at the low-speed port A as the activation time. The low-speed port A that has received the start I / O request 116 issues a connection completion response 118 indicating normal termination, and performs transfer processing 120 and 122 on the low-speed channel A and the low-speed port A.

 この転送処理120,122の間に、高速チャネルBからスタートI/O要求124が行われたとすると、高速ポートBからビジィ応答126が返される。転送処理が済むと、低速ポートAよりユニットエンド128が低速チャネルAに報告され、続いて高速ポートBよりビジィ解除待ちにある高速チャネルBに対しビジィエンド130が出される。このビジィエンド130に対し高速チャネルBはビジィ解除を認識し、スタートI/O132を発行する。 (4) If a start I / O request 124 is made from the high-speed channel B during the transfer processes 120 and 122, a busy response 126 is returned from the high-speed port B. When the transfer process is completed, the low-speed port A reports the unit end 128 to the low-speed channel A, and then the high-speed port B issues the busy end 130 to the high-speed channel B waiting for the busy release. In response to the busy end 130, the high-speed channel B recognizes the release of the busy state and issues a start I / O 132.

 図5のタイマ60は、この高速ポートBにおけビジィエンド130からスタートI/O要求132を受けるまでの時間T2を起動時間として計測する。図7は、起動時間計測記憶部48の記憶時間を使用したルート制御部46による入出力制御である。いま高速チャネルBからスタートI/O要求142が高速ポートBに行われ、結合完了応答114により転送処理145,146を行っている間に、低速チャネルAからスタートI/O要求148があると、これはビジィ応答150となる。 (5) The timer 60 in FIG. 5 measures the time T2 until the start I / O request 132 is received from the busy end 130 at the high-speed port B as the activation time. FIG. 7 shows input / output control by the route control unit 46 using the storage time of the activation time measurement storage unit 48. Now, if a start I / O request 142 from the high-speed channel B is made to the high-speed port B and a transfer I / O request 148 from the low-speed channel A is performed while the transfer processing 145 and 146 are being performed by the coupling completion response 114, This results in a busy response 150.

 この低速チャネルAがビジィ解除待ちの状態で転送処理145,146が終了してユニットエンド146が出され、これに伴い低速ポートAからビジィエンド156が出されると、起動時間T1に基づいた待ち時間Tの設定を行う。待ち時間T0 の間に、高速チャネルBから高速ポートBに対しスタートI/O要求156が先に行われる。しかし、待ち時間T0 のに中にあるので、スタートI/O要求156は受け入れられず、待たされる。 When the low-speed channel A is in a state of waiting for the busy release, the transfer processing 145, 146 is completed and the unit end 146 is output. When the busy end 156 is output from the low-speed port A, the waiting time T based on the activation time T1 is set. Make the settings for During the waiting time T0, a start I / O request 156 from the high-speed channel B to the high-speed port B is made first. However, since it is within the waiting time T0, the start I / O request 156 is not accepted and is waited.

 続いて低速チャネルAは、ビジィエンド154を受けてからT1´時間後にスタートI/O要求158を出す。このとき磁気テープ制御ユニット10は、待ち時間Tの設定で低速ポートAに対する起動要求を優先させる待ち時間Tの間にあり、スタートI/O要求158を受け入れて結合完了応答160を返し、転送処理162,164に入る。 (4) Subsequently, the low-speed channel A issues a start I / O request 158 after a time T1 'from receiving the busy end 154. At this time, the magnetic tape control unit 10 is in the waiting time T for giving priority to the activation request to the low-speed port A in the setting of the waiting time T, accepts the start I / O request 158, returns the coupling completion response 160, and Enter 162 and 164.

 続いて高速ポートBより高速チャネルAに対し、スタートI/O要求156に対するビジィ応答166を返す。転送処理162,164が済むとユニットエンド168を出し、またビジィエンド170を出す。そして、高速チャネルBと高速ポートBの結合による転送処理174,176を行う。 Then, a high-speed port B returns a busy response 166 to the high-speed channel A in response to the start I / O request 156. When the transfer processes 162 and 164 are completed, the unit end 168 is issued and the busy end 170 is issued. Then, transfer processes 174 and 176 are performed by coupling the high-speed channel B and the high-speed port B.

 このように、高速ポートBに対する起動要求の受付時に低速ポートA側の起動時間に亘る待ち時間Tを設けて、低速ポートAに対する起動要求を待って処理を行うことで、高速ポートBに対する起動要求が連続していても、低速ポートAに対する起動要求があればこれを正常に受け付けて処理することができ、高速ポートB側にサービスが偏ってしまうことを防止できる。 As described above, when the start request to the high-speed port B is accepted, the waiting time T over the start time of the low-speed port A is provided, and the processing is performed after waiting for the start request to the low-speed port A. Even if there is a continuous request, if there is an activation request for the low-speed port A, it can be normally received and processed, and it is possible to prevent the service from being concentrated on the high-speed port B side.

 図8は、図5の磁気テープ制御ユニット10における起動時間およびビジィ率を用いた入出力制御処理のフローチャートである。 FIG. 8 is a flowchart of an input / output control process using the start-up time and the busy rate in the magnetic tape control unit 10 of FIG.

 ステップS1で起動要求があると、ステップS2に進み、高速ポートか否かチェックする。高速ポートであればステップS3に進み、例えば低速ポートで計測した起動時間T1を待ち時間Tとしてタイマにセットし、ステップS4で起動時間T1がタイムアウトするまで、ステップS5で低速ポートに対する起動要求をチェックする。 (4) If there is a start request in step S1, the process proceeds to step S2 to check whether the port is a high-speed port. If the port is a high-speed port, the process proceeds to step S3. For example, the startup time T1 measured at the low-speed port is set in the timer as the waiting time T, and a startup request for the low-speed port is checked in step S5 until the startup time T1 times out in step S4. I do.

 起動時間T1の間に低速ポートに起動要求があったことがステップS5で判別されると、ステップS6に進んで、低速ポートを低速チャネルに結合して、転送処理を開始する。同時に、ステップS7で高速ポートから高速チャネルにビジィ応答を行う。低速側での転送処理の終了がステップS8で判別されると、ステップS9でユニットエンドを低速ポートから出し、次にビジィエンドを高速ポートから出す。このため、ビジィ解除待ちにある高速ポートから再度、起動要求が行われ、再びステップS1の処理となる。 (4) If it is determined in step S5 that a low-speed port has been activated during the activation time T1, the process proceeds to step S6, in which the low-speed port is connected to the low-speed channel and transfer processing is started. At the same time, a busy response is made from the high-speed port to the high-speed channel in step S7. When it is determined in step S8 that the transfer process on the low-speed side has been completed, the unit end is output from the low-speed port in step S9, and then the busy end is output from the high-speed port. For this reason, a start request is made again from the high-speed port waiting for the busy release, and the processing in step S1 is performed again.

 一方、ステップS2で低速ポートからの起動要求が判別された場合には、ステップS10に進み、高速ポートが結合中にないことを条件に、低速ポートをチャネルに結合して転送制御を行う。もし高速ポートが結合中であれば、低速ポートより制御ユニットエンドを応答し、高速ポートの結合終了による制御ユニットエンドの応答を待って低速ポートに再度起動要求を行わせる通常の処理となる。 On the other hand, if the activation request from the low-speed port is determined in step S2, the process proceeds to step S10, and the transfer control is performed by connecting the low-speed port to the channel on condition that the high-speed port is not being connected. If the high-speed port is being connected, the control unit end is responded from the low-speed port, and the normal processing is performed in which the low-speed port issues an activation request again after waiting for the response of the control unit end due to the end of the high-speed port connection.

 図9のフローチャートは図5の起動時間計測記憶部48の処理動作であり、ポートA,Bごとに独立して処理動作を行う。例えばポートAを例にとると、ステップS1でビジィエンドの応答を判別し、ステップS2に進んで、タイマをスタートする。続いてステップS3で、ポートAに対する起動要求の受信をチェックしており、起動要求を受信するとステップS4に進み、ステップS2で起動したタイマを停止する。 9 is a processing operation of the startup time measurement storage unit 48 of FIG. 5, and the processing operation is performed independently for each of the ports A and B. For example, taking port A as an example, a busy end response is determined in step S1, and the process proceeds to step S2 to start a timer. Subsequently, in step S3, reception of a start request to port A is checked. When the start request is received, the process proceeds to step S4, and the timer started in step S2 is stopped.

 続いてステップS5で、タイマに保持されている時間を起動時間として取り込んで記憶する。次にステップS6で、今回計測した起動時間を含めた平均時間Tavを算出し、ステップS7で、最小時間の条件を満足すれば現在の最小時間Tmin を更新し、またステップS8で、最大時間の条件を満足すれば最大時間Tmaxを更新する。 Subsequently, in step S5, the time held in the timer is fetched and stored as the activation time. Next, in step S6, the average time Tav including the startup time measured this time is calculated. In step S7, if the condition of the minimum time is satisfied, the current minimum time Tmin is updated. If the condition is satisfied, the maximum time Tmax is updated.

 図10のフローチャートは、図8のステップS3で低速ポートの起動時間T1をタイマにセットする際の詳細を示す。まずステップS1で、起動要求を受けた高速ポートBのビジィ率R2と、要求待ちにある低速ポートAのビジィ率R1を算出する。このビジィ率R1,R2のそれぞれは、図4のポートA,Bのそれぞれに設けたビジィ数カウンタ56,62の計数値を起動数カウンタ54,60の計数値で割って得たビジィ率計測記憶部50に格納している値である。続いてステップS2で、低速ポートAのビジィ率R1と高速ポートBのビジィ率R2の大小関係を比較する。低速ポートのビジィ率R1が高速ポートのビジィ率R2より大きければ、ステップS3に進み、起動時間計測記憶部48に格納している低速ポートAの起動時間の内の最大時間Tmax を待ち時間としてセットする。低速ポートのビジィ率R1と高速ポートのビジィ率R2が等しい場合には、ステップS4で低速ポートの起動時間の平均時間Tavを待ち時間にセットする。更に、低速ポートのビジィ率R1が高速ポートのビジィ率R2より小さいときは、ステップS5に進み、低速ポートの起動時間の内の最小時間Tmin を待ち時間にセットする。 フ ロ ー チ ャ ー ト The flowchart of FIG. 10 shows the details of setting the low-speed port startup time T1 in the timer in step S3 of FIG. First, in step S1, the busy rate R2 of the high-speed port B receiving the activation request and the busy rate R1 of the low-speed port A waiting for the request are calculated. Each of the busy ratios R1 and R2 is a busy ratio measurement storage obtained by dividing the count values of the busy number counters 56 and 62 provided in the ports A and B of FIG. This is the value stored in the unit 50. Subsequently, in step S2, the magnitude relationship between the busy rate R1 of the low-speed port A and the busy rate R2 of the high-speed port B is compared. If the busy rate R1 of the low-speed port is larger than the busy rate R2 of the high-speed port, the process proceeds to step S3, where the maximum time Tmax of the startup time of the low-speed port A stored in the startup time measurement storage unit 48 is set as the waiting time. I do. If the busy rate R1 of the low-speed port is equal to the busy rate R2 of the high-speed port, the average time Tav of the activation time of the low-speed port is set to the waiting time in step S4. Further, when the busy rate R1 of the low-speed port is smaller than the busy rate R2 of the high-speed port, the process proceeds to step S5, and the minimum time Tmin of the activation time of the low-speed port is set as the waiting time.

 尚、図10による高速ポートと低速ポートのビジィ率に基づいた起動時間の待ち時間へのセットに限定されず、高速ポートのビジィ率と低速ポートのビジィ率がほぼ等しくなるように待ち時間を決める適宜の方式を採用することができる。例えば、低速ポートの起動時間として平均時間Tavのみを使用し、ステップS3,S5の最大時間または最小時間の代わりに平均時間に所定の重み係数を掛け合わせた時間を求めてセットするようにしてもよい。 Note that the waiting time is not limited to the setting of the startup time based on the busy rate of the high-speed port and the low-speed port shown in FIG. 10, but the waiting time is determined so that the busy rate of the high-speed port and the busy rate of the low-speed port become substantially equal. An appropriate method can be adopted. For example, only the average time Tav is used as the activation time of the low-speed port, and the time obtained by multiplying the average time by a predetermined weighting factor instead of the maximum time or the minimum time in steps S3 and S5 is determined and set. Good.

 図11は本発明の変形実施例である。この実施例は、高速ポートのユニットエンドの際に、低速ポートから低速チャネルにビジィエンドを応答してから起動要求を受信するまでの起動時間を計測し、その後の高速ポートBに対する高速チャネルからの起動要求を、計測した起動時間に亘り待たせ、その間に低速ポートに対する低速チャネルから処理要求を受け付けるようにしたことを特徴とする。 FIG. 11 shows a modified embodiment of the present invention. In this embodiment, at the time of unit end of a high-speed port, a start-up time from a response of a busy end from a low-speed port to a low-speed channel to the reception of a start-up request is measured. The request is made to wait for the measured start-up time, and a processing request is received from a low-speed channel for a low-speed port during that time.

 図11において、低速ポートAに対しては起動時間計測部230が設けられる。起動時間計測部230は、図6のタイムチャートと同様に、低速ポートAが低速チャネルAにビジィエンドを出してからスタートI/O要求(起動要求)を受けるまでの起動時間Tを計測する。待ち時間決定部232は、起動時間計測部230の計測時間Tに基づいて、ルート制御部46における待ち時間T0 を設定する。この待ち時間T0 の設定は、計測時間Tと同じ時間あってもよい。 In FIG. 11, a startup time measuring unit 230 is provided for the low-speed port A. The start-up time measuring unit 230 measures the start-up time T from when the low-speed port A issues a busy end to the low-speed channel A until it receives a start I / O request (start-up request), as in the time chart of FIG. The waiting time determining unit 232 sets a waiting time T0 in the route control unit 46 based on the measured time T of the activation time measuring unit 230. The setting of the waiting time T0 may be the same as the measurement time T.

 また計測時間Tに応じて待ち時間T0 を可変設定してもよい。通常、計測時間Tに対し実際の待ち時間T0 を長めにした方が、低速側へのサービスの割付けが有効にできるので、例えば計測時間Tに1以上の所定の係数Kを掛け合せた待ち時間T0 を可変設定する。 The waiting time T0 may be variably set according to the measurement time T. Normally, if the actual waiting time T0 is made longer than the measuring time T, the service allocation to the low-speed side can be made effective. For example, the waiting time T0 obtained by multiplying the measuring time T by a predetermined coefficient K of 1 or more is used. Is set variably.

 更に、待ち時間T0 をオペレータの入力操作により設定してもよい。このため待ち時間決定部232に対し、外部に表示部234と入力部236が設けられる。表示部234と入力部236の機能は、図4のデバイスインタフェース25、CRT35及びキーボード45で実現される。 (4) The waiting time T0 may be set by an operator's input operation. Therefore, a display unit 234 and an input unit 236 are provided outside the waiting time determination unit 232. The functions of the display unit 234 and the input unit 236 are realized by the device interface 25, the CRT 35, and the keyboard 45 in FIG.

 オペレータは、入力部236の操作で待ち時間決定部323に設定された現在の待ち時間T0 を表示部234に読出し表示し、そのときの各チャネルのビジィ状態やホストコンピュータの運用形態を考慮し、任意の待ち時間T0 を入力し、待ち時間決定部232に設定する。 The operator reads out and displays the current waiting time T0 set in the waiting time determination unit 323 by operating the input unit 236 on the display unit 234, and considers the busy state of each channel and the operation mode of the host computer at that time. An arbitrary waiting time T0 is input and set in the waiting time determination unit 232.

 ルート制御部46は、高速ポートBの転送終了でユニットエンドを応答すると、待ち時間設定部232から与えられる待ち時間T0 に亘り、高速ポートBに起動要求があってもビジィ応答を出して待たせる。この待ち時間T0 の間に、低速ポートAに起動要求があれば、直ちに受け付けて転送処理を行う。 When the route control unit 46 responds with a unit end at the end of the transfer of the high-speed port B, it issues a busy response even if there is a start request to the high-speed port B for the waiting time T0 given by the waiting time setting unit 232, and waits. . If there is an activation request to the low-speed port A during this waiting time T0, it is immediately accepted and the transfer process is performed.

 待ち時間T0 がタイムアップするか、又は低速ポートAの転送終了でユニットエンドとなると、高速ポートBからビジィエンドを出し、高速チャネルに再度起動要求を行わせて受け付けることになる。
When the waiting time T0 has timed out or the unit ends at the end of transfer of the low-speed port A, a busy end is issued from the high-speed port B, and a high-speed channel is again requested to start and accepted.

3.ビジィ応答−ビジィエンドの循環チェック処理
 図12は本発明の他の実施例である。この実施例は、高速ポートでの連続的な起動要求により、低速ポート側がビジィエンド(ビジィ解除応答)に基づく起動要求に対しビジィ応答を繰り返してしまうビジィ応答−ビジィエンドの循環状態を検出して、低速ポートに優先的にサービスを割り付けるようにしたことを特徴とする。
3. Busy Response-Busy End Circulation Check Process FIG. 12 shows another embodiment of the present invention. In this embodiment, a continuous response to a start request from a high-speed port causes the low-speed port to repeat a busy response to a start request based on a busy end (busy release response). A service is preferentially assigned to a port.

 磁気テープ制御ユニット10の低速ポートAおよび高速ポートBのそれぞれには、カウンタ64,66が設けられる。カウンタ64,66は、ビジィエンドの応答と、応答したビジィエンドに基づく起動要求に対するビジィ応答が行われることで1つカウントアップされる。即ち、1回のビジィ応答−ビジィエンドの循環を検出してカウントアップする。 (4) Each of the low-speed port A and the high-speed port B of the magnetic tape control unit 10 is provided with a counter 64, 66. The counters 64 and 66 are incremented by one when a busy end response and a busy response to an activation request based on the responded busy end are performed. In other words, one circulation of busy response-busy end is detected and counted up.

 循環数判定部68は、カウンタ64,66の計数値、即ちビジィ応答−ビジィエンドの循環回数が所定値に達したか否か判定している。循環数判定部68でカウンタ64またはカウンタ66の計数値が所定値に達したことが判定されると、この判定出力を受けてルート制御部46が、循環数が所定数を越えたポートAまたはポートBに対し優先的に起動要求を受け付けるように制御する。 The circulation number determination unit 68 determines whether or not the count value of the counters 64 and 66, that is, the number of circulation times of the busy response-busy end has reached a predetermined value. When the circulation number determination unit 68 determines that the count value of the counter 64 or the counter 66 has reached the predetermined value, the route control unit 46 receives this determination output and the port A or the port A whose circulation number exceeds the predetermined number. Control is performed such that a start request is preferentially received for port B.

 図13のフローチャートは、図12の処理動作である。まずステップS1で、ポートAまたはポートBに対する起動要求の有無をチェックしている。起動要求があると、他のポートと結合中にないことを条件にチャネルに結合して転送処理を行う。ステップS3で転送処理を終了すると、ステップS4でユニットエンドを応答する。 フ ロ ー チ ャ ー ト The flowchart of FIG. 13 shows the processing operation of FIG. First, in step S1, it is checked whether there is a start request for port A or port B. When there is an activation request, the transfer processing is performed by connecting to the channel on condition that it is not being connected to another port. When the transfer process is completed in step S3, a unit end is returned in step S4.

 このときビジィ応答を行っていたポートがあれば、そのポートからビジィエンドを応答する。このため、他のポートでもしステップS2の結合による転送中に起動要求が行われてビジィ応答が済んでいると、ステップS4のビジィエンドで図12に示した対応するカウンタがビジィ応答−ビジィエンドの循環数を1つカウントアップすることになる。 At this time, if there is a port that has been busy responding, a busy end is responded from that port. For this reason, if the start request is made and the busy response is completed during the transfer due to the connection in step S2 at the other port, the corresponding counter shown in FIG. 12 at the busy end in step S4 changes the busy response-busy end circulation. The number is counted up by one.

 次にステップS5で、ビジィ応答−ビジィエンドの循環数が一定値を越えるポートがあるか否かチェックする。もし一定値を越えるポートがあった場合には、ステップS6に進み、一定値を越えるポートに対し起動要求の優先処理を割り付ける。そしてステップS7で起動要求を判別すると、ステップS8で優先割付けポートか否かチェックし、優先割付けポートでなければ、ステップS12でビジィ応答を返す。 Next, in step S5, it is checked whether or not there is a port whose busy response-busy end circulation number exceeds a certain value. If there is a port exceeding a certain value, the process proceeds to step S6, and priority processing of the activation request is assigned to the port exceeding the certain value. When the activation request is determined in step S7, it is checked in step S8 whether the port is a priority allocation port. If the port is not a priority allocation port, a busy response is returned in step S12.

 この結果、優先割付けポートに対する起動要求のみが受け付けられて、ステップS9でチャネルバスとの結合により転送処理が行われることになる。ステップS10で優先割付けポートの転送処理が終了すると、ステップS11で、優先割付けポートに設けている循環数カウンタをリセットし、ユニットエンドを応答する。このときステップS12でビジィ応答により待ち状態となっている他のポートがあれば、そのポートからビジィエンドを出して起動要求を行わせる。
As a result, only the activation request for the priority assignment port is accepted, and the transfer process is performed by coupling with the channel bus in step S9. When the transfer processing of the priority assignment port is completed in step S10, the circulation number counter provided in the priority assignment port is reset in step S11, and a unit end is returned. At this time, if there is another port that is in a waiting state due to a busy response in step S12, a busy end is issued from that port to make an activation request.

4.時系列処理
 図14は、本発明の他の実施例である。この実施例は、あるポートの結合中における他のポートのビジィ応答の時刻を記憶しておき、結合終了時にビジィ応答時刻の最も古いポートに優先的にサービスを割り付けるようにしたことを特徴とする。
4. FIG. 14 shows another embodiment of the present invention. This embodiment is characterized in that the busy response time of another port during the connection of a certain port is stored, and the service is preferentially assigned to the port with the oldest busy response time at the end of the connection. .

 磁気テープ制御ユニット10には、ポートA,ポートBおよびルート制御部46に加えて、ビジィ応答時刻記憶部70と処理ポート決定部72が設けられる。ビジィ応答時刻記憶部70は、ポートAまたはポートBの結合中に他のポートに起動要求が行われてビジィ応答を行った時刻を記憶する。この実施例は、ポートA,ポートBの2つであることから、ポートAの結合中はポートBの応答時刻を記憶し、ポートBの結合中はポートAの応答時刻を記憶する。 The magnetic tape control unit 10 includes a busy response time storage unit 70 and a processing port determination unit 72 in addition to the ports A and B and the route control unit 46. The busy response time storage unit 70 stores a time at which a start response was issued to another port during connection of the port A or the port B and a busy response was performed. In this embodiment, since there are two ports, port A and port B, the response time of port B is stored during the connection of port A, and the response time of port A is stored during the connection of port B.

 処理ポート決定部72は、結合中のポートの転送処理が終了してユニットエンドを応答した際に、ビジィ応答時刻記憶部70を参照し、記憶しているビジィ応答時刻の中の最も古い時刻をもつポートを、次に起動要求を優先的に処理ポートとして決定して、ルート制御部46に通知する。ルート制御部46は、処理ポート決定部72で決定されたポートからの起動要求を優先的に処理する。 The processing port determination unit 72 refers to the busy response time storage unit 70 when the transfer process of the port being combined is completed and responds to the unit end, and determines the oldest time among the stored busy response times. Then, the start request is preferentially determined as the processing port, and is notified to the route control unit 46. The route control unit 46 preferentially processes the activation request from the port determined by the processing port determination unit 72.

 この実施例では、ポートA,ポートBの2つしかないことから、ポートAの結合中にポートBがビジィ応答を行うと、処理ポート決定部72は次に優先受け付けるポートとしてポートBを決定し、ルート制御部46はポートAからの起動要求に対してはビジィ応答を行い、ポートBからの起動要求のみを受け付ける。この結果、ポートAが低速ポート、ポートBが高速ポートであっても、それぞれの連続した起動要求に対し、ルート制御部46は交互に起動要求を受け付けることができ、低速ポートAと高速ポートBのビジィ率をほぼ均一にすることができる。 In this embodiment, since there are only two ports A and B, if the port B makes a busy response during the connection of the port A, the processing port determination unit 72 determines the port B as the next port to receive priority. The route control unit 46 makes a busy response to the activation request from the port A, and accepts only the activation request from the port B. As a result, even if the port A is a low-speed port and the port B is a high-speed port, the route control unit 46 can alternately receive a start request for each successive start request, and the low-speed port A and the high-speed port B Can be made substantially uniform.

 実際には図3の実施例のように、磁気テープ制御ユニット10にはポートA〜Hの8つのポートが設けられており、この場合には、あるポートの結合中に残り7つのポートのいずれかに起動要求があれば、そのときのビジィ応答時刻が記憶される。そして、現在の転送処理が終了してユニットエンドとなった場合には、複数のビジィ応答時刻の中の最も古い時刻をもつポートからビジィエンドを出すことで、起動要求の受付けが割り付けられることになる。 Actually, as in the embodiment of FIG. 3, the magnetic tape control unit 10 is provided with eight ports A to H. In this case, any one of the remaining seven ports is connected during the connection of a certain port. If there is an activation request, the busy response time at that time is stored. When the current transfer processing is completed and the unit ends, the start request is accepted by allocating the busy end from the port having the oldest time among the plurality of busy response times. .

 図15のフローチャートは、図14の処理動作である。ステップS1で、複数のポートに対する起動要求を監視しており、特定のポートに起動要求があると、ステップS2で、ポートをチャネルバスに結合して転送処理を行う。ステップS3で転送処理の終了をチェックしており、転送を終了すると、ステップS4で、結合中のポートからユニットエンドを応答する。 フ ロ ー チ ャ ー ト The flowchart of FIG. 15 shows the processing operation of FIG. In step S1, a start request for a plurality of ports is monitored. If there is a start request for a specific port, in step S2, the port is connected to a channel bus to perform a transfer process. In step S3, the end of the transfer process is checked. When the transfer is completed, in step S4, a unit end is returned from the port being connected.

 このステップS1〜S4において、あるポートの結合中に他のポートから起動要求があれば、ビジィ応答時刻記憶部70に応答時刻が記憶されている。そこで、ユニットエンドを応答した後のステップS5で、ビジィ応答時刻の中から最も古い時刻のポートを処理ポートとして決定し、ステップS6で、決定ポートからビジィエンドを出す。このビジィエンドを受けたビジィ解除待ちチャネルは、起動要求を再度発行する。 In steps S1 to S4, if there is an activation request from another port during connection of a certain port, the response time is stored in the busy response time storage unit 70. Therefore, in step S5 after responding with the unit end, the port with the oldest time among the busy response times is determined as the processing port, and in step S6, the busy end is output from the determined port. The busy release waiting channel receiving this busy end issues the activation request again.

 続いてステップS7で起動要求をチェックしており、起動要求があると、ステップS8で優先割付けポートか否かチェックする。優先割付けポートでなければ、ステップS12でビジィ応答を返す。この結果、優先割付けポートに対する起動要求のみが受け付けられ、ステップS9で、チャネルバスに結合して転送処理が行われる。 (5) Subsequently, the activation request is checked in step S7. If there is an activation request, it is checked in step S8 whether or not the port is a priority allocation port. If the port is not the priority allocation port, a busy response is returned in step S12. As a result, only the activation request for the priority assignment port is accepted, and in step S9, the transfer processing is performed by coupling to the channel bus.

 ステップS10で転送処理の終了が判別されると、ステップS11で、処理ポートのビジィ応答時刻をリセットし、ユニットエンドを応答してステップS13に戻り、ビジィ応答時刻の記録が残っていれば再びステップS5に戻り、残っているビジィ応答時刻の中の最も古い応答時刻をもつポートを処理ポートとして決定してビジィエンドを出す処理を繰り返す。ビジィ応答時刻が残っていなければ、再びステップS1に戻る。
If the end of the transfer process is determined in step S10, the busy response time of the processing port is reset in step S11, the unit end is returned, and the process returns to step S13. If the busy response time remains, the process returns to step S13. Returning to S5, the process of determining the port having the oldest response time among the remaining busy response times as the processing port and issuing the busy end is repeated. If no busy response time remains, the process returns to step S1.

5.再試行割込み処理その1
 図16は、本発明の他の実施例である。この発明の実施例は、あるポートがチャネルとの結合中に他のポートに起動要求が来たら、ビジィを応答する代わりにチャネル動作の再試行を要求するステータスを応答して、現在処理中の転送処理が終了したら、再試行要求をステータス応答したチャネルに対し再試行開始の割込み要求を行って、再結合するようにしたことを特徴とする。
5. Retry interrupt processing 1
FIG. 16 shows another embodiment of the present invention. Embodiments of the present invention provide a method for responding to a status requesting a retry of a channel operation instead of responding to a busy state when a request for activation is received from another port while one port is associated with a channel. Upon completion of the transfer process, a retry start interrupt request is issued to the channel that has responded to the retry request with the status, and reconnection is performed.

 磁気テープ制御ユニット10には、ポートA,ポートBおよびルート制御部46に加えて再試行割込み処理部74が設けられる。再試行割込み処理部74は、例えばポートAの結合中にポートBに起動要求が来たら、通常はビジィ応答を返していたが、この第4発明にあっては、チャネル動作の再試行を要求するステータスを応答し、ポートBのチャネルバスとの結合を一旦切り離す。 The magnetic tape control unit 10 is provided with a retry interruption processing unit 74 in addition to the port A, the port B, and the route control unit 46. The retry interrupt processing unit 74 normally returns a busy response when, for example, a start request comes to the port B during the connection of the port A. In the fourth invention, the retry interrupt processing unit 74 requests the retry of the channel operation. The port B is temporarily disconnected from the channel bus.

 次に、ポートAの結合による転送処理が終了してユニットエンドが応答されたら、再試行要求のステータスを応答したチャネルBに対し再試行開始の割込み要求を行って再結合する。このような再試行割込み処理部74による起動要求に対する再試行要求ステータスの応答を受けたチャネル装置は、チャネル動作の再試行開始の待ち状態に入り、その後、再試行開始の割込み応答を受けると、再度、起動要求からのコマンドシーケンスを開始して再結合する。 Next, when the transfer processing by the connection of the port A is completed and the unit end is responded, an interrupt request for starting retry is made to the channel B which has responded with the status of the retry request, and reconnection is performed. The channel device that has received the response of the retry request status in response to the activation request by the retry interrupt processing unit 74 enters a wait state of the retry start of the channel operation, and thereafter receives the interrupt response of the retry start, Again, the command sequence from the activation request is started and recombined.

 このような再試行割込み処理部74の処理により、磁気テープ制御ユニット10側でどのポートと再結合するか決定でき、各ポートに対し平均したサービスを提供できる。例えば、高速ポートBの起動要求が連続しており、高速ポートBの結合中に低速ポートAに起動要求があると、再試行割込み処理部74は再試行要求ステータスを応答し、ポートAに対するチャネル側を再試行待ち状態とする。 (5) By the processing of the retry interruption processing unit 74, the magnetic tape control unit 10 can determine which port to reconnect with, and provide an average service to each port. For example, if the activation request for the high-speed port B is continuous and if the activation request is issued to the low-speed port A during the connection of the high-speed port B, the retry interrupt processing unit 74 responds with the retry request status and Side waits for retry.

 高速ポートBの転送処理が終了してユニットエンドを応答すると、再試行割込み処理部74は低速ポートAを経由して、対応するチャネル装置側に再試行開始の割込み要求を行って再結合し、再試行開始の割込みを受けたチャネル装置から起動要求を再発行し、一連のコマンドシーケンスに従った転送処理を行う。 When the transfer processing of the high-speed port B is completed and the unit end is responded, the retry interrupt processing unit 74 issues an interrupt request for starting retry to the corresponding channel device via the low-speed port A and reconnects, and An activation request is reissued from the channel device that has received the retry start interrupt, and transfer processing is performed according to a series of command sequences.

 この結果、高速ポートB側に起動要求が連続しても、高速ポートBの結合中に生じた低速ポートAの起動要求がビジィ応答として排除されず、割込みにより強制的に低速ポートAの起動要求が受け入れられ、低速ポートAと高速ポートBに平均してサービスを提供できる。 As a result, even if the activation request continues on the high-speed port B side, the activation request for the low-speed port A generated during the connection of the high-speed port B is not excluded as a busy response, and the activation request for the low-speed port A is forcibly interrupted. Is accepted, and the low-speed port A and the high-speed port B can be provided on average.

 図17は、図16で高速ポートBの結合中に低速ポートAに起動要求があった場合の処理である。まず高速チャネルBよりスタートI/O要求200が高速ポートBに対し行われると、結合完了応答202を行った後、転送処理204,206が行われる。この転送中に低速チャネルAより低速ポートAにスタートI/O要求208があると、再試行割込みステータス応答210が行われ、低速チャネルAは再試行起動待ちに入る。 FIG. 17 shows processing when a low-speed port A is requested to be activated during the connection of the high-speed port B in FIG. First, when a start I / O request 200 is sent to the high-speed port B from the high-speed channel B, a transfer completion 204 is performed after a connection completion response 202 is sent. If there is a start I / O request 208 from the low-speed channel A to the low-speed port A during this transfer, a retry interrupt status response 210 is performed, and the low-speed channel A waits for retry activation.

 転送処理204,206が終了して制御ユニットエンド212が出されると、これに伴って低速ポートAより低速チャネルAに対し再試行開始割込み通知214が行われ、再試行開始待ち状態にある低速チャネルAより再度、スタートI/O要求216が発行される。これに対し再結合により結合完了応答218が出され、低速チャネルAと低速ポートAの間の結合で転送処理220,222が行われる。転送処理が終了すると、制御ユニットエンド224が出される。 When the transfer processing 204, 206 is completed and the control unit end 212 is output, a retry start interrupt notification 214 is sent from the low speed port A to the low speed channel A, and the low speed channel in the retry start wait state is sent. The start I / O request 216 is issued again from A. In response to this, a reconnection causes a connection completion response 218 to be issued, and transfer processes 220 and 222 are performed in connection between the low-speed channel A and the low-speed port A. When the transfer process is completed, the control unit end 224 is output.

 図18のフローチャートは、図16の実施例の処理動作である。まずステップS1で、起動要求の有無をチェックしており、特定のポートに起動要求があると、ステップS2に進み、他のポートが結合状態にないことを条件に、チャネルと結合して転送処理を行う。転送中はステップS3で転送終了が判別されるまで、ステップS4で他のポートに起動要求があるか否かチェックしている。 フ ロ ー チ ャ ー ト The flowchart in FIG. 18 shows the processing operation of the embodiment in FIG. First, in step S1, the presence or absence of a start request is checked. If there is a start request in a specific port, the process proceeds to step S2, and the transfer process is performed by connecting to a channel on condition that other ports are not in a connected state. I do. During the transfer, until it is determined in step S3 that the transfer is completed, it is checked in step S4 whether another port has a start request.

 もし起動要求があると、ステップS5に進み、起動要求を行ったチャネル装置に対し、ステップS5で、再試行ステータスを応答するか否かチェックする。ここで、現在結合中のポートが低速ポートであり、結合中に起動要求を受けたポートが高速ポートであった場合には、優先的に処理する必要がないことから、ステップS7でビジィ応答を返す。 If there is an activation request, the process proceeds to step S5, and it is checked whether or not a retry status is to be responded to the channel device which has issued the activation request in step S5. Here, if the port currently being combined is a low-speed port and the port that received the activation request during the combination is a high-speed port, there is no need to process it preferentially. return.

 一方、現在結合中のポートが高速ポートであり、結合中に起動要求を受けたポートが低速ポートであった場合には、優先的に処理する必要があることから、ステップS6に進み、再試行ステータスを応答する。 On the other hand, if the port currently being combined is a high-speed port and the port that has received the activation request during the combination is a low-speed port, processing must be given priority, so the process proceeds to step S6 and retry. Respond the status.

 ステップS7で転送終了が判別されると、ステップS8に進み、結合中のポートからユニットエンドを応答する。続いてステップS9で、転送中に再試行ステータスの応答を行ったか否かチェックし、もし行っていれば、ステップS10で、再試行ステータスの応答を行った他のポートから再試行開始の割込み要求を発行する。 (4) When it is determined in step S7 that the transfer has been completed, the process proceeds to step S8, where a unit end is returned from the port being connected. Subsequently, in step S9, it is checked whether or not a response to the retry status has been made during the transfer. If so, in step S10, an interrupt request to start the retry is issued from another port that has made the response to the retry status. Issue

 もし転送中に再試行ステータスを応答していなければ、ステップS11で、ビジィ応答を行った他のポートからユニットエンドを応答し、再びステップS1に戻る。 If the retry status has not been returned during the transfer, a unit end is returned from another port that has made the busy response in step S11, and the process returns to step S1 again.

 尚、上記の実施例は、低速ポートAと高速ポートBの2つのポートを例にとっているが、図4に示したように、ポートA〜Hの8つの場合についても同様に適用できる。ポートが3以上となった場合には、あるポートの結合中に他の複数のポートで割込み要求を受ける場合があることから、割込み要求に対する再試行割込み処理に優先順位を付け、その優先順位に従って再試行開始の割込み通知を行えばよい。
In the above embodiment, two ports, a low-speed port A and a high-speed port B, are taken as an example. However, as shown in FIG. 4, the same can be applied to eight ports A to H. When the number of ports becomes three or more, interrupt requests may be received by a plurality of other ports during the connection of a certain port. Therefore, the retry interrupt processing for the interrupt request is prioritized, and the priority is set according to the priority. What is necessary is just to notify the interruption of the retry start.

6.再試行割込み処理その2
 図19は、本発明の他の実施例である。この発明にあっては、あるポートの結合中に所定の割込み条件が成立したら、現在結合中のポートからチャネルに対し再試行要求のステータスを応答して、一旦結合を切り離す。次に、全てのポートに関しビジィ応答の状況、例えば最も新しいビジィ応答時刻やビジィ回数をチェックするか、あるいは割込み要求を解析し、どのポートに対するサービスを優先させるかを決定する。そして優先処理を決定したポートからユニットエンドを応答して、優先的に転送処理を行う。転送処理が終了したら、結合を切り離したポートから再試行開始の割込み要求を行って再結合し、一度中断した処理を再開する。
6. Retry interrupt processing 2
FIG. 19 shows another embodiment of the present invention. According to the present invention, when a predetermined interrupt condition is satisfied during the connection of a certain port, the connection is temporarily disconnected by responding the status of the retry request from the currently connected port to the channel. Next, the status of the busy response, such as the latest busy response time and the number of busy times, is checked for all the ports, or the interrupt request is analyzed to determine which port has higher priority for the service. Then, the port that has determined the priority processing responds with the unit end, and performs the transfer processing preferentially. When the transfer processing is completed, a retry start interrupt request is issued from the port from which the connection has been disconnected, the connection is re-connected, and the processing once interrupted is resumed.

 図19の実施例は、割込み条件として一定の時間間隔で割込みを発生させるようにしたことを特徴とする。磁気テープ制御ユニット10には、ポートA,ポートBおよびルート制御部46に加えて、割込みタイマ80、ビジィ応答記憶部82および再試行割込み処理部76が設けられる。割込みタイマ80は、予め定めた一定の時間間隔で再試行割込み処理部76にタイマ出力を生じ、割込み処理を行わせる。 実 施 The embodiment of FIG. 19 is characterized in that an interrupt is generated at fixed time intervals as an interrupt condition. The magnetic tape control unit 10 is provided with an interrupt timer 80, a busy response storage unit 82, and a retry interrupt processing unit 76 in addition to the port A, the port B, and the route control unit 46. The interrupt timer 80 generates a timer output to the retry interrupt processing unit 76 at predetermined time intervals, and causes the retry interrupt processing unit 76 to perform an interrupt process.

 ビジィ応答記憶部82には、ポートAとポートBのビジィ状態を示す情報として例えば最新のビジィ応答を行った時刻およびビジィ回数が記憶されている。再試行割込み処理部76は、例えば高速ポートBの結合中に割込みタイマ80のタイムアウトで割込み動作を開始し、現在結合中にある高速ポートBよりチャネル装置に対し再試行要求のステータスを応答して、一旦結合を切り離す。 The busy response storage unit 82 stores, for example, the time of the latest busy response and the number of busy times as information indicating the busy state of the port A and the port B. The retry interrupt processing unit 76 starts an interrupt operation when the interrupt timer 80 times out, for example, during the connection of the high-speed port B, and responds to the channel device from the high-speed port B that is currently being connected with the status of the retry request. , Once disconnect.

 高速ポートBとの結合を切り離した後、ビジィ応答記憶部82に記憶している全ポート、即ちポートA,ポートBのそれぞれのビジィ状態、例えばビジィ応答の最新時刻とビジィ回数を参照し、どのポートに対するサービスを優先すべきかを決定する。例えば、現在高速ポートBについては処理中であることから、他のポートとなる低速ポートAについてのビジィ時刻が最も古い時刻で、またビジィ回数がある値を示しているため、再試行割込み処理部76は低速ポートAを優先的な処理ポートと決定する。 After disconnecting the connection with the high-speed port B, all the ports stored in the busy response storage unit 82, that is, the busy state of each of the ports A and B, for example, the latest time and the number of busy times of the busy response are referred to. Determine if service for the port should be prioritized. For example, since the high-speed port B is currently being processed, the busy time for the low-speed port A, which is another port, is the oldest time and the busy count indicates a certain value. 76 determines the low-speed port A as a priority processing port.

 処理ポートを決定すると再試行割込み処理部76は、ルート制御部46を通じて、決定した処理ポートAよりチャネル装置に対しユニットエンドを応答させる。このポートAからのユニットエンドを受けて、それまでのビジィ応答により待ち状態にあるチャネル装置より起動要求が低速ポートAに対し行われ、有効に結合されて転送処理を行う。 (4) When the processing port is determined, the retry interruption processing unit 76 causes the determined processing port A to respond the unit end to the channel device through the route control unit 46. Upon receiving the unit end from the port A, an activation request is made to the low-speed port A from the channel device in the waiting state by the busy response up to that time, and the transfer is performed after being effectively coupled.

 低速ポートA側の転送処理が終了してユニットエンドが応答されると、再試行割込み処理部76は、処理を中断して切り離していた高速ポートBよりチャネル装置に対し再試行開始の割込み要求を発行する。この割込み要求を受けて、チャネル装置より高速ポートBに対し起動要求が行われ、一旦中断された転送処理が再開される。また、低速ポートAの優先的な処理を終了してユニットエンドを発行したときに、同時にビジィ応答記憶部82の低速ポートAに関するビジィ応答時刻およびビジィ回数はリセットされる。 When the transfer processing on the low-speed port A side is completed and the unit end is responded, the retry interrupt processing unit 76 interrupts the processing and issues a retry start interrupt request to the channel device from the high-speed port B that has been disconnected. Issue. In response to the interrupt request, the channel device issues an activation request to the high-speed port B, and the interrupted transfer process is resumed. When the priority processing of the low-speed port A is completed and the unit end is issued, the busy response time and the busy count for the low-speed port A in the busy response storage unit 82 are reset at the same time.

 図20のタイムチャートは、図19の再試行処理の動作である。まず、高速チャネルBよりスタートI/O要求300が高速ポートBに対し行われ、他の低速ポートAが結合中にないことから、正常終了としての結合完了応答302が返され、高速チャネルBおよび高速ポートBは転送処理304,306を行う。この転送処理中に割込みタイマによるタイマ割込み308が発生すると、高速ポートBより高速チャネルBに対し再試行ステータス応答310を出して、結合を切り離す。 タ イ ム The time chart of FIG. 20 shows the operation of the retry processing of FIG. First, a start I / O request 300 is made from the high-speed channel B to the high-speed port B, and since no other low-speed port A is being connected, a connection completion response 302 as a normal end is returned. The high-speed port B performs transfer processing 304 and 306. When a timer interrupt 308 is generated by the interrupt timer during this transfer processing, a retry status response 310 is issued from the high-speed port B to the high-speed channel B to disconnect the connection.

 結合の切離し後に、全ポートA,Bについてビジィ応答の状態をチェックし、このとき低速ポートA側にビジィ応答があった場合には、優先的に処理するポートとして低速ポートAを決定する。そして優先処理を決定したポートAより低速チャネルAに対しユニットエンド314を発行し、低速チャネルAからスタートI/O要求316を発行させる。 (4) After the connection is disconnected, the status of the busy response is checked for all ports A and B. If there is a busy response to the low-speed port A at this time, the low-speed port A is determined as a port to be processed with priority. Then, the unit A 314 is issued from the port A for which priority processing is determined to the low-speed channel A, and the start I / O request 316 is issued from the low-speed channel A.

 スタートI/O要求316は低速ポートAで正常に受け入れられ、結合完了応答318を返した後、低速チャネルAと低速ポートAの間で転送処理320,322が行われる。この転送処理が終了すると、低速ポートAよりユニットエンド324が応答され、次に結合を一旦切り離していた高速ポートBから高速チャネルBに対し再試行開始割込みの通知326が行われる。 (4) The start I / O request 316 is normally accepted by the low-speed port A, and after returning the coupling completion response 318, the transfer processing 320, 322 is performed between the low-speed channel A and the low-speed port A. When this transfer processing is completed, the unit end 324 is responded from the low-speed port A, and then a notification 326 of a retry start interrupt is sent to the high-speed channel B from the high-speed port B once disconnected.

 このため、再試行待ち状態にあった高速チャネルBからスタートI/O要求328が出され、高速ポートBで受け付けられて正常終了となって結合完了応答330を返し、一旦中断した転送処理を転送処理332,334として再開する。再開した転送処理が終了すれば、ユニットエンド336を高速ポートBから発行する。 For this reason, a start I / O request 328 is issued from the high-speed channel B that has been in the retry waiting state, is accepted by the high-speed port B, ends normally, returns a coupling completion response 330, and transfers the temporarily interrupted transfer processing. Processing is restarted as processing 332, 334. When the restarted transfer processing is completed, the unit end 336 is issued from the high-speed port B.

 このように割込み条件の成立時に、磁気テープ制御ユニット側で現在の結合を切り離してビジィ状態に応じて優先的に処理すべきポートを決定して割込み的に転送処理を行わせることで、高速ポートに対する起動要求が連続するような場合にも、低速ポート側についてビジィ−ユニットエンドの循環を防止することができる。 As described above, when the interrupt condition is satisfied, the magnetic tape control unit disconnects the current connection, determines the port to be processed preferentially according to the busy state, and performs the transfer processing in an interrupt manner, thereby enabling the high-speed port. , It is possible to prevent the busy unit end from circulating on the low-speed port side.

 図21のフローチャートは、図18の割込みタイマを用いた再試行割込み処理の処理動作である。まずステップS1で、各ポートに対する起動要求の有無をチェックしており、あるポートに起動要求があると、ステップS2に進み、他のポートと結合状態にないことを条件に、チャネルと結合して転送処理を開始する。 フ ロ ー チ ャ ー ト The flowchart in FIG. 21 shows the processing operation of the retry interrupt process using the interrupt timer in FIG. First, in step S1, it is checked whether or not there is a start request for each port. If there is a start request for a certain port, the process proceeds to step S2, and the connection with the channel is made on condition that there is no connection with other ports. Start the transfer process.

 転送中は、ステップS3で転送終了が判別されるまで、ステップS4で割込みタイマのタイムアップを監視している。転送中に割込みタイマがタイムアップしたら、ステップS5に進み、現在結合中のポートから再試行要求のステータス応答を行って結合を切り離す。次にステップS6で、全ポートのビジィ応答の要因例えば時刻と回数を解析して、優先処理ポートを決定する。 During the transfer, the time-out of the interrupt timer is monitored in step S4 until the transfer end is determined in step S3. When the time of the interrupt timer expires during the transfer, the process proceeds to step S5, where a status response of the retry request is made from the port currently being connected, and the connection is disconnected. Next, at step S6, the priority response port is determined by analyzing the factors of the busy response of all ports, for example, the time and the number of times.

 ステップS7では、決定した優先処理ポートとステップS5で切り離した切離しポートとが同一ポートか否かチェックする。同一ポートでなければ、ステップS8で、決定ポートからチャネルに対しユニットエンドを応答し、これに伴う起動要求をステップS9で受けて、ポートを結合して転送処理を行う。 In step S7, it is checked whether the determined priority processing port is the same as the disconnection port separated in step S5. If they are not the same port, in step S8, a unit end is returned from the determined port to the channel, and an activation request accompanying this is received in step S9, the ports are connected, and the transfer processing is performed.

 続いてステップS10で、割込みによる転送処理が終了すると、ステップS11で、ユニットエンドを応答して結合を切り離し、次にステップS12で、結合切離しにより再試行開始待ち状態にあるチャネル装置に対し、結合切離しポートから再試行開始の割込み要求を行う。 Subsequently, in step S10, when the transfer process by the interrupt is completed, in step S11, the connection is cut off by responding to the unit end, and then in step S12, the connection is cut off to the channel device which is in the waiting state for retry start by disconnection. A retry start interrupt request is issued from the disconnection port.

 この割込み要求を受けて、再試行開始待ち状態にあるチャネル装置より起動要求が再度行われ、これがステップS1で判別されて、ステップS2で再びポートとチャネルを結合して転送処理を再開する。再開した転送処理の終了がステップS3で判別されると、ステップS13でユニットエンドを応答して、一連の転送処理が終了する。 (4) In response to this interrupt request, a start request is made again by the channel device in the retry start waiting state. This is determined in step S1, and the port and channel are connected again in step S2 to restart the transfer process. When the end of the restarted transfer processing is determined in step S3, a unit end is returned in step S13, and a series of transfer processing ends.

 一方、ステップS6で全ポートのビジィ応答の要因を解析して決定された最優先処理ポートが、ステップS5で結合を切り離したポートと同一ポートであった場合には、直ちにステップS12に進んで、切離しポートから再試行開始の割込み要求を行って、再結合による転送処理を直ちに再開する。 On the other hand, if the highest priority processing port determined by analyzing the factors of the busy response of all ports in step S6 is the same port as the port from which the connection was disconnected in step S5, the process immediately proceeds to step S12. A retry start interrupt request is issued from the disconnection port, and the transfer processing by reconnection is immediately restarted.

 この図21のフローチャートから明らかなように、図19の高速ポートBの結合中に割込みタイマによる割込み条件が成立すると、ビジィ待ちにある低速ポートAの優先処理が決定されて、割込みにより低速ポートA側の転送処理を終了し、その後に高速ポートBの中断した転送処理を再開することになる。 As is clear from the flowchart of FIG. 21, when the interrupt condition by the interrupt timer is satisfied during the connection of the high-speed port B of FIG. 19, the priority processing of the low-speed port A in the busy waiting state is determined, and the low-speed port A is determined by the interrupt. The transfer process on the side is terminated, and then the interrupted transfer process of the high-speed port B is restarted.

 また、低速ポートA側の処理中に割込みタイマによる割込み条件が成立した場合には、ビジィ応答回数が低速ポート側に偏っていれば、最優先処理ポートとして切離しポートと同じ低速ポートAが再び最優先処理ポートに決定され、この場合には直ちに再結合のための再試行開始の割込み要求によって中断した低速ポートAでの転送処理が再開される。勿論、状況によっては低速ポートの処理中に高速ポート側の転送処理が優先的に処理されるケースもあり得る。 Also, when the interrupt condition by the interrupt timer is satisfied during the processing on the low-speed port A side, if the number of busy responses is biased toward the low-speed port side, the low-speed port A, which is the same as the disconnected port as the highest priority processing port, is re-established. The priority processing port is determined, and in this case, the transfer processing at the low-speed port A interrupted by the interrupt request for starting retry for reconnection is immediately resumed. Of course, depending on the situation, there may be a case where the transfer processing on the high-speed port side is preferentially processed during the processing on the low-speed port.

 また図19〜図21の実施例は、ポートA,Bの2つを例にとっているが、図5に示したように、実際には磁気テープ制御ユニット10には8つのポートA〜Hが設けられており、再試行割込み処理部76は割込みタイマによる割込み通知を受けた際に8つのポートA〜Hに関するビジィ応答の状態をチェックして、優先処理を行うポートを決定することになる。 In the embodiment shown in FIGS. 19 to 21, two ports A and B are used as an example. However, as shown in FIG. 5, the magnetic tape control unit 10 is actually provided with eight ports A to H. When receiving an interrupt notification from the interrupt timer, the retry interrupt processing unit 76 checks the busy response states of the eight ports A to H to determine the port for which priority processing is to be performed.

 図22は本発明の他の実施例であり、この実施例は、各ポートで一定の回数のコマンド処理を実行したことで割込み条件が成立したものと判断して再試行割込み処理を実行するようにしたことを特徴とする。 FIG. 22 shows another embodiment of the present invention. In this embodiment, it is determined that an interrupt condition has been satisfied by executing a predetermined number of command processes in each port, and a retry interrupt process is executed. It is characterized in that.

 図22において、磁気テープ制御ユニット10には低速ポートA、高速ポートB、ルート制御部46、再試行割込み処理部76、ビジィ応答記憶部82およびコマンドカウンタ84,86を設けている。コマンドカウンタ84は、低速ポートAのコマンド実行回数を計数する。コマンドカウンタ86は、高速ポートBのコマンド実行回数を計数する。 In FIG. 22, the magnetic tape control unit 10 includes a low-speed port A, a high-speed port B, a route control unit 46, a retry interruption processing unit 76, a busy response storage unit 82, and command counters 84 and 86. The command counter 84 counts the number of command executions of the low-speed port A. The command counter 86 counts the number of command executions of the high-speed port B.

 再試行割込み処理部76は、コマンドカウンタ84または86の計数値が予め定めた一定回数に達すると再試行割込み処理を実行する。例えば高速ポートBの結合による転送処理で一連のコマンドシーケンスが実行されており、コマンドカウンタ86でコマンド実行に伴ってカウントアップが行われる。このときの計数値が一定回数を越えたことを再試行割込み処理部76が判定すると、現在結合中のポートBよりチャネル装置に対し再試行要求のステータス応答を行って結合を切り離す。 The retry interrupt processing unit 76 executes a retry interrupt process when the count value of the command counter 84 or 86 reaches a predetermined number of times. For example, a series of command sequences is executed in the transfer processing by the connection of the high-speed port B, and the command counter 86 counts up as the command is executed. When the retry interrupt processing unit 76 determines that the count value at this time has exceeded a certain number, the port B that is currently being connected sends a status response of a retry request to the channel device to disconnect the connection.

 結合を切り離した後、再試行割込み処理部76は、ビジィ応答記憶部82を参照し、全てのポートA,Bについてのそれまでのビジィ応答の状況をチェックする。具体的には、ポートA,Bの各々におけるビジィ応答の最新応答時刻およびビジィ回数をチェックする。そしてビジィ応答時刻が古くビジィ応答回数の多いポートを最優先処理を行うポートとして決定する。この場合には、低速ポートAを最優先処理ポートに決定する。 (4) After disconnecting the connection, the retry interrupt processing unit 76 refers to the busy response storage unit 82 and checks the status of the previous busy response for all ports A and B. Specifically, the latest response time and the number of times of busy response of each of the ports A and B are checked. Then, a port having a long busy response time and a large number of busy responses is determined as a port for which the highest priority processing is performed. In this case, the low-speed port A is determined as the highest priority processing port.

 この決定を受けてルート制御部46は、低速ポートAよりチャネル装置にビジィエンドを応答し、ビジィエンドを受けたチャネル装置より起動要求を低速ポートAに対し行わせ、ポートAの結合により転送処理を行う。低速ポートAの割込みによる転送処理が終了すると、低速ポートAからのユニットエンドの応答に続いて再試行割込み処理部76は、高速ポートBより再試行開始の割込み要求を行い、ポートBを結合して、中断した転送処理を再開する。 In response to this determination, the route control unit 46 responds a busy end to the channel device from the low-speed port A, causes the low-speed port A to issue an activation request from the channel device that has received the busy end, and performs a transfer process by coupling the port A. . When the transfer process by the interrupt from the low-speed port A is completed, the retry interrupt processing unit 76 issues a retry start interrupt request from the high-speed port B following the unit end response from the low-speed port A, and connects the ports B. To resume the interrupted transfer process.

 再試行割込み処理の詳細は、コマンドカウンタ84,86でポートA,Bのコマンド実行回数を計数し、このコマンド実行回数が一定値に達したときに再試行割込み処理を開始する以外は、図19〜図21に示した第1実施例と同じになる。 The details of the retry interrupt process are the same as those shown in FIG. 19 except that the command counters 84 and 86 count the number of command executions of the ports A and B, and start the retry interrupt process when the number of command executions reaches a certain value. 21 is the same as that of the first embodiment shown in FIG.

 図23は本発明の他の実施例であり、この実施例は各ポートのビジィ率が一定値に達したときに再試行割込み処理を行うようにしたことを特徴とする。 FIG. 23 shows another embodiment of the present invention. This embodiment is characterized in that retry interruption processing is performed when the busy ratio of each port reaches a certain value.

 図23において、磁気テープ制御ユニット10には、低速ポートA、高速ポートB、ルート制御部46、再試行割込み処理部76、ビジィ応答記憶部82、更にビジィ率演算部88が設けられる。ビジィ率演算部88は、図4の実施例に示した起動数カウンタ54,60、ビジィ数カウンタ56,62およびビジィ率計測記憶部50で実現することができる。 In FIG. 23, the magnetic tape control unit 10 is provided with a low-speed port A, a high-speed port B, a route control unit 46, a retry interruption processing unit 76, a busy response storage unit 82, and a busy ratio calculation unit 88. The busy rate calculation unit 88 can be realized by the start number counters 54 and 60, the busy number counters 56 and 62, and the busy rate measurement storage unit 50 shown in the embodiment of FIG.

 再試行割込み処理部76は、ビジィ率演算部88で演算される低速ポートAのビジィ率R1またはポートBのビジィ率R2が、予め定めた一定値に達するか否か判断している。ビジィ率R1またはR2が一定値に達すると、再試行割込み処理を開始する。再試行割込み処理は、図19の第1実施例および図22の第2実施例と同じになる。 The retry interrupt processing unit 76 determines whether the busy ratio R1 of the low-speed port A or the busy ratio R2 of the port B calculated by the busy ratio calculating unit 88 reaches a predetermined constant value. When the busy rate R1 or R2 reaches a certain value, a retry interrupt process is started. The retry interruption process is the same as in the first embodiment of FIG. 19 and the second embodiment of FIG.

 即ち、現在結合中のポートから再試行要求のステータスを応答して、一旦結合を切り離し、ビジィ応答記憶部82を参照して、最優先に処理すべきポートを決定する。決定したポートに対してはビジィエンドを発行して、起動要求を受け付けて転送処理を行う。割込みによる転送処理が終了すると、切り離したポートに対し再試行開始の割込み要求を行って再結合し、中断した転送処理を再開する。 {That is, the status of the retry request is returned from the port currently being connected, the connection is once disconnected, and the port to be processed with the highest priority is determined by referring to the busy response storage unit 82. A busy end is issued to the determined port, and a transfer process is performed upon receiving an activation request. When the transfer process due to the interrupt is completed, an interrupt request for starting retry is issued to the disconnected port to reconnect, and the interrupted transfer process is resumed.

 尚、この実施例にあっては、ビジィ率が一定値に達して再試行割込み処理が行われた場合、全ポートのビジィ応答の状況、即ちビジィ応答の時刻、ビジィ回数から優先処理ポートを決定しているが、割込み要因となったビジィ率そのものを分析して優先処理ポートを決定してもよい。即ち、全ポートのビジィ率を分析し、最もビジィ率の高いポートを優先処理ポートに決定すればよい。これは、割込み要因そのものの分析による優先処理ポートの決定といえる。 In this embodiment, when the busy rate reaches a certain value and the retry interrupt processing is performed, the priority processing port is determined from the busy response status of all ports, that is, the busy response time and the busy count. However, the priority processing port may be determined by analyzing the busy rate itself that caused the interrupt. That is, the busy rates of all the ports may be analyzed, and the port having the highest busy rate may be determined as the priority processing port. This can be said to be the determination of the priority processing port by analyzing the interrupt factor itself.

 図19の実施例および図22の実施例についても、図23の実施例と同様、ビジィ率演算部88を設けることで、再試行割込み処理の際に全ポートのビジィ率を分析して、ビジィ率の最も高いポートを優先処理ポートに決定してもよい。
In the embodiment shown in FIG. 19 and the embodiment shown in FIG. 22, similarly to the embodiment shown in FIG. 23, by providing the busy ratio calculating section 88, the busy ratio of all ports is analyzed at the time of retry interruption processing, and the busy ratio is analyzed. The port with the highest rate may be determined as the priority processing port.

7.入出力ポートのインテリジェント化
 図24は本発明の他の実施例であり、各ポートにコマンド解析機能を設け、他のポートの処理中に実行可能なコマンドを解析して並列的に処理を行うようにしたことを特徴とする。
7. FIG. 24 shows another embodiment of the present invention, in which a command analysis function is provided for each port so that commands executable during processing of other ports are analyzed and processing is performed in parallel. It is characterized in that.

 図24において、磁気テープ制御ユニット10には、低速ポートAに対しコマンド解析実行部92が設けられ、またポートBに対しコマンド解析実行部94が設けられる。コマンド解析実行部92,94は、磁気テープ制御ユニット10と下位の磁気テープドライブユニット12−1,12−2に対し、独立した制御パス98で制御信号を供給する。 In FIG. 24, the magnetic tape control unit 10 is provided with a command analysis execution unit 92 for the low-speed port A and a command analysis execution unit 94 for the port B. The command analysis execution units 92 and 94 supply control signals to the magnetic tape control unit 10 and the lower magnetic tape drive units 12-1 and 12-2 through independent control paths 98.

 これに対し、磁気テープドライブユニット12−1,12−2側とのデータの転送はデータバス96により行われ、このデータバス96に対してはポートAとポートBを切替えるためのデータルート制御部90が設けられる。なお、既に説明した各発明の実施例にあっては、コマンド解析実行部とデータルート制御部は1つのルート制御部として磁気テープ制御ユニット10に設けられている。 On the other hand, data transfer between the magnetic tape drive units 12-1 and 12-2 is performed by a data bus 96, and a data route control unit 90 for switching the port A and the port B to the data bus 96. Is provided. In the above-described embodiments of the invention, the command analysis execution unit and the data route control unit are provided in the magnetic tape control unit 10 as one route control unit.

 ポートA,Bごとに設けたコマンド解析実行部92,94は、起動要求に伴うチャネルとの結合で受信されたコマンドを解析し、他のポートでデータ転送中にあっても実行可能なコマンドか否かを判断する。 The command analysis execution units 92 and 94 provided for each of the ports A and B analyze a command received in connection with the channel associated with the activation request, and determine whether the command can be executed even during data transfer at another port. Determine whether or not.

 他のポートの結合によるデータ転送中に実行可能なコマンドとしては、磁気テープドライブユニット12−1,12−2側での磁気テープのロード動作、アンロード動作、早送り動作、巻戻し動作などのモーション系のコマンド、および磁気テープドライブユニット12−1,12−2側の動作状態を通知するためのセンス系のコマンドなどがある。これに対し、他のポート側の結合によるデータ転送中に実行できないコマンドとしては、リードコマンドおよびライトコマンドがある。 Commands that can be executed during data transfer by coupling other ports include motion systems such as a magnetic tape load operation, an unload operation, a fast forward operation, and a rewind operation on the magnetic tape drive units 12-1 and 12-2. And a sense command for notifying the operation state of the magnetic tape drive units 12-1 and 12-2. On the other hand, commands that cannot be executed during data transfer due to coupling of other ports include a read command and a write command.

 コマンド解析実行部92,94は、他のポートの結合によるデータ転送中に起動要求を受けてモーション系またはセンス系のコマンドの受信を解析すると、ビジィ応答を行わずに結合完了応答を出して受け付け、モーション系またはセンス系のコマンドを実行する。この場合、他のポートの結合でデータ転送を行っている磁気テープドライブユニットと、並行して実行するモーション系またはセンス系コマンドの磁気テープドライブユニットとは、別ユニットでなければならない。ユニットの区別はスタートI/O要求のコマンドパラメータとして受信されるドライブ機番でチェックする。 When the command analysis execution units 92 and 94 receive a start request during data transfer due to connection of another port and analyze the reception of a motion or sense command, the command analysis execution units 92 and 94 issue a connection completion response and do not perform a busy response. , Execute motion or sense commands. In this case, the magnetic tape drive unit performing data transfer by coupling with another port and the magnetic tape drive unit of the motion or sense command executed in parallel must be different units. The unit is checked by the drive number received as a command parameter of the start I / O request.

 データ転送系と制御系およびセンス系が独立に処理可能な磁気テープ制御ユニット10と磁気テープドライブユニット12−1,12−2側の間のデバイスバスとしては、図示の制御用バス98とデータ転送用バス96の独立したバス以外に、コマンド処理とデータ転送が同時に行えるような共通バス構成を用いることもできる。 The device bus between the magnetic tape control unit 10 and the magnetic tape drive units 12-1 and 12-2, which can independently process the data transfer system, the control system, and the sense system, includes a control bus 98 shown in FIG. In addition to the independent bus 96, a common bus configuration that can simultaneously perform command processing and data transfer can be used.

 図25のフローチャートは、図24の処理動作である。まずステップS1で、ポートに対する起動要求をチェックしており、起動要求を受けると、ステップS2で、そのポートをチャネルと結合してコマンドの転送処理を行う。次にステップS3で、受信コマンドを解析する。このコマンド解析によって、データ転送を伴わないモーション系かまたはセンス系のコマンドかが判る。 フ ロ ー チ ャ ー ト The flowchart of FIG. 25 shows the processing operation of FIG. First, in step S1, an activation request for a port is checked. When the activation request is received, in step S2, the port is connected to a channel and command transfer processing is performed. Next, in step S3, the received command is analyzed. By this command analysis, it can be determined whether the command is a motion command or a sense command without data transfer.

 次のステップS4では、データ転送を伴わないコマンドか、即ちモーション系のコマンドかまたはセンス系のコマンドかを判別する。モーション系コマンドまたはセンス系コマンドであれば、ステップS5に進み、動作中の磁気テープドライブユニットがあるか否かチェックする。動作中の磁気テープドライブユニットがあれば、ステップS6で、受信コマンドの解析で得られたドライブ機番と現在動作中のドライブ機番が同一か否かチェックする。 In the next step S4, it is determined whether the command is a command without data transfer, that is, a motion command or a sense command. If the command is a motion command or a sense command, the process proceeds to step S5 to check whether there is a magnetic tape drive unit in operation. If there is an operating magnetic tape drive unit, it is checked in step S6 whether the drive number obtained by analyzing the received command is the same as the currently operating drive number.

 同一であれば、コマンドの如何に関わらず実行することはできないため、ステップS10でビジィ応答を返す。ドライブ機番が異なっていれば、モーション系コマンドまたはセンス系コマンドは実行可能であることから、ステップS7で受信コマンドを実行する。続いてステップS8で、コマンド実行に伴う一連の転送処理の終了を判別すると、ステップS9でユニットエンドを応答して、再びステップS1に戻る。勿論、ビジィ応答を行ったポートがあれば、ユニットエンドに伴ってビジィエンドを応答する。 If they are the same, they cannot be executed regardless of the command, so a busy response is returned in step S10. If the drive unit numbers are different, a motion command or a sense command can be executed, so that a reception command is executed in step S7. Subsequently, when it is determined in step S8 that a series of transfer processes accompanying the command execution has been completed, a unit end response is returned in step S9, and the process returns to step S1 again. Of course, if there is a port that has made a busy response, a busy end is responded along with the unit end.

 一方、ステップS4でデータ転送を伴うライトコマンドまたはリードコマンドであった場合には、ステップS11に進み、他のポートでデータ転送中か否かチェックする。他のポートでデータ転送中にあれば、データ転送はできないことから、ステップS12でビジィ応答を返し、ステップS1に戻る。 On the other hand, if it is a write command or a read command involving data transfer in step S4, the process proceeds to step S11, and it is checked whether data transfer is in progress on another port. If data transfer is in progress at another port, data transfer cannot be performed, so a busy response is returned in step S12, and the process returns to step S1.

 他のポートでデータ転送中でなければ、ライトコマンドまたはリードコマンドは実行可能であることから、ステップS12でコマンド実行に伴うデータ転送処理を行い、ステップS8で転送終了を終了すると、ステップS9でユニットエンドを応答して、再びステップS1の処理に戻る。 If data transfer is not in progress at another port, a write command or a read command can be executed. Therefore, data transfer processing accompanying the command execution is performed in step S12. In response to the end, the process returns to step S1.

 尚、前述した本発明の各実施例にあっては、磁気テープを記憶媒体とした磁気テープ制御ユニットおよび磁気テープドライブユニットで構成された入出力サブシステムを例にとっているが、これ以外の入出力装置として、光磁気ディスク装置、磁気ディスク装置など、適宜の入出力装置を対象とした入出力制御装置を含むものである。また本発明は、実施例に示した数値による限定は受けない。
In each of the above-described embodiments of the present invention, an input / output subsystem constituted by a magnetic tape control unit and a magnetic tape drive unit using a magnetic tape as a storage medium is taken as an example. The present invention includes an input / output control device for an appropriate input / output device, such as a magneto-optical disk device and a magnetic disk device. The present invention is not limited by the numerical values shown in the embodiments.

本発明の原理説明図Diagram for explaining the principle of the present invention 本発明の他の実施例の原理説明図Principle explanatory view of another embodiment of the present invention 本発明が適用されるシステムの構成図Configuration diagram of a system to which the present invention is applied 本発明の入出力制御ユニットのブロック図Block diagram of the input / output control unit of the present invention 本発明の実施例のブロック図Block diagram of an embodiment of the present invention 図5の起動時間の計測のタイムチャートTime chart of measurement of startup time in FIG. 図5の入出力処理のタイムチャートTime chart of input / output processing of FIG. 図5の入出力処理のフローチャートFlow chart of the input / output processing of FIG. 図5の起動時間計測のフローチャートFlow chart of the startup time measurement of FIG. 図5の待ち時間のタイマセットのフローチャートFIG. 5 is a flowchart of a waiting time timer set. 本発明の変形実施例のブロック図Block diagram of a modified embodiment of the present invention 他の発明の実施例のブロック図Block diagram of another embodiment of the invention 図12の入出力処理のフローチャートFlow chart of the input / output processing of FIG. 他の発明の実施例のブロック図Block diagram of another embodiment of the invention 図14の入出力処理のフローチャート14 is a flowchart of the input / output processing. 他の発明の実施例のブロック図Block diagram of another embodiment of the invention 図16の入出力処理のタイムチャートThe time chart of the input / output processing of FIG. 図16の入出力処理のフローチャート16 is a flowchart of the input / output processing of FIG. 他の発明の第1実施例のブロック図Block diagram of a first embodiment of another invention 図19の入出力処理のタイムチャートTime chart of input / output processing of FIG. 図19の入出力処理のフローチャート19 is a flowchart of the input / output processing. 他の発明の実施例のブロック図Block diagram of another embodiment of the invention 他の発明の実施例のブロック図Block diagram of another embodiment of the invention 他の発明の実施例のブロック図Block diagram of another embodiment of the invention 図24の入出力処理のタイムチャートTime chart of input / output processing of FIG. 24 従来装置のブロック図Block diagram of conventional device 従来の入出力制御で起きるビジィ−ユニットエンドの循環のタイムチャートTime chart of busy unit end circulation occurring in conventional input / output control 入出力ポートにクロックに同期したタイムスロットを割当てる従来制御の説明図Illustration of conventional control for allocating time slots synchronized to clocks to input / output ports

符号の説明Explanation of reference numerals

10:磁気テープ制御ユニット(入出力制御装置)
12−1〜12−8:磁気テープドライブユニット(入出力装置)
14−1〜14−8:ホストコンピュータ(上位装置)
16−1〜16−8:チャネル装置
18−1〜18−8:チャネルバス
20−1〜20−8:入出力ポート(ポート)
22:デバイスバス
24:ホストインタフェース部
25:デバイスバス
26:バッファメモリ
28:フォーマッタ部
30:通信情報メモリテーブル
32,38:MPU
34,40:ファームウェア
35:CRT
36:インタフェースプロセッサ
42:フォーマットプロセッサ
44:内部バス
45:キーボード
46:ルート制御部
48:起動時間計測記憶部
50:ビジィ率計測記憶部
52,58:タイマ
54,60:起動数カウンタ
56,62:ビジィ数カウンタ
64,66:カウンタ
68:ビジィ−ユニットエンド循環数判定部(判定部)
74,76:再試行割込み処理部
80:割込みタイマ
82:ビジィ応答記憶部
90:データルート制御部
92,94:コマンド解析実行部
96:データバス
98:制御バス
10: Magnetic tape control unit (input / output control device)
12-1 to 12-8: Magnetic tape drive unit (input / output device)
14-1 to 14-8: Host computer (upper device)
16-1 to 16-8: Channel devices 18-1 to 18-8: Channel buses 20-1 to 20-8: I / O ports (ports)
22: Device bus 24: Host interface unit 25: Device bus 26: Buffer memory 28: Formatter unit 30: Communication information memory tables 32, 38: MPU
34, 40: Firmware 35: CRT
36: interface processor 42: format processor 44: internal bus 45: keyboard 46: route control unit 48: activation time measurement storage unit 50: busy rate measurement storage unit 52, 58: timers 54, 60: activation number counters 56, 62: Busy number counters 64 and 66: Counter 68: Busy-unit end circulation number determining unit (determining unit)
74, 76: retry interrupt processing unit 80: interrupt timer 82: busy response storage unit 90: data route control unit 92, 94: command analysis execution unit 96: data bus 98: control bus

Claims (13)

 転送速度の異なるチャネルバスを介して上位装置側の複数のチャネル装置に接続された複数の入出力ポートと、
 前記複数の入出力ポートのいずれかで、起動要求に対するビジィ応答と他の入出力ポートの転送終了に伴うビジィ解除の応答とが繰り返されるループ状態の回数を計数し、該ループ回数が所定値を越えるか否か判定する判定部と、
 前記判定部でループ回数が所定値を越える入出力ポートが判定された場合、該判定入出力ポートの起動要求を優先的に処理するルート制御部と、
を設けたことを特徴とする入出力制御装置。
A plurality of input / output ports connected to a plurality of channel devices on the host device side via channel buses having different transfer speeds,
At any one of the plurality of input / output ports, the number of loops in which a busy response to the activation request and a response to the release of the busy accompanying the transfer termination of the other input / output ports are repeated is counted, and the number of loops reaches a predetermined value. A determination unit for determining whether or not to exceed;
When an input / output port whose loop count exceeds a predetermined value is determined by the determination unit, a route control unit that preferentially processes a start request of the determined input / output port;
An input / output control device comprising:
 請求項1記載の入出力制御装置に於いて、前記ルート制御部は、前記判定ポートに対する起動要求のみを受け付け、他の入出力ポートの起動要求に対してはビジィ応答することを特徴とする入出力制御装置。
2. The input / output control device according to claim 1, wherein the route control unit accepts only a start request for the determination port and makes a busy response to a start request for another input / output port. Output control device.
 転送速度の異なるチャネルバスを介して上位装置側の複数のチャネル装置に接続された複数の入出力ポートのいずれかで、起動要求に対するビジィ応答と他の入出力ポートの転送終了に伴うビジィ解除の応答とが繰り返されるループ状態の回数を計数し、該ループ回数が所定値を越えるか否か判定する判定過程と、
 前記判定過程でループ回数が所定値を越える入出力ポートが判定された場合、該判定入出力ポートの起動要求を優先的に処理するルート制御過程と、
を備えたことを特徴する入出力制御方法。
At one of a plurality of I / O ports connected to a plurality of channel devices on the host device side via channel buses with different transfer speeds, a busy response to a start request and a release of busy at the end of transfer of another I / O port A determination step of counting the number of loop states in which the response is repeated, and determining whether the number of loops exceeds a predetermined value;
When an input / output port whose loop count exceeds a predetermined value is determined in the determination step, a route control step of preferentially processing a start request of the determined input / output port;
An input / output control method characterized by comprising:
 請求項3記載の入出力制御方法に於いて、前記ルート制御過程は、前記判定ポートに対する起動要求のみを受け付け、他の入出力ポートの起動要求に対してはビジィ応答することを特徴とする入出力制御方法。
4. The input / output control method according to claim 3, wherein the route control step accepts only a start request for the determination port and makes a busy response to a start request for another input / output port. Output control method.
 転送速度の異なるチャネルバスを介して上位装置側の複数のチャネル装置に接続された複数の入出力ポートと、
 前記複数の入出力ポートの各々につき、起動要求に対するビジィ応答を行った時刻を記憶するビジィ応答時刻記憶部と、
 前記起動要求に対する転送処理の終了毎に、前記ビジィ応答時刻の中の最も古い応答時刻をもつ入出力ポートを、優先処理ポートに決定する処理ポート決定部と、
 前記処理ポート決定部で決定した優先処理ポートの起動要求を優先的に処理するルート制御部と、
を設けたことを特徴する入出力制御装置。
A plurality of input / output ports connected to a plurality of channel devices on the host device side via channel buses having different transfer speeds,
A busy response time storage unit for storing a time at which a busy response to an activation request is made for each of the plurality of input / output ports;
A processing port determining unit that determines, as a priority processing port, an input / output port having the oldest response time among the busy response times each time transfer processing for the activation request is completed;
A route control unit that preferentially processes the activation request of the priority processing port determined by the processing port determination unit;
An input / output control device comprising:
 請求項5記載の入出力制御装置に於いて、前記ルート制御部は、前記優先処理ポートに対する起動要求のみを受け付け、他の入出力ポートの起動要求に対してはビジィ応答することを特徴とする入出力制御装置。
6. The input / output control device according to claim 5, wherein the route control unit accepts only a start request for the priority processing port and makes a busy response to a start request for another input / output port. Input / output control unit.
 転送速度の異なるチャネルバスを介して上位装置側の複数のチャネル装置に接続された複数の入出力ポートの各々につき、起動要求に対するビジィ応答を行った時刻を記憶するビジィ応答時刻記憶過程と、
 前記起動要求に対する転送制御の終了毎に、前記ビジィ応答時刻の中の最も古い応答時刻をもつ入出力ポートを、優先処理ポートに決定する処理ポート決定過程と、
 前記処理ポート決定過程で決定した優先処理ポートの起動要求を優先的に処理するルート制御過程と、
を設けたことを特徴とする入出力制御方法。
A busy response time storing step of storing a time at which a busy response to an activation request is made for each of a plurality of input / output ports connected to a plurality of channel devices on the host device side via channel buses having different transfer speeds;
A processing port determining step of determining an input / output port having the oldest response time among the busy response times as a priority processing port each time transfer control for the activation request is completed;
A route control step of preferentially processing the activation request of the priority processing port determined in the processing port determination step,
An input / output control method characterized by comprising:
 請求項7記載の入出力制御方法に於いて、前記ルート制御過程は、前記優先処理ポートに対する起動要求のみを受け付け、他の入出力ポートの起動要求に対してはビジィ応答することを特徴とする入出力制御方法。
8. The input / output control method according to claim 7, wherein the route control step accepts only a start request for the priority processing port and makes a busy response to a start request for another input / output port. I / O control method.
 転送速度の異なるチャネルバスを介して上位装置側の複数のチャネル装置に接続された複数の入出力ポートと、
 前記複数の入出力ポートのいずれかに対するチャネル装置からの起動要求に伴なう結合、結合中の転送処理、及び転送終了に伴うエンドステータスの応答を行うルート制御部と、
 前記ルート制御部によって特定のチャネル装置と入出力ポートとの結合中に、他の入出力ポートに他のチャネル装置から起動要求があった場合、該他の入出力ポートから再試行ステータスを応答して前記他のチャネル装置との結合を切り離し、現在処理中の入出力ポートとチャネル装置の結合終了時に、前記他の入出力ポートから再試行開始の割込み通知を前記他のチャネル装置に通知して起動要求を再試行させる再試行割込み処理部と、
を設けたことを特徴とする入出力制御装置。
A plurality of input / output ports connected to a plurality of channel devices on the host device side via channel buses having different transfer speeds,
A route control unit that performs a connection with a start request from a channel device to any of the plurality of input / output ports, a transfer process during the connection, and a response of an end status accompanying the transfer end;
During the connection between the specific channel device and the input / output port by the route control unit, when a start request is issued from another channel device to another input / output port, a retry status is returned from the other input / output port. By disconnecting the connection with the other channel device, at the end of the connection between the currently processed I / O port and the channel device, the other I / O port notifies the other channel device of a retry start interrupt notification. A retry interrupt processing unit for retrying the start request;
An input / output control device comprising:
 転送速度の異なるチャネルバスを介して上位装置側の複数のチャネル装置に接続された複数の入出力ポートと、
 前記複数の入出力ポートのいずれかに対するチャネル装置からの起動要求に伴なう結合、結合中の転送処理、及び転送終了に伴うエンドステータスの応答、更には他の入出力ポートが結合中の起動要求に対しビジィ応答を行うルート制御部と、
 前記ルート制御部によって特定のチャネル装置と入出力ポートとの結合による転送処理中に所定の割込条件が成立した場合、前記入出力ポートから前記チャネル装置に再試行ステータスを応答し転送処理を中断して結合を切り離し、全ポートに関するビジィ応答の状態を解析して優先処理ポートを決定し、該優先処理ポートから他のチャネル装置にエンドステータスを応答して起動要求を行わせ、該起動要求に伴なう転送処理の終了時に、前記入出力ポートから前記チャネル装置に再試行開始の割込みを通知して中断した転送処理を再開させる再試行割込み処理部と、
を設けたことを特徴とする入出力制御装置。
A plurality of input / output ports connected to a plurality of channel devices on the host device side via channel buses having different transfer speeds,
Coupling associated with an activation request from a channel device to one of the plurality of I / O ports, transfer processing during coupling, end status response upon completion of transfer, and activation while other I / O ports are coupled A route control unit for performing a busy response to the request,
When a predetermined interrupt condition is satisfied during the transfer processing by coupling the specific channel device and the input / output port by the route control unit, the transfer process is interrupted by responding a retry status from the input / output port to the channel device. The priority processing port is determined by analyzing the busy response status of all the ports, and the priority processing port responds to the other channel device with the end status to make a start request. A retry interrupt processing unit for notifying the channel device of the retry start interrupt from the input / output port and resuming the interrupted transfer process at the end of the accompanying transfer process;
An input / output control device comprising:
 請求項10記載の入出力制御装置に於いて、前記再試行割込み処理部は、一定時間に達する毎に、再試行割込み処理を行うことを特徴とする入出力制御装置。
11. The input / output control device according to claim 10, wherein the retry interrupt processing unit performs a retry interrupt process each time a predetermined time is reached.
 請求項10記載の入出力制御装置に於いて、前記再試行割込み処理部は、結合中の前記入出力ポートのコマンド処理回数が所定値に達した時に、再試行割込み処理を行うことを特徴とする入出力制御装置。
11. The input / output control device according to claim 10, wherein the retry interrupt processing unit performs a retry interrupt process when the number of command processes of the combined input / output port reaches a predetermined value. I / O control unit to do.
 請求項10記載の入出力制御装置に於いて、前記再試行割込み処理部は、前記入出力ポートの結合中に、他の入出力ポートに対する起動要求に対するビジィ応答でビジィ率が所定値に到達した時、再試行割込み処理を行うことを特徴とする入出力制御装置。 11. The input / output control device according to claim 10, wherein the retry interrupt processing unit reaches a predetermined value in a busy response to a start request to another input / output port during the connection of the input / output port. An input / output control device characterized by performing a retry interruption process.
JP2003278844A 2003-07-24 2003-07-24 I / O control device and I / O control method Expired - Fee Related JP4160470B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003278844A JP4160470B2 (en) 2003-07-24 2003-07-24 I / O control device and I / O control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003278844A JP4160470B2 (en) 2003-07-24 2003-07-24 I / O control device and I / O control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP20850694A Division JP3474646B2 (en) 1994-09-01 1994-09-01 Input / output control device and input / output control method

Publications (2)

Publication Number Publication Date
JP2004005727A true JP2004005727A (en) 2004-01-08
JP4160470B2 JP4160470B2 (en) 2008-10-01

Family

ID=30438676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003278844A Expired - Fee Related JP4160470B2 (en) 2003-07-24 2003-07-24 I / O control device and I / O control method

Country Status (1)

Country Link
JP (1) JP4160470B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1895430A1 (en) 2006-08-18 2008-03-05 Fujitsu Ltd. Arbiter, crossbar, request selection method and information processing device
US7797567B2 (en) 2006-04-28 2010-09-14 Fujitsu Limited Storage apparatus, and method for performing fault recovery of storage apparatus
JP2012079143A (en) * 2010-10-04 2012-04-19 Fujitsu Ltd Channel control device and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7797567B2 (en) 2006-04-28 2010-09-14 Fujitsu Limited Storage apparatus, and method for performing fault recovery of storage apparatus
EP1895430A1 (en) 2006-08-18 2008-03-05 Fujitsu Ltd. Arbiter, crossbar, request selection method and information processing device
US7830902B2 (en) 2006-08-18 2010-11-09 Fujitsu Limited Arbiter, crossbar, request selection method and information processing device
JP2012079143A (en) * 2010-10-04 2012-04-19 Fujitsu Ltd Channel control device and method

Also Published As

Publication number Publication date
JP4160470B2 (en) 2008-10-01

Similar Documents

Publication Publication Date Title
JP3474646B2 (en) Input / output control device and input / output control method
JP4387970B2 (en) Data I / O program, device, and method
US8307157B2 (en) Disk array system and traffic control method
US7925922B2 (en) Failover method and system for a computer system having clustering configuration
KR101355326B1 (en) Transitioning of a port in a communications system form an active state to a standby state
US20110310859A1 (en) Basic service set scheduling based on media access controller states
US10318362B2 (en) Information processing apparatus, information processing method, and non-transitory computer-readable storage medium
JP2004005727A (en) Input/output control unit, and input/output control method
JP4202812B2 (en) I / O control device and I / O control method
WO2023093805A1 (en) Storage control method, storage controller, storage chip, network card, and readable medium
WO2022267341A1 (en) Data processing apparatus and method, and computer device and storage medium
JPH0578925A (en) Communication control method
JP2011009953A (en) Data transmitter, data transmission method, and data transmission program
JPS6235150B2 (en)
JPH11327793A (en) Storage controller
CN115884229B (en) Transmission delay management method, electronic device and storage medium
JP2001331329A (en) Interrupt control device and its method
JP2002116920A (en) Cluster system, monitoring method in cluster system, and computer program
US20240054012A1 (en) Inter-chip communication circuit, method and system
JP2002091903A (en) Bus system
JP2535611B2 (en) Information processing device
JPH0831077B2 (en) Channel path load factor equalization method for I / O subsystem
JPS593528A (en) Common use controlling system
JP2001125866A (en) Data processing system and central processing unit and disk controller
JP2001290670A (en) Cluster system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060427

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060606

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060706

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060803

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060830

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20061006

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080717

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110725

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees