JP2644541B2 - Method and apparatus for reading a recording medium - Google Patents

Method and apparatus for reading a recording medium

Info

Publication number
JP2644541B2
JP2644541B2 JP63200785A JP20078588A JP2644541B2 JP 2644541 B2 JP2644541 B2 JP 2644541B2 JP 63200785 A JP63200785 A JP 63200785A JP 20078588 A JP20078588 A JP 20078588A JP 2644541 B2 JP2644541 B2 JP 2644541B2
Authority
JP
Japan
Prior art keywords
area
cylinder
reading
read
frequent
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 - Lifetime
Application number
JP63200785A
Other languages
Japanese (ja)
Other versions
JPH0249274A (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.)
OOSAKA GASU KK
Original Assignee
OOSAKA GASU KK
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 OOSAKA GASU KK filed Critical OOSAKA GASU KK
Priority to JP63200785A priority Critical patent/JP2644541B2/en
Publication of JPH0249274A publication Critical patent/JPH0249274A/en
Application granted granted Critical
Publication of JP2644541B2 publication Critical patent/JP2644541B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ディスクなどのような書き替え可能な記録
媒体の情報ストア方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information storage method for a rewritable recording medium such as a disk.

従来の技術 第10図のようにディスクDに対する可動ヘッドHを持
ち書き替え可能ディスク装置において、情報を記録する
ストア領域単位であるシリンダが周方向に延びかつ半径
方向に配置され、各シリンダには1〜nの番号が付され
ている。
2. Description of the Related Art As shown in FIG. 10, in a rewritable disk device having a movable head H with respect to a disk D, cylinders serving as storage area units for recording information extend in a circumferential direction and are arranged in a radial direction. Numbers 1 to n are assigned.

従来は、情報すなわちファイルを記録するシリンダの
番号は、ディスクに情報を記録する時点の条件のみで決
められてしまう。
Conventionally, the number of a cylinder for recording information, that is, a file, is determined only by the conditions at the time of recording information on a disk.

そして一旦記録された情報が存在するシリンダ番号は
不変であり、強制的に情報の再配置をしない限り当該情
報が消去されるまで同じ位置に存在し続ける。
The cylinder number where the once recorded information exists is unchanged, and remains at the same position until the information is erased unless the information is forcibly rearranged.

したがって、記録情報の読み取り頻度と読み取り順序
を考慮して計画的にディスク内の情報の並べ替えを実施
しない限り、使用頻度の多いシリンダが互いに近くに存
在することが保証されないので、ヘッドの平均シーク距
離が長くなり、ディスクの平均入出力時間が延びて、中
央処理装置のディスクとの間で情報交換する際にディス
クの入出力操作完了持ちの状態が発生して性能を発揮で
きなくなる現象が生ずる。
Therefore, unless the information in the disk is rearranged systematically in consideration of the read frequency and read order of the recorded information, it is not guaranteed that the cylinders that are frequently used are located close to each other. As the distance becomes longer, the average input / output time of the disk increases, and when information is exchanged with the disk of the central processing unit, a state occurs in which the input / output operation of the disk is completed, and a phenomenon occurs in which the performance cannot be exhibited. .

そのため、従来の可動ヘッドを持つ書き替え可能ディ
スク装置では、シークによる処理時間の遅延は当然のこ
ととされ、避けられないものであった。
Therefore, in a conventional rewritable disk device having a movable head, a delay in processing time due to a seek is a matter of course and inevitable.

発明が解決すべき課題 本発明の目的は、可動ヘッドの移動量を可及的に少な
くして、そのヘッドによる記録媒体の書き込みまたは読
み出しを短時間で行うことができるようにする記録媒体
の読み取りのための方法および装置を提供することであ
る。
SUMMARY OF THE INVENTION An object of the present invention is to read a recording medium so that the moving amount of a movable head is reduced as much as possible so that writing or reading of the recording medium by the head can be performed in a short time. To provide a method and apparatus for

課題を解決するための手段 本発明は、書き替え可能なデイスク状記録媒体を回転
した状態で、書き込みおよび読み出しのためのヘツド
を、記録媒体を横切つて移動し、 記録媒体の半径方向内方から半径方向外方に、多頻度
読み取り域と、管理域と、少頻度読み取り域とが周方向
に延びて、この順序で形成され、 これらの多頻度読み取り域と、管理域と、少頻度読み
取り域とは、記録媒体の同心状に、または渦巻き状に、
複数のストア領域単位がそれぞれ形成され、 多頻度読み取り域と少頻度読み取り域との各ストア領
域単位毎の読み出し回数を計数し、 その計算値に基づき、多頻度読み取り域で、読み出し
頻度が多い順に、ストア領域単位を管理域の近くから遠
ざかるように割当てて配置する並べ替え動作を繰返し、 多頻度読み取り域への割当てがなされなかった残りの
ストア領域単位については、既に少頻度読み取り域にあ
つた分は並べ替えを行わず、多頻度読み取り域から追い
出された分は、少頻度読み取り域の中で空いているスト
ア領域単位のうちで管理域に近い方から割当てて配置
し、 管理域には、中央処理装置から導出されたストア領域
単位毎の確保要求をする予約アドレスと、多頻度読み取
り域および少頻度読み取り域における記録媒体の実際の
アドレスとを対応づける管理表をストアしておき、 多頻度読み取り域および少頻度読み取り域の読み出し
動作を行わないとき、ヘツドは、管理域にもたらされて
おり、 中央処理装置からの予約アドレスに対応した実際のア
ドレスを、前記管理表から読み出して、その実際のアド
レスに読み出しを行うことを特徴とする記録媒体の読み
取りのための方法である。
Means for Solving the Problems The present invention moves a head for writing and reading across a recording medium while rotating a rewritable disk-shaped recording medium, and moves the head inward in a radial direction of the recording medium. The frequent reading area, the management area, and the infrequent reading area extend in the circumferential direction from the outside in the radial direction, and are formed in this order. These frequent reading area, the management area, and the infrequent reading area The area is the concentric or spiral shape of the recording medium,
A plurality of store area units are respectively formed, and the number of read times for each store area unit of the frequent read area and the infrequent read area is counted, and based on the calculated value, in the frequent read area, the order of read frequency is high. The re-arrangement operation of allocating and allocating the storage area units away from the vicinity of the management area is repeated, and the remaining storage area units not allocated to the frequent reading area are already assigned to the infrequent reading area. The parts that are evicted from the frequent read area are allocated and allocated from the vacant read area that is closer to the management area among the vacant store area units in the frequent read area. , A reserved address for issuing a reservation request for each store area unit derived from the central processing unit, and the actual use of the recording medium in the frequent reading area and the frequent reading area. When a management table for associating the address with the address is stored and the read operation of the frequent read area and the infrequent read area is not performed, the head is brought to the control area, and the reserved address from the central processing unit is reserved. A method for reading a recording medium, wherein an actual address corresponding to the above is read out from the management table and read out to the actual address.

また本発明は、(a)書き替え可能なデイスク状記録
媒体であつて、この記録媒体の半径方向内方から半径方
向外方に、多頻度読み取り域と、管理域と、少頻度読み
取り域とが周方向に延びてこの順序で形成され、これら
の多頻度読み取り域と、管理域と、少頻度読み取り域と
には、記録媒体の同心状に、または渦巻き状に、複数の
ストア領域単位がそれぞれ形成される記録媒体と、 (b)記録媒体を回転駆動し、記録媒体の読み出しのた
めのヘツドを、記録媒体を横切つて移動するデイスク装
置と、 (c)ストア領域単位毎の確保要求する予約アドレスを
導出する中央処理装置と、 (d)制御手段であって、 多頻度読み取り域と少頻度読み取り域との各ストア領
域単位毎の読み出し回数を計数し、その計数値に基づ
き、多頻度読み取り域で、読み出し頻度が多い順に、ス
トア領域単位を管理域の近くから遠ざかるように割当て
て配置する並べ替え動作を繰返し、 多頻度読み取り域への割当てがなされなかった残りの
ストア領域単位については、既に少頻度読み取り域にあ
つた分は並べ替えを行わず、多頻度読み取り域から追い
出された分は、少頻度読み取り域の中で空いているスト
ア領域単位のうちで管理域に近い方から割当てて配置
し、 管理域には、中央処理装置から導出されたストア領域
単位毎の確保要求をする予約アドレスと、多頻度読み取
り域および少頻度読み取り域における記録媒体の実際の
アドレスとを対応づける管理表をストアしておき、 多頻度読み取り域および少頻度読み取り域の読み出し
動作を行わないとき、ヘツドは、管理域にもたらされて
おり、 中央処理装置からの予約アドレスに対応した実際のア
ドレスを、前記管理表から読み出して、その実際のアド
レスに読み出しを行うことを特徴とする記録媒体の読み
取りのための装置である。
The present invention also relates to (a) a rewritable disk-shaped recording medium, which includes a frequent reading area, a management area, and a frequent reading area from a radially inner side to a radially outer side of the recording medium. Are formed in this order by extending in the circumferential direction. The frequent reading area, the management area, and the infrequent reading area include a plurality of storage area units concentrically or spirally on the recording medium. (B) a disk device for rotating the recording medium and moving a head for reading the recording medium across the recording medium; and (c) securing requests for each storage area unit. A central processing unit for deriving a reserved address to be read; and (d) control means for counting the number of reads for each storage area unit in the frequent reading area and the infrequent reading area, and based on the count value, Frequency reading area Then, in the order of read frequency, the rearrangement operation of allocating and arranging the store area units so as to move away from the vicinity of the management area is repeated, and for the remaining store area units that have not been allocated to the frequent read area, The data in the infrequent reading area is not rearranged, and the area removed from the infrequent reading area is allocated from the free storage area unit in the infrequent reading area that is closer to the management area. In the management area, a management table for associating a reserved address derived from the central processing unit for requesting a reservation for each storage area unit with the actual address of the recording medium in the frequent reading area and the infrequent reading area. When the read operation of the frequent read area and the infrequent read area is not performed, the head is brought to the management area, An apparatus for reading a recording medium, wherein an actual address corresponding to a reserved address from a processing device is read out from the management table and read out to the actual address.

作 用 本発明に従えば、可動ヘツドを用いて、書き替え可能
な記録媒体の読み出しを行い、記録媒体に記録された情
報のうちで読み出し回数が多いストア領域単位を、管理
域よりも半径方向内方の多頻度読み取り域に、その読み
出し頻度が多い順に管理域の近くから遠ざかるように隣
接して割り当てて配置する並べ替え動作を繰り返し、こ
れによつて並べ替え処理の負荷をあまりかけずにヘツド
がシークするときの移動距離を効果的に短縮することが
できる。これによつて処理時間を短縮することが可能に
なる。
According to the present invention, a rewritable recording medium is read using a movable head, and a storage area unit having a large number of read times out of information recorded on the recording medium is stored in a radial direction more than a management area. The rearrangement operation of assigning and arranging adjacent inner frequent read areas in the order of the read frequency in order of increasing read frequency and away from the vicinity of the management area is repeated, thereby reducing the load of the rearrangement processing. The moving distance when the head seeks can be effectively reduced. This makes it possible to reduce the processing time.

本発明に従えば、少頻度読み取り域では、ストア領域
単位の読み出し頻度にかかわらず並べ替える動作を行わ
ない。この少頻度読み取り域では、ストア領域単位の読
み取り頻度が上述の多頻度読み取り域のストア領域単位
に比べて、少ないので、並べ替えをしなくても、前記処
理時間が長くなりすぎるという問題の影響は少ない。こ
うして少頻度読み取り域における並べ替え処理を行う必
要がないので、そのための負担が軽減され、しかも上述
のようにヘツドがシークするときの移動距離を効果的に
短縮することができるのである。
According to the present invention, in the low-frequency read area, the rearrangement operation is not performed regardless of the read frequency of the store area unit. In the low-frequency reading area, the reading frequency in the storage area unit is less than that in the above-mentioned high-frequency reading area, so the processing time becomes too long without rearrangement. Is less. Thus, since it is not necessary to perform the rearrangement process in the low-frequency reading area, the burden for that is reduced, and the moving distance when the head seeks as described above can be effectively reduced.

実施例 第1図は本発明の一実施例のディスク装置1の簡略化
した平面図であり、第2図はこのディスク装置1に接続
される電気的構成を示すブロック図である。これらの図
面を参照して、書き替え可能な記録媒体であるディスク
2は、回転軸3のまわりに矢符4のように回転駆動され
る。
Embodiment FIG. 1 is a simplified plan view of a disk drive 1 according to an embodiment of the present invention, and FIG. 2 is a block diagram showing an electrical configuration connected to the disk drive 1. Referring to these drawings, a disk 2 as a rewritable recording medium is driven to rotate around a rotation axis 3 as indicated by an arrow 4.

ディスク2に書き込みおよび読み出しを行うためのヘ
ッドHはヘッドアーム5に固定されており、このアーム
5は駆動手段6によってヘッドHをディスク2を横切っ
て移動させる。ヘッドHは、第1図のようにディスク2
の半径方向に変位するように構成されていてもよく、あ
るいはまたそのディスク2の半径方向に対して角度を有
して直線状にまたは湾曲した経路を辿って移動するよう
に構成されていてもよい。
A head H for writing and reading data to and from the disk 2 is fixed to a head arm 5. The arm 5 moves the head H across the disk 2 by driving means 6. The head H, as shown in FIG.
May be configured to be displaced in the radial direction of the disk 2, or may be configured to move linearly or along a curved path at an angle with respect to the radial direction of the disk 2. Good.

このディスク2には、半径方向内方から半径方向外方
にわたって同心状にストア領域単位が形成され、そのス
トア領域単位の1または複数毎のストア領域は、バッフ
ァ域7と、多頻度域8と管理域9と少頻度域10とを含
む。
Store areas are formed concentrically from the inner side in the radial direction to the outer side in the radial direction on the disk 2, and one or more store areas in the store area unit include a buffer area 7, a frequent area 8, A management area 9 and a low frequency area 10 are included.

この実施例では、ストア領域単位をシリンダと称し、
シリンダの確保要求を仮想シリンダの割当て、実際のデ
ィスクのシリンダ割当てを実シリンダの割当てとする。
それに伴い中央処理装置側のディスク制御装置11から見
たシリンダを仮想シリンダとし、この仮想シリンダの番
号を仮想シリンダ番号と言い、ディスク内のシリンダを
実シリンダとし、この実シリンダの番号を実シリンダ番
号と言う。
In this embodiment, the store area unit is called a cylinder,
The cylinder allocation request is defined as virtual cylinder allocation, and the actual disk cylinder allocation is defined as real cylinder allocation.
Accordingly, the cylinder viewed from the disk control device 11 on the central processing unit side is a virtual cylinder, the number of this virtual cylinder is called a virtual cylinder number, the cylinder in the disk is an actual cylinder, and the actual cylinder number is the actual cylinder number. Say

バッファ域7として管理域の近くの空きストア領域で
あるシリンダ番号7を確保する。
As the buffer area 7, a cylinder number 7 which is a free store area near the management area is secured.

多頻度域8は、第1図に明らかなように実シリンダ番
号1〜5を有するストア領域単位であるシリンダを含
み、管理域9は実シリンダ番号6を有し、少頻度域10は
実シリンダ番号8〜nのストア領域単位であるシリンダ
を有する。
As shown in FIG. 1, the frequent area 8 includes cylinders which are the store area units having the actual cylinder numbers 1 to 5, the management area 9 has the actual cylinder number 6, and the infrequent area 10 has the actual cylinder number. It has a cylinder which is a store area unit of numbers 8 to n.

これらの実シリンダ番号1〜nを有する各シリンダ
は、周方向に延び、半径方向に配置されており、各シリ
ンダは同心状に形成されているけれども、他の実施例と
してこれらのシリンダは渦巻き状に形成されていてもよ
い。
Although the cylinders having the actual cylinder numbers 1 to n extend in the circumferential direction and are arranged in the radial direction, the cylinders are formed concentrically. However, in another embodiment, the cylinders have a spiral shape. May be formed.

実シリンダ番号の割当ては、ストア領域単位の物理的
な位置を区別するためのものであるから、半径方向内方
からの順でも半径方向外方からの順でもどのように付番
されていてもよい。
The assignment of the actual cylinder number is for discriminating the physical position of the store area unit, so that the actual cylinder number is assigned in any order from the inside in the radial direction or the outside from the radial direction. Good.

また、バッファ域7は仮想シリンダ移動作業と管理域
移動作業時に必要なスペースが確保されていれば、どの
シリンダにあってもよい。
The buffer area 7 may be in any cylinder as long as the space required for the virtual cylinder moving operation and the management area moving operation is secured.

このような第1図に示されたディスク装置1に関連し
て、第2図に示されるディスク制御装置11と処理回路12
と、ディスク制御装置1に接続される中央処理装置の主
記憶装置13とが設けられる。この第2図において、実線
は指令の流れを示し、破線は情報の流れを示す。
In relation to such a disk device 1 shown in FIG. 1, a disk control device 11 and a processing circuit 12 shown in FIG.
And a main storage device 13 of the central processing unit connected to the disk control device 1. In FIG. 2, the solid line indicates the flow of the command, and the broken line indicates the flow of the information.

ディスク制御装置11は、ディスク2に記録再生させる
情報を中央処理装置の主記憶装置13との間で交換する働
きをし、このディスク制御装置11には、ディスク装置1
のディスク2にディスク制御装置11からの情報を記録再
生させる仮想シリンダ/実シリンダ変換手段14が接続さ
れる。
The disk control device 11 has a function of exchanging information to be recorded and reproduced on the disk 2 with a main storage device 13 of the central processing unit.
A virtual cylinder / real cylinder conversion means 14 for recording and reproducing information from the disk control device 11 on the disk 2 is connected.

仮想シリンダ管理表バッファ部15は、仮想シリンダ/
実シリンダ変換手段14が使用する、第1表に示す仮想シ
リンダ毎に仮想シリンダ番号、ファイル名、ファイル内
相対シリンダ番号、属性、前々回参照回数、前々回鮮度
率、前回参照回数、前回鮮度率、今回参照回数、今回鮮
度率、優先順位判定値、現在実シリンダ番号、新実シリ
ンダ番号を持つ仮想シリンダ管理表を記憶する。
The virtual cylinder management table buffer unit 15 stores the virtual cylinder /
The virtual cylinder number, file name, relative cylinder number in the file, attribute, number of previous reference times, previous freshness ratio, previous reference frequency, previous freshness ratio, and current time for each virtual cylinder shown in Table 1 used by the real cylinder conversion means 14. A virtual cylinder management table having a reference count, a current freshness rate, a priority determination value, a current actual cylinder number, and a new actual cylinder number is stored.

さらにこの処理回路12では、 仮想シリンダ/実シリンダ変換手段14の指示によりデ
ィスク装置1のディスク2の管理域9から仮想シリンダ
管理表を読み取り、仮想シリンダ管理表バッファ部15に
記憶させる管理域内容読み取り手段16と、 仮想シリンダ/実シリンダ変換手段14の指示により仮
想シリンダ管理表バッファ部15から仮想シリンダ管理表
を読み取り、ディスク装置1のディスク2の管理域9に
記録する管理域内容更新手段17と、 仮想シリンダ移動作業と管理域移動作業時に、一時的
にディスク2の1シリンダ分以上の内容を記憶するシリ
ンダ移動作業用バァファ部18と、 仮想シリンダ/実シリンダ変換手段14の指示によりデ
ィスク装置1のディスク2の仮想シリンダをシリンダ移
動作業用バァファ部18を使って並べ替え移動する仮想シ
リンダ並べ替え手段19と、 仮想シリンダ/実シリンダ変換手段14の指示によりデ
ィスク装置1のディスク2の管理域をシリンダ移動作業
用バッファ部18を使って移動する管理域移動手段20を具
備する。
Further, the processing circuit 12 reads the virtual cylinder management table from the management area 9 of the disk 2 of the disk device 1 according to the instruction of the virtual cylinder / real cylinder conversion means 14, and reads the management area contents to be stored in the virtual cylinder management table buffer unit 15. A means 16 for reading a virtual cylinder management table from the virtual cylinder management table buffer unit 15 according to an instruction of the virtual cylinder / real cylinder conversion means 14 and recording the virtual cylinder management table in the management area 9 of the disk 2 of the disk device 1; In the virtual cylinder moving operation and the management area moving operation, the cylinder moving operation buffer unit 18 for temporarily storing the contents of one or more cylinders of the disk 2, and the disk device 1 according to the instructions of the virtual cylinder / real cylinder converting means 14. Virtual cylinder that rearranges and moves the virtual cylinders of disk 2 using the cylinder moving work buffer section 18. And Da rearrangement means 19 comprises a management area moving means 20 for moving the management area of the disk 2 of the disk device 1 with the cylinder moving the working buffer unit 18 by the instruction of the virtual cylinder / actual cylinder conversion unit 14.

第3図はディスク制御装置11と処理回路12の動作を説
明するための主処理手順を示すフローチャートであり、
第4図は管理域移動手順を示すフローチャートであり、
第5図は仮想シリンダの並べ替え手順を示すフローチャ
ートである。
FIG. 3 is a flowchart showing a main processing procedure for explaining operations of the disk control device 11 and the processing circuit 12,
FIG. 4 is a flowchart showing a management area moving procedure.
FIG. 5 is a flowchart showing a procedure for rearranging virtual cylinders.

第3図のステップn1からステップn2に移り、第2図に
示される仮想シリンダ管理表バッファ部15に管理域9の
内容を読み出して複写記録する。
The process proceeds from step n1 to step n2 in FIG. 3, and the contents of the management area 9 are read out and copied to the virtual cylinder management table buffer unit 15 shown in FIG.

ステップn3では、ディスク制御装置11からの上方があ
るかどうかが判断され、その情報があればステップn4に
移り、仮想シリンダ管理表の仮想シリンダ番号の登録、
更新、消去へ行う。
At step n3, it is determined whether or not there is an upward position from the disk controller 11. If there is such information, the process proceeds to step n4, where the registration of the virtual cylinder number in the virtual cylinder management table,
Update and delete.

ステップn5では、ディスク装置1への書き込み/読み
取りの指令があるかどうかが判断され、そうであれば、
ステップn6に移り、実シリンダによるディスク装置1へ
の情報書き込み/読み取りの処理が行われる。新規書き
込み時の実シリンダ番号の割当ては、多頻度域が空いて
いれば多頻度域のうちで管理域に近い方から優先的に割
当てる。多頻度が空いていなければ少頻度域のうちで管
理域の近い方から優先的に割当てる。
In step n5, it is determined whether there is a write / read command to the disk device 1, and if so,
In step n6, the process of writing / reading information to / from the disk device 1 by the actual cylinder is performed. The real cylinder number at the time of new writing is preferentially assigned to the management area from among the high frequency areas if the high frequency area is free. If the high frequency is not vacant, the allocation is preferentially performed in the low frequency area from the one closer to the management area.

ステップn7では、ディスク制御装置11にディスク装置
1のヘッドHからの読出した情報を返す。
At step n7, information read from the head H of the disk device 1 is returned to the disk control device 11.

ステップn8では、仮想シリンダ管理表の変更があるか
どうかが判断され、変更があれば、管理域9の内容が更
新される。ステップn10ではディスク制御装置11および
ディスク装置1の稼働率が設定値以下かどうかが判断さ
れ、設定値以下であればステップn11に移り、多頻度域1
0のシリンダのうち使用頻度が所定回数以上のシリンダ
数が一定割合から大きく変動していて管理域の移動が必
要かどうかが判断され、 その必要がなければステップn12において仮想シリン
ダのいずれかの今回参照回数が設定値を超えたかどうか
が判断される。
In step n8, it is determined whether or not there is a change in the virtual cylinder management table. If there is a change, the contents of the management area 9 are updated. At step n10, it is determined whether or not the operation rates of the disk control device 11 and the disk device 1 are equal to or less than the set value.
It is determined whether the number of cylinders whose usage frequency is equal to or more than a predetermined number of cylinders 0 greatly fluctuates from a certain ratio and it is necessary to move the management area. It is determined whether the number of references exceeds a set value.

ステップn11において管理域の移動が必要であると判
断されると、ステップn13では管理域9の移動が行わ
れ、ステップn14では仮想シリンダの並べ替えが行わ
れ、ステップn15では管理域9の内容が更新される。
If it is determined in Step n11 that the management area needs to be moved, the management area 9 is moved in Step n13, the virtual cylinders are rearranged in Step n14, and the contents of the management area 9 are stored in Step n15. Be updated.

第2表は、仮想シリンダ管理表を示す。第2表の仮想
シリンダ管理表は、シリンダの数が20シリンダのディス
クに、本発明の方法によりファイルを記録した状況の例
である。
Table 2 shows a virtual cylinder management table. The virtual cylinder management table in Table 2 is an example of a situation where a file is recorded on a disk having 20 cylinders by the method of the present invention.

仮想シリンダ番号1には、仮想シリンダ管理表が保存
される管理域がある。
The virtual cylinder number 1 has a management area where a virtual cylinder management table is stored.

仮想シリンダ番号2には、仮想シリンダ移動時に一時
退避用のバッファ域がある。
The virtual cylinder number 2 has a buffer area for temporary evacuation when moving the virtual cylinder.

仮想シリンダ番号3以上には7つのファイルが保存さ
れている。
Seven files are stored in virtual cylinder numbers 3 and above.

ファイルAは、仮想シリンダ番号3,4,5を占めてお
り、前の2シリンダ分は実シリンダが割当てられている
が、第3シリンダ目は情報が記録されていないので実シ
リンダは割当てられていない。
File A occupies virtual cylinder numbers 3, 4, and 5, and real cylinders are allocated to the previous two cylinders, but real cylinders are allocated to the third cylinder because no information is recorded. Absent.

ファイルBは索引付きファイルであり、仮想シリンダ
番号6には索引キーが記録されておりそのデータ部分は
仮想シリンダ番号10に記録されている。仮想シリンダ番
号7はデータが消去されていて対応する実シリンダは解
放されている。
The file B is an indexed file. An index key is recorded in the virtual cylinder number 6, and its data portion is recorded in the virtual cylinder number 10. The virtual cylinder number 7 has data deleted and the corresponding real cylinder has been released.

ファイルCは仮想シリンダ番号8に記録されている。 File C is recorded in virtual cylinder number 8.

ファイルD,Eは、小さいので仮想シリンダ番号9に共
存して記録されている。
Since the files D and E are small, they are recorded together with the virtual cylinder number 9.

ファイルFは仮想シリンダ番号12,13に記録されてい
る。
File F is recorded in virtual cylinder numbers 12 and 13.

ファイルGは1次割当てでは仮想シリンダ番号14が割
当てられ、2次割当てでは仮想シリンダ番号16が割当て
られている。
The file G is assigned a virtual cylinder number 14 in the primary assignment, and a virtual cylinder number 16 in the secondary assignment.

仮想シリンダ番号11,15は、ファイルの消去により空
いている。
The virtual cylinder numbers 11 and 15 are free by erasing the file.

実シリンダ番号12はファイルの消去により空いてい
る。
The actual cylinder number 12 is free due to the deletion of the file.

実シリンダ番号14〜20は未だ1度もファイルが割当て
られていない空き実シリンダである。
The real cylinder numbers 14 to 20 are free real cylinders to which no file has been assigned yet.

ここでは実シリンダ番号1〜6が多頻度域で、実シリ
ンダ番号9〜20が少頻度域の属性を持っている。
Here, the actual cylinder numbers 1 to 6 have the attribute of the high frequency range, and the actual cylinder numbers 9 to 20 have the attribute of the low frequency range.

仮想シリンダ番号というのは、上述のようにディスク
制御装置11が利用するディスク2に対する論理的なシリ
ンダのアドレスである。
The virtual cylinder number is a logical cylinder address for the disk 2 used by the disk control device 11 as described above.

実シリンダ番号というのは、ディスク2のシリンダの
実際のアドレスを示す。
The actual cylinder number indicates the actual address of the cylinder of the disk 2.

今回鮮度率をM1とし、今回参照回数をN1とし、前回鮮
度率をM2とし、前回参照回数をN2とし、前々回鮮度率を
M3とし、前々回参照回数をN3とするとき、優先順位判定
値Sは第1式で示される演算結果となる。
The freshness rate this time is M1, the number of times of reference this time is N1, the freshness rate of the previous time is M2, the number of times of previous reference is N2, and the freshness rate before the previous time is
When M3 is set and N3 is set as the number of times of reference two times before, the priority determination value S is a calculation result represented by the first equation.

iは、今回、前回、前々回を示す。 i indicates this time, the last time, and the time before the previous time.

なお、その他の実施例としてiの範囲は4以上でもよ
い。
In another embodiment, the range of i may be 4 or more.

ここで、今回鮮度率が大きい場合は、そのシリンダに
対して最近に情報の更新があったことを示す。
Here, when the freshness rate is large this time, it indicates that the information has been updated recently for the cylinder.

たとえば今回鮮度率が「1」であるのは、過去4回の
仮想シリンダ並べ替え以前に情報が書き込まれたことを
意味し、 今回鮮度率が「5」であるのは、最後の、すなわち最
近の仮想シリンダ並べ替え以後に情報が書き込まれたこ
とを意味する。
For example, a freshness rate of “1” this time means that information was written before the previous four virtual cylinder rearrangements, and a freshness rate of “5” this time means the last, that is, Means that the information has been written after the rearrangement of the virtual cylinder.

仮想シリンダの並べ替えのたびに今回鮮度率と今回参
照回数とは、前回鮮度率および前回参照回数の欄に移動
し、また前回鮮度率と前回参照回数とは前々回鮮度率と
前々回参照回数の欄にそれぞれ移動する。この時、今回
鮮度率は「1」減じた値にする。ただし、最小値は
「1」とする。同時に今回参照回数は「0」にする。
Each time a virtual cylinder is rearranged, the current freshness rate and current reference count are moved to the previous freshness rate and previous reference count fields, and the previous freshness rate and previous reference count are set for the previous freshness rate and previous reference count fields. Go to each. At this time, the freshness rate this time is set to a value reduced by “1”. However, the minimum value is “1”. At the same time, the number of times of reference this time is set to “0”.

第3表は、第2表の様子を実シリンダ配列で表示した
ものである。管理域の実シリンタ番号よりも番号の小さ
い実シリンダは多頻度域で、反対に管理域の実シリンダ
番号よりも番号が大きい実シリンダは少頻度域である。
バッファ域は管理域に近い実シリンダが割当てられてい
る。
Table 3 shows the appearance of Table 2 in an actual cylinder arrangement. An actual cylinder having a smaller number than the actual cylinder number in the management area is a high frequency area, and an actual cylinder having a number larger than the actual cylinder number in the management area is a low frequency area.
An actual cylinder close to the management area is allocated to the buffer area.

ここでは多頻度域のうちで管理域に近い実シリンダが
利用頻度が大きいと判定されている。
Here, it is determined that the actual cylinder that is closer to the management area in the frequent area has the higher use frequency.

少頻度域に書き込まれた情報は、多頻度域への移動が
発生しない限りは消去されるまで同一実シリンダ番号に
とどまる。
The information written in the low frequency area stays at the same actual cylinder number until it is erased unless the information moves to the high frequency area.

多頻度にあった情報が、利用頻度が少なくなって多頻
度域からあふれた場合は、少頻度域のうちで管理域に最
も近い空き実シリンダに移動される。多頻度域のシリン
ダ数は、情報記録済みのシリンダ数のたとえば約4割程
度であってもよい。
When the frequently used information overflows from the frequent area due to the reduced use frequency, the information is moved to the empty real cylinder closest to the management area in the frequent area. The number of cylinders in the frequent area may be, for example, about 40% of the number of cylinders for which information has been recorded.

多頻度域に収められる情報は、利用頻度の変化に応じ
て動的に頻度順にシリンダ単位に並べ替え再配置され
る。
The information contained in the frequent area is dynamically rearranged and rearranged in the order of frequency in units of cylinders according to the change in the use frequency.

第2表、第3表の状態から、順に情報の記録再生が行
われる模様を仮想シリンダ管理表をもとに説明する。
Patterns in which information is recorded and reproduced in order from the states in Tables 2 and 3 will be described based on the virtual cylinder management table.

第3図のステップn13における管理域移動手順は、第
4図に具体的に示されている。
The procedure for moving the management area in step n13 in FIG. 3 is specifically shown in FIG.

ステップr1からステップr2に移り、情報記録済み実シ
リンダのうちで利用頻度が所定回数以上のシリンダ数
が、多頻度域の実シリンダ数よりも一定個数以上異なっ
ていた場合、所定回数以上の実シリンダ分のスペースが
多頻度域に収まるように管理域の異動先を決定する。
Moving from step r1 to step r2, if the number of cylinders whose usage frequency is equal to or more than the predetermined number of times among the information-recorded actual cylinders is different from the number of actual cylinders in the frequent area by a certain number or more, the number of actual cylinders equal to or more than the predetermined number The transfer destination of the management area is determined so that the space of the minute falls within the frequent area.

ステップr3では、管理域の移動先に記録済み実シリン
ダがあるかどうかを判断し、そうであればステップr4に
移り、移動先実シリンダの内容をバッファ域7に移動す
る。
In step r3, it is determined whether or not there is a recorded real cylinder at the destination of the management area. If so, the process proceeds to step r4, and the contents of the destination real cylinder are moved to the buffer area 7.

ステップr5では管理域内容を更新し、ステップr6では
旧管理域の内容を読み出して新管理域に移動してストア
する。
In step r5, the contents of the management area are updated, and in step r6, the contents of the old management area are read, moved to the new management area, and stored.

このステップr6では、管理域の実シリンダ番号だけ新
管理域の実シリンダ番号に変更する。
In step r6, only the actual cylinder number of the management area is changed to the actual cylinder number of the new management area.

ステップr7では、旧管理域の実シリンダ番号を解放
し、ステップr8で第3図のステップn14に戻る。
In step r7, the actual cylinder number in the old management area is released, and in step r8, the process returns to step n14 in FIG.

第3図に示されたステップn14における仮想シリンダ
並べ替え手順は、第5図に示されている。
The virtual cylinder rearrangement procedure in step n14 shown in FIG. 3 is shown in FIG.

ステップs1からステップs2に移り、仮想シリンダ単位
に優先順位半定値の計算を前述の第1式で示されるよう
に行う。
The process proceeds from step s1 to step s2, and the priority semi-fixed value is calculated for each virtual cylinder as shown by the above-described first formula.

ステップs3では仮想シリンダに、実シリンダ番号の割
当てを行う。割当ては、優先順位判定値の大きいものか
ら順に多頻度域の管理域に近い実シリンダ番号を対応づ
けて行う。多頻度域の割当てが完了すると、残りは少頻
度域の割当てを行う。ただし、現像少頻度域に存在する
仮想シリンダに対しては、現在の実シリンダ番号と同じ
新実シリンダ番号を与え、換言すると、少頻度域にとど
まる情報は、移動しないでそのまま同じ実シリンダに記
録しておく。その他の現在多頻度域に存在して少頻度域
に移動する仮想シリンダに対しては、少頻度域から多頻
度域への移動により新しく空くシリンダ番号を含めて、
少頻度域の空き実シリンダ番号のうちで管理域に近い方
から順に優先順位半定置の大きい仮想シリンダ番号を割
当てて行く。
In step s3, a real cylinder number is assigned to the virtual cylinder. The assignment is performed by associating the real cylinder numbers closer to the management area in the frequent area in ascending order of the priority determination value. After the assignment of the high frequency range is completed, the remaining portions are allocated to the low frequency range. However, for the virtual cylinders existing in the low-frequency range, the same new real cylinder number as the current real cylinder number is assigned. In other words, information that remains in the low-frequency range is recorded in the same real cylinder without moving. Keep it. For other virtual cylinders that currently exist in the high frequency range and move to the low frequency range, include the newly vacant cylinder number by moving from the low frequency range to the high frequency range,
The virtual cylinder numbers having the highest semi-fixed priority are assigned in order from the free real cylinder number in the low frequency area, which is closer to the management area.

ステップs4では、仮想シリンダを優先順位判定値の大
きいものから逐次移動する。
In step s4, the virtual cylinders are sequentially moved in descending order of the priority order determination value.

この仮想シリンダの逐次移動は、次のステップa1〜f1
の順序で行われる。
This sequential movement of the virtual cylinder is performed in the following steps a1 to f1.
Are performed in the following order.

a1.未移動の仮想シリンダのうちで優先順位判定値の最
大のものが移動する先の実シリンダ番号に存在する仮想
シリンダを、バッファ域に待避。
a1. Among the virtual cylinders that have not been moved, the virtual cylinder that exists in the real cylinder number to which the largest priority determination value moves is saved in the buffer area.

b1.仮想シリンダ管理表から、a1のステップで空いた実
シリンダ番号を解放。
b1. Release the actual cylinder number vacated in step a1 from the virtual cylinder management table.

c1.空いた実シリンダに入る仮想シリンダを移動して、
仮想シリンダ管理表更新。
c1. Move the virtual cylinder that enters the empty real cylinder,
Updated virtual cylinder management table.

d1.仮想シリンダ管理表から、c1のステップで移動した
仮想シリンダが占めていた実シリンダ番号解放。
d1. Release the actual cylinder number occupied by the virtual cylinder moved in step c1 from the virtual cylinder management table.

e1.c1とd1の操作をa1で待避した仮想シリンダが予定し
ている新実シリンダに落ち着くまで繰返す。
The operations of e1.c1 and d1 are repeated until the virtual cylinder evacuated at a1 settles on the planned new real cylinder.

f1.a1からe1の操作をすべての仮想シリンダが新実シリ
ンダに移動し終わるまで繰返す。
The operations from f1.a1 to e1 are repeated until all the virtual cylinders have been moved to the new real cylinders.

ステップs5では、仮想シリンダ管理表の更新を次の順
序a2〜f2で行う。
In step s5, the virtual cylinder management table is updated in the following order a2 to f2.

a2.前回参照回数→前々回参照回数 b2.前回鮮度率→前々回鮮度率 c2.今回参照回数→前回参照回数 d2.今回鮮度率→前回鮮度率 e2.今回参照回数0にリセット f2.今回鮮度率を1減少 (ただし最小値は1とする) したがって、第3図〜第5図に基づき、次の動作a3〜
g3が行われる。
a2.Number of previous references → number of previous reference b2.Previous freshness rate → previous number of freshness c2.Number of current references → number of previous references d2.Current freshness rate → priority of freshness e2.Reset to 0 times of current reference f2. Decrease by 1 (however, the minimum value is assumed to be 1). Therefore, based on FIGS.
g3 is performed.

a3.ディスク制御装置11からのファイル割当て要求時
に、仮想シリンダ管理表に仮想シリンダを登録する。
a3. At the time of a file allocation request from the disk controller 11, the virtual cylinder is registered in the virtual cylinder management table.

b3.ディスク制御装置11からの情報書き込み要求時に、
仮想シリンダ管理表をもとに仮想シリンダに対して実シ
リンダを割当ててディスク装置1の当該実シリンダに情
報を記録し、仮想シリンダ管理表の対応する仮想シリン
ダ番号の今回参照回数を1カウトアップし、今回鮮度率
を最大値に設定する。
b3. At the time of an information write request from the disk controller 11,
A real cylinder is allocated to a virtual cylinder based on the virtual cylinder management table, information is recorded in the real cylinder of the disk device 1, and the number of times of reference of the corresponding virtual cylinder number in the virtual cylinder management table is counted up by one, This time, the freshness rate is set to the maximum value.

c3.ディスク制御装置11からの情報読み取り要求時に、
仮想シリンダに対応する実シリンダを決定して、ディス
ク装置1から当該実シリンダの記録情報を再生してディ
スク制御装置11に返し、仮想シリンダ管理表の対応する
仮想シリンダ番号の今回参照回数を1カウントアップす
る。
c3. At the time of information reading request from the disk controller 11,
The actual cylinder corresponding to the virtual cylinder is determined, the recorded information of the actual cylinder is reproduced from the disk device 1 and returned to the disk controller 11, and the number of times this virtual cylinder number in the virtual cylinder management table is referred to by one is counted. Up.

d3.ディスク制御装置11からの情報消去要求時に、ファ
イル全体が消去される場合は仮想シリンダ管理表からそ
のファイルが使用していたすべての仮想シリンダの登録
を抹消し、ファイルエリアの一部のシリンダが消去され
る場合は仮想シリンダ管理表の対応する仮想シリンダに
割当てられている実シリンダを解放する。
d3. When the entire file is erased at the time of the information erasure request from the disk controller 11, the registration of all the virtual cylinders used by the file is deleted from the virtual cylinder management table, and some of the cylinders in the file area are deleted. Is deleted, the real cylinder allocated to the corresponding virtual cylinder in the virtual cylinder management table is released.

e3.仮想シリンダ管理表の今回参照回数の値以外が変更
されたときに、仮想シリンダ管理表の新しい内容をディ
スクの管理域に書込む。
e3. When a value other than the value of the current reference count in the virtual cylinder management table is changed, the new contents of the virtual cylinder management table are written to the disk management area.

f3.ディスク装置1のディスク2の多頻度域10のシリン
ダ数と、情報記録済み実シリンダのうちで使用頻度が所
定回数以上のシリンダ数が、一定の割合から大きく変動
したときに、管理域を移動して所定回数以上のシリンダ
が多頻度域に収まるようにして、その結果のシリンダ割
当て状況を仮想シリンダ管理表に反映する。
f3. When the number of cylinders in the frequent area 10 of the disk 2 of the disk device 1 and the number of actual-recorded actual cylinders whose frequency of use is equal to or more than a predetermined number greatly fluctuate from a certain ratio, the management area is changed. The cylinder is moved so that the number of cylinders equal to or more than a predetermined number falls within the frequent area, and the resulting cylinder allocation status is reflected in the virtual cylinder management table.

g3.管理域の移動があったとき、あるいは仮想シリンダ
管理表に登録されたいずれかの仮想シリンダの今回参照
回数が設定値を越えたときに、仮想シリンダ毎に優先順
位判定値を計算して新実シリンダ番号の割当てを行い、
仮想シリンダを新実シリンダ番号に従って並べ替えて仮
想シリンダ管理表に反映する。
g3. When the management area is moved or when the number of times this virtual cylinder reference number registered in the virtual cylinder management table exceeds the set value, the priority determination value is calculated for each virtual cylinder. Assign a new actual cylinder number,
The virtual cylinders are rearranged according to the new actual cylinder numbers and reflected in the virtual cylinder management table.

これらの動作a3〜g3に基づき、第2表から出発して逐
次第4表〜第21表に示される仮想シリンダ管理表が作ら
れる。
Based on these operations a3 to g3, virtual cylinder management tables shown in Tables 4 to 21 are created sequentially starting from Table 2.

第4表では、新たなファイルHが割当てられて仮想シ
リンダ番号11,15,17を占めた状態を示す。
Table 4 shows a state where a new file H is allocated and occupies virtual cylinder numbers 11, 15, and 17.

第5表では、ファイルCの2次拡張域が仮想シリンダ
番号18を占めた状態を示す。
Table 5 shows a state where the secondary extension area of the file C occupies the virtual cylinder number 18.

第4表、第5表の段階では新しい仮想シリンダに対し
てまだ実シリンダは割当てられていない。
At the stages in Tables 4 and 5, no real cylinders have yet been assigned to the new virtual cylinder.

第6表では、ファイルFが消去されて仮想シリンダ番
号12,13と、実シリンダ番号10、11が解放された状態を
示す。
Table 6 shows a state in which the virtual cylinder numbers 12 and 13 and the real cylinder numbers 10 and 11 are released after the file F is erased.

第7表では、ファイルGの第1番目のシリンダの情報
が消去されて、実シリンダ番号4が解放された状態を示
す。
Table 7 shows a state where the information of the first cylinder of the file G has been deleted and the real cylinder number 4 has been released.

第8表では、仮想シリンダ番号9に共存していたファ
イムDが消去されて、ファイルEのみが残された状態を
示す。
Table 8 shows a state in which the file D coexisting in the virtual cylinder number 9 has been deleted and only the file E has been left.

第9表では、実シリンダのまだ割当てられていないフ
ァイルHの第1シリンダに情報が記録されたので、多頻
度度のうちで管理域に最も近い空きの実シリンダ番号4
が割当てられた状態を示す。
In Table 9, since the information is recorded in the first cylinder of the file H to which the real cylinder has not been allocated yet, among the frequent frequencies, the free real cylinder number 4 closest to the management area is recorded.
Indicates a state in which is assigned.

第10表では、実シリンダがすでに割当てられているフ
ァイルAの第2シリンダである仮想シリンダ番号4に情
報が記録された模様を示す。
Table 10 shows a pattern in which information is recorded in virtual cylinder number 4 which is the second cylinder of file A to which a real cylinder has already been assigned.

書き込みがあった場合は、今回鮮度率が最大の5にセ
ットされる。今回参照回数も、その都度1カウントアッ
プされる。
If there is writing, the freshness rate is set to 5, which is the maximum this time. The reference count this time is also incremented by one each time.

第11表では、ファイルGの第2シリンダである仮想シ
リンダ番号18が読み取られて今回参照回数が1カウント
アップをする模様を示す。
Table 11 shows a pattern in which the virtual cylinder number 18, which is the second cylinder of the file G, is read and the number of times of reference this time is incremented by one.

第12表では、多頻度域の使用実シリンダと少頻度域の
使用実シリンダの割合がアンバランスになったので、管
理域の実シリンダ番号が7から5に移動した模様を示
す。なお、実シリンダ番号5には先に仮想シリダ番号8
が占めていたので、同時に仮想シリンダ番号8をバッフ
ァ域の実シリンダ番号8に移動している。
Table 12 shows that the actual cylinder number in the management area has moved from 7 to 5 because the ratio of the actual cylinders used in the high frequency area to the actual cylinders used in the low frequency area has become unbalanced. Note that the virtual cylinder number 8 is added first to the real cylinder number 5.
At the same time, the virtual cylinder number 8 is moved to the real cylinder number 8 in the buffer area.

第13表では、仮想シリンダ番号9を実シリンダ番号7
に移して、新しいバッファ域を実シリンダ番号6に確保
する。
In Table 13, virtual cylinder number 9 is changed to real cylinder number 7
To secure a new buffer area at the actual cylinder number 6.

第14表では、管理域が移動したのに伴い仮想シリンダ
の並べ替えが必要になったので、優先順位判定値が参照
回数と鮮度率により計算されて、新しい実シリンダ番号
が決定されている。
In Table 14, since the virtual cylinders need to be rearranged as the management area is moved, the priority order determination value is calculated based on the number of times of reference and the freshness rate, and a new real cylinder number is determined.

新実シリンダが多頻度域から少頻度域に移動する仮想
シリンダ番号11,16に対しては、少頻度域のうちで管理
域に近い空き実シリンダ番号を優先順位判定値に従って
順に割当てる。具体的には、実シリンダ番号6がバッフ
ァ域なので、仮想シリンダ番号16には実シリンダ番号7
を、仮想シリンダ番号11には実シリンダ番号8を割当て
る。
For the virtual cylinder numbers 11 and 16 in which the new real cylinders move from the high frequency area to the low frequency area, empty real cylinder numbers closer to the management area in the low frequency area are sequentially assigned in accordance with the priority determination value. Specifically, since the real cylinder number 6 is the buffer area, the virtual cylinder number 16 is the real cylinder number 7
And the real cylinder number 8 is assigned to the virtual cylinder number 11.

新実シリンダが依然として少頻度域にとどまる仮想シ
リンダに対しては、現在と同一の新実シリンダ番号を割
当てる。したがって、仮想シリンダ番号6には実シリン
ダ番号13を、仮想シリンダ番号10には実シリンダ番号9
をそのまま割当てる。
The same new real cylinder number as the current one is assigned to the virtual cylinder whose new real cylinder still remains in the low frequency range. Therefore, the actual cylinder number 13 is assigned to the virtual cylinder number 6, and the actual cylinder number 9 is assigned to the virtual cylinder number 10.
Is assigned as it is.

第15表では、仮想シリンダ並べ替えの第1段階とし
て、現在実シリンダ番号が多頻度域の中で管理域に最も
近い4を占めている仮想シリンダ11をバッファ域の実シ
リンダ番号6に移動している。
In Table 15, as the first stage of the virtual cylinder rearrangement, the virtual cylinder 11 in which the actual cylinder number currently occupies 4 closest to the management area in the frequent area is moved to the actual cylinder number 6 in the buffer area. ing.

第16表では、仮想シリンダ番号4を空いた実シリンダ
番号4に移動している。
In Table 16, the virtual cylinder number 4 has been moved to an empty real cylinder number 4.

第17表では、以下順次仮想シリンダ番号8を実シリン
ダ番号3に、仮想シリンダ番号11を実シリンダ番号8に
移動して、再度仮想シリンダ番号2がバッファ域として
実シリンダ番号6に確保されている。
In Table 17, the virtual cylinder number 8 is moved to the real cylinder number 3 and the virtual cylinder number 11 is moved to the real cylinder number 8 in order, and the virtual cylinder number 2 is secured again at the real cylinder number 6 as a buffer area. .

第18表では、仮想シリンダ番号16をバッファ域の実シ
リンダ番号6に移動している。
In Table 18, the virtual cylinder number 16 has been moved to the actual cylinder number 6 in the buffer area.

第19表では、仮想シリンダ番号9を空いた実シリンダ
番号2に移動して、再度仮想シリンダ番号2がバッファ
域として実シリンダ番号6に確保されている。
In Table 19, the virtual cylinder number 9 is moved to the empty real cylinder number 2, and the virtual cylinder number 2 is secured in the real cylinder number 6 as a buffer area again.

第20表では、実シリンダの移動が必要ない仮想シリン
ダ番号3,6,10の新実シリンダ番号1,13,9をリセツトす
る。
In Table 20, the new actual cylinder numbers 1, 13, and 9 of the virtual cylinder numbers 3, 6, and 10 that do not need to be moved are reset.

この段階で仮想シリンダの並べ替えが完了したことに
なる。
At this stage, the rearrangement of the virtual cylinders is completed.

第21表では、前回参照回数が前々回参照回数に、前回
鮮度率を前々回鮮度率に、今回参照回数を前回参照回数
に、今回鮮度率を前回鮮度率に移動し、今回参照回数を
リセットし、今回鮮度率を前回鮮度率から1減じた値と
する。ただし、今回鮮度率の値がすでに1ならば減算し
ない。
In Table 21, the previous reference count is moved to the previous reference count, the previous freshness rate is set to the previous reference rate, the current reference count is set to the previous reference count, the current freshness rate is shifted to the previous freshness rate, and the current reference count is reset. This time, the freshness rate is set to a value obtained by subtracting 1 from the previous freshness rate. However, if the value of the freshness rate this time is already 1, it is not subtracted.

以上で、仮想シリンダ管理表は新しい状態にされたこ
とになる。この結果、少頻度域の仮想シリンダ番号6を
除き、アクセス頻度の多いシリンダはすべて管理域の近
くに配置されるようになった。
Thus, the virtual cylinder management table is in a new state. As a result, except for the virtual cylinder number 6 in the low frequency area, all the cylinders with a high access frequency are all arranged near the management area.

第22表にこのときの実シリンダ配置図を示す。 Table 22 shows the actual cylinder layout at this time.

参照回数がかたよっているので、ヘッドシークはほと
んど実シリンダ番号1から9の間を往復することが期待
される。
Since the number of times of reference varies, it is expected that the head seek almost reciprocates between the actual cylinder numbers 1 to 9.

要約すると第1図において、動作中、ヘッドHはまず
管理域9を読み込んで仮想シリンダ管理表バッファ部15
にストアし、この内容に基づき、仮想シリンダ番号と実
シリンダ番号のアドレス変換を行ってディスク2のスト
ア領域単位であるシリンダの読み出しを行い、その読み
出し回数が持に多いものだけを管理域9に近い多頻度域
8のシリンダに移動して頻度順にシリンダのストア内容
を並べ替える。
In summary, in FIG. 1, during operation, the head H first reads the management area 9 and reads the virtual cylinder management table buffer 15
Based on the contents, the virtual cylinder number and the actual cylinder number are subjected to an address conversion, and the cylinder, which is a storage area unit of the disk 2, is read. The stored contents of the cylinders are rearranged in the order of frequency by moving to the cylinder in the close multi-frequency area 8.

新たに書き込みを行うべきシリンダを必要とするとき
には、多頻度域8、少頻度域10の順に管理域9に近い空
き実シリンダ番号を割当てる。
When a new cylinder to be written is required, a free real cylinder number closer to the management area 9 is assigned in the order of the high frequency area 8 and the low frequency area 10.

多頻度域と少頻度域との使用済実シリンダの比率が一
定の値から大きく変動した場合は、バランスがとれるよ
うに管理域を移動する。
When the ratio of the used actual cylinders in the high frequency range and the low frequency range greatly fluctuates from a fixed value, the management range is moved so as to achieve a balance.

こうしてヘッドHは、管理域9よりも半径方向内方側
にあるシリンダの数と半径方向外方側にあるシリンダの
利用頻度が均衡して、かつ管理域9に近いシリンダが頻
繁に使用されることになるので、ヘッド移動量を減少す
ることが可能になり、処理速度の向上を図ることができ
る。
Thus, in the head H, the number of cylinders located radially inward of the management area 9 and the usage frequency of the cylinders located radially outward are balanced, and cylinders close to the management area 9 are frequently used. Therefore, the amount of head movement can be reduced, and the processing speed can be improved.

第6図は本発明の他の実施例のディスク装置1の簡略
化した平面図であり、第7図はこのディスク装置1に接
続される電気的構成を示すブロック図である。これらの
図面を参照して、書き替け可能な記録媒体であるディス
ク2は、回転軸3のまわりに矢符4のように回転駆動さ
れる。
FIG. 6 is a simplified plan view of a disk device 1 according to another embodiment of the present invention, and FIG. 7 is a block diagram showing an electrical configuration connected to the disk device 1. Referring to these drawings, a disk 2 as a rewritable recording medium is driven to rotate around a rotation axis 3 as indicated by an arrow 4.

ディスク2に書き込みおよび読み出しを行うためのヘ
ッドHはヘッドアーム5に固定されており、このアーム
5は駆動手段6によってヘッドHをディスク2を横切っ
て移動させる。ヘッドHは、第6図のようにディスク2
の半径方向に変位するように構成されていてもよく、あ
るいはまたそのディスク2の半径方向に対して角度を有
して直線状にまたは湾曲した経路を辿って移動するよう
に構成されていてもよい。
A head H for writing and reading data to and from the disk 2 is fixed to a head arm 5. The arm 5 moves the head H across the disk 2 by driving means 6. The head H is mounted on the disk 2 as shown in FIG.
May be configured to be displaced in the radial direction of the disk 2, or may be configured to move linearly or along a curved path at an angle with respect to the radial direction of the disk 2. Good.

このディスク2には、半径方向内方から半径方向外方
にわたって同心状にストア領域単位が形成され、そのス
トア領域単位の1または複数毎のストア領域は、管理域
9と基本域21と複写域20とを含む。
In the disk 2, store area units are formed concentrically from the inside in the radial direction to the outside in the radial direction, and one or more store areas of the store area units are a management area 9, a basic area 21, and a copy area. Including 20.

この実施例では、ストア領域単位をシリンダと称し、
シリンダの確保要求を仮想シリンダの割当て、実際のデ
ィスクのシリンダ割当てを実シリンダの割当てとする。
それに伴い中央処理装置側のディスク制御装置11から見
たシリンダを仮想シリンダとし、この仮想シリンダの番
号を仮想シリンダ番号と言い、ディスク内のシリンダを
実シリンダとし、この実シリンダの番号を実シリンダ番
号と言う。
In this embodiment, the store area unit is called a cylinder,
The cylinder allocation request is defined as virtual cylinder allocation, and the actual disk cylinder allocation is defined as real cylinder allocation.
Accordingly, the cylinder viewed from the disk control device 11 on the central processing unit side is a virtual cylinder, the number of this virtual cylinder is called a virtual cylinder number, the cylinder in the disk is an actual cylinder, and the actual cylinder number is the actual cylinder number. Say

複写20は、第6図に明らかなように実シリンダ番号1
〜5を有するストア領域単位であるシリンダを含み、管
理域9は実シリンダ番号6を有し、基本域10は実シリン
ダ番号7〜nのストア領域単位であるシリンダを有す
る。
The copy 20 is the actual cylinder number 1 as clearly shown in FIG.
The management area 9 has the actual cylinder number 6 and the basic area 10 has the cylinders which are the actual cylinder numbers 7 to n which are the store area units.

これらの実シリンダ番号1〜nを有する各シリンダ
は、周方向に延び、半径方向に配置されており、各シリ
ンダは同心状に形成されているけれども、他の実施例と
してこれらのシリンダは渦巻き状に形成されていてもよ
い。
Although the cylinders having the actual cylinder numbers 1 to n extend in the circumferential direction and are arranged in the radial direction, the cylinders are formed concentrically. However, in another embodiment, the cylinders have a spiral shape. May be formed.

実シリンダ番号の割当ては、ストア領域単位の物理的
な位置を区別するためのものであるから、半径方向内方
からの順でも半径方向外方からの順でもどのように付番
されていてもよい。複写域のシリンダ数は、全体のシリ
ンダ数のたとえば約4分の一程度であってもよい。
The assignment of the actual cylinder number is for discriminating the physical position of the store area unit, so that the actual cylinder number is assigned in any order from the inside in the radial direction or the outside from the radial direction. Good. The number of cylinders in the copy area may be, for example, about one quarter of the total number of cylinders.

このような第6図に示されたディスク装置1に関連し
て、第7図に示されるディスク制御装置11と処理回路12
と、ディスク制御装置11に接続される中央処理装置の主
記憶装置13とが設けられる。この第7図において、実線
は指令の流れを示し、破線は情報の流れを示す。
In relation to the disk device 1 shown in FIG. 6, the disk control device 11 and the processing circuit 12 shown in FIG.
And a main storage device 13 of the central processing unit connected to the disk control device 11. In FIG. 7, the solid line shows the flow of commands, and the broken line shows the flow of information.

ディスク制御装置11は、ディスク2に記録再生させる
情報を中央処理装置の主記憶装置13との間で交換する働
きをし、このディスク制御装置11には、ディスク装置1
のディスク2にディスク制御装置11からの情報を記録再
生させる仮想シリンダ/実シリンダ変換手段14が接続さ
れる。
The disk control device 11 has a function of exchanging information to be recorded and reproduced on the disk 2 with a main storage device 13 of the central processing unit.
A virtual cylinder / real cylinder conversion means 14 for recording and reproducing information from the disk control device 11 on the disk 2 is connected.

仮想シリンダ管理表バッファ部15は、仮想シリンダ/
実シリンダ変換手段14が使用する、第23表に示す仮想シ
リンダ毎に仮想シリンダ番号、ファイル名、ファイル内
相対シリンダ番号、属性、前々回参照回数、前々回鮮度
率、前回参照回数、前回鮮度率、今回参照回数、今回鮮
度率、優先順位判定値、現在基本実シリンダ番号、現在
複写実シリンダ番号、新基本実シリンダ番号、新複写実
シリンダ番号を持つ仮想シリンダ管理表を記憶する。
The virtual cylinder management table buffer unit 15 stores the virtual cylinder /
The virtual cylinder number, file name, relative cylinder number in the file, attribute, number of previous reference times, previous freshness rate, previous reference count, previous freshness rate, and current A virtual cylinder management table having a reference count, a freshness rate this time, a priority determination value, a current basic actual cylinder number, a current duplicate actual cylinder number, a new basic actual cylinder number, and a new duplicate actual cylinder number is stored.

さらにこの処理回路12では、 仮想シリンダ/実シリンダ変換手段14の指示によりデ
ィスク装置1のディスク2の管理域9から仮想シリンダ
管理表を読み取り、仮想シリンダ管理表バッファ部15に
記憶させる管理域内容読み取り手段16と、 仮想シリンダ/実シリンダ変換手段14の指示により仮
想シリンダ管理表バッファ部15から仮想シリンダ管理表
を読み取り、ディスク装置1のディスク2の管理域9に
記録する管理域内容更新手段17と、 仮想シリンダ/実シリンダ変換手段14の指示によりデ
ィスク装置1のディスク2の仮想シリンダを複写域に複
写する仮想シリンダ複写手段22と、 この仮想シリンダ複写手段22に接続されるシリンダ複
写作業用バッファ部23とを具備する。
Further, the processing circuit 12 reads the virtual cylinder management table from the management area 9 of the disk 2 of the disk device 1 according to the instruction of the virtual cylinder / real cylinder conversion means 14, and reads the management area contents to be stored in the virtual cylinder management table buffer unit 15. A means 16 for reading a virtual cylinder management table from the virtual cylinder management table buffer unit 15 according to an instruction of the virtual cylinder / real cylinder conversion means 14 and recording the virtual cylinder management table in the management area 9 of the disk 2 of the disk device 1; A virtual cylinder copying unit 22 for copying a virtual cylinder of the disk 2 of the disk device 1 to a copy area in accordance with an instruction from the virtual cylinder / real cylinder conversion unit 14; and a cylinder copying work buffer unit connected to the virtual cylinder copying unit 22 23.

この複写作業と言うのは、仮想シリンダ/実シリンダ
変換手段14が仮想シリンダ管理表バッファ部15の優先順
位判定値の値により複写が有利であると判定した基本域
21に属す一つのシリンダの情報を、仮想シリンダ複写手
段22が読み取り一旦シリンダ複写作業用バッファ部23に
ストアし、優先順位判定値により決定された新複写実シ
リンダ番号の実シリンダにヘッドHを移動してから、シ
リンダ複写作業用バッファ部23にストアされた情報を複
写域20に複写記録し、その前に該当実シリンダ番号に記
録されていた仮想シリンダの現在実シリンダ番号を仮想
シリンダ管理表バッファ部から削除することである。
This copying operation means that the virtual cylinder / real cylinder converting means 14 determines that copying is advantageous based on the priority order determination value of the virtual cylinder management table buffer unit 15.
The information of one cylinder belonging to 21 is read by the virtual cylinder copying unit 22 and temporarily stored in the cylinder copying work buffer unit 23, and the head H is moved to the actual cylinder of the new actual cylinder number determined by the priority order determination value. After that, the information stored in the cylinder copy work buffer unit 23 is copied and recorded in the copy area 20, and the current real cylinder number of the virtual cylinder previously recorded in the corresponding real cylinder number is stored in the virtual cylinder management table buffer. Is to remove it from the department.

第8図はディスク制御装置11と処理回路12の動作を説
明するための主処理手順を示すフローチャートであり、
第9図は仮想シリンダの複写手順を示すフローチャート
である。
FIG. 8 is a flowchart showing a main processing procedure for explaining operations of the disk control device 11 and the processing circuit 12,
FIG. 9 is a flowchart showing a procedure for copying a virtual cylinder.

第8図のステップn1からステップn2に移り、第7図に
示される仮想シリンダ管理表バッファ部15に管理域9の
内容を読み出して複写記録する。
The process moves from step n1 to step n2 in FIG. 8, and the contents of the management area 9 are read out and copied to the virtual cylinder management table buffer unit 15 shown in FIG.

ステップn3では、ディスク制御装置11から情報がある
かどうかが判断され、その情報があればステップn4に移
り、仮想シリンダ管理表の仮想シリンダ番号の登録、更
新、消去を行う。
In step n3, it is determined whether or not there is information from the disk controller 11. If there is such information, the process proceeds to step n4, where registration, update, and deletion of the virtual cylinder number in the virtual cylinder management table are performed.

ステップn5では、ディスク装置1への書き込み/読み
取りの指令があるかどうかが判断され、そうであれば、
ステップn6に移り、実シリンダによるディスク装置1へ
の情報書き込み/読み取りの処理が行われる。新規書き
込み時の実シリンダ番号の割当ては、基本的の内で管理
域に近い方から優先的に割当てて、書き込む。複写域が
空いておれば複写域にも管理域の近い方から優先的に割
当てて、書き込む。
In step n5, it is determined whether there is a write / read command to the disk device 1, and if so,
In step n6, the process of writing / reading information to / from the disk device 1 by the actual cylinder is performed. The actual cylinder number at the time of new writing is preferentially assigned and written from the one closer to the management area among the basic ones. If the copy area is free, it is preferentially assigned to the copy area from the one closer to the management area and written.

ステップn7では、ディスク制御装置11にディスク装置
1のヘッドHからの読出した情報を返す。
At step n7, information read from the head H of the disk device 1 is returned to the disk control device 11.

ステップn8では、仮想シリンダ管理表の変更があるか
どうかが判断され、変更があれば、管理域9の内容が更
新される。
In step n8, it is determined whether or not there is a change in the virtual cylinder management table. If there is a change, the contents of the management area 9 are updated.

ステップn10ではディスク制御装置11およびディスク
装置1の稼動率が設定値以下かどうかが判断され、設定
値以下であればステップn12に移り、仮想シリンダのい
ずれかの今回参照回数が設定値を超えたかどうかが判断
される。
In step n10, it is determined whether the operation rates of the disk control device 11 and the disk device 1 are equal to or less than the set value. If the operation ratio is equal to or less than the set value, the process proceeds to step n12 to determine whether the number of times of reference of any of the virtual cylinders exceeds the set value. It is determined whether or not.

ステップn12において仮想シリンダのいずれかの今回
参照回数が設定値を超えたかどうかが判断されると、ス
テップn14では仮想シリンダの複写が行われ、ステップn
15では管理域の内容が更新される。
If it is determined in step n12 whether the number of times of reference of any of the virtual cylinders this time has exceeded the set value, in step n14, the virtual cylinder is copied, and in step n14,
At 15, the contents of the management area are updated.

第24表は、仮想シリンダ管理表を示す。第24表の仮想
シリンダ管理表は、シリンダの数が20シリンダのディス
クに、本発明の方法によりファイルを記録した状況の例
である。
Table 24 shows a virtual cylinder management table. The virtual cylinder management table in Table 24 is an example of a situation where a file is recorded on a disk having 20 cylinders by the method of the present invention.

仮想シリンダ番号1には、仮想シリンダ管理表が保存
される管理域がある。
The virtual cylinder number 1 has a management area where a virtual cylinder management table is stored.

仮想シリンダ番号2以上には7つのファイルが保存さ
れている。
Seven files are stored in virtual cylinder numbers 2 and higher.

ファイルAは、仮想シリンダ番号3,4,5を占めてお
り、前の2シリンダ分は実シリンダが割当てられている
が、第3シリンダ目は情報が記録されていないので実シ
リンダは割当てられていない。
File A occupies virtual cylinder numbers 3, 4, and 5, and real cylinders are allocated to the previous two cylinders, but real cylinders are allocated to the third cylinder because no information is recorded. Absent.

ファイルBは索引付きファイルであり、仮想シリンダ
番号6には索引キーが記録されておりそのデータ部分は
仮想シリンダ番号10に記録されている。仮想シリンダ番
号7はデータが消去されていて対応する実シリンダは解
放されている。
The file B is an indexed file. An index key is recorded in the virtual cylinder number 6, and its data portion is recorded in the virtual cylinder number 10. The virtual cylinder number 7 has data deleted and the corresponding real cylinder has been released.

ファイルCは仮想シリンダ番号8に記録されている。 File C is recorded in virtual cylinder number 8.

ファイルD,Eは、小さいので仮想シリンダ番号9に共
存して記録されている。
Since the files D and E are small, they are recorded together with the virtual cylinder number 9.

ファイルFは仮想シリンダ番号12,13に記録されてい
る。
File F is recorded in virtual cylinder numbers 12 and 13.

ファイルGは1次割当てでは仮想シリンダ番号14が割
当てられ、2次割当てでは仮想シリンダ番号16が割当て
られている。
The file G is assigned a virtual cylinder number 14 in the primary assignment, and a virtual cylinder number 16 in the secondary assignment.

仮想シリンダ番号2,11,15は、ファイルの消去により
空いている。
The virtual cylinder numbers 2, 11, and 15 are free by erasing the file.

実シリンダ番号18〜20は未だ1度もファイルが割当て
られていない空き実シリンダである。
The real cylinder numbers 18 to 20 are free real cylinders to which no file has been assigned yet.

ここでは実シリンダ番号1〜6が多頻度域で、実シリ
ンダ番号8〜20が基本域の属性を持っている。
Here, the actual cylinder numbers 1 to 6 have the attribute of the high frequency range, and the actual cylinder numbers 8 to 20 have the attribute of the basic range.

仮想シリンダ番号というのは、上述のようにディスク
制御装置11が利用するディスク2に対する論理的なシリ
ンダのアドレスである。
The virtual cylinder number is a logical cylinder address for the disk 2 used by the disk control device 11 as described above.

実シリンダ番号というのは、ディスク2のシリンダの
実際のアドレスを示す。
The actual cylinder number indicates the actual address of the cylinder of the disk 2.

今回鮮度率をM1とし、今回参照回数をN1とし、前回鮮
度率をM2とし、前回参照回数をN2とし、前々回鮮度率を
M3とし、前々回参照回数をN3とするとき、優先順位判定
値Sは第2式で示される演算結果となる。
The freshness rate this time is M1, the number of times of reference this time is N1, the freshness rate of the previous time is M2, the number of times of previous reference is N2, and the freshness rate before the previous time is
When M3 is set and the number of times of reference is set to N3 two times before, the priority determination value S is a calculation result represented by the second equation.

iは、今回、前回、前々回を示す。 i indicates this time, the last time, and the time before the previous time.

なお、その他の実施例としてiの範囲は4以上でもよ
い。
In another embodiment, the range of i may be 4 or more.

ここで、今回鮮度率が大きい場合は、そのシリンダに
対して最近に情報の更新があったことを示す。
Here, when the freshness rate is large this time, it indicates that the information has been updated recently for the cylinder.

たとえば今回鮮度率が「1」であるのは、過去4回の
仮想シリンダ並べ替え以前に情報が書き込まれたことを
意味し、 今回鮮度率が「5」であるのは、最後の、すなわち最
近の仮想シリンダ複写処理以後に情報が書き込まれたこ
とを意味する。
For example, a freshness rate of “1” this time means that information was written before the previous four virtual cylinder rearrangements, and a freshness rate of “5” this time means the last, that is, Means that the information has been written after the virtual cylinder copying process.

仮想シリンダの複写処理のたびに今回鮮度率と今回参
照回数とは、前回鮮度率および前回参照回数の欄に移動
し、また前回鮮度率と前回参照回数とは前々回鮮度率と
前々回参照回数の欄にそれぞれ移動する。
Each time the virtual cylinder is copied, the current freshness ratio and the current reference count are moved to the previous freshness ratio and the previous reference count column, and the previous freshness ratio and the previous reference count are respectively set for the previous freshness ratio and the last reference count column. Go to each.

その時、今回鮮度率は「1」減じた値にする。ただ
し、最小値は「1」とする。同時に今回参照回数は
「0」にする。
At this time, the freshness rate is set to a value reduced by “1”. However, the minimum value is “1”. At the same time, the number of times of reference this time is set to “0”.

第25表は、第24表の様子を実シリンダ配列で表示した
ものである。管理域の実シリンタ番号よりも番号の小さ
い実シリンダは複写域で、反対に管理域の実シリンダ番
号よりも番号が大きい実シリンダは基本域である。
Table 25 shows the appearance of Table 24 in an actual cylinder arrangement. An actual cylinder having a smaller number than the actual cylinder number in the management area is a copy area, and an actual cylinder having a number larger than the actual cylinder number in the management area is a basic area.

ここでは多頻度域のうちで管理域に近い実シリンダが
利用頻度が大きいと判定されている。
Here, it is determined that the actual cylinder that is closer to the management area in the frequent area has the higher use frequency.

基本域に書き込まれた情報は、消去されるまで同一実
シリンダ番号にとどまる。
Information written in the basic area remains at the same actual cylinder number until it is erased.

複写域にあった情報が、利用頻度が少なくなって複写
域からあふれた場合は、情報は基本域の中で実シリンダ
だけに記録される。
If the information in the copy area overflows from the copy area due to less use, the information is recorded only in the actual cylinder in the basic area.

複写域に収められる情報は、利用頻度の変化に応じて
動的に頻度順にシリンダ単位に並べ替え再配置される。
The information contained in the copy area is dynamically rearranged and rearranged in the order of frequency in units of cylinders according to a change in the use frequency.

第24表、第25表の状態から、順に情報の記録再生が行
われる模様を仮想シリンダ管理表をもとに説明する。
Patterns in which information is recorded and reproduced in order from the states in Tables 24 and 25 will be described based on the virtual cylinder management table.

第8図に示されたステップn14における仮想シリンダ
複写手順は、第9図に示されている。
The virtual cylinder copying procedure in step n14 shown in FIG. 8 is shown in FIG.

ステップs1からステップs2に移り、仮想シリンダ単位
に優先順位判定値の計算を前述の第2式で示されるよう
に行う。
The process proceeds from step s1 to step s2, where the calculation of the priority order determination value is performed for each virtual cylinder as shown by the above-described second formula.

ステップs3では仮想シリンダに、複写実シリンダ番号
の割当てを行う。割当ては、優先順位判定値の大きいも
のから順に複写域の管理域を近い実シリンダ番号を対応
づけて行う。複写域の割当てが完了すると、残りは複写
域に余裕がないので基本域のみに情報が記録されている
ことになる。
In step s3, a real copy cylinder number is assigned to the virtual cylinder. The assignment is performed by associating real cylinder numbers closer to the management area of the copy area in ascending order of the priority determination value. When the allocation of the copy area is completed, the rest has no room in the copy area, so that the information is recorded only in the basic area.

基本域に存在する仮想シリンダに対しては、現在の基
本実シリンダ番号と同じ新基本実シリンダ番号を当え
る。
The same new basic real cylinder number as the current basic real cylinder number is assigned to the virtual cylinder existing in the basic area.

ステップs4では、仮想シリンダを優先順位判定値の大
きいものから順に基本域から複写域へ逐次複写する。
In step s4, the virtual cylinders are sequentially copied from the basic area to the copy area in descending order of the priority order determination value.

ステップs5では、仮想シリンダ管理表の更新を次の順
序a2〜f2で行う。
In step s5, the virtual cylinder management table is updated in the following order a2 to f2.

a2.前回参照回数→前々回参照回数 b2.前回鮮度率→前々回鮮度率 c2.今回参照回数→前回参照回数 d2.今回鮮度率→前回鮮度率 e2.今回参照回数0にリセット f2.今回鮮度率を1減少 (ただし、最小値は1とする) したがって、第8図、第9図に基づき、次の動作a4〜
f4が行われる。
a2.Number of previous reference times → number of previous reference times b2.Previous freshness rate → previous time freshness rate c2.Number of current reference times → previous reference number of times d2.Current freshness rate → previous freshness rate e2. Decrease by 1 (However, the minimum value is 1.) Therefore, based on FIGS. 8 and 9, the following operations a4 to a4 are performed.
f4 is performed.

a4.ディスク制御装置11からのファイル割当て要求時
に、仮想シリンダ管理表に仮想シリンダを登録する。
a4. At the time of a file allocation request from the disk controller 11, the virtual cylinder is registered in the virtual cylinder management table.

b4.ディスク制御装置11からの情報書き込み要求時に、
仮想シリンダ管理表をもとに仮想シリンダに対して実シ
リンダを割当ててディスク装置1の当該実シリンダに情
報を記録し、仮想シリンダ管理表の対応する仮想シリン
ダ番号の今回参照回数を1カウトアップし、今回鮮度率
を最大値に設定する。
b4. At the time of an information write request from the disk controller 11,
A real cylinder is allocated to a virtual cylinder based on the virtual cylinder management table, information is recorded in the real cylinder of the disk device 1, and the number of times of reference of the corresponding virtual cylinder number in the virtual cylinder management table is counted up by one, This time, the freshness rate is set to the maximum value.

実シリンダの割当ては、基本域の内で管理域に近い方
から優先的に空きシリンダを割当てる。複写域が空いて
おれば複写域にも、管理域に近い方から優先的に空きシ
リンダを割当てる。
When allocating real cylinders, free cylinders are preferentially allocated from the base area closer to the management area. If the copy area is vacant, an empty cylinder is preferentially allocated to the copy area from the one closer to the management area.

したがって情報更新時には、基本域の実シリンダだけ
でなく、複写域の実シリンダに対しても更新処理をす
る。
Therefore, at the time of updating information, the updating process is performed not only on the actual cylinders in the basic area but also on the actual cylinders in the copy area.

c4.ディスク制御装置11からの情報読み取り要求時に、
仮想シリンダに対応する実シリンダを決定して、ディス
ク装置1から当該実シリンダの記録情報を再生してディ
スク制御装置11に返し、仮想シリンダ管理表の対応する
仮想シリンダ番号の今回参照回数を1カウントアップす
る。
c4. At the time of the information reading request from the disk controller 11,
The actual cylinder corresponding to the virtual cylinder is determined, the recorded information of the actual cylinder is reproduced from the disk device 1 and returned to the disk controller 11, and the number of times this virtual cylinder number in the virtual cylinder management table is referred to by one is counted. Up.

実シリンダが複写域にもある場合の対応する実シリン
ダの決定は、現在のヘッド位置に近い方の実シリンダを
与えることにする。
The determination of the corresponding real cylinder when the real cylinder is also in the copy area will give the real cylinder closer to the current head position.

d4.ディスク制御装置11からの情報消去要求時に、ファ
イル全体が消去される場合は仮想シリンダ管理表からそ
のファイルが使用していたすべての仮想シリンダの登録
を抹消し、ファイルエリアの一部のシリンダが消去され
る場合は仮想シリンダ管理表の対応する仮想シリンダに
割当てられている実シリンダを解放する。
d4. If the entire file is erased at the time of the information erasure request from the disk controller 11, the registration of all the virtual cylinders used by the file is deleted from the virtual cylinder management table, and some of the cylinders in the file area are deleted. Is deleted, the real cylinder allocated to the corresponding virtual cylinder in the virtual cylinder management table is released.

実シリンダの解放は、基本域、複写域両方に対して行
う。
The real cylinder is released for both the basic area and the copy area.

e4.仮想シリンダ管理表の今回参照回数の値以外が変更
されたときに、仮想シリンダ管理表の新しい内容をディ
スクの管理域に書込む。
e4. When a value other than the value of the current reference count in the virtual cylinder management table is changed, the new contents of the virtual cylinder management table are written to the disk management area.

f4.仮想シリンダ管理表に登録されたいずれかの仮想シ
リンダの今回参照回数が設定値を越えた時に、仮想シリ
ンダ毎に、優先順位判定値を計算して新実シリンダ番号
の割当てを行い、仮想シリンダを新実シリンダ番号に従
って並べ替えて複写し仮想シリンダ管理表に反映する。
f4. When the number of times of reference of any of the virtual cylinders registered in the virtual cylinder management table exceeds the set value, a priority determination value is calculated for each virtual cylinder, a new real cylinder number is assigned, and the virtual cylinder is assigned. The cylinders are rearranged according to the new actual cylinder number, copied, and reflected in the virtual cylinder management table.

これらの動作a4〜f4に基づき、第24表から出発して逐
次第26表〜第39表に示される仮想シリンダ管理表が作ら
れる。
Based on these operations a4 to f4, starting from Table 24, virtual cylinder management tables shown in Tables 26 to 39 are created.

第26表では、新たなファイルHが割当てられて仮想シ
リンダ番号2,11,15を占めた状態を示す。
Table 26 shows a state in which a new file H is allocated and occupies the virtual cylinder numbers 2, 11, and 15.

第27表では、ファイルCの2次拡張域が仮想シリンダ
番号17を占めた状態を示す。
Table 27 shows a state where the secondary extension area of the file C occupies the virtual cylinder number 17.

第26表、第27表の段階では新しい仮想シリンダに対し
てまだ実シリンダは割当てられていない。
At the stages in Tables 26 and 27, no real cylinder has been assigned to the new virtual cylinder yet.

第28表では、ファイルFが消去されて仮想シリンダ番
号12,13と、実シリンダ番号10、11が解放された状態を
示す。
Table 28 shows a state in which file F is erased and virtual cylinder numbers 12 and 13 and real cylinder numbers 10 and 11 are released.

第29表では、ファイルGの第1番目のシリンダの情報
が消去されて、実シリンダ番号16と複写実シリンダ番号
4が解放された状態を示す。
Table 29 shows a state in which the information of the first cylinder of the file G is erased and the real cylinder number 16 and the copied real cylinder number 4 are released.

第30表では、仮想シリンダ番号9に共存していたファ
イムDが消去されて、ファイルEのみが残された状態を
示す。
Table 30 shows a state in which the file D coexisting in the virtual cylinder number 9 is deleted and only the file E is left.

第31表では、実シリンダのまだ割当てられていないフ
ァイルHの第1シリンダに情報が記録されたので、空き
の実シリンダ番号10と空きの複写実シリンダ番号4が割
当てられた。
In Table 31, since information was recorded in the first cylinder of the file H to which no real cylinder has been assigned yet, a free real cylinder number 10 and a free copy real cylinder number 4 were allocated.

第32表では、実シリンダがすでに割当てられているフ
ァイルAの第2シリンダである仮想シリンダ番号4に情
報が記録された模様を示す。
Table 32 shows a pattern in which information is recorded in virtual cylinder number 4 which is the second cylinder of file A to which a real cylinder has already been assigned.

書き込みがあった場合は、今回鮮度率が最大の5にセ
ットされる。今回参照回数も、その都度1カウントアッ
プされる。
If there is writing, the freshness rate is set to 5, which is the maximum this time. The reference count this time is also incremented by one each time.

第33表では、ファイルGの第2シリンダである仮想シ
リンダ番号16が読み取られて今回参照回数が1カウント
アップをする模様を示す。
Table 33 shows a pattern in which the virtual cylinder number 16, which is the second cylinder of the file G, is read, and the number of times of reference this time increases by one.

第34表では、仮想シリンダの複写処理をするために優
先順位判定値が参照回数と鮮度率により計算されて、新
しい実シリンダ番号が決定されている。
In Table 34, the priority order determination value is calculated based on the number of times of reference and the freshness ratio for performing the virtual cylinder copying process, and a new actual cylinder number is determined.

新しく複写域に収容される仮想シリンダ番号は、優先
順位判定値の大きい方から数えて、複写域に収まるもの
に限られる。
The virtual cylinder numbers newly accommodated in the copy area are limited to those that fall within the copy area, counting from the larger priority order determination value.

第35表では、仮想シリンダ複写処理は、新複写実シリ
ンダ番号が管理域に最も近い仮想シリンダ番号4から実
行している。
In Table 35, the virtual cylinder copy processing is executed from the virtual cylinder number 4 whose new copy real cylinder number is closest to the management area.

この時、現在複写実シリンダ番号が6であった仮想シ
リンダ番号9からは現在複写実シリダ番号が削除されて
いる。
At this time, the current copy actual cylinder number is deleted from the virtual cylinder number 9 whose copy actual cylinder number was 6.

第36表では、仮想シリンダ番号8の現在複写実シリン
ダ番号と新複写実シリンダ番号が同じ5なので、実際の
データの複写を伴わずに仮想シリンダ管理表は更新され
る。
In Table 36, since the current copy real cylinder number of the virtual cylinder number 8 and the new copy real cylinder number are the same 5, the virtual cylinder management table is updated without actually copying the data.

第37表では、以下順に複写域に必要な仮想シリンダが
複写される。
In Table 37, virtual cylinders required for the copy area are copied in the following order.

第38表では、複写されなかった仮想シリンダ番号の新
基本実シリンダ番号がリセットされる。
In Table 38, the new basic real cylinder number of the virtual cylinder number that has not been copied is reset.

この段階で仮想シリンダの複写操作が完了した。 At this stage, the copying operation of the virtual cylinder is completed.

第39表では、前回参照回数を前々回参照回数に、前回
鮮度率を前々回鮮度率に、今回参照回数を前回参照回数
に、今回鮮度率を前回鮮度率に移動し、今回参照回数を
リセットし、今回鮮度率を前回鮮度率から1減じた値と
する。ただし、今回鮮度率の値がすでに1ならば減算し
ない。
In Table 39, the previous reference count is moved to the previous reference count, the previous freshness rate is set to the previous freshness rate, the current reference count is set to the previous reference count, the current freshness rate is shifted to the previous freshness rate, the current reference count is reset, This time, the freshness rate is set to a value obtained by subtracting 1 from the previous freshness rate. However, if the value of the freshness rate this time is already 1, it is not subtracted.

優先順位判定値もリセットする。 The priority determination value is also reset.

以上で、仮想シリンダ管理表は新しい状態にされたこ
とになる。
Thus, the virtual cylinder management table is in a new state.

この結果、アクセス頻度の多いシリンダは2個所にか
つ一方は頻度順に管理域の近くに配置される様になっ
た。
As a result, cylinders with a high access frequency are arranged in two places and one of them is arranged near the management area in order of frequency.

第40表にこの時の実シリンダ配置図を示す。 Table 40 shows the actual cylinder layout at this time.

参照関数のかたよりとアクセス可能シリンダが2個所
にあるので、ヘッドシークが管理域の付近に集中するこ
とが期待される。
Since there are two cylinders that can be accessed from the reference function, head seeks are expected to concentrate near the management area.

要約すると、第6図において、動作中、ヘッドHはま
ず管理域9を読み込んで仮想シリンダ管理表バッファ部
15にストアし、この内容に基づき、仮想シリンダ番号と
実シリンダ番号のアドレス変換を行ってディスク2のス
トア領域単位であるシリンダの読み出しを行い、その読
み出し回数が持に多いものだけを管理域9に近い複写域
20のシリンダに複写して頻度順にシリンダのストア内容
を並べ替える。
In summary, in FIG. 6, during operation, the head H first reads the management area 9 and reads the virtual cylinder management table buffer section.
15, and based on the contents, the virtual cylinder number and the actual cylinder number are converted into an address, and the cylinder, which is a storage area unit of the disk 2, is read. Copy area close to
Copy to 20 cylinders and sort the store contents of cylinders in order of frequency.

新たに書き込みを行うべきシリンダを必要とする時に
は、まず基本域21の管理域に近い空き実シリンダ番号に
割当てる。複写域20に空きがあれば、複写域20の管理域
に近い空き実シリンダ番号も割当てる。
When a new cylinder to be written is required, it is first allocated to a free real cylinder number near the management area of the basic area 21. If there is free space in the copy area 20, a free real cylinder number near the management area of the copy area 20 is also assigned.

こうしてヘッドHは、管理域9よりも半径方向内方側
にあるシリンダの数と半径方向外方側にあるシリンダの
利用頻度が均衡して、かつ管理域9に近いシリンダが頻
繁に使用されることになるので、ヘッド移動量を減少す
ることが可能になり、処理速度の向上を図ることができ
る。
Thus, in the head H, the number of cylinders located radially inward of the management area 9 and the usage frequency of the cylinders located radially outward are balanced, and cylinders close to the management area 9 are frequently used. Therefore, the amount of head movement can be reduced, and the processing speed can be improved.

本発明の他の実施例として、ディスクがトラック形式
の場合はシリンダの代わりにトラックにより、セクター
形式の場合はシリンダの代わりにセクターにより、ブロ
ック形式の場合はシリンダの代わりにブロックにより、
上記と同様の手順を具備した情報記録再生方法におい
て、上記と同様のステップを含むことを特徴とする情報
記録再生方法とする。
In another embodiment of the present invention, the disk is a track instead of a cylinder if the disk is a track type, a sector instead of a cylinder if the disk is a sector type, or a block instead of a cylinder if the disk is a block type.
An information recording / reproducing method having the same procedure as described above includes the same steps as described above.

本発明によれば、さらに次の変形が可能である。記録
媒体は、情報処理の目的で、磁気的、電気的、光学的、
光磁気的あるいはその他の方法により、情報をディジタ
ル信号として記録再生できて、 材質によらず、記録個所の同い位置に複数回情報が記
録再生可能すなわち書き替え可能であればよい。
According to the present invention, the following modifications are possible. Recording media are magnetic, electrical, optical,
It is only necessary that information can be recorded and reproduced as a digital signal by magneto-optical or other methods, and that information can be recorded and reproduced a plurality of times at the same recording position, that is, rewritable, regardless of the material.

記録媒体は、情報が、シリンダ形式、トラック形式、
セクター形式、ブロック形式のうちいずれかの方法で、
ディスクに書き込みと読み取りができて、シリンダ形式
にあってはシリンダの配列軌道、トラック形式にあって
はトラックの配列軌道、セクター形式にあってはセクタ
ーの配列軌道、ブロック形式にあってはブロックの配列
軌道が、同心円であっても螺旋であってもよい。すなわ
ちストア領域単位の形状を問わない。
The recording medium stores information in cylinder format, track format,
In either sector or block format,
It is possible to write and read data on and from the disc, cylinder arrangement track in cylinder format, track arrangement track in track format, sector arrangement track in sector format, and block arrangement track in block format. The array trajectory may be concentric or spiral. That is, the shape of each store area does not matter.

ディスクは、ディスク装置の回転駆動機構から単体と
いて取り付け取り外しができるものであっても、単体と
して取り付け取り外しができないものであってもどちら
でもよい。
The disk may be either a unit that can be attached and detached as a single unit from the rotation drive mechanism of the disk device, or a unit that cannot be attached and detached as a unit.

ディスク装置のディスクへの記録ヘッド、再生ヘッド
または記録再生ヘッドのいずれかがヘッドアームにより
可動であれば、ヘッドの移動方向は直線形、曲線形いず
れでもよく、情報の記録再生時に、定まった2個所の端
点を結ぶ定まった線上を自由に往復移動できて、かつ、
この線上のヘッドの位置が、ディスクの回転位置と組合
せて、シリンダ形式にあってはシリンダ番号と、トラッ
ク形式にあってはトラック番号と、セクター形式にあっ
てはセクター番号と、ブロック形式にあってはブロック
番号と対応づけて決定できればよい。
If any one of the recording head, the reproducing head, and the recording / reproducing head on the disk of the disk device is movable by the head arm, the moving direction of the head may be either linear or curved. Can freely reciprocate on a fixed line connecting the end points of the places, and
The position of the head on this line is combined with the rotational position of the disk to match the cylinder number in the cylinder format, the track number in the track format, the sector number in the sector format, and the block format. In other words, it suffices if it can be determined in association with the block number.

中央処理装置側のディスク制御装置11は、専用の処理
回路(CPU)を組み込んだ専用のマイクロコンピユータ
であっても、ワードプロセッサや画像処理装置等に使用
される一般的なCPUであってもよい。
The disk control device 11 on the central processing unit side may be a dedicated microcomputer incorporating a dedicated processing circuit (CPU) or a general CPU used for a word processor, an image processing device or the like.

上述の図示の実施例では、ディスクに記録された情報
に対する読み取り頻度と追加更新頻度がシリンダ毎にか
たよっていることに着目し、書き替え可能ディスク装置
の書き替え可能特性を情報がディスクに記録されてから
も活用するように工夫して、次の構成(1),(2)を
設ける。
In the illustrated embodiment described above, the information is recorded on the disk, and the rewritable characteristics of the rewritable disk device are recorded on the disk, paying attention to the fact that the frequency of reading and the additional update frequency for the information recorded on the disk depend on each cylinder. The following configurations (1) and (2) are provided by devising to utilize it later.

(1)可動ヘッドHを持つ書き替え可能ディスク装置に
おいて、ディスク2に記録された情報の内で特に使用頻
度の大きいものを、頻度順に動的にシリンダ単位に並べ
替えて配列し、ヘッドHがシークする時の平均移動距離
を短縮することによって、少ない並べ替え処理負荷でデ
ィスク2に記録された情報の読み取りならびに更新速度
を向上させる。
(1) In a rewritable disk device having a movable head H, among the information recorded on the disk 2, information having a particularly high frequency of use is dynamically rearranged and arranged in cylinder units in order of frequency. By shortening the average moving distance at the time of seeking, the speed of reading and updating the information recorded on the disk 2 with a small rearrangement processing load is improved.

(2)可動ヘッドHを持つ書き替え可能ディスク装置に
おいて、ディスク2に記録された情報の内で特に使用頻
度の大きいものを、頻度順に動的にシリンダ単位に同一
ディスクの別の領域に並べ替えて複写し、ヘッドHがシ
ークする時の移動距離を短縮することによって、少ない
並べ替え複写処理負荷でディスク2に記録された情報の
読み取りならびに更新速度を向上させる。
(2) In a rewritable disk device having a movable head H, information recorded on the disk 2 that has a particularly high frequency of use is dynamically rearranged in order of frequency in a cylinder unit to another area of the same disk. In this case, the reading distance and the updating speed of the information recorded on the disk 2 can be improved with a small rearrangement copy processing load by shortening the moving distance when the head H seeks.

このような構成を有する実施例では、次の利点があ
る。
The embodiment having such a configuration has the following advantages.

ファイルに無関係にディスク内の利用頻度の特に多い
シリンダが1個所に集中できたり2箇所に重複記録でき
るので、利用頻度が多くてキー部分とレコード本体が別
々のシリンダにある場合でも、VTOCから離れた所に記録
さているファイルの場合でも、ヘッドのシーク距離が短
縮される。
Regardless of the file, the most frequently used cylinders in the disk can be concentrated in one place or duplicated in two places, so even if the frequency of use is high and the key part and the record body are in different cylinders, it is far from VTOC Even in the case of a file recorded in a different place, the seek distance of the head is reduced.

その結果、ディスク装置の1回当りの平均シーク時間
をミリ秒の水準で短縮することが可能になる。なお処理
回路(CPU)の1命令当りの平均実行時間はマイクロ秒
あるいはナノ秒の水準であるので、この平均シーク時間
の改善効果は情報処理時間の短縮に大きく寄与する。
As a result, it is possible to reduce the average seek time per operation of the disk drive on the order of milliseconds. Since the average execution time per instruction of the processing circuit (CPU) is on the order of microseconds or nanoseconds, the effect of improving the average seek time greatly contributes to shortening the information processing time.

発明の効果 以上のように書き替え可能な記録媒体のストア方法に
よれば、可動ヘッドの移動量を可及的に少なくして、そ
のヘッドによる記録媒体の読み出しを短時間で行わせる
ことができる。
According to the method of storing a rewritable recording medium as described above, the moving amount of the movable head can be reduced as much as possible, and the reading of the recording medium by the head can be performed in a short time. .

特に本発明では、多頻度読み取り域におけるストア領
域単位を、読み出し頻度が多い順に管理域の近くから遠
ざかるように隣接して割り当てて配置する並べ替え動作
を繰返し、これによつて読み出しを短時間で行うことが
できるようになる。
In particular, in the present invention, a rearrangement operation of allocating and arranging the storage area units in the frequent reading area adjacent to each other in the descending order of the reading frequency and away from the vicinity of the management area is repeated, whereby the reading is performed in a short time. Will be able to do it.

しかも本発明によれば、少頻度読み取り域では、読み
出し頻度にかかわらずストア領域単位を並べ替える動作
を行わず、したがつてこのような並べ替え処理の負担を
軽減することができ、かつ上述のように読み出しを短時
間で行うことができるようになるのである。
Moreover, according to the present invention, in the low-frequency reading area, the operation of rearranging the storage area units is not performed regardless of the reading frequency, so that the load of such rearranging processing can be reduced, and Thus, reading can be performed in a short time.

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

第1図は本発明の一実施例のディスク装置1の簡略化し
た平面図、第2図はディスク装置1に接続される電気的
構成を示すブロック図、第3図はディスク制御装置11と
処理回路12の動作を説明するための主処理手順を示すフ
ローチャート、第4図は管理域移動手順を示すフローチ
ャート、第5図は仮想シリンダの並べ替え手順を示すフ
ローチャート、第6図は本発明の他の実施例のディスク
装置1の簡略化した平面図、第7図は他の実施例のディ
スク装置1に接続される電気的構成を示すブロック図、
第8図は他の実施例のディスク制御装置11と処理回路12
の動作を説明するための主処理手順を示すフローチャー
ト、第9図は他の実施例の仮想シリンダの複写手順を示
すフローチャート、第10図は先行技術の簡略化した平面
図である。 1……ディスク装置、2……ディスク、3……回転軸、
5……アーム、6……駆動手段、7……バッファ域、8
……多頻度域、9……管理域、10……少頻度域、11……
ディスク制御装置、12……処理回路、13……メモリ、14
……仮想シリンダ/実シリンダ変換手段、15……仮想シ
リンダ管理表バッファ部、16……管理域内容読み取り手
段、17……管理域内容変更手段、18……シリンダ移動作
業用バッファ部、19……仮想シリンダ並べ替え手段、20
……管理域移動手段、20……複写域、21……基本域、22
……仮想シリンダ複写手段、23……シリンダ複写作業用
バッファ部
FIG. 1 is a simplified plan view of a disk drive 1 according to one embodiment of the present invention, FIG. 2 is a block diagram showing an electrical configuration connected to the disk drive 1, and FIG. 4 is a flowchart showing a main processing procedure for explaining the operation of the circuit 12, FIG. 4 is a flowchart showing a management area moving procedure, FIG. 5 is a flowchart showing a virtual cylinder rearranging procedure, and FIG. FIG. 7 is a simplified plan view of the disk device 1 of the embodiment, FIG. 7 is a block diagram showing an electrical configuration connected to the disk device 1 of another embodiment,
FIG. 8 shows a disk controller 11 and a processing circuit 12 of another embodiment.
FIG. 9 is a flowchart showing a main processing procedure for explaining the operation of FIG. 9, FIG. 9 is a flowchart showing a virtual cylinder copying procedure of another embodiment, and FIG. 10 is a simplified plan view of the prior art. 1 ... disk device, 2 ... disk, 3 ... rotating shaft,
5 ... arm, 6 ... driving means, 7 ... buffer area, 8
…… High frequency area, 9 …… Management area, 10 …… Low frequency area, 11 ……
Disk control device, 12 processing circuit, 13 memory, 14
... virtual cylinder / real cylinder conversion means, 15 ... virtual cylinder management table buffer unit, 16 ... management area contents reading means, 17 ... management area contents changing means, 18 ... cylinder moving work buffer unit, 19 ... … Virtual cylinder sorting means, 20
…… Management area moving means, 20 …… Copy area, 21 …… Basic area, 22
... virtual cylinder copying means, 23 ... cylinder copy work buffer

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】書き替え可能なデイスク状記録媒体を回転
した状態で、書き込みおよび読み出しのためのヘツド
を、記録媒体を横切つて移動し、 記録媒体の半径方向内方から半径方向外方に、多頻度読
み取り域と、管理域と、少頻度読み取り域とが周方向に
延びて、この順序で形成され、 これらの多頻度読み取り域と、管理域と、少頻度読み取
り域とには、記録媒体の同心状に、または渦巻き状に、
複数のストア領域単位がそれぞれ形成され、 多頻度読み取り域と少頻度読み取り域との各ストア領域
単位毎の読み出し回数を計数し、 その計算値に基づき、多頻度読み取り域で、読み出し頻
度が多い順に、ストア領域単位を管理域の近くから遠ざ
かるように割当てて配置する並べ替え動作を繰返し、 多頻度読み取り域への割当てがなされなかった残りのス
トア領域単位については、既に少頻度読み取り域にあつ
た分は並べ替えを行わず、多頻度読み取り域から追い出
された分は、少頻度読み取り域の中で空いているストア
領域単位のうちで管理域に近い方から割当てて配置し、 管理域には、中央処理装置から導出されるストア領域単
位毎の確保要求をする予約アドレスと、多頻度読み取り
域および少頻度読み取り域における記録媒体の実際のア
ドレスとを対応づける管理表をストアしておき、 多頻度読み取り域および少頻度読み取り域の読み出し動
作を行わないとき、ヘツドは、管理域にもたらされてお
り、 中央処理装置からの予約アドレスに対応した実際のアド
レスを、前記管理表から読み出して、その実際のアドレ
スに読み出しを行うことを特徴とする記録媒体の読み取
りのための方法。
1. A head for writing and reading is moved across a recording medium while rotating a rewritable disk-shaped recording medium, and the head is moved from a radially inner side to a radially outer side of the recording medium. The frequent reading area, the management area, and the infrequent reading area extend in the circumferential direction and are formed in this order, and the frequent reading area, the management area, and the infrequent reading area record Concentric or spiral of the media,
A plurality of store area units are respectively formed, and the number of read times for each store area unit of the frequent read area and the infrequent read area is counted, and based on the calculated value, in the frequent read area, the order of read frequency is high. The reordering operation of allocating and allocating the storage area units so as to be away from the vicinity of the management area is repeated, and the remaining storage area units not allocated to the frequent reading area are already assigned to the infrequent reading area. The parts that are evicted from the frequent read area are allocated and allocated from the vacant read area that is closer to the management area among the vacant store area units in the frequent read area. , A reserved address for issuing a reservation request for each store area derived from the central processing unit, and the actual use of the recording medium in the frequent reading area and the frequent reading area. When a management table for associating the address with the address is stored and the read operation of the frequent read area and the infrequent read area is not performed, the head is brought to the control area, and the reserved address from the central processing unit is reserved. A method for reading a recording medium, wherein an actual address corresponding to the above is read from the management table, and the actual address is read.
【請求項2】(a)書き替え可能なデイスク状記録媒体
であつて、この記録媒体の半径方向内方から半径方向外
方に、多頻度読み取り域と、管理域と、少頻度読み取り
域とが周方向に延びてこの順序で形成され、これらの多
頻度読み取り域と、管理域と、少頻度読み取り域とに
は、記録媒体の同心状に、または渦巻き状に、複数のス
トア領域単位がそれぞれ形成される記録媒体と、 (b)記録媒体を回転駆動し、記録媒体の読み出しのた
めのヘツドを、記録媒体を横切つて移動するデイスク装
置と、 (c)ストア領域単位毎の確保要求をする予約アドレス
を導出する中央処理装置と、 (d)制御手段であって、 多頻度読み取り域と少頻度読み取り域との各ストア領域
単位毎の読み出し回数を計数し、その計算値に基づき、
多頻度読み取り域で、読み出し頻度が多い順に、ストア
領域単位を管理域の近くから遠ざかるように割当てて配
置する並べ替え動作を繰返し、 多頻度読み取り域への割当てがなされなかった残りのス
トア領域単位については、既に少頻度読み取り域にあつ
た分は並べ替えを行わず、多頻度読み取り域から追い出
された分は、少頻度読み取り域の中で空いているストア
領域多数のうちで管理域に近い方から順に割当てて配置
し、 管理域には、中央処理装置から導出されるストア領域単
位毎の確保要求をする予約アドレスと、多頻度読み取り
域および少頻度読み取り域における記録媒体の実際のア
ドレスとを対応づける管理表をストアしておき、 多頻度読み取り域および少頻度読み取り域の読み出し動
作を行わないとき、ヘツドは、管理域にもたらされてお
り、 中央処理装置からの予約アドレスに対応した実際のアド
レスを、前記管理表から読み出して、その実際のアドレ
スに読み出しを行う制御手段とを含むことを特徴とする
記録媒体の読み取りのための装置。
(A) A rewritable disk-shaped recording medium, comprising a frequent reading area, a management area, and a low-frequency reading area from a radially inner side to a radially outer side of the recording medium. Are formed in this order by extending in the circumferential direction. The frequent reading area, the management area, and the infrequent reading area include a plurality of storage area units concentrically or spirally on the recording medium. (B) a disk device for rotating the recording medium and moving a head for reading the recording medium across the recording medium; and (c) securing requests for each storage area unit. A central processing unit that derives a reserved address that performs the following: (d) control means, which counts the number of reads for each storage area unit in the frequent reading area and the infrequent reading area, and, based on the calculated value,
In the frequent read area, in the order of the read frequency, the reordering operation of allocating and allocating the store area units away from the vicinity of the management area is repeated, and the remaining store area units not allocated to the frequent read area are repeated. For, the area that has already been in the infrequent reading area is not rearranged, and the part that has been evicted from the infrequent reading area is closer to the management area among the many vacant store areas in the infrequent reading area. In the management area, there are reserved addresses for requesting reservation for each store area unit derived from the central processing unit, and the actual addresses of recording media in the frequent reading area and the infrequent reading area. When the read operation of the frequent reading area and the infrequent reading area is not performed, the head is also stored in the management area. Control means for reading an actual address corresponding to a reserved address from the central processing unit from the management table, and reading the actual address. Equipment for.
JP63200785A 1988-08-10 1988-08-10 Method and apparatus for reading a recording medium Expired - Lifetime JP2644541B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63200785A JP2644541B2 (en) 1988-08-10 1988-08-10 Method and apparatus for reading a recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63200785A JP2644541B2 (en) 1988-08-10 1988-08-10 Method and apparatus for reading a recording medium

Publications (2)

Publication Number Publication Date
JPH0249274A JPH0249274A (en) 1990-02-19
JP2644541B2 true JP2644541B2 (en) 1997-08-25

Family

ID=16430152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63200785A Expired - Lifetime JP2644541B2 (en) 1988-08-10 1988-08-10 Method and apparatus for reading a recording medium

Country Status (1)

Country Link
JP (1) JP2644541B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5394382A (en) * 1993-02-11 1995-02-28 International Business Machines Corporation Method for the organization of data on a CD-ROM

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5541510A (en) * 1978-09-16 1980-03-24 Nec Corp Magnetic disc device
JPS56111960A (en) * 1980-02-08 1981-09-04 Fujitsu Ltd Magnetic disk device
JPS5750750U (en) * 1980-09-10 1982-03-23
JPH0734172B2 (en) * 1984-06-15 1995-04-12 富士通株式会社 Optical disk device
JPS6159627A (en) * 1984-08-29 1986-03-27 Fujitsu Ltd Optical disc device

Also Published As

Publication number Publication date
JPH0249274A (en) 1990-02-19

Similar Documents

Publication Publication Date Title
US6735678B2 (en) Method and apparatus for disc drive defragmentation
US5802344A (en) Method and apparatus for dynamic segment allocation in log structured arrays
KR20020064357A (en) Buffer management system for managing the transfer of data into and out of a buffer in a disc drive
JP2007200333A (en) Object-based data storage device
JPH0417525B2 (en)
JPH04268622A (en) Rotary memory system
JP2644541B2 (en) Method and apparatus for reading a recording medium
US6954876B2 (en) Disk apparatus
JP2644512B2 (en) Method and apparatus for reading and writing recording media
JPH0115903B2 (en)
KR100390227B1 (en) Disk Control Method and Device
JPH0566999A (en) Cache system for magnetic disk device
US6209057B1 (en) Storage device having data buffer
JPH08314639A (en) Information recording and reproducing device
US7649822B2 (en) Recording and reproducing apparatus and recording method
JP2818186B2 (en) Method of recording information on rewritable recording medium
JP4496790B2 (en) Data storage device and method, and recording / reproducing system
JPH0256019A (en) Overlap recording and reproducing method for information using plural disks
JP4269915B2 (en) Recording / reproducing apparatus and method, and recording / reproducing system
JPH0652019A (en) File controller
JPH09293007A (en) Program install device
JPH01236488A (en) Rewritable type optical disk control system
JPH01291345A (en) Information processing system and control thereof
JP2784650B2 (en) Optical disk storage management method
JPH02299036A (en) Information recording and reproducing method