JPS60108951A - Data chaining system - Google Patents

Data chaining system

Info

Publication number
JPS60108951A
JPS60108951A JP21509283A JP21509283A JPS60108951A JP S60108951 A JPS60108951 A JP S60108951A JP 21509283 A JP21509283 A JP 21509283A JP 21509283 A JP21509283 A JP 21509283A JP S60108951 A JPS60108951 A JP S60108951A
Authority
JP
Japan
Prior art keywords
registers
chaining
subchannels
register
input
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
JP21509283A
Other languages
Japanese (ja)
Other versions
JPH0122939B2 (en
Inventor
Toshiharu Oshima
大島 俊春
Toshihiro Sakai
酒井 利弘
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 JP21509283A priority Critical patent/JPS60108951A/en
Publication of JPS60108951A publication Critical patent/JPS60108951A/en
Publication of JPH0122939B2 publication Critical patent/JPH0122939B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To utilize effectively resources and to suppress the increase of the number of hardwares at its minimum by forming chaining registers at the rate of 1:1 to subchannels and allowing respective subchannels to use optional registers under time division. CONSTITUTION:The chaining registers 11-0, 11-1 are formed at the rate of 1:1 to the subchannels of a computer system and data a, b to copied to a transfer control register 14 are set up respective registers 11-0, 11-1. In addition, valid bits V0, V1 and identification codes IDo, ID1 are included in the registers 11-0, 11-1. The bits V0, V1 indicate the validity of the contents of the registers 11-0, 11-1 and the identification codes ID0, ID1 indicate the subchannels corresponding to the contents of the registers 11-0, 11-1. The Nos. ''0'', ''1'' of the subchannels executing transfer and chaining and the data (a), (b) are processed by comparators 12-0, 12-1 and a multiplexer 13. Thus, the registers 11-0, 11-1 are used under time division and the increment of the number of hardwares is suppressed.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、サブチャネルの数より少ない数のチェイニン
グ用レジスタを設け、チェイニング用レジスタにそのレ
ジスタを使用するサブチャネルを識別する情報を付加す
ることによシ、複数のサブチャネルがチェイニング用レ
ジスタを共用し、任意のレジスタを時分割で使用できる
ようにしたデータ・チェイン方式に関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention provides chaining registers whose number is smaller than the number of subchannels, and adds information identifying the subchannel that uses the register to the chaining register. The present invention relates to a data chaining method in which a plurality of subchannels share a chaining register and any register can be used in a time-sharing manner.

〔従来技術と問題点〕[Conventional technology and problems]

第1図は計算機システムの構成例を示す図である。第1
図において、1は主処理装置、2は主記憶、3はサブチ
ャネル、4はチャネル、5はチェイニング用レジスタ、
6は転送制御用レジスタ、7はアドレス更新回路、8は
バイト・カウント更新回路、9と10はマルチプレクサ
、51と61はアドレス・レジスタ、52と62はバイ
ト・カウント・レジスタ、53と63はステータス・レ
ジスタ、54と64はモード・レジスタを示す。
FIG. 1 is a diagram showing an example of the configuration of a computer system. 1st
In the figure, 1 is a main processing unit, 2 is a main memory, 3 is a subchannel, 4 is a channel, 5 is a chaining register,
6 is a transfer control register, 7 is an address update circuit, 8 is a byte count update circuit, 9 and 10 are multiplexers, 51 and 61 are address registers, 52 and 62 are byte count registers, 53 and 63 are status - Registers 54 and 64 indicate mode registers.

1つの入出力動作で主記憶上の複数の領域を処理対象と
する場合、1つの領域のデータ転送が終了した後、次の
領域のデータ転送を開始する方法としては次の2つがあ
る。
When processing multiple areas on the main memory in one input/output operation, there are two methods for starting data transfer for the next area after data transfer for one area is completed.

第1の方法は、1つの領域のデータ転送が終結したとき
に次のチャネル・コマンドを取出し、コマンドを解析し
てサブチャネル内の転送制御用レジスタを設定しなおし
、データ転送を再開するものである。ここで、転送制御
用レジスタとは、データ転送を行う主記憶のアドレスを
示すアドレス・レジスタや、転送バイト数を示すバイト
・カウント・レジスタ、転送モードを示すモード・レジ
スタ、エラーなどのステータスを保持するステータス・
レジスタなどを含めて総称したものであシ、チェイニン
グ用レジスタとは区別される。
The first method is to retrieve the next channel command when the data transfer for one area is completed, analyze the command, reset the transfer control register in the subchannel, and restart the data transfer. be. Here, the transfer control registers include an address register that indicates the main memory address where data is transferred, a byte count register that indicates the number of bytes transferred, a mode register that indicates the transfer mode, and a status register that holds errors and other errors. status/
It is a general term that includes registers, etc., and is distinguished from chaining registers.

第2の方法は、第1図に示すように、サブチャネル内圧
転送制御用レジスタ6とは別にチェイニング用レジスタ
5を設け、1つの領域のデータ転送実行中に次のチャネ
ル・コマンドを取出し、次のデータ転送を制御するため
の情報をチェイニング用レジスタ5にセットする。そし
て実行中でありた領域のデータ転送が終了すると、チェ
イニング用レジスタ5から転送制御用レジスタ6ヘデー
タをコピーして転送を継続する。
The second method, as shown in FIG. 1, is to provide a chaining register 5 separately from the subchannel internal pressure transfer control register 6, and to take out the next channel command while data transfer of one area is being executed. Information for controlling the next data transfer is set in the chaining register 5. When the data transfer of the area being executed is completed, the data is copied from the chaining register 5 to the transfer control register 6 and the transfer is continued.

しかし、前者の第1の方法では、チェイニングに時間が
かかシ、入出力装置として例えば高速ディスク装置を用
いているため待ちが許されない場合には、オーバーラン
の原因となる。また、後者の第2の方法では、第1の方
法における上述のような問題は解決するが、全部のサブ
チャネルでチェイニングを行おうとすると、レジスタは
、第1図から明らかなように、第1の方法の場合と比較
して2倍も必要にな勺、ハードウェアが増大するという
問題がある。
However, in the first method, chaining takes time, and if waiting is not allowed because a high-speed disk device is used as the input/output device, an overrun may occur. In addition, the latter second method solves the above-mentioned problems in the first method, but when trying to chain all subchannels, the registers become There is a problem in that the amount of hardware required is twice that of method 1.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の考察に基づくものであって、チェイニ
ング用レジスタを複数のサブチャネルで共用できるよう
にし、ハードウェアの増加を必要最低限におさえうるよ
うにしたデータ・チェイン方式を提供することを目的と
するものである。
The present invention is based on the above considerations, and provides a data chaining method that allows chaining registers to be shared by multiple subchannels, thereby minimizing the increase in hardware. The purpose is to

〔発明Q構成〕[Invention Q configuration]

そのために本発明のデータ・チェイン方式は、複数の入
出力サブチャネル、及び主記憶の複数領域との間で入出
力動作を行うため次に入出力動作を行うべき領域と制御
情報を記憶する複数のレジスタを有し、実行中であった
領域の入出力動作の終了を検出すると、前記レジスタか
ら情報を取出して入出力動作を続行するようになった計
算機システムにおけるデータ・チェイン方式であって、
前記レジスタのそれぞれに、どのサブチャネル用の情報
が記憶されているかを示す識別コードを付加し、前記レ
ジスタのそれぞれが前記複数の入出力サブチャネルによ
って共用できるようにしたことを特徴とするものである
To this end, the data chain method of the present invention uses a plurality of input/output subchannels and a plurality of areas for storing control information and an area to perform the next input/output operation in order to perform input/output operations between the plurality of input/output subchannels and the plurality of areas of the main memory. A data chain method in a computer system, which has registers, and upon detecting the end of an input/output operation in an area being executed, retrieves information from the register and continues the input/output operation, comprising:
An identification code indicating which subchannel information is stored is added to each of the registers, so that each of the registers can be shared by the plurality of input/output subchannels. be.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面を参照しつつ説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第2図は本発明の1実施例構成を示す図である。FIG. 2 is a diagram showing the configuration of one embodiment of the present invention.

第2図において、11−0と11−1はチェイニング用
レジスタ、12−0と12−1は比較回路、13はマル
チプレクサ、14は転送制御用レジスタを示す。
In FIG. 2, 11-0 and 11-1 are chaining registers, 12-0 and 12-1 are comparison circuits, 13 is a multiplexer, and 14 is a transfer control register.

第2図に示す例でば、サブチャネル数が4で、2つのチ
ェイニング用しジスタエ1−0と11−1を持っている
。チェイニング用レジスタ1l−0(!:11−1は、
転送制御用レジスタ14にコピーすべき情報、及びステ
ータスについては逆に転送制御用レジスタ14内のステ
ータスを退避した情報の他に、バリッド(Valid)
ビット■、ηと、本発明に関わる識別コードIDo 、
 ID+とを持つ。バリッド°ビットvo%V、は、チ
ェイニング用レジスタ11−〇、11−1の内容の有効
性を示し、チェイニング用レジスタ11−0、11−1
にデτりを設定した時にセット(有効K)され、チェイ
ニング終了時にリセット(無効に)される。これにょシ
、一度使用声れたデータが再度使用されるのを防ぎ、ま
た、サブチャネルにチェイニング用レジスタを割当てる
場合に使用中か否かを識別することができる・識別コー
ドI Do% ID、は、そのチェイニング用レジスタ
11−0,11−1め内容がどのサブチャネル用に用意
されたものであるかを示す。
In the example shown in FIG. 2, the number of subchannels is four, and there are two chaining registers 1-0 and 11-1. Chaining register 1l-0 (!:11-1 is
Concerning the information and status to be copied to the transfer control register 14, in addition to the information that saves the status in the transfer control register 14, valid
Bits ■, η, and identification code IDo related to the present invention,
It has ID+. The valid ° bit vo%V indicates the validity of the contents of the chaining registers 11-0 and 11-1, and indicates the validity of the contents of the chaining registers 11-0 and 11-1.
It is set (enabled) when the value is set, and is reset (invalidated) when chaining ends. This prevents data that has been used once from being used again, and also allows you to identify whether or not it is in use when assigning a chaining register to a subchannel.Identification Code I Do% ID , indicates for which subchannel the contents of the chaining registers 11-0 and 11-1 are prepared.

第2図において、#0のチェイニング用レジスタ1l−
OKは、#0のサブチャネル用の(有効な)データがあ
υ、#1のチェイニング用レジスタ11−1には#2の
サブチャネル用の(有効な)データがあるものとする。
In FIG. 2, #0 chaining register 1l-
OK assumes that there is (valid) data for the #0 subchannel and that the #1 chaining register 11-1 has (valid) data for the #2 subchannel.

そこで今、#2のサブチャネルでデータ転送が行われる
ときに、転送制御用レジスタ14内のバイト・カウンタ
が残シ転送バイト数=0となシ、モード・レジスタでデ
ータ・チェインを指定しである場合にはチェイニングが
行われる。このとき、チェイニング要求の生じたサブチ
ャネルのナンバー、ここでは2進のvlovと、各チェ
イニング用レジスタ11−0.11−1の識別コードI
D、、、ID、とが比較回路12−0.12−1で比較
される。その結果は、ID。が不一致、ID。
Therefore, when data transfer is performed on subchannel #2, if the byte counter in the transfer control register 14 indicates the number of remaining transfer bytes = 0, specify the data chain using the mode register. In some cases chaining is performed. At this time, the number of the subchannel where the chaining request occurred, in this case, the binary vlov, and the identification code I of each chaining register 11-0.11-1.
D, . . . ID, are compared by the comparison circuit 12-0.12-1. The result is ID. is a mismatch, ID.

が一致であるから、比較回路12−1の出力によシ#1
のチェイニング用レジスタ11−1の内容がマルチプレ
クサ13で選択され、要求元サブチャネルの転送制御用
レジスタ(#2)ヘコピーされる。
Since they match, the output of comparator circuit 12-1
The contents of the chaining register 11-1 are selected by the multiplexer 13 and copied to the transfer control register (#2) of the request source subchannel.

しかし、識別コード比較の際、バリッド・ビットがWQ
Wである場合には、比較回路12−0.12−1は、識
別コードの内容と無関係に不一致とみなす。
However, when comparing identification codes, the valid bit is WQ.
If it is W, the comparator circuit 12-0.12-1 considers it to be a mismatch regardless of the content of the identification code.

また、要求元サブチャネルと一致する識別コードがみつ
からない場合や2つ以上のチェイニング用レジスタの識
別コードが一致した場合はチェイニング・エラーとなる
。その場合に、チャネルは次のコマンドを読出して転送
制御用レジスタを設定しなおしてデータ転送を再開する
か、又は主処理装置へエラーを報告してデータ転送を終
結させる0゜データ・チェイン機能を持つサブチャネル
が複数あるとき、そのすべてが同時にデータ・チェイン
を実行する確率が小さい場合や、データ・チェインを実
行するときの入出力待ちが許されるチャネルがいくつか
ある場合などにおいては、同時に必要とされるチェイニ
ング用レジスタの数はサブチャネルの数よシ少なくてよ
い。そこで、本発明は、サブチャネルの数よシ少ない任
意の数のチェイニング用レジスタを設け、チェイニング
用レジスタにそのチェイニング用レジスタを使用するサ
ブチャネルを識別する情報を付加することによりて、複
数のサブチャネルがチェイニング用レジスタを共用し、
任意のチェイニング用レジスタを時分割で使用できるよ
うKしたものである。
Furthermore, if an identification code that matches the requesting subchannel is not found, or if the identification codes of two or more chaining registers match, a chaining error occurs. In this case, the channel either reads the next command and resets the transfer control register to restart the data transfer, or uses the 0° data chain function to report the error to the main processing unit and terminate the data transfer. When there are multiple subchannels with multiple subchannels, the probability that all of them will execute the data chain at the same time is small, or when there are several channels that are allowed to wait for input/output when executing the data chain, The number of chaining registers to be used may be smaller than the number of subchannels. Therefore, the present invention provides an arbitrary number of chaining registers smaller than the number of subchannels, and adds information to the chaining registers to identify the subchannel that uses the chaining registers. Multiple subchannels share chaining registers,
This allows arbitrary chaining registers to be used in a time-sharing manner.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によれば、サブ
チャネルと1対IKチエイニング用レジスタを設けるこ
となく、各サブチャネルは任意のチェイニング用レジス
タを時分割で使用することによって資源の有効利用を図
ることができる。また、チェイニング用レジスタは、サ
ブチャネルの数と無関係に、システムの要求性能に合わ
せて任意の数だけ設けるようにすればよく、ハードウェ
アの増大を最低限におさえることができる。
As is clear from the above description, according to the present invention, each subchannel uses arbitrary chaining registers in a time-sharing manner, without providing subchannels and one-to-one IK chaining registers, thereby making resources effective. You can plan to use it. Moreover, any number of chaining registers may be provided in accordance with the required performance of the system, regardless of the number of subchannels, and the increase in hardware can be kept to a minimum.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は計算機システムの構成を示す図、第2図は本発
明の1実施例構成を示す図である。 1・・・主処理装置、2・・・主記憶、3・・・サブチ
ャネル、4川チヤネル、5.11−oと11−1・・・
チェイニング用レジスタ、6と14・・・転送制御用レ
ジスタ、7・−・アドレス更新回路、訃・・バイト・カ
ウント更新回路、9.1oと13・・・マルチプレクサ
、12−0と12−1用比較回路、51と61川アドレ
ス・レジスタ、52と62川バイト・カウント・レジス
タ、53と63・・・ステータス・レジスタ、54と6
4・・・モード・レジスタ。 特許出願人 富士通株式会社 代理人弁理士 京 谷 四 部
FIG. 1 is a diagram showing the configuration of a computer system, and FIG. 2 is a diagram showing the configuration of one embodiment of the present invention. 1... Main processing unit, 2... Main memory, 3... Sub channel, 4 river channels, 5. 11-o and 11-1...
Chaining registers, 6 and 14...Transfer control registers, 7--address update circuit, byte count update circuit, 9.1o and 13...Multiplexer, 12-0 and 12-1 Comparison circuits, 51 and 61 address registers, 52 and 62 byte count registers, 53 and 63... status registers, 54 and 6
4...Mode register. Patent Applicant: Fujitsu Limited Representative Patent Attorney Yotsube Kyotani

Claims (1)

【特許請求の範囲】[Claims] 複数の入出力サブチャネル、及び主記憶の複数領域との
間で入出力動作を行うため次に入出力動作を行うべき領
域と制御情報を記憶する複数のレジスタを有し、実行中
であった領域の入出力動作の終了を検出すると、前記レ
ジスタから情報を取出して入出力動作を続行するように
なった計算機システムにおけるデータ・チェイン方式で
あって、前記レジスタのそれぞれに、どのサブチャネル
用の情報が記憶されているかを示す識別コードを付加し
、前記レジスタのそれぞれが前記複数の入出力サブチャ
ネルによって共用できるようKしたことを特徴とするデ
ータ・チェイン方式。
It has multiple input/output subchannels and multiple registers to store control information and the area where the next input/output operation is to be performed in order to perform input/output operations with multiple areas of main memory, and is currently being executed. A data chain method in a computer system in which when the end of an input/output operation of an area is detected, information is retrieved from the register and the input/output operation continues. A data chain method characterized in that an identification code indicating whether information is stored is added so that each of the registers can be shared by the plurality of input/output subchannels.
JP21509283A 1983-11-17 1983-11-17 Data chaining system Granted JPS60108951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21509283A JPS60108951A (en) 1983-11-17 1983-11-17 Data chaining system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21509283A JPS60108951A (en) 1983-11-17 1983-11-17 Data chaining system

Publications (2)

Publication Number Publication Date
JPS60108951A true JPS60108951A (en) 1985-06-14
JPH0122939B2 JPH0122939B2 (en) 1989-04-28

Family

ID=16666616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21509283A Granted JPS60108951A (en) 1983-11-17 1983-11-17 Data chaining system

Country Status (1)

Country Link
JP (1) JPS60108951A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54131838A (en) * 1978-04-05 1979-10-13 Hitachi Ltd Channel device
JPS5688524A (en) * 1979-12-20 1981-07-18 Mitsubishi Electric Corp Channel controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54131838A (en) * 1978-04-05 1979-10-13 Hitachi Ltd Channel device
JPS5688524A (en) * 1979-12-20 1981-07-18 Mitsubishi Electric Corp Channel controller

Also Published As

Publication number Publication date
JPH0122939B2 (en) 1989-04-28

Similar Documents

Publication Publication Date Title
EP0680635B1 (en) Method and apparatus for data transfer and storage in a highly parallel computer network environment
US4271466A (en) Direct memory access control system with byte/word control of data bus
US3728693A (en) Programmatically controlled interrupt system for controlling input/output operations in a digital computer
US7797445B2 (en) Dynamic network link selection for transmitting a message between compute nodes of a parallel computer
US20080195840A1 (en) Identifying Messaging Completion on a Parallel Computer
EP0582666A1 (en) Method and apparatus for buffering data within stations of a communication network
JPS60112164A (en) Dynamically alterable interrupt preference circuit
US3704453A (en) Catenated files
US3676851A (en) Information retrieval system and method
US3967246A (en) Digital computer arrangement for communicating data via data buses
US4174537A (en) Time-shared, multi-phase memory accessing system having automatically updatable error logging means
US20050050244A1 (en) Method for controlling data transfer unit, data transfer unit, channel control unit, and storage device control unit
US4096570A (en) Subchannel memory access control system
US6732212B2 (en) Launch raw packet on remote interrupt
US20080147906A1 (en) DMA Transferring System, DMA Controller, and DMA Transferring Method
US6529979B1 (en) Method and apparatus for a high-speed serial communications bus protocol with positive acknowledgement
JPS60108951A (en) Data chaining system
JPS5913762B2 (en) Information bus control device
US3544965A (en) Data processing system
US3729716A (en) Input/output channel
US3274560A (en) Message handling system
JP3206580B2 (en) DMA data transfer control method and input / output processing device
SU1305693A2 (en) Microprogram multiplexor channel
KR100192960B1 (en) Dma interface having channel link function
JPH1011387A (en) Information processor