JP2504193B2 - Control device with buffer memory - Google Patents

Control device with buffer memory

Info

Publication number
JP2504193B2
JP2504193B2 JP15926589A JP15926589A JP2504193B2 JP 2504193 B2 JP2504193 B2 JP 2504193B2 JP 15926589 A JP15926589 A JP 15926589A JP 15926589 A JP15926589 A JP 15926589A JP 2504193 B2 JP2504193 B2 JP 2504193B2
Authority
JP
Japan
Prior art keywords
segment
magnetic tape
segments
buffer memory
buffer
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.)
Expired - Fee Related
Application number
JP15926589A
Other languages
Japanese (ja)
Other versions
JPH0324658A (en
Inventor
真澄 滝柳
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP15926589A priority Critical patent/JP2504193B2/en
Publication of JPH0324658A publication Critical patent/JPH0324658A/en
Application granted granted Critical
Publication of JP2504193B2 publication Critical patent/JP2504193B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 技術分野 本発明は緩衝記憶付き制御装置に関し、特に自装置内
に緩衝用記憶領域を有し、複数台の下位装置と接続され
る緩衝記憶付き制御装置に関する。
TECHNICAL FIELD The present invention relates to a control device with a buffer memory, and more particularly to a control device with a buffer memory that has a buffer storage area in its own device and is connected to a plurality of lower devices.

従来技術 従来、この種の緩衝記憶付き制御装置は、複数の下位
装置、例えば記録再生機構を制御することができ、それ
と同数あるいは、それ以下の数の記憶領域(セグメン
ト)から構成される緩衝記憶領域を有している。特に、
下位装置が機械的なバッファを持たず、スタート/スト
ップ特性が悪いストリーマ型磁気テープ装置である場合
には、スタート/ストップの回数を減らすために以下の
ような動作を行っていた。
2. Description of the Related Art Conventionally, a control device with a buffer memory of this type can control a plurality of lower-level devices, for example, a recording / reproducing mechanism, and a buffer memory composed of the same number of storage areas or less storage areas (segments). Has an area. In particular,
When the lower device is a streamer type magnetic tape device having no mechanical buffer and poor start / stop characteristics, the following operation is performed in order to reduce the number of start / stop.

まず、上位装置からのREAD/WRITE命令により、現在使
用中でない緩衝記憶領域のセグメントをREAD/WRITEを行
う記録再生機構に割当てる。次に、記録再生機構から送
られるREADデータ又は上位装置から送られるWRITEデー
タを緩衝記憶内に保持する。最後に、そのデータを上位
装置又は記録再生機構に転送していた。
First, in accordance with a READ / WRITE command from the host device, a segment of the buffer storage area which is not currently in use is assigned to a recording / reproducing mechanism for READ / WRITE. Next, the READ data sent from the recording / reproducing mechanism or the WRITE data sent from the host device is held in the buffer memory. Finally, the data was transferred to the host device or the recording / reproducing mechanism.

しかし、上述した従来の緩衝記憶付き制御装置では、
緩衝記憶領域のセグメントの数よりも、記録再生機構の
数の方が多い場合には、全てのセグメントが夫々記録再
生機構に割当てられている状態において、上位装置から
さらに別の記録再生機構に対するREAD/WRITE命令が出さ
れると、既に全てのセグメントが他の記録再生機構に使
用されているので、いずれかのセグメントが空くまでそ
の命令は実行できないという欠点があった。
However, in the above-mentioned conventional controller with buffer memory,
If the number of recording / reproducing mechanisms is larger than the number of segments in the buffer storage area, READ from a higher-level device to another recording / reproducing mechanism while all segments are assigned to the recording / reproducing mechanisms respectively. When the / WRITE command is issued, all the segments have already been used for other recording / playback mechanisms, so the command cannot be executed until one of the segments becomes empty.

そのような場合、そのREAD/WRITE命令は待たされる状
態になり、結果として命令応答速度が悪化するという欠
点がある。
In such a case, the READ / WRITE instruction is put in a waiting state, and as a result, the instruction response speed deteriorates.

発明の目的 本発明は上述した従来の欠点を解決するためになされ
たものであり、その目的は緩衝記憶領域のセグメントの
数よりも下位装置の数の方が多いシステムにおいても上
位装置からのREAD/WRITE命令が待たされることのない制
御を可能とする緩衝記憶付き制御装置を提供することで
ある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional drawbacks, and an object of the present invention is to read from a higher-level device even in a system in which the number of lower-level devices is larger than the number of segments in the buffer storage area. Another object of the present invention is to provide a control device with a buffer memory that enables control without waiting for a / WRITE command.

発明の構成 本発明による緩衝記憶付き制御装置は、N台の下位装
置と接続される緩衝記憶付き制御装置であって、前記N
台の下位装置とのデータ授受を夫々行うM個(2≦M<
N)のセグメントから構成される記憶手段と、前記セグ
メントのうちのM−1個が下位装置とのデータの授受を
行っており、さらに他の下位装置とデータの授受を行う
とき前記セグメントのうちの残りの1個を分割する分割
手段とを有し、前記分割手段によって分割されたセグメ
ントと前記他の下位装置とのデータ授受を行うようにし
たことを特徴とする。
Configuration of the Invention A control device with a buffer memory according to the present invention is a control device with a buffer memory connected to N lower devices,
M (2 ≦ M <for performing data exchange with each lower device)
N) storage means and M-1 of the segments are exchanging data with a lower device, and when further exchanging data with another lower device, among the segments. And dividing means for dividing the remaining one of the two, and data is exchanged between the segment divided by the dividing means and the other lower device.

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

第1図は本発明による緩衝記憶付き制御装置の一実施
例である磁気テープ制御装置を含むシステムの構成を示
すブロック図であり、下位装置が磁気テープ装置である
場合が示されている。
FIG. 1 is a block diagram showing a configuration of a system including a magnetic tape control device which is an embodiment of a control device with buffer storage according to the present invention, and shows a case where a lower device is a magnetic tape device.

図において、磁気テープ処理装置1は、上位装置2及
び複数の磁気テープ装置3に接続されている。なお、磁
気テープ装置3は、説明のため、以下順にMTU1,MTU2,MT
U3,MTU4,MTU5,MTU6で示す。
In the figure, a magnetic tape processing device 1 is connected to a host device 2 and a plurality of magnetic tape devices 3. For the sake of explanation, the magnetic tape device 3 is MTU1, MTU2, MT in the following order.
Shown as U3, MTU4, MTU5, MTU6.

上位装置接続部11は、上位装置2との命令転送、デー
タ転送、ステータス転送を行う際にそのインタフェース
を制御するものである。
The higher-level device connection unit 11 controls the interface when performing command transfer, data transfer, and status transfer with the higher-level device 2.

マイクロプロセッサ12は、磁気テープ制御装置1全体
の動作を制御するものである。記録再生制御部13は、磁
気テープ装置3に対する動作指示、データ転送の制御、
エラー検出等を行うものである。磁気テープ装置3は、
図示せぬ磁気テープ媒体へのデータの書込み及び読出し
を行うものである。
The microprocessor 12 controls the overall operation of the magnetic tape controller 1. The recording / reproducing control unit 13 controls operation of the magnetic tape device 3, control of data transfer,
Error detection is performed. The magnetic tape device 3
Data is written to and read from a magnetic tape medium (not shown).

緩衝記憶15は、上位装置2から送られたWRITEデータ
あるいは磁気テープ装置から読出されたREADデータを一
時記憶し、上位装置2と磁気テープ装置3とのデータ処
理速度の差及びデータ転送タイミングの調整をとるため
に設けられている。また、この緩衝記憶15は、複数のセ
グメントから構成され、各セグメントは連続したアドレ
スを有している。なお、説明のため各セグメントをSEG
1、SEG2、SEG3、SEG4で示す。
The buffer memory 15 temporarily stores the WRITE data sent from the host device 2 or the READ data read from the magnetic tape device, and adjusts the difference in data processing speed between the host device 2 and the magnetic tape device 3 and the data transfer timing. It is provided for taking. The buffer memory 15 is composed of a plurality of segments, and each segment has a continuous address. For the sake of explanation, each segment is SEG
Shown as 1, SEG2, SEG3, and SEG4.

緩衝記憶制御部14は、マイクロプロセッサ12からの指
示により、緩衝記憶15の複数のセグメントから実際にデ
ータを書込むべき、あるいはデータを読出すべきセグメ
ントを選択し、割当てるものである。
The buffer memory control unit 14 selects and allocates a segment from which data should be actually written or data should be read out from a plurality of segments of the buffer memory 15 according to an instruction from the microprocessor 12.

