JP2003196924A - Real-time alternate processing method for disk and data recording method - Google Patents

Real-time alternate processing method for disk and data recording method

Info

Publication number
JP2003196924A
JP2003196924A JP2001388820A JP2001388820A JP2003196924A JP 2003196924 A JP2003196924 A JP 2003196924A JP 2001388820 A JP2001388820 A JP 2001388820A JP 2001388820 A JP2001388820 A JP 2001388820A JP 2003196924 A JP2003196924 A JP 2003196924A
Authority
JP
Japan
Prior art keywords
data
time
recorded
recording
processing
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.)
Granted
Application number
JP2001388820A
Other languages
Japanese (ja)
Other versions
JP4111710B2 (en
Inventor
Hiroshi Iwaki
寛 岩城
Akito Mori
玲人 森
Ryoji Ono
良治 大野
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2001388820A priority Critical patent/JP4111710B2/en
Publication of JP2003196924A publication Critical patent/JP2003196924A/en
Application granted granted Critical
Publication of JP4111710B2 publication Critical patent/JP4111710B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a real-time alternate processing method for disks to avert the state that AV stream data cannot be normally recorded and a data recording method. <P>SOLUTION: A free list of a region where data can be recorded without undergoing the alternate processing is formed and after the computer data recorded by undergoing the alternate processing is deleted, the free region of a recordable size is retrieved from the formed free region list and this region is subjected to recording of the AV stream data and the upper limit of the data writing time to an HDD is disposed. When the data writing time exceeds this upper limit, the data under recording in the sector is copied into a saving buffer and thereafter ordinary record processing is executed and when the allowance time arises in the record processing, the data in the saving buffer is recorded into the alternate sector of the disk. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明はディスクの実時間
交替処理方法およびデータ記録方法に関し、特に、光デ
ィスクや光磁気ディスクや磁気ディスクやハードディス
クドライブなどの記録媒体を用いて、特に映像データの
ような実時間処理を必要とするデータを交替処理あるい
は記録するディスクの実時間交替処理方法およびデータ
記録方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk real-time alternation processing method and a data recording method, and in particular, it uses a recording medium such as an optical disk, a magneto-optical disk, a magnetic disk, a hard disk drive, etc. The present invention relates to a disk real-time replacement processing method and a data recording method for performing replacement processing or recording of data that requires real-time processing.

【0002】[0002]

【従来の技術】書換可能な記録媒体としては、たとえば
光ディスク,光磁気ディスク,磁気ディスク,ハードデ
ィスクドライブがその代表例であるが、これらは製造上
またはディスク上の汚れ,衝撃による破損などによって
データ記録が不能になる箇所が生じる場合がある。
2. Description of the Related Art Typical examples of rewritable recording media include optical disks, magneto-optical disks, magnetic disks, and hard disk drives. These are used for data recording due to contamination on the manufacturing or disk, damage due to impact, etc. There may be a part where it becomes impossible.

【0003】従来は、たとえば特開2001−2296
23号公報に示されているように、製造時に生じた記録
不能なセクタを一次欠陥リスト(プライマリィディフェ
クトリスト:PDL)に登録し、実際のデータ記録時に
は一次欠陥リストに登録されている不良セクタをスキッ
プして記録することにより、データの連続記録を保証し
ている。
Conventionally, for example, Japanese Patent Laid-Open No. 2001-2296 is used.
As disclosed in Japanese Patent Publication No. 23, the unrecordable sector generated during manufacturing is registered in the primary defect list (primary defect list: PDL), and the defective sector registered in the primary defect list during actual data recording. By skipping and recording, continuous recording of data is guaranteed.

【0004】また、製造後に生じた記録不能なセクタに
ついては、記録したデータの読出を行なった後、ベリフ
ァイ処理を行ない、記録したデータが正しく読出せなか
った場合は、そのセクタを不良セクタと判断し、二次欠
陥リスト(セカンダリディフェクトリスト:SDL)に
登録を行なう。実際のデータ記録時には、2次欠陥リス
トに登録されている不良セクタに対して、別の正常なセ
クタ(以下、交換セクタと称する)を割当ててデータの
連続記録を保証している。このように、不良セクタの代
わりとして交替セクタにデータを記録する処理方法を交
替処理と呼ぶ。
Further, for the unrecordable sector generated after manufacturing, the recorded data is read and then the verify process is performed. If the recorded data cannot be read correctly, the sector is determined to be a defective sector. Then, the secondary defect list (secondary defect list: SDL) is registered. At the time of actual data recording, another normal sector (hereinafter referred to as a replacement sector) is assigned to the defective sector registered in the secondary defect list to guarantee continuous recording of data. Thus, the processing method of recording data in the replacement sector instead of the defective sector is called replacement processing.

【0005】従来の交替処理としては、たとえば特開平
1−243268号公報に示されているような方法があ
り、AVストリームデータの記録を行なう場合、記録し
たデータの読出を行なった後、ベリファイ処理を行な
い、記録したデータが正しく読出せなかった場合はその
セクタを不良セクタと判断し、その都度、交替領域に書
込むべきデータを、ブロック単位(セクタ単位)でバッ
ファメモリ上に退避させておき、その際にAVストリー
ムデータの書込処理は中断せずに継続して行なわせ、複
数のトラックにまたがる一連の書込処理が終了した後
に、バッファメモリ上に退避されていたブロック分のデ
ータの交替記録領域への書込を一括して行なわせるとい
った方法がある。
As a conventional replacement process, for example, there is a method disclosed in Japanese Patent Laid-Open No. 1-243268. When recording AV stream data, the verify process is performed after reading the recorded data. If the recorded data cannot be read correctly, the sector is determined to be a defective sector, and the data to be written to the replacement area is saved in the buffer memory in block units (sector units) each time. At that time, the AV stream data write process is continuously performed without interruption, and after a series of write processes over a plurality of tracks is completed, the data of the blocks of data saved in the buffer memory is written. There is a method of collectively writing to the replacement recording area.

【0006】この方法を用いれば、一連のデータの書込
終了後に退避されていたデータの再書込を一括して行な
うことができるので、本来のAVストリームデータの書
込処理が中断されず、交替領域へ書込まれるデータの書
込処理も一挙に行なわれる結果、データ処理時間が大幅
に短縮される。
By using this method, it is possible to collectively rewrite the data saved after the writing of a series of data, so that the original AV stream data writing process is not interrupted. As a result of performing the writing process of the data to be written in the spare area all at once, the data processing time is significantly shortened.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上述し
たような従来の交替処理では、AVストリームデータの
処理のみを取扱うのであれば用が足りるが、たとえばコ
ンピュータ上で取扱われるようなデータ(管理情報・個
人情報・メールなど)がAVストリームデータと混在し
ているようなシステムにおいては、従来の交替処理では
処理することができない下記のような問題が発生するこ
とが考えられる。
However, in the conventional replacement processing as described above, it is sufficient to handle only the AV stream data processing. For example, data (management information In a system in which personal information, e-mail, etc.) are mixed with AV stream data, the following problems that cannot be processed by conventional replacement processing may occur.

【0008】すなわち、交替処理を行なってコンピュー
タデータを記録している場合において、この記録領域を
ファイルの削除などによって開放した直後に、開放され
た領域および不良セクタを含む領域にAVストリームデ
ータの記録を行なう場合、交替処理を行なうことによっ
てAVストリームデータを記録する必要があるため、実
時間処理を行なうに当たって許容される時間内に記録処
理が終了せず、バッファのオーバーランが発生し、AV
ストリームデータが正常に記録できないという状態が発
生する場合がある。
That is, in the case where the computer data is recorded by performing the alternation process, immediately after the recording area is released by deleting a file or the like, the AV stream data is recorded in the opened area and the area including the defective sector. In this case, since it is necessary to record the AV stream data by performing the replacement process, the recording process does not end within the time allowed for the real-time process, and the buffer overrun occurs.
There may occur a situation where stream data cannot be recorded normally.

【0009】それゆえに、この発明の主たる目的は、実
時間処理を行なうに当たって許容される時間内に記録処
理が終了せず、バッファのオーバーランが発生し、AV
ストリームデータが正常に記録できないという事態を回
避することが可能なディスクの実時間交替処理方法およ
びデータ記録方法を提供することである。
Therefore, the main object of the present invention is to prevent the recording process from being completed within the time allowed for the real-time processing, and to cause the buffer overrun.
It is an object of the present invention to provide a disk real-time replacement processing method and a data recording method capable of avoiding a situation where stream data cannot be normally recorded.

【0010】[0010]

【課題を解決するための手段】この発明は、AVストリ
ームデータのような実時間処理を行なうディスク記録装
置において、ディスクへのデータ書込時間の上限である
書込タイムオーバー時間を設け、データ書込時間が書込
タイムオーバー時間を越えた場合にはそのセクタに記録
中のデータを退避バッファにコピーした後、その後は通
常の記録処理を実行し、記録処理に余裕時間が生じたと
きに退避バッファ内のデータをディスクの交替セクタに
書込むことを特徴とする。
SUMMARY OF THE INVENTION According to the present invention, in a disk recording apparatus for performing real-time processing such as AV stream data, a write time over time, which is an upper limit of the time for writing data to the disk, is provided to write data. If the time exceeds the write time-out time, the data currently being recorded in that sector is copied to the save buffer, and then the normal recording process is executed. The above data is written in an alternate sector of the disk.

【0011】他の発明は、AVストリームデータのよう
な実時間処理を行なうディスク記録装置において、ディ
スクへのデータ書込時間の上限である書込タイムオーバ
ー時間を設け、データ書込時間が書込タイムオーバー時
間を越えた場合と同様に、記録したデータの読出を行な
った後ベリファイ処理を行ない、記録したデータが正し
く読出せなかった不良セクタに対して、そのセクタに記
録中のデータを退避バッファにコピーした後、その後は
通常の記録処理を実行し、記録処理に余裕時間が生じた
ときに退避バッファ内のデータをディスクの交替セクタ
に書込むことを特徴とする。
In another aspect of the invention, in a disc recording apparatus for performing real-time processing such as AV stream data, a write time over time which is the upper limit of the data writing time to the disc is provided, and the data writing time exceeds the write time. As with the case where the time is exceeded, verify processing is performed after reading the recorded data, and for the defective sector where the recorded data could not be read correctly, the data being recorded in that sector is copied to the save buffer. After that, a normal recording process is executed thereafter, and the data in the save buffer is written to the spare sector of the disk when the recording process has an extra time.

【0012】このように、交替処理を行なうことによっ
てAVストリームデータを記録する必要があるため、実
時間処理を行なうにあたって許容される時間内に記録処
理が終了せず、バッファのオーバーランが発生し、AV
ストリームデータが正常に記録できないという状態を回
避することが可能となり、実時間処理が必要なAVスト
リームデータとコンピュータデータが混在したシステム
においてもそれぞれのデータ記録を保証することが可能
となる。
As described above, since it is necessary to record the AV stream data by performing the alternation process, the recording process does not end within the time allowed for performing the real-time process, and the buffer overrun occurs. , AV
It is possible to avoid the situation where the stream data cannot be normally recorded, and it is possible to guarantee each data recording even in a system in which AV stream data and computer data that require real-time processing are mixed.

【0013】さらに、実時間処理を必要とするAVスト
リームデータの他にコンピュータも同時に記録するシス
テムにおいて、交替処理を行なって記録しているコンピ
ュータデータを記録している領域からファイルの削除な
どによって開放した直後に、その領域および不良セクタ
を含む領域にAVストリームデータの記録を行なう場合
に、実時間処理を行なうに当たって許容される時間内に
記録処理が終了せず、AVストリームデータが正常に記
録できないという問題を回避するために、ディスクへの
データ書込時間の上限である書込タイムオーバー時間を
設け、データ書込時間が書込タイムオーバー時間を越え
た場合は処理を行なうことを特徴とする。
Further, in a system in which a computer simultaneously records AV stream data which requires real-time processing, the computer data recorded by the alternation processing is released by deleting a file from the area where the computer data is recorded. Immediately after the recording, when the AV stream data is recorded in the area and the area including the defective sector, the recording processing is not completed within the time allowed for the real-time processing, and the AV stream data cannot be normally recorded. In order to avoid the problem, a write time-over time, which is the upper limit of the data write time to the disk, is provided, and processing is performed when the data write time exceeds the write time-over time.

【0014】さらに、他の発明は、AVストリームデー
タの他にコンピュータデータも同時に記録するシステム
において、交替処理を行なって記録しているコンピュー
タデータを、記録している領域からファイルの削除など
によって開放した直後に、その領域および不良セクタを
含む領域にAVストリームデータの記録を行なう場合
に、実時間処理を行なうに当たって許容される時間内に
記録処理が終了せず、AVストリームデータが正常に記
録できないという問題を回避するために、ディスク上に
ある1次欠陥リストおよび2次欠陥リストをもとに、交
替処理を行なうことなしに記録することのできるフリー
領域リストを作成し、フリー領域リストから記録可能な
領域の検索を行ない、AVストリームデータを記録する
ことによって実時間で記録処理を行なうことが可能なこ
とを特徴とする。
Still another aspect of the present invention is a system for simultaneously recording computer data in addition to AV stream data, in which computer data recorded by performing a replacement process is released from a recording area by deleting a file or the like. Immediately after the recording, when the AV stream data is recorded in the area and the area including the defective sector, the recording processing is not completed within the time allowed for the real-time processing, and the AV stream data cannot be normally recorded. In order to avoid such a problem, a free area list that can be recorded without performing replacement processing is created based on the primary defect list and the secondary defect list on the disc, and recorded from the free area list. By searching for possible areas and recording AV stream data, real time Characterized that it is possible to perform the recording process.

【0015】[0015]

【発明の実施の形態】図1はこの発明の一実施形態であ
るデジタル放送のAVストリームデータをハードディス
クドライブに記録するシステムの構成を示すブロック図
である。図1において、チューナ1はアンテナを介して
デジタル放送を受信し、その受信出力をPIDフィルタ
2に与える。PIDフィルタ2は受信信号から所望のA
Vストリームデータを抽出してデータバッファ3に与え
る。データバッファ3は抽出されたAVストリームデー
タを蓄積する。退避バッファ4は交替処理を行なうため
にAVストリームデータを一時的に蓄積しておくもので
あり、バッファコントローラ5によってデータバッファ
3と退避バッファ4が制御される。データバッファ3に
蓄積されたAVストリームデータはハードディスク(H
DD)6に記録される。
1 is a block diagram showing the configuration of a system for recording AV stream data of digital broadcasting on a hard disk drive according to an embodiment of the present invention. In FIG. 1, a tuner 1 receives a digital broadcast via an antenna and gives its reception output to a PID filter 2. The PID filter 2 receives the desired A from the received signal.
The V stream data is extracted and given to the data buffer 3. The data buffer 3 stores the extracted AV stream data. The save buffer 4 temporarily stores AV stream data in order to perform the replacement process, and the buffer controller 5 controls the data buffer 3 and the save buffer 4. The AV stream data accumulated in the data buffer 3 is stored in the hard disk (H
DD) 6.

【0016】通常の記録時は、チューナ1によってデジ
タル放送が受信され、PIDフィルタ2でフィルタリン
グが行なわれて所望のAVストリームデータが抽出され
た後、データバッファ3に蓄積され、たとえば256セ
クタの単位データごとにHDD6に記録されるという流
れになる。
During normal recording, the tuner 1 receives the digital broadcast, the PID filter 2 filters the desired AV stream data, and the desired AV stream data is extracted and then stored in the data buffer 3 in units of 256 sectors, for example. The flow is such that each data is recorded in the HDD 6.

【0017】図2はこの発明の一実施形態の交換処理方
法を示すフローチャートであり、図3はフリー領域リス
トの作成例を示す図である。
FIG. 2 is a flow chart showing an exchange processing method according to an embodiment of the present invention, and FIG. 3 is a diagram showing an example of creating a free area list.

【0018】次に、図1〜図3を参照して、この発明の
一実施形態の具体的な動作について説明する。まず、書
込タイムオーバー発生時に必要となる各情報を取得およ
び作成する。すなわち、ステップ(図示ではSPと略称
する)SP1において、HDD6から一次欠陥リストと
二次欠陥リストとを読出し、HDDの記録不能なセクタ
の情報を取得する。次に、ステップSP2において、先
ほど読出した一次欠陥リストと二次欠陥リストをもとに
して、交換処理なしで記録することができるセクタ領域
のリストを作成する。このリストを以下フリー領域リス
トと呼ぶことにする。図3に示すように、フリー領域リ
ストは、何番から何番までのセクタが正常なセクタ領域
であるかという情報と、その正常なセクタ領域のサイズ
の情報を有している。
Next, the specific operation of the embodiment of the present invention will be described with reference to FIGS. First, each piece of information required when the writing time over occurs is acquired and created. That is, in step (abbreviated as SP in the figure) SP1, the primary defect list and the secondary defect list are read from the HDD 6 to obtain the information of the unrecordable sector of the HDD. Next, in step SP2, a list of sector areas that can be recorded without replacement processing is created based on the primary defect list and the secondary defect list read out earlier. Hereinafter, this list will be referred to as a free area list. As shown in FIG. 3, the free area list has information indicating which sectors are normal sector areas, and information on the size of the normal sector areas.

【0019】次に、ステップSP3において、交替処理
を行なって記録しているコンピュータデータが記録して
いる領域からファイルの削除などによって開放されたか
否かを判別し、データが削除されていればステップSP
4において、AVストリームデータの記録処理が行なわ
れているか否かを確認する。もし、記録処理が行なわれ
ているようであれば、ステップSP5において、記録す
るAVストリームデータのサイズを取得する。今、説明
を行なっている実施形態の場合、AVストリームデータ
を記録する単位データがこの場合のデータサイズという
ことになる。
Next, in step SP3, it is determined whether or not the computer data recorded by performing the replacement process has been released from the area where the computer data is recorded by deleting a file or the like, and if the data has been deleted, the step is performed. SP
At 4, it is confirmed whether AV stream data recording processing is being performed. If the recording process is performed, the size of the AV stream data to be recorded is acquired in step SP5. In the case of the embodiment being described, the unit data for recording AV stream data is the data size in this case.

【0020】次に、ステップSP6において、ステップ
SP2で作成したフリー領域リストを用いて、ステップ
SP5で取得したサイズ分のAVストリームデータが交
替処理を行なうことなしにHDD6に記録できるセクタ
領域があるか否かの検索を行なう。ステップSP7にお
いて、フリー領域リストから交替処理を行なうことなし
に記録できるセクタ領域が発見された場合は、ステップ
SP8においてこの領域にAVストリームデータを記録
し、ステップSP1に戻る。もし、フリー領域リストか
ら記録できるセクタ領域が発見されなければ、ステップ
SP9において書込タイムオーバーが発生することにな
る。この場合は、図4に示すフローチャートに従う処理
を行なう。
Next, in step SP6, using the free area list created in step SP2, is there a sector area in which the AV stream data of the size obtained in step SP5 can be recorded in the HDD 6 without replacement processing? Search whether or not. In step SP7, if a sector area that can be recorded without performing replacement processing is found in the free area list, AV stream data is recorded in this area in step SP8, and the process returns to step SP1. If no recordable sector area is found from the free area list, the write time-out will occur in step SP9. In this case, the process according to the flowchart shown in FIG. 4 is performed.

【0021】図4はディスクに対する記録処理の書込タ
イムオーバー時間を設けた場合のフローチャートを示す
図である。図4において、通常は、ステップSP21に
おいて、PIDフィルタリングによって抽出されたAV
ストリームデータを蓄積しているデータバッファ3から
単位データごとに順次HDD6に対して記録を行なう。
ステップSP22において、任意の単位データの記録処
理時間が予め設定されている書込タイムオーバー時間を
超過したか否かを判別し、書込タイムオーバーが発生し
ていれば、ステップSP23においてHDD6に記録を
行なっていた単位データを退避バッファ4にコピーす
る。その後は、退避バッファ4にコピーした次の単位デ
ータから通常の記録処理に戻り、ステップSP24にお
いて、データバッファ3から順次HDD6への記録処理
を行なう。AVストリームデータの記録処理は実時間処
理を行なう必要があるため、処理時間に余裕があること
をステップSP25で判別すると、ステップSP26に
おいて退避バッファ4からHDD6の交換領域への記録
処理は通常の記録処理に時間的な余裕があるときを見計
らって行なわれる。
FIG. 4 is a diagram showing a flow chart in the case where a writing time over time of the recording process for the disc is provided. In FIG. 4, normally, the AV extracted by the PID filtering in step SP21.
Data is sequentially recorded from the data buffer 3 accumulating stream data to the HDD 6 for each unit data.
In step SP22, it is determined whether or not the recording processing time of the arbitrary unit data has exceeded the preset write time-out time. If the write time-out has occurred, recording is performed in the HDD 6 in step SP23. The unit data that has been saved is copied to the save buffer 4. After that, the normal recording process is started from the next unit data copied to the save buffer 4, and the recording process from the data buffer 3 to the HDD 6 is sequentially performed in step SP24. Since it is necessary to perform real-time processing for recording AV stream data, if it is determined in step SP25 that there is enough processing time, the recording processing from the save buffer 4 to the exchange area of the HDD 6 is normal recording in step SP26. It is carried out in anticipation of time when processing is available.

【0022】図5はデータ2を記録中に書込タイムオー
バーが発生した場合の交換処理の概念図である。書込タ
イムオーバーが発生した後、データ2は退避バッファ4
にコピーされ、データ3から通常どおりHDD6への記
録処理が行なわれる。データ2は通常の記録処理の復帰
時間を見てHDD6の交換領域に記録される。
FIG. 5 is a conceptual diagram of an exchange process when a write time-out occurs during recording of data 2. After the write time over, the data 2 is saved in the save buffer 4
The data 3 is recorded in the HDD 6 as usual. The data 2 is recorded in the replacement area of the HDD 6 in view of the recovery time of the normal recording process.

【0023】今回開示された実施の形態はすべての点で
例示であって制限的なものではないと考えられるべきで
ある。本発明の範囲は上記した説明ではなくて特許請求
の範囲によって示され、特許請求の範囲と均等の意味お
よび範囲内でのすべての変更が含まれることが意図され
る。
The embodiments disclosed this time are to be considered as illustrative in all points and not restrictive. The scope of the present invention is shown not by the above description but by the claims, and is intended to include meanings equivalent to the claims and all modifications within the scope.

【0024】[0024]

【発明の効果】以上のように、この発明によれば、コン
ピュータデータを交替処理を行なって記録している場合
において、この領域をファイル削除などによって開放し
た直後に、その領域および不良セクタを含む領域にAV
ストリームデータの記録を行なう場合、交替処理を行な
うことによってAVストリームデータを記録する必要が
あるため、実時間処理を行なうにあたって許容される時
間内に記録処理が終了せず、バッファのオーバーランが
発生し、AVストリームデータが正常に記録できないと
いう状態を回避することが可能となり、実時間処理が必
要なAVストリームデータとコンピュータデータが混在
したシステムにおいてもそれぞれのデータ記録を保証す
ることが可能となる。
As described above, according to the present invention, in the case where the computer data is recorded by the replacement process, the area and the defective sector are included immediately after the area is opened by deleting the file. AV in the area
When recording stream data, it is necessary to record the AV stream data by performing a replacement process. Therefore, the recording process does not end within the time allowed for the real-time process, and a buffer overrun occurs. However, it is possible to avoid the situation where AV stream data cannot be recorded normally, and it is possible to guarantee each data recording even in a system in which AV stream data and computer data that require real-time processing are mixed. .

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

【図1】 この発明の一実施形態であるデジタル放送の
AVストリームデータをHDDに記録するシステムのブ
ロック図である。
FIG. 1 is a block diagram of a system for recording AV stream data of digital broadcasting in an HDD according to an embodiment of the present invention.

【図2】 この発明の一実施形態における交換処理方法
の動作を示すフローチャートである。
FIG. 2 is a flowchart showing the operation of the exchange processing method according to the embodiment of the present invention.

【図3】 フリー領域リストの作成例を示す図である。FIG. 3 is a diagram showing an example of creating a free area list.

【図4】 ディスクに対する記録処理の書込タイムオー
バー時間を設けた場合の交換処理方法を示すフローチャ
ートである。
FIG. 4 is a flowchart showing a replacement processing method when a write time-over time of a recording process for a disc is provided.

【図5】 この発明の交換処理方法の概念図である。FIG. 5 is a conceptual diagram of the exchange processing method of the present invention.

【符号の説明】[Explanation of symbols]

1 チューナ、2 PIDフィルタ、3 データバッフ
ァ、4 退避バッファ、5 バッファコントローラ、6
HDD。
1 tuner, 2 PID filter, 3 data buffer, 4 save buffer, 5 buffer controller, 6
HDD.

フロントページの続き (72)発明者 大野 良治 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 Fターム(参考) 5D044 AB02 AB05 AB07 BC01 BC04 CC04 DE11 DE62 EF03 HH02Continued front page    (72) Inventor Ryoji Ohno             22-22 Nagaikecho, Abeno-ku, Osaka-shi, Osaka             Inside the company F-term (reference) 5D044 AB02 AB05 AB07 BC01 BC04                       CC04 DE11 DE62 EF03 HH02

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 AVストリームデータのような実時間処
理を行なうディスク記録装置において、 ディスクへのデータ書込時間の上限である書込タイムオ
ーバー時間を設け、データ書込時間が前記書込タイムオ
ーバー時間を越えた場合にはそのセクタに記録中のデー
タを退避バッファにコピーした後、その後は通常の記録
処理を実行し、記録処理に余裕時間が生じたときに前記
退避バッファ内のデータを前記ディスクの交替セクタに
書込むことを特徴とする、ディスクの実時間交替処理方
法。
1. A disk recording apparatus for performing real-time processing such as AV stream data, wherein a write time-over time, which is an upper limit of data write time to a disk, is provided, and the data write time is set to the write time-over time. When it exceeds the limit, the data being recorded in the sector is copied to the save buffer, then the normal recording process is executed, and the data in the save buffer is saved in the disc when the recording process has a margin. A real-time replacement processing method for a disk, which is characterized by writing in a replacement sector.
【請求項2】 AVストリームデータのような実時間処
理を行なうディスク記録装置において、 ディスクへのデータ書込時間の上限である書込タイムオ
ーバー時間を設け、データ書込時間が前記書込タイムオ
ーバー時間を越えた場合と同様に、記録したデータの読
出を行なった後ベリファイ処理を行ない、記録したデー
タが正しく読出せなかった不良セクタに対して、そのセ
クタに記録中のデータを退避バッファにコピーした後、
その後は通常の記録処理を実行し、記録処理に余裕時間
が生じたときに前記退避バッファ内のデータを前記ディ
スクの交替セクタに書込むことを特徴とする、ディスク
の実時間交替処理方法。
2. A disc recording apparatus for performing real-time processing such as AV stream data, wherein a write time-over time which is an upper limit of data writing time to the disc is provided, and the data write time is set to the write time-over time. As in the case of exceeding, after verifying the recorded data after reading the recorded data, for the defective sector where the recorded data could not be read correctly, copy the data being recorded in that sector to the save buffer. ,
Thereafter, a normal recording process is executed, and when the recording process has an extra time, the data in the save buffer is written in the replacement sector of the disc, and the real-time replacement process method of the disc.
【請求項3】 実時間処理を必要とするAVストリーム
データの他にコンピュータも同時に記録するシステムに
おいて、 交換処理を行なって記録しているコンピュータデータを
記録している領域からファイルの削除などによって開放
した直後に、その領域および不良セクタを含む領域にA
Vストリームデータの記録を行なう場合に、実時間処理
を行なうに当たって許容される時間内に記録処理が終了
せず、前記AVストリームデータが正常に記録できない
という問題を回避するために、前記ディスクへのデータ
書込時間の上限である書込タイムオーバー時間を設け、
データ書込時間が前記書込タイムオーバー時間を越えた
場合は前記処理を行なうことを特徴とする、請求項2に
記載のディスクの実時間交替処理方法。
3. In a system in which not only AV stream data that requires real-time processing but also a computer is recorded at the same time, exchange processing is performed to release the computer data from the area in which the recorded computer data is recorded by deleting a file or the like. Immediately after the writing, A
In order to avoid the problem that the AV stream data cannot be normally recorded when the V stream data is recorded, the recording process does not end within the time allowed for the real-time processing, and the AV stream data cannot be normally recorded. The write time over time, which is the upper limit of the data write time, is set,
3. The disk real-time replacement processing method according to claim 2, wherein the processing is performed when the data writing time exceeds the writing time-over time.
【請求項4】 AVストリームデータの他にコンピュー
タデータも同時に記録するシステムにおいて、 交換処理を行なって記録しているコンピュータデータ
を、記録している領域からファイルの削除などによって
開放した直後に、その領域および不良セクタを含む領域
に前記AVストリームデータの記録を行なう場合に、実
時間処理を行なうに当たって許容される時間内に記録処
理が終了せず、前記AVストリームデータが正常に記録
できないという問題を回避するために、前記ディスク上
にある1次欠陥リストおよび2次欠陥リストをもとに、
交換処理を行なうことなしに記録することのできるフリ
ー領域リストを作成し、前記フリー領域リストから記録
可能な領域の検索を行ない、前記AVストリームデータ
を記録することによって実時間で記録処理を行なうこと
が可能なことを特徴とする、ディスクのデータ記録方
法。
4. A system for simultaneously recording computer data in addition to AV stream data, immediately after releasing the computer data recorded by exchange processing from the recording area by deleting a file or the like. When the AV stream data is recorded in the area including the area and the defective sector, the recording process does not end within the time allowed for the real-time processing, and the AV stream data cannot be normally recorded. In order to avoid, based on the primary defect list and secondary defect list on the disk,
A free area list that can be recorded without performing exchange processing is created, a recordable area is searched from the free area list, and recording processing is performed in real time by recording the AV stream data. A method of recording data on a disc, which is capable of
JP2001388820A 2001-12-21 2001-12-21 Disc data recording method Expired - Fee Related JP4111710B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001388820A JP4111710B2 (en) 2001-12-21 2001-12-21 Disc data recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001388820A JP4111710B2 (en) 2001-12-21 2001-12-21 Disc data recording method

Publications (2)

Publication Number Publication Date
JP2003196924A true JP2003196924A (en) 2003-07-11
JP4111710B2 JP4111710B2 (en) 2008-07-02

Family

ID=27597202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001388820A Expired - Fee Related JP4111710B2 (en) 2001-12-21 2001-12-21 Disc data recording method

Country Status (1)

Country Link
JP (1) JP4111710B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065702A (en) * 2004-08-30 2006-03-09 Mitsubishi Electric Corp Data processor, data processing method, and program
JP2009110287A (en) * 2007-10-30 2009-05-21 Fujitsu Ltd Access control device and access control method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102536518B1 (en) 2016-09-13 2023-05-24 한화비전 주식회사 Camera system and method to save image during rebuilding of storage device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065702A (en) * 2004-08-30 2006-03-09 Mitsubishi Electric Corp Data processor, data processing method, and program
JP4634096B2 (en) * 2004-08-30 2011-02-16 三菱電機株式会社 Data processing apparatus, data processing method, and program
JP2009110287A (en) * 2007-10-30 2009-05-21 Fujitsu Ltd Access control device and access control method
US8032721B2 (en) 2007-10-30 2011-10-04 Toshiba Storage Device Corporation Access control apparatus and access control method

Also Published As

Publication number Publication date
JP4111710B2 (en) 2008-07-02

Similar Documents

Publication Publication Date Title
US6085020A (en) Editing control apparatus and editing control method employing compressed audio-visual information
JP3634809B2 (en) Disk storage device for AV use and method for processing sector error in the device
JP2004005942A5 (en)
JPH10125006A (en) Signal recorder and signal recording method
RU2307404C2 (en) Information carrier for one-time recording, recording device and method for same, reproduction device and method for same
US20030076762A1 (en) Recording medium, and method of and device for recording information on a recording medium and reading information from a recording medium
US7813248B2 (en) Method and apparatus for protecting data when a recording process has failed
CN100382189C (en) Recording method, recording device, and recording medium
US20040153745A1 (en) Bad-sector search method, data recording device, and program
JP2005025829A (en) Disk storage device and data stream control method
JP2003196924A (en) Real-time alternate processing method for disk and data recording method
US20080101187A1 (en) Optical disc recording apparatus
US7061838B2 (en) Apparatus and method for caching and selectively reproducing information from recording media
JP2004220355A (en) File system, file operation mechanism and file operation method
RU2523733C2 (en) Recording device and method of editing video and audio
CN101174445B (en) Method and apparatus for recording and reproducing information onto and from recording medium and managing defective area in recording medium
JP2005116160A (en) Method for improving retry in data storage system, disk drive, and storage medium readable by computer
JP4171986B2 (en) Recording apparatus and method, and program
KR100611828B1 (en) Recording apparatus, recording method, program, and recording medium
JP2001291366A (en) Method and device for recording, and recording medium
CN100447888C (en) Optical disk recording method, optical disk recording device and information recording medium
JPH11273262A (en) Information recording and reproduction device
JP2001101786A (en) Information recording and reproducing device, information recording and reproducing method and computer-readable recording medium recording information recording and reproducing program
JP5051310B2 (en) Information recording method and apparatus
JP2007133917A (en) Data recording method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070227

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070717

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070806

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070925

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080401

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080408

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110418

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120418

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120418

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130418

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130418

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees