JPH047630A - Storage medium accessing method - Google Patents

Storage medium accessing method

Info

Publication number
JPH047630A
JPH047630A JP10736890A JP10736890A JPH047630A JP H047630 A JPH047630 A JP H047630A JP 10736890 A JP10736890 A JP 10736890A JP 10736890 A JP10736890 A JP 10736890A JP H047630 A JPH047630 A JP H047630A
Authority
JP
Japan
Prior art keywords
area
storage medium
item
unit areas
management table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10736890A
Other languages
Japanese (ja)
Inventor
Shuji Yura
修二 由良
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP10736890A priority Critical patent/JPH047630A/en
Publication of JPH047630A publication Critical patent/JPH047630A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten access time by accessing plural unit areas at a time based on one referred result of a file control table when the physical addresses of plural unit areas to be accessed continuously are consecutive to each other. CONSTITUTION:Before the execution of access to a storage medium, it is decided whether the unit areas to be executed are physically consecutive on the storage medium or not. As the result, plural unit areas decided to be physically consecutive are accessed at a time as considering each unit area to be the area of one mass. Thus, since the access is executed extending over plural unit areas, the calculation of the physical position of each unit area need not be executed for every unit area.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、1単位のデータブロックをそれぞれ格納する
ための複数の単位領域を備えた記憶媒体に係る記憶媒体
アクセス方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a storage medium access method relating to a storage medium provided with a plurality of unit areas each storing one unit of data block.

(従来の技術) ン 計算機システ゛ムにおいて、データを保存する媒体とし
て各種の記憶媒体が利用されている。一般的に広く普及
している記憶媒体の例としては、フロッピーディスクや
ハードディスク等を挙げることができる。これらの記憶
媒体の記憶領域は、その効率的利用を図るため、所定の
記憶容量を1単位とした複数の単位領域に分割して利用
される。
(Prior Art) In computer systems, various storage media are used as media for storing data. Examples of commonly used storage media include floppy disks and hard disks. In order to use the storage areas of these storage media efficiently, they are divided into a plurality of unit areas each having a predetermined storage capacity.

記憶媒体に格納されるデータは、この単位領域を意識し
て格納される。即ち、−群のデータは、単位領域の容量
に対応させた1単位のデータブロックに分割されて格納
される。このように、単位領域毎にデータブロックを格
納するため、例えば記憶媒体上で、−群のデータを格納
する領域が物理的に連続して確保できなくても良いとい
った利点がある。即ち、必要な数の単位領域が確保でき
れば良く、必ずしもこの単位領域が物理的に連続してい
なくとも良いといった利点がある。
Data stored on the storage medium is stored keeping this unit area in mind. That is, the data of the - group is divided into one data block corresponding to the capacity of the unit area and stored. In this way, since data blocks are stored in each unit area, there is an advantage that, for example, it is not necessary to physically secure a continuous area on the storage medium for storing the -group data. That is, there is an advantage that it is sufficient to secure the necessary number of unit areas, and these unit areas do not necessarily have to be physically continuous.

第2図に、一般的な計算機システムの構成図を示す。FIG. 2 shows a configuration diagram of a general computer system.

図に示すように、CPU 1には、パスライン2を介し
てファイルコントロールボード(PCB)3と主記憶装
置(MEM)4が接続されている。
As shown in the figure, a file control board (PCB) 3 and a main memory (MEM) 4 are connected to the CPU 1 via a path line 2.

CPU 1は、システムを構成する各部の制御及び各種
の演算処理等を行なうものである。パスライン2は、シ
ステムを構成する各部の間のデータ転送等を行なうため
の信号線である。PCB3は、記憶媒体、この場合フロ
ッピーディスク5のアクセス(読出し及び書込み)制御
を実行するインタフェースである。MEM4は、CPU
Iの参照するプログラムやデータを格納するRAM等か
らなるものである。
The CPU 1 controls each part constituting the system and performs various calculation processes. The path line 2 is a signal line for transferring data between the various parts constituting the system. The PCB 3 is an interface that executes access (reading and writing) control of the storage medium, in this case the floppy disk 5. MEM4 is a CPU
It consists of a RAM, etc. that stores programs and data referenced by I.

さて、フロッピーディスク5は、その使用に先立ってフ
ォーマットがなされ、記憶領域が所定単位の単位領域に
分割される(レコードの生成)。
Now, before the floppy disk 5 is used, it is formatted, and its storage area is divided into predetermined unit areas (record generation).

−群のデータをフロッピーディスク5に格納する場合、
この単位領域の容量に合致した複数のデータブロックに
分割される。また、フロッピーディスク5上の各レコー
ドの使用状況を管理するため、MEM4上に管理テーブ
ルが設けられる。
- When storing the group data on the floppy disk 5,
The data is divided into a plurality of data blocks matching the capacity of this unit area. Further, in order to manage the usage status of each record on the floppy disk 5, a management table is provided on the MEM 4.

フロッピーディスク5のアクセスは、CPU 1がアク
セス指示(読出し制御及び書込み制御の種別やファイル
名等からなるもの)をPCB3に出すことによりなされ
る。即ち、CPU1は、フロッピーディスク5のアクセ
ス制御をPCB3に委ねる。具体的には、CPU 1は
フロッピーディスク5のアクセスを実行する場合、PC
B3に指示を出す、PCB3は、この指示を解析し、例
えば書込み制御の場合、MEM4上の管理テーブルを参
照して空いている単位領域レコードを確保し、この確保
した単位領域に一群のデータに基づくデータブロックを
格納する。読出し制御の場合は、同じ<MEM4上の管
理テーブルを参照して一群のデータを構成する各データ
ブロックが格納された単位領域を把握し、順次各単位領
域からデータブロックを読出して一群のデータを生成す
る。
Access to the floppy disk 5 is performed by the CPU 1 issuing an access instruction (consisting of types of read control and write control, file name, etc.) to the PCB 3. That is, the CPU 1 entrusts access control of the floppy disk 5 to the PCB 3. Specifically, when the CPU 1 accesses the floppy disk 5, the CPU 1
PCB3 issues an instruction to B3. PCB3 analyzes this instruction and, for example, in the case of write control, refers to the management table on MEM4, secures a vacant unit area record, and stores a group of data in this secured unit area. Stores data blocks based on In the case of read control, refer to the management table on the same MEM4 to understand the unit area in which each data block that makes up a group of data is stored, and read the data blocks from each unit area sequentially to create a group of data. generate.

第3図に、アクセスの概念図を示す。FIG. 3 shows a conceptual diagram of access.

図には、フロッピーディスク5と、MEM4上に設けら
れる管理テーブル10が示されている。
The figure shows a floppy disk 5 and a management table 10 provided on the MEM 4.

フロッピーディスク5には、第1〜第7領域68〜6g
の7つの単位領域から成るファイル領域6が設けられて
いるものとする。これらの各領域に対応して管理テーブ
ル10も第1〜第7項目10a〜10gの7つの項目が
設けられている。
The floppy disk 5 has the first to seventh areas 68 to 6g.
It is assumed that a file area 6 consisting of seven unit areas is provided. The management table 10 is also provided with seven items, first to seventh items 10a to 10g, corresponding to each of these areas.

第1〜第7領域68〜6gは、所定量(1単位)のデー
タブロックを一つ格納する領域である。管理テーブル1
0は、フロッピーディスク5上の各領域と一対一に対応
して設けられ、各領域の使用状況及び他の領域との連続
性を保つための識別子を格納するものである。
The first to seventh areas 68 to 6g are areas for storing one data block of a predetermined amount (one unit). Management table 1
0 is provided in one-to-one correspondence with each area on the floppy disk 5, and stores the usage status of each area and an identifier for maintaining continuity with other areas.

いま、フロッピーディスク5の第2及び第6領域6b、
6fには、それぞれ独立したデータブロック、即ちお互
いに関わりのないA、Bデータブロックが格納されてい
るものとする。このため、管理テーブルlOの第2及び
第6項目10b、lofには、それぞれ連続する項目が
管理テーブル10上に存在しないことを示すEND識別
子(例えば内容“FFF+s”)が格納されている。
Now, the second and sixth areas 6b of the floppy disk 5,
It is assumed that 6f stores independent data blocks, that is, data blocks A and B that are unrelated to each other. For this reason, the second and sixth items 10b and lof of the management table 10 each store an END identifier (for example, content "FFF+s") indicating that consecutive items do not exist on the management table 10.

一方、第1領域6a、第3〜第5領域60〜6e、そし
て第7領域6gには、それぞれ第1データブロツク、第
2〜第4データブロツク、そして第5データブロツクが
格納されている。
On the other hand, a first data block, a second to fourth data block, and a fifth data block are stored in the first area 6a, third to fifth areas 60 to 6e, and seventh area 6g, respectively.

これら5つのデータブロックは、第1データブロツク〜
第5データブロツクの順番で配置することにより、−群
のデータ7が生成されるものである。従って、これらの
データブロックを読出す場合、第1データブロツクを最
初に読出し、最後に第5データブロツクを読出す必要が
ある。
These five data blocks are the first data block ~
By arranging the data in the order of the fifth data block, - group data 7 is generated. Therefore, when reading these data blocks, it is necessary to read the first data block first and the fifth data block last.

このため、管理テーブル10の各項目には、次に読出す
べき領域に対応した項目を特定する識別子が格納されて
いる。即ち、第1項目10aには、第3項目10cを指
示する第3識別子が、第3項目10cには、第4項目d
を示す第4識別子が、同様に第4項10d及び第5項目
10eには、それぞれ第5及び第7識別子が格納されて
いる。なお第7項目Logには、以後続く項目が無いた
め、−群のデータに関する最終の項目であることを示す
END識別子が格納されている。
Therefore, each item in the management table 10 stores an identifier that specifies the item corresponding to the area to be read next. That is, the first item 10a has a third identifier indicating the third item 10c, and the third item 10c has the fourth item d.
Similarly, the fourth item 10d and the fifth item 10e store fifth and seventh identifiers, respectively. Note that since there is no subsequent item in the seventh item Log, an END identifier indicating that it is the last item regarding data of the - group is stored.

さて以上の構成において、第1〜第5データブロツクを
アクセス(例えば読出し)する場合について第4図を参
照しながら説明する。
Now, in the above configuration, the case where the first to fifth data blocks are accessed (for example, read) will be explained with reference to FIG. 4.

第4図は、従来のアクセス方法のフローチャートである
FIG. 4 is a flowchart of a conventional access method.

まず初めにFCB3は、CPU 1からアクセスの指示
を受けると、指示されたファイル名からアクセスすべき
データブロックを決定する(ステップSl)。具体的に
は、ファイル名に基づいて最初にアクセスすべき領域に
対応する第1の項目10aが把握でき、この第1項目1
0aに対応するフロッピーディスク5上のトラック番号
、サイド番号、物理セクタ番号を決定する。即ち、第1
領域6aが特定される。そして、−度にアクセスするデ
ータ長(単位領域−つ分のデータ長を示すパラメータ)
の決定を行ない(ステップS2)、これらの決定事項に
基づいてフロッピーディスク5のアクセスを行なう(ス
テップS3)。アクセスが完了すると、FCB3は、第
1の項目10aの内容がEND識別子か否か、即ちアク
セスの処理が終了か否かを判断する(ステップS4)。
First, upon receiving an access instruction from the CPU 1, the FCB 3 determines the data block to be accessed from the instructed file name (step Sl). Specifically, the first item 10a corresponding to the area to be accessed first can be grasped based on the file name, and this first item 1
The track number, side number, and physical sector number on the floppy disk 5 corresponding to 0a are determined. That is, the first
Region 6a is identified. Then, the data length to be accessed in -degrees (parameter indicating the data length for - unit area)
are determined (step S2), and the floppy disk 5 is accessed based on these determined matters (step S3). When the access is completed, the FCB 3 determines whether the content of the first item 10a is an END identifier, that is, whether the access process is finished (step S4).

ここでは結果がNOとなり、再びステップS1に戻る。Here, the result is NO, and the process returns to step S1 again.

そして最後に、第7領域6gから第5データブロツクが
読出されると、FCB3は第7項目10gの内容がEN
D識別子であることを認識し読出しの処理を終了する。
Finally, when the fifth data block is read from the seventh area 6g, the contents of the seventh item 10g are set to EN in the FCB3.
It recognizes that it is a D identifier and ends the read process.

なお読出された各データブロックは、順次MEM4上に
転送され、最終的に一群のデータ7が生成される。
Note that each read data block is sequentially transferred onto the MEM 4, and finally a group of data 7 is generated.

(発明が解決しようとする課題) さて、以上説明した記憶媒体のアクセス方法は、一つの
データブロックをアクセスする度に、新たにアクセスし
ようとするデータブロックが格納された領域の算出する
処理(ステップSl)を行ないフロッピーディスク5上
の所望の領域を特定するためのシーク等の処理を実行す
ることになる。このように、データのアクセスに直接間
わりのない機械的な処理が入るため、迅速なアクセス完
了が難しいといった問題が生じていた。また、より短時
間でアクセスを完了させようとした場合、シーク時間等
の短い高性能のハードウェアを用意しなければならない
といつた問題も生じていた。
(Problem to be Solved by the Invention) The storage medium access method described above involves a process (step SL), and processes such as seek for specifying a desired area on the floppy disk 5 are executed. In this way, data access involves mechanical processing that is not directly involved, creating a problem in that it is difficult to complete access quickly. Additionally, when attempting to complete access in a shorter time, there was a problem in that high-performance hardware with short seek times, etc. had to be prepared.

本発明は以上の点に着目してなされたもので、特別なハ
ードウェアを用意することなく容易にアクセス時間の短
縮を図ることのできる記憶媒体アクセス方法を提供する
ことを目的とするものである。
The present invention has been made with attention to the above points, and an object of the present invention is to provide a storage medium access method that can easily shorten access time without preparing special hardware. .

(課題を解決するための手段) 本発明の記憶媒体アクセス方法は、それぞれ1単位のデ
ータブロックを格納するため記憶媒体上に形成された複
数の単位領域と、前記各単位領域と、前記何れかの単位
領域の次にアクセスすべき前記他の単位領域を特定する
識別子とを対応付けた管理テーブルとを備え、前記管理
テーブルを参照して前記単位領域毎のアクセスを行なう
ものにおいて、前記管理テーブルを参照した結果、その
後連続してアクセスすべき複数の単位領域の物理アドレ
スが相互に連続している場合に、前記ファイル管理テー
ブルの一つの参照結果で、当該複数の単位領域を1度に
アクセスするものである。
(Means for Solving the Problems) A storage medium access method of the present invention comprises: a plurality of unit areas formed on a storage medium for storing one unit of data block each; and a management table associating the unit area with an identifier for specifying the other unit area to be accessed next, and accessing each unit area by referring to the management table, wherein the management table As a result of referring to the file management table, if the physical addresses of multiple unit areas that should be accessed consecutively are mutually consecutive, the multiple unit areas can be accessed at once with one reference result of the file management table. It is something to do.

(作用) この方法は、記憶媒体へのアクセスを実行する前に、実
行すべき単位領域が記憶媒体上で物理的に連続している
か否かの判断を行なう。この結果物理的に連続している
と判断された複数の単位領域については、各単位領域を
1かたまりの領域として1度にアクセスする。この場合
、複数の単位領域にまたがってアクセスが実行されるた
め、各単位領域毎にその物理的な位置算出等を行なう必
要がない。
(Operation) In this method, before accessing the storage medium, it is determined whether the unit areas to be executed are physically continuous on the storage medium. As a result, for a plurality of unit areas that are determined to be physically continuous, each unit area is accessed at one time as one area. In this case, since access is performed across a plurality of unit areas, there is no need to calculate the physical position of each unit area.

(実施例) 本発明は、先に第2図において説明した計算機システム
において実現でき、また、フロッピーディスク5の管理
は、従来同様管理テーブル10を用いて行なう。
(Embodiment) The present invention can be realized in the computer system described above with reference to FIG. 2, and the management of the floppy disk 5 is performed using the management table 10 as in the conventional art.

従ってここでは、第2図及び第3図を参照しながら本発
明に係る第1図の説明を行なう。
Therefore, FIG. 1 according to the present invention will be explained here with reference to FIGS. 2 and 3.

第1図は、本発明の記憶媒体アクセス方法のフローチャ
ートである。
FIG. 1 is a flowchart of the storage medium access method of the present invention.

第1図の説明に入る前に、本発明の詳細な説明すると、
アクセスすべきフロッピーディスク5上の単位領域が物
理的に連続しているか否か、即ち管理テーブル10の各
項目に格納された識別子の内容が連続したものであるか
を把握する。この結果連続していなかった場合には、従
来同様フロッピーディスク5の各領域を一つ一つアクセ
スする。
Before going into the explanation of FIG. 1, the present invention will be explained in detail.
It is determined whether the unit areas on the floppy disk 5 to be accessed are physically continuous or not, that is, whether the contents of the identifiers stored in each item of the management table 10 are continuous. If the result is that they are not consecutive, each area of the floppy disk 5 is accessed one by one as in the conventional case.

一方、連続していた場合には、複数の領域をまとめてア
クセスする。即ち、通常、例えば1にバイトずつアクセ
スしていたものを、2にバイト、3にバイト単位でアク
セスする。
On the other hand, if they are continuous, multiple areas are accessed at once. That is, normally, for example, 1 is accessed in byte units, but 2 is accessed in byte units, and 3 is accessed in byte units.

さてここで、具体的な説明に入る。Now, let's get into the specifics.

第1図においてステップSll及びステップS12は、
先に第4図において説明したステップSl、S2と同一
の処理である。ステップS13において、先に決定した
データブロックに対応した管理テーブルlo上の項目(
この場合第1項目10a)の内容を解析して次にアクセ
スすべき領域に対応する項目の把握を行なう(ステップ
S 13) 、この結果、第3項目10cが把握され、
これに対応する第3領域6cが次にアクセスするデータ
ブロックであるものとして決定される。そしてFCB3
は、新たに把握された項目(第3項目10c)と先に把
握した項目(第1項目10a)が、管理テーブル10上
で物理的に連続する項目であるか否かを判断する(ステ
ップ514)。この物理的に連続する項目とは、例えば
第1項目10aの場合、物理的に連続する項目は第2項
目10bのみを指す。この第2項目10bについては、
第1項目10aと第3項目10cである。
In FIG. 1, step Sll and step S12 are
This process is the same as steps Sl and S2 previously explained in FIG. 4. In step S13, the item on the management table lo corresponding to the previously determined data block (
In this case, the content of the first item 10a) is analyzed to determine the item corresponding to the area to be accessed next (step S13), and as a result, the third item 10c is determined,
The corresponding third area 6c is determined to be the next data block to be accessed. And FCB3
determines whether the newly grasped item (third item 10c) and the previously grasped item (first item 10a) are physically consecutive items on the management table 10 (step 514). ). For example, in the case of the first item 10a, the physically continuous item refers to only the second item 10b. Regarding this second item 10b,
They are the first item 10a and the third item 10c.

この場合、ステップS]4の結果がNOとなりステップ
S15に移る。ステップS15では、ステップ313で
把握されたデータブロックが最終のデータブロックであ
るか否か、即ち管理テーブル10上の項目の内容がEN
D識別子であるか否かの判断を行なう。ここでは、この
結果がNOとなり(第3項目10cの内容は第4識別子
であるため)、FCB3は、第1領域6aのみをアクセ
スする中間アクセスを実行しくステップ516)、ステ
ップS12に戻る。ステップS12ではパラメータの設
定がなされ、ステップS13において、今度は第3項目
10cの内容、即ち第4識別子に基づいて第4項目10
dが把握され(ステップ514)、ステップS15に移
る。ステップS15において結果がYESとなり、ステ
ップS17に移る。ステップS17では、ステップS1
5同様に、最終のデータブロックの決定であるか否かが
判断され、この場合結果がNOとなり、パラメータの変
更、即ち先にステップS12において設定したパラメー
タと同様の内容が加算され、ステップS13に戻る。以
後ステップS13.S14.S17.S18といったル
ープが管理テーブル10の第5項目10e迄実行される
。そして、ステップS13において第7項目10gに対
応する第7領域6gが把握される。ここでステップS1
4の結果がNOlそしてステップS15の結果がYES
となる。そしてステップS19が実行される。このステ
ップS19では、第3領域60〜第5領域6eの第2デ
ータブロツク〜第4データブロツクの3つのブロックが
一度にアクセスされる。即ち、アクセスを開始する先頭
領域が第3領域6cで、3つのデータブロックに対応す
るパラメータに応じたデータ(例えば3にバイト)がア
クセスされる。その後、最後にステップS13において
決定されたデータブロックについてパラメータ(例えば
1にバイト)が決定され(ステップ520)、そのアク
セス(第7領域6g)が実行され(ステップ521)、
処理を終了する。なお、例えば第5領域6eの第4デー
タブロツクが最終のデータブロックである場合には、ス
テップS14の後ステップS17においてYESとなり
、第3領域60〜第5領域6eの第2データブロツク〜
第4データブロツクのアクセスが連続的に実行され(ス
テップ522)、処理を終了する。
In this case, the result of step S4 is NO, and the process moves to step S15. In step S15, it is determined whether or not the data block grasped in step 313 is the final data block, that is, whether the contents of the items on the management table 10 are EN or not.
It is determined whether or not it is a D identifier. Here, the result is NO (because the content of the third item 10c is the fourth identifier), and the FCB 3 executes intermediate access to access only the first area 6a (step 516), and returns to step S12. In step S12, parameters are set, and in step S13, the fourth item 10c is set based on the content of the third item 10c, that is, the fourth identifier.
d is grasped (step 514), and the process moves to step S15. The result in step S15 is YES, and the process moves to step S17. In step S17, step S1
5. Similarly, it is determined whether or not the final data block has been determined. In this case, the result is NO, and the parameter is changed, that is, the same content as the parameter previously set in step S12 is added, and the process proceeds to step S13. return. Thereafter, step S13. S14. S17. A loop such as S18 is executed up to the fifth item 10e of the management table 10. Then, in step S13, the seventh area 6g corresponding to the seventh item 10g is grasped. Here step S1
The result of step S15 is NOl and the result of step S15 is YES.
becomes. Then step S19 is executed. In this step S19, three blocks, the second data block to the fourth data block in the third area 60 to the fifth area 6e, are accessed at once. That is, the first area to start accessing is the third area 6c, and data (for example, 3 bytes) according to the parameters corresponding to the three data blocks is accessed. Thereafter, parameters (for example, 1 byte) are determined for the data block finally determined in step S13 (step 520), and its access (seventh area 6g) is executed (step 521).
Finish the process. Note that, for example, if the fourth data block in the fifth area 6e is the final data block, YES is determined in step S17 after step S14, and the third data block to the second data block in the fifth area 6e is
The fourth data block is accessed continuously (step 522), and the process ends.

ところで、書込み処理を行なう場合は、管理テーブル1
0を参照して空いている項目を検索することになるが、
この空いている内容を示す項目が連続しているか否かを
判断することにより、先に書込み処理を例に説明したも
のと同様の手順で同様の処理を実現することができる。
By the way, when performing write processing, management table 1
0 will be referenced to search for an empty item, but
By determining whether or not the items indicating vacant contents are consecutive, it is possible to implement the same process using the same procedure as that described above using the write process as an example.

以上の説明のように、フロッピーディスク5上に物理的
に連続して格納されたデータブロックについては、複数
を一度にアクセスする。これにより、各ブロックのアク
セスを行なう度に、シーク等の機械的な処理時間を費や
す必要がない。
As described above, a plurality of data blocks physically consecutively stored on the floppy disk 5 are accessed at one time. This eliminates the need to spend mechanical processing time such as seeking each time each block is accessed.

本発明は以上の実施例に限定されない。The present invention is not limited to the above embodiments.

実施例では記憶媒体の例としてフロッピーディスクを挙
げたが、これは特に限定されるものでなく、ハードディ
スク等、記憶領域を一定の領域に区画され、各記憶領域
が管理テーブルにより管理される記憶媒体であるならば
いかなるものでもかまわない。
In the embodiment, a floppy disk is used as an example of a storage medium, but this is not particularly limited, and storage media such as hard disks that have a storage area divided into fixed areas and each storage area is managed by a management table. As long as it is, it doesn't matter what it is.

(発明の効果) 以上説明の記憶媒体アクセス方法によると、記憶媒体上
の複数の単位領域を一度にアクセスすることができるた
め、特別に高速なハードウェア等を用意しなくとも、−
群のデータに対応する複数のデータブロックについて速
やかにアクセスを完了することができる。
(Effects of the Invention) According to the storage medium access method described above, multiple unit areas on the storage medium can be accessed at once, so that -
Access to a plurality of data blocks corresponding to a group of data can be quickly completed.

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

第1図は本発明の記憶媒体アクセス方法のフローチャー
ト、第2図は一般的な計算機システムの構成図、第3図
はアクセスの概念図、第4図は従来のアクセス方法のフ
ローチャートである。 1・・・CPU、2・・・パスライン、3・・・ファイ
ルコントロールボード(PCB)、4・・・主記憶装置
(MEM)、 5・・・フロッピーディスク。 −船釣な計算機システムの構成図 第  2 図 従来のアクセス方法のフローチャート 第4図
FIG. 1 is a flowchart of the storage medium access method of the present invention, FIG. 2 is a configuration diagram of a general computer system, FIG. 3 is a conceptual diagram of access, and FIG. 4 is a flowchart of a conventional access method. 1... CPU, 2... Pass line, 3... File control board (PCB), 4... Main storage device (MEM), 5... Floppy disk. - Configuration diagram of the boat computer system Fig. 2 Flowchart of conventional access method Fig. 4

Claims (1)

【特許請求の範囲】 それぞれ1単位のデータブロックを格納するため記憶媒
体上に形成された複数の単位領域と、前記各単位領域と
、前記何れかの単位領域の次にアクセスすべき前記他の
単位領域を特定する識別子とを対応付けた管理テーブル
とを備え、前記管理テーブルを参照して前記単位領域毎
のアクセスを行なうものにおいて、 前記管理テーブルを参照した結果、 その後連続してアクセスすべき複数の単位領域の物理ア
ドレスが相互に連続している場合に、前記ファイル管理
テーブルの一つの参照結果で、当該複数の単位領域を1
度にアクセスすることを特徴とする記憶媒体アクセス方
法。
[Scope of Claims] A plurality of unit areas each formed on a storage medium to store one unit of data block, each of the unit areas, and the other unit area to be accessed next to any of the unit areas. In a device that is provided with a management table that associates identifiers that specify unit areas, and accesses each unit area by referring to the management table, as a result of referring to the management table, it is determined that subsequent accesses should be made continuously. If the physical addresses of multiple unit areas are consecutive, one reference result of the file management table can be used to convert the multiple unit areas into one.
A storage medium access method characterized by accessing the storage medium at once.
JP10736890A 1990-04-25 1990-04-25 Storage medium accessing method Pending JPH047630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10736890A JPH047630A (en) 1990-04-25 1990-04-25 Storage medium accessing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10736890A JPH047630A (en) 1990-04-25 1990-04-25 Storage medium accessing method

Publications (1)

Publication Number Publication Date
JPH047630A true JPH047630A (en) 1992-01-13

Family

ID=14457322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10736890A Pending JPH047630A (en) 1990-04-25 1990-04-25 Storage medium accessing method

Country Status (1)

Country Link
JP (1) JPH047630A (en)

Similar Documents

Publication Publication Date Title
CN113918535A (en) Data reading method, device, equipment and storage medium
CN109977092A (en) A kind of method and calculating equipment of duplication file
JPH04219844A (en) High-speed medium preferential release type exclusive system
JPH047630A (en) Storage medium accessing method
CN114385584A (en) A data writing method and a data reading method
JPH0239225A (en) Filing system
JPS593567A (en) Buffer number setting system of tree structure
JPH01255028A (en) How to access external storage devices
JPH02151944A (en) data processing equipment
JPH0423143A (en) Data storing system
JPH05120343A (en) Index updating system
JPH03268037A (en) Data editing system
JP3328849B2 (en) Data writing processor
JPH0273436A (en) File control system
JP2650228B2 (en) Volume management method for collective auxiliary storage
JPH04140825A (en) Optical disk device access system
JP2002132555A (en) System, method and record medium of database access
JPH0283639A (en) File creation control method
JPH036634A (en) File storing system for floppy disk
JPS63291145A (en) Method for managing file
JPS63251965A (en) Disk managing system
JPS6368960A (en) Sequential access controller for shared storage medium
JPH064384A (en) Image data managing system
JPH0877045A (en) File sharing method
JPH0233786A (en) Optical disk device