JPS62162282A - Recording medium processing system - Google Patents

Recording medium processing system

Info

Publication number
JPS62162282A
JPS62162282A JP375986A JP375986A JPS62162282A JP S62162282 A JPS62162282 A JP S62162282A JP 375986 A JP375986 A JP 375986A JP 375986 A JP375986 A JP 375986A JP S62162282 A JPS62162282 A JP S62162282A
Authority
JP
Japan
Prior art keywords
sector
flag
recorded
data
recording medium
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
JP375986A
Other languages
Japanese (ja)
Inventor
Katsuaki Kamitsu
上津 勝昭
Minoru Ozaki
稔 尾崎
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP375986A priority Critical patent/JPS62162282A/en
Publication of JPS62162282A publication Critical patent/JPS62162282A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To suppress the double wiring in a recorded sector or the generation of an unrecorded sector as small as possible by providing the 1st flag part indicating the existence of data recording in one sector and the 2nd flag part indicating the existence of data recording in the other sector in one sector. CONSTITUTION:In the sector (N-1)th format, a flag part A (12a) records the using state of the sector (N-1)th, i.e. the sector concerned (one sector), and a flag part B (12b) records the using state of the sector Nth (the other sector) next to the sector (N-1)th. In the sector Nth, the flag A (22a) records the record ing state of the sector Nth and flag B (22b) records the recording state of the sector (N-1)th. At the time of reproducing, the contents of the flag part B (12b) of the preceding sector (N-1)th of the objective sector Nth, and at the existence of a recorded flag, the data are reproduced. In case there is no recorded flag, the contents of the flag part A (22a) of the objective sector Nth are read out and the existence of a recorded flag is decided.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は記録媒体の処理方式に関し、特に記録媒体のフ
ォーマットにより、データの記録、再生処理を行う記録
媒体の処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a recording medium processing method, and more particularly to a recording medium processing method for recording and reproducing data depending on the format of the recording medium.

〔従来の技術〕[Conventional technology]

第3図は一般的な記録媒体のセクタ構成を示す構成図で
あり、図において1は記録媒体であり、複数のセクタが
放射状に均等分割され、それら複数のセクタに対して所
定のフォーマットで、データ記録あるいは再生が行われ
るものである。
FIG. 3 is a configuration diagram showing the sector configuration of a general recording medium. In the figure, 1 is a recording medium, and a plurality of sectors are evenly divided radially. Data is recorded or reproduced.

第4図は従来の光デイスク装置における上記セクタの構
成及びそのセクタ内のフォーマットを示すフォーマット
図であり、図のごと(記録領域が均等分割された固定セ
クタから成っており、それら各セクタはセクタの先頭を
示すセクタマーク10と、セクタのアドレス部を示すア
ドレス部11から成るヘッダ部がプリフォーマットされ
ており、さらにセクタの使用状況を示すフラグ部12、
同期タイミング信号を記録するシンク部13、及びユー
ザデータを記録するデータ部14からなるアドオン部で
構成されている。
FIG. 4 is a format diagram showing the structure of the sector and the format within the sector in a conventional optical disk device. A header section consisting of a sector mark 10 indicating the beginning of the sector and an address section 11 indicating the address section of the sector is preformatted, and a flag section 12 indicating the usage status of the sector;
It is composed of an add-on section including a sync section 13 that records a synchronization timing signal and a data section 14 that records user data.

第5図は上述における記録媒体lの目的セクタN番(N
:整数)からのデータの再生動作、及び目的セクタN番
へのデータの記録動作の一部を説明するための図である
FIG. 5 shows the target sector N number (N
: is a diagram for explaining part of the operation of reproducing data from an integer) and the operation of recording data into the target sector N.

以下、上述の記録媒体に対する再生、及び記録の処理手
順を第4図、第5図を参照の上説明する。
Hereinafter, processing procedures for reproducing and recording on the above-mentioned recording medium will be explained with reference to FIGS. 4 and 5.

まず、再生時には目的セクタN番のフラグ部の内容を読
込んで(ステップ301)、記録済みのフラグが有るか
否かを判断する(ステップ302)。
First, during reproduction, the contents of the flag portion of the target sector N are read (step 301), and it is determined whether there is a recorded flag (step 302).

そして、記録済みフラグが有る場合には、その目的セク
タN番に記録されているデータを再生しくステップ30
3)、もし記録済みフラグが無い場合にはCPU (図
示せず)ヘアドレスエラーを報告する(ステップ304
)。
If there is a recorded flag, the data recorded in the target sector N is reproduced in step 30.
3) If there is no recorded flag, the CPU (not shown) reports a hair address error (step 304).
).

上記記録済みセクタの管理は、記録媒体1上に設けたデ
ィレクトリ領域(図示せず)で行っているが、アドレス
エラー報告を受けたCPUは、エラー発生時の処理を行
うと共に、上述の目的セクタN番が未記録のセクタと判
断し、ディレクトリの修正を行う。
The above-mentioned recorded sectors are managed in a directory area (not shown) provided on the recording medium 1, but the CPU that receives the address error report performs processing when an error occurs, and also manages the above-mentioned target sector. It is determined that the Nth sector is an unrecorded sector, and the directory is corrected.

次に、記録時には目的セクタN番のフラグ部の内容を読
込み(ステップ401)、記録済みフラグが無い場合に
は、未記録のセクタと判断し、その目的セクタN番へデ
ータを記録する(ステップ403)。一方、記録済みの
フラグが有る場合には、CPUにアドレスエラーを報告
する(ステップ404)。報告を受けたCPUは、再生
時と同じようにエラー発生時の処理を行うと共に、目的
セクタN番は記録済みセクタと判断し、ディレクトリの
修正を行う。
Next, at the time of recording, the contents of the flag part of the target sector N number are read (step 401), and if there is no recorded flag, it is determined that it is an unrecorded sector, and data is recorded in the target sector number N (step 401). 403). On the other hand, if there is a recorded flag, an address error is reported to the CPU (step 404). Upon receiving the report, the CPU performs the process when an error occurs in the same manner as during playback, determines that the target sector N is a recorded sector, and corrects the directory.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の記録媒体の処理方式は以上の様に構成されている
ので、もし記録媒体のセクタのフラグ部に何らかの欠陥
が生じた場合、記録済みフラグが有るのに無しと判断さ
れたり、その反対に記録済みフラグが無いにもかかわら
ず、有りと判断され、その情報に基づいて記録済みセク
タの管理を行っているディレクトリの修正が誤った形で
行われることになり、記録済みセクタへの二重書きや、
未記録セクタを記録済みセクタと管理してしまうなどの
問題点があった。
Conventional recording medium processing methods are configured as described above, so if some defect occurs in the flag section of a sector of the recording medium, it may be determined that there is no recorded flag even though there is a recorded flag, or vice versa. Even though there is no recorded flag, it is determined that there is one, and the directory that manages recorded sectors is incorrectly modified based on that information, resulting in duplicate data being added to recorded sectors. Writing,
There were problems such as unrecorded sectors being managed as recorded sectors.

この発明は上記のような問題点を解消するためになされ
たもので、万一、各セクタのフラグ部に何らかの欠陥が
発生した場合でも、記録済みセクタへの二重書きや未記
録セクタの発生を極力防ぐことのできる記録媒体の処理
方式を得ることを目的とする。
This invention was made to solve the above problems, and even if some kind of defect occurs in the flag section of each sector, double writing to recorded sectors and unrecorded sectors will not occur. The purpose of the present invention is to obtain a recording medium processing method that can prevent such problems as much as possible.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る記録媒体の処理方式は、一つのセクタ内
に、一方のセクタのデータ記録有無を示す第1フラグ部
と他方のセクタのデータ記録有無を示す第2フラグ部を
設けており、他方のセクタの再生又は記録時、当該他方
のセクタの第1フラグ部と上記第2フラグ部とのいずれ
か一方を確認することにより、当該他方のセクタのデー
タ記録有無を判定するようにしたものである。
In the processing method of a recording medium according to the present invention, one sector is provided with a first flag section indicating whether data is recorded in one sector and a second flag section indicating whether data is recorded in the other sector. When reproducing or recording a sector, the presence or absence of data recording in the other sector is determined by checking either the first flag section or the second flag section of the other sector. be.

〔作用〕[Effect]

この発明における記録媒体の処理方式は、万一、他方の
セクタの第1フラグ部に欠陥が生じても一方の第2フラ
グ部を確認することにより、他方のセクタのデータ記録
有無を認識できるので、正確な再生、記録が可能となる
The recording medium processing method according to the present invention is such that even if a defect occurs in the first flag section of the other sector, by checking the second flag section of one sector, it is possible to recognize whether or not data is recorded in the other sector. , accurate playback and recording becomes possible.

〔発明の実施例〕[Embodiments of the invention]

第1図は、この発明の一実施例のセクタフォーマントを
示したものである。この第1図は、セクタN番とセクタ
N−1番の2個のセクタのフォーマントの詳細を示して
おり、従来技術の実施例のセクタフォーマットと異なる
点は、フラグ部が自己のセクタのフラグ部A (12a
)、(22a)と他方のセクタのフラグ部B(12b)
、  (22b)に分かれていることである。このこと
を、セクタN−1番のフォーマットで説明すると、フラ
グ部A(12a)はセクタN−1番、つまり当該セクタ
(一方のセクタ)の使用状況を記録するためのもので、
当該セクタ内にデータが記録済みの場合は記録済みフラ
グを書き込み、未記録の場合は何も書込まない。また、
フラグ部13(12b)はセクタN番、つまりセクタN
−1番の次のセクタN番(他方のセクタ)の使用状況を
記録するもので、セクタN番が記録される時にこのフラ
グ部B(、L 21))にも記録済みフラグが書き込ま
れ、セクタN番が未記録の場合はフラグ部r3(12)
には何も書込まれない。
FIG. 1 shows a sector formant according to an embodiment of the present invention. FIG. 1 shows the details of the format of two sectors, sector N and sector N-1. The difference from the sector format of the prior art embodiment is that the flag part is Flag part A (12a
), (22a) and the flag part B (12b) of the other sector
, (22b). To explain this in terms of the format of sector N-1, the flag part A (12a) is for recording the usage status of sector N-1, that is, the sector (one sector).
If data has already been recorded in the sector, a recorded flag is written; if data has not been recorded, nothing is written. Also,
The flag section 13 (12b) indicates sector N, that is, sector N.
- It records the usage status of sector N (the other sector) following sector N, and when sector N is recorded, a recorded flag is also written in this flag section B (, L21). If sector N is unrecorded, flag section r3 (12)
nothing is written to.

また、セクタN番において、フラグA(22a)はセク
タN番の記録状況、フラグB(22b)はセクタN−1
番の記録状況を記録するためのものである。
Also, in sector N, flag A (22a) indicates the recording status of sector N, and flag B (22b) indicates sector N-1.
This is to record the number recording status.

第2図は、この発明によるセクタフォーマットを使用し
た記録媒体1の目的セラフ8番からのデータの再生動作
、及び目的セラフ8番へのデータの記録動作の一部を説
明したものである。
FIG. 2 explains part of the operation of reproducing data from Seraph No. 8 of the recording medium 1 using the sector format according to the present invention and the operation of recording data into Seraph No. 8 of the recording medium 1.

まず、再生時は、目的セラフ8番に対し、−1、すなわ
ち前のセクタN−1番のフラグ部B(12b)の内容を
読み(ステップ101)、記録済みフラグのを無を判断
する(ステップ102)。このフラグ部B(12b)に
は目的セラフ8番の使用状況が記録されているので、こ
のフラグ部B(12b)に記録済みフラグが有れば、目
的セラフ8番に記録されているデータを再生する(ステ
ップ103)。
First, during playback, read -1 for target Seraph No. 8, that is, the contents of the flag part B (12b) of the previous sector N-1 (step 101), and determine whether the recorded flag is empty ( Step 102). Since the usage status of Purpose Seraph No. 8 is recorded in this flag part B (12b), if there is a recorded flag in this flag part B (12b), the data recorded in Purpose Seraph No. 8 is recorded. Playback (step 103).

もし、記録済みフラグが無い場合には、目的セラフ8番
のフラグ部A(22a)の内容を読み(ステップ104
)、記録済みフラグの有無を判断する(ステップ105
)。フラグ部A(22a)に記録済みフラグが有れば、
目的セラフ8番に記録されているデータを再生する(ス
テップ103)。
If there is no recorded flag, read the contents of flag section A (22a) of objective seraph No. 8 (step 104).
), determine whether there is a recorded flag (step 105
). If there is a recorded flag in flag section A (22a),
The data recorded in objective Seraph No. 8 is reproduced (step 103).

さらに目的セラフ8番のフラグ部A(22a)にも記録
済みフラグが無ければ、目的セラフ8番にはデータが記
録されてないものと判断し、CPUにアドレスエラーを
報告する(ステップ106)。
Furthermore, if there is no recorded flag in flag section A (22a) of target seraph No. 8, it is determined that no data is recorded in target seraph number 8, and an address error is reported to the CPU (step 106).

図では示されないが、アドレスエラー報告を受けたCP
Uは、従来の実施例と同じように、エラー発生時の処理
とディレクトリの修正を行う。
Although not shown in the diagram, the CP that received the address error report
U performs processing when an error occurs and corrects the directory as in the conventional embodiment.

次に、記録時には、まず目的セラフ8番より−1のセク
タN−1番のフラグ部B(12b)の内容を読み(ステ
ップ201)、記録済みフラグの有無を判断する(ステ
ップ202)。記録済みフラグが無い場合には、目的セ
ラフ8番は未記録セクタと判断し、データの記録を行う
(ステップ203)。この場合、もし、記録済みフラグ
が有った場合には、目的セラフ8番のフラグ部A(22
a)の内容を読み(ステップ204)、記録済みフラグ
の有無を判断する(ステップ205)。
Next, at the time of recording, the contents of the flag part B (12b) of the sector N-1 of -1 from the target seraph number 8 are read (step 201), and it is determined whether there is a recorded flag (step 202). If there is no recorded flag, target Seraph No. 8 is determined to be an unrecorded sector, and data is recorded (step 203). In this case, if there is a recorded flag, flag part A (22
The contents of a) are read (step 204), and it is determined whether there is a recorded flag (step 205).

フラグ部A(22a)に記録済みフラグが無かった場合
は目的セラフ8番へデータの記録を行う(ステップ20
3)。目的セラフ8番のフラグ部A(22a)にも、記
録済みフラグが有った場合には、目的セラフ8番は記録
済みセクタと判断し、CPUヘアドレスエラーを報告す
る(ステップ206)。アドレスエラー報告を受けたC
PUは、従来の実施例と同じように、エラー発生時の処
理とディレクトリの修正を行う。以上のように、この発
明における記録媒体の処理方式は、記録媒体1のセクタ
フォーマットのフラグ部を従来の1箇所から2箇所に増
加し、その内の1箇所は当該セクタの使用状況を記録し
、他の1箇所は当該セクタの前後いずれかのセクタの使
用状況を記録するようにすることにより、各々のセクタ
の使用状況を示す情報が、当該セクタと当該セクタの前
後のいずれかのセクタのフラグ部にあることになり、万
一、当該セクタのフラグ部に欠陥が生じても、他のセク
タにあるフラグ部を確認することにより、当該セクタの
使用状況が認識可能となる。
If there is no recorded flag in flag section A (22a), data is recorded to objective seraph No. 8 (step 20).
3). If there is also a recorded flag in the flag section A (22a) of target Seraph No. 8, it is determined that Target Seraph No. 8 is a recorded sector, and a CPU hair address error is reported (step 206). C received address error report
The PU performs processing when an error occurs and corrects the directory, as in the conventional embodiment. As described above, the recording medium processing method according to the present invention increases the flag part of the sector format of the recording medium 1 from one place to two places, one of which records the usage status of the sector. , the other one is to record the usage status of the sector either before or after the sector in question, so that information indicating the usage status of each sector can be recorded for the sector in question and any sector before or after the sector in question. Therefore, even if a defect occurs in the flag section of the sector, the usage status of the sector can be recognized by checking the flag sections in other sectors.

従って、従来の実施例に比較すると、cpuへアドレス
エラーを報告するまでに目的セラフ8番の使用状況を判
断する動作が1回増えたことになり、フラグ部に生じた
欠陥などにより、簡単にアドレスエラーとすることが少
なくなる。また、欠陥が連続したセクタのフラグ部に同
じように発生することは極めて少ないものと考えられる
ので、フラグ部は2箇所設けることで十分に対応可能と
考える。
Therefore, compared to the conventional embodiment, the operation of determining the usage status of Purpose Seraph No. 8 has increased by one time before reporting an address error to the CPU, and a defect in the flag section can easily occur. Address errors are less likely to occur. Furthermore, since it is considered that it is extremely rare for defects to occur in the same way in the flag portions of consecutive sectors, it is considered that providing two flag portions is sufficient to deal with the problem.

尚、上記実施例は、フラグ部2箇所の内、1箇所は当該
セクタ、もう1箇所は当該セクタの次のセクタの使用状
況を記録するようにしたが、I障所を当該セクタ用、も
う1箇所を当該セクタの1つ前のセクタ用としてもよく
、同じような効果を奏する。
In the above embodiment, one of the two flag sections records the usage status of the sector in question, and the other records the usage status of the sector next to the sector in question. One location may be used for the sector immediately before the sector in question, and the same effect can be achieved.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、他方のセクタの使用
状況を一方のセクタのフラグ部に記録するようにしたの
で、データの記録、再生時、他方の目的セクタのフラグ
部に万一欠陥が生じた場合でも、一方のセクタのフラグ
部を読むことにより、当該他方の目的セクタの使用状況
を判断でき、記録、再生を行うことができるので、デー
タの二重書きや記憶容量の減少を防ぐという効果がある
As described above, according to the present invention, since the usage status of the other sector is recorded in the flag section of one sector, in the event that there is a defect in the flag section of the other target sector when recording or reproducing data. Even if this occurs, by reading the flag section of one sector, it is possible to determine the usage status of the other target sector, and recording and playback can be performed. This prevents double writing of data and reduction in storage capacity. It has the effect of preventing.

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

第1図は本発明による一実施例を示すセクターフォーマ
ット図、第2図は本発明による一実施例の記録、再生時
の動作の一部を示すフローチャート、第3図は光デイス
ク装置の記録媒体のセクタを示す図、第4図は従来の実
施例を示すセクタフォーマント、第5図は従来の実施例
の記録、再生時の動作の一部を示すフローチャートであ
る。 図において、1は記録媒体、10.20はセクタマーク
、11.21はアドレス部、12a。 22aは第1フラグ部、12b、22bは第2フラグ部
、13.23はシンク部、14.24はデータ部である
。 なお、図中同一符号は同一、又は相当部分を示す。 代理人  大  岩  増  雄(ばか2名)第4図 第5図
FIG. 1 is a sector format diagram showing one embodiment of the present invention, FIG. 2 is a flowchart showing part of the recording and reproducing operation of one embodiment of the present invention, and FIG. 3 is a recording medium of an optical disk device. FIG. 4 is a sector formant showing a conventional embodiment, and FIG. 5 is a flowchart showing part of the recording and reproducing operations of the conventional embodiment. In the figure, 1 is a recording medium, 10.20 is a sector mark, 11.21 is an address part, and 12a. 22a is a first flag section, 12b and 22b are second flag sections, 13.23 is a sink section, and 14.24 is a data section. Note that the same reference numerals in the figures indicate the same or equivalent parts. Agent Masuo Oiwa (2 idiots) Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 自己のセクタ内のデータ記録有無を示す第1フラグ部を
それぞれ有する少なくとも2個のセクタを備えた記録媒
体の処理方式において、上記各セクタのうちいずれか一
方のセクタに他方のセクタ内のデータ記録の有無を示す
第2フラグ部を設け、他方のセクタの再生又は記録時、
当該他方のセクタ内の第1フラグ部と上記第2フラグ部
とのいずれか一方を確認することにより当該他方のセク
タ内にデータが記録されているか否かを判定するように
したことを特徴とする記録媒体の処理方式。
In a processing method for a recording medium having at least two sectors, each of which has a first flag portion indicating whether or not data is recorded in its own sector, one of the sectors is recorded with data in the other sector. A second flag section is provided to indicate the presence or absence of the sector, and when the other sector is played back or recorded,
It is characterized in that it is determined whether or not data is recorded in the other sector by checking either the first flag part or the second flag part in the other sector. processing method for recording media.
JP375986A 1986-01-10 1986-01-10 Recording medium processing system Pending JPS62162282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP375986A JPS62162282A (en) 1986-01-10 1986-01-10 Recording medium processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP375986A JPS62162282A (en) 1986-01-10 1986-01-10 Recording medium processing system

Publications (1)

Publication Number Publication Date
JPS62162282A true JPS62162282A (en) 1987-07-18

Family

ID=11566102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP375986A Pending JPS62162282A (en) 1986-01-10 1986-01-10 Recording medium processing system

Country Status (1)

Country Link
JP (1) JPS62162282A (en)

Similar Documents

Publication Publication Date Title
CN100520947C (en) Defect management method for optical disk and optical disk device
US6223302B1 (en) Information recording/reproducing unit and information recording/reproducing data
US6405283B1 (en) Method for handling buffer under-run during disc recording
RU2256240C2 (en) Optical disk and method for recording data onto said disk and/or reproduction of data from said disk
JP2002175662A (en) Optical disk
US6401169B1 (en) Optical disc buffer under-run handling method
JPS62162282A (en) Recording medium processing system
JP3161304B2 (en) Optical disc and optical disc reproducing method
JPS6120271A (en) Information recording and reproducing device
JPH06349068A (en) System for reproducing and restoring draw type optical disk
JPH05342759A (en) Disc apparatus
JPS63181168A (en) Alternate processing system in optical disk device
JPS58125205A (en) Digital signal recorder
JPH0877729A (en) Disk reproducing device
JP2589673B2 (en) Address data detection device
JPS61168104A (en) Sound storage device
JPS63157374A (en) Code error correcting method
JPS62192973A (en) Processing system for recording medium
JP2616766B2 (en) Rotary recording medium sector replacement method
JPS626469A (en) Interpolating device for error correction
JPH02216670A (en) Data reproducing method
JPS63237259A (en) Information storage device
CN101053024A (en) Pecording medium, method apparatus for managing a file system information of the recording medium
JP2578846B2 (en) Recording control method
JP3165690B2 (en) Data recording method