JPS58129628A - Data channel device - Google Patents

Data channel device

Info

Publication number
JPS58129628A
JPS58129628A JP1348882A JP1348882A JPS58129628A JP S58129628 A JPS58129628 A JP S58129628A JP 1348882 A JP1348882 A JP 1348882A JP 1348882 A JP1348882 A JP 1348882A JP S58129628 A JPS58129628 A JP S58129628A
Authority
JP
Japan
Prior art keywords
memory block
memory
address
buffer memory
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1348882A
Other languages
Japanese (ja)
Inventor
Shuji Hisanaga
久永 修司
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP1348882A priority Critical patent/JPS58129628A/en
Publication of JPS58129628A publication Critical patent/JPS58129628A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

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

Abstract

PURPOSE:To reduce the capacity of a buffer memory in a channel common controlling circuit by blocking the buffer memory and enabling each channel to use each block memory optionally. CONSTITUTION:A data channel device 20 consists of n channels 5-1-5-n, the buffer memory 2, a common control part 3, and a buffer memory block specifying part 4. An I/O starting signal is applied from a central processing unit (CPU) to the common control part 3 through a connection line 11. The common control part 3 sends a signal to request an idle memory block to the buffer memory block specifying part 4 through connection line 22. When receiving the address of the idle memory block through a connection line 21, the common control part 3 sends the address to the buffer memory 2 through a connection line 15, so that the idle memory block in the buffer memory 2 corresponding to the address is formed in a channel specified by the CPU.

Description

【発明の詳細な説明】 本発明はデータチャネル装置、特にバッファメモリを共
通制御するデータチャネル装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data channel device, and more particularly to a data channel device that commonly controls buffer memories.

データチャネル装置は、コンピュータシステム内におい
て、入出力装置と主記憶装置間のデータ転送動作を効率
よく行なうために使用され、基本的な動作機能としては
入出力コマンドの起動制御および終結制御、データ転送
制御および入出力インタフェース制御がある。このうち
、処理速蜜の遅い入出力装置に対する入出力インタフェ
ース制御(これを行なう回路をチャネルと称す)を除い
ては、中央処理装置や主記憶装置等との間のル1j御で
あるので、高速化が可能であり、かつ簡単化をねらいと
し起動制御、終結制御およびデータ転送制御等の制御回
路を複数のチャネルで共通に持つ(この回路をチャネル
共通制御回路と称す)ようにデータチャネル装置を構成
する所謂共通制御方式のデータチャネル装置がよく使用
される。入出力装置と主記憶装置との処理速度差を吸収
するためにデータチャネル装置に使用されるデータ転送
用バッファメモリも、集中化による利点とデータ転送の
効率とを#/Itして、チャネル共通制御回路と各チャ
ネルに分散して設けられている。
Data channel devices are used in computer systems to efficiently transfer data between input/output devices and main storage devices, and their basic operating functions are control of start-up and termination of input/output commands, and data transfer. There is control and input/output interface control. Of these, except for input/output interface control for input/output devices with slow processing speed (the circuit that performs this is called a channel), control is performed between the central processing unit, main memory, etc. The data channel device is capable of increasing speed and is designed to have control circuits such as startup control, termination control, data transfer control, etc. common to multiple channels (this circuit is referred to as a channel common control circuit) for the purpose of simplicity. A so-called common control type data channel device is often used. The data transfer buffer memory used in the data channel device to absorb the processing speed difference between the input/output device and the main memory device is also common to all channels, combining the advantages of centralization and the efficiency of data transfer. The control circuit and each channel are provided separately.

このチャネル共通制御回路に設けられたバッファメモリ
は、従来のデータチャネル装置では、チャネル毎にその
使用エリヤは固定されている。このため% 1つのチャ
ネルで必要な使用エリヤかにバイトであれば、チャネル
の数がn個の場合にはKxnバイトのバッファメモリを
必要とする。
In conventional data channel devices, the buffer memory provided in this channel common control circuit has a fixed area for use for each channel. Therefore, if the usage area required for one channel is % bytes, if the number of channels is n, a buffer memory of K×n bytes is required.

一方、データチャネル装置に収容されている全チャネル
が同時にバッファメモリを使用する確率は極めて小さく
、従って、実際の使用上においては上記のK x nバ
イトのバッファメモリの使用効率は極めて低く、必要以
上の容量のバッファメモリを備えている・という欠点が
ある。
On the other hand, the probability that all channels accommodated in a data channel device use the buffer memory at the same time is extremely small. Therefore, in actual use, the usage efficiency of the above-mentioned K x n byte buffer memory is extremely low, and more than necessary. The disadvantage is that it has a buffer memory with a capacity of .

本発明の目的は上述の従来[ffiの欠点を除去しチャ
ネル数が同じでもチャネル共通制御回路にあるバッファ
メモリの容量を大幅に減少したデータチャネル装置を提
供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data channel device that eliminates the drawbacks of the conventional [ffi] described above and greatly reduces the capacity of the buffer memory in the channel common control circuit even though the number of channels is the same.

本発明の装置は、複数のチャネルと該チャネルを共通に
制御するチャネル共通制御回路とからなシ該チャネル共
通制御回路に備えであるデータ転送用バッファメモリが
予め定めた大きさの複数のメモリブロックに分割されて
いるデータチャネル装置において、9自メモリブロック
の要求を示すメモリブロック要求信号に応答して第1の
更新信号を発生し空きメモリブロックの返却を示すメモ
リブロック返却信号に応答して第2の更新信号を発生す
る更新信号発生手段と、前記各メモリブロックに対応し
てそれぞれ設けられ核メモリブロックの空きまたは壜が
りの状態を記1意し前記第1の更新信号と前記バッファ
メモリ内でのメモリブロックを示すアドレス信号とに応
答して記憶内容を空きから廐がりの状態に更新し前記4
2の更新信ずアドレス信号とに応答して記憶情報を基が
りから空きの状態に更新するメモリブロック状態記憶更
新手段と、前記各メモリブロック状態記憶更新手段の記
憶情報に応答して前記バッファメモリブロック内での空
きメモリブロックを示すアドレス信号を発生し前記第1
の更新信号に応答して該アドレス信号を出力するアドレ
ス信号発生出力手段とを含む。
The device of the present invention includes a plurality of channels and a channel common control circuit that commonly controls the channels, and a data transfer buffer memory provided in the channel common control circuit includes a plurality of memory blocks of a predetermined size. In a data channel device divided into nine memory blocks, a first update signal is generated in response to a memory block request signal indicating a request for a self-memory block, and a first update signal is generated in response to a memory block return signal indicating a return of a free memory block. update signal generation means for generating a second update signal; and update signal generation means provided corresponding to each of the memory blocks to record the empty or full state of the core memory block and generate the first update signal and the buffer memory. In response to the address signal indicating the memory block at 4, the memory contents are updated from empty to full.
memory block state storage updating means for updating stored information from a base to an empty state in response to the update trust address signal of 2; and said buffer memory in response to the storage information of each of said memory block state storage updating means. generating an address signal indicating a free memory block within the block;
and address signal generation/output means for outputting the address signal in response to the update signal.

次に、本発明について図面を参照して詳細に説明する。Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

本発明の一実施例であるデータチャネル装置20は、n
個のチャネル5−1〜5−nとバッファメモリ2.共通
制御部3およびバッファメモリブロック指定部4とを含
んで構成されている。
The data channel device 20, which is an embodiment of the present invention, has n
channels 5-1 to 5-n and buffer memory 2. It is configured to include a common control section 3 and a buffer memory block designation section 4.

データチャネル装置20は、中央処理装置t(図示せず
)からの指示にもとすいて、記憶装置lと接続線17−
1〜17−nを介して接続される数多くの入出力装置と
の間のデータ転送を行うものであり、前述のように、入
出力装置に対するインタフェース制御を行なうチャネル
はチャネル5−1〜5−nのように入出力装置毎に備え
ているが、入出力コマンドの起動制御終結制御およびデ
ータ転送制御を行うチャネル共通制御回路はバッファメ
モリ2.共通制御部3およびバッファメモリブロック指
定部4とから構成されて、各チャネルに共通く備えて時
分割多重処理を行っている。
In response to instructions from a central processing unit t (not shown), the data channel device 20 connects a storage device 1 to a connection line 17-
Channels 5-1 to 5-n are used to transfer data to and from a large number of input/output devices connected via channels 5-1 to 5-n. Although each input/output device is provided as shown in FIG. It is composed of a common control section 3 and a buffer memory block designation section 4, and is commonly provided for each channel to perform time division multiplex processing.

中央処理装置から接続線11を介して入出力装置番号、
使用チャネル番号、書込み読出しの区別。
The input/output device number from the central processing unit via the connection line 11,
Distinction between used channel number and writing/reading.

転送データ長等を含んだ入出力起動信号が、データチャ
ネル装置20の共通制御部3に与えられると、共通制御
部3は主記憶装置llからチャネルコマンド錯を読出し
、指定されたチャネルにこのコマントと入出力装置番号
とを転送゛しチャネルを起動する。
When an input/output activation signal including the transfer data length etc. is given to the common control unit 3 of the data channel device 20, the common control unit 3 reads the channel command complex from the main storage device 11 and transfers this command to the specified channel. and the input/output device number and start the channel.

書込みのコマンドの場合には、先ず、主記憶装置lから
データを読出しバッファメモリ2に格納する。チャネル
は、共通制御部3から与えられた入出力装置番号とコマ
ンドとにより、指定された入出力装置を起動しこれにコ
マンドを送出する。
In the case of a write command, data is first read from the main memory device l and stored in the buffer memory 2. The channel activates the designated input/output device and sends the command to it based on the input/output device number and command given from the common control unit 3.

かくして、チャネルからのデータ転送要求信号と共通制
御部3からの応答信号、入出力装置からのデータ転送要
求信号とチャネルからの応答信号のやりとににより、デ
ータはバッファメモリ2からチャネルへ、更にチャネル
から入出力装置へと転送される。
In this way, data is transferred from the buffer memory 2 to the channel by the exchange of the data transfer request signal from the channel, the response signal from the common control unit 3, the data transfer request signal from the input/output device, and the response signal from the channel. Transferred from a channel to an input/output device.

続出しのコマンドの場合のデータ転送動作に関しては、
書込みのコマンドの場合のデータ転送動作のデータの流
れを逆にすればよく、説明を省略する。
Regarding data transfer operation in the case of successive commands,
The data flow of the data transfer operation in the case of a write command can be reversed, and the explanation will be omitted.

上記のデータ転送動作で使用されるバッファメモリは、
従来装置では前述のようにチャネルの数と同数のn個の
メモリブロックに分割されておプ、入出力装置と主記憶
装置tlとのデータ転送に第1番目の(t=i−n)チ
ャネルを使用するように中央処理装置から接続fall
を介して入出力起動信号が与えられると、共通制御部3
はこのデータ転送に対して使用される前記の′:41番
目のチャネルに対応してバッファメモリ2の第1番目の
メモリブロックを使用するようにバッファメモリ内のメ
モリブロックアドレス(以後Bアドレスと略称す)を接
続線15を介してバッファメモリ2に供給している。す
なわち、第1番目のチャネルの使用するメモリブロック
は第1番目のメモリブロックに固定されており、it番
目以外のメモリブロックは使用できない。
The buffer memory used in the above data transfer operation is
In the conventional device, as mentioned above, the memory block is divided into n memory blocks, the same number as the number of channels. The connection from the central processing unit falls to use
When an input/output activation signal is given via the common control unit 3
is the memory block address (hereinafter abbreviated as B address) in the buffer memory so as to use the first memory block of buffer memory 2 corresponding to the 41st channel used for this data transfer. ) is supplied to the buffer memory 2 via the connection line 15. That is, the memory block used by the first channel is fixed to the first memory block, and memory blocks other than the it-th memory block cannot be used.

本実施例では、第1番目のチャネルは使用されていない
メモリブロック(以後空きメモリブロックと称す、ま九
使用中のメモリブロックを1がりメモリブロックと以後
称す)ならば第1番目のメ゛1′ モリブロック/に限定せずバッファメモリブロック指定
部4の指示に従ってどのメモリブロックでも使用できる
ように構成されている。
In this embodiment, if the first channel is an unused memory block (hereinafter referred to as a free memory block, and a memory block in use is hereinafter referred to as a memory block), the first channel is the first channel. ' It is configured so that any memory block can be used according to instructions from the buffer memory block specifying section 4, without being limited to the memory block/.

すなわち、中央処理装置から接続線11を介して入出力
起動信号が共通制御部3に与えられると、共通制御部3
は接続線22を介してバッファメモリブロック指定部4
に空きメモリブロックを要求するメモリブロック要求信
号を送出し、空きメモリブロックのBアドレスを接続線
21を介して受信し、接続線15を介して、このBアド
レスを送出して、中央処理装置から指定さnたチャネル
にこのBアドレスに相当するバッファメモリ2の中の空
きメモリブロックを提供する。この状態では該空きメモ
リブロックは島がりメモリブロックとなる。また、デー
タ転送が終了して塞がりメモリブロックが使用済、すな
わち、空きメモリブロックとなったときには共通制御部
3から接続fs24を介してメモリブロック返却信号を
送出し、併せて返却メモリブロックのBアドレスを接続
線23を介して送出する。
That is, when an input/output activation signal is given to the common control unit 3 from the central processing unit via the connection line 11, the common control unit 3
is connected to the buffer memory block designation unit 4 via the connection line 22.
A memory block request signal requesting a free memory block is sent to the central processing unit, the B address of the free memory block is received via the connection line 21, this B address is sent out via the connection line 15, and the central processing unit An empty memory block in the buffer memory 2 corresponding to this B address is provided to the designated channel. In this state, the free memory block becomes an island memory block. Furthermore, when the data transfer is completed and the occupied memory block is used, that is, it becomes a free memory block, the common control unit 3 sends a memory block return signal via the connection fs24, and also sends out a memory block return signal to the B address of the returned memory block. is sent out via the connection line 23.

このようにして各チャネルはバッファメモリ2内に空き
メモリブロックがあれば、指示に従ってどのメモリブロ
ックでも使用でさるようにすることができる。
In this way, each channel can use any memory block in accordance with instructions if there is a free memory block in the buffer memory 2.

このためには、バッファメモリ2内でのメモリブロック
の空き、扇がりの状態を′#理し、空きメモリブロック
のBアドレスを供給する回路が必要で、この役目を果す
のがバッファメモリブロック指定部4である。
To do this, a circuit is required to manage the empty and fanned states of memory blocks in buffer memory 2 and supply the B address of the empty memory block, and this role is played by the buffer memory block designator. This is part 4.

第2図には41図に使用するバッファメモリブロック指
定部4のブロック図が示してめる。図示の例はバッファ
メモリ2が16のメモリブロックに分割されている場合
を示す。
FIG. 2 shows a block diagram of the buffer memory block specifying section 4 used in FIG. 41. The illustrated example shows a case where the buffer memory 2 is divided into 16 memory blocks.

バッファメモリブロック指定部4は、一つの空きメモリ
ブロックのBアドレスを指示するとともに、共通制御部
3からのメモリブロック要求信号を九はメモリブロック
返却信号により、バッファメモリ内でのメモリブロック
の空きおよび禍が妙の状態を更新管理し、この管理状暢
から空きメモリブロックとして提供すべき空きメモリプ
ロップ”Bアドレスを作成する機能をもっており、ステ
ータス更新指示回路300.バックアメモリ管理回路1
00およびBアドレス発生回路200を含んでいる。
The buffer memory block specifying unit 4 specifies the B address of one free memory block, and in response to the memory block request signal from the common control unit 3, the buffer memory block specifying unit 4 uses a memory block return signal to specify whether the memory block is free or not in the buffer memory. The status update instruction circuit 300 and the backup memory management circuit 1 have a function of updating and managing the state of misfortune and creating a free memory prop "B address" to be provided as a free memory block based on this management state.
00 and B address generation circuit 200.

ステータス更新指示回路300は、共通制御部3からメ
モリブロック要求信号またはメモリブロック返却信号を
受信して、メモリブロックの管理状態を空きから塞が9
に更新する第1の更新信号ま九は塞が9から空きに更新
する第2の更新信号を発生する回路である。
The status update instruction circuit 300 receives a memory block request signal or a memory block return signal from the common control unit 3, and changes the management status of the memory block from empty to blocked.
The first update signal M9 is a circuit that generates a second update signal that updates from 9 occupied to 9 empty.

バッファメモリ管理回路100は、バッツァメモリ2の
分割されているメモリブロックにそれぞれ対応して7リ
ツプフロツプが設けてあり、各ツリラグフロップのリセ
ット状態を対応するメモリブロックの塞がプに、セット
状態を対応するメモリブロックの空きに対応させて各メ
モリブロックの使用状態を把握し、ステータス更新指示
回路300からの第1の更新信号と後述するBアドレス
発生回路200からのBアドレス、またはステータス更
新指示回路300からの第2の更新信号と共通制御部3
からのBアドレスとKよりメモリブロックの使用状態を
更新管理し空きのメモリブロックに対応するツリップフ
ロクプカラ1liIljl”l”70ツブからは論理1
0@なる状態信号をBアドレス発生回路200に供給す
る。
The buffer memory management circuit 100 is provided with seven lip-flops corresponding to each divided memory block of the batza memory 2, and corresponds the reset state of each lip-flop to the blockage of the corresponding memory block. The usage status of each memory block is grasped in correspondence with the free space of the memory block to be updated, and the first update signal from the status update instruction circuit 300 and the B address from the B address generation circuit 200 (described later) or the status update instruction circuit 300 is generated. The second update signal from the common control unit 3
The usage state of the memory block is updated and managed from the B address and K from the address B, and the logic 1 is obtained from the block 1liIljl"l"70 corresponding to the free memory block.
A state signal of 0@ is supplied to the B address generation circuit 200.

Bアドレス発生回路200は、バッファメモリ管理回路
100から供給される状態信号によりBアドレスメモリ
203tたは204から使用に供すべきメモリブロック
のBアドレスを読み出しこれを共通制御回路3とバッツ
ァメモリ管理回路リブロックの中のどの1つの空きメモ
リブロックをデータ転送に使用するかを決定する決定法
は、付量に選定でき、この決定法にもとすいて、接続線
33−1〜33−16により表示される状態信号と使用
に供される空きメモリブロックのBアドレスとの対応が
つけられる。
The B address generation circuit 200 reads out the B address of the memory block to be used from the B address memory 203t or 204 according to the status signal supplied from the buffer memory management circuit 100, and sends this to the common control circuit 3 and the Batza memory management circuit reblock. A determining method for determining which one free memory block is used for data transfer can be selected as a predetermined amount, and based on this determining method, A correspondence is established between the status signal and the B address of the free memory block to be used.

第1番目から第16番目まであるメモリブロックの中で
、常に番号の一番若い空きメモリブロックを使用に供す
ることとすれば、状0@号とBアドレスとの対応は第1
fiのようになる。
If we always use the empty memory block with the lowest number among the 1st to 16th memory blocks, the correspondence between the status 0@ and the B address is the first one.
It becomes like fi.

第  1 表 第1表で×印は、論理11gで−ao1でもどちらでも
よいことを示す。1例として第5番目のメモリブロック
を使用に供しようとしているときには、Bアドレスを示
すデータr0100Jが接続線36−1〜36−4に供
給されていて、状態信号として[0OOOIXXXXX
XX)CXXXJが接続線33−1〜33−16に供給
されている。
Table 1 In Table 1, the x mark indicates that logic 11g can be -ao1 or either. For example, when the fifth memory block is to be used, data r0100J indicating the B address is supplied to the connection lines 36-1 to 36-4, and the status signal is [0OOIXXXXX].
XX) CXXXJ is supplied to the connection lines 33-1 to 33-16.

また、Bアドレスメモリ203には、接続線33−1〜
33−8までの状態信号に対応するアドレスに、Bアド
レスをデータとして格納している。す々わち、例えばr
o l 00Jなる「Bアドレス」データはその状態信
号に対応する「00001x××」なるアドレスに格納
されている。っま9゜rOlOoJなる「Bアドレス」
データは8ケ所のアドレスにそれぞれ格納されているこ
ととなる。
The B address memory 203 also includes connection lines 33-1 to 33-1.
The B address is stored as data in the addresses corresponding to the status signals up to 33-8. For example, r
The “B address” data “o l 00J” is stored at the address “00001xxx” corresponding to the status signal. 9゜rOlOoJ "B address"
The data is stored in each of eight addresses.

同様KBアドレスメモリ204には接dllia3−9
〜33−16までの状態信号に対応するアドレスにBア
ドレスをデータとして格納している。
Similarly, KB address memory 204 is connected to dllia3-9.
The B address is stored as data at the address corresponding to the status signals from 33-16.

接続線33−1〜33−8の中の何れか一つが論理% 
1 %の場合、すなわち第111目から第8誉れ 目のメモリブロックの中の酸のメモリブロックが空きメ
モリブロックの場合には、オアゲート201の出力が論
理111となって、これを読み出し信号としてBアドレ
スメモリ203からBアドレスを読出し、何れも論理1
 lIでない場合には、ナンドグー)2−02の出力が
論理allとなってこれを読出し信号としてBアドレス
メモリ204からBアドレスを読出す。読本用され九B
アドレスは1部はバッファメモリ管理回路100に供給
され、他の一部はアンドゲート2osdに供給されメモ
リブロック要求信号に応答して接続線21を介して共通
制御部3に供給される。
Any one of the connection lines 33-1 to 33-8 is logical %
In the case of 1%, that is, when the acid memory block among the 111th to 8th memory blocks is an empty memory block, the output of the OR gate 201 becomes logic 111, and this is used as a read signal for B. Read B address from address memory 203, all logic 1
If it is not 1I, the output of Nandogoo) 2-02 becomes logic all, and the B address is read from the B address memory 204 using this as a read signal. Reader's use 9B
One part of the address is supplied to the buffer memory management circuit 100, the other part is supplied to the AND gate 2OSD, and is supplied to the common control unit 3 via the connection line 21 in response to the memory block request signal.

次に、バッファメモリブロック指定部4の動作を、メモ
リブロック要求時とメモリブロック返却時とに別けて説
明する。Bアドレスは説明の便宜上メモリブロックの1
6に対応して4ビツトとする。
Next, the operation of the buffer memory block specifying unit 4 will be explained separately for when a memory block is requested and when a memory block is returned. For convenience of explanation, the B address is 1 of the memory block.
It is set to 4 bits corresponding to 6.

(1)  メモリブロックの要求時 メモリブロック要求時はよ記憶装置lからバッファメモ
リ2に、またはチャネルからバッファメモリ2にデータ
転送が開始されるときに相当する。共通制御部3から接
続m22を介して上記のデータ転送に使用するメモリブ
ロックを要求するメモリブロック要求信号がステータス
更新指示回路300に供給されると同時に、メモリブロ
ック要求信号はアンドゲート205を開いて接続線36
を介して 嗜→ミh−に供給されている空きメモリブロックのBア
ドレス(Bアドレスの各ビットは接続線36−1〜36
−4を介して供給される)を接続線21を介して共通制
御部3に供給する。
(1) When a memory block is requested A memory block request corresponds to when data transfer is started from the storage device 1 to the buffer memory 2 or from a channel to the buffer memory 2. At the same time that a memory block request signal requesting a memory block to be used for the above data transfer is supplied from the common control unit 3 to the status update instruction circuit 300 via the connection m22, the memory block request signal opens the AND gate 205. Connection line 36
The B address of the free memory block that is supplied to the free memory block via the connection line 36-1 to 36-36
-4) is supplied to the common control unit 3 via the connection line 21.

ステータス更新指示回路300では、メモリブロック要
求信号に応答してフリップフロップ303がセットされ
、この出力とメモリブロック要求信号との論理積をアン
ドゲート302によ〕作成して、接続線28を介して第
1の更新信号としてバッファメモ、り管理回路100に
供給する。
In the status update instruction circuit 300, a flip-flop 303 is set in response to the memory block request signal, and a logical product of this output and the memory block request signal is created by the AND gate 302, and the result is output via the connection line 28. It is supplied to the buffer memory management circuit 100 as a first update signal.

バッファメモリ管理回路100に供給された第1の更新
信号は選択回路101を駆動し%接続線36と接続線2
9とを接続し、先程共通制御部3に供給した接続線21
を介するBアドレスをデコーダ102に供給する。第1
の更新信号は、tた、アントゲ−)104−1−104
−16に供給されこれらのアンドゲートを開く。
The first update signal supplied to the buffer memory management circuit 100 drives the selection circuit 101 and connects the % connection line 36 and the connection line 2.
9 and the connection line 21 that was supplied to the common control unit 3 earlier.
The B address via the decoder 102 is supplied to the decoder 102. 1st
The update signal is 104-1-104
-16 to open these AND gates.

デコーダ102はBアドレスを解読し、その出力線であ
る接続線30−1〜30−16のうちのいづれか一つに
論理”11を供給する。16個あるメモリブロックのう
ち第1番目のメモリブロックが空きメモリブロックであ
って、それが使用に供されたとすると、「0O00」な
るBアドレスがデコーダ102により解読されて、デコ
ーダ102は接続線30−1を介してアントゲ−)10
3−1と104−1とに論理allを供給する。アント
ゲ−)104−1は、前述のように、すでに第1の更新
信号により開いているので、デコーダ102から接続線
30−1を介して供給される論理11′はアンドゲート
104−1および接続線32−1を介してフリップフロ
ップ105−1に供給され、ツリツブフロップ105−
1をリセットし、接続線33−1を介してBアドレス発
生回路200に供給していた状態信号の一つを論理I1
0から10@に更新する。
The decoder 102 decodes the B address and supplies logic "11" to one of the connection lines 30-1 to 30-16, which are its output lines.The first memory block among the 16 memory blocks Suppose that is a free memory block and it is available for use, the B address "0O00" is decoded by the decoder 102, and the decoder 102 outputs the data to the computer via the connection line 30-1.
Logic all is supplied to 3-1 and 104-1. Since the AND gate 104-1 has already been opened by the first update signal as described above, the logic 11' supplied from the decoder 102 via the connection line 30-1 is connected to the AND gate 104-1 and the connection. is supplied to the flip-flop 105-1 via the line 32-1, and the flip-flop 105-1
1 and resets one of the status signals supplied to the B address generation circuit 200 via the connection line 33-1 to logic I1.
Update from 0 to 10@.

かくして更新された状態信号をBアドレス発生回路20
0が受信し、この更新された状態信号に対応するアドレ
スに格納しである「Bアドレス」データを、オアグー)
201またはナントゲート202から出力される続出し
信号によりBアドレスメモリ203または204から続
み出し、接続線36を介して更新された空きメモリブロ
ックのBアドレスとしてをアンドゲート205に供給し
新たなメモリブロック要求ニ対して準備をする。
The updated status signal is sent to the B address generation circuit 20.
0 receives and stores the "B address" data at the address corresponding to this updated status signal (OAG)
The B address is continued from the B address memory 203 or 204 by the continuation signal outputted from the Nant gate 201 or the Nant gate 202, and is supplied as the B address of the updated free memory block via the connection line 36 to the AND gate 205 to create a new memory. Prepare for block requests.

(2)  メモリブロック返却時 ) 4 リフ’ロック返却時はバッファメモリ2から主
記憶装置lへの、またはバッファメモリからチャネルへ
のデータ転送が終了したときに相当する。共通制御部3
から接続線23を介して上記のデータ転送に使用し九メ
モリブロックのBアドレスと、接続線24を介してこの
メモリブロックを返却するメモリブロック返却信号とが
バッファメモリブロック指定部4に供給されるO バッファメモリブロック指定部4にあるステータス更新
指示回路300では、メモリブロック返却信号に応答し
てフリップフロップ303をリセットし、この出力とメ
モリブロック返却信号との論理積をアンドゲート3ol
により作成して、接続1i127を介して第2のjl!
新信号としてバッファメモリ管理回路100に供給する
(2) When a memory block is returned) 4 When a riff'lock is returned, this corresponds to the time when data transfer from the buffer memory 2 to the main storage device 1 or from the buffer memory to the channel is completed. Common control unit 3
The B address of the 9 memory block used for the above-mentioned data transfer via the connection line 23 and a memory block return signal for returning this memory block are supplied to the buffer memory block specifying unit 4 via the connection line 24. O The status update instruction circuit 300 in the buffer memory block specifying section 4 resets the flip-flop 303 in response to the memory block return signal, and performs the AND gate 3ol between this output and the memory block return signal.
and the second jl! via connection 1i127!
It is supplied to the buffer memory management circuit 100 as a new signal.

バッファメモリ管理回路100に供給された第2の更新
信号は、アンドゲート103−1〜103−16に供給
されてこれらのアンドゲートを開く。−力選択回路10
1は、接続線28を介して第1の更新信号が供給されて
いないので接続線23と29とを接続し、接続線23を
介して共通制御回路3から供給された返却メモリブロッ
クのBアドレスをデコーダ102に供給する。デコーダ
102は、Bアドレスを解読しその出力線である接続f
#130−1〜30−16のうちのいずれか一つに論理
116を供給する)例えば第8番目のメモリブロックが
返却されたとするとs 「01ll」なるBアドレスが
デコーダ102によn*sさレテ、デ:ff−ダ102
は接続線30−8を介してアンドグー)103−8と1
04−8とに論理111を供給する。
The second update signal supplied to the buffer memory management circuit 100 is supplied to AND gates 103-1 to 103-16 to open these AND gates. -Force selection circuit 10
1 connects the connection lines 23 and 29 since the first update signal is not supplied via the connection line 28, and returns the B address of the return memory block supplied from the common control circuit 3 via the connection line 23. is supplied to the decoder 102. The decoder 102 decodes the B address and its output line is the connection f.
Logic 116 is supplied to any one of #130-1 to 30-16) For example, if the 8th memory block is returned, the B address "01ll" is n*s by the decoder 102. Rete, de: ff-da 102
(103-8 and 1 through connection line 30-8)
04-8 and supplies logic 111.

アンドグー)103−8は前述のように、すでに、第2
の更新信号により開いているので、デコーダ102から
接続線30−8を介して供給される論理111はアンド
ゲート103−8および接続線31−8を介してフリッ
プフロップ105−8に供給され、フリップフロップ1
05−8をセットし、接続線33−8を介してBアドレ
ス発生回路200に供給してい九状態信号の一つを論理
I01から111に更新する。
As mentioned above, 103-8 is already in the second
Since the logic 111 supplied from the decoder 102 via the connection line 30-8 is supplied to the flip-flop 105-8 via the AND gate 103-8 and the connection line 31-8, the flip-flop P1
05-8 to update one of the nine state signals supplied to the B address generation circuit 200 via the connection line 33-8 from logic I01 to logic I11.

かくして更新された状態信号をBアドレス発生回路20
0が受信し、この更新された状態信号に対応するアドレ
スに格納しである「Bアドレス」データを、オアゲート
201またはアンドグー)202(前述の例の場合には
オアゲート201 ’)から出力される読出し信号によ
りBアドレスメモリ203または204(前述の例では
Bアドレスメモリ203)から読み出し、接続線36を
介して更新された空きメモリブロックのBアドレスとし
てアンドゲート205に供給しメモリブロック要求に対
して準備をする。
The updated status signal is sent to the B address generation circuit 20.
0 receives and stores the "B address" data at the address corresponding to this updated status signal, and reads out the "B address" data output from OR gate 201 or ANDGOO) 202 (OR gate 201' in the case of the above example). The signal is read from the B address memory 203 or 204 (B address memory 203 in the above example) and supplied to the AND gate 205 as the B address of the updated empty memory block via the connection line 36 to prepare for a memory block request. do.

以上のようにしてバッファメモリブロック指定部4では
、バッファメモリ2内でのメモリブロックの使用状態を
管理し、空きメモリブロックのBアドレスをメモリブロ
ック要求に応じて共通制御部3に供給することができる
As described above, the buffer memory block specifying unit 4 can manage the usage status of memory blocks in the buffer memory 2 and supply the B address of a free memory block to the common control unit 3 in response to a memory block request. can.

このようにして本実施例では、各チャネルはバッファメ
モリ2内に空きメモリブロックがあれば、従来装置のよ
うにチャネルとそのチャネルが使用するメモリブロック
とが1対1に固定されずに、バッファメモリブロック指
定部4の指示に従ってどのメモリブロックでも使用する
ことができる。
In this way, in this embodiment, if there is a free memory block in the buffer memory 2, each channel can use the buffer memory 2 instead of fixing the channel and the memory block used by that channel in a one-to-one relationship as in the conventional device. Any memory block can be used according to instructions from the memory block specifying section 4.

一方、データチャネル装置に収容されている全チャネル
が同時にバッファメモリを1史用する確率は実際の使用
上極めて小さいことを考えると、各チャネルに対してメ
モリブロックを用意している従来装置のバッファメモリ
の使用効率は非常に低いが、本実施例では空きメモリブ
ロックを自由にどのチャネルも使用できることとしたた
め、使用効率のよいバッファメモリを少ない容量で構成
することができる。例えばデータチャネル装置で同時に
動作しているチャネルの数は全チャネル数の平均3(l
であるとすれば、本実施例ではバッファメモリの容量を
IsO係は減少できる。
On the other hand, considering that the probability that all channels accommodated in a data channel device use the buffer memory at the same time is extremely small in actual use, the buffer memory of conventional devices that prepares a memory block for each channel is extremely small. Although memory usage efficiency is very low, in this embodiment, free memory blocks can be freely used for any channel, so a buffer memory with high usage efficiency can be constructed with a small capacity. For example, the number of channels operating simultaneously in a data channel device is an average of 3(l) of all channels.
If so, in this embodiment, the capacity of the buffer memory can be reduced by IsO.

本実施例ではBアドレスは4バイトとしたが本発明はこ
れに限るものではない。また、Bアドレスと状態信号と
の対応は本実施例に限定されるものでなく、信頼性を考
慮し九メモリブロックの均等使用等を条件として付加し
、Bアドレスと状態信号の対応をきめることもてきる。
In this embodiment, the B address is 4 bytes, but the present invention is not limited to this. Furthermore, the correspondence between the B address and the status signal is not limited to this embodiment, but the correspondence between the B address and the status signal may be determined by adding conditions such as equal use of nine memory blocks in consideration of reliability. I can bring it.

以上のように本発明にはバッフ、アメモリをブロック化
し各メモリブロックをチャネルに固定的に割当てないで
、各チャネルに自由に各メモリブロックを使用させるこ
とによりチャネル数が同じでもチャネル共通制御回路に
あるバッファメモリの容量を大幅に減少できるという効
果がある。
As described above, the present invention blocks buffers and memory, and allows each channel to freely use each memory block without allocating each memory block fixedly to a channel. This has the effect of significantly reducing the capacity of a certain buffer memory.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図に使用するバッファメモリブロック指定部のブロック
図である。 図において、l・・・・・・主記憶値d、 2・・・・
・・バッファメモリ、3・・・・・・共通制御部、4・
・・・・・バッファメモリブロック指定部、5−1〜5
−n・・・・・・チャネル、  l l〜l 6 、1
7−1〜l 7−n・・・・・・接続線。 20・・・・・・データチャネル装置、21〜36・・
・・・・接続線、100・・・・・・バッファメモリ管
理回路、101・・・・・・選択回路、102・・・・
・・デコーダ、103−1〜103−16,104−1
〜104−16,205・・・・・・アンドゲート% 
105−1〜105−16・・・・・・フリップフロッ
プ、200・・・・・・Bアドレス発生回路、201・
・・・・・オアグー)、202・・・・・・ナントゲー
ト、203,204・・・・・・Bアドレスメモリ、3
0G・・・・・・ステータス更新指示回路s 301,
302・・・・・・アントゲ−)、303・・・・・・
フリップフロッグ。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 2 is a block diagram of a buffer memory block specifying unit used in the figure. In the figure, l... Main memory value d, 2...
...Buffer memory, 3...Common control unit, 4.
...Buffer memory block specification section, 5-1 to 5
-n...channel, l l~l 6, 1
7-1~l 7-n... Connection line. 20...Data channel device, 21-36...
... Connection line, 100 ... Buffer memory management circuit, 101 ... Selection circuit, 102 ...
...Decoder, 103-1 to 103-16, 104-1
~104-16,205...and gate%
105-1 to 105-16...Flip-flop, 200...B address generation circuit, 201.
...Oagoo), 202...Nant Gate, 203, 204...B address memory, 3
0G...Status update instruction circuit s 301,
302...antogame), 303...
flip frog.

Claims (1)

【特許請求の範囲】 複数のチャネルと該チャネルを共通に制御するチャネル
共通制御回路とからなり鋏チャネル共通制御回路に備え
であるデータ転送用バッファメモリが予め定めた大きさ
の複数のメモリブロックに分割されているデータチャネ
ル装置において、空きメモリブロックの要求を示すメモ
リブロック要求信号に応答して第1の更新信号を発生し
空きメモリブロックの返却を示すメモリブロック返却信
号に応答して第2の更新信号を発生する更新信号発生手
段と、 前記各メモリブロックに対応してそれぞれ設けもれ嬢メ
モリプ日ツタの空きまたは鳥が9の状態を記憶し前記第
1の更新信号と前記バッファメモリ内でのメモリブロッ
クを示すアドレス信号とに応答して記憶情報を空きから
曇がりの状態に更新し前記第2の更新信号と前記バッフ
ァメモリ内でのメモリブロックを示すアドレス信号とに
応答して記憶情報を塞がりから空きの状態に更新するメ
モリブロック状態記憶更新手段と、 前記各メモリブロック状態記憶更新手段の記憶情報に応
答して前記バッファメモリ内での空きメモリブロックを
示すアドレス信号を出力するアドレス信号発生出力手段
とを含むことを特徴とするデータチャネル装置。
[Claims] A buffer memory for data transfer, which is made up of a plurality of channels and a channel common control circuit that commonly controls the channels, and which is provided in the scissor channel common control circuit, is arranged in a plurality of memory blocks of a predetermined size. In a divided data channel device, a first update signal is generated in response to a memory block request signal indicating a request for a free memory block, and a second update signal is generated in response to a memory block return signal indicating a return of a free memory block. an update signal generating means for generating an update signal; update the stored information from empty to cloudy in response to an address signal indicating a memory block in the buffer memory; and update stored information in response to the second update signal and an address signal indicating a memory block in the buffer memory. a memory block state memory update means for updating a memory block from a blocked state to an empty state; and an address signal for outputting an address signal indicating a free memory block in the buffer memory in response to the stored information of each of the memory block state memory update means. A data channel device comprising a generation output means.
JP1348882A 1982-01-29 1982-01-29 Data channel device Pending JPS58129628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1348882A JPS58129628A (en) 1982-01-29 1982-01-29 Data channel device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1348882A JPS58129628A (en) 1982-01-29 1982-01-29 Data channel device

Publications (1)

Publication Number Publication Date
JPS58129628A true JPS58129628A (en) 1983-08-02

Family

ID=11834501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1348882A Pending JPS58129628A (en) 1982-01-29 1982-01-29 Data channel device

Country Status (1)

Country Link
JP (1) JPS58129628A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62296260A (en) * 1986-06-16 1987-12-23 Nec Corp Data transfer multiplex control system
JPH02116945A (en) * 1988-10-27 1990-05-01 Oki Electric Ind Co Ltd Connecting device for different kinds of buses

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51101430A (en) * 1975-03-04 1976-09-07 Hitachi Ltd
JPS5466732A (en) * 1977-11-07 1979-05-29 Nec Corp Data buffer control unit in data transfer unit
JPS5539993A (en) * 1978-09-14 1980-03-21 Nec Corp Input-output controller
JPS55146530A (en) * 1979-04-27 1980-11-14 Nec Corp Data processing device
JPS5694425A (en) * 1979-12-27 1981-07-30 Fujitsu Ltd Receiving data transfer control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51101430A (en) * 1975-03-04 1976-09-07 Hitachi Ltd
JPS5466732A (en) * 1977-11-07 1979-05-29 Nec Corp Data buffer control unit in data transfer unit
JPS5539993A (en) * 1978-09-14 1980-03-21 Nec Corp Input-output controller
JPS55146530A (en) * 1979-04-27 1980-11-14 Nec Corp Data processing device
JPS5694425A (en) * 1979-12-27 1981-07-30 Fujitsu Ltd Receiving data transfer control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62296260A (en) * 1986-06-16 1987-12-23 Nec Corp Data transfer multiplex control system
JPH02116945A (en) * 1988-10-27 1990-05-01 Oki Electric Ind Co Ltd Connecting device for different kinds of buses

Similar Documents

Publication Publication Date Title
US5717886A (en) Semiconductor disk device and memory management method
US7475185B2 (en) Nonvolatile memory system, nonvolatile memory device, memory controller, access device, and method for controlling nonvolatile memory device
US5812814A (en) Alternative flash EEPROM semiconductor memory system
US5802551A (en) Method and apparatus for controlling the writing and erasing of information in a memory device
US7698497B2 (en) Method of controlling card-shaped memory device
US6965963B1 (en) Continuous arrangement of data clusters across multiple storages
JPH06266596A (en) Flash memory file storage device and information processor
JPH034940B2 (en)
JP2000067574A (en) Semiconductor memory
JP2004110503A (en) Memory control device, memory system, control method for memory control device, channel control part and program
JPH0719426B2 (en) Disk controller
US7062630B2 (en) Storing device for writing data onto a plurality of installed storing mediums, storing control method for the storing device, and program thereof
US7487298B2 (en) Disk array device, method for controlling the disk array device and storage system
EP0332151A2 (en) Direct memory access controller
JP2021131732A (en) Data transfer system
US6782444B1 (en) Digital data storage subsystem including directory for efficiently providing formatting information for stored records
KR100225518B1 (en) Apparatus for initializing node address of ipc and method
US6532513B1 (en) Information recording and reproduction apparatus
JPS58129628A (en) Data channel device
US7337269B2 (en) Method of managing a data storage array, and a computer system including a raid controller
US7536518B2 (en) Scalable disc array unit, and management method and management program for a scalable disc array unit
US6594726B1 (en) Digital data storage subsystem including arrangement for efficiently controlling fast write storage operation
JP2826780B2 (en) Data transfer method
JP3259095B2 (en) Data transfer method
JPH0387941A (en) Decentralized data base processing system