JPH1078899A - Information recording and reproducing device - Google Patents

Information recording and reproducing device

Info

Publication number
JPH1078899A
JPH1078899A JP8231657A JP23165796A JPH1078899A JP H1078899 A JPH1078899 A JP H1078899A JP 8231657 A JP8231657 A JP 8231657A JP 23165796 A JP23165796 A JP 23165796A JP H1078899 A JPH1078899 A JP H1078899A
Authority
JP
Japan
Prior art keywords
data
storage device
library
capacity
tape
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
JP8231657A
Other languages
Japanese (ja)
Inventor
Yoshio Iwanaga
美穂 岩永
Atsushi Saito
温 斎藤
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP8231657A priority Critical patent/JPH1078899A/en
Publication of JPH1078899A publication Critical patent/JPH1078899A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To store large-capacity information at low cost and shorten the total transfer time by selecting a storage device and storing large-capacity data, and also selecting a suitable storage device according to an access state as judgement reference and storing data whose capacity is relatively small. SOLUTION: It is judged (601) whether the capacity of target data is larger than a threshold value and when the capacity is larger, a tape library is set (602) in a local storage device. Then the access frequency A of the target data is compared (604) and (607) with the access frequencies B and C of a semiconductor memory and a magnetic disk, and when the access frequency A is larger than B, the semiconductor memory is set as the local storage device and the magnetic disk is set as another storage device (605). When the access frequency A is larger than C, the magnetic disk is set as the local storage device and the optical library is set as another storage device (608). When the access frequency A exceeds C, the optical library is set as the local storage device (609).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明が属する技術分野】本発明は情報記録再生装置に
関し、特に、映像編集システムにおいて効率的に情報の
記録再生を実現することができる情報記録再生装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information recording / reproducing apparatus, and more particularly, to an information recording / reproducing apparatus capable of efficiently recording and reproducing information in a video editing system.

【0002】[0002]

【従来の技術】従来、大容量外部記憶装置として階層ス
トレージシステムが知られている。階層ストレージシス
テムは、例えば、半導体メモリ、磁気ディスク装置、光
ディスク装置、磁気テープ装置等の互いに異なった特徴
を持つ複数の外部記憶装置を階層的に組み合わせたスト
レージであり、各記憶デバイスの欠点を相互に補完でき
るようにしたものである。
2. Description of the Related Art Hierarchical storage systems are conventionally known as large-capacity external storage devices. The hierarchical storage system is a storage in which a plurality of external storage devices having different characteristics, such as a semiconductor memory, a magnetic disk device, an optical disk device, and a magnetic tape device, are hierarchically combined. It can be complemented to.

【0003】上記形式のストレージシステムとして、例
えば、米国エポックシステムズ社の「Epoch−2
FiREX9000システム」がある。この製品は、キ
ャッシュメモリ、磁気ディスクドライブ、光磁気ディス
クジュークボックス(MO、WORM)、テープジュー
クボックスを階層的に組み合わせている。ネットワーク
で接続された複数のファイルサーバやワークステーショ
ンディスク内のアクセス履歴の古いファイルを上記Ep
och−2ストレージサーバへ自動的に移動することに
より、各サーバやワークステーションのディスク容量を
活性データに活用できる。上記Epock−2ストレー
ジサーバとクライアントとの間のデータの移動について
図9を用いて説明する。
[0003] As a storage system of the above type, for example, "Epoch-2" of Epoch Systems, USA
FiREX9000 system ". This product hierarchically combines cache memory, magnetic disk drives, magneto-optical disk jukeboxes (MO, WORM) and tape jukeboxes. The file with the oldest access history in multiple file servers and workstation disks connected via a network
By automatically moving to the och-2 storage server, the disk capacity of each server or workstation can be used for activation data. The movement of data between the Epok-2 storage server and the client will be described with reference to FIG.

【0004】各クライアント毎に「Water marks」と呼
ばれるファイルシステムの使用レベルを設定する。毎
日、低負荷時を選んで設定されたステージングインター
バル901毎に、低活性ファイルをクライアントのファ
イルシステムの使用レベルが「LWM(low water mar
k)」902に達するまで自動的にステージアウトす
る。また、ファイルシステムの使用比率が、突発的に
「HWM(high water mark)」903に達することが
あった場合には、システムが幾つかのファイルを自動的
にステージアウトさせることによって、必要なスペース
を確保する。
[0004] A file system usage level called "Water marks" is set for each client. Every day, at the staging interval 901 set by selecting the time of low load, the usage level of the client's file system is set to “LWM (low water mar
k) Automatically stage out until 902 is reached. When the usage ratio of the file system suddenly reaches “HWM (high water mark)” 903, the system automatically stages out some files to reduce the required space. To secure.

【0005】Epock−2ストレージサーバ内におい
ては、活性データはキャッシュメモリと磁気ディスクド
ライブへ、不活性データまたはアーカイブデータは光デ
ィスクジュークボックスへ、バックアップデータはテー
プジュークボックスや光磁気ディスクへ記録される。ま
た、全バックアップ・トランザクションのオンラインカ
タログを効率よく保存するために、最新のカタログが高
速の磁気ディスクに保管され、古いカタログが自動的に
第2の保管媒体(光ディスク)に移動される。古いカタ
ログが参照された場合は、光ディスクから自動的に磁気
ディスクに戻される。
[0005] In the Epock-2 storage server, active data is recorded in a cache memory and a magnetic disk drive, inactive data or archive data is recorded in an optical disk jukebox, and backup data is recorded in a tape jukebox or a magneto-optical disk. Also, in order to efficiently store the online catalog of all backup transactions, the latest catalog is stored on a high-speed magnetic disk, and the old catalog is automatically moved to a second storage medium (optical disk). When an old catalog is referred to, it is automatically returned from the optical disk to the magnetic disk.

【0006】[0006]

【発明が解決しようとする課題】上記従来の階層ストレ
ージシステムは、コードデータのような小容量のデータ
の読み出し、または書き込みが繰り返して行なわれる場
合を想定して設計されたものである。
The above-mentioned conventional hierarchical storage system is designed on the assumption that reading or writing of small-capacity data such as code data is repeatedly performed.

【0007】しかしながら、映像編集システムにおいて
は、管理情報のような数KB〜数MB程度の小容量のデ
ータを繰り返して読み出しまたは書き込みを行なう場合
と、映像情報のように数GBを超える大容量のデータを
シーケンシャルに高速に読み出しまたは書き込みを行な
う場合とがある。このような映像編集システムに上述し
たEpock−2ストレージサーバの方式を適用する
と、映像情報の読み出しを行った場合に極めて大量のデ
ータが磁気ディスクに移動されることにより、磁気ディ
スクはそれ以後はほとんどアクセスされることのないデ
ータによって占有されてしまう。一方、絶えず繰り返し
アクセスされる管理情報等のデータが光ディスクにステ
ージアウトされる。この場合、データの移動時間が大き
くなり、階層ストレージシステムが効率的に利用されな
くなるおそれがある。
However, in a video editing system, a small amount of data of several KB to several MB such as management information is repeatedly read or written, and a large capacity exceeding several GB like video information. Data may be sequentially read or written at high speed in some cases. When the above-described Epok-2 storage server method is applied to such a video editing system, a very large amount of data is moved to the magnetic disk when reading the video information, and the magnetic disk is hardly used thereafter. It is occupied by data that is never accessed. On the other hand, data such as management information that is constantly and repeatedly accessed is staged out on the optical disc. In this case, the data migration time increases, and the hierarchical storage system may not be used efficiently.

【0008】本発明の目的は、格納するデータに小容量
でランダムアクセスされるデータと、例えば動画像情報
のような大容量でシーケンシャルアクセスされるデータ
とが混在する場合でも、高速にデータのアクセスを行な
うことができる階層ストレージシステムを用いた情報記
録再生装置を提供することにある。
An object of the present invention is to provide a high-speed data access even when data to be stored is randomly accessed with a small capacity and data that is sequentially accessed with a large capacity such as moving picture information. To provide an information recording / reproducing apparatus using a hierarchical storage system capable of performing the following.

【0009】[0009]

【課題を解決するための手段】上述した目的を達成する
ために、本発明では、異なる2種類以上の記憶装置を有
する記憶装置群と、外部情報装置からの要求に基づき情
報の入出力を行なうコントローラとを有する情報記録再
生装置において、コントローラはデータの容量を判断基
準として、大容量のデータについては記憶装置群の内の
1つの記憶装置(大容量でシーケンシャルアクセスされ
るデータに適した記憶装置)を選択して格納し、データ
の容量が比較的小さくランダムアクセスされるデータを
格納する場合にはデータへのアクセス状態を判断基準と
して記憶装置群の内の1つの記憶装置を選択して格納す
ることにより、各々のデータをその特性に適合した記憶
装置に格納するよう制御することを特徴とする。
In order to achieve the above-mentioned object, according to the present invention, a storage device group having two or more different types of storage devices, and input / output of information based on a request from an external information device. In the information recording / reproducing apparatus having the controller, the controller determines one of the storage devices (a storage device suitable for large-capacity, sequentially accessed data) in a storage device group for a large amount of data based on a data capacity as a criterion. ) Is selected and stored, and when storing data that is relatively small in data capacity and is randomly accessed, one of the storage devices in the storage device group is selected and stored based on the access state to the data. By doing so, each data is controlled to be stored in a storage device suitable for the characteristics.

【0010】コントローラは、例えば、データ入出力イ
ンタフェースと、SCSI(SmallComputer System Int
erface)等のバスインタフェースと、CPUと、上記C
PUの動作を決定するプログラムや制御動作時の一時的
なデータや管理情報を記憶するための高速メモリ(例え
ば、半導体メモリ)とを有し、記憶装置群は、例えば、
半導体メモリ、磁気ディスク、光ディスクあるいは磁気
テープ(ライブラリ)等の異なる特徴を持つ各種の外部
記憶装置が含まれる。これらの各記憶装置は、バスによ
ってコントローラと接続されている。
The controller includes, for example, a data input / output interface and a SCSI (Small Computer System Int.)
erface), a CPU, and the C
A high-speed memory (for example, a semiconductor memory) for storing a program for determining the operation of the PU and temporary data and management information at the time of control operation, and a storage device group includes, for example,
Various external storage devices having different characteristics such as a semiconductor memory, a magnetic disk, an optical disk, or a magnetic tape (library) are included. Each of these storage devices is connected to the controller by a bus.

【0011】また、コントローラは、記憶対象となった
データの容量や単位時間内のアクセス回数等から、最適
な外部記憶装置を選択してデータの書き込みを行う。こ
の場合、1つのデータは記憶装置中の一連の記憶領域に
連続的に書き込み、データの容量、使用した外部記憶装
置とそのアドレス等の管理情報をコントローラ内の半導
体メモリに記憶しておく。これらの管理情報は、周期的
あるいは非周期的に不揮発性の記憶装置にコピーされ
る。また、外部記憶装置内の空き領域が細切れに散在
し、新規の格納情報が離れた位置に分断して格納される
のを避けるために、外部記憶装置内の蓄積データを周期
的あるいは非周期的に移動させ、記憶容量の効率的な利
用を図る。
Further, the controller writes the data by selecting an optimum external storage device based on the capacity of the data to be stored, the number of accesses in a unit time, and the like. In this case, one piece of data is continuously written in a series of storage areas in the storage device, and management information such as the data capacity, the used external storage device, and its address is stored in the semiconductor memory in the controller. These pieces of management information are copied to the nonvolatile storage device periodically or aperiodically. In addition, in order to avoid that the empty areas in the external storage device are scattered in small pieces, and that new storage information is not divided and stored at remote locations, the stored data in the external storage device is periodically or aperiodically stored. To make efficient use of storage capacity.

【0012】[0012]

【発明の実施の形態】以下、本発明の一実施例を図面を
用いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0013】図1は、本発明による情報記録再生装置の
一実施例を示す構成図である。
FIG. 1 is a block diagram showing one embodiment of an information recording / reproducing apparatus according to the present invention.

【0014】情報記録再生装置は、データ入出力インタ
フェース101、CPU102、半導体メモリ103、
バスインタフェース104等からなるコントローラ10
5と、半導体メモリ106、磁気ディスク107、光ラ
イブラリ108、テープライブラリ109等の互いに異
なる特徴を持つ複数の外部記憶装置と、これらの外部記
憶装置(106、107、108、109)とコントロ
ーラ105とを接続するバス110とから構成されてい
る。
The information recording / reproducing apparatus includes a data input / output interface 101, a CPU 102, a semiconductor memory 103,
Controller 10 including bus interface 104 and the like
5, a plurality of external storage devices having different characteristics such as a semiconductor memory 106, a magnetic disk 107, an optical library 108, and a tape library 109; these external storage devices (106, 107, 108, 109) and the controller 105; And a bus 110 for connecting the.

【0015】コントローラ105の内部にある半導体メ
モリ103は、上記外部記憶装置(106、107、1
08、109)内のデータに関する管理情報を記憶する
ためのインデックス情報記憶領域111と、制御動作時
にデータを一時的に記憶するための作業領域112と、
CPU102が実行するプログラム領域113とを有す
る。半導体メモリ103に充分な記憶容量があれば、半
導体メモリ103の記憶領域の一部が外部記憶装置とし
ての半導体メモリ106の代わりに使われる。逆に、半
導体メモリ103の記憶容量が不十分な場合は、外部記
憶装置として設けられた半導体メモリ106の一部をコ
ントローラ内部の半導体メモリ103の代わりに使う。
The semiconductor memory 103 inside the controller 105 stores the external storage devices (106, 107, 1).
08, 109), an index information storage area 111 for storing management information related to data in the storage area, a work area 112 for temporarily storing data during a control operation,
And a program area 113 executed by the CPU 102. If the semiconductor memory 103 has a sufficient storage capacity, a part of the storage area of the semiconductor memory 103 is used instead of the semiconductor memory 106 as an external storage device. Conversely, when the storage capacity of the semiconductor memory 103 is insufficient, a part of the semiconductor memory 106 provided as an external storage device is used instead of the semiconductor memory 103 inside the controller.

【0016】コントローラ上部から送られるデータ(ま
たはコマンド)114は、入出力インタフェース101
を介してCPUに送られる(115)。CPU102で
は、コントローラ105に記憶されたプログラムおよび
各種情報(111、112、113)に基づいて、デー
タの転送方法を決定し、バスインタフェース104にデ
ータまたはコマンドを送る(116)。これらのデータ
またはコマンドは、バスインタフェース104から、バ
ス110を介して、CPU102が指定した外部記憶装
置(例えば半導体メモリ106)へ送られる。
Data (or command) 114 sent from the upper part of the controller is input / output interface 101
(115). The CPU 102 determines a data transfer method based on the program and various information (111, 112, 113) stored in the controller 105, and sends the data or command to the bus interface 104 (116). These data or commands are sent from the bus interface 104 to an external storage device (for example, the semiconductor memory 106) designated by the CPU 102 via the bus 110.

【0017】半導体メモリ106へ読み出しコマンドが
与えられた場合、半導体メモリから読み出されたデータ
が117、116、115、114の順に転送される。
半導体メモリ106へ書き込みコマンドが与えられた場
合は、もし、半導体メモリの連続的な空き容量が書き込
みデータの容量よりも小さい場合は、半導体メモリに格
納中のデータのうち単位時間内のアクセス回数が小さい
データが磁気ディスク107へ転送(118)され、こ
れによって半導体メモリ106に連続的な空き領域が形
成され、その後にバスインタフェース104から半導体
メモリ106に書き込みデータが転送される(11
7)。これらの制御はCPU102によって行なわれ
る。
When a read command is given to the semiconductor memory 106, data read from the semiconductor memory is transferred in the order of 117, 116, 115 and 114.
When a write command is given to the semiconductor memory 106, if the continuous free space of the semiconductor memory is smaller than the capacity of the write data, the number of accesses per unit time of the data stored in the semiconductor memory is reduced. Small data is transferred to the magnetic disk 107 (118), thereby forming a continuous free area in the semiconductor memory 106, and thereafter, write data is transferred from the bus interface 104 to the semiconductor memory 106 (11).
7). These controls are performed by the CPU 102.

【0018】CPU102は、データアクセスの都度、
インデックス情報領域111を書き換える。また、停電
などの異常発生に備えて、半導体メモリ103内のイン
デックス情報領域111の内容は、不揮発性の記憶装置
(磁気ディスク107、光ライブラリ108、またはテ
ープライブラリ109等)に周期的あるいは非周期的に
保存される。また、各種記憶装置内に空き領域が細切れ
に散在し、新規の格納情報が離れた位置に分断して格納
されることのないように、外部記憶装置内でファイルデ
ータを移動し、空き領域を連続させるための命令を周期
的あるいは非周期的に発行する。これらの判断を行なう
ために必要な情報はインデックス情報領域111に記憶
されている。CPU102が行なう処理の詳細について
は、図5〜図8を用いて後述する。
The CPU 102 executes the following every time data is accessed.
The index information area 111 is rewritten. Also, in preparation for occurrence of an abnormality such as a power failure, the contents of the index information area 111 in the semiconductor memory 103 are stored in a non-volatile storage device (such as the magnetic disk 107, the optical library 108, or the tape library 109) periodically or non-periodically. Is saved. Also, the file data is moved in the external storage device so that the new storage information is not divided and stored at a remote location, so that the free space is scattered in pieces in various storage devices. An instruction for continuation is issued periodically or aperiodically. Information necessary for making these determinations is stored in the index information area 111. Details of the processing performed by the CPU 102 will be described later with reference to FIGS.

【0019】図4は、インデックス情報領域111の構
造を示す。インデックス情報領域111は、データアク
セス要求が発生する度に、そのデータに最適な記憶装置
を決定するために必要な管理情報を含む。また、インデ
ックス情報領域111には、すべてのデータについて、
データのタイトル、データ容量、データが記憶されてい
る記憶装置の種類、データブロックの先頭アドレス、単
位時間内に発生した当該データに対するアクセスの時刻
が記憶されている。なお、単位時間内におけるアクセス
時刻は、あらかじめ登録していた単位時間内に発生した
アクセス時刻を記録しており、これをカウントすること
によって単位時間内のアクセス回数が算出される。上記
インデックス情報領域には、上述した項目以外に、映像
編集システムに固有の情報、例えば、最終変更時刻、最
終変更者名等を併せて記憶しても良い。また、インデッ
クス情報領域111内の情報は、テキスト形式で記憶さ
れても良いし、項目対応に予め定義されたビットのオン
・オフ状態で記憶されても良い。
FIG. 4 shows the structure of the index information area 111. Each time a data access request is generated, the index information area 111 includes management information necessary for determining an optimal storage device for the data. Further, in the index information area 111, for all data,
The title of the data, the data capacity, the type of the storage device in which the data is stored, the start address of the data block, and the time of access to the data generated within a unit time are stored. The access time within the unit time records the access time generated within the unit time registered in advance, and the number of accesses within the unit time is calculated by counting the access time. In addition to the items described above, information specific to the video editing system, for example, the last change time, the last changer's name, and the like may be stored in the index information area. The information in the index information area 111 may be stored in a text format, or may be stored in a bit on / off state defined in advance for each item.

【0020】図2、図3および図10は、階層ストレー
ジに用いられる各種外部記憶装置の特徴(特性)を比較
するための図であり、図10の括弧内の数値は、図2、
図3の数値に基づいて試算した値を示している。
FIGS. 2, 3 and 10 are diagrams for comparing the characteristics (characteristics) of various external storage devices used for the hierarchical storage. Numerical values in parentheses in FIG.
4 shows values calculated based on the numerical values in FIG.

【0021】図2は、各記憶装置(半導体メモリ、磁気
ディスク、光ライブラリ、テープライブラリ)毎の記憶
容量(総容量)とコストとの関係を示している。例え
ば、テープライブラリは、総容量が数GBの場合は上記
4種類の記憶装置の中でコストが最も高いが、総容量が
千GB以上では最も低コストとなることがわかる。各記
憶装置ごとに、他の記憶装置と比較して経済的となる総
容量の範囲が存在し、小容量向きのものから順に挙げる
と、半導体メモリ、磁気ディスク、光ライブラリ、テー
プライブラリの順となる。
FIG. 2 shows the relationship between storage capacity (total capacity) and cost for each storage device (semiconductor memory, magnetic disk, optical library, tape library). For example, it can be seen that the tape library has the highest cost among the above four types of storage devices when the total capacity is several GB, but has the lowest cost when the total capacity is 1,000 GB or more. For each storage device, there is a range of total capacity that is more economical than other storage devices, and in order from those for small capacity, the order of semiconductor memory, magnetic disk, optical library, tape library is Become.

【0022】図3は、上記各記憶装置毎のデータ容量と
総転送時間との関係を示している。
FIG. 3 shows the relationship between the data capacity of each storage device and the total transfer time.

【0023】ここでは、総転送時間は、コマンドを受け
てからデータを送り終わるまでの時間、すなわち、アク
セス時間とデータ転送時間の和を表す。テープライブラ
リは、データ容量が数百MB以下の場合は、上記4種類
の記憶装置の中で総転送時間の最も長い装置となるが、
データ容量が数百MB以上になると、半導体メモリに続
く2番目の高速記憶装置となる。
Here, the total transfer time represents the time from the reception of a command to the end of data transmission, that is, the sum of the access time and the data transfer time. When the data capacity is several hundred MB or less, the tape library is the device having the longest total transfer time among the above four types of storage devices.
When the data capacity becomes several hundred MB or more, it becomes the second high-speed storage device following the semiconductor memory.

【0024】図2と図3を総合すると、半導体メモリ
は、データ容量に無関係に総転送速度の非常に短い装置
となっているが、総容量が大きくなるとコストが高くな
るため、比較的小容量でアクセス頻度の高いデータの格
納に適した記憶装置と言える。上記半導体メモリと比較
すると、磁気ディスクは、全てのデータ容量範囲で総転
送時間が長くなるが、全ての総容量範囲で低コストとな
っているため、半導体メモリよりもデータ容量が大きく
単位時間内のアクセス回数が比較的多いデータの格納に
適している。同様の理由で、光ライブラリは磁気ディス
クよりもデータ容量が大きく単位時間内のアクセス回数
が比較的小さいデータの格納に適している。
2 and 3, the semiconductor memory is a device having a very short total transfer speed irrespective of the data capacity. However, as the total capacity becomes large, the cost becomes high. Therefore, it can be said that the storage device is suitable for storing frequently accessed data. Compared with the above-mentioned semiconductor memory, the magnetic disk has a longer total transfer time in the entire data capacity range, but has a lower cost in the whole data capacity range. Is suitable for storing data having a relatively large number of accesses. For the same reason, the optical library is suitable for storing data having a larger data capacity than a magnetic disk and a relatively small number of accesses per unit time.

【0025】テープライブラリは、図2と図3から、デ
ータ容量が数百MBを超えると光ライブラリよりも総転
送時間が短くなるが、総容量が千GB以上では光ライブ
ラリよりも低コストになっている。よって、データ容量
が或る閾値以上の大きいデータを多数格納する場合は、
コストと総転送時間の両面でテープライブラリが適して
いる。この場合の閾値は、以下の式で表される。
2 and 3, the tape library has a total transfer time shorter than that of the optical library when the data capacity exceeds several hundred MB, but the cost is lower than that of the optical library when the total capacity is 1000 GB or more. ing. Therefore, when storing a large number of large data having a data capacity not less than a certain threshold,
Tape libraries are suitable for both cost and total transfer time. The threshold in this case is represented by the following equation.

【0026】閾値[B]={A_tape−A_opt)/(V_tape−V
_opt)}*(V_opt)*(V_tape) ただし、A_tape:テープライブラリのアクセス時間
[s] V_tape:テープライブラリの転送速度[B/s] A_opt :光ライブラリのアクセス時間[s] V_opt :光ライブラリの転送速度[B/s] なお、上記閾値はテープライブラリと光ライブラリの総
転送時間(データ容量をC[B]、アクセス時間をA
[s]、転送速度をV[B/s]とすれば、C/V+Aと表わ
せる)が等しくなるデータ容量をもって定めたものであ
る。
Threshold [B] = {A_tape−A_opt) / (V_tape−V
_opt)} * (V_opt) * (V_tape) where A_tape: tape library access time [s] V_tape: tape library transfer speed [B / s] A_opt: optical library access time [s] V_opt: optical library access time Transfer speed [B / s] Note that the above threshold is the total transfer time of the tape library and optical library (data capacity is C [B], access time is A
[S], and if the transfer rate is V [B / s], it can be expressed as C / V + A).

【0027】図10に示した数値例を用いると、上記閾
値は約271MBとなる。従って、容量が271MB以
上のデータの格納には、単位時間内のアクセス回数に関
わらず、テープライブラリが適している。
Using the numerical example shown in FIG. 10, the threshold value is about 271 MB. Therefore, a tape library is suitable for storing data having a capacity of 271 MB or more, regardless of the number of accesses within a unit time.

【0028】図5は、コントローラの制御手順を表す流
れ図である。
FIG. 5 is a flowchart showing a control procedure of the controller.

【0029】或るデータに対してアクセス要求が発生す
ると(ステップ501)、アクセス時刻を変更する(5
02)。これは、単位時間外にアクセスされた時刻の記
述があれば削除し、現在のアクセス時刻を追加すること
である。アクセス要求が読み出しか否かを判断し(50
3)、読み出し要求の場合は読み出しを行ない(50
4)、書き込み要求の場合は何もせずに、データの格納
場所を決定する。この時、図6で詳述するように、必要
に応じて格納場所の変更を行なう(505:「処理
1」)。
When an access request is issued to certain data (step 501), the access time is changed (5).
02). This means that if there is a description of the time of access outside the unit time, it is deleted, and the current access time is added. It is determined whether the access request is for reading (50).
3) In the case of a read request, read is performed (50).
4) In the case of a write request, the data storage location is determined without doing anything. At this time, as will be described in detail with reference to FIG. 6, the storage location is changed if necessary (505: "Process 1").

【0030】図6は、「処理1」の詳細を示す。FIG. 6 shows the details of "processing 1".

【0031】アクセス要求が発生したデータ(目的デー
タ)の容量が前述した閾値よりも大きいか否かを判断し
(601)、大きい場合は自記憶装置にテープライブラ
リを設定し(602)、図8で詳述する「処理3」を行
なう(603)。ここで、「自記憶装置」とは目的デー
タを格納すべくコントローラが選択する記憶装置であ
る。一方、後述するが自記憶装置に目的データを格納す
る空き容量が無ければ、自記憶装置に格納されたデータ
の一部を他の記憶装置に移動させて自記憶装置に空き容
量を作る必要が生じる。この他の記憶装置のことを「他
記憶装置」とよぶ。
It is determined whether or not the capacity of the data (target data) for which the access request has occurred is larger than the above-described threshold (601). If it is larger, a tape library is set in its own storage device (602), and FIG. "Process 3" described in detail later is performed (603). Here, the “own storage device” is a storage device selected by the controller to store target data. On the other hand, as will be described later, if there is no free space for storing the target data in the self-storage device, it is necessary to move a part of the data stored in the self-storage device to another storage device to make free space in the self-storage device. Occurs. This other storage device is called “other storage device”.

【0032】一方、目的データの容量が上記閾値よりも
大きくなければ、上記目的データの単位時間内のアクセ
ス回数Aを半導体メモリの単位時間内アクセス回数の最
小値Bとを比較する(604)。アクセス回数AがBよ
り大きければ、自記憶装置=半導体メモリ、他記憶装置
=磁気ディスクに設定し(605)、図7で詳述する
「処理2」を行なう(606)。アクセス回数AがBよ
り大きくなければ、上記目的データの単位時間内のアク
セス回数Aと磁気ディスクの単位時間内アクセス回数の
最小値Cとを比較し(607)、アクセス回数AがCよ
り大きければ、自記憶装置=磁気ディスク、他記憶装置
=光ライブラリに設定(608)した後、「処理2」を
行なう(606)。アクセス回数AがCより大きくなけ
れば、自記憶装置=光ライブラリに設定(609)した
後、「処理3」を行なう(603)。
On the other hand, if the capacity of the target data is not larger than the threshold, the number of accesses A per unit time of the target data is compared with the minimum value B of the number of accesses per unit time of the semiconductor memory (604). If the access count A is larger than B, the self-storage device = semiconductor memory and the other storage device = magnetic disk are set (605), and “Process 2” described in detail in FIG. 7 is performed (606). If the number of accesses A is not larger than B, the number of accesses A of the target data per unit time is compared with the minimum value C of the number of accesses of the magnetic disk per unit time (607). After setting the self-storage device = magnetic disk and the other storage device = optical library (608), "Process 2" is performed (606). If the number of accesses A is not larger than C, the self-storage device = optical library is set (609), and then "process 3" is performed (603).

【0033】図7は、「処理2」の詳細を示す。FIG. 7 shows the details of "processing 2".

【0034】自記憶装置内に目的データが存在するか否
かを判定し(701)、目的データが存在する場合はこ
の処理を終了する。目的データが自記憶装置内に存在し
ていない場合は、自記憶装置内に上記目的データの容量
Moに相当した空き領域が存在するか否かを判定し(7
02)、もし存在する場合は、上記目的データを自記憶
装置の空き領域に格納(703)した後、この処理を終
了する。なお、判定ステップ702において、自記憶装
置内に上記目的データの容量に相当する空き領域が不連
続な部分領域として存在している場合は、自記憶装置内
の格納データを移動し、連続した空き領域を作ってから
ステップ703を実行するとよい。
It is determined whether or not the target data exists in the self-storage device (701). If the target data exists, the process is terminated. If the target data does not exist in the self-storage device, it is determined whether or not a free area corresponding to the capacity Mo of the target data exists in the self-storage device (7).
02) If it exists, the target data is stored in a free area of its own storage device (703), and then this processing is terminated. In the determination step 702, if a free area corresponding to the capacity of the target data exists as a discontinuous partial area in the self-storage device, the storage data in the self-storage device is moved, and Step 703 may be performed after an area is created.

【0035】ステップ702で、自記憶装置内に上記目
的データの容量Moに相当した空き領域が存在しなかっ
た場合は、自記憶装置内において、現在の空き容量Mv
と、上記目的データの単位時間内のアクセス回数よりも
小さなアクセス回数を持つデータの容量Mdとの和M
が、上記目的データの容量Moよりも大きいか否かを判
定する(704)。容量MがMoより大きい場合は、空
き容量Mvが目的データの容量Moより大きくなるよう
に、自記憶装置の格納データのうち単位時間内のアクセ
ス回数が小さいデータから順に作業領域112に待避さ
せ(708)、得られた自記憶装置の空き領域に目的デ
ータを格納(709)した後、この処理を終了する。こ
こで、自記憶装置内に連続した空き領域を作るために、
ステップ708で、上述したデータ待避と共に、自記憶
装置内でのデータ移動を行うとよい。なお、退避したデ
ータは他記憶装置に格納する。
In step 702, if there is no free area corresponding to the capacity Mo of the target data in the own storage device, the current free capacity Mv is stored in the own storage device.
And the capacity Md of data having the number of accesses smaller than the number of accesses of the target data per unit time, and the sum M
Is greater than the capacity Mo of the target data (704). When the capacity M is larger than Mo, the data stored in the self-storage device is evacuated to the work area 112 in ascending order of the number of accesses per unit time so that the free capacity Mv is larger than the capacity Mo of the target data ( 708) After the target data is stored in the obtained free area of the storage device (709), this processing ends. Here, in order to create a continuous free area in the local storage device,
In step 708, the data may be moved within the self-storage device together with the above-described data saving. The saved data is stored in another storage device.

【0036】一方、ステップ704において、容量Mが
Moより小さい場合は自記憶装置に上記目的データを格
納することはできないから、他記憶装置に目的データを
格納することになる。まず、他記憶装置が光ライブラリ
であるかどうかを判断する(705)。他記憶装置が光
ライブラリとなっている場合にはそのまま光ライブラリ
を自記憶装置として設定して(707)、処理3を行う
(603)。ステップ705において、他記憶装置が光
ライブラリでない場合、すなわち、他記憶装置が磁気デ
ィスクである場合には、自記憶装置を磁気ディスクに、
他記憶装置を光ディスクに設定し(706)、再度処理
2を行う(606)。
On the other hand, if the capacity M is smaller than Mo in step 704, the target data cannot be stored in its own storage device, so that the target data is stored in another storage device. First, it is determined whether the other storage device is an optical library (705). If the other storage device is an optical library, the optical library is set as it is as its own storage device (707), and the process 3 is performed (603). In step 705, if the other storage device is not an optical library, that is, if the other storage device is a magnetic disk, the own storage device is replaced with a magnetic disk.
The other storage device is set to the optical disk (706), and the process 2 is performed again (606).

【0037】図8は、「処理3」の詳細を示す。FIG. 8 shows the details of the "process 3".

【0038】自記憶装置内に目的データが存在するか否
かを判定し(801)、もし、存在していればこの処理
を終了する。目的データが存在していなければ、自記憶
装置内に上記目的データの容量に相当した空き領域が存
在するか否かを判定し(802)、空き領域が在る場合
は、目的データを格納(804)した後、この処理を終
了する。なお、空き領域が不連続な部分領域として存在
する場合、自記憶装置内でデータを移動させ、連続した
空き領域を形成した後、目的データを格納するとよい。
目的データの容量に相当した空き領域が存在していない
場合は、容量オーバーを示すエラー表示を出力し、処理
を中断し(803)、この後のオペレータの操作に従っ
た動作を行う。
It is determined whether or not the target data exists in the self-storage device (801). If the target data exists, the process is terminated. If the target data does not exist, it is determined whether or not there is a free area corresponding to the capacity of the target data in the self-storage device (802). If there is a free area, the target data is stored ( After 804), this process ends. If the free area exists as a discontinuous partial area, the data may be moved in the own storage device to form a continuous free area, and then the target data may be stored.
If there is no free space corresponding to the capacity of the target data, an error display indicating that the capacity is exceeded is output, the processing is interrupted (803), and the operation according to the operation of the operator thereafter is performed.

【0039】以上の実施例では、データのアクセス要求
(読み出しあるいは書き込み)時に、記憶装置内あるい
は記憶装置間でデータの移動を行なうようにした制御動
作例を示したが、上述した記憶装置内あるいは記憶装置
間でのデータの移動は、データアクセス要求とは独立し
て周期的に行なうようにしてもよい。また、半導体メモ
リ103内の情報を不揮発性の記憶装置へ書き込む動作
についても同様である。
In the above embodiment, an example of a control operation in which data is moved within a storage device or between storage devices upon a data access request (read or write) has been described. The movement of data between the storage devices may be performed periodically independently of the data access request. The same applies to the operation of writing information in the semiconductor memory 103 to the nonvolatile storage device.

【0040】[0040]

【発明の効果】本発明によれば、目的データの容量やア
クセス頻度に応じて記憶装置を自動的に選択することに
より、大容量の情報を低コストで格納することができ、
総転送時間も短くすることが可能となる。
According to the present invention, a large amount of information can be stored at low cost by automatically selecting a storage device in accordance with the capacity and access frequency of target data.
The total transfer time can also be shortened.

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

【図1】本発明による情報記録再生装置の一実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an information recording / reproducing apparatus according to the present invention.

【図2】記憶装置のコストと総容量との関係を示す図で
ある。
FIG. 2 is a diagram illustrating a relationship between a cost and a total capacity of a storage device.

【図3】記憶装置の総転送時間とデータ容量との関係を
示す図である。
FIG. 3 is a diagram illustrating a relationship between a total transfer time of a storage device and a data capacity.

【図4】本発明におけるインデックス情報領域の構造を
示す図である。
FIG. 4 is a diagram showing a structure of an index information area in the present invention.

【図5】本発明におけるコントローラの制御手順の一例
を示すフローチャートである。
FIG. 5 is a flowchart illustrating an example of a control procedure of a controller according to the present invention.

【図6】図5における処理1の詳細を示すフローチャー
トである。
FIG. 6 is a flowchart showing details of processing 1 in FIG. 5;

【図7】図6における処理2の詳細を示すフローチャー
トである。
FIG. 7 is a flowchart showing details of a process 2 in FIG. 6;

【図8】図6における処理3の詳細を示すフローチャー
トである。
FIG. 8 is a flowchart showing details of a process 3 in FIG. 6;

【図9】従来の階層ストレージのデータ移動の一例を示
す図である。
FIG. 9 is a diagram illustrating an example of data movement of a conventional hierarchical storage.

【図10】各種外部記憶装置の特徴を示す比較図であ
る。
FIG. 10 is a comparison diagram showing characteristics of various external storage devices.

【符号の説明】[Explanation of symbols]

101:データ入出力インタフェース、102:CP
U、103:半導体メモリ、104:バスインタフェー
ス、105:コントローラ、106:半導体メモリ、1
07:磁気ディスク、108:光ライブラリ、109:
テープライブラリ、111:インデックス情報、11
2:作業領域、113:プログラム、901:ステージ
ングインターバル、902:LWM、903:HWM。
101: data input / output interface, 102: CP
U, 103: semiconductor memory, 104: bus interface, 105: controller, 106: semiconductor memory, 1
07: magnetic disk, 108: optical library, 109:
Tape library, 111: index information, 11
2: work area, 113: program, 901: staging interval, 902: LWM, 903: HWM.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】異なる2種類以上の記憶装置を含む記憶装
置群と、外部装置からの要求に基づいて上記記憶装置群
に対して情報の入出力を行なうコントローラとを備えた
情報記録再生装置において、 外部装置からデータの格納要求があった場合、上記コン
トローラは、上記データの容量を判断基準として上記記
憶装置群からあらかじめ定めた記憶装置を選択し、上記
データの容量が上記判断基準に達しないデータを格納す
る場合にはデータのアクセス状態を判断基準として上記
記憶装置群の内の一の記憶装置を選択し、選択された上
記一の記憶装置の容量に不足がある場合には上記一の記
憶装置に既納のデータの一部を退避することにより、上
記一の記憶装置に上記データを格納することを特徴とす
る情報記録再生装置。
An information recording / reproducing apparatus comprising: a storage device group including two or more different types of storage devices; and a controller for inputting and outputting information to and from the storage device group based on a request from an external device. If there is a data storage request from an external device, the controller selects a predetermined storage device from the storage device group using the data capacity as a criterion, and the data capacity does not reach the criterion. When storing data, one of the storage devices in the group of storage devices is selected based on the access state of the data as a criterion. If the capacity of the selected storage device is insufficient, the one of the storage devices is selected. An information recording / reproducing apparatus, wherein the data is stored in the one storage device by saving a part of the data already delivered to the storage device.
【請求項2】請求項1記載において、上記記憶装置群内
の記憶装置が半導体メモリ、磁気ディスク、光ディスク
ライブラリ、テープライブラリを有することを特徴とす
る情報記録再生装置。
2. The information recording / reproducing apparatus according to claim 1, wherein the storage devices in the storage device group include a semiconductor memory, a magnetic disk, an optical disk library, and a tape library.
【請求項3】請求項2記載において、光ライブラリのア
クセス時間をA_opt、光ライブラリの転送速度をV_opt、
テープライブラリのアクセス時間をA_tape、テープライ
ブラリの転送速度をV_tapeとしたとき、アクセスされた
データ容量が {(A_tape -A_opt) / (V_tape - V_opt)}
* V_opt * V_tape の式で表される閾値よりも大きい場
合にはテープライブラリに格納することを特徴とする情
報記録再生装置。
3. The optical library according to claim 2, wherein the access time of the optical library is A_opt, the transfer speed of the optical library is V_opt,
When the access time of the tape library is A_tape and the transfer speed of the tape library is V_tape, the amount of data accessed is {(A_tape -A_opt) / (V_tape-V_opt)}
An information recording / reproducing apparatus characterized in that when the value is larger than a threshold value represented by the formula of V_opt * V_tape, the information is stored in a tape library.
【請求項4】請求項3記載において、既にテープライブ
ラリに格納されているデータについては過去の一定時間
内のアクセス回数の大小に係わらずテープライブラリに
格納し続け、かつ、半導体メモリと磁気ディスクと光デ
ィスクライブラリに既に格納されているデータについて
は過去の一定時間内のアクセス回数が大きなデータから
順に、半導体メモリ、磁気ディスク、光ディスクライブ
ラリに格納されるようにデータを移動することを特徴と
する情報記録再生装置。
4. The data storage system according to claim 3, wherein data already stored in the tape library is continuously stored in the tape library irrespective of the number of accesses within a predetermined period of time in the past. Information recording characterized in that data already stored in the optical disk library is moved so that the data is stored in the semiconductor memory, the magnetic disk, and the optical disk library in ascending order of the number of accesses within a fixed time in the past. Playback device.
JP8231657A 1996-09-02 1996-09-02 Information recording and reproducing device Pending JPH1078899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8231657A JPH1078899A (en) 1996-09-02 1996-09-02 Information recording and reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8231657A JPH1078899A (en) 1996-09-02 1996-09-02 Information recording and reproducing device

Publications (1)

Publication Number Publication Date
JPH1078899A true JPH1078899A (en) 1998-03-24

Family

ID=16926936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8231657A Pending JPH1078899A (en) 1996-09-02 1996-09-02 Information recording and reproducing device

Country Status (1)

Country Link
JP (1) JPH1078899A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007257174A (en) * 2006-03-22 2007-10-04 Konica Minolta Business Technologies Inc Data storage device, data input/output system, control method for data storage device and control program for data storage device
JP2008015623A (en) * 2006-07-03 2008-01-24 Hitachi Ltd Controller of storage system equipped with many kinds of storage devices
WO2016129101A1 (en) * 2015-02-13 2016-08-18 株式会社日立製作所 Storage system and method for controlling storage
JP2017134603A (en) * 2016-01-27 2017-08-03 京セラドキュメントソリューションズ株式会社 Image forming apparatus and data processing program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007257174A (en) * 2006-03-22 2007-10-04 Konica Minolta Business Technologies Inc Data storage device, data input/output system, control method for data storage device and control program for data storage device
JP2008015623A (en) * 2006-07-03 2008-01-24 Hitachi Ltd Controller of storage system equipped with many kinds of storage devices
US8037263B2 (en) 2006-07-03 2011-10-11 Hitachi, Ltd. Control device of a storage system comprising storage devices of a plurality of types
US8239644B2 (en) 2006-07-03 2012-08-07 Hitachi, Ltd. Control device of a storage system comprising storage devices of a plurality of types
WO2016129101A1 (en) * 2015-02-13 2016-08-18 株式会社日立製作所 Storage system and method for controlling storage
JP2017134603A (en) * 2016-01-27 2017-08-03 京セラドキュメントソリューションズ株式会社 Image forming apparatus and data processing program

Similar Documents

Publication Publication Date Title
JP2550239B2 (en) External storage system
US5584018A (en) Information memory apparatus having a plurality of disk drives and calculating and re-allocating data according to access frequency
US5287459A (en) Method and apparatus for reducing response time in automated library data retrieval systems
US5581785A (en) Starting system of disk storage device and data reading/writing system of the same
US5034914A (en) Optical disk data storage method and apparatus with buffered interface
EP0357464A2 (en) Information recording and reproducing apparatus using optical discs
JPH0551928B2 (en)
EP2317428B1 (en) Automatically linking partitions on a tape media device
US5940849A (en) Information memory apparatus and library apparatus using a single magnetic tape shared with a plurality of tasks
JPH06110614A (en) System for managing external storage device
US6477628B1 (en) Backup copy achieving improved efficiency by waiting until rewind/unload command for bulk data copy
JPH06131233A (en) Access method and library device for multi-file type storage medium
JP3032321B2 (en) Access control method for optical disk device
US7797290B2 (en) Database reorganization program and method
JP2003296152A (en) Hsm system and migration control method for the system
JP6642495B2 (en) Storage management system
US8576675B2 (en) Data library apparatus, data archive system and server
JPH1078899A (en) Information recording and reproducing device
JPH10124352A (en) Method for managing file in library and server device for library
EP1213652B1 (en) Disk medium managing method
US6209057B1 (en) Storage device having data buffer
JPS626321A (en) Recording system for non-erasion type recording medium
JP3725375B2 (en) Data reorganization method in storage media library
JPH06332622A (en) Information processor
US9324359B2 (en) System and server for efficient data recording on and reproduction from storage media having multiple surfaces