JPH03160670A - Data reader - Google Patents

Data reader

Info

Publication number
JPH03160670A
JPH03160670A JP30028489A JP30028489A JPH03160670A JP H03160670 A JPH03160670 A JP H03160670A JP 30028489 A JP30028489 A JP 30028489A JP 30028489 A JP30028489 A JP 30028489A JP H03160670 A JPH03160670 A JP H03160670A
Authority
JP
Japan
Prior art keywords
address
reading
read
sector
data
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
JP30028489A
Other languages
Japanese (ja)
Inventor
Masashi Yamawaki
昌史 山脇
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.)
Fujitsu VLSI Ltd
Fujitsu Ltd
Original Assignee
Fujitsu VLSI Ltd
Fujitsu 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 Fujitsu VLSI Ltd, Fujitsu Ltd filed Critical Fujitsu VLSI Ltd
Priority to JP30028489A priority Critical patent/JPH03160670A/en
Publication of JPH03160670A publication Critical patent/JPH03160670A/en
Pending legal-status Critical Current

Links

Landscapes

  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PURPOSE:To eliminate re-reading and to speed up reading by deciding and storing an address to be read next when the reading of the address is judged to be successful, comparing the addresses whenever the address is read and defining it to be an accurate content. CONSTITUTION:A read means 2 reads the address and data of a sector in a recording medium 1. When a judgment means 3 judges that the reading of the having read address is successful, an address counting means 4 decides and stores the address which the means 2 has to be read next based on the address. Then, a comparison means 5 compares the address which the means 4 stores whenever the means 2 reads the address. When they coincide, a data decision means 6 decides that the having read address is the accurate contents. Consequently, a processing operation for re-reading is eliminated even if reading is failed and a read speed can be improved.

Description

【発明の詳細な説明】 [概要] データ読取装置に係り、詳しくは光ディスク等の記録媒
体に記録されたデータを読み取る読取装置に関し、 −アドレスの読み取りを失敗してもその読み取り失敗に
基づく再度のデータ読み取り時間を省略し読み取り速度
の高速化を図り、しかも、正確なデータを読み出すこと
ができることを目的とし、少なくともデータを記憶する
記憶領域とそのデータのアドレスを記憶する記憶領域と
が構成されているセクタが多数連続してトラック上に形
成されてなる記録媒体から各セクタのアドレスとデータ
を読み取る読取手段と、前記読取手段で読み取ったセク
タのアドレスについて読み取りの成功/失敗を判定する
判定手段と、前記判定手段が最初にアドレスの読み取り
に成功と判断した時、前記読取手段が読み取ったアドレ
スに基づいて次に前記読取手段が読み取るべきセクタの
アドレスを決定して記憶し、以後前記読取手段がアドレ
スを読み取る毎に記憶しているアドレスに基づいて次の
アドレスを決定して記憶するアドレス計数手段とアドレ
スの読み取りに成功したとき、その読み取ったアドレス
とアドレス計数手段が記憶するアドレスを比較する比較
手段と、前記比較手段にて両アドレスが一致していると
判定されたとき、その時点で読取手段にて読み取ってい
るセクタのアドレスが正しい内容であると確定するとと
もに、それ以゜前のセクタのアドレス読み取りの失敗に
よってアドレスとの対応が確定していないデータとその
データのアドレスとの対応を確定するデータ確定手段と
から構或した。
[Detailed Description of the Invention] [Summary] It relates to a data reading device, and more specifically to a reading device that reads data recorded on a recording medium such as an optical disk. The purpose is to shorten the data reading time, increase the reading speed, and read out accurate data.At least a storage area for storing data and a storage area for storing the address of the data are configured. reading means for reading the address and data of each sector from a recording medium having a large number of consecutive sectors formed on a track; and determining means for determining success/failure of reading with respect to the address of the sector read by the reading means. , when the determining means first determines that the reading of the address is successful, the address of the sector to be read by the reading means next is determined and stored based on the address read by the reading means, and from then on, the reading means An address counting means that determines and stores the next address based on the stored address each time an address is read, and a comparison that compares the read address with the address stored by the address counting means when the address is successfully read. When it is determined by the comparing means and the comparing means that the two addresses match, it is determined that the address of the sector being read by the reading means at that time is correct, and the contents of the previous sector are determined to be correct. The present invention comprises data whose correspondence with an address has not been determined due to a failure in reading the address, and data determining means which determines the correspondence between the data and the address.

[産業上の利用分野コ 本発明はデータ読取装置に係り、詳しくは光ディスク等
の記録媒体に記録されたデータを読み取る読取装置に関
するものである。
[Industrial Field of Application] The present invention relates to a data reading device, and more particularly to a reading device that reads data recorded on a recording medium such as an optical disk.

光ディスク、磁気ディスク等の記録媒体に記憶されたデ
ータを読み取る読取装置においては周辺機器の高速化に
伴って正確なデータ読み取り及び読み取り速度の高速化
が要求されている。
2. Description of the Related Art In reading devices that read data stored on recording media such as optical disks and magnetic disks, accurate data reading and faster reading speed are required as peripheral devices become faster.

[従来の技術コ 近年、データ記録媒体の1つとして光ディスクが提案さ
れているとともに、そのデータ読み取り装置も種々提案
されている。
[Prior Art] In recent years, optical discs have been proposed as one of data recording media, and various data reading devices have also been proposed.

そして、この光ディスクに記録されたデータを読み取る
データ読取装置の読み取り方法はまずセクタ中の自身の
アドレスが記憶された記憶領域(ID部)からそのアド
レスを読み取って読み取るべきデータを記憶しているセ
クタ(目的セクタ〕かどうかを確認し、目的セクタであ
ればID部に続くデータ記憶領域(データ部)に記憶さ
れたデータを読み取り、反対に目的セクタでない場合及
びID部の読み取り失敗をした場合はそのデータ部に記
憶されたデータを読み取らないで次セクタのアドレス読
み取り処理に移るようにしていた。
The reading method of a data reading device that reads data recorded on this optical disk is to first read the address from the storage area (ID section) where its own address is stored in the sector, and then read the address from the sector that stores the data to be read. (target sector), and if it is the target sector, read the data stored in the data storage area (data part) following the ID part.On the other hand, if it is not the target sector or if reading of the ID part fails, The process moves on to reading the address of the next sector without reading the data stored in the data section.

[発明が解決しようとする課題コ しかしながら、この光ディスクにおいては記録媒体の欠
陥率が高いとともに、表面が密閉されていないことから
埃等の影響を受けやすいという欠点を有している。従っ
て、光ディスクに記録されたデータを読み取る読取装置
においてはデータが記憶されている各セクタ中のID部
に記憶された自身のアドレスの読み取りを失敗してデー
タを読み取ることができない問題が多々生じている。
[Problems to be Solved by the Invention] However, this optical disk has disadvantages in that the defect rate of the recording medium is high and the surface is not sealed, so it is easily affected by dust and the like. Therefore, reading devices that read data recorded on optical discs often fail to read their own address stored in the ID section of each sector where data is stored, and are unable to read the data. There is.

即ち、あるアドレスのセクタから、あるアドレスのセク
タまでの各セクタ中のデータを読み取る場合、1つのセ
クタについてID部のアドレス読み取りを失敗してその
セクタのデータを読み取ることができなかった場合、デ
ータ読取装置は一通りの読み取り動作を終了した後、そ
の読み取りを失敗したセクタのデータを再度読み取るた
めの読み取り処理動作を行うことになる。
In other words, when reading data in each sector from a sector at a certain address to a sector at a certain address, if reading the address of the ID part for one sector fails and the data in that sector cannot be read, the data After the reading device completes one read operation, it performs a read processing operation to reread the data of the sector in which the reading failed.

その結果、その分だけ読み取り時間が長くなり、特に読
み取りエラーの率が高い光ディスクの読取装置において
はその処理が多発し読み取り速度が非常に低下するとい
う問題があった。
As a result, the reading time increases accordingly, and especially in optical disk reading devices with a high rate of reading errors, there is a problem in that the processing is frequent and the reading speed is extremely reduced.

本発明は上記問題点を解消するためになされたものであ
って、その目的はアドレスの読み取りを失敗してもその
読み取り失敗に基づく再度のデータ読み取り時間を省略
し読み取り速度の高速化を図り、しかも、正確なデータ
を読み出すことができるデータ読取装置を提供すること
にある。
The present invention has been made to solve the above-mentioned problems, and its purpose is to omit the time required to read data again based on the read failure even if the address read fails, and to increase the read speed. Moreover, it is an object of the present invention to provide a data reading device that can read accurate data.

[課題を解決するための手段コ 第1図は本発明の原理説明図であって、記録媒体lは少
なくともデータを記憶する記憶領域とそのデータのアド
レスを記憶する記憶領域とが構成されているセクタが多
数連続してトラック上に形威されている。読取手段2は
各セクタのアドレスとデータを読み取る。
[Means for Solving the Problems] FIG. 1 is an explanatory diagram of the principle of the present invention, in which a recording medium 1 is composed of at least a storage area for storing data and a storage area for storing the address of the data. A large number of consecutive sectors are formed on the track. The reading means 2 reads the address and data of each sector.

判定手段3は読取手段2で読み取ったセクタのアドレス
について読み取りの或功/失敗を判定する。アドレス計
数手段4は判定手段3が最初にアドレスの読み取りに或
功と判断した時、読取手段2が読み取ったアドレスに基
づいて次に読取手段2が読み取るべきセクタのアドレス
を決定して記憶し、以後、読取手段2がアドレスを読み
取る毎に記憶しているアドレスに基づいて次のアドレス
を決定して記憶する。
The determining means 3 determines the success/failure of reading the address of the sector read by the reading means 2. The address counting means 4 determines and stores the address of the sector to be read next by the reading means 2 based on the address read by the reading means 2 when the determining means 3 first determines that the reading of the address is successful; Thereafter, each time the reading means 2 reads an address, it determines and stores the next address based on the stored address.

比較手段5はアドレスの読み取りに或功したとき、その
読み取ったアドレスとアドレス計数手段4が記憶するア
ドレスを比較する。データ確定手段6は比較手段5にて
両アドレスが一致していると判定されたとき、その時点
で読取手段2にて読み取っているセクタのアドレスが正
しい内容であると確定するとともに、それ以前のセクタ
のアドレス読み取りの失敗によってアドレスとの対応が
確定していないデータとそのデータのアドレスとの対応
を確定する。
When the comparing means 5 successfully reads an address, it compares the read address with the address stored in the address counting means 4. When the comparison means 5 determines that the two addresses match, the data determination means 6 determines that the address of the sector being read by the reading means 2 at that time is correct, and also The correspondence between data whose correspondence with an address has not been determined due to a failure in reading a sector address and the address of that data is determined.

[作用] アドレスの読み取りを失敗した場合において、アドレス
計数手段4は次に読取手段2が読み取るべきセクタのア
ドレスを自身が記憶しているアドレスに基づいて決定し
記憶することから、次に読み取られるセクタのアドレス
が読み取られたとき、そのアドレスがアドレス計数手段
4に記憶されているアドレスと一致することはそれ以前
にアドレス読み取りに失敗したセクタのアドレスが、そ
のセクタを読み取ったときにアドレス計数手段4に記憶
されていたアドレスと一致していたことを意味する。従
って、その場合には読取手段2が読み取ったアドレス読
み取りの失敗時のデータはアドレスが正しく読み込まれ
た時のデータに相当するものとしてデータ確定手段6は
確定する。その結果、読み取りを失敗したとして再度読
み取り処理動作を行う必要がなくなる。
[Operation] When reading an address fails, the address counting means 4 determines and stores the address of the sector to be read next by the reading means 2 based on the address stored by itself, so that the sector is read next. When the address of a sector is read, the fact that the address matches the address stored in the address counting means 4 means that the address of the sector for which the address reading has failed before is the same as that of the address counting means 4. This means that it matched the address stored in 4. Therefore, in that case, the data determining means 6 determines that the data read by the reading means 2 when the address reading fails corresponds to the data when the address is correctly read. As a result, there is no need to perform the reading process again even if reading has failed.

[実施例] 以下、本発明を光ディスクに記録されたデータを読み取
るデータ読取装置に具体化したー実施例を図面に従って
説明する。尚、光ディスクはスパイラル状に形或された
トラックに多数のセクタが形成され、その各セクタには
自身のアドレスを記憶する記憶領域(ID部)とそのア
ドレスに続いてデータを記憶する記憶領域(データ部)
とが構成されている公知のディスクなので、その詳細は
省略する。
[Example] Hereinafter, an example in which the present invention is embodied in a data reading device for reading data recorded on an optical disc will be described with reference to the drawings. Incidentally, an optical disk has a large number of sectors formed on a spiral-shaped track, and each sector has a storage area (ID section) for storing its own address and a storage area (ID section) for storing data following the address. data section)
Since this is a well-known disk configured with the following, details thereof will be omitted.

第2図において中央処理装置(以下、CPUという)1
1はシステムバスl2を介して制御プログラムメモリ1
3及び書き替え可能な作業用メモリl4と接続され、制
御プログラムメモリl3に記憶されたプログラムに従っ
て動作するとともに、作業用メモリl4にその演算結果
を一時記憶するようになっている。作業用メモリl4は
第3図に示す゜ようにCPUIIが現在処理しているセ
クタのアドレスを記憶する記憶領域(以下、アドレスポ
インタという)14aと、アドレスポインタ14aの内
容が有効であることを示す記憶領域(以下、アドレス有
効フラグという)14cと、ID部に記憶されたアドレ
スの読み取りに失敗したか否かを指示する記憶領域(以
下、IDERフラグという)14bとが形成されている
。そして、IDERフラグ14bはCPUIIがアドレ
スの読み取りに成功した場合には同CPUIIにて「0
」が、反対に失敗した場合には「l」が記憶される。
In FIG. 2, the central processing unit (hereinafter referred to as CPU) 1
1 is connected to the control program memory 1 via the system bus l2.
3 and a rewritable working memory l4, and operates according to the program stored in the control program memory l3, and temporarily stores the calculation results in the working memory l4. As shown in FIG. 3, the working memory l4 includes a storage area (hereinafter referred to as an address pointer) 14a for storing the address of the sector currently being processed by the CPU II, and a storage area for indicating that the contents of the address pointer 14a are valid. An area 14c (hereinafter referred to as an address valid flag) 14c and a storage area 14b (hereinafter referred to as an IDER flag) that indicates whether or not reading of an address stored in the ID section has failed are formed. Then, when the CPU II succeeds in reading the address, the IDER flag 14b is set to "0" by the CPU II.
”, but on the other hand, if it fails, “l” is stored.

又、CPUI lはシステムバス12を介して■DER
レジスタl5が接続されているとともに、フォーマット
制御回路l6が接続されている。IDERレジスタl5
にはCPUIIがアドレスの読み取りを最初に失敗した
その最初のセクタのアドレスが同CPUIIにて記憶さ
れる。フォーマット制御回路l6はCPUIIからの制
御信号に基づいて図示しない記録再生ヘッドを介して各
セクタにアドレス及びデータを記録及び再生する。
In addition, the CPU I is connected to ■DER via the system bus 12.
A register l5 is connected as well as a format control circuit l6. IDER register l5
The address of the first sector in which the CPU II fails to read the address is stored in the CPU II. The format control circuit 16 records and reproduces addresses and data in each sector via a recording/reproducing head (not shown) based on a control signal from the CPU II.

データバッファメモリl7はフォーマット制御回路16
が記録再生ヘッドを介して再生し読み取ったデータ及び
光ディスクに書き込むためのデータが一時記憶される。
Data buffer memory l7 is format control circuit 16
The data read and reproduced by the optical disc via the recording/reproducing head and the data to be written on the optical disc are temporarily stored.

次に、上記のように構成されたデータ読取装置の作用を
CPUllの動作を示す第4図のフローチャートに従っ
て説明する。
Next, the operation of the data reading device configured as described above will be explained with reference to the flowchart of FIG. 4 showing the operation of CPUll.

今、連続したアドレスの複数のセクタのデータを読み取
るためにそれらアドレスが指定されると、ステップlに
てCPUIIは最初に読み取るセクタのアドレス(以下
、目的アドレスといい、この場合アドレス値が最も小さ
い先頭アドレスとなる:を設定するとともに、各フラグ
14b.14cを「0」にセットする。
Now, when those addresses are specified in order to read data in multiple sectors at consecutive addresses, in step 1 the CPU II selects the address of the sector to be read first (hereinafter referred to as the target address; in this case, the address with the smallest address value is The first address is set, and each of the flags 14b and 14c is set to "0".

ステップ2においてCPUIIは記録再生ヘッド及びフ
ォーマット制御回路l6を介して同ヘッドがセクタのア
ドレスの読み取りに成功したか否かをチェックする。そ
して、トラック上のセクタのアドレスが読み取れていな
い場合にはステップ3(ごてアドレス有効フラグ14c
を参照しアドレスポインタl4a゛に現在処理している
セクタのアドレスがすでに記憶されているか否かをチェ
ックし、いまだ記憶されていないことから再びステップ
2に移る。従って、記録再生ヘッドがトラック上のある
セクタのアドレスを読み取るまでこの動作が続けられる
In step 2, the CPU II checks via the recording/reproducing head and format control circuit 16 whether or not the head has successfully read the address of the sector. If the address of the sector on the track cannot be read, step 3 (address valid flag 14c)
It is checked whether the address of the sector currently being processed is already stored in the address pointer l4a', and since it is not stored yet, the process returns to step 2. Therefore, this operation continues until the recording/reproducing head reads the address of a certain sector on the track.

やがて、記録再生ヘッドがあるセクタのアドレスの読み
取りに成功すると、ステップ4にてアドレスポインタ1
4aに現在処理しているセクタのアドレスが記憶されて
いるか否かをチェックし、いまだ記憶されていないこと
から、ステップ5にてそのセクタのアドレスをアドレス
ポインタ14aに記憶するとともに、アドレス有効フラ
グ14cの内容を「l」にする。
Eventually, when the address of the sector where the recording/reproducing head is successfully read, the address pointer 1 is set in step 4.
It is checked whether the address of the sector currently being processed is stored in step 4a, and since it is not stored yet, the address of the sector is stored in the address pointer 14a in step 5, and the address valid flag 14c is Set the content to "l".

次に、ステップ6にてそのアドレスポインタ14aに記
憶したアドレスが前記ステップlにて設定した目的アド
レス(読み取りたいセクタの先頭アドレス)であるかど
うかを判断し、目的のアドレスのセクタでない場合には
ステップ7にてアドレスポインタ14aに記憶した先の
アドレスを先のセクタの次に読み取られる先のセクタに
続く次のセクタのアドレスに更新して、再びステップ2
に移る。
Next, in step 6, it is determined whether the address stored in the address pointer 14a is the target address (start address of the sector to be read) set in step 1, and if it is not the sector of the target address, The destination address stored in the address pointer 14a in step 7 is updated to the address of the next sector following the destination sector to be read next to the previous sector, and step 2 is performed again.
Move to.

次に、CPUI 1は記録再生ヘッドが先のセクタに続
く隣接した次のセクタのアドレスの読み取りに威功した
か否かをチェックし、次のセクタのアドレスの読み取り
に威功した場合にはステップ4にてアドレス有効フラグ
14cを参照しアドレスポインタ14aにアドレスが記
憶されているか否かをチェックし、既にこの場合には先
にステップ7で更新したアドレス(次に読み取られるは
ずのセクタのアドレス)が記憶されていることから、ス
テップ8の処理動作に移る。
Next, the CPU 1 checks whether the recording/reproducing head successfully reads the address of the next sector adjacent to the previous sector, and if it succeeds in reading the address of the next sector, then steps In step 4, the address valid flag 14c is referenced to check whether an address is stored in the address pointer 14a, and if this is the case, the address previously updated in step 7 (the address of the sector to be read next) Since this is stored, the process moves to step 8.

ステップ8においてアドレスポインタ14aに記憶した
アドレスと記録再生ヘッドが読み取った現在のセクタに
おけるID部のアドレスとが一致しているか否かをチェ
ックする。即ち、このステップ8にてアドレスの読み取
りを失敗しないで記録再生ヘッドがトラック上の各セク
タに対して昇順して各セクタを検索しているかをチェッ
クしている。
In step 8, it is checked whether the address stored in the address pointer 14a and the address of the ID section in the current sector read by the recording/reproducing head match. That is, in step 8, it is checked whether the recording/reproducing head searches each sector on the track in ascending order without failing to read the address.

そして、記録再生ヘッドにて次に読み取られるはずのセ
クタのアドレスが読み取られると、アドレスの読み取り
に成功したとしてステップ9にてIDERフラグ14b
の内容をrQJにした後、前記ステップ6に移り、その
読み取り戚功したセクタが前記目的アドレスであるかど
うかを判断する。記録再生ヘッドが見つけたセクタのア
ドレスが目的アドレスのセクタでない場合にはステップ
7にてアドレスポインタ14aに記憶した先のアドレス
を最初のセクタに続く次のセクタのアドレスの値に更新
して、再びステップ2に移る。
When the address of the sector to be read next is read by the recording/reproducing head, the IDER flag 14b is set in step 9, indicating that the address has been successfully read.
After setting the contents to rQJ, the process moves to step 6, where it is determined whether the successfully read sector is the target address. If the address of the sector found by the recording/reproducing head is not the target address sector, in step 7 the destination address stored in the address pointer 14a is updated to the value of the address of the next sector following the first sector, and the process is repeated. Move on to step 2.

従って、記録再生ヘッドが目的アドレスのセクタを読み
取るまで同様な処理動作を続ける。尚、この動作を繰り
返している際、ステップ2においてトラック上のセクタ
のアドレスの読み取りを失敗した場合にはアドレスポイ
ンタ14aに現在処理しているセクタのアドレスが記憶
されていることからステップ3を介してステップlOに
移る。
Therefore, similar processing operations continue until the recording/reproducing head reads the sector at the target address. When repeating this operation, if the address of the sector on the track fails to be read in step 2, the address of the sector currently being processed is stored in the address pointer 14a, so step 3 is performed. Then, proceed to step IO.

ステップlOにおいてそのアドレスポインタ14aに記
憶したアドレスが前記目的アドレスであるかどうかを判
断し、目的アドレスのセクタでない場合にはステップI
Iにてアドレスポインタ14aに記憶したそのアドレス
を現在のセクタに続く次のセクタのアドレスの値に更新
して、再びステップ2に移る。
In step IO, it is determined whether the address stored in the address pointer 14a is the target address, and if it is not the sector of the target address, step I
The address stored in the address pointer 14a at step I is updated to the value of the address of the next sector following the current sector, and the process returns to step 2.

やがて、記録再生ヘッドが読み取ったセクタのアドレス
がステップ6にて目的アドレスと判断されると、ステッ
プl2にて目的アドレスと一致する記録再生ヘッドが現
在処理しているセクタのデータ部に記憶されているデー
タを同ヘッドを介して読み取る。
Eventually, when the address of the sector read by the recording/reproducing head is determined to be the target address in step 6, the address corresponding to the target address is stored in the data portion of the sector currently being processed by the recording/reproducing head in step 12. The data contained in the data is read through the same head.

データを読み取りたい最初のアドレスのセクタのデータ
読み取りが終わると、ステップl3にてデータの読み取
りエラーがあったか否かをチェックし、エラーが発生し
ていたならばステップ14にて読み取りエラーが生じた
旨のエラー報告を例えば外部装置に出力した後、ステッ
プl5に移る。
When the data reading of the sector at the first address from which data is to be read is completed, it is checked in step l3 whether or not there was a data reading error, and if an error has occurred, a notification that a reading error has occurred is determined in step 14. After outputting the error report to, for example, an external device, the process moves to step 15.

反対に、エラーが発生していなければ直ちにステップ゛
15に移る。
On the other hand, if no error has occurred, the process immediately moves to step 15.

ステップl5においてはデータ読取処理動作を続けるか
否かをチェックする。即ち、ステップlにおいて設定し
た連続したアドレスの複数のセクタのデータについて全
て読み取りが終了したか否かを判断する。この段階では
最初のセクタのデータを読み取っただけなので、ステッ
プl6において最初、即ち先頭アドレスのセクタに続く
隣接する次のセクタのアドレスを新たな目的アドレスと
して更新設定する。そして、目的アドレスの更新が終わ
ると、前記したステップ7に移りアドレスポインタ14
aに記憶した先のアドレス(この場合は先頭アドレスと
なる).を先頭アドレスの次に読み取られるはずの次の
セクタのアドレス(即ちこの場合は更新された目的のア
ドレスに相当する)にして、再びステップ2に移る。
In step 15, it is checked whether the data reading processing operation is to be continued. That is, it is determined whether reading of all data in a plurality of sectors at consecutive addresses set in step 1 has been completed. At this stage, only the data of the first sector has been read, so in step 16, the address of the next sector adjacent to the first, ie, the first address, sector is updated and set as a new target address. When the update of the target address is completed, the process moves to step 7 described above and the address pointer 14
The destination address stored in a (in this case, it will be the first address). is set as the address of the next sector to be read after the first address (that is, in this case corresponds to the updated target address), and the process returns to step 2.

以後、ステップ1において設定した複数のセクタ全ての
データの読み取りが終了するまで、ステップ2, 4,
 8, 9, 6, 12. 13〜16,及び7の処
理動作を繰り返し行う。
Thereafter, steps 2, 4, and 4 are performed until reading of data from all the multiple sectors set in step 1 is completed
8, 9, 6, 12. Processing operations 13 to 16 and 7 are repeated.

次に、設定した複数のセクタ全てのデータの読み取りを
行っている場合において、何らかの原因で当該目的アド
レスのセクタにおけるID部のアドレスの読み取りを失
敗した場合について説明する。
Next, a case will be described in which, while data is being read from all of a plurality of set sectors, reading of the address of the ID part in the sector of the target address fails for some reason.

ステップ2においてアドレスの読み取り失敗を判断し、
続いてステップ3においてアドレスポインタ14aには
ステップ7にて求められた次に読み出されるはずのアド
レスが記憶されていることからステップlOに移る。ス
テップlOにおいてそのアドレスポインタ14aに記憶
した次に読み出されるはずのアドレスが目的のアドレス
であるかどうかを判断する。この設定した複数のセクタ
全てのデータの読み取りを繰り返し実行しているときに
はアドレスポインタ14aに記憶されているアドレスは
常に更新設定された目的アドレスと一致することから、
ステップl7に移りIDERフラグ14bの内容が「0
」か「l」かをチェックする。このとき、初めての読み
取り失敗であって先の処理動作のステップl又はステッ
プ9で「01となっていることから、ステップl8にて
その時のアドレスポインタ14aに記憶した次に読み出
されるはずのアドレス、即ち読み取り失敗したアドレス
をI DERレジスタl5に記憶するとともに、アドレ
スの読み取りに失敗したとしてIDERフラグ14bの
内容を「l」にする。従って、このI DERレジスタ
l5には最初に読み取り失敗したアドレスが記憶される
ことになる。
In step 2, determine if the address has failed to read,
Subsequently, in step 3, the address pointer 14a stores the address determined in step 7 and to be read next, so the process moves to step 10. In step IO, it is determined whether the address stored in the address pointer 14a and to be read next is the target address. When the data of all the set sectors is repeatedly read, the address stored in the address pointer 14a always matches the updated target address.
The process moves to step l7, and the content of the IDER flag 14b is "0".
” or “l”. At this time, since this is the first read failure and "01" was found in step 1 or step 9 of the previous processing operation, the address to be read next stored in the address pointer 14a at that time in step 18, That is, the address for which reading has failed is stored in the IDER register l5, and the content of the IDER flag 14b is set to "l", indicating that the reading of the address has failed. Therefore, this IDER register 15 stores the address for which reading failed for the first time.

続いて、前記したステップl2に移り、そのアドレスの
読み取りを失敗したセクタのデータ部に記録されている
データを記録再生ヘッドを介して読み取る。即ちID部
のアドレスの読み取りが失敗しても当該セクタのデータ
部に記憶されたデータは読み取られる。
Next, the process moves to step 12 described above, and the data recorded in the data portion of the sector whose address has failed to be read is read via the recording/reproducing head. That is, even if reading the address of the ID section fails, the data stored in the data section of the sector is read.

そして、データ部のデータ読み取りが終わると、ステッ
プl3にデータの読み取りエラーがあったか否かを判断
し、エラーが発生していればステップl4にて読み取り
エラーが生じた旨のエラ一報告を出力した後、ステップ
l5に移る。エラーが発生していなければ直ちにステッ
プ15に移る。
When the data reading of the data section is completed, it is determined in step l3 whether or not there was a data reading error, and if an error has occurred, an error report indicating that a reading error has occurred is output in step l4. After that, the process moves to step l5. If no error has occurred, the process immediately moves to step 15.

ステップl5においてデータ読取処理動作を続けるか否
かをチェックする。そして、全て設定したセクタのデー
タ読み取りが終了していないので、ステップl6におい
て読み取りを失敗した当該アドレスのセクタに続く次の
セクタのアドレスを新たな目的アドレスとして更新設定
する。そして、目的アドレスの更新が終わると、前記し
たステップ7に移りアドレスポインタ14aに記憶した
先のアドレス(この場合は読み取り失敗したアドレスと
なる)を次のセクタのアドレス(即ち、更新された目的
アドレスに相当する)にして、再びステップ2に移る。
In step 15, it is checked whether or not to continue the data reading processing operation. Then, since data reading of all set sectors has not been completed, in step 16, the address of the next sector following the sector of the address whose reading failed is updated and set as a new target address. When the update of the target address is completed, the process moves to step 7 described above, and the destination address stored in the address pointer 14a (in this case, the address for which reading failed) is transferred to the address of the next sector (that is, the updated target address ) and move to step 2 again.

そして、次に処理される目的アドレスのセクタにおける
ID部のアドレスの読み取りに成功すると、ステップ2
,4.8の処理動作を実行する。
When the address of the ID part in the sector of the target address to be processed next is successfully read, step 2
, 4.8 are executed.

ステップ8においてアドレスポインタ14aのアドレス
と記録再生ヘッドが読み取った現在のセクタにおけるI
D部のアドレスとが一致しているか否かをチェックする
。記録再生ヘッドが正常にトラック上の各セクタに対し
て昇順して各セクタを検索゜しているならば、アドレス
ポインタ14aのアドレスと記録再生ヘッドが読み取っ
たID部のアドレスとが一致する。これによって、先に
アドレス読み取り失敗してIDERレジスタl5にその
アドレスが記憶されているセクタを処理したときにも記
録再生ヘッドが正しい位置にあったと判断できる。
In step 8, the address of the address pointer 14a and the I in the current sector read by the recording/reproducing head.
It is checked whether the address of part D matches or not. If the recording/reproducing head normally searches each sector on the track in ascending order, the address of the address pointer 14a and the address of the ID section read by the recording/reproducing head match. As a result, it can be determined that the recording/reproducing head is in the correct position even when a sector whose address has previously failed to be read and whose address is stored in the IDER register 15 is processed.

従って、次のステップ9にてIDERフラグ14bの内
容を「l」から「0」にして先にステップl8でI D
ERレジスタl5に記憶したアドレスのセクタを正常に
処理できたものとした後、前記ステップ6に移り、その
読み取り成功したセクタが目的アドレスであるかどうか
を判断する。
Therefore, in the next step 9, the content of the IDER flag 14b is changed from "l" to "0", and first, in step l8, the IDER flag 14b is changed from "l" to "0".
After determining that the sector at the address stored in the ER register 15 has been successfully processed, the process moves to step 6, where it is determined whether the successfully read sector is the target address.

そして、前記と同様に記録再生ヘッドが各セクタに対し
て昇順して各セクタを検索していることから、記録再生
ヘッドが読み取ったセクタのアドレスと目的アドレスと
は一致する。
Since the recording/reproducing head searches each sector in ascending order as described above, the address of the sector read by the recording/reproducing head matches the target address.

そして、前記と同様にステップI2に移り、そのアドレ
スの読み取りに成功したセクタのデータ部に記録されて
いるデータを読み取り、ステップl3にてデータの読み
取りエラーの発生をチェックし、エラーがあればステッ
プl4でエラー報告した後に、エラーがなければ直ちに
ステップ15,16,7及びステップ2に移る。
Then, in the same manner as described above, the process moves to step I2, and the data recorded in the data section of the sector whose address was successfully read is read, and the occurrence of a data read error is checked in step l3, and if there is an error, the step After reporting an error in step 14, if there is no error, the process immediately moves to steps 15, 16, 7 and step 2.

尚、連続してアドレスの読み取りを失敗した場合にはス
テップ2、3を経てステップ10に移るが、ステップ1
0においてもこの設定した複数のセクタ全てのデータの
読み取りを繰り返し実行しているときにはアドレスポイ
ンタ14aに記憶されているアドレスは更新設定された
目的アドレスと一致することから、ステップ17を経て
直ちにステップ12の当該アドレスのセクタにおけるデ
ータ部に記憶されたデータを読み込む。従って、この場
合にもID部のアドレスの読み取りが失敗しても当該セ
クタのデータ部に記憶されたデータは読み取られる。
Note that if the address reading fails consecutively, the process moves to step 10 via steps 2 and 3, but step 1
Even in step 0, when data is repeatedly read from all of the set sectors, the address stored in the address pointer 14a matches the updated target address, so step 17 is immediately followed by step 12. The data stored in the data section of the sector of the address concerned is read. Therefore, even in this case, even if reading the address of the ID section fails, the data stored in the data section of the sector is read.

そして、次のセクタにおけるID部のアドレスの読み取
りに成功すると、ステップ2,4,8,9,6.12を
経てデータ部のデータが読み込まれる。
When the address of the ID section in the next sector is successfully read, the data in the data section is read through steps 2, 4, 8, 9, and 6.12.

以゜後、読み取り失敗がないかぎりステップlにおいて
設定した全てのセクタのデータの読み取りが終了するま
で、ステップ2,  4.  8,  9,  6,1
2,13〜16,及び7の処理動作を繰り返し行う。
Thereafter, unless there is a reading failure, steps 2, 4. are performed until reading of data in all sectors set in step 1 is completed. 8, 9, 6, 1
Processing operations 2, 13 to 16, and 7 are repeated.

従って、設定した全てのセクタのデータの読み取りが行
われている場合においては、セクタのID部に記録され
たアドレスの読み取りに失敗しても、当該セクタのデー
タ部に記憶されたデータをステップ12において読み込
むとともに、その読み込んだセクタのアドレスをその目
的アドレスのセクタであると推定してステップl6及び
ステップ7にて次の目的アドレスを更新設定しかつ次に
読み込まれるアドレスを予測してアドレスポインタ14
aに記憶し、次の新たなセクタのID部のアドレスの読
み取りが威功し、ステップ8にてその予測したアドレス
とそのID部のアドレスとが一致したとき、先の読み取
り失敗したアドレスは推定した通りのアドレスであって
、先の処理で事前にそのアドレスにおけるセクタのデー
タを読み込んでいるので、続けて残るセクタのデータ読
み取り処理動作を行うだけでよいことになる。
Therefore, if the data of all the set sectors is being read, even if reading of the address recorded in the ID part of the sector fails, the data stored in the data part of the sector will be read in step 12. At the same time, the address of the read sector is estimated to be the sector of the target address, and the next target address is updated and set in step 16 and step 7, and the next address to be read is predicted and the address pointer 14 is read.
If the address of the ID part of the next new sector is successfully read and the predicted address matches the address of the ID part in step 8, the address for which the previous read failed is estimated. Since the data in the sector at that address has been read in advance in the previous process, it is only necessary to continue reading the data in the remaining sector.

そして、設定した全てのセクタのデータの読み取りを終
了したことがステップl5にて判断されると、ステップ
l9にてその時のI DERフラグ14bの内容が「0
」か「lJかをチェックする。
When it is determined in step 15 that reading of data in all set sectors has been completed, in step 19 the content of the IDER flag 14b at that time is set to "0".
” or “lJ.”

即ち、最後のセクタのデータを読み込んだとき、その読
み込みがセクタのID部のアドレスの読み取り失敗の場
合のものか成功の場合のものかをチェックする。I D
ERフラグ14bの内容が「0」のとき、即ち読み取り
に成功した場合のものであるならばそのまま読み取り処
理動作を終了する。
That is, when the data of the last sector is read, it is checked whether the reading is a failure or a success in reading the address of the ID part of the sector. ID
When the content of the ER flag 14b is "0", that is, when the reading is successful, the reading processing operation is immediately terminated.

反対に、最後のセクタにおいてアドレスの読み取りが失
敗している場合には、その最後のセクタのアドレスが推
定のままで確定していないので、ステップ20において
アドレスポインタ14aに記憶されているアドレスを次
のセクタのアドレスに更新した後、ステップ2lにおい
てデータが読み取られる最後のセクタの次のデータの読
み取りをしないセクタのアドレスの読み取りを行い、ア
ドレスが読み取られるまでステップ20.21を繰り返
す。
On the other hand, if the reading of the address in the last sector fails, the address of the last sector is still estimated and has not been determined, so in step 20, the address stored in the address pointer 14a is transferred to the next address. After updating to the address of the sector, in step 2l, the address of the sector in which no data is to be read next to the last sector from which data is read is read, and steps 20.21 are repeated until the address is read.

そして、読み取りに成功したとき、ステップ22におい
てその読み取ったID部のアドレスとアドレスポインタ
14aに記憶した推定状態にあるアドレスとを比較する
。そして、両アドレスが一致する場合には最後のセクタ
のアドレスは目的アドレスであると確定して読み取り処
理動作を終了する。反対に、一致しない場合にはステッ
プ23において不一致のエラー報告をして読み取り処理
動作を終了する。
When the reading is successful, in step 22, the read address of the ID section is compared with the address in the estimated state stored in the address pointer 14a. If the two addresses match, it is determined that the address of the last sector is the target address, and the read processing operation ends. On the other hand, if they do not match, an error of mismatch is reported in step 23 and the reading processing operation is terminated.

又、ステップ8において読み取ったID部のアドレスと
アドレスポインタ14aに記憶したアドレスとが一致し
ない場合にはステップ24においてその時のIDERフ
ラグ14bの内容が「0」か「lJかをチェックする。
If the address of the ID section read in step 8 does not match the address stored in the address pointer 14a, it is checked in step 24 whether the content of the IDER flag 14b at that time is "0" or "lJ".

IDERフラグ14bの内容がrlJのとき、ステップ
25において■DERレジスタl5に記憶されている最
初に読み取りを失敗したアドレスとともにID部の読み
取りを失敗した旨のエラー報告を行った後、直ちに読み
取り処理動作を終了する。
When the content of the IDER flag 14b is rlJ, in step 25, an error report indicating that reading of the ID section has failed along with the first failed reading address stored in the DER register l5 is reported, and then the reading process is immediately performed. end.

反対に、IDERフラグ14bの内容が「0」のとき、
ステップ26において現アドレスにおいてID部の読み
取りに失敗した旨のエラー報告を行った後、直ちに読み
取り処理動作を終了する。
On the other hand, when the content of the IDER flag 14b is "0",
In step 26, an error report is made to the effect that the reading of the ID section has failed at the current address, and then the reading processing operation is immediately terminated.

このように本実施例においては、従来のように一通り全
部のセクタのデータ読み取り処理動作を行った後に失敗
したセクタのデータ読み取りの処理動作をあらためて行
うことがないので、読み取り処理時間は非常に短縮され
、しかも正確なデータを読み取ることができる。
In this way, in this embodiment, unlike the conventional method, there is no need to read data from a sector that has failed after reading data from all sectors, so the read processing time is significantly reduced. It is possible to read shortened and accurate data.

尚、目的セクタの物理アドレスは必ずしも連続している
必要はなく、目的セクタと目的セクタでないセクタとが
交互に現れてもよい。
Note that the physical addresses of the target sectors do not necessarily have to be consecutive, and target sectors and non-target sectors may appear alternately.

又、本発明は前記実施例に限定されるものではナ<、光
ディスク以外の磁気ディスク等その他記録媒体に使用さ
れるデータ読取装置に応用してもよいことは勿論である
Furthermore, the present invention is not limited to the above-mentioned embodiments, and may of course be applied to data reading devices used for other recording media such as magnetic disks other than optical disks.

[発明の効果コ 以上詳述したように、本発明はアドレスの読み取り゛を
失敗してもその読み取り失敗に基づく再度のデータ読み
取り処理動作を省略することができ、読み取り速度の高
速化を図ることができる優れた効果を有する。
[Effects of the Invention] As described in detail above, the present invention is capable of omitting the data read processing operation again based on the read failure even if an address reading fails, thereby increasing the reading speed. It has excellent effects.

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

第l図は本発明の原理説明図、 第2図は本発明を具体化したデータ読取装置の電気ブロ
ック回路図、 第3図は作業用メモリの内容を示す説明図、第4図はデ
ータ読取装置の作用を説明するためのフローチャートで
ある。 図中、 1は記録媒体、 2は読取手段、 3は判定手段、 4はアドレス計数手段、 5は比較手段、 6はデータ確定手段である。 第 2 図 本発明を具体化したデータ読取装置の電気ブロック回路
図1/ 第 3 図 作業用メモリの内容を示す説明図
Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is an electrical block circuit diagram of a data reading device embodying the invention, Fig. 3 is an explanatory diagram showing the contents of the working memory, and Fig. 4 is a data reading device. It is a flowchart for explaining the operation of the device. In the figure, 1 is a recording medium, 2 is a reading means, 3 is a determining means, 4 is an address counting means, 5 is a comparing means, and 6 is a data determining means. Fig. 2 Electrical block circuit diagram of a data reading device embodying the present invention 1/ Fig. 3 An explanatory diagram showing the contents of the working memory

Claims (1)

【特許請求の範囲】 少なくともデータを記憶する記憶領域とそのデータのア
ドレスを記憶する記憶領域とが構成されているセクタが
多数連続してトラック上に形成されてなる記録媒体(1
)から各セクタのアドレスとデータを読み取る読取手段
(2)と、 前記読取手段(2)で読み取ったセクタのアドレスにつ
いて読み取りの成功/失敗を判定する判定手段(3)と
、 前記判定手段(3)が最初にアドレスの読み取りに成功
と判断した時、前記読取手段(2)が読み取ったアドレ
スに基づいて次に前記読取手段(2)が読み取るべきセ
クタのアドレスを決定して記憶し、以後前記読取手段(
2)がアドレスを読み取る毎に記憶しているアドレスに
基づいて次のアドレスを決定して記憶するアドレス計数
手段(4)と、 アドレスの読み取りに成功したとき、その読み取ったア
ドレスとアドレス計数手段(4)が記憶するアドレスを
比較する比較手段(5)と、前記比較手段(5)にて両
アドレスが一致していると判定されたとき、その時点で
読取手段(2)にて読み取っているセクタのアドレスが
正しい内容であると確定するとともに、それ以前のセク
タのアドレス読み取りの失敗によってアドレスとの対応
が確定していないデータとそのデータのアドレスとの対
応を確定するデータ確定手段(6)とからなるデータ読
取装置。
[Scope of Claims] A recording medium (1
); reading means (2) for reading the address and data of each sector from the reading means (2); determining means (3) for determining success/failure of reading with respect to the address of the sector read by the reading means (2); and the determining means (3). ) first determines that the reading of the address is successful, the reading means (2) determines and stores the address of the sector to be read next based on the address read by the reading means (2), and from then on, the reading means (2) determines and stores the address of the sector to read. Reading means (
2) includes an address counting means (4) that determines and stores the next address based on the stored address each time it reads an address; When the comparing means (5) compares the addresses stored in 4) and the comparing means (5) determines that both addresses match, the reading means (2) reads the addresses at that point. Data determining means (6) for determining that the address of the sector is correct, and determining the correspondence between data whose correspondence with the address has not been determined due to a failure in reading the address of the previous sector and the address of that data. A data reading device consisting of.
JP30028489A 1989-11-16 1989-11-16 Data reader Pending JPH03160670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30028489A JPH03160670A (en) 1989-11-16 1989-11-16 Data reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30028489A JPH03160670A (en) 1989-11-16 1989-11-16 Data reader

Publications (1)

Publication Number Publication Date
JPH03160670A true JPH03160670A (en) 1991-07-10

Family

ID=17882940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30028489A Pending JPH03160670A (en) 1989-11-16 1989-11-16 Data reader

Country Status (1)

Country Link
JP (1) JPH03160670A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995009421A1 (en) * 1993-09-29 1995-04-06 Sony Corporation Method and device for reproducing data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995009421A1 (en) * 1993-09-29 1995-04-06 Sony Corporation Method and device for reproducing data
US5623459A (en) * 1993-09-29 1997-04-22 Sony Corporation Method and apparatus for error correcting reproduced data
KR100319990B1 (en) * 1993-09-29 2002-04-22 이데이 노부유끼 Data playback method and data playback device

Similar Documents

Publication Publication Date Title
JPH0773602A (en) Optical disk device
JP2000228070A (en) Alternating processing method and information recording and reproducing device
JPH02216672A (en) Optical disk drive device
US5467361A (en) Method and system for separate data and media maintenance within direct access storage devices
JPH0444688A (en) Optical disk driving device
JPH0654586B2 (en) Track byte guarantee method
JP2001331377A (en) Processing method for reproduction error, and disk device using the same
JPH03160670A (en) Data reader
US5091909A (en) Method for writing/reading of data in magnetic disk subsystem
JP3289931B2 (en) Information recording / reproducing device
JPH0528651A (en) Information recorder and reproducer
JPS6013360A (en) Storage device
JPH04311218A (en) External storage controller
JPS5928247A (en) Optical disk processor
JPS6139979A (en) Control device of magnetic disk
JPH0561614A (en) Method for controlling disk system
JPH0233772A (en) Information recording system
JPS59146358A (en) Error correction system
JPS6032165A (en) Control method for read-out of disk
JP2002298512A (en) Device and method for controlling disk access
JPH0883151A (en) Magnetic disk device
JPH0240169A (en) Alternate processing method for disk device
JPH10269729A (en) Disk apparatus
JPH04311217A (en) External storage controller
JPS5994243A (en) Optical disk processor