緩衝記憶分割フラグ16は緩衝記憶15のセグメントを分
割した時にマイクロプロセッサ12がセットするフラグで
あり、各セグメントに対応して存在している。この緩衝
記憶分割フラグ16がセットされると、そのフラグに対応
するセグメントのアドレスの連続性は失われる。
The buffer storage division flag 16 is a flag set by the microprocessor 12 when the segment of the buffer storage 15 is divided, and is present corresponding to each segment. When the buffer division flag 16 is set, the continuity of the address of the segment corresponding to the flag is lost.

かかる構成において、上位装置2から上位装置接続部
11を介して送られる命令及びデータは、マイクロプロセ
ッサ12で解析される。ここで解析された命令が磁気テー
プ装置MTU1に対するREAD/WRITE命令であれば緩衝記憶15
内に複数のセグメントが空いていれば、未使用のセグメ
ントをMTU1に対して割当てる。
In such a configuration, the host device 2 to the host device connection unit
The instructions and data sent via 11 are analyzed by the microprocessor 12. If the analyzed command is a READ / WRITE command for the magnetic tape unit MTU1, buffer storage 15
If there are multiple segments available, allocate unused segments to MTU1.

いま、仮にSEG1をMTU1に割当てたものとする。する
と、続いてマイクロプロセッサ12は、WRITE命令の場
合、上位装置接続部11及び緩衝記憶制御部14に対し、上
位装置2からSEG1へのWRITEデータ転送を指示する。
Now, assume that SEG1 is assigned to MTU1. Then, in the case of the WRITE instruction, the microprocessor 12 subsequently instructs the upper device connection unit 11 and the buffer storage control unit 14 to transfer the WRITE data from the upper device 2 to the SEG1.

また、READ命令の場合、記録再生制御部13及び緩衝記
憶制御部14に対しMTU1からSEG1へのREADデータ転送を指
示する。その後、上位装置2から別の磁気テープ装置へ
のREAD/WRITE命令が出されると、マイクロプロセッサ12
は、同様に緩衝記憶15内に複数のセグメントが空いてい
れば、未使用のセグメントをその磁気テープ装置に割当
て、データ転送を開始する。
Further, in the case of a READ command, it instructs the recording / reproduction control unit 13 and the buffer storage control unit 14 to transfer READ data from MTU1 to SEG1. After that, when a READ / WRITE command is issued from the host device 2 to another magnetic tape device, the microprocessor 12
Similarly, if a plurality of segments are available in the buffer memory 15, an unused segment is allocated to the magnetic tape device and data transfer is started.

同様に、割当てやデータ転送が行われ、空セグメント
数が1つになるとマイクロプロセッサ12は、緩衝記憶が
割当てられず、かつ磁気テープ媒体が装填され磁気テー
プ媒体にREAD/WRITE可能(READY)な状態の磁気テープ
装置が何台あるかをチェックする。そして、その条件に
該当する磁気テープ装置が1台であれば、同様に残りの
セグメントを磁気テープ装置に割当てる。
Similarly, when allocation or data transfer is performed and the number of empty segments becomes one, the microprocessor 12 does not allocate buffer storage, and the magnetic tape medium is loaded and READ / WRITE is possible (READY) on the magnetic tape medium. Check how many magnetic tape units are active. If there is only one magnetic tape device that meets the condition, the remaining segments are similarly assigned to the magnetic tape device.

また、上記の条件に該当する磁気テープ装置が2台以
上ある時、それらの装置に対してもREAD/WRITE命令が発
行される可能性があると判断し、マイクロプロセッサ12
は、次の磁気テープ装置に対しては、残りのセグメント
の半分を割当てる。
Further, when there are two or more magnetic tape devices that meet the above conditions, it is determined that a READ / WRITE command may be issued to those devices, and the microprocessor 12
Allocates half of the remaining segment to the next magnetic tape unit.

いま、仮に緩衝記憶15のSEG4を磁気テープ装置MTU4に
割当てるものとすると、マイクロプロセッサ12は、SEG4
の記憶領域の大きさの1/2、つまり半分より下位のアド
レスをMTU4に割当てる。ただし、磁気テープ装置MTU4に
おいて直前に処理されたデータブロックのブロック長が
緩衝記憶15のセグメントの記憶領域の大きさの1/2を越
える時は、SEG4は分割せずにMTU4に割当てられる。
Now, assuming that SEG4 of the buffer memory 15 is assigned to the magnetic tape device MTU4, the microprocessor 12 is
Allocate to MTU4 an address lower than half the size of the storage area of, that is, lower than half. However, when the block length of the data block processed immediately before in the magnetic tape device MTU4 exceeds 1/2 of the size of the storage area of the segment of the buffer storage 15, the SEG4 is assigned to the MTU4 without being divided.

次に、緩衝記憶15のセグメントが割当てられず、かつ
READYな状態にある磁気テープ装置のチェック方式につ
いて第2図を用いて説明する。図において、12はマイク
ロプロセッサ、120は磁気テープ装置状態テーブル、17
は緩衝記憶制御テーブルである。
Then the segment of buffer store 15 is not allocated, and
A check method of the magnetic tape device in the READY state will be described with reference to FIG. In the figure, 12 is a microprocessor, 120 is a magnetic tape device status table, and 17
Is a buffer storage control table.

磁気テープ装置状態テーブル120は、各磁気テープ装
置がREADYな状態にあるか、NOT READYな状態にあるか
を示すフラグのテーブルであり、各磁気テープ装置に対
応している。また、マイクロプロセッサ12が、記録再生
制御部13からあるMTUの状態がREADYになった旨の報告を
受けると、磁気テープ装置状態テーブル120のそのMTUに
対応するフラグを“1"にする。逆に、MTUの状態がNOT
READYになった旨の報告を受けると、そのMTUに対応する
フラグを“0"にリセットする。
The magnetic tape device status table 120 is a table of flags indicating whether each magnetic tape device is in the READY state or the NOT READY state, and corresponds to each magnetic tape device. When the microprocessor 12 receives a report from the recording / reproducing control unit 13 that the state of an MTU has become READY, it sets the flag corresponding to that MTU in the magnetic tape device state table 120 to "1". Conversely, the MTU status is NOT
When it receives the report that it has become READY, it resets the flag corresponding to that MTU to "0".

緩衝記憶制御テーブル17は、マイクロプロセッサ12が
緩衝記憶15を管理するために使用するテーブルであり、
各MTUに対応して存在する。また、緩衝記憶制御テーブ
ル17には、緩衝記憶割当てフラグ171と最終処理データ
長172の2つのフィールドがある。
The buffer storage control table 17 is a table used by the microprocessor 12 to manage the buffer storage 15,
It exists for each MTU. Further, the buffer storage control table 17 has two fields of a buffer storage allocation flag 171 and a final processing data length 172.

緩衝記憶割当てフラグ171は、そのMTUに緩衝記憶のセ
グメントを割当てる時にマイクロプロセッサによって
“1"にセットされ、割当てを解除した時に“0"にリセッ
トされるものである。
The buffer allocation flag 171 is set to "1" by the microprocessor when allocating the segment of the buffer to the MTU and reset to "0" when the allocation is released.

最終処理データ長172は、現在処理しているブロック
のデータ長を常に上書きで記憶するものである。従っ
て、最後に残っている最終処理データ長フィールドの内
容は、そのMTUで最後に(直前に)処理したブロックの
データ長を示すことになる。
The final processed data length 172 always stores the data length of the currently processed block by overwriting. Therefore, the content of the final processed data length field remaining at the end indicates the data length of the block processed last (immediately before) in the MTU.

したがって、磁気テープ装置状態テーブルのREADYの
フラグが“1"でかつ緩衝記憶制御テーブル17の緩衝記憶
割当てフラグ171が“0"のMTUの数を計数すれば、先述し
た分割処理を行うか否かの判断ができることとなる。
Therefore, if the number of MTUs in which the READY flag of the magnetic tape device status table is "1" and the buffer storage allocation flag 171 of the buffer storage control table 17 is "0" is counted, whether or not the above-described division processing is performed is performed. Will be able to judge.

以上のような判断の結果に基づいてセグメントを分割
した時、マイクロプロセッサ12は対応するセグメントの
緩衝記憶分割フラグ16をセットする。緩衝記憶分割フラ
グ16がセットされている場合において緩衝記憶15のセグ
メント中の下位のアドレスを書込み又は読出しする際
に、そのアドレスが分割境界のアドレスに達すると、緩
衝記憶制御部14は書込み又は読出しアドレスを先頭アド
レスに戻す。
When the segment is divided based on the result of the above judgment, the microprocessor 12 sets the buffer storage division flag 16 of the corresponding segment. When the lower address in the segment of the buffer memory 15 is written or read when the buffer division flag 16 is set and the address reaches the address of the division boundary, the buffer control unit 14 writes or reads. Returns the address to the start address.

また、セグメント中の上位のアドレスを書込み又は読
出しする際に、アドレスが最終アドレスに達すると、緩
衝記憶制御部14は、書込み又は読出しアドレスをセグメ
ントの分割境界アドレスまで戻す。
Further, when writing or reading an upper address in the segment, if the address reaches the final address, the buffer storage control unit 14 returns the write or read address to the division boundary address of the segment.

例えば、緩衝記憶15のセグメントの1つが第3図
(a)に示されているように0000(HEX)からFFFF(HE
X)までの64KBのアドレスを有している場合には同図
(b)に示されているように0000(HEX)〜7FFF(HEX)
が上述した下位のアドレス、8000(HEX)〜FFFF(HEX)
が上位のアドレスとなる。以上により、SEG4は2つのセ
グメントに分割されて使用可能になるのである。
For example, one of the segments of the buffer memory 15 is from 0000 (HEX) to FFFF (HE as shown in FIG. 3 (a).
In case of having 64KB address up to X), 0000 (HEX) to 7FFF (HEX) as shown in FIG.
Is the lower address, 8000 (HEX) to FFFF (HEX)
Is the higher address. As described above, SEG4 is divided into two segments and can be used.

また、セグメントを分割した後、別の磁気テープ装置
に対するREAD/WRITEが命令が発行されると、マイクロプ
ロセッサ12は、ただちに分割したセグメントの上位のア
ドレスを次の磁気テープ装置に割当てる。これにより、
ただちにデータ転送を開始できるのである。
When a READ / WRITE command is issued to another magnetic tape device after dividing the segment, the microprocessor 12 immediately assigns the higher address of the divided segment to the next magnetic tape device. This allows
The data transfer can be started immediately.

さらにまた、分割されていないセグメントの使用が終
わり占有を解除し、次に磁気テープ装置に割当てる時、
そのセグメントが最後のセグメントであれば、先述と同
様にセグメントの分割の処理が適用される。したがっ
て、全てのセグメントが分割される場合には、最大で緩
衝記憶15内のセグメントの数の2倍の数の磁気テープ装
置のデータを格納できることになる。
Furthermore, when the use of the undivided segment ends and the occupancy is released and the next allocation is made to the magnetic tape device,
If the segment is the last segment, the segment division processing is applied as described above. Therefore, when all the segments are divided, it is possible to store a maximum of twice as many data of the magnetic tape device as the number of the segments in the buffer memory 15.

次に、第4図を用いてマイクロプロセッサによるセグ
メント分割及び割当ての処理手順について説明する。
Next, the procedure of segment division and allocation by the microprocessor will be described with reference to FIG.

まず、マイクロプロセッサは上位装置からのコマンド
がREADコマンド又はWRITEコマンドであるか否かを判断
する(ステップ41)。READコマンド又はWRITEコマンド
でない場合は処理は終了となる(ステップ41→42)。
First, the microprocessor determines whether the command from the host device is a READ command or a WRITE command (step 41). If the command is not the READ command or the WRITE command, the process ends (steps 41 → 42).

コマンドがREADコマンド又はWRITEコマンドであった
場合にはそのコマンドにかかる磁気テープ装置に緩衝記
憶のセグメントが割当てられているか否かを判断する
(ステップ41→43)。すでに、セグメントが割当てられ
ていれば処理は終了となる(ステップ43→52)。
If the command is a READ command or a WRITE command, it is determined whether or not a buffer storage segment is assigned to the magnetic tape device associated with the command (steps 41 → 43). If the segment has already been assigned, the process ends (step 43 → 52).

一方、まだセグメントが割当てられていなければ、残
りのセグメントの数が1つ、すなわち最後のセグメント
であるか否かを判断する(ステップ43→44)。ここで、
残りのセグメントの数が1つでない場合は、未使用のセ
グメントを磁気テープ装置に割当て(ステップ45)、さ
らにそのセグメントに対応する緩衝記憶割当てフラグを
セットし(ステップ46)、処理は終了となる(ステップ
52)。
On the other hand, if the segment is not assigned yet, it is judged whether the number of remaining segments is one, that is, the last segment (step 43 → 44). here,
If the number of remaining segments is not one, an unused segment is allocated to the magnetic tape device (step 45), the buffer storage allocation flag corresponding to that segment is set (step 46), and the processing ends. (Step
52).

また、残りのセグメントの数が1つ、すなわち最後の
セグメントであれば、そのセグメントが分割済みか否か
を判断する(ステップ44→47)。すでに、そのセグメン
トが分割済みであれば、その分割されたセグメントのう
ち未使用のものを磁気テープ装置に割当て(ステップ47
→45)、さらにそのセグメントに対応する緩衝記憶割当
てフラグをセットし(ステップ46)、処理は終了となる
(ステップ52)。
If the number of remaining segments is one, that is, the last segment, it is determined whether the segment has been divided (steps 44 → 47). If the segment has already been divided, an unused one of the divided segments is assigned to the magnetic tape device (step 47).
(→ 45), the buffer storage allocation flag corresponding to the segment is set (step 46), and the process ends (step 52).

一方、まだそのセグメントが分割されていなければ、
今度は磁気テープ装置状態テーブル及び緩衝記憶割当て
フラグを参照してREADYな状態でセグメントが割当てら
れていない磁気テープ装置は1台か否か判断する(ステ
ップ47→48)。1台であればその磁気テープ装置に最後
のセグメントを割当て(ステップ48→45)、さらにその
セグメントに対応する緩衝記憶割当てフラグをセットし
(ステップ46)、処理は終了となる(ステップ52)。
On the other hand, if the segment is not yet split,
This time, referring to the magnetic tape device status table and the buffer storage allocation flag, it is judged whether or not there is only one magnetic tape device in which the segment is not allocated in the READY state (steps 47 → 48). If it is one, the last segment is assigned to the magnetic tape device (steps 48 → 45), the buffer storage assignment flag corresponding to that segment is set (step 46), and the process ends (step 52).

また、1台でなければ、セグメントを分割して緩衝記
憶分割フラグをセットする(ステップ48→49)。そし
て、その分割後のセグメントを磁気テープ装置に割当て
(ステップ50)、さらにそのセグメントに対応する緩衝
記憶割当てフラグをセットし(ステップ46)、処理は終
了となる(ステップ52)。
If it is not one, the segment is divided and the buffer storage division flag is set (step 48 → 49). Then, the segment after the division is assigned to the magnetic tape device (step 50), the buffer storage assignment flag corresponding to the segment is set (step 46), and the process is terminated (step 52).

以上により、分割するセグメントの数を磁気テープ装
置にかかる負荷によって1倍〜2倍までダイナミックに
変化させることができることとなり、上位装置からのRE
AD/WRITE命令が待たされるという状態はなくなるのであ
る。
As described above, the number of segments to be divided can be dynamically changed from 1 to 2 times depending on the load applied to the magnetic tape device.
The situation where the AD / WRITE command is kept waiting is gone.

なお、本実施例においては下位装置が磁気テープ装置
である場合について説明したが、それに限定されず、他
の装置、例えば磁気ディスク装置、フロッピィディスク
装置である場合においても本発明が適用できることは明
白である。
Although the case where the lower device is a magnetic tape device has been described in the present embodiment, the present invention is not limited to this, and it is apparent that the present invention can be applied to other devices such as a magnetic disk device and a floppy disk device. Is.

また、本実施例においては各セグメントを2分割する
場合について説明したが、3分割、4分割しても良いこ
とは明らかである。この場合には各セグメントに対応す
るフラグの数を増せば良い。
Further, although the case where each segment is divided into two has been described in the present embodiment, it is clear that the segment may be divided into three. In this case, the number of flags corresponding to each segment may be increased.

発明の効果 以上説明したように本発明は、緩衝記憶付き制御装置
において、緩衝記憶をセグメント単位で分割して使用可
能とすることにより、緩衝記憶のセグメントの数よりも
多数の磁気テープ装置その他の記録再生機構に対して緩
衝記憶を同時に割当てることができ、これにより、緩衝
記憶の空き待ちによって生ずる記録再生命令の時間的損
失を軽減できるという効果がある。
As described above, according to the present invention, in a control device with a buffer memory, the buffer memory is divided into segments and can be used, so that a larger number of magnetic tape devices than the number of segments of the buffer memory can be used. Buffer memory can be allocated to the recording / reproducing mechanism at the same time, which has the effect of reducing the time loss of the recording / reproducing command caused by waiting for the buffer memory to become empty.

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

第1図は本発明を磁気テープ制御装置に適用した場合の
システム構成を示すブロック図、第2図はマイクロプロ
セッサにおける磁気テープ装置についてのチェック方式
を示す概略図、第3図は緩衝記憶のセグメントの分割の
様子を示すアドレスマップ、第4図はマイクロプロセッ
サによるセグメント分割及び割当ての処理手順を示すフ
ローチャートである。 主要部分の符号の説明 12……マイクロプロセッサ 15……緩衝記憶 16……緩衝記憶分割フラグ
FIG. 1 is a block diagram showing a system configuration when the present invention is applied to a magnetic tape control device, FIG. 2 is a schematic diagram showing a check system for a magnetic tape device in a microprocessor, and FIG. 3 is a buffer storage segment. FIG. 4 is a flow chart showing the processing procedure of segment division and allocation by the microprocessor. Explanation of symbols of main parts 12 ... Microprocessor 15 ... Buffer memory 16 ... Buffer memory division flag

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】N台の下位装置と接続される緩衝記憶付き
制御装置であって、前記N台の下位装置とのデータ授受
を夫々行うM個(2≦M<N)のセグメントから構成さ
れる記憶手段と、前記セグメントのうちのM−1個が下
位装置とのデータの授受を行っており、さらに他の下位
装置とデータの授受を行うとき前記セグメントのうちの
残りの1個を分割する分割手段とを有し、前記分割手段
によって分割されたセグメントと前記他の下位装置との
データ授受を行うようにしたことを特徴とする緩衝記憶
付き制御装置。
1. A control device with a buffer memory, which is connected to N lower devices, and is composed of M (2 ≦ M <N) segments for exchanging data with the N lower devices, respectively. Storage means and M-1 of the segments are exchanging data with a lower device, and the remaining one of the segments is divided when exchanging data with another lower device. And a dividing unit for performing data exchange between the segment divided by the dividing unit and the other lower-level device.
JP15926589A 1989-06-21 1989-06-21 Control device with buffer memory Expired - Fee Related JP2504193B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15926589A JP2504193B2 (en) 1989-06-21 1989-06-21 Control device with buffer memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15926589A JP2504193B2 (en) 1989-06-21 1989-06-21 Control device with buffer memory

Publications (2)

Publication Number Publication Date
JPH0324658A JPH0324658A (en) 1991-02-01
JP2504193B2 true JP2504193B2 (en) 1996-06-05

Family

ID=15689994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15926589A Expired - Fee Related JP2504193B2 (en) 1989-06-21 1989-06-21 Control device with buffer memory

Country Status (1)

Country Link
JP (1) JP2504193B2 (en)

Also Published As

Publication number Publication date
JPH0324658A (en) 1991-02-01

Similar Documents

Publication Publication Date Title
US4476526A (en) Cache buffered memory subsystem
JPH04287261A (en) Data transfer control system and magnetic disk controller
JPH07104817B2 (en) Data record transfer method
US5136692A (en) Memory disk buffer manager
GB2063532A (en) Data storage system for a computer
JP2504193B2 (en) Control device with buffer memory
JPH02148245A (en) Buffer memory structure
JP2523715B2 (en) Magnetic disk drive
JPS6232494B2 (en)
EP0278425A2 (en) Data processing system and method with management of a mass storage buffer
JP3151416B2 (en) Data transfer control device and magnetic disk device
JPS60201453A (en) Memory access controlling system
JPS6027014A (en) Magnetic disk controller
JPH01184666A (en) External storage device with buffer storage
JPH02171912A (en) Control device with buffer storage
JPH04350738A (en) Disk space management system
JP3472357B2 (en) Information processing device
JPH0246967B2 (en)
JPH09326832A (en) Common use buffer device and its control method
JPH026094B2 (en)
JPH0410652B2 (en)
JPH08305631A (en) Storage control method
EP1537734B1 (en) Device and method for delayed reading of digital video data
JPH04170624A (en) System including external storage device
JP2826780B2 (en) Data transfer method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080402

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090402

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees