JP2000076829A - Information recording/reproducing device - Google Patents

Information recording/reproducing device

Info

Publication number
JP2000076829A
JP2000076829A JP10250147A JP25014798A JP2000076829A JP 2000076829 A JP2000076829 A JP 2000076829A JP 10250147 A JP10250147 A JP 10250147A JP 25014798 A JP25014798 A JP 25014798A JP 2000076829 A JP2000076829 A JP 2000076829A
Authority
JP
Japan
Prior art keywords
session
recording
information
track
recorded
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
JP10250147A
Other languages
Japanese (ja)
Other versions
JP3992850B2 (en
Inventor
Masaaki Nakagawa
雅章 中川
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP25014798A priority Critical patent/JP3992850B2/en
Publication of JP2000076829A publication Critical patent/JP2000076829A/en
Application granted granted Critical
Publication of JP3992850B2 publication Critical patent/JP3992850B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Optical Recording Or Reproduction (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To dispose of a writing error which is produced during data recording so as not to produce malfunction during data reproduction afterwards. SOLUTION: When a writing error is produced while information is recorded in a session which is the predetermined recording section of a disc 17 and track recording is unsuccessful, if a system controller 11 receives an instruction that session management information (TOC) is to be recorded in the session information management region of the error section from a host computer which is an upper hierarchy device, after the system controller 11 records the session management information (TOC) of the session, the system controller 11 records file management information recorded in a session immediately before the error session into the file information management part of the next new session.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、一連のデータブ
ロック群単位で情報を記録及び再生するCD−Rドライ
ブ,CD−RWドライブなどの情報記録再生装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information recording / reproducing apparatus such as a CD-R drive and a CD-RW drive for recording and reproducing information in a series of data block groups.

【0002】[0002]

【従来の技術】情報を一連のデータブロック群(「トラ
ック」と称する)単位で記録する情報記録装置の1つに
CD−R/RWドライブ装置などの情報記録再生装置が
ある。ここでは、CD−R/RWドライブ装置を例にと
って説明する。
2. Description of the Related Art An information recording / reproducing device such as a CD-R / RW drive device is one of information recording devices for recording information in a series of data block groups (called "tracks"). Here, a CD-R / RW drive device will be described as an example.

【0003】また、ディレクトリやファイルを管理する
ディスクフォーマットには、CD−ROM用、フロッピ
ディスクドライブ(FDD)用、ハードディスクドライ
ブ(HDD)用を始め数種類あるが、一例としてCD−
ROM用ディスクフォーマットで最も一般的なISO9
660フォーマットを用いて説明する。
There are several types of disk formats for managing directories and files, including those for CD-ROMs, floppy disk drives (FDDs), and hard disk drives (HDDs).
ISO9, the most common disk format for ROM
The description will be made using the 660 format.

【0004】CD−R/RWドライブ装置は、CD−R
/RWディスクに対して一連のデータブロック群単位
(トラック)でファイルや音楽データ等の情報の記録を
行なうものであり、ディスクを1つもしくは複数の記録
区分(「セッション」と称する)に分割し(この記録区
分の大きさは各記録区分によって異なる)、その記録区
分(セッション)の中にトラックを1つもしくは複数個
記録させるものである。
A CD-R / RW drive device is a CD-R / RW drive device.
The RW disc records information such as files and music data in a series of data block group units (tracks). The disc is divided into one or a plurality of recording sections (referred to as "sessions"). (The size of this recording section differs depending on each recording section), and one or more tracks are recorded in the recording section (session).

【0005】その記録区分(セッション)の先頭領域
は、セッション管理情報領域(Lead−In領域)と
呼ばれるセッション情報管理部であり、そのセッション
管理情報領域の中にセッション管理情報(Table
Of Contents:TOC)と呼ばれるデータが
記録される。
[0005] The head area of the recording section (session) is a session information management unit called a session management information area (Lead-In area), and the session management information (Table) is included in the session management information area.
Data called Of Contents (TOC) is recorded.

【0006】ISO9660フォーマットディスクにお
いて、各セッション内に存在するトラックの数は一般的
に1つである。
[0006] In an ISO9660 format disk, the number of tracks existing in each session is generally one.

【0007】このフォーマットは、図4に示すように、
記録区分(セッション)内のトラックの先頭部(所定の
場所)にディレクトリやファイルの場所や属性を管理す
るファイル情報管理部50が記録されており、その後に
1つもしくは複数個のファイルのディスクリプタやファ
イル本体49が続く。
[0007] As shown in FIG.
A file information management unit 50 for managing the locations and attributes of directories and files is recorded at the beginning (predetermined location) of a track in a recording section (session), and thereafter, a descriptor of one or a plurality of files, File body 49 follows.

【0008】CD−R/RWドライブ装置において、ト
ラックアットワンス(TrackAt Once)機能
でこれらのデータを一気に記録した場合、記録最中にラ
イトエラーが発生した時、その時点でトラック記録を終
了し、アプリケーションの命令でセッション(記録区
分)を閉じていた。このセッションを閉じるとは、セッ
ション情報をTOC領域に記録することであり、TOC
を書いてセッションを完結させるのである。
In a CD-R / RW drive device, when these data are recorded at a stretch by a track-at-once (TrackAt Once) function, when a write error occurs during recording, the track recording is terminated at that time. The session (recording section) was closed by an application command. Closing this session means recording the session information in the TOC area.
To complete the session.

【0009】このような場合、数〜数十ブロックで構成
されるファイル情報管理部は正しく記録されているが、
ファイルの本体が途中で途切れているような状態が発生
する時がある。例えば、ファイル情報管理部は正しく記
録されているので、その中には100個分のファイル情
報が記録されているが、ファイルの本体は30個分しか
ない時などである。
In such a case, although the file information management unit composed of several to several tens of blocks is correctly recorded,
Occasionally, the file itself may be interrupted. For example, when the file information management section is correctly recorded, 100 pieces of file information are recorded therein, but there are only 30 file bodies.

【0010】このようなディスクをWindows95
(登録商標)などのOSを用いて任意のファイルを再生
しようとすると、そのファイルの本体が無いために再生
できない不具合が生じる。
[0010] Such a disk is referred to as Windows 95.
When an arbitrary file is reproduced using an OS such as (registered trademark), there is a problem that the file cannot be reproduced because the main body of the file is not present.

【0011】なお、Windows95などのOSは、
挿入されているCDに記録されている最終セッションを
アクセスし、そのセッション内に記録されているファイ
ル情報管理部を再生し、その内容に基づいてCDに記録
されているディレクトリ/ファイル管理及び再生処理を
実施する。
An OS such as Windows 95 is
The last session recorded on the inserted CD is accessed, the file information management section recorded in the session is reproduced, and the directory / file management and reproduction processing recorded on the CD are performed based on the contents. Is carried out.

【0012】従来、ライトエラーが発生した時に、CD
規格のトラック長の最小値である300セクタとなるま
でダミーデータを記録し、トラックの2重書きを防止す
る情報記録装置(例えば、特願平8−303053号公
報参照)があった。
Conventionally, when a write error occurs, the CD
There has been an information recording apparatus that records dummy data until the track length reaches 300, which is the minimum value of the standard track length, and prevents double writing of a track (for example, see Japanese Patent Application No. 8-303553).

【0013】[0013]

【発明が解決しようとする課題】しかしながら、上述の
情報記録装置では、ディスクへのライトエラー時に数〜
数十ブロックを記録したところで、このようなディスク
が後に装置に挿入されると、マウント時に当該エラート
ラックがブランクトラックとみなされる場合があるとい
う問題があった。
However, in the above-described information recording apparatus, when a write error occurs on a disc, a few
When several tens of blocks are recorded, if such a disk is later inserted into the apparatus, there is a problem that the error track may be regarded as a blank track at the time of mounting.

【0014】また、ダミーデータでトラックを埋めたと
しても、当該トラックが第2セッションの先頭トラック
であった場合、WinsowsなどのOSでは第1セッ
ションのファイル情報を認識できない不具合が発生す
る。
Further, even if the track is filled with dummy data, if the track is the first track of the second session, a problem occurs that the OS such as Windows cannot recognize the file information of the first session.

【0015】すなわち、OSは、最終セッションに記録
されているファイル情報管理部のデータからディスク上
に記録されているファイル情報を引き出すので、従来の
情報記録装置のようなダミーデータの記録では、ファイ
ルフォーマット(ISO9660等)を意識していない
ため、後にOS上で何もファイルが記録されていないデ
ィスクであるブランクディスクと判断されてしまうとい
う問題があった。
That is, the OS derives the file information recorded on the disc from the data of the file information management unit recorded in the last session. Since the format (ISO9660 or the like) is not considered, there is a problem that the OS later determines that the disk is a blank disk on which no file is recorded.

【0016】この発明は上記の点に鑑みてなされたもの
であり、データ記録中にライトエラーが発生したとき、
後のデータ再生時に不具合が生じないようにエラー処理
することを目的とする。
The present invention has been made in view of the above points, and when a write error occurs during data recording,
An object of the present invention is to perform an error process so that a trouble does not occur when data is reproduced later.

【0017】[0017]

【課題を解決するための手段】この発明は上記の目的を
達成するため、情報の記録及び再生が可能な記録媒体に
対して一連のデータブロック群単位でファイルなどの情
報の記録及び再生を行なう情報記録再生装置において、
上記記録媒体の所定のセッションに対して情報を記録し
ている最中にライトエラーが発生してトラック記録に失
敗したとき、外部に接続された上位装置から上記ライト
エラーが発生したセッションのセッション情報管理部に
セッション管理情報を記録する命令を受信したとき、そ
のセッション管理情報を記録した後、上記ライトエラー
が発生したセッションの直前セッションに記録されてい
るファイル情報管理部のデータを次の新規セッションに
コピー記録する手段を設けたものである。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention records and reproduces information such as files on a recording medium capable of recording and reproducing information in units of a series of data blocks. In the information recording / reproducing device,
When a write error occurs during recording of information for a predetermined session of the recording medium and the track recording fails, session information of the session in which the write error has occurred from an externally connected higher-level device. When receiving the command to record the session management information in the management unit, after recording the session management information, the data of the file information management unit recorded in the session immediately before the session in which the write error has occurred is written to the next new session. Is provided with means for copy recording.

【0018】また、情報の記録及び再生が可能な記録媒
体に対して一連のデータブロック群単位でファイルなど
の情報の記録及び再生を行なう情報記録再生装置におい
て、情報の記録及び消去が可能な記録媒体の所定のセッ
ションに対して情報を記録している最中にライトエラー
が発生してトラック記録に失敗したとき、外部に接続さ
れた上位装置から上記ライトエラーが発生したセッショ
ンのセッション情報管理部にセッション管理情報を記録
する命令を受信したとき、そのセッション管理情報を記
録せずに上記ライトエラーが発生したトラックを消去す
る手段を設けるとよい。
Also, in an information recording / reproducing apparatus for recording and reproducing information such as a file in a series of data block groups on a recording medium on which information can be recorded and reproduced, a recording medium capable of recording and erasing information. When a write error occurs during the recording of information for a predetermined session of the medium and the track recording fails, the session information management unit of the session in which the write error has occurred from an externally connected higher-level device. It is preferable to provide a means for erasing the track on which the write error has occurred without recording the session management information when receiving the command for recording the session management information.

【0019】さらに、上述のような情報記録再生装置に
おいて、上記記録媒体の第1セッションに対して情報を
記録中にライトエラーが発生したとき、上記上位装置か
ら上記ライトエラーが発生したセッションのセッション
情報管理部にセッション管理情報を記録する命令を受信
したとき、そのセッション管理情報を記録した後、次の
新規セッションの所定の長さのトラックにファイル情報
管理部に記録するデータと異なる特殊データを記録して
その新規セッションを完結させる手段を設けるとよい。
Further, in the information recording / reproducing apparatus as described above, when a write error occurs during the recording of information for the first session of the recording medium, the higher-level device sets the session of the session in which the write error occurred. When receiving an instruction to record the session management information in the information management unit, after recording the session management information, special data different from the data to be recorded in the file information management unit is recorded on a track of a predetermined length of the next new session. Means for recording and completing the new session may be provided.

【0020】また、上述のような情報記録再生装置にお
いて、上記記録媒体の音楽用セッションの後のセッショ
ンに対して情報の記録中にライトエラーが発生したと
き、上記上位装置から上記ライトエラーが発生したセッ
ションのセッション情報管理部にセッション管理情報を
記録する命令を受信したとき、そのセッション管理情報
を記録した後、次の新規セッションの所定の長さのトラ
ックにファイル情報管理部に記録するデータと異なる特
殊データを記録してその新規セッションを完結させる手
段を設けるとよい。
In the information recording / reproducing apparatus as described above, when a write error occurs during recording of information for a session after the music session on the recording medium, the write error occurs from the higher-level device. When receiving a command to record session management information in the session information management unit of the session that has been recorded, after recording the session management information, data to be recorded in the file information management unit on a track of a predetermined length of the next new session and Means for recording different special data and completing the new session may be provided.

【0021】さらに、情報の記録及び再生が可能な記録
媒体に対して一連のデータブロック群単位でファイルな
どの情報の記録及び再生を行なう情報記録再生装置にお
いて、上記記録媒体が挿入されたとき、その記録媒体に
トラックは記録されているがトラック情報管理部にその
トラックに対するトラック管理情報が記録されていない
エラーセッションを判別したとき、そのトラックの最終
アドレスを検出し、その最終アドレスに基づいて上記ト
ラック情報管理部にトラック管理情報を記録し、そのト
ラックが存在するセッションのセッション情報管理部に
セッション管理情報を記録した後、上記エラーセッショ
ン直前のセッションに記録されているファイル情報管理
部のデータを次の新規セッションにコピー記録する手段
を設けるとよい。
Further, in an information recording / reproducing apparatus for recording and reproducing information such as a file in a series of data block groups on a recording medium capable of recording and reproducing information, when the recording medium is inserted, When an error session in which a track is recorded on the recording medium but the track management information for the track is not recorded in the track information management unit is determined, the last address of the track is detected, and the above-mentioned track is detected based on the last address. After recording the track management information in the track information management section and recording the session management information in the session information management section of the session in which the track exists, the data of the file information management section recorded in the session immediately before the error session is written. It is preferable to provide a copy recording means for the next new session.

【0022】さらにまた、情報の記録及び再生が可能な
記録媒体に対して一連のデータブロック群単位でファイ
ルなどの情報の記録及び再生を行なう情報記録再生装置
において、情報の記録及び消去が可能な記録媒体が挿入
されたとき、その記録媒体にトラックは記録されている
がトラック情報管理部にそのトラックに対するトラック
管理情報が記録されていないエラーセッションを判別し
たとき、そのトラックの最終アドレスを検出し、その最
終アドレスに基づくトラック管理情報を上記トラック情
報管理部を記録せずに不正なトラックを消去する手段を
設けるとよい。
Furthermore, in an information recording / reproducing apparatus which records and reproduces information such as a file in a series of data block groups on a recording medium on which information can be recorded and reproduced, information can be recorded and erased. When a recording medium is inserted, when an error session in which a track is recorded on the recording medium but no track management information for the track is recorded in the track information management unit is determined, the last address of the track is detected. Means may be provided for erasing an illegal track without recording the track management information based on the final address in the track information management section.

【0023】この発明の請求項1の情報記録再生装置
は、上述のように構成することにより、ディスク等の記
録媒体のエラーセッションの直前のセッションに記録さ
れているファイル情報管理部を、当該記録媒体上に存在
する最後のセッションである新規セッションに記録する
ので、エラーセッションのファイル情報管理部を消去し
たことと同じにすることができ、その記録媒体をWin
dows95などのOSで使用する場合はファイル情報
管理部で管理されているファイルを正しく再生すること
ができる。
According to the information recording / reproducing apparatus of the first aspect of the present invention, the file information management section recorded in the session immediately before the error session of the recording medium such as a disk is recorded by the recording apparatus. Since the recording is performed in the new session which is the last session existing on the medium, it can be made the same as when the file information management unit of the error session is deleted.
When used in an OS such as Windows 95, files managed by the file information management unit can be correctly reproduced.

【0024】この発明の請求項2の情報記録再生装置
は、上述のように構成することにより、情報の記録及び
消去が可能なCD−RWディスク等の記録媒体に対して
は、上述のエラー発生時にはエラーセッションを消去す
るので、未記録部に対してスペースの無駄遣いをするこ
とがなくなる。
The information recording / reproducing apparatus according to the second aspect of the present invention is configured as described above, and the above-described error occurrence occurs in a recording medium such as a CD-RW disc on which information can be recorded and erased. Sometimes, the error session is erased, so that no space is wasted on the unrecorded portion.

【0025】この発明の請求項3の情報記録再生装置
は、上述のように構成することにより、記録媒体上に記
録されている最終セッション内(新規に追加したダミー
セッション)には、ファイル情報管理部のデータを記録
しないので、Windows95などのOSはディレク
トリとファイル情報を誤認識することがなくなり、OS
はブランクディスクと同等の扱いができる。
According to the information recording / reproducing apparatus of the third aspect of the present invention, the file information management is performed within the last session (a newly added dummy session) recorded on the recording medium. Since the data of the part is not recorded, the OS such as Windows 95 does not erroneously recognize the directory and the file information.
Can be treated the same as a blank disc.

【0026】この発明の請求項4の情報記録再生装置
は、上述のように構成することにより、記録媒体上に記
録されている最終セッション内には、ファイル情報管理
部のデータを記録しないので、Windows95など
のOSはディレクトリとファイル情報を誤認識すること
がなくなる。また、OSは音楽データのみが記録されて
いる記録媒体と同等な扱いができる。
According to the information recording / reproducing apparatus of the fourth aspect of the present invention, since the data of the file information management unit is not recorded in the last session recorded on the recording medium, An OS such as Windows 95 does not erroneously recognize directory and file information. Further, the OS can be handled in the same manner as a recording medium on which only music data is recorded.

【0027】この発明の請求項5の情報記録再生装置
は、上述のように構成することにより、不正なトラック
が存在するセッションを完結させ、エラーセッションの
直前のセッションのファイル情報管理部を新規セッショ
ンに記録するので、不正ディスクが記録及び再生可能に
なるだけでなく、過去に記録したファイルをWindo
ws95等のOSから再生することができる。
In the information recording / reproducing apparatus according to the fifth aspect of the present invention, a session in which an incorrect track exists is completed, and the file information management unit of the session immediately before the error session is set to a new session. Not only allows unauthorized disks to be recorded and played back, but also allows files recorded in the past to be
It can be reproduced from an OS such as ws95.

【0028】この発明の請求項6の情報記録再生装置
は、上述のように構成することにより、情報の記録及び
消去が可能なCD−RWディスク等の記録媒体に対して
は、不正なトラックを消去することにより、未記録部ス
ペースの無駄遣いをすることがなくなる。
According to the information recording / reproducing apparatus of the sixth aspect of the present invention, an illegal track can be recorded on a recording medium such as a CD-RW disc on which information can be recorded and erased. Erasing eliminates wasting of unrecorded space.

【0029】[0029]

【発明の実施の形態】以下、この発明の実施の形態を図
面に基づいて具体的に説明する。図1は、この発明の情
報記録再生装置の一実施形態であるCD−R/RWドラ
イブ装置の構成を示すブロック図である。
Embodiments of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a CD-R / RW drive device which is an embodiment of the information recording / reproducing device of the present invention.

【0030】このCD−R/RWドライブ装置は、CP
U1,フラッシュROM2,ホストインタフェースコン
トローラ3,バッファマネジャ4,ダイナミックRAM
5,サブコードオペレーションコントローラ6,CD−
ROMエンコーダ7,SRAM8,CD−ROMデコー
ダ9,オーディオ回路10,システムコントローラ1
1,CDエンコーダ12,CDデコーダ13,サーボ回
路14,スピンドルモータコントローラ15,及びSC
SIバス16から成り、CD−Rディスク,CD−RW
ディスク等の記録媒体であるディスク17に対するデー
タの記録及び再生を行なう。
This CD-R / RW drive device has a CP
U1, flash ROM 2, host interface controller 3, buffer manager 4, dynamic RAM
5, Subcode operation controller 6, CD-
ROM encoder 7, SRAM 8, CD-ROM decoder 9, audio circuit 10, system controller 1
1, CD encoder 12, CD decoder 13, servo circuit 14, spindle motor controller 15, and SC
Consists of an SI bus 16, a CD-R disk, a CD-RW
Data is recorded and reproduced on and from a disk 17, which is a recording medium such as a disk.

【0031】CPU1は、このCD−R/RWドライブ
装置全体の動作を制御する中央演算処理装置(マイクロ
コンピュータ)である。フラッシュROM2は、CPU
1が任意に内容を消去書き換え可能な不揮発性メモリで
ある。
The CPU 1 is a central processing unit (microcomputer) for controlling the operation of the entire CD-R / RW drive. The flash ROM 2 is a CPU
Reference numeral 1 denotes a nonvolatile memory whose contents can be erased and rewritten arbitrarily.

【0032】ホストインタフェースコントローラ3は、
上位装置であるホストコンピュータとこのCD−R/R
Wドライブ装置との通信を司るLSIである。バッファ
マネジャ4は、ホストコンピュータからの転送データ及
びディスク17から読み出したデータの転送を制御する
LSIである。
The host interface controller 3
Host computer as host device and this CD-R / R
This is an LSI that controls communication with the W drive device. The buffer manager 4 is an LSI that controls the transfer of transfer data from the host computer and data read from the disk 17.

【0033】ダイナミックRAM5は、ホストコンピュ
ータからの転送データとディスク17から読み出したデ
ータを一時的に格納するバッファメモリである。サブコ
ードオペレーションコントローラ6は、ディスク17上
に記録するサブコードを生成したり、ディスク17から
読み出したサブコードを分離するLSIである。
The dynamic RAM 5 is a buffer memory for temporarily storing transfer data from the host computer and data read from the disk 17. The subcode operation controller 6 is an LSI that generates a subcode to be recorded on the disk 17 and separates the subcode read from the disk 17.

【0034】CD−ROMエンコーダ7は、CD−RO
Mデータをディスク17に書き込む前に変調するLSI
である。SRAM8は、プログラム変数等のデータを格
納するメモリである。CD−ROMデコーダ9は、読み
出したCD−ROMデータを復調するLSIである。オ
ーディオ回路10は、音楽再生をコントロールするLS
Iである。
The CD-ROM encoder 7 is a CD-RO encoder.
LSI for modulating M data before writing to disk 17
It is. The SRAM 8 is a memory for storing data such as program variables. The CD-ROM decoder 9 is an LSI for demodulating the read CD-ROM data. The audio circuit 10 includes an LS for controlling music playback.
I.

【0035】システムコントローラ11は、ディスク1
7へのデータの記録及び再生を制御するLSIであり、
この発明に関わる各種の処理を行なう。CDエンコーダ
12は、ディスク17に書き込む前にユーザデータとサ
ブコードをメディア規格に適合するように変調するLS
Iである。
The system controller 11 controls the disk 1
7, which controls recording and reproduction of data to and from
Various processes related to the present invention are performed. The CD encoder 12 modulates the user data and the subcode so as to conform to the media standard before writing to the disc 17.
I.

【0036】CDデコーダ13は、ディスク17から読
み出したデータをユーザデータとサブコードに分離して
復調するLSIである。サーボ回路14は、ディスク1
7に対するレーザ光のフォーカス,トラッキング等のサ
ーボを制御するLSIである。
The CD decoder 13 is an LSI for demodulating data read from the disk 17 into user data and subcodes. The servo circuit 14
7 is an LSI for controlling servo such as focusing and tracking of a laser beam with respect to the laser beam 7.

【0037】スピンドルモータコントローラ15は、デ
ィスク17の回転制御を行なうLSIである。SCSI
バス16は、このCD−R/RWドライブ装置とホスト
コンピュータとを接続する通信線であり、この通信線を
介して両者は各種のデータをやり取りする。
The spindle motor controller 15 is an LSI for controlling the rotation of the disk 17. SCSI
The bus 16 is a communication line connecting the CD-R / RW drive device and the host computer, and the two exchange various data via the communication line.

【0038】すなわち、上記システムコントローラ11
等が、情報の記録及び再生が可能な記録媒体に対して一
連のデータブロック群単位でファイルなどの情報の記録
及び再生を行なう手段と、上記記録媒体の所定のセッシ
ョンに対して情報を記録している最中にライトエラーが
発生してトラック記録に失敗したとき、外部に接続され
た上位装置から上記ライトエラーが発生したセッション
のセッション情報管理部にセッション管理情報を記録す
る命令を受信したとき、そのセッション管理情報を記録
した後、上記ライトエラーが発生したセッションの直前
セッションに記録されているファイル情報管理部のデー
タを次の新規セッションにコピー記録する手段の機能を
果たす。
That is, the system controller 11
Means for recording and reproducing information such as files on a recording medium capable of recording and reproducing information in units of a series of data blocks, and recording information for a predetermined session of the recording medium. When a write error occurs during recording and the track recording fails, when an instruction to record session management information in the session information management unit of the session in which the write error has occurred is received from an externally connected higher-level device. After recording the session management information, it functions as a means for copying and recording the data of the file information management section recorded in the session immediately before the session in which the write error has occurred in the next new session.

【0039】また、情報の記録及び消去が可能な記録媒
体の所定のセッションに対して情報を記録している最中
にライトエラーが発生してトラック記録に失敗したと
き、外部に接続された上位装置から上記ライトエラーが
発生したセッションのセッション情報管理部にセッショ
ン管理情報を記録する命令を受信したとき、そのセッシ
ョン管理情報を記録せずに上記ライトエラーが発生した
トラックを消去する手段の機能も果たす。
When a write error occurs during the recording of information for a predetermined session of a recording medium on which information can be recorded and erased and the track recording fails, an externally connected upper layer When a command for recording session management information is received from the device in the session information management unit of the session in which the write error has occurred, a function of means for erasing the track on which the write error has occurred without recording the session management information is also provided. Fulfill.

【0040】さらに、上記記録媒体の第1セッションに
対して情報を記録中にライトエラーが発生したとき、上
記上位装置から上記ライトエラーが発生したセッション
のセッション情報管理部にセッション管理情報を記録す
る命令を受信したとき、そのセッション管理情報を記録
した後、次の新規セッションの所定の長さのトラックに
ファイル情報管理部に記録するデータと異なる特殊デー
タを記録してその新規セッションを完結させる手段の機
能を果たす。
Further, when a write error occurs during the recording of information for the first session of the recording medium, the higher-level device records the session management information in the session information manager of the session in which the write error has occurred. Upon receiving the command, after recording the session management information, means for recording the special data different from the data to be recorded in the file information management unit on a track of a predetermined length of the next new session and completing the new session Perform the function of

【0041】また、上記記録媒体の音楽用セッションの
後のセッションに対して情報の記録中にライトエラーが
発生したとき、上記上位装置から上記ライトエラーが発
生したセッションのセッション情報管理部にセッション
管理情報を記録する命令を受信したとき、そのセッショ
ン管理情報を記録した後、次の新規セッションの所定の
長さのトラックにファイル情報管理部に記録するデータ
と異なる特殊データを記録してその新規セッションを完
結させる手段の機能も果たす。
Further, when a write error occurs during the recording of information for a session after the music session on the recording medium, the host device sends a session management to the session information management unit of the session in which the write error has occurred. When a command for recording information is received, after recording the session management information, special data different from the data to be recorded in the file information management unit is recorded on a track of a predetermined length of the next new session, and the new session is recorded. Also functions as a means of completing

【0042】さらに、上記記録媒体が挿入されたとき、
その記録媒体にトラックは記録されているがトラック情
報管理部にそのトラックに対するトラック管理情報が記
録されていないエラーセッションを判別したとき、その
トラックの最終アドレスを検出し、その最終アドレスに
基づいて上記トラック情報管理部にトラック管理情報を
記録し、そのトラックが存在するセッションのセッショ
ン情報管理部にセッション管理情報を記録した後、上記
エラーセッション直前のセッションに記録されているフ
ァイル情報管理部のデータを次の新規セッションにコピ
ー記録する手段の機能を果たす。
Further, when the recording medium is inserted,
When an error session in which a track is recorded on the recording medium but the track management information for the track is not recorded in the track information management unit is determined, the last address of the track is detected, and the above-mentioned track is detected based on the last address. After recording the track management information in the track information management section and recording the session management information in the session information management section of the session in which the track exists, the data of the file information management section recorded in the session immediately before the error session is written. Acts as a means of copying and recording in the next new session.

【0043】さらにまた、情報の記録及び消去が可能な
記録媒体が挿入されたとき、その記録媒体にトラックは
記録されているがトラック情報管理部にそのトラックに
対するトラック管理情報が記録されていないエラーセッ
ションを判別したとき、そのトラックの最終アドレスを
検出し、その最終アドレスに基づくトラック管理情報を
上記トラック情報管理部を記録せずに不正なトラックを
消去する手段の機能を果たす。
Further, when a recording medium capable of recording and erasing information is inserted, an error may occur in which a track is recorded on the recording medium but no track management information is recorded in the track information management unit. When the session is determined, the function of a means for detecting the last address of the track and erasing an illegal track without recording the track management information based on the last address in the track information management section is performed.

【0044】図2は、ディスク17のセッションフォー
マットを示す図である。このCD−R/RWドライブ装
置は、図2に示したフォーマットのディスク17に対し
てデータの記録及び再生が可能である。
FIG. 2 is a diagram showing a session format of the disk 17. The CD-R / RW drive device can record and reproduce data on and from the disk 17 having the format shown in FIG.

【0045】ディスク17は、内周から記録パワー決定
のための試し書きを行なうパワーキャリブレーションエ
リア(PCA)20,トラック情報管理部(プログラム
メモリエリア:PMA)21,記録区分(セッション)
22(セッションNo.1,2…)が存在する。
The disk 17 has a power calibration area (PCA) 20 for performing test writing for determining recording power from the inner periphery, a track information management unit (program memory area: PMA) 21, and a recording section (session).
22 (session No. 1, 2,...).

【0046】セッション22のサイズはランダムであ
り、その中のトラック数や、トラックの大きさによって
変わる。セッション22は、セッション情報管理部であ
るセッション情報管理領域(リードインエリア:Lea
d In Area)23,1つまたは複数のトラック
24,記録区分最終領域(リードアウトエリア:Lea
d Out Area)25とから構成されており、セ
ッション情報管理領域と記録区分最終領域とは共に大き
さが決まっている。
The size of the session 22 is random and varies depending on the number of tracks in the session 22 and the size of the tracks. The session 22 includes a session information management area (lead-in area: Lea) which is a session information management unit.
d In Area) 23, one or more tracks 24, recording section final area (Lead-out area: Lea)
d Out Area) 25, and the size of both the session information management area and the recording section final area is determined.

【0047】セッション情報管理領域23は、セッショ
ンの始めを示すエリアであり、セッション内のトラック
情報であるセッション管理情報(TOC)を記録するエ
リアである。トラック24は、ユーザがファイル、音楽
などのデータを記録するエリアである。記録区分最終領
域25は、セッションの終わりを示すエリアである。プ
ログラムエリア26は、ユーザデータを記録するエリア
である。
The session information management area 23 is an area indicating the beginning of a session, and is an area for recording session management information (TOC) which is track information in the session. The track 24 is an area where the user records data such as files and music. The recording section final area 25 is an area indicating the end of the session. The program area 26 is an area for recording user data.

【0048】第1セッションのセッション情報管理領域
の大きさは、ディスクメーカによって異なり、おおよそ
2分30秒ぐらいの大きさである。また、第1セッショ
ンの記録区分最終領域の大きさは1分30秒である。第
2セッション以降のセッション情報管理領域の大きさは
1分であり、記録区分最終領域の大きさは30秒であ
る。
The size of the session information management area of the first session differs depending on the disc maker, and is about 2 minutes and 30 seconds. Further, the size of the recording section final area of the first session is 1 minute and 30 seconds. The size of the session information management area for the second and subsequent sessions is 1 minute, and the size of the recording section final area is 30 seconds.

【0049】セッション情報管理領域にはTOCと言わ
れるセッション管理情報データが記録されており、CD
再生装置はこれをもとに挿入されているディスク上のト
ラック情報を得ることができる。
In the session information management area, session management information data called TOC is recorded.
The playback device can obtain track information on the inserted disk based on the information.

【0050】例えば、音楽CDをオーディオCDプレー
ヤ(Audio CD Player)に挿入すると、
ディスプレイにトラックの総数と、それぞれのトラック
の長さが時間単位で表示されるが、これはプレーヤがT
OCを再生しているから表示できるのである。
For example, when a music CD is inserted into an audio CD player (Audio CD Player),
The display shows the total number of tracks and the length of each track in hours.
Since the OC is being reproduced, it can be displayed.

【0051】第1セッションのトラックNo.1の先頭か
らプログラムエリア26の始まりであり、スタート開始
アドレスは0分0秒0フレームである。
The start of the program area 26 is from the beginning of the track No. 1 of the first session, and the start start address is 0 minute 0 second 0 frame.

【0052】図3はトラックアットワンス方式で記録し
たトラックのフォーマットである。CD−R/RWディ
スク上に記録されたトラックは、プレギャップ(Pre
Gap)30,ユーザデータ(User Data)3
1,2ブロックのランアウトブロック(Run Out
Block)32とから構成される。プレギャップ3
0は、1ブロックのリンクブロック(Link Blo
ck)33,4ブロックのランインブロック(Run
In Block)34等からなる。
FIG. 3 shows the format of a track recorded by the track-at-once method. Tracks recorded on a CD-R / RW disc have a pre-gap (Pre-Gap).
Gap) 30, user data (User Data) 3
Run out block (Run Out block)
Block 32). Pre-gap 3
0 is a link block of one block (Link Blo
ck) 33,4 run-in blocks (Run
In Block) 34 and the like.

【0053】プレギャップ30(150ブロック、22
5ブロック)は、トラックの先頭に位置し、音楽で言え
ば無音部である。ユーザデータ部31は、ユーザ(ホス
トコンピュータ)から転送されたデータを記録するとこ
ろである。ランアウトブロック(2ブロック)32は、
トラックの最後を意味するブロックである。
The pre-gap 30 (150 blocks, 22
(5 blocks) is located at the head of the track, and is a silent section in terms of music. The user data section 31 is where data transferred from the user (host computer) is recorded. The run-out block (two blocks) 32
This is the block that indicates the end of the track.

【0054】リンクブロック33(1ブロック)は、ト
ラックとトラックのつなぎめを意味するブロックであ
る。ランインブロック(4ブロック)34は、トラック
の先頭を意味するブロックである。
The link block 33 (one block) is a block indicating a connection between tracks. The run-in block (four blocks) 34 is a block indicating the head of the track.

【0055】このCD−R/RWドライブ装置は、ファ
イルフォーマットとしてISO9660規格を用いる。
図4は、ISO9660ファイルフォーマット図であ
る。
This CD-R / RW drive uses the ISO9660 standard as a file format.
FIG. 4 is an ISO9660 file format diagram.

【0056】ISO9660フォーマットの用語説明 (1)ボリュームスペース(Volume Spac
e)40 CD上の各セッションを大きく分割すると、システムエ
リア41とデータエリア42の2つになる。
Explanation of terms of ISO9660 format (1) Volume space
e) Each session on the 40 CD is largely divided into two areas, a system area 41 and a data area 42.

【0057】(2)システムエリア(System A
rea)41 各セッションの第1トラックの先頭から16ブロック
(LBN0−15)分がシステム領域として存在する。
本規格では、内容は定義されていない。
(2) System area (System A)
(rea) 41 The system area includes 16 blocks (LBN0-15) from the beginning of the first track of each session.
The content is not defined in this standard.

【0058】(3)データエリア(Data Are
a)42 ボリュームスペースの残りの部分をいう。この中は、以
下のデータからなる。 ・プライマリボリュームディスクリプタ43(Prim
ary Volume Descriptor) ・サプルメンタリボリュームディスクリプタ44(Su
pplementary Volume Descri
ptor) ・ターミネータ(Terminator)45 ・パステーブル(Path Table)46 ・ディレクトリディスクリプタ47(Director
y Descriptor) ・ファイルディスクリプタ(File Descrip
tor)48 ・ファイル(File)本体部49 このエリアは、ファイル情報管理部50とファイルの本
体部49とからなる。
(3) Data Area (Data Area)
a) 42 Remaining part of volume space. It consists of the following data.・ Primary volume descriptor 43 (Prim
ary Volume Descriptor • Supplementary volume descriptor 44 (Su
pplementary Volume descri
ptor) Terminator 45 Path table 46 Directory descriptor 47 Director
y Descriptor ・ File Descriptor (File Descriptor)
tor) 48 • File (File) main unit 49 This area includes a file information management unit 50 and a file main unit 49.

【0059】(4)プライマリボリュームディスクリプ
タ43 PVDと言われ、LBN16に位置する。Window
sなどのOSは必ずここをアクセスする。ボリュームス
ペースの大きさや、パステーブル46の大きさ及び位
置、ルートディレクトリ情報、ボリュームの日付等が記
述されている。
(4) Primary Volume Descriptor 43 This is called PVD, and is located at LBN16. Windows
The OS such as s always accesses here. The size of the volume space, the size and position of the path table 46, the root directory information, the date of the volume, and the like are described.

【0060】(5)サプルメンタリボリュームディスク
リプタ44 SVDと言われ、存在するのであればPVDの直後にあ
る。日本語環境で使用する場合や、ユニコード(Uni
Codeを用いる場合はOSはこれを参照する。
(5) Supplementary Volume Descriptor 44 SVD, if present, is immediately after PVD. When using in a Japanese environment or using Unicode (Uni
When Code is used, the OS refers to this.

【0061】(6)ターミネータ45 PVD,SVDの終わりを意味する。通常は、PVD,
SVD,ターミネータの順でディスク上に記録される。
(6) Terminator 45 Indicates the end of PVD and SVD. Usually, PVD,
It is recorded on the disk in the order of SVD and terminator.

【0062】(7)パステーブル46 ディレクトリディスクリプタ47やファイルディスクリ
プタ48の名前と、記録位置が記述される。
(7) Path Table 46 The names of the directory descriptor 47 and the file descriptor 48 and the recording position are described.

【0063】(8)ディレクトリディスクリプタ47 ディレクトリの本体が記録されている位置やその名前や
属性が記述されている。
(8) Directory Descriptor 47 The position where the main body of the directory is recorded, its name and attributes are described.

【0064】(9)ファイルディスクリプタ48 ファイル本体部49のファイルの本体が記録されている
位置やその名前や属性が記述されている。
(9) File Descriptor 48 The position where the main body of the file is recorded in the file main body 49, its name and attributes are described.

【0065】(10)ファイル本体部49 ワープロファイルや、実行ファイルなどその実体が記録
されている。
(10) File body section 49 The actual substance such as a word profile and an execution file is recorded.

【0066】ディスク17の各セッションの中にはボリ
ュームスペース40があり、システムエリア41とデー
タエリア42が存在する。データエリア42には、ファ
イル情報管理部50とそれに続くパステーブル46,デ
ィレクトリディスクリプタ47及びファイルディスクリ
プタ48,及び複数の1つもしくは複数のファイルとか
ら構成されるファイル本体部49とからなり、ファイル
情報管理部50は先頭からプライマリボリュームディス
クリプタ(PVD)43,サプルメントボリュームディ
スクリプタ(SVD)44,ターミネータ45とから構
成される。
Each session of the disk 17 has a volume space 40, and a system area 41 and a data area 42. The data area 42 includes a file information management unit 50, a subsequent path table 46, a directory descriptor 47 and a file descriptor 48, and a file body unit 49 including one or more files. The management unit 50 includes a primary volume descriptor (PVD) 43, a supplement volume descriptor (SVD) 44, and a terminator 45 from the top.

【0067】PVD43,SVD44,ターミネータ4
5は少なくとも1セクタずつで構成され、各セクタの先
頭にはそれらを示すIDがある。PVD43は“0
1”,SVD44は“02”,ターミネータ45は“F
F”である。
PVD 43, SVD 44, terminator 4
5 is composed of at least one sector, and each sector has an ID indicating the sector at the beginning. PVD 43 is "0
1 ", SVD 44 is" 02 ", and terminator 45 is" F ".
F ".

【0068】Windows95などのOSは、ディス
クに存在する最終セッションの第1トラックの先頭から
17番目(LBN=16)のセクタを再生して、PVD
43の内容を見る。
The OS such as Windows 95 reproduces the seventeenth (LBN = 16) sector from the beginning of the first track of the last session on the disc and performs PVD.
Look at the contents of 43.

【0069】また、日本語環境であれば、SVD44を
再生し、ターミネータブロックを検出するまで次の論理
アドレスを再生する。SVD44の中にはルートディレ
クトリディスクリプタ(Root Directory
Descriptor)の存在する位置等が記録され
ており、この位置を再生することにより、そのルートデ
ィレクトリ下に存在するディレクトリ又はファイルの名
称及びそれらのディスクリプタが存在するアドレスがわ
かる。
In a Japanese environment, the SVD 44 is reproduced, and the next logical address is reproduced until a terminator block is detected. The SVD 44 contains a root directory descriptor (Root Directory).
The position where the Descriptor is located is recorded. By reproducing this position, the names of the directories or files under the root directory and the addresses where the descriptors are located can be found.

【0070】さらに、ルートディレクトリの下のディレ
クトリのディスクリプタを再生すれば、その下にあるデ
ィレクトリの名称やファイルの名称やそれらに対するデ
ィスクリプタの存在位置がわかる。このようにルートデ
ィレクトリからその下のディレクトリ、ファイルと内容
を確認し、ファイル本体へとたどりつく。
Further, if the descriptor of the directory under the root directory is reproduced, the name of the directory and the name of the file under the root directory and the location of the descriptor corresponding to them can be known. In this way, you can check the directories, files and contents under the root directory, and reach the file itself.

【0071】また、マルチセッションCDにおいては、
複数個のセッションが存在し、そのセッション数分のフ
ァイル情報管理部が存在することが一般的である。この
ようなディスクは、ユーザが保存させたいファイルを追
記する場合に作成される。
In a multi-session CD,
In general, there are a plurality of sessions, and a file information management unit corresponding to the number of sessions is generally present. Such a disc is created when a user wants to add a file to be saved.

【0072】例えば、'97.10月のカルテを第1セッ
ションに書いたとする。一ヶ月が過ぎ、11月のデータ
をそのディスクに記録する場合は、第2セッションに記
録する。この場合、10月のデータもOS上から見れる
ようにするために、第1セッションに記録されているフ
ァイル情報管理部50を第2セッションのファイル情報
管理部50にコピーする必要があり、一般のライタソフ
トはこのような操作をし、過去に記録したファイル情報
管理部50のデータを継承するのである。
For example, suppose that the chart for the month '97 .10 was written in the first session. If one month has passed and data for November is to be recorded on the disc, it is recorded in the second session. In this case, the file information management unit 50 recorded in the first session needs to be copied to the file information management unit 50 in the second session so that the data of October can be viewed from the OS. The writer software performs such an operation and inherits the data of the file information management unit 50 recorded in the past.

【0073】次に、上記CD−R/RWドライブ装置に
おけるこの発明の請求項1に係る処理について説明す
る。
Next, the processing according to claim 1 of the present invention in the CD-R / RW drive device will be described.

【0074】このCD−R/RWドライブ装置では、情
報の記録と再生が可能なディスク17を用い、そのディ
スク17に対して一連のデータブロック群であるトラッ
ク単位でファイルなどの情報の記録及び再生を行なうも
のである。
This CD-R / RW drive uses a disk 17 on which information can be recorded and reproduced, and records and reproduces information such as files on the disk 17 in a track unit, which is a series of data blocks. Is performed.

【0075】そして、ディスク17の所定の記録区分で
あるセッションに対して情報を記録している最中にライ
トエラーが発生し、トラック記録に失敗した時、当該エ
ラーセッションのセッション情報管理領域にセッション
管理情報(TOC)を記録する命令を上位装置のホスト
コンピュータから受信した場合、当該セッションのセッ
ション管理情報(TOC)を記録した後に、次の新規セ
ッションに対してエラーセッション直前のセッションに
記録されているファイル情報管理部にファイル管理情報
を記録する。そのファイル情報管理部は、ディスクフォ
ーマットとして、記録されているファイルやディレクト
リの場所や属性を管理している情報管理部である。
When a write error occurs while recording information for a session which is a predetermined recording section of the disk 17 and the track recording fails, the session information management area of the error session is stored in the session information management area of the error session. When a command to record the management information (TOC) is received from the host computer of the host device, after recording the session management information (TOC) of the session, the command is recorded in the session immediately before the error session for the next new session. The file management information is recorded in the file information management unit. The file information management unit is an information management unit that manages locations and attributes of recorded files and directories as a disk format.

【0076】図5は、その請求項1に係る処理を示すフ
ロー図である。図中の「S」はステップを示す。この処
理は、ステップ1でライトエラーが発生したトラックが
有りか否かを判断し、有ればステップ2へ進んでエラー
セッションのTOCを記録し、ステップ3へ進んでエラ
ーセッションのリードアウト(Lead−Out)領域
を記録し、ステップ4へ進んでISO9660フォーマ
ットデータか否かを判断し、ISO9660フォーマッ
トデータなら、ステップ5へ進んでリカバーセッション
記録処理を実行し、この処理を終了する。
FIG. 5 is a flowchart showing the processing according to claim 1. “S” in the figure indicates a step. In this process, it is determined in step 1 whether or not there is a track on which a write error has occurred. If there is, the process proceeds to step 2 to record the TOC of the error session, and proceeds to step 3 to read out the error session (Lead). -Out) area is recorded, and the process proceeds to step 4 to determine whether or not the data is ISO9660 format data. If the data is ISO9660 format data, the process proceeds to step 5 to execute a recovery session recording process, and this process ends.

【0077】ステップ1の判断でライトエラーが発生し
たトラックが無ければ、ステップ6へ進んで現セッショ
ンのTOCを記録し、ステップ7へ進んで現セッション
のリードアウト(Lead−Out)領域を記録し、こ
の処理を終了する。また、ステップ4の判断でISO9
660フォーマットデータでなければ、そのまま処理を
終了する。
If there is no track in which a write error has occurred in step 1, the process proceeds to step 6 to record the TOC of the current session, and proceeds to step 7 to record the lead-out (Lead-Out) area of the current session. , And this process ends. In addition, according to the determination in step 4, the ISO 9
If the data is not 660 format data, the process ends.

【0078】図6は、図5のリカバーセッション記録処
理を示すフロー図である。このリカバーセッション記録
処理は、ステップ11で前セッションの第1トラックの
先頭アドレスを取得し、ステップ12へ進んでファイル
情報管理部のアドレスを設定し、ステップ13へ進んで
ファイル管理情報をリードし、ステップ14へ進んで前
セッションはISO9660フォーマットデータか否か
を判断する。
FIG. 6 is a flowchart showing the recovery session recording process of FIG. In the recover session recording process, the start address of the first track of the previous session is obtained in step 11, the address of the file information management unit is set in step 12, the file management information is read in step 13, and Proceeding to step 14, it is determined whether the previous session is ISO9660 format data.

【0079】ステップ14の判断でISO9660フォ
ーマットデータなら、ステップ15へ進んでリカバート
ラック記録処理を実行し、ステップ16へ進んでリカバ
ーセッションのTOCを記録し、ステップ17へ進んで
リカバーセッションのリードアウト(Lead−Ou
t)領域を記録し、この処理を終了する。また、ステッ
プ14の判断でISO9660フォーマットデータでな
ければ、そのまま処理を終了する。
If it is determined in step 14 that the data is ISO 9660 format data, the flow advances to step 15 to execute a recovery track recording process, and the flow advances to step 16 to record the TOC of the recovery session. Lead-Ou
t) Record the area and end this processing. On the other hand, if the data is not ISO9660 format data in the determination of step 14, the process is terminated.

【0080】次に、この発明の請求項1に係る処理をさ
らに説明する。このセッション記録処理は、ホストコン
ピュータからセッションを閉じる命令(Close S
ession Command)を受信した時に実行す
る。そのセッションを閉じる命令は、セッション管理情
報(TOC)及びリードアウト(Lead−Out)領
域にデータを記録してセッションを完結させる命令であ
る。
Next, the processing according to claim 1 of the present invention will be further described. This session recording process is executed by a command (Close S) for closing the session from the host computer.
This is executed when an “session command” is received. The command to close the session is a command to record data in the session management information (TOC) and the lead-out (Lead-Out) area to complete the session.

【0081】システムコントローラ11は、まず、ディ
スク17の対象となるセッション内のトラックを記録し
た時に、オフトラック等のサーボエラーやバッファアン
ダーラン(Buffer Under run)などの
インタフェース(I/F)エラーによるライトエラーが
発生していたかを確認する(S1)。
When the system controller 11 first records a track in the target session on the disk 17, the system controller 11 causes an interface (I / F) error such as a servo error such as off-track or a buffer underrun (Buffer Under run). It is checked whether a write error has occurred (S1).

【0082】ここで、ライトエラーが発生していた場合
は、エラーセッションのTOC領域にセッション管理情
報を記録し(S2)、セッションの最後をあらわすリー
ドアウト(Lead−Out)領域を記録し(S3)、
エラートラックがISO9660フォーマットデータで
あるか否かを確認する(S4)。
If a write error has occurred, session management information is recorded in the TOC area of the error session (S2), and a lead-out (Lead-Out) area representing the end of the session is recorded (S3). ),
It is checked whether the error track is ISO9660 format data (S4).

【0083】この確認手段は、PVD,SVD,ターミ
ネータ(Terminator)の各ID(セクタの先
頭バイト)がそれぞれ“01”,“02”,“FF”で
あること、また、PVD,SVD内の規格識別子(2バ
イト目−6バイト目)が“CD001”であることを確
認することによって行なう。
This checking means determines that each ID (the first byte of the sector) of PVD, SVD, and terminator (Terminator) is “01”, “02”, and “FF”, respectively. This is performed by confirming that the identifier (the second byte to the sixth byte) is “CD001”.

【0084】さらに、ISO9660フォーマットデー
タと判断した場合は、リカバーセッション記録処理(S
5)を行なって終了する。
Further, if it is determined that the data is ISO9660 format data, the recovery session recording process (S
Perform 5) and end.

【0085】このリカバーセッション記録処理は、エラ
ーセッションの次のセッションに対して、エラーセッシ
ョン直前の正しく記録されているファイル情報管理部
を、次の新規セッションに対してコピー記録する処理で
ある。
The recovering session recording process is a process of copying and recording the file information management section which has been correctly recorded immediately before the error session with respect to the session next to the error session with respect to the next new session.

【0086】次に、リカバー時に記録するファイル情報
管理部は、PVD,SVD,ターミネータ(Termi
nator)の3つをさす。
Next, the file information management unit to be recorded at the time of recovery includes the PVD, SVD, and terminator (Termi).
n.).

【0087】このPVD,SVDを再生すれば、ルート
ディレクトリディスクリプタ(Root Direct
ory Descriptor)のアドレスがわかり、
そこからファイル本体までたどりつくことができる。
When the PVD and SVD are reproduced, a root directory descriptor (Root Direct Descriptor) is obtained.
Ory Descriptor) address,
From there you can reach the file itself.

【0088】ライトエラーの発生の有無の判断(S1)
においてライトエラーが発生していない時、現セッショ
ンのTOC領域にセッション管理情報を記録し(S
6)、リードアウト(Lead−Out)領域を記録し
(S7)、セッション完結処理を終了する。
Determination of Whether a Write Error Occurs (S1)
When a write error has not occurred in the session, the session management information is recorded in the TOC area of the current session (S
6), a lead-out (Lead-Out) area is recorded (S7), and the session completion processing ends.

【0089】また、ISO9660フォーマットデータ
か否かの判断(S4)で、エラートラックにISO96
60フォーマットデータが記録されていないと判断した
時、そのままエラーセッションを完結したままで終了す
る。
When it is determined whether or not the data is ISO9660 format data (S4), the error track is recorded in the error track.
When it is determined that the 60 format data is not recorded, the process ends with the error session being completed.

【0090】次に、上記リカバーセッション記録処理
は、最初にエラーセッション直前のセッションの第1ト
ラックの開始アドレスを、CD−R/RWドライブ装置
内部のDRAM5に記憶しているTOC情報から読み取
り(S11)、そのアドレスに10h(16セクタ)を
足したアドレスをPVDアドレスとして設定し(S1
2)、ターミネータ(Terminator)が確認で
きるまで連続的に再生する(S13)。
Next, in the recovery session recording processing, first, the start address of the first track of the session immediately before the error session is read from the TOC information stored in the DRAM 5 inside the CD-R / RW drive (S11). ), An address obtained by adding 10h (16 sectors) to the address is set as the PVD address (S1).
2) Continuous reproduction is performed until a terminator can be confirmed (S13).

【0091】ここで、PVDからターミネータ(Ter
minator)までの情報を得ることができない場合
は、ISO9660フォーマットデータと判定しない。
Here, the terminator (Ter) is converted from PVD.
If the information up to (minor) cannot be obtained, the data is not determined to be ISO9660 format data.

【0092】ISO9660フォーマットデータの判断
で(S14)、前セッションがISO9660フォーマ
ットデータと判定したなら、リカバートラックの記録処
理を行なう(S15)。
If the previous session is determined to be ISO9660 format data in the determination of ISO9660 format data (S14), recording processing of a recovery track is performed (S15).

【0093】この処理は、トラック長をCD規格最小の
300セクタと設定し、ユーザデータ部にISO966
0フォーマットに合致するように、正常セッション(エ
ラーセッション直前のセッション)のPVDからターミ
ネータ(Terminator)までを記録する。
In this process, the track length is set to 300 sectors which is the minimum of the CD standard, and the ISO 966 is added to the user data portion.
Record from the PVD of the normal session (the session immediately before the error session) to the terminator (Terminator) so as to match the 0 format.

【0094】その後、このセッションのTOC領域に当
該セッションのセッション情報管理データを記録し(S
16)、リードアウト(Lead−Out)領域を記録
して処理を終了する。また、ISO9660フォーマッ
トデータの判断で(S14)、エラーセッション直前の
セッションがISO9660フォーマットデータと判断
できなければ、この処理を終了する。
After that, the session information management data of the session is recorded in the TOC area of the session (S
16), a lead-out (Lead-Out) area is recorded, and the process is terminated. If the session immediately before the error session cannot be determined to be the ISO9660 format data in the determination of the ISO9660 format data (S14), the process ends.

【0095】こうして、例えば、図7に示すようなエラ
ーセッションを伴ったディスクフォーマットは、上述の
処理によって図8に示すディスクフォーマットになる。
Thus, for example, the disk format accompanying the error session as shown in FIG. 7 becomes the disk format shown in FIG. 8 by the above-described processing.

【0096】図7は、第2セッションのトラックを記録
している最中にライトエラーが発生し、エラーセクタが
発生した場合のディスクフォーマットを示すが、上述の
セッションリカバリ処理によって、図8に示すように、
第3セッションに第1セッションのファイル情報管理部
のみをコピーしたリカバリセッションを作成することに
より、後の再生時にOSからファイル情報が正しく認識
されるようになる。
FIG. 7 shows a disk format in the case where a write error occurs during recording of a track in the second session and an error sector occurs. like,
By creating a recovery session in which only the file information management unit of the first session is copied in the third session, the file information can be correctly recognized from the OS at the time of subsequent reproduction.

【0097】このようにして、エラーセッションの直前
のセッションに記録されているファイル情報管理部を、
当該ディスク上に存在する最後のセッションである新規
セッションに記録するので、エラーセッションのファイ
ル情報管理部を消去したことと同じにするので、そのデ
ィスクをWindows95などのOSシステムで使用
する場合はファイル情報管理部で管理されているファイ
ルを正しく再生することができる。
Thus, the file information management unit recorded in the session immediately before the error session is
Since the information is recorded in a new session which is the last session existing on the disc, the same as when the file information management unit of the error session is deleted, the file information is used when the disc is used in an OS system such as Windows 95. The file managed by the management unit can be correctly reproduced.

【0098】次に、上述のこの発明の請求項1に係る処
理では、例えば、1度しか記録できないCD−Rディス
ク等の記録媒体に対して新規セッションにエラーセッシ
ョン直前のセッションのファイル情報管理部をコピーす
るのは有効であるが、何度も情報の書き換えができるC
D−RWディスク等の記録媒体については記録スペース
の無駄使いになってしまう。
Next, in the above-described processing according to claim 1 of the present invention, for example, a file information management unit of a session immediately before an error session is added to a new session on a recording medium such as a CD-R disc which can be recorded only once. Is effective, but the information can be rewritten many times.
A recording medium such as a D-RW disc wastes recording space.

【0099】そこで、このような不具合を解消するた
め、次に、上記CD−R/RWドライブ装置におけるこ
の発明の請求項2に係る処理について説明する。
Then, in order to solve such a problem, a process according to claim 2 of the present invention in the CD-R / RW drive device will be described below.

【0100】この処理では、情報の記録及び消去が可能
なディスク17に対しては、所定の記録区分(セッショ
ン)に対して情報を記録している最中にライトエラーが
発生し、トラック記録に失敗した時、当該エラーセッシ
ョンのセッション情報管理部にセッション管理情報(T
OC)を記録する命令をホストコンピュータから受信し
た場合、セッション管理情報(TOC)を記録せずに、
エラーが発生したトラックを消去し、この処理を終了す
る。
In this process, a write error occurs on the disk 17 on which information can be recorded and erased while information is being recorded for a predetermined recording section (session), and the track is not recorded. When it fails, the session management information (T
When the command for recording the OC is received from the host computer, the session management information (TOC) is not recorded,
The track in which the error has occurred is erased, and this process ends.

【0101】図9は、その請求項2に係る処理を示すフ
ロー図である。このディスク別セッション記録処理は、
ステップ21でライトエラーが発生したトラックが有り
か否かを判断し、有りならステップ22へ進んでエラー
ディスクはCD−RWディスクか否かを判断し、CD−
RWディスクなら、ステップ27へ進んでエラートラッ
ク消去処理を実行し、この処理を終了する。
FIG. 9 is a flowchart showing the processing according to claim 2 of the present invention. This session recording process for each disc
In step 21, it is determined whether or not there is a track on which a write error has occurred. If so, the process proceeds to step 22 to determine whether or not the error disk is a CD-RW disk.
If the disc is an RW disc, the process proceeds to step 27 to execute an error track erasure process, and the process ends.

【0102】また、ステップ22の判断でエラーディス
クがCD−RWディスクでなければ、ステップ23へ進
んでエラーセッションのTOCを記録し、ステップ24
へ進んでエラーセッションのリードアウト(Lead−
Out)領域を記録し、ステップ25へ進んでISO9
660フォーマットデータか否かを判断し、ISO96
60フォーマットデータなら、ステップ26へ進んで図
6に示したリカバーセッション記録処理を実行し、この
処理を終了する。
If it is determined in step 22 that the error disk is not a CD-RW disk, the flow advances to step 23 to record the TOC of the error session.
To the error session readout (Lead-
Out) area is recorded, and the routine proceeds to step 25, where
It is determined whether or not the data is 660 format data.
If it is 60 format data, the process proceeds to step 26, where the recovery session recording process shown in FIG. 6 is executed, and this process ends.

【0103】ステップ21の判断でライトエラーが発生
したトラックが無ければ、ステップ28へ進んで現セッ
ションのTOCを記録し、ステップ29へ進んで現セッ
ションのリードアウト(Lead−Out)領域を記録
し、この処理を終了する。また、ステップ25の判断で
ISO9660フォーマットデータでなければ、そのま
ま処理を終了する。
If there is no track on which a write error has occurred in step 21, the process proceeds to step 28 to record the TOC of the current session, and proceeds to step 29 to record the lead-out (Lead-Out) area of the current session. , And this process ends. If it is determined in step 25 that the data is not ISO9660 format data, the process ends.

【0104】次に、この発明の請求項2に係る処理をさ
らに説明する。この処理は、挿入しているディスク17
がCD−RディスクかCD−RWディスクかを判断し、
CD−RWディスクだと判断した場合は、リカバーセッ
ション記録処理を実行せずに終了させるものである。
Next, the processing according to claim 2 of the present invention will be further described. This process is performed on the inserted disk 17.
Is a CD-R disc or a CD-RW disc,
If it is determined that the disc is a CD-RW disc, the process ends without executing the recovery session recording process.

【0105】このディスク別セッション記録処理も、ホ
ストコンピュータからセッションを閉じる命令(Clo
se Session Command)を受信した時
に実行する。
This disc-by-disk session recording process also uses a command (Close) to close the session from the host computer.
This is executed when (se Session Command) is received.

【0106】システムコントローラ11は、ディスク1
7のセッション内のトラックが、ライトエラーで終了し
た場合(S21)、挿入されているディスク17の種類
の確認を行なう(S22)。ここで、CD−RWディス
クと判断した場合は、当該エラートラック領域に消去パ
ターンを記録し、当該エラートラックを消去して(S2
3)、セッション完結処理を終了させる。
The system controller 11 controls the disk 1
When the track in the session No. 7 ends with a write error (S21), the type of the inserted disk 17 is confirmed (S22). If it is determined that the disc is a CD-RW disc, an erasure pattern is recorded in the error track area, and the error track is erased (S2).
3) Terminate the session completion processing.

【0107】ディスク17がCD−RWディスクか否か
の判断(S22)で、挿入されているディスク17がC
D−Rディスクと判断した場合は、エラーセッションの
TOC領域にセッション管理情報を記録し(S23)、
セッションの最後をあらわすリードアウト(Lead−
Out)領域を記録し(S24)、エラートラックがI
SO9660フォーマットデータであるか否かを確認す
る(S25)。
When it is determined whether the disk 17 is a CD-RW disk (S22), the inserted disk 17
If it is determined that the disc is a DR disc, the session management information is recorded in the TOC area of the error session (S23),
Lead-out that represents the end of the session (Lead-
(Out) area is recorded (S24), and the error track is
It is confirmed whether the data is SO9660 format data (S25).

【0108】この確認手段は、上述と同じようにして行
なう。さらに、ISO9660フォーマットデータと判
断した場合は、上述のリカバーセッション記録処理(S
26)を行なって終了する。
This confirmation means is performed in the same manner as described above. If it is determined that the data is ISO9660 format data, the recovery session recording process (S
26) is performed and the processing ends.

【0109】こうして、情報の消去ができるCD−RW
ディスク等のディスクにおいては、図8に示したディス
クフォーマットにせずに、図10に示したディスクフォ
ーマットの状態に変えることができる。
Thus, the CD-RW from which information can be erased
A disk such as a disk can be changed to the disk format shown in FIG. 10 without using the disk format shown in FIG.

【0110】したがって、図10に示したようなディス
クフォーマットにすることにより、ディスク17の第2
セッションに記録されたエラーセッションが消去され、
第1セッションのみがディスク17上に存在し、CD−
RWディスクでもOSから正しくファイル情報が認識さ
れるようにすることができる。
Therefore, by setting the disk format as shown in FIG.
The error session recorded in the session will be cleared,
Only the first session exists on the disk 17 and the CD-
The file information can be correctly recognized from the OS even on the RW disk.

【0111】このようにして、情報の記録及び消去が可
能なCD−RWディスク等のディスクに対してはエラー
セッションを消去することにより、未記録部スペースの
無駄遣いをせずに済む。
In this manner, by erasing the error session for a disc such as a CD-RW disc on which information can be recorded and erased, it is possible to avoid wasting unrecorded space.

【0112】次に、上述のこの発明の請求項1に係る処
理では、エラーセッションがディスク上の第1セッショ
ンであった場合、エラーセッション直前のセッションが
存在しないので、次の新規セッションに対してファイル
情報管理部を記録できなくなり、OS上でディレクトリ
/ファイル情報を誤認識してしまう。
Next, in the above-described processing according to claim 1 of the present invention, if the error session is the first session on the disk, there is no session immediately before the error session, so that the next new session The file information management unit cannot be recorded, and directory / file information is erroneously recognized on the OS.

【0113】そこで、このような不具合を解消するた
め、次に、上記CD−R/RWドライブ装置におけるこ
の発明の請求項3に係る処理について説明する。
Then, in order to solve such a problem, a process according to claim 3 of the present invention in the CD-R / RW drive device will be described below.

【0114】この処理は、第1セッションに対して情報
の記録中にエラーが発生した場合は、当該エラーセッシ
ョンのセッション情報管理部にセッション管理情報(T
OC)を記録する命令をホストコンピュータから受信し
た時に、当該エラーセッションのセッション管理情報
(TOC)を記録した後に、次の新規セッションに対し
て所定の長さのトラックにファイル情報管理部データと
異なる特殊データを記録して新規セッションを完結させ
る。
This processing is performed when an error occurs during recording of information for the first session, and the session management information (T
When the command for recording the OC) is received from the host computer, the session management information (TOC) of the error session is recorded, and then the file information management unit data differs from the file information management unit data in a track of a predetermined length for the next new session. Record special data to complete a new session.

【0115】図11は、その請求項3に係る処理を示す
フロー図である。この第1のダミーセッション記録処理
は、ステップ31でライトエラーが発生したトラックが
有るか否かを判断して、有ればステップ32へ進んでエ
ラーセッションのTOCを記録し、ステップ33へ進ん
でエラーセッションのリードアウト(Lead−Ou
t)領域を記録し、ステップ39へ進んでエラーセッシ
ョンが第1セッションか否かを判断する。
FIG. 11 is a flowchart showing the processing according to claim 3 of the present invention. In the first dummy session recording process, it is determined in step 31 whether or not there is a track in which a write error has occurred. If so, the process proceeds to step 32 to record the TOC of the error session, and then proceeds to step 33. Readout of Error Session (Lead-Ou
t) Record the area and proceed to step 39 to determine whether the error session is the first session.

【0116】ステップ39の判断でエラーセッションが
第1セッションなら、ステップ34へ進んでダミーデー
タをセットし、ステップ35へ進んでトラック長=30
0セクタに設定し、ステップ36へ進んでダミートラッ
クを記録し、ステップ37へ進んでダミーセッションの
TOC領域を記録し、ステップ38へ進んでダミーセッ
ションのリードアウト(Lead−Out)領域を記録
し、この処理を終了する。
If it is determined in step 39 that the error session is the first session, the flow advances to step 34 to set dummy data, and the flow advances to step 35, where track length = 30.
Set to 0 sector, proceed to step 36 to record a dummy track, proceed to step 37 to record the TOC area of the dummy session, and proceed to step 38 to record the lead-out (Lead-Out) area of the dummy session. , And this process ends.

【0117】ステップ39の判断でエラーセッションが
第1セッションでなければ、ステップ40へ進んでIS
O9660フォーマットデータか否かを判断して、IS
O9660フォーマットデータでなければ、そのままこ
の処理を終了し、ISO9660フォーマットデータな
ら、ステップ41へ進んで新規セッション記録処理を実
行し、この処理を終了する。
If it is determined in step 39 that the error session is not the first session, the process proceeds to step 40 where IS
Determine whether the data is O9660 format data, and
If it is not O9660 format data, this process is terminated as it is. If it is ISO9660 format data, the process proceeds to step 41, where a new session recording process is executed, and this process ends.

【0118】ステップ31の判断でライトエラーが発生
したトラックがなければ、ステップ42へ進んで現セッ
ションのTOCを記録し、ステップ43へ進んで現セッ
ションのリードアウト(Lead−Out)領域を記録
し、この処理を終了する。
If it is determined in step 31 that there is no track on which a write error has occurred, the process proceeds to step 42 to record the TOC of the current session, and proceeds to step 43 to record the lead-out (Lead-Out) area of the current session. , And this process ends.

【0119】次に、この発明の請求項3に係る処理をさ
らに説明する。この第1のダミーセッション記録処理
は、ホストコンピュータからセッションを閉じる命令
(Close Session Command)を受
信した時、ライトエラーが発生したトラックが属するセ
ッションがディスク上の第1セッションか否かを確認
し、第1セッションならそのセッションの後にISO9
660フォーマットのファイル情報管理部データを記録
せずに、“00”データをダミーデータとしてトラック
に記録し、ダミーセッションを作成する。
Next, the processing according to claim 3 of the present invention will be further described. In the first dummy session recording process, when a close session command is received from the host computer, it is determined whether the session to which the track in which the write error occurred belongs is the first session on the disc, If the first session, ISO9 after that session
Instead of recording the 660 format file information management unit data, "00" data is recorded on the track as dummy data to create a dummy session.

【0120】この処理によって、Windows95な
どのOSは、挿入されているディスクがブランクディス
クと同等なディスクと判断することができ、ディスク上
の残りの記録スペースにデータを追記することができる
ようになる。
By this process, the OS such as Windows 95 can determine that the inserted disk is a disk equivalent to a blank disk, and can add data to the remaining recording space on the disk. .

【0121】システムコントローラ11は、ホストコン
ピュータからセッションを閉じる命令(Close S
ession Command)を受信した時、ライト
エラーが発生したトラックが存在するなら(S31)、
そのセッションのTOC領域を記録し(S32)、リー
ドアウト(Lead−Out)領域を記録する(S3
3)。その後、当該セッションがディスク上の第1セッ
ションか否かを確認する(S39)。
The system controller 11 issues a command (Close S) to close the session from the host computer.
When receiving a (session command), if there is a track in which a write error has occurred (S31),
The TOC area of the session is recorded (S32), and the lead-out (Lead-Out) area is recorded (S3).
3). Thereafter, it is determined whether or not the session is the first session on the disc (S39).

【0122】上記確認で第1セッションと判定した場
合、DRAM5に“00”データからなるダミーデータ
を記憶し(S34)、トラック長をCD−RWディスク
規格の最小値である300セクタに設定し(S35)、
ダミーデータトラックを記録する(S36)。
If it is determined in the above confirmation that the session is the first session, dummy data consisting of "00" data is stored in the DRAM 5 (S34), and the track length is set to 300 sectors which is the minimum value of the CD-RW disc standard (S34). S35),
A dummy data track is recorded (S36).

【0123】その後、ダミーセッションのTOC領域を
記録し(S37)、リードアウト(Lead−Out)
領域を記録して(S38)、ダミーセッション記録処理
を終了する。また、S39でエラーセッションが第1セ
ッションでなければ、図5と同様な処理S40〜S43
を行なう。
Thereafter, the TOC area of the dummy session is recorded (S37), and the lead-out (Lead-Out) is performed.
The area is recorded (S38), and the dummy session recording process ends. If the error session is not the first session in S39, the same processing S40 to S43 as in FIG.
Perform

【0124】こうして、図12に示すディスクフォーマ
ットのように、第2セッションにダミーデータを記録し
てセッションを閉じるので、OSは最終セッションにフ
ァイル情報管理部が記録されていないものと判断するこ
とができ、ブランクディスクと同様の扱いをできる。
As described above, since the dummy data is recorded in the second session and the session is closed as in the disc format shown in FIG. 12, the OS may determine that the file information management unit is not recorded in the last session. Yes, and can be treated the same as a blank disc.

【0125】このようにして、ディスク上に記録されて
いる最終セッション内(新規に追加したダミーセッショ
ン)にはファイル情報管理部データを記録しないので、
Windows95などのOSはディレクトリ/ファイ
ル情報を誤認識することがなくなる。また、OSはブラ
ンクディスクと同等の扱いができる。
As described above, since the file information management unit data is not recorded in the last session (a newly added dummy session) recorded on the disc,
An OS such as Windows 95 does not erroneously recognize directory / file information. Also, the OS can be treated in the same way as a blank disk.

【0126】次に、上述のこの発明の請求項1に係る処
理では、エラーセッションの直前のセッションが音楽用
セッションであった場合、そのセッション内にはファイ
ル情報管理部が存在しない為、エラーセッション直後の
新規セッションに対してファイル情報管理部を記録でき
なくなり、Windows95(登録商標)等のOS上
でディレクトリ/ファイル情報を誤認識してしまう。
Next, in the above-described processing according to claim 1 of the present invention, if the session immediately before the error session is a music session, there is no file information management unit in the session. The file information management unit cannot be recorded for a new session immediately after, and directory / file information is erroneously recognized on an OS such as Windows 95 (registered trademark).

【0127】そこで、このような不具合を解消するた
め、次に、上記CD−R/RWドライブ装置におけるこ
の発明の請求項4に係る処理について説明する。
Then, in order to solve such a problem, a process according to claim 4 of the present invention in the CD-R / RW drive device will be described below.

【0128】この処理では、ディスク上の音楽用セッシ
ョン(オーディオセッション)の後のセッションに対し
て情報の記録中にエラーが発生した場合は、当該エラー
セッションのセッション情報管理部にセッション管理情
報(TOC)を記録する命令をホストコンピュータから
受信した時に、当該エラーセッションのセッション管理
情報(TOC)を記録した後に、次の新規セッションに
対して所定の長さのトラックにファイル情報管理部デー
タと異なる特殊データを記録してセッションを完結させ
る。
In this process, if an error occurs during recording of information for a session after the music session (audio session) on the disc, the session management information (TOC) of the error session is stored in the session information management unit of the error session. ) Is received from the host computer, and after recording the session management information (TOC) of the error session, a special track different from the file information management unit data in a track of a predetermined length for the next new session is recorded. Record data and complete the session.

【0129】図13は、その請求項4に係る処理を示す
フロー図である。この第2のダミーセッション記録処理
は、ステップ51で前セッションの第1(1st)トラ
ックのアドレスを取得し、ステップ52へ進んでファイ
ル情報管理部のアドレスを設定し、ステップ53へ進ん
でファイル管理情報をリードし、ステップ54へ進んで
前セッションがISO9660フォーマットデータか否
かを判断する。
FIG. 13 is a flowchart showing the processing according to claim 4 of the present invention. In the second dummy session recording process, the address of the first (1st) track of the previous session is obtained in step 51, the process proceeds to step 52, the address of the file information management unit is set, and the process proceeds to step 53 to perform file management. The information is read, and the flow advances to step 54 to determine whether or not the previous session is ISO9660 format data.

【0130】ステップ54の判断で前セッションがIS
O9660フォーマットデータなら、ステップ55へ進
んでリカバートラック記録処理を実行し、ステップ56
へ進んでリカバーセッションのTOCを記録し、ステッ
プ57へ進んでリカバーセッションのリードアウト(L
ead−Out)領域を記録し、この処理を終了する。
In the judgment of step 54, the previous session is IS
If the data is O9660 format data, the flow advances to step 55 to execute a recovery track recording process, and
Go to step 57 to record the TOC of the recovery session, and go to step 57 to read out the recovery session (L
(head-Out) area is recorded, and this process ends.

【0131】ステップ54の判断で前セッションがIS
O9660フォーマットデータでないなら、ステップ5
8へ進んで前セッションがオーディオセッションか否か
を判断して、オーディオセッションなら、ステップ59
へ進んでダミーデータをセットし、ステップ60へ進ん
でトラック長=300セクタをセットし、ステップ61
へ進んでダミートラックを記録し、ステップ62へ進ん
でダミーセッションのTOC領域を記録し、ステップ6
3へ進んでダミーセッションのリードアウト(Lead
−Out)領域を記録し、この処理を終了する。また、
ステップ58の判断で前セッションがISO9660フ
ォーマットデータでなければ、そのままこの処理を終了
する。
The previous session is determined to be IS in step 54
If it is not O9660 format data, step 5
Proceeding to step 8, it is determined whether or not the previous session is an audio session.
Go to step 60 to set dummy data, go to step 60, set track length = 300 sectors, and go to step 61
Go to step 62 to record a dummy track, go to step 62 to record the TOC area of the dummy session, and go to step 6
3 and lead out dummy session (Lead
-Out) area is recorded, and this process ends. Also,
If it is determined in step 58 that the previous session is not ISO9660 format data, this process is terminated.

【0132】次に、この発明の請求項4に係る処理をさ
らに説明する。この第2のダミーセッション記録処理
は、リカバーセッション記録処理時に、エラーセッショ
ン直前のセッションがオーディオセッションか否かを確
認し、オーディオセッションであれば、エラーセッショ
ンの後にダミーセッションを記録する。
Next, the processing according to claim 4 of the present invention will be further described. In the second dummy session recording process, at the time of the recover session recording process, it is checked whether or not the session immediately before the error session is an audio session. If the session is an audio session, the dummy session is recorded after the error session.

【0133】例えば、CD−ExtraというCDが世
の中に存在する。このCDは、第1セッションがオーデ
ィオセッション(音楽用セッション)であり、第2セッ
ションがデータセッションであり、オーディオプレーヤ
(Audio Player)で通常の音楽(Audi
o)再生ができ、パソコン上で画像再生しながら音楽再
生ができる。第2セッションの中にはもちろん、画像デ
ータが記録されている。
For example, a CD called CD-Extra exists in the world. In this CD, the first session is an audio session (music session), the second session is a data session, and normal music (Audio) is played on an audio player (Audio Player).
o) Playback is possible, and music can be played back while playing back images on a personal computer. Of course, image data is recorded in the second session.

【0134】このようなCD−ExtraをCD−R/
RWドライブ装置を用いて作成することができるが、第
2セッションでライトエラーが発生した場合は、上述の
ような原因でWindows95などのOS上で画像が
正しく再生できない等の不具合が発生することがある。
[0134] Such a CD-Extra is converted to a CD-R /
Although it can be created using an RW drive device, if a write error occurs in the second session, problems such as the inability to correctly reproduce images on an OS such as Windows 95 due to the above-described causes may occur. is there.

【0135】この不具合の発生を避けるためにも、第2
セッションの後にダミーセッションを記録し、その後画
像データが正しく記録できるようにする必要がある。そ
のダミーセッションは最終セッションであり、そのセッ
ションのトラックには“00”データを記録しており、
ファイル情報管理部が記録されていない為、OSは誤っ
た情報を参照しないで済む。
In order to avoid this problem, the second
It is necessary to record a dummy session after a session so that image data can be recorded correctly. The dummy session is the last session, and “00” data is recorded on the track of the session.
Since the file information management unit is not recorded, the OS does not need to refer to incorrect information.

【0136】この第2のダミーセッション記録処理は、
図6のリカバーセッション記録処理を改良したものであ
る。システムコントローラ11は、まず、図6のリカバ
ーセッション記録処理と同様にして、前セッションのフ
ァイル情報管理部を再生した後(S51〜S53)、そ
のセッションがISO9660フォーマットディスクか
否かを確認する(S54)。
This second dummy session recording process
It is an improvement of the recovery session recording process of FIG. The system controller 11 first plays back the file information management unit of the previous session in a manner similar to the recovery session recording process of FIG. 6 (S51 to S53), and then checks whether the session is an ISO9660 format disk (S54). ).

【0137】ここで、ISO9660フォーマットディ
スクでないと判断した場合は、オーディオセッションか
否かを確認する(S58)。その確認(S58)でオー
ディオセッションと判断した場合は、CD−R/RWド
ライブ装置のDRAM5に“00”データからなるダミ
ーデータを設定し(S59)、ダミートラックの長さを
CD規格の最小値である300セクタに設定し(S6
0)、ダミートラックを記録する(S61)。
If it is determined that the disc is not an ISO9660 format disc, it is confirmed whether or not the disc is an audio session (S58). If the audio session is determined in the confirmation (S58), dummy data consisting of "00" data is set in the DRAM 5 of the CD-R / RW drive (S59), and the length of the dummy track is set to the minimum value of the CD standard. Is set to 300 sectors (S6
0), a dummy track is recorded (S61).

【0138】その後、ダミーセッションを完結させる処
理として、ダミーセッションのTOC領域を記録し(S
62)、リードアウト(Lead−Out)領域を記録
(S63)して、この処理を終了する。
Then, as a process for completing the dummy session, the TOC area of the dummy session is recorded (S
62), a lead-out (Lead-Out) area is recorded (S63), and this processing ends.

【0139】また、オーディオセッションか否かの判断
(S58)で前セッションがISO9660フォーマッ
トデータでもなく、またオーディオデータでもないと判
断した場合はこの処理を終了する。
If it is determined that the previous session is neither the ISO9660 format data nor the audio data in the determination as to whether the audio session is an audio session (S58), the process is terminated.

【0140】さらに、ISO9660フォーマットデー
タか否かの判断(S54)で、前セッションがISO9
660フォーマットデータと判断した場合は、図6に示
した処理と同様にリカバーセッション記録処理を行ない
(S55〜S57)、この処理を終了する。
Further, it is determined whether or not the data is ISO9660 format data (S54).
If the data is determined to be 660 format data, a recovery session recording process is performed in the same manner as the process shown in FIG. 6 (S55 to S57), and this process ends.

【0141】こうして、図14に示すディスクフォーマ
ットのように、エラーセッション後にダミーセッション
を記録するので、OSはオーディオ(Audio)デー
タが記録されたディスクと同等なものと判断することが
でき、音楽(Audio)再生を正確に行なえる。
As described above, since the dummy session is recorded after the error session as in the disk format shown in FIG. 14, the OS can determine that the disk is equivalent to the disk on which the audio data is recorded, and Audio) Reproduction can be performed accurately.

【0142】このようにして、ディスク上に記録されて
いる最終セッション内にはファイル情報管理データを記
録しないので、Windows95などのOSはディレ
クトリ/ファイル情報を誤認識することがなくなる。ま
た、OSは音楽データのみが記録されているディスクと
同等の扱いができる。
As described above, since the file information management data is not recorded in the last session recorded on the disk, the OS such as Windows 95 does not erroneously recognize the directory / file information. Also, the OS can be handled in the same manner as a disc on which only music data is recorded.

【0143】次に、トラックを記録している最中に停電
などの原因によってこのCD−R/RWドライブ装置の
電源がシャットダウンされてしまった場合、トラックが
途中で途切れ、トラック情報管理部(PMA)が記録さ
れていない状態になり、セッションが未完結のままのデ
ィスクが作られてしまう。
Next, if the power of the CD-R / RW drive device is shut down due to a power failure or the like while recording the track, the track is interrupted halfway and the track information management unit (PMA ) Is not recorded, and a disc with an incomplete session is created.

【0144】また、上述のように、トラックは記録され
ているが、そのトラックに対するトラック情報管理部
(PMA)がないディスクが存在した場合、そのディス
クをCD−R/RWドライブ装置に挿入するとCD−R
/RWドライブ装置は不正なディスクと判断して記録も
再生も不能になり、以前に記録されているセッション内
のファイルまで再生できなくなり、過去に記録されたデ
ータを見かけ上失ってしまうことになる。
As described above, if there is a disc on which a track has been recorded but no track information management unit (PMA) exists for that track, when the disc is inserted into a CD-R / RW drive device, -R
The / RW drive device determines that the disk is an illegal disk, and cannot perform recording or reproduction. Therefore, it is impossible to reproduce a file in a previously recorded session, and data recorded in the past is apparently lost. .

【0145】そこで、このような不具合を解消するた
め、上記CD−R/RWドライブ装置においてこの発明
の請求項5に係る処理を実行するとよい。
Therefore, in order to solve such a problem, it is preferable to execute the processing according to claim 5 of the present invention in the CD-R / RW drive device.

【0146】この処理は、挿入されているディスクに対
して、トラックは記録されているがそのトラックに対す
るトラック情報管理部(PMA)がないと判断した場
合、当トラックの最終アドレスを検出し、トラック情報
管理部(PMA)を記録し、そのトラックが存在するセ
ッションに対してセッション管理情報(TOC)を記録
した後、次の新規セッションに対してエラーセッション
直前のセッションに記録されているファイル情報管理部
のデータをコピー記録する。
In this processing, when it is determined that a track is recorded on the inserted disk but there is no track information management unit (PMA) for the track, the last address of the track is detected, and After recording the information management unit (PMA) and recording the session management information (TOC) for the session in which the track exists, the file information management recorded in the session immediately before the error session for the next new session Copy and record the copy data.

【0147】また、例えば、1度しか記録できないCD
−Rディスク等のディスクに対して、不正なトラックが
存在するセッションを完結し、エラーセッションの直前
のセッションのファイル情報管理部を新規セッションに
記録する手段は有効であるが、何度も情報の書き換えが
できるCD−RWディスク等のディスクに関しては記録
スペースの無駄使いになってしまう。
Further, for example, a CD which can be recorded only once
Means for completing a session in which an incorrect track exists on a disc such as an R disc and recording the file information management unit of the session immediately before the error session in a new session is effective, but the information is repeatedly recorded. Discs such as rewritable CD-RW discs waste recording space.

【0148】そこで、このような不具合を解消するた
め、上記CD−R/RWドライブ装置においてこの発明
の請求項6に係る処理を実行するとよい。
Therefore, in order to solve such a problem, the processing according to claim 6 of the present invention may be executed in the CD-R / RW drive device.

【0149】この処理は、情報の記録及び消去が可能な
ディスクに対しては、トラック情報管理部(PMA)の
ないトラックの最終アドレスを検出し、トラック情報管
理部(PMA)を記録せずに不正なトラックを消去す
る。
This process detects the last address of a track without a track information management unit (PMA) for a disk on which information can be recorded and erased, and without recording the track information management unit (PMA). Erase bad tracks.

【0150】図15は、その請求項5と6に係る処理を
示すフロー図である。このディスク情報取得処理は、デ
ィスクをCD−R/RWドライブ装置に挿入した時のマ
ウント処理であり、トラック情報がPMAに記録されて
いないトラックを検出した時に対して考慮した処理であ
る。
FIG. 15 is a flowchart showing the processing according to claims 5 and 6. This disc information acquisition process is a mounting process when a disc is inserted into a CD-R / RW drive device, and is a process that takes into account when a track whose track information is not recorded in the PMA is detected.

【0151】このようなトラックは、データライト処理
中に電源遮断等が発生して、TOC領域が記録できなか
ったために発生する。そこで、当該トラックをマウント
時に検出した場合は、そのトラックをリカバーしてセッ
ションを完結し、次のリカバーセッションを記録すれば
よい。
Such a track occurs because the power supply was cut off during the data write processing and the TOC area could not be recorded. Therefore, when the track is detected at the time of mounting, the track is recovered, the session is completed, and the next recovery session may be recorded.

【0152】このディスク情報取得処理は、ステップ7
1でスタンプディスクか否かを判断して、スタンプディ
スクでなければ、ステップ72へ進んでTOCを再生
し、ステップ73へ進んでPMAを再生し、ステップ7
4へ進んでプログラムエリアを再生し、ステップ75へ
進んでPMAに無いトラックが存在するか否かを判断す
る。
This disk information acquisition processing is performed in step 7
It is determined in step 1 whether or not the disc is a stamp disc. If the disc is not a stamp disc, the process proceeds to step 72 to reproduce the TOC, and proceeds to step 73 to reproduce the PMA.
The process proceeds to step 4 to reproduce the program area, and proceeds to step 75 to determine whether or not there is a track not in the PMA.

【0153】ステップ75の判断でPMAに無いトラッ
クが存在しなければ、この処理を終了し、PMAに無い
トラックが存在すれば、ステップ76へ進んで当トラッ
クの最終アドレスを検出し、ステップ77へ進んでCD
−RWディスクか否かを判断して、CD−RWディスク
なら、ステップ78へ進んで不正トラック消去処理を実
行し、この処理を終了する。
If it is determined in step 75 that there is no track that is not in the PMA, the process is terminated. If there is a track that is not in the PMA, the flow advances to step 76 to detect the last address of the track, and the flow advances to step 77. Willing CD
It is determined whether or not the disc is a RW disc. If the disc is a CD-RW disc, the process proceeds to step 78, where an unauthorized track erasing process is executed, and this process ends.

【0154】ステップ77の判断でCD−RWディスク
でなければ、ステップ80へ進んでPMAを記録し、ス
テップ81へ進んで不正セッションのTOCを記録し、
ステップ82へ進んで不正セッションのリードアウト
(Lead−Out)領域を記録し、ステップ83へ進
んで不正トラックのデータがISO9660フォーマッ
トデータか否かを判断する。
If the disc is not a CD-RW disc in the judgment in step 77, the flow advances to step 80 to record the PMA, and the flow advances to step 81 to record the TOC of the unauthorized session.
Proceeding to step 82, a lead-out (Lead-Out) area of the illegal session is recorded, and proceeding to step 83, it is determined whether or not the data of the illegal track is ISO9660 format data.

【0155】ステップ83の判断で不正トラックのデー
タがISO9660フォーマットデータでなければ、そ
のままこの処理を終了し、不正トラックのデータがIS
O9660フォーマットデータなら、ステップ84の図
6に示したリカバーセッション記録処理を実行し、この
処理を終了する。また、ステップ71の判断でスタンプ
ディスクなら、ステップ79へ進んでTOCを再生し、
この処理を終了する。
If it is determined in step 83 that the data of the illegal track is not the ISO9660 format data, the process is terminated as it is, and the data of the illegal track is
If the data is O9660 format data, the recovery session recording process shown in FIG. 6 in step 84 is executed, and this process ends. If the stamp disc is determined in step 71, the process proceeds to step 79 to reproduce the TOC,
This processing ends.

【0156】次に、この請求項5と6に係る処理につい
てさらに説明する。システムコントローラ11は、ま
ず、挿入されているディスクがスタンプディスクか否か
を確認する(S71)。
Next, the processing according to claims 5 and 6 will be further described. First, the system controller 11 checks whether the inserted disk is a stamp disk (S71).

【0157】これは、ディスク上のCD−R/RWディ
スクのプリフォーマットされているATIPが検出でき
るかによって判断するものである。スタンプディスクか
否かの判断(S71)でスタンプディスクと判断した場
合は、第1セッションのTOCを再生し、次にマルチセ
ッションであったら、各々のセッションのTOCを再生
し、セッション情報を取得する(S79)。
This is to determine whether the preformatted ATIP of the CD-R / RW disc on the disc can be detected. If it is determined that the disc is a stamp disc (S71), the TOC of the first session is reproduced, and if the disc is a multi-session, the TOC of each session is reproduced, and if the disc is a multi-session, session information is obtained. (S79).

【0158】つまり、スタンプディスクにはPMAがな
いため、TOC再生によってトラック情報を得てマウン
ト処理を終了する。
That is, since there is no PMA on the stamp disk, the track information is obtained by TOC reproduction, and the mounting process ends.

【0159】スタンプディスクか否かの判断(S71)
で、スタンプディスクでないと判断した場合は、CD−
R/RWディスクとして、TOC再生を上記スタンプデ
ィスクと同様な処理を用いて実行する(S72)。
Determination as to whether the disk is a stamp disk (S71)
If the disc is not a stamp disc,
As the R / RW disc, the TOC reproduction is executed by using the same process as the stamp disc (S72).

【0160】その後、CD−R/RWディスク特有のP
MAを再生し(S73)、各トラックのモードやスター
トアドレス,エンドアドレス等を確認する。
After that, the P-specific information of the CD-R / RW disc
The MA is reproduced (S73), and the mode, start address, end address and the like of each track are confirmed.

【0161】次に、PMAに記録されている最終トラッ
クの最終アドレスの外側を再生し(プログラムエリア再
生)(S74)、PMAに記録されていないトラックが
存在しているかを確認する(S75)。
Next, the outside of the last address of the last track recorded in the PMA is reproduced (program area reproduction) (S74), and it is confirmed whether there is a track not recorded in the PMA (S75).

【0162】PMAに無いトラックの存在の有無の判断
(S75)で、不正なトラックがあったと判断した場合
は、当該トラックがどこまで記録されているかを再生信
号の検出によって行なう(S76)。そして、再生信号
を検出できた最終アドレスが当該トラックのエンドアド
レスと設定する(S76)。
If it is determined in step S75 that there is a track not present in the PMA, that there is an illegal track, the extent to which the track has been recorded is detected by detecting a reproduction signal (S76). Then, the last address at which the reproduction signal can be detected is set as the end address of the track (S76).

【0163】次に、挿入されているディスクがCD−R
Wディスクか否かを判断し(S77)、CD−RWディ
スクであればその不正トラックを消去して(S78)、
この処理を終了する。また、PMAに無いトラックの存
在の有無の判断(S75)で、PMAに記録されていな
いトラックがプログラムエリアに検出できない場合は正
常ディスクと判断して、ディスク情報マウント処理を終
了する。
Next, if the inserted disc is a CD-R
It is determined whether or not the disc is a W disc (S77). If the disc is a CD-RW disc, the illegal track is deleted (S78).
This processing ends. If it is determined in step S75 whether a track not recorded in the PMA is present in the program area, the disc is determined to be a normal disk, and the disc information mounting process is terminated.

【0164】CD−RWディスクか否かの判断(S7
7)で、挿入されているディスクがCD−Rディスクで
あると判断した場合は、不正トラックのアドレス情報等
のトラック情報をPMAに記録し(S80)、当該トラ
ックが属するセッションのTOC領域を記録し(S8
1)、リードアウト(Lead−Out)領域を記録し
(S82)、不正トラックに記録されているデータがI
SO9660フォーマットデータか否かを確認する(S
83)。
Judgment as to whether or not the disc is a CD-RW disc (S7)
If it is determined in step 7) that the inserted disc is a CD-R disc, track information such as address information of an illegal track is recorded in the PMA (S80), and the TOC area of the session to which the track belongs is recorded. (S8
1) The lead-out (Lead-Out) area is recorded (S82), and the data recorded on the illegal track is I
Check whether the data is SO9660 format data (S
83).

【0165】この確認手段は、本トラックのLBN16
(論理アドレスの16番地)アドレスから連続的に再生
し、PVD,SVD,ターミネータ(Terminat
or)の識別子が検出できたらISO9660フォーマ
ットデータと判定する。
This checking means is based on the LBN 16
(Logical address 16) Reproduce continuously from address, PVD, SVD, terminator (Terminat
If the identifier of (or) is detected, it is determined that the data is ISO9660 format data.

【0166】不正トラックのデータがISO9660フ
ォーマットデータか否かの判断(S83)で、ISO9
660フォーマットデータと判断した場合は、次のセッ
ションに不正セッション直前のセッションのファイル情
報管理部をコピー記録するリカバーセッション記録処理
(S84)を実行して、この処理を終了する。
When it is determined whether or not the data on the illegal track is ISO9660 format data (S83), the ISO 9
If it is determined that the data is 660 format data, a recover session recording process (S84) for copying and recording the file information management unit of the session immediately before the unauthorized session is executed in the next session, and this process ends.

【0167】また、不正トラックのデータがISO96
60フォーマットデータか否かの判断(S83)で不正
トラックのデータがISO9660データでなければ、
このマウント処理を直ちに終了する。
In addition, the data of the illegal track is ISO96
If the data of the illegal track is not ISO9660 data in the determination of whether or not the data is the 60 format data (S83),
This mounting process is immediately terminated.

【0168】このようにして、不正なトラックが存在す
るセッションを完結し、エラーセッションの直前のセッ
ションのファイル情報管理部を新規セッションに記録す
るので、不正ディスクが記録及び再生可能となるだけで
なく、過去に記録したファイルをWindows95等
のOSから再生することができる。
In this way, the session in which an illegal track exists is completed, and the file information management unit of the session immediately before the error session is recorded in the new session. A file recorded in the past can be reproduced from an OS such as Windows 95.

【0169】また、情報の記録及び消去が可能なCD−
RWディスク等のディスクに対しては不正なトラックを
消去することにより、未記録部スペースの無駄遣いをす
ることがなくなる。
A CD-ROM capable of recording and erasing information is
By erasing illegal tracks on a disc such as a RW disc, it is possible to avoid wasting unrecorded space.

【0170】[0170]

【発明の効果】以上説明してきたように、この発明によ
る情報記録再生装置によれば、データ記録中にライトエ
ラーが発生したとき、後のデータ再生時に不具合が生じ
ないようにエラー処理することができる。
As described above, according to the information recording / reproducing apparatus of the present invention, when a write error occurs during data recording, error processing can be performed so as not to cause a problem during subsequent data reproduction. it can.

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

【図1】この発明の情報記録再生装置の一実施形態であ
るCD−R/RWドライブ装置の構成を示すブロック図
である。
FIG. 1 is a block diagram illustrating a configuration of a CD-R / RW drive device that is an embodiment of an information recording / reproducing device according to the present invention.

【図2】図1に示したディスク17のセッションフォー
マットを示す図である。
FIG. 2 is a diagram showing a session format of a disk 17 shown in FIG.

【図3】トラックアットワンス方式で記録したトラック
のフォーマットである。
FIG. 3 shows a format of a track recorded by a track-at-once method.

【図4】ISO9660ファイルフォーマット図であ
る。
FIG. 4 is an ISO9660 file format diagram.

【図5】図1に示したCD−R/RWドライブ装置にお
けるこの発明の請求項1に係る処理を示すフロー図であ
る。
FIG. 5 is a flowchart showing processing according to claim 1 of the present invention in the CD-R / RW drive device shown in FIG. 1;

【図6】図5のリカバーセッション記録処理を示すフロ
ー図である。
FIG. 6 is a flowchart showing a recover session recording process of FIG. 5;

【図7】エラーセッションのディスクフォーマット例を
示す図である。
FIG. 7 is a diagram showing an example of a disk format of an error session.

【図8】図5に示した処理を施したディスクのディスク
フォーマット例を示す図である。
8 is a diagram showing an example of a disk format of a disk that has been subjected to the processing shown in FIG. 5;

【図9】図1に示したCD−R/RWドライブ装置にお
けるこの発明の請求項2に係る処理を示すフロー図であ
る。
FIG. 9 is a flowchart showing processing according to claim 2 of the present invention in the CD-R / RW drive device shown in FIG.

【図10】図9に示した処理を施したディスクのディス
クフォーマット例を示す図である。
FIG. 10 is a diagram showing an example of a disk format of a disk that has been subjected to the processing shown in FIG. 9;

【図11】図1に示したCD−R/RWドライブ装置に
おけるこの発明の請求項3に係る処理を示すフロー図で
ある。
FIG. 11 is a flowchart showing processing according to claim 3 of the present invention in the CD-R / RW drive device shown in FIG. 1;

【図12】図11に示した処理を施したディスクのディ
スクフォーマット例を示す図である。
12 is a diagram showing an example of a disk format of a disk that has been subjected to the processing shown in FIG. 11;

【図13】図1に示したCD−R/RWドライブ装置に
おけるこの発明の請求項4に係る処理を示すフロー図で
ある。
FIG. 13 is a flowchart showing processing according to claim 4 of the present invention in the CD-R / RW drive device shown in FIG. 1;

【図14】図13に示した処理を施したディスクのディ
スクフォーマット例を示す図である。
FIG. 14 is a diagram showing an example of a disk format of a disk on which the processing shown in FIG. 13 has been performed.

【図15】図1に示したCD−R/RWドライブ装置に
おけるこの発明の請求項5と6に係る処理を示すフロー
図である。
FIG. 15 is a flowchart showing processing according to claims 5 and 6 of the present invention in the CD-R / RW drive device shown in FIG.

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

1:CPU 2:フラッシュROM 3:ホストインタフェースコントローラ 4:バッファマネジャ 5:ダイナミックRAM 6:サブコードオペレーションコントローラ 7:CD−ROMエンコーダ 8:SRAM 9:CD−ROMデコーダ 10:オーディオ回路 11:システムコントローラ 12:CDエンコーダ 13:CDデコーダ 14:サーボ回路 15:スピンドルモータコントローラ 16:SCSIバス 17:ディスク 20:パワーキャリブレーションエリア(PCA) 21:トラック情報管理部(PMA) 22:記録区分(セッション) 23:セッション情報管理領域(リードインエリア) 24:トラック 25:記録区分最終領域(リードアウトエリア) 26:プログラムエリア 30:プレギャップ 31:ユーザデータ部 32:ランアウトブロック 33:リンクブロック 34:ランインブロック 1: CPU 2: Flash ROM 3: Host interface controller 4: Buffer manager 5: Dynamic RAM 6: Subcode operation controller 7: CD-ROM encoder 8: SRAM 9: CD-ROM decoder 10: Audio circuit 11: System controller 12 : CD encoder 13: CD decoder 14: Servo circuit 15: Spindle motor controller 16: SCSI bus 17: Disk 20: Power calibration area (PCA) 21: Track information management unit (PMA) 22: Recording section (session) 23: Session information management area (lead-in area) 24: track 25: recording section final area (lead-out area) 26: program area 30: pre-gap 31: user data section 32: Run-out block 33: Link block 34: Run-in block

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G11B 20/18 572 G11B 20/18 572F ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G11B 20/18 572 G11B 20/18 572F

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 情報の記録及び再生が可能な記録媒体に
対して一連のデータブロック群単位でファイルなどの情
報の記録及び再生を行なう情報記録再生装置において、 前記記録媒体の所定のセッションに対して情報を記録し
ている最中にライトエラーが発生してトラック記録に失
敗したとき、外部に接続された上位装置から前記ライト
エラーが発生したセッションのセッション情報管理部に
セッション管理情報を記録する命令を受信したとき、該
セッション管理情報を記録した後、前記ライトエラーが
発生したセッションの直前セッションに記録されている
ファイル情報管理部のデータを次の新規セッションにコ
ピー記録する手段を設けたことを特徴とする情報記録再
生装置。
An information recording / reproducing apparatus for recording / reproducing information such as a file in units of a series of data blocks on a recording medium capable of recording / reproducing information. When a write error occurs during the recording of information and the track recording fails, the externally connected host device records the session management information in the session information management unit of the session in which the write error has occurred. When receiving the command, after recording the session management information, a means for copying and recording the data of the file information management unit recorded in the session immediately before the session in which the write error has occurred in the next new session is provided. An information recording / reproducing apparatus characterized by the above-mentioned.
【請求項2】 情報の記録及び再生が可能な記録媒体に
対して一連のデータブロック群単位でファイルなどの情
報の記録及び再生を行なう情報記録再生装置において、 情報の記録及び消去が可能な記録媒体の所定のセッショ
ンに対して情報を記録している最中にライトエラーが発
生してトラック記録に失敗したとき、外部に接続された
上位装置から前記ライトエラーが発生したセッションの
セッション情報管理部にセッション管理情報を記録する
命令を受信したとき、該セッション管理情報を記録せず
に前記ライトエラーが発生したトラックを消去する手段
を設けたことを特徴とする情報記録再生装置。
2. An information recording / reproducing apparatus for recording / reproducing information such as a file in units of a series of data blocks on a recording medium capable of recording / reproducing information. When a write error occurs while recording information for a predetermined session of the medium and the track recording fails, a session information management unit for the session in which the write error has occurred from an externally connected higher-level device. An information recording / reproducing apparatus, further comprising: means for erasing a track on which the write error has occurred without recording the session management information when receiving a command for recording the session management information.
【請求項3】 請求項1記載の情報記録再生装置におい
て、 前記記録媒体の第1セッションに対して情報を記録中に
ライトエラーが発生したとき、前記上位装置から前記ラ
イトエラーが発生したセッションのセッション情報管理
部にセッション管理情報を記録する命令を受信したと
き、該セッション管理情報を記録した後、次の新規セッ
ションの所定の長さのトラックにファイル情報管理部に
記録するデータと異なる特殊データを記録してその新規
セッションを完結させる手段を設けたことを特徴とする
情報記録再生装置。
3. The information recording / reproducing apparatus according to claim 1, wherein, when a write error occurs during recording of information on the first session of the recording medium, the host device performs a write operation on the session in which the write error has occurred. When receiving an instruction to record session management information in the session information management unit, after recording the session management information, special data different from data to be recorded in the file information management unit on a track of a predetermined length of the next new session. An information recording / reproducing apparatus characterized by comprising means for recording a new session and completing the new session.
【請求項4】 請求項1記載の情報記録再生装置におい
て、 前記記録媒体の音楽用セッションの後のセッションに対
して情報の記録中にライトエラーが発生したとき、前記
上位装置から前記ライトエラーが発生したセッションの
セッション情報管理部にセッション管理情報を記録する
命令を受信したとき、該セッション管理情報を記録した
後、次の新規セッションの所定の長さのトラックにファ
イル情報管理部に記録するデータと異なる特殊データを
記録してその新規セッションを完結させる手段を設けた
ことを特徴とする情報記録再生装置。
4. The information recording / reproducing apparatus according to claim 1, wherein when a write error occurs during recording of information for a session after the music session on the recording medium, the write error is transmitted from the higher-level device. When receiving a command to record session management information in the session information management unit of the generated session, after recording the session management information, data to be recorded in the file information management unit on a track of a predetermined length of the next new session An information recording / reproducing apparatus provided with means for recording special data different from the above and completing the new session.
【請求項5】 情報の記録及び再生が可能な記録媒体に
対して一連のデータブロック群単位でファイルなどの情
報の記録及び再生を行なう情報記録再生装置において、 前記記録媒体が挿入されたとき、該記録媒体にトラック
は記録されているがトラック情報管理部に該トラックに
対するトラック管理情報が記録されていないエラーセッ
ションを判別したとき、そのトラックの最終アドレスを
検出し、該最終アドレスに基づいて前記トラック情報管
理部にトラック管理情報を記録し、そのトラックが存在
するセッションのセッション情報管理部にセッション管
理情報を記録した後、前記エラーセッション直前のセッ
ションに記録されているファイル情報管理部のデータを
次の新規セッションにコピー記録する手段を設けたこと
を特徴とする情報記録再生装置。
5. An information recording / reproducing apparatus which records and reproduces information such as a file in a series of data block groups on a recording medium on which information can be recorded and reproduced, wherein when the recording medium is inserted, When an error session in which a track is recorded on the recording medium but the track management information for the track is not recorded in the track information management unit is determined, the last address of the track is detected, and the track is detected based on the last address. After recording the track management information in the track information management unit and recording the session management information in the session information management unit of the session in which the track exists, the data of the file information management unit recorded in the session immediately before the error session is deleted. Information characterized by providing means for copying and recording in the next new session Recording and reproducing apparatus.
【請求項6】 情報の記録及び再生が可能な記録媒体に
対して一連のデータブロック群単位でファイルなどの情
報の記録及び再生を行なう情報記録再生装置において、 情報の記録及び消去が可能な記録媒体が挿入されたと
き、該記録媒体にトラックは記録されているがトラック
情報管理部に該トラックに対するトラック管理情報が記
録されていないエラーセッションを判別したとき、その
トラックの最終アドレスを検出し、その最終アドレスに
基づくトラック管理情報を前記トラック情報管理部を記
録せずに不正なトラックを消去する手段を設けたことを
特徴とする情報記録再生装置。
6. An information recording / reproducing apparatus for recording / reproducing information such as a file in a series of data block groups on a recording medium capable of recording / reproducing information, the recording capable of recording / erasing information. When a medium is inserted, when an error session in which a track is recorded on the recording medium but the track management information for the track is not recorded in the track information management unit is determined, a final address of the track is detected, An information recording / reproducing apparatus comprising means for erasing an illegal track without recording the track management information based on the final address in the track information management section.
JP25014798A 1998-09-03 1998-09-03 Information recording / reproducing device Expired - Fee Related JP3992850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25014798A JP3992850B2 (en) 1998-09-03 1998-09-03 Information recording / reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25014798A JP3992850B2 (en) 1998-09-03 1998-09-03 Information recording / reproducing device

Publications (2)

Publication Number Publication Date
JP2000076829A true JP2000076829A (en) 2000-03-14
JP3992850B2 JP3992850B2 (en) 2007-10-17

Family

ID=17203523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25014798A Expired - Fee Related JP3992850B2 (en) 1998-09-03 1998-09-03 Information recording / reproducing device

Country Status (1)

Country Link
JP (1) JP3992850B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100430265B1 (en) * 2001-07-05 2004-05-04 엘지전자 주식회사 Method for writing and playing table of contents in an optical disk reader/writer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100430265B1 (en) * 2001-07-05 2004-05-04 엘지전자 주식회사 Method for writing and playing table of contents in an optical disk reader/writer

Also Published As

Publication number Publication date
JP3992850B2 (en) 2007-10-17

Similar Documents

Publication Publication Date Title
JP5095895B2 (en) Method for immediately writing or reading a file on a disk-shaped recording medium
US6628602B2 (en) Optical information recording medium
US20040090886A1 (en) Data recording device, data recording method, program and data recording medium
JP2001216721A (en) Data recorder
JP2000149447A (en) Information recording and reproducing device
JPH04106761A (en) Information recording and reproducing device and optical disk
JPH1166751A (en) Information recording and reproducing device
US20070065105A1 (en) Data recovery method and system for a data recording
JP2001014800A (en) Optical disk recording device and recording control method
JP2004022069A (en) Information recording apparatus, information recording method, program, recording medium, and information recording system
JP2004022045A (en) Information recording medium, information reproducing device, information recording device, and program
JP2009123331A (en) Digital data recording method, recording device and reproducing device
JP2001250330A (en) Controller
JP2002109834A (en) Optical information recording medium
JP2001250329A (en) Data recorder
JP3992850B2 (en) Information recording / reproducing device
JPH0935270A (en) Cd-r driving device
JP3282941B2 (en) CD-R drive device
JP4713140B2 (en) Digital data recording method, recording apparatus and reproducing apparatus
JP3825511B2 (en) Information recording / reproducing device
JP3486486B2 (en) CD-R drive device
JPH03122713A (en) Information recorder
JP3384732B2 (en) Information recording / reproducing device
JPH10269751A (en) Information recording/reproducing apparatus
JP3693742B2 (en) Information recording medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070330

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: 20070724

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070725

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

Free format text: PAYMENT UNTIL: 20100803

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100803

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110803

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110803

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120803

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120803

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130803

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees