JPH0281122A - Data reading method - Google Patents

Data reading method

Info

Publication number
JPH0281122A
JPH0281122A JP63231952A JP23195288A JPH0281122A JP H0281122 A JPH0281122 A JP H0281122A JP 63231952 A JP63231952 A JP 63231952A JP 23195288 A JP23195288 A JP 23195288A JP H0281122 A JPH0281122 A JP H0281122A
Authority
JP
Japan
Prior art keywords
data
read
sectors
memory
written
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
JP63231952A
Other languages
Japanese (ja)
Inventor
Toru Yamagishi
亨 山岸
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP63231952A priority Critical patent/JPH0281122A/en
Publication of JPH0281122A publication Critical patent/JPH0281122A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To quickly cope with an external instruction by reading directly the data equal to (n) sectors out of a memory with no access given to a disk in case a reading instruction is received for the data equal to (n) sectors following the data equal to (m) sectors. CONSTITUTION:The data is written into a memory 6 with a reading instruction and at the same time the sector number of the data is written into a memory control table 8. Thus the data equal to (m) sectors (m>=1) is read out of the k-th sector with an external reading instruction. In this respect, the variable (j) of a program of a CPU 9 is set at (k). Then it is checked whether the sector number of j = k is written into the table 8 or not, that is, whether this sector number is read out before or not. If so, the data on the sector number is read out of the memory 6 and sent to the outside. Thus it is possible to know via the table 8 that the data if once read out of a disk 5 is written into the memory 6. Then the data c an be quickly read out of the memory 6 with no access given to the disk 5.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、外部命令によってディスク等の既記録媒体か
らデータを読出してメモリに一時記憶させ、メモリから
読出して外部に転送するデータ読出し方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a data reading method in which data is read from a recorded medium such as a disk in response to an external command, temporarily stored in a memory, and read from the memory and transferred to the outside.

上記のようにディスクからデータを読出してメモリに書
込み、ここから読出して外部に転送する動作をマイクロ
コンピュータ等による制御によって行なう場合、マイク
ロコンピュータの動作としては外部命令があってから短
時間のうちに外部にデータ転送することが望ましい。
When the operations of reading data from a disk, writing it to memory, reading it from there, and transferring it to an external device are controlled by a microcomputer, etc., as described above, the microcomputer operates within a short time after receiving an external command. It is desirable to transfer data externally.

従来の技術 第5図は従来装置の一例のブロック図を示す。Conventional technology FIG. 5 shows a block diagram of an example of a conventional device.

同図において、端子1に外部命令信号が入来するとディ
スク制御装置2のマイクロコンピュータ等で構成される
CP(J3はこれを受けてディスクドライバ4に読出し
命令を出し、ディスクドライバ4は例えばプログラムデ
ータ等を記録されているディスク5から所定のデータを
読出し、ディスク制御装置2はこれをメモリ6に書込む
。CPU3はメモリ6に書込まれたデータに対して誤り
訂正等の処理を行なって転送し、端子7より取出す。
In the same figure, when an external command signal is input to a terminal 1, a CP (J3) consisting of a microcomputer, etc. of a disk control device 2 receives this and issues a read command to a disk driver 4, and the disk driver 4 receives, for example, program data. etc. are recorded from the disk 5, and the disk control device 2 writes this to the memory 6.The CPU 3 performs processing such as error correction on the data written to the memory 6 and transfers the data. and take it out from terminal 7.

発明が解決しようとする課題 一般に、CPLJ3の動作としては、外部命令が入来し
てデイ゛スク5をアクセスしてここからデータを読出す
迄に要する時間は全体の動作からみれば極く短時間であ
り、これ以外の時間ではディスクドライバ4は何も動作
しておらず、無駄な時間となっている。一方、使用者側
からみると、通常使用の場合はディスク5の特定部分の
プログラムデータにのみアクセスしていることが殆どで
あり、特定プログラムデータの読出しに集中しているこ
とが多い。つまり、ディスク5からmセクタ分のデータ
を読出す命令があると、このmセクタに引続いた次のn
セクタ分のデータを読出す確率が多い。
Problems to be Solved by the Invention In general, the time required for the operation of the CPLJ3 to receive an external command, access the disk 5, and read data from it is extremely short in terms of the overall operation. The disk driver 4 does not operate at any other time, and the time is wasted. On the other hand, from the user's point of view, during normal use, the user mostly accesses only the program data in a specific portion of the disk 5, and often concentrates on reading the specific program data. In other words, if there is an instruction to read m sectors worth of data from the disk 5, the next n sectors following this m sector will be read.
There is a high probability that a sector's worth of data will be read.

この場合、従来装置では前にアクセスしたのと同じデー
タであってもその度ごとにディスクドライバ4に読出し
命令を出してメモリ6に書込み、ここから読出してデー
タ転送していた。従って、従来装置は外部命令からデー
タ読出し転送までに時間がかかり、迅速に読出し制御で
きない問題点があった。
In this case, in the conventional device, even if the data is the same as previously accessed, each time a read command is issued to the disk driver 4, it is written into the memory 6, and the data is transferred by reading from there. Therefore, the conventional device has the problem that it takes time to read and transfer data from an external command, making it impossible to quickly control reading.

本発明は、前2のようなディスクアクゼス時間以外の時
間を利用して外部命令によるセクタ番号の連続する読出
しデータに続くデータをもディスクから読出してメモリ
に書込んでおき、その後読出し命令が入来した時はその
メモリから迅速に読出すようにし、外部命令に迅速に対
応して読出し制御できるようにしたデータ読出し方法を
提供することを目的とする。
The present invention uses time other than the disk access time as described in the previous 2 to read data following the read data of consecutive sector numbers by an external command from the disk and write it into the memory, and then the read command is executed. It is an object of the present invention to provide a data reading method that allows data to be read out quickly from a memory when it is received, and that allows reading control to be performed quickly in response to an external command.

課題を解決するための手段 本発明は、セクタ番号が連続しているm(m≧1)セク
タ分のデータ読出し命令があったとき、該mセクタ分の
データを読出し転送する一方、該mセクタ分のデータに
引続く次のnセクタ分のデータが記憶手段に書込まれて
いない場合は該nセクタ分のデータを既記録媒体から読
出して記録手段に書込む手段、 その後、上記nセクタ分のデータ読出し命令があったと
き、上記記憶手段から上記nセクタ分のデータを読出し
転送する手段とよりなる。
Means for Solving the Problems According to the present invention, when there is a data read command for m sectors with consecutive sector numbers (m≧1), the data for the m sectors is read and transferred, while the data for the m sectors are read and transferred. If the next n sectors worth of data subsequent to the data for the previous n sectors have not been written in the storage means, means for reading the n sectors worth of data from the recording medium and writing it into the recording means; When there is a data read command, the data storage means reads and transfers the data for the n sectors from the storage means.

作用 本発明では、連続するmセクタ分の読出し命令があった
とき、このmセクタ分のデータに引続く次のnセクタ分
のデータを記憶手段に1込んでおき、nセクタ分のデー
タを読出し命令があったとき、配憶手段からnセクタ分
のデータを読出し転送する。一般にmセクタ分のデータ
読出しが行なわれた後にはこれに引続くnセクタ分のデ
ータ読出しを行なうことが多く、本発明によれば、nセ
クタ分のデータ読出し命令があった場合、このnセクタ
分のデータをわざわざディスクがら読出す必要はなく、
記憶手段から直ぐに読出し得、外部命令に対して迅速に
対応できる。
In the present invention, when there is a read command for consecutive m sectors, data for the next n sectors following the data for m sectors is stored in the storage means, and the data for n sectors is read out. When a command is issued, data for n sectors is read and transferred from the storage means. Generally, after m sectors' worth of data is read, subsequent n sectors' worth of data is often read. According to the present invention, when there is a data read command for n sectors, this n sector's data is read. There is no need to read out the data from the disk,
It can be read immediately from the storage means and can quickly respond to external commands.

実施例 第1図は本発明方法の一実施例を説明するブロック図を
示し、同図中、第5図と同−J#tli部分には同=番
号を付す。同図中、8はメモリil!理テーブルで、デ
ィスク5から読出されてメモリ6の各ページに書込まれ
てたディスク5上各セクタ毎のデータをそのページに対
応付けてセクタ番号として登録するテーブルである。9
はCPLJで、書込み手段9a、読出し手段9bを設け
られており、第2図及び第3図に示す70−チャートに
従って動作する。メモリ6、CPU9.メモリ管理1−
プル8にてディスク制御装置1oが構成されている。
Embodiment FIG. 1 shows a block diagram illustrating an embodiment of the method of the present invention, in which the same numbers as in FIG. 5 are given to the same -J#tli portions. In the figure, 8 is the memory il! This is a table in which data for each sector on the disk 5 that has been read from the disk 5 and written to each page of the memory 6 is registered as a sector number in association with that page. 9
is a CPLJ, which is provided with a writing means 9a and a reading means 9b, and operates according to the chart 70 shown in FIGS. 2 and 3. Memory 6, CPU 9. Memory management 1-
The pull 8 constitutes a disk control device 1o.

次に、本発明の動作について説明する。Next, the operation of the present invention will be explained.

第1図に示すCPU9はディスクドライバ4を監視して
ディスク5が装着されているが否が判断しく第2図ステ
ップ51)、装着されていなければステップ50を繰返
し、装着されていればメモリ管理テーブル8をオールク
リア即ちすべてXX(零)を書く(ステップ52)。
The CPU 9 shown in FIG. 1 monitors the disk driver 4 to determine whether or not the disk 5 is installed (step 51 in FIG. 2). If it is not installed, it repeats step 50, and if it is installed, it manages the memory. Table 8 is all cleared, that is, all XX (zero) are written (step 52).

その後、外部からディスク5からあるセクタのデータ読
出し命令があったか否か判断しくステップ53)、読出
し命令があった場合読出し手段9bによってメモリ6か
ら所定データを読出す一方、自込み手段9aによってそ
のセクタのデータをメモリ6にOベージから順に書込み
、これと共にそのセクタのデータを書込んだメモリ6に
対応するメモリ管理テーブル8のページにそのセクタ番
号を四り(ステップ54)。このステップ52及び53
を、ディスク5がディスクドライバ4から取出されたと
判定されるまで続け、ディスク5が取出されたならばス
テップ50に戻る(ステップ55)。
Thereafter, it is determined whether or not there is an external command to read data from a certain sector from the disk 5 (step 53). If there is a read command, the reading means 9b reads out predetermined data from the memory 6, while the self-programming means 9a reads data from that sector. data is written in the memory 6 sequentially from O page, and the sector number is incremented to the page of the memory management table 8 corresponding to the memory 6 in which the data of the sector is written (step 54). This step 52 and 53
This is continued until it is determined that the disk 5 has been ejected from the disk driver 4, and once the disk 5 has been ejected, the process returns to step 50 (step 55).

上記ステップ53.54の詳細を第3図に示す。Details of steps 53 and 54 above are shown in FIG.

外部からディスク5上のセクタ番号が連続するデータ読
出し命令があり(第3図ステップ101)、ディスク5
から所定データが読出されてメモリ6に書込まれる。読
出し命令がなければステップ101を繰り返す。読出し
命令があり、データをメモリに書込むとこれと同時にメ
モリ管理テーブル8に第4図に示す如く、メモリ6に書
込まれたページに対応してそのセクタの番号を書込む。
There is an external command to read data with consecutive sector numbers on the disk 5 (step 101 in FIG. 3), and the disk 5
Predetermined data is read from and written into the memory 6. If there is no read command, step 101 is repeated. When there is a read command and data is written into the memory, at the same time, the sector number corresponding to the page written to the memory 6 is written in the memory management table 8 as shown in FIG.

例えばページOにセクタ番号334、ページ1にセクタ
番号335、・・・を書込むが、これは、メモリ6のペ
ージOに対応する部分にはディスク5上の第334セク
タのプログラムデータ、メモリ6のページ1に対応する
部分にはディスク5上の第335セクタのプログラムデ
ータ、・・・が書込まれていることを示す。本実施例の
場合、100セクタ分のデータを書込むことができる(
100ページ)ものとする。
For example, sector number 334 is written to page O, sector number 335 is written to page 1, etc., but this means that the program data of the 334th sector on the disk 5 is written to the part corresponding to page O of the memory 6, and the program data of the 334th sector on the disk 5 is written. This shows that program data of the 335th sector on the disk 5, . . . has been written in the portion corresponding to page 1. In the case of this embodiment, data for 100 sectors can be written (
100 pages).

上記のように読出し命令があってメモリ6にデータを書
込むと同時にメモリ管理テーブル8にそのデータのセク
タ番号を内込むと、その外部読出し命令によって第にセ
クタからm(m≧1)セクタ分読出すものとしてCPU
9のプログラムの変数jをkに設定する(第3図ステッ
プ102)。次に、メモリ管理テーブル8にj−にσセ
クタ番号が書いであるか否か(j=にのセクタ番号が以
前に読出されたことがあるか否か)を判断しくステップ
103> 、1!いてあればメモリ6からそのセクタ番
号のデータを読出して外部に転送する(ステップ104
)。つまり、ディスク5から一度読出されたデータであ
ればメモリ6に書かれていることがメモリ管理テーブル
8をみればわかるので、従来例のようにわざわざディス
ク5をアクセスしないでもメモリ6から迅速に読出すこ
とができる。
As mentioned above, if there is a read command and the data is written to the memory 6 and the sector number of the data is stored in the memory management table 8 at the same time, the external read command will write data for m (m≧1) sectors from the first sector. CPU as readout
The variable j of the program No. 9 is set to k (step 102 in FIG. 3). Next, it is determined whether or not the σ sector number is written at j− in the memory management table 8 (whether the sector number at j= has been read before). Step 103>, 1! If there is, the data of that sector number is read from the memory 6 and transferred to the outside (step 104).
). In other words, if you look at the memory management table 8, you can see that if the data has been read once from the disk 5, it has been written to the memory 6, so you can quickly read it from the memory 6 without having to go through the trouble of accessing the disk 5 as in the conventional example. I can put it out.

メモリ6から所定セクタの読出しが終了すると、j=j
+1とする(ステップ108)。
When the reading of a predetermined sector from the memory 6 is completed, j=j
+1 (step 108).

メモリ管理テーブル8にJ=にのセクタ番号が田いてな
ければメモリ管理テーブル8中に空き(XX)のページ
があるか否か判断しくステップ105) 、空きページ
があれば読出し命令された所定セクタのデータをディス
ク5から読出してメモリ6のその空きページに自込み、
ここから読出してデータ転送すると共に、メモリ管理テ
ーブル8のその空きページにいまメモリ6から読はした
データのセクタ番号を書込む(ステップ101)。デー
タの読出し、そのデータのセクタ番号の書込みが終了す
ると、j−j+1とする(ステップ108)。
If the sector number J= is not listed in the memory management table 8, it is determined whether there is an empty (XX) page in the memory management table 8 (step 105), and if there is an empty page, the predetermined sector that has been commanded to be read is read. reads the data from the disk 5 and stores it in the empty page of the memory 6,
The data is read from here and transferred, and the sector number of the data just read from the memory 6 is written in the empty page of the memory management table 8 (step 101). When reading the data and writing the sector number of the data is completed, it is set to j−j+1 (step 108).

一方、メモリ管理デープル8に空きページがなければ、
ディスク5から読出してデータ転送すると共に、メモリ
管理テーブル8で最も古く読出したページ(時間的に経
過しているので再度読出しを必要とする確率は少ないと
考えられる)にそのデータのセクタ番号を新たに自込み
(書直し)(ステップ106)1.j=j−1とする(
ステップ108)。上記ステップ103〜108をmセ
クタ分繰返す(ステップ109)。
On the other hand, if there are no free pages in memory management table 8,
At the same time as reading data from the disk 5 and transferring it, a new sector number of the data is added to the oldest read page in the memory management table 8 (since time has elapsed, the probability of needing to read it again is low). (rewrite) (step 106) 1. Let j=j-1 (
Step 108). The above steps 103 to 108 are repeated for m sectors (step 109).

次に、いま読出し命令を行なったセクタ数mはメモリ管
理テーブル8に入れられる最大セクタ数mo(無限大で
もよい) 〈定数)より小さいか否かを判断しく第3図
ステップ110) 、mがmoより大であるような場合
ステップ101に戻り、mがmoより小か同じである場
合はj=に+mとする(ステップ111)。ステップ1
11〜117はステップ102〜109と殆ど同じであ
り、読出し命令を行なったセクタ番号の連続するmセラ
9分に引続くnセラ9分のデータ(第4図に示す如く、
第334セクタ〜第338セクタをmセラ9分とすると
、nセラ9分は第339セクタからnセラ9分となる)
をメモリ6に書込むと共に、そのデータのセクタ番号を
メモリ管理テーブル8に書込む。
Next, it is determined whether the number of sectors m for which the read command has just been executed is smaller than the maximum number of sectors mo (which may be infinite) (a constant) that can be stored in the memory management table 8 (step 110 in FIG. 3), and m is If m is greater than mo, the process returns to step 101, and if m is less than or equal to mo, j=+m is set (step 111). Step 1
Steps 11 to 117 are almost the same as steps 102 to 109, and the data of 9 minutes of n cells following 9 minutes of m cells with consecutive sector numbers for which the read command was performed (as shown in FIG. 4,
If the 334th to 338th sectors are 9 minutes of m cells, 9 minutes of n cells will be 9 minutes from the 339th sector)
is written into the memory 6, and the sector number of the data is written into the memory management table 8.

前述のmセラ9分の読出しと同様に、メモリ管理テーブ
ル8にj−に十mのセクタ番号が書いであるか否かを判
断しくステップ112) 、既に書いてあればメモリ6
からデータとして読出し転送することはせず、j=j+
1とする(ステップ116)。
In the same way as reading the 9th m cell above, it is determined whether or not the sector number 10m is written in j- in the memory management table 8 (step 112), and if it is already written, the memory 6 is read.
j=j+ without reading and transferring it as data from
1 (step 116).

書いてなければメモリ管理テーブル8中に空き(XX)
のページがあるか否か判断しくステップ113) 、空
きページがあれば読出し命令された所定セクタのデータ
をディスク5から読出してメモリ6のその空きページに
自込み、メモリ管理テーブル8のその空きページにいま
メモリ6に履込んだデータのセクタ番号を書込む(ステ
ップ115)。
If not written, there is space in memory management table 8 (XX)
If there is a free page, the data in the predetermined sector that has been commanded to be read is read from the disk 5 and stored in the free page in the memory 6, and the data in the free page in the memory management table 8 is stored. Then, the sector number of the data just loaded into the memory 6 is written (step 115).

データの書込み、そのデータのセクタ番号の書込みが終
了すると、j−j+1とする(ステップ116)。一方
、メモリ管理テーブル8に空きページがなければ、メモ
リ管理チー1ル8で最も古く読出したページにそのデー
タのセクタ番号を新たに書込み(書直し) 〈ステップ
114)、j =j+1とする(ステップ116)。上
記ステップ112〜116をmセクタ分繰返す(ステッ
プ11γ)。第(k+m)セクタから(k+m+n−1
)セクタまでのnセラ9分のデータをメモリ6に書込み
終るとステップ101に戻る。
When the writing of data and the sector number of the data are completed, it is set to j−j+1 (step 116). On the other hand, if there is no free page in the memory management table 8, the sector number of the data is newly written (rewritten) to the oldest page read in the memory management table 8 (step 114), and j = j + 1 ( Step 116). The above steps 112 to 116 are repeated for m sectors (step 11γ). From (k+m)th sector to (k+m+n-1
) When the data for nine n cells up to the sector has been written to the memory 6, the process returns to step 101.

上記のように連続するmセラ9分の続出し命令があった
時、そのmセラ9分に引続くnセラ9分のデータがメモ
リ6に書込まれていない場合はディスク5から読出して
メモリ6に肉込んで用意しておく。これにより、nセラ
9分の読出し命令があった時は従来のようにわざわざデ
ィスク5をアクセスしないでもメモリ6から迅速に読出
すことができる。このとき、使用者がディスク5上の特
定部分を集中してアクセスしている場合にも、常にメモ
リ6内には必要データ(mセラ9分のデータ及びこれに
続くnセラ9分のデータ)が書込まれでいることになる
のでCPU9の処理効率が向上する。更に、mセラ9分
の読出し命令が前述のmoセクタ分より小さい時のみn
セラ9分の出込みを行なうことで、ある一定のセクタ数
以下のアクセスを行なった時にのみ動作することになり
(つまり、セクタ数の少ない小さいディスクに対しての
み、nセクタ分余分に書込む)。通常アクセスを行なう
セクタの占める割合が低いセクタ数の多い大きいディス
クに対してはこのようなnセラ9分の書込みを行なわな
い分だけ他の処理を行なうことができ、効率が向上する
As mentioned above, when there is a command to continue reading 9 minutes of m cells, if the data for 9 minutes of n cells following that 9 minutes of m cells has not been written to the memory 6, it is read from the disk 5 and stored in the memory. Add meat to Step 6 and prepare. As a result, when there is a read command for 9 n cells, the data can be quickly read from the memory 6 without having to go to the trouble of accessing the disk 5 as in the conventional case. At this time, even if the user concentrates on accessing a specific part of the disk 5, the necessary data (data for 9 m cells and data for 9 subsequent n cells) is always stored in the memory 6. is written, so the processing efficiency of the CPU 9 is improved. Furthermore, only when the read command for 9 m cells is smaller than the above-mentioned mo sector, n
By performing read/write for 9 seconds, it will only work when accessing less than a certain number of sectors (in other words, it will only write an extra n sectors to a small disk with a small number of sectors). ). For a large disk with a large number of sectors in which the ratio of normally accessed sectors is low, other processing can be performed by the amount of writing for nine n cells, and efficiency is improved.

発明の詳細 な説明した如く、本発明によれば、mセラ9分のデータ
に引続くnセラ9分のデータ読出し命令があった場合、
このnセラ9分のデータをディスクをアクセスする必要
な(記憶手段から直接読出し得、外部命令に対して迅速
に対応できる。
As described in detail, according to the present invention, when there is a command to read data for 9 n cells following 9 m cells,
It is possible to directly read out the data for nine n cells from the storage means necessary to access the disk, and to respond quickly to external commands.

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

第1図は本発明方法の一実施例を説明するブロック図、
第2図はメモリ管理テーブルへの書込み動作のフローチ
ャート、第3図はデータ読出し及びメモリ管理テーブル
への自込み動作のフローチャート、第4図はメモリ管理
テーブルの構造を示す図、第5図は従来装置の一例のブ
ロック図である。 1・・・外部命令入力端子、4・・・ディスクドライバ
、5・・・ディスク、6・・・メモリ、7・・・データ
出力端子、8・・・メモリ管理テーブル、9・・・CP
U、9a・・・書込み手段、9b・・・読出し手段10
・・・ディスク制御装置。 特許出願人 日本ビクター株式会社 第 図
FIG. 1 is a block diagram illustrating an embodiment of the method of the present invention;
Fig. 2 is a flowchart of the write operation to the memory management table, Fig. 3 is a flowchart of the data read and automatic write operation to the memory management table, Fig. 4 is a diagram showing the structure of the memory management table, and Fig. 5 is the conventional FIG. 2 is a block diagram of an example of a device. 1... External command input terminal, 4... Disk driver, 5... Disk, 6... Memory, 7... Data output terminal, 8... Memory management table, 9... CP
U, 9a...writing means, 9b...reading means 10
...Disk control device. Patent applicant: Victor Japan Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] (1)複数セクタのデータを記録されている既記録媒体
から外部命令によつて所定セクタのデータを読出して記
憶手段に書込み、ここから読出して外部にデータ転送を
行なうデータ読出し方法において、 セクタ番号が連続しているm(m≧1)セクタ分のデー
タ読出し命令があったとき、該mセクタ分のデータを読
出し転送する一方、該mセクタ分のデータに引続く次の
nセクタ分のデータが上記記憶手段に書込まれていない
場合は該nセクタ分のデータを上記既記録媒体から読出
して上記記録手段に書込み、 その後、上記nセクタ分のデータ読出し命令があつたと
き、上記記憶手段から上記nセクタ分のデータを読出し
転送することを特徴とするデータ読出し方法。
(1) In a data reading method in which a predetermined sector of data is read from an existing recording medium on which multiple sectors of data are recorded by an external command, written to a storage means, read from there, and transferred to the outside, the sector number When there is a command to read data for m consecutive sectors (m≧1), the data for the m sectors is read and transferred, while the data for the next n sectors following the data for the m sectors is read and transferred. is not written in the storage means, read the data for the n sectors from the recorded medium and write it in the storage means, and then when a command to read the data for the n sectors is received, the storage means A data reading method characterized by reading and transferring data for the n sectors from the above.
(2)該mセクタ分のデータ読出し命令があつたとき該
nセクタ分のデータを上記記憶手段に書込む動作は、 (読出し命令を行なつた数m)≦(上記記憶手段に書込
み可能な最大セクタ数m_0)の時のみ行なうことを特
徴とする請求項1記載のデータ読出し方法。
(2) When there is a command to read data for m sectors, the operation of writing data for n sectors into the storage means is as follows: (Number m of read commands) 2. The data reading method according to claim 1, wherein the data reading method is performed only when the maximum number of sectors (m_0) is reached.
JP63231952A 1988-09-16 1988-09-16 Data reading method Pending JPH0281122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63231952A JPH0281122A (en) 1988-09-16 1988-09-16 Data reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63231952A JPH0281122A (en) 1988-09-16 1988-09-16 Data reading method

Publications (1)

Publication Number Publication Date
JPH0281122A true JPH0281122A (en) 1990-03-22

Family

ID=16931637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63231952A Pending JPH0281122A (en) 1988-09-16 1988-09-16 Data reading method

Country Status (1)

Country Link
JP (1) JPH0281122A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08314803A (en) * 1995-05-23 1996-11-29 Nec Ibaraki Ltd Disk cache controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08314803A (en) * 1995-05-23 1996-11-29 Nec Ibaraki Ltd Disk cache controller

Similar Documents

Publication Publication Date Title
KR100193779B1 (en) Semiconductor disk device
US5805864A (en) Virtual integrated cartridge loader for virtual tape storage system
US6260110B1 (en) Virtual tape system with variable size
US8209693B2 (en) System and method for processing series of processes in given order having processing status generation with tables storing status including beginning, end and existence segment
US5519869A (en) Multi-density data storage backup allowing bootstrap image storage in density required by initial boot code and other system images at higher densities
US4423479A (en) Cache/disk subsystem with acquire write command
US4975872A (en) Dual port memory device with tag bit marking
JPH0281122A (en) Data reading method
EP0660229A1 (en) Method and apparatus for modifying the contents of a register
JP3166659B2 (en) Storage device
JP3022011B2 (en) Data backup system
JPS6240736B2 (en)
JP2845746B2 (en) Micro program controller
JP2507399B2 (en) Database equipment
JP2861846B2 (en) Magnetic disk control system
JP3313207B2 (en) Information storage device and information management method
JP3009168B2 (en) Data processing device
JP2506348B2 (en) Computer system
JP3098414B2 (en) Load module storage method
JP2961781B2 (en) Data processing device
JPH0635626A (en) Memory card device
JPH04111030A (en) Information recorder
JPH01295346A (en) Data destruction preventing system
JPS5841526B2 (en) Channel command word preemption buffer control method
JPH0364896B2 (en)