JPS63136360A - Magnetic tape controller - Google Patents

Magnetic tape controller

Info

Publication number
JPS63136360A
JPS63136360A JP28336686A JP28336686A JPS63136360A JP S63136360 A JPS63136360 A JP S63136360A JP 28336686 A JP28336686 A JP 28336686A JP 28336686 A JP28336686 A JP 28336686A JP S63136360 A JPS63136360 A JP S63136360A
Authority
JP
Japan
Prior art keywords
data
block
buffer
magnetic tape
stored
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
JP28336686A
Other languages
Japanese (ja)
Inventor
Yoshiaki Mori
森 善昭
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
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 filed Critical NEC Corp
Priority to JP28336686A priority Critical patent/JPS63136360A/en
Publication of JPS63136360A publication Critical patent/JPS63136360A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To contrive to improve the tape utilizing efficiency without lowering system throughput by recording plural data blocks as one physical data block on a magnetic tape. CONSTITUTION:A data block sent from a data processing system 4 is stored in a data buffer 1 through an I/O processing section 3. A block counter 32 receives a count in advance and every time a data block is stored in the data buffer 1, the count is decremented. Moreover, the I/O processing section 3 stores the content of the buffer address register 31 before the data block is stored in the data buffer 1 and compares it with the content after the storage to obtain the block length of a logical data block 11, and the result is described in a block length description region 12. When the block count is finished, the plural stored logic data block 11 and the block length information 12 are recorded on a magnetic tape medium as one physical data block.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は磁気テープ装置の制御に関し、肴に磁気テープ
制御装置の磁気テープへのデータの記録の制御方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to the control of a magnetic tape device, and more particularly to a control method for recording data on a magnetic tape in a magnetic tape control device.

(従来の技術) 従来、通常の磁気テープ制御I装置ではデータ処理シス
テムから送られてきたデータブロックを、そのブロック
長のまま磁気テープに記録する公知の方式が採用されて
いる。
(Prior Art) Conventionally, a conventional magnetic tape control device employs a known method in which data blocks sent from a data processing system are recorded on a magnetic tape with the block length unchanged.

いっぽう、テープの利用率を向上するため、データ処理
システムで複数のブロックをまとめて、ひとつのブロッ
クとして記録する方式も公知である。
On the other hand, in order to improve the utilization rate of tape, a method is also known in which a data processing system collects a plurality of blocks and records them as one block.

(発明が解決しようとする問題点) 上述した従来の磁気テープ制御装置では、通常、データ
処理システムから送られてきたデータブロックを直接、
磁気テープへ記録している几め、斯かる記録方式ではデ
ータのブロック長が短い場合、テープ上に占めるブロッ
ク間ギャップ(Interblock Gap : I
 BG )O割分が大きくなシ、テープの記憶容量が小
さくなると云う欠点がある。
(Problems to be Solved by the Invention) The conventional magnetic tape control device described above usually directly processes data blocks sent from a data processing system.
When recording on a magnetic tape, if the data block length is short, the interblock gap (Interblock Gap) that occupies the tape is
BG) The disadvantage is that the O ratio is large and the storage capacity of the tape is small.

また、上記問題を解決するため、データ処理システムで
複数のブロックをまとめて、ひとつのブロックとして記
録し、テープの利用効率を高める方式が公知であるが、
この場合にはデータ処理システムの内部に大きな記憶領
域を取らなければならないので、多重処理をしている場
合など、システムスルーブツトの低下を招くと云う欠点
がある。
In addition, in order to solve the above problem, a method is known in which a data processing system collects multiple blocks and records them as a single block to improve tape usage efficiency.
In this case, a large storage area must be taken up inside the data processing system, which has the disadvantage of reducing system throughput when multiple processing is being performed.

本発明の目的は、磁気テープ制御装置にブロッキング機
能をも九せておき、複数のデータブロックを磁気テープ
上にひとつの物理データブロックとして記録しておくこ
とにより上記欠点を除去シ、システムスループットを低
下させることがないようにしてテープ利用効率を向上さ
せることができるように構成した磁気テープ制(III
装置を提供することにある。
An object of the present invention is to eliminate the above-mentioned drawbacks and improve system throughput by equipping a magnetic tape control device with a blocking function and recording multiple data blocks as one physical data block on the magnetic tape. The magnetic tape system (III
The goal is to provide equipment.

(問題点を解決するための手段) 本発明による磁気テープ制御装宜はデータバッファド、
バッファアドレスレジスタト、ブロックカウンタと、I
/O処理部と、データ制御部とを具備して構成したもの
である。
(Means for Solving the Problems) The magnetic tape control device according to the present invention is a data buffered,
Buffer address register, block counter, and I
It is configured to include a /O processing section and a data control section.

データバッファは、データ処理システムから送られてく
るデータを蓄えるためのものである。
The data buffer is for storing data sent from the data processing system.

バッファアドレスレジスタは、データバッファの内部の
データアドレスを制御する念めのものである。
The buffer address register is for controlling the data address inside the data buffer.

ブロックカウンタは、データバッファの内部のデータブ
ロックの数をカウントするためのものである。
The block counter is for counting the number of data blocks inside the data buffer.

I/O処理部は、テープへのデータの書込み時にはデー
タバッファへデータを格納する前と格納した後のバッフ
ァアドレスレジスタの内容の差からブロック長を求め、
データバッファの内部に格納されているデータブロック
にブロック長情報を付加してブロックカウントを減じ、
ブロックカウントが尽きるまで複数のデータブロックを
データバッファの内部に蓄えるためのものである。
When writing data to the tape, the I/O processing unit calculates the block length from the difference between the contents of the buffer address register before and after storing the data in the data buffer.
Add block length information to the data block stored inside the data buffer and reduce the block count.
It is used to store multiple data blocks inside the data buffer until the block count is exhausted.

データ%tlJ (111部は、ブロックカウントが尽
きると磁気テープへの書込みを実行し%読出し時には書
込み時に付加され九ブロック長情報をもとに、I/O処
理部を介してデブロッキングしてデータ処理システムへ
データブロックを転送する友めのものである。
Data %tlJ (111 part executes writing to the magnetic tape when the block count is exhausted, and when reading data, deblocks the data via the I/O processing part based on the 9 block length information that is added at the time of writing.) It is a friend that transfers data blocks to the processing system.

(夾 流側) 次に、本発明について図面を参照して説明する。(The current side) Next, the present invention will be explained with reference to the drawings.

第1図は1本発明による磁気テープ制#装置の一実施例
を示すブロック図である。第1図において、4はデータ
処理システム、1は磁気チー1制御装置のデータバッフ
ァ、3はデータ処理システム4とデータバッファ1との
間のデータの受渡しを制御する九めのI/O処理部、3
1はデータ処理システム4とデータバッファ1との間の
データの受渡しをする際にデータバッファ1のアドレス
ポインタを格納する友めのバッファアドレスレジスタ、
32はデータバッファ1に格納される論理ブロック数を
カウントするためのブロックカウンタ、5は磁気テープ
装置、2はデータバッファ1と磁気テープfet5との
間のデータの受渡しを制御する九めのデータ制御部であ
る。
FIG. 1 is a block diagram showing an embodiment of a magnetic tape system according to the present invention. In FIG. 1, 4 is a data processing system, 1 is a data buffer of the magnetic chip 1 controller, and 3 is a ninth I/O processing unit that controls data exchange between the data processing system 4 and the data buffer 1. ,3
1 is a friend buffer address register that stores the address pointer of data buffer 1 when transferring data between data processing system 4 and data buffer 1;
32 is a block counter for counting the number of logical blocks stored in data buffer 1, 5 is a magnetic tape device, and 2 is a ninth data control for controlling data transfer between data buffer 1 and magnetic tape fet5. Department.

第2図は、第1図の磁気テープ制matにおけるデータ
バッファ1の内容のブロック化を示す説明図である。第
3図は、データバッファlから磁気テープ媒体へのデー
タブロックの記録動作を/Oツク化しない場合の媒体上
の記録と比較した説明図である。
FIG. 2 is an explanatory diagram showing how the contents of the data buffer 1 in the magnetic tape mat shown in FIG. 1 are divided into blocks. FIG. 3 is an explanatory diagram comparing the recording operation of a data block from the data buffer l to the magnetic tape medium with the recording on the medium when /O is not turned on.

第2区および第3図において、11は論理データブロッ
ク、12はブロック長情報、51は磁気テープ媒体、5
2は物理データブロック、53はデータブロック、54
はブロック間ギャップ(IBG)である。
In the second section and FIG. 3, 11 is a logical data block, 12 is block length information, 51 is a magnetic tape medium, and 5 is a logical data block.
2 is a physical data block, 53 is a data block, 54
is the interblock gap (IBG).

次に、第1図〜第3図を参照して本発明の詳細な説明す
る。
Next, the present invention will be explained in detail with reference to FIGS. 1 to 3.

データ処理システム4から送られてき友データブロック
53は、I/O処理部3を通ってデータバッファ1に格
納される。I/O処理部3のブロックカウンタ32には
事前にカウント値を与えておき、データブロック53が
データバッファlに格納されるごとにカウント値が減ぜ
られる。また、I/O処理部3はデータバッファ1にデ
ータブロックが格納される前のバッファアドレスレジス
タ31の内容を記憶しておき、データバッファlにデー
タブロックが格納されt後のバッファアドレスレジスタ
32の内容と比較する。これによシ、データバッファ1
の内部に格納された論理データブロック11のブロック
長を求め、データバッファlの内部に定義されたブロッ
ク長記述領域12ヘブロツク長が記入される。
A friend data block 53 sent from the data processing system 4 passes through the I/O processing section 3 and is stored in the data buffer 1. A count value is given to the block counter 32 of the I/O processing section 3 in advance, and the count value is decremented each time a data block 53 is stored in the data buffer l. In addition, the I/O processing unit 3 stores the contents of the buffer address register 31 before the data block is stored in the data buffer 1, and stores the contents of the buffer address register 31 after t after the data block is stored in the data buffer l. Compare with the content. For this, data buffer 1
The block length of the logical data block 11 stored inside the data buffer l is determined, and the block length is written into the block length description area 12 defined inside the data buffer l.

同様にして、ブロックカウンタ32のカウントが尽きる
までデータブロック53がデータバッファlに格納され
る。ブロックカウントが尽きると、データバッファ1に
格納され九複数の論理チータブロック11とブロック長
情報12とは、ひとつの物理データブロック52として
磁気テープ媒体51上に記録される。
Similarly, data blocks 53 are stored in data buffer l until the count of block counter 32 is exhausted. When the block count is exhausted, the nine logical cheater blocks 11 and block length information 12 stored in the data buffer 1 are recorded on the magnetic tape medium 51 as one physical data block 52.

磁気テープ装fjt5上の磁気テープからデータブロッ
ク53を読出す場會には、データ制御部2によシ物理デ
ータブロック52がデータバッファ1へ読出され、物理
データブロック52に記録されているブロック長情報1
2のもとに複数の論理データブロック11に分解されて
データ処理システム4へ転送される。
When reading the data block 53 from the magnetic tape on the magnetic tape device fjt5, the data control unit 2 reads the physical data block 52 to the data buffer 1, and the block length recorded in the physical data block 52 is read out by the data control unit 2. Information 1
2, the data is decomposed into a plurality of logical data blocks 11 and transferred to the data processing system 4.

(発明の効果〕 以上説明し友ように本発明は、磁気テープ制7n装置に
ブロッキング機能をもたせておき、複数のデータブロッ
クを磁気テープ上にひとつの物理データブロックとして
記録することによシ、磁気テープのギャップの占める割
合を少なくして利用効率を高めることができる。
(Effects of the Invention) As explained above, the present invention provides a magnetic tape system 7n device with a blocking function and records a plurality of data blocks as one physical data block on the magnetic tape. Utilization efficiency can be increased by reducing the ratio of magnetic tape gaps.

さらに、データ処理システムでは1デ一タブロツク分の
記憶領域だけを使用するので、磁気テープの利用効率を
高める九めにデータ処理システムをブロック化するため
に大きな記憶領域を使う必要はなく、使用メモリ容量を
減少させることができるので、多重処理を行うシステム
ではスルーブツトの低下を防ぐことができると云う効果
がある。
Furthermore, since the data processing system uses only the storage area for one data block, there is no need to use a large storage area to block the data processing system; Since the capacity can be reduced, this has the effect of preventing a drop in throughput in a system that performs multiple processing.

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

第1図は、本発明による磁気テープ制御装置の一実施例
を示すブロック図である。 第2図は、本発明による磁気テープ制御装置におけるデ
ータバッファの内容を示す説明図である。 第3図は、データバッファから磁気テープ媒体へのデー
タブロックの記録動作を、ブロック化しない場会の媒体
上の記録と比較しt説明図である。 1・・・データバッファ  2・・・データ制御部3・
・・・I/O処理部 4・・・データ処理システム 5・・・磁気テープ装置 11・・・論理データブロック 12・・・ブロック長情報 31・・・バッファアドレスレジスタ 32・・・ブロックカウンタ 51・・・磁気テープ媒体 52・・・物理データブロック 53・・・データブロック 54・・・ブロック間ギャップ 特許出願人  日本電気株式会社 代理人 弁理士 井 ノ ロ    壽21図 第2図
FIG. 1 is a block diagram showing an embodiment of a magnetic tape control device according to the present invention. FIG. 2 is an explanatory diagram showing the contents of the data buffer in the magnetic tape control device according to the present invention. FIG. 3 is an explanatory diagram comparing the recording operation of data blocks from the data buffer to the magnetic tape medium with recording on the medium in the case where blocks are not formed. 1... Data buffer 2... Data control section 3.
... I/O processing unit 4 ... data processing system 5 ... magnetic tape device 11 ... logical data block 12 ... block length information 31 ... buffer address register 32 ... block counter 51 ... Magnetic tape medium 52 ... Physical data block 53 ... Data block 54 ... Gap between blocks Patent applicant NEC Corporation Representative Patent attorney Hisashi Inoro 21 Figure 2

Claims (1)

【特許請求の範囲】[Claims] データ処理システムから送られてくるデータを蓄えるた
めのデータバッファと、前記データバッファの内部のデ
ータアドレスを制御するためのバッファアドレスレジス
タと、前記データバッファの内部のデータブロックの数
をカウントするためのブロックカウンタと、テープへの
データの書込み時には前記データバッファへ前記データ
を格納する前と格納した後の前記バッファアドレスレジ
スタの内容の差からブロック長を求め、前記データバッ
ファの内部に格納された前記データブロックに前記ブロ
ック長の情報を付加して前記ブロックカウンタのブロッ
クカウントを減じ、前記ブロックカウントが尽きるまで
前記複数のデータブロックを前記データバッファの内部
に蓄えるためのI/O処理部と、前記ブロックカウント
が尽きると磁気テープへの書込みを実行し、読出し時に
は書込み時に付加された前記ブロック長の情報をもとに
前記I/O処理部を介してデブロッキングして前記デー
タ処理システムへ前記データブロックを転送するための
データ制御部とを具備して構成したことを特徴とする磁
気テープ制御装置。
a data buffer for storing data sent from a data processing system; a buffer address register for controlling a data address inside the data buffer; and a buffer address register for counting the number of data blocks inside the data buffer. When writing data to a tape, the block length is calculated from the difference between the contents of the buffer address register before and after the data is stored in the data buffer, and the block length is calculated from the difference between the contents of the buffer address register before and after the data is stored in the data buffer. an I/O processing unit for adding information on the block length to a data block to reduce a block count of the block counter and storing the plurality of data blocks in the data buffer until the block count is exhausted; When the block count is exhausted, writing to the magnetic tape is executed, and when reading, deblocking is performed via the I/O processing unit based on the block length information added at the time of writing, and the data is sent to the data processing system. 1. A magnetic tape control device comprising: a data control section for transferring blocks.
JP28336686A 1986-11-28 1986-11-28 Magnetic tape controller Pending JPS63136360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28336686A JPS63136360A (en) 1986-11-28 1986-11-28 Magnetic tape controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28336686A JPS63136360A (en) 1986-11-28 1986-11-28 Magnetic tape controller

Publications (1)

Publication Number Publication Date
JPS63136360A true JPS63136360A (en) 1988-06-08

Family

ID=17664562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28336686A Pending JPS63136360A (en) 1986-11-28 1986-11-28 Magnetic tape controller

Country Status (1)

Country Link
JP (1) JPS63136360A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0448378A2 (en) * 1990-03-20 1991-09-25 Sharp Kabushiki Kaisha Information recording and reproducing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0448378A2 (en) * 1990-03-20 1991-09-25 Sharp Kabushiki Kaisha Information recording and reproducing device
US5434991A (en) * 1990-03-20 1995-07-18 Sharp Kabushiki Kaisha Method and apparatus for recording and reproducing information in black on a rewritable recording medium

Similar Documents

Publication Publication Date Title
JPS63136360A (en) Magnetic tape controller
JP2510662B2 (en) Data recording control method
JP2545790B2 (en) Magnetic disk controller with automatic journal function
JPH0380470A (en) Storage controller
JPH02235262A (en) Information recording and reproducing method and magnetic tape subsystem using the method
JPS62127933A (en) Magnetic tape controller
JP2897470B2 (en) How to optimize buffer ratio
JPS63239521A (en) Data processing system for magnetic tape device
JPH054693B2 (en)
JPH04281540A (en) Backup device
JPH04359312A (en) Electronic disk subsystem
JPS61227268A (en) Magnetic disk access system
JPS61100855A (en) Data buffer
JPS62250573A (en) Magnetic disk controller with automatic journal function
JPS61153728A (en) High speed control system of magnetic storage device
JPS61100852A (en) Data transferring system
JPH01287873A (en) Recording system for magnetic tape device
JPS6068438A (en) File preserving system of time series data
JPS6139126A (en) Magnetic tape recording device
JPS61221860A (en) Data transfer system
JPH02158856A (en) Peripheral controller and multiprocessor system
JPH05114058A (en) Magnetic card and its processor
JPH03142645A (en) Memory controller
JPS58225464A (en) Subsystem of external storage
JPS6275751A (en) Control system for external storage device