WO2005041186A1 - Information recorder and information recording method and recording medium - Google Patents

Information recorder and information recording method and recording medium Download PDF

Info

Publication number
WO2005041186A1
WO2005041186A1 PCT/JP2004/011086 JP2004011086W WO2005041186A1 WO 2005041186 A1 WO2005041186 A1 WO 2005041186A1 JP 2004011086 W JP2004011086 W JP 2004011086W WO 2005041186 A1 WO2005041186 A1 WO 2005041186A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
recording
storage area
data storage
information recording
Prior art date
Application number
PCT/JP2004/011086
Other languages
French (fr)
Japanese (ja)
Inventor
Yoshiyuki Sasaki
Original Assignee
Ricoh Company, 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 Company, Ltd. filed Critical Ricoh Company, Ltd.
Publication of WO2005041186A1 publication Critical patent/WO2005041186A1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0866Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
    • G06F12/0871Allocation or management of cache space
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/102Programmed access in sequence to addressed parts of tracks of operating record carriers
    • G11B27/105Programmed access in sequence to addressed parts of tracks of operating record carriers of operating discs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/21Employing a record carrier using a specific recording technology
    • G06F2212/211Optical disk storage
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/21Employing a record carrier using a specific recording technology
    • G06F2212/214Solid state disk
    • G06F2212/2146Solid state disk being detachable, e.g.. USB memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/31Providing disk cache in a specific location of a storage system
    • G06F2212/313In storage device
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • G11B2020/10629Data buffering arrangements, e.g. recording or playback buffers the buffer having a specific structure
    • G11B2020/10666Ring buffers, e.g. buffers wherein an iteratively progressing read or write pointer moves back to the beginning of the buffer when reaching the last storage cell
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • G11B2020/1075Data buffering arrangements, e.g. recording or playback buffers the usage of the buffer being restricted to a specific kind of data
    • G11B2020/10759Data buffering arrangements, e.g. recording or playback buffers the usage of the buffer being restricted to a specific kind of data content data
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs
    • G11B2220/2562DVDs [digital versatile discs]; Digital video discs; MMCDs; HDCDs

Definitions

  • Information recording apparatus information recording method, and recording medium
  • the present invention relates to an information recording apparatus for recording or reproducing data on an information recording medium, and in particular, realizes efficient data storage by dividing a data storage memory according to a data recording mode.
  • the present invention relates to an information recording apparatus, an information recording apparatus for performing complicated data recording such as data recording in units of recording blocks or less, data recording accompanied by referential processing, or time shift reproduction, an information recording method, and a recording medium.
  • An information recording device that records or reproduces data on a recordable disc such as a CD-RW disc or a DVD + RW disc is provided with a cache memory for temporarily storing data inside the device. There are many devices for speeding up.
  • a plurality of cache memories can be provided in a pseudo manner by using the currently provided cache memories in a divided manner.
  • a memory is divided into a plurality of divided areas to store data, and a memory of a segment cache system is used as a type of the memory, and a memory of a total cache memory and a memory of a segment management memory are used.
  • An information recording apparatus for setting the number of segments to be divided and the size of each divided memory in advance, and storing management information for managing the data storage state of each divided memory in the segment management memory (for example, Japanese Patent Laid-Open No. 10-63578). Reference).
  • the present invention has been made in view of the above points, and has a recording block that effectively utilizes a memory that temporarily stores data to be recorded or reproduced on an information recording medium on which data can be recorded. It is an object of the present invention to improve the efficiency of rewriting data in the device.
  • the present invention relates to a temporary storage unit for temporarily storing data when recording or reproducing data on or from an information recording medium on which data can be recorded;
  • An information recording apparatus comprising: a control unit that divides a storage area of the temporary storage unit into a plurality of areas according to a data recording mode to store data.
  • the present invention provides a storage area of a temporary storage unit for temporarily storing data when recording or reproducing data on an information recording medium on which data can be recorded.
  • An information recording method comprising a control step of dividing data into a plurality of areas and storing data in accordance with a form of data recording on a medium.
  • the present invention provides a storage area of a temporary storage means for temporarily storing the data when the data is recorded or reproduced on an information recording medium on which the data can be recorded.
  • This is a computer-readable recording medium on which a program for executing a control procedure of dividing data into a plurality of areas and storing data according to the form of data recording on the information recording medium is recorded.
  • the temporary storage means corresponds to, for example, a cache memory 8 described later.
  • the control means corresponds to, for example, a controller 10 or a CPU 31 described later.
  • the recording medium corresponds to, for example, a ROM 32 or an optical disk 11 described later.
  • the efficiency of rewriting data in a recording block is improved by effectively utilizing a memory for temporarily storing data to be recorded or reproduced on an information recording medium on which data can be recorded. Can be achieved.
  • FIG. 1 is a block diagram showing a configuration of an information recording device according to an embodiment of the present invention.
  • FIG. 2 is a flowchart showing a memory dividing process of a cache memory in the information recording device shown in FIG. 1.
  • FIG. 3 is a diagram showing a layout of a memory area divided by the controller 10 shown in FIG. 1 in the manner described above.
  • FIG. 4 is an explanatory diagram showing an example of memory division and data storage when data less than a recording block unit is recorded by the controller 10 shown in FIG. 1.
  • FIG. 5 is an explanatory diagram showing an example of memory division and data storage when data less than a recording block unit is recorded by the controller 10 shown in FIG. 1.
  • 6 is an explanatory diagram showing an example of memory division and data storage when data less than a recording block unit is recorded by the controller 10 shown in FIG. 1.
  • FIG. 7 is a flowchart showing an operation of recording data on a DVD + RW disc by the controller 10 shown in FIG. 1.
  • FIG. 8 is a flowchart showing a process continued from FIG. 7.
  • FIG. 9 is an explanatory diagram showing an example of memory division and data storage when data recording involving a verify process and a replacement process is performed by the controller 10 shown in FIG. 1.
  • FIG. 10 is an explanatory diagram showing an example of memory division and data storage when data recording is performed with a verify process and a replacement process by the controller 10 shown in FIG. 1.
  • FIG. 11 is a flowchart showing an operation of recording data on a CD-MRW disk by the controller 10 shown in FIG. 1.
  • FIG. 12 is a flowchart showing a process continued from FIG. 11;
  • FIG. 13 is an explanatory diagram showing an example of memory division and data storage when performing time shift reproduction on a DVD + RW disc in a conventional apparatus.
  • FIG. 14 is an explanatory diagram showing an example of memory division and data storage when performing time shift reproduction on a DVD + RW disc by the controller 10 shown in FIG. 1.
  • FIG. 15 is a flowchart showing a time shift reproduction operation by a controller 10 shown in FIG. 1.
  • FIG. 16 is a flowchart showing a process continued from FIG. 15.
  • FIG. 1 is a block diagram showing a configuration of an information recording apparatus according to one embodiment of the present invention.
  • This information recording apparatus is, for example, an information recording device capable of recording data on a CD-R disc, a CD-RW disc, a CD-MRW disc, a DVD + R disc, a DVD + RW disc, a DVD + MRW disc, and the like.
  • An optical disk device such as a DVD drive for recording or reproducing data (information) on an optical disk 11 as a medium.
  • This information recording device is connected to a host computer 12 that receives data recording and reproduction instructions, and records and reproduces data on and from an optical disc 11 as an information recording medium based on instructions from the host computer 12. I do.
  • a motor (spindle motor) 1 rotates the optical disk 11 when mounting the optical disk 11 and recording and reproducing data.
  • the optical pickup 2 can perform a micro operation, and irradiates the optical disc 11 with laser light L generated by a light source such as a laser diode to read data recorded on a recording surface and record data.
  • the coarse motor 3 is a motor that moves the optical pickup 2 in the radial direction of the optical disc 11.
  • the rotation control system unit 4 controls the rotation of the motor 1.
  • the motor control system unit 5 controls the rotation of the coarse motor 3.
  • the optical pickup control system 6 controls the laser light emission of the optical pickup 2 and the like.
  • the signal processing system unit 7 performs processing of signals from the optical pickup 2 and transmission and reception of data for recording data on the optical disk 11 and data reproduced from the optical disk 11.
  • the cache memory 8 is an area (memory area) for temporarily storing and storing data reproduced from the optical disk 11 and data to be recorded on the optical disk 11. That is, it functions as the temporary storage means.
  • the external interface 9 manages data communication with the host computer 12.
  • the controller 10 is realized by a microcomputer including a CPU 31, a ROM 32, a RAM 33, and the like, and controls the entire information recording apparatus.
  • the controller 10 has a memory area (storage area) of the cache memory 8 according to a data recording mode. Area) and perform processing such as data recording, verify, and playback. That is, each program according to the present invention is stored and stored in the ROM 32, and the CPU 31 executes the program to execute the information recording method according to the present invention, and each means including the control means according to the present invention. Perform the function of The program may be stored in the ROM 32 or the like inside the controller 10 from the time of shipment of the information recording device, or the program may be stored in the optical disk 11 and read. It may be installed in the ROM 32 or the like inside the controller 10.
  • this information recording device stores data in an optimal buffering method for each of the divided memory areas.
  • a divided memory used for a recording data storage area (recorded data storage area), a reproduced data storage area (reproduced data storage area), or a verification area. It is desirable that the area be used in a ring buffering scheme.
  • the cache memory 8 for storing recording data and reproduction data is often used in a ring buffering system.
  • the advantage of the ring buffering method is that after data is stored at the end address in the memory area of the cache memory 8, data is continuously stored from the start address of the memory area.
  • the controller 10 stores a pointer in the cache memory 8 that is updated when data is received from the host computer 12 and a data stored in the optical disk 11 when the data is stored in the optical disk 11.
  • the data occupancy in the cache memory 8 can be easily calculated by referring to the recording pointer updated in the cache memory 8.
  • At least the divided memory area used for storing recording data, for storing reproduction data, or for verifying among the plurality of divided memory areas be used in a ring buffering system.
  • a ring start pointer and a ring end pointer of a memory area used as a ring buffer are set, and designated by the pointers. Create a ring buffer in the memory area.
  • the controller 10 needs to set a plurality of ring start pointers and a ring end pointer in the cache memory 8. Two minutes
  • the ring start pointer and the ring end pointer can be set at a plurality of locations at the same time.
  • the ring In many cases, the start pointer and ring end pointer cannot be set at multiple locations.
  • one ring buffer is set to include another ring buffer as in the case of (A) above, simply set the ring start pointer and the ring end pointer simultaneously at a plurality of locations. Inconvenience arises.
  • ECC block 1 ECC block is 16 sectors, hereinafter referred to as a "record block").
  • the information recording device when the information recording device receives a data recording request smaller than a recording block from the host computer 12, the information recording device reads the recording block including the recording data, and then stores the requested recording data in the recording block. Overwrite and write back to the optical disk 11 again in recording block units.
  • Such a recording process is called a read modify write.
  • a recording block including a requested recording area is once read out, data is stored in the cache memory 8, and user data is overwritten on a predetermined area in the cache memory 8. It is not desirable to wait for the request data to be received until the reading of the data is completed, because the response to the recording request is delayed.
  • the user data is temporarily stored in an area different from the memory area storing the recording block.
  • the information recording apparatus When the host computer 12 continuously performs data recording, the information recording apparatus performs the recording at the time when the data of the recording block is stored even if each recording request from the host computer 12 is in sector units. In such a case, the user data can be directly stored in the recording data storage memory area (recording data storage area).
  • read-modify-write is required in continuous data recording when the write start address and the write end address are not at the boundary of the recording block.
  • the information recording apparatus records the recording data in an area different from the memory area storing the user data. Need to read lock.
  • fraction data storage memory area (fraction data storage area) is for storing fraction data at the start of writing or at the end of writing. Good.
  • CD-RW disc that is a mount-layure standard for CD-RW discs
  • DVD + MRW disc that is a mount-layure standard for DVD + RW discs
  • a DVD + MRW disc determines whether or not there is a defect in the unit of an ECC block, which is a recording block. If it is determined that a defect is present, data is replaced in units of a recording block. In the case of a CD-MRW disc, it is determined whether or not a defect is present in units of sectors constituting a bucket, which is a recording block. If the defect is found, data is replaced in units of sectors.
  • the replacement source data is overwritten on this packet and written back to the replacement destination packet again.
  • the read mode is also used in the replacement process.
  • this information recording device stores the recording data when reading the replacement packet.
  • the data is stored in a memory area different from the memory area to be used.
  • FIG. 2 is a flowchart showing a memory dividing process of the cache memory in the information recording device shown in FIG.
  • This memory division processing is performed, for example, when a first data recording request is received from the host computer 12, and when a data recording completion request is received from the host computer 12, the divided memory area is By reverting, it is possible to use the cache memory 8 according to the form of data recording.
  • the controller 10 determines whether or not it is necessary to perform the read-modify-write in step (indicated by "S" in the figure) 1.
  • the host computer 12 can perform random data recording in sector units. This must be performed in ECC block units, and read-modify-write may occur.
  • step 1 when the controller 10 determines in step 1 that it is necessary to perform read-modify-write, the controller 10 divides the storage area of the cache memory in step 2 and temporarily stores the fractional data for storing less than the recording block. Secure the storage memory area (fraction data storage area).
  • Step 3 the controller 10 determines in Step 3 whether or not the data recording involves the verifying process.
  • verification of the relevant area may be performed after data recording. Divides the memory area (storage area) of the cache memory to secure a memory area for verification (storage area for verification).
  • the controller 10 determines in step 5 whether or not replacement is to be performed in sector units. For example, in the verification of a CD-MRW disk, a defect is detected in sector units, and only defective sectors in a packet are replaced.
  • the controller 10 determines in step 5 that replacement is to be performed in sector units, the controller 10 divides the cache memory in step 6 to secure a replacement destination data storage memory area (replacement destination data storage area). I do.
  • Step 7 For example, in recording on a medium other than a CD-MRW disc or DVD + MRW disc, data recording with a verify error does not occur. Then, the process of Step 4 to Step 6 is skipped and the process proceeds to Step 7.
  • step 7 the controller 10 determines whether or not to perform time-shift playback. If time-shift playback is to be performed, the controller 10 divides the memory area of the cache memory in step 8 to store playback data. A memory area (playback data storage area) is secured, and this process ends.
  • step 7 If the time shift reproduction is not to be performed in the determination of step 7, the controller 10 skips step 8 and ends this processing.
  • controller 10 uses a plurality of divided memory areas that are not used at the same time among the above-mentioned divided memory areas and that need not be divided into a plurality of divided memory areas. Is also good.
  • the verifying process and the reading of the replacement destination packet are not performed simultaneously.
  • controller 10 does not need to hold the data stored in the verification memory area while reading the replacement bucket, and conversely, the data stored in the replacement data storage memory is being verified. You do not need to keep them.
  • FIG. 3 is a diagram showing a layout of the memory area divided by the controller 10 shown in FIG. 1 in the manner described above.
  • (A) of the figure is a layout of a memory area when data is recorded on a CD-R disc, a CD-RW disc, and a DVD + R disc.
  • the controller 10 uses the entire memory area of the cache memory 8 as the memory area 20 for storing recorded data. It is possible.
  • the controller 10 sets the ring start pointer (RS) to the start address of the memory area.
  • FIG. 13B shows an example of dividing a memory area when data is recorded on a DVD + MRW disc.
  • the DVD + MRW disc can be recorded randomly in units of sectors, for example, by the user, and it is necessary to perform read-modify-write. Therefore, the controller 10 stores the cache memory 8 in a memory for storing recorded data. It is divided into an area 20 and a memory area 21 for storing fraction data (memory area for transferring fraction data). That is, the controller 10 uses the addresses M0 to M2 in the cache memory 8 as the recording data storage memory area 20 and uses the addresses M2 to Ml as the fraction data storage memory area 21.
  • the controller 10 uses the recording data storage memory area 20 of these divided memory areas in the ring buffering scheme, and stores the recording data storage area in the ring start pointer (RS0) and the ring end pointer (RE0). Set the start address M0 and end address M2 of the memory area 20 respectively.
  • (C) of the figure is an example of dividing the memory area when data is recorded on a CD-MRW disc and a DVD + MRW disc.
  • optical disks 11 can be recorded randomly by the host computer 12 in units of sectors, similarly to DVD + RW disks, and need to perform read-modify-write. Is divided into a recording data storage memory area 20 and a fraction data storage memory area 21.
  • optical disks 11 perform data recording accompanied by verification processing.
  • the controller 10 further divides the recording data storage memory area 20 to secure a verification memory area 22.
  • the controller 10 stores the addresses M0 to M3 in the cache memory 8 in the recording data storage memory area 20 and the addresses M3 to M2 in the data recording on the CD-MRW disc and the DVD + MRW disc.
  • the memory area 20 for recording data storage and the memory area 22 for verification are used in a ring buffering system, so that their memory management becomes easy.
  • the controller 10 sets the start address M0 and the end address M3 of the recording data storage memory area 20 in the ring start pointer (RS0) and the ring end pointer (RE0), respectively, and performs verification.
  • the start address M3 and the end address M2 of the verification memory area 22 are set in the ring start pointer (RS1) and the ring end pointer (RE1), respectively.
  • (D) of the figure is an example of division of a memory area when performing time-shift reproduction in recording on a DVD + RW disc.
  • the controller 10 divides the recording data storage memory area 20 to secure a fraction data storage memory area 21.
  • reproduction data is output.
  • the controller 10 further divides the recording data storage memory area 20 to secure a reproduction data storage memory area 23.
  • the controller 10 when performing the time-shift reproduction on the DVD + RW disc, the controller 10 reproduces the addresses M0 to M4 in the cache memory 8, the recording data storage memory area 20, and the addresses M4 to M2.
  • the data storage memory area 23 and the addresses M2 to Ml are used as the fraction data storage memory area 21.
  • the memory area 20 for storing recorded data and the memory area 23 for storing reproduced data are used in a ring buffering system, so that their memory management is facilitated.
  • the controller 10 sets the start address M0 and the end address M4 of the recording data storage memory area 20 in the ring start pointer (RS0) and the ring end pointer (RE0), respectively.
  • the start address M4 and the end address M2 of the reproduction data storage memory area 23 are set in the ring start pointer (RS1) and the ring end pointer (RE1), respectively.
  • FIGS. 4 to 6 are explanatory diagrams showing examples of memory division and data storage when data recording less than a recording block unit is performed by the controller 10 shown in FIG.
  • the controller 10 stores the entire memory area (memory addresses M0 to Ml) of the cache memory 8 as the recording data storage memory area (memory addresses M0 to M2) 20 and the fraction data as shown in Fig. 3 (b). Memory area (memory addresses M2 to Ml) 21.
  • recording on a DVD + RW disc will be described as an example.
  • FIGS. 4A to 4D are explanatory diagrams of an example of use of the cache memory 8 when the host computer 12 requests data recording in sector units.
  • the controller 10 When receiving a recording request from the host computer 12 to an address that is not on the boundary of an ECC block, the controller 10 temporarily stores the requested data in the fractional data storage memory area 21 (see (a) in Fig. 4). ). At that time, the controller 10 reports a completion notification for the recording request to the host computer 12.
  • the controller 10 reads the ECC block including the requested recording address from the optical disk 11 and stores it in the recording data storage memory area 20 (see (b) in Fig. 4).
  • the controller 10 stores the fraction temporarily stored in the fraction data storage memory area 21.
  • the data is copied to a predetermined position of the read ECC block data (see (c) in FIG. 4), and is written back to the optical disk 11 in ECC block units (see (d) in FIG. 4).
  • the controller 10 secures a memory area for storing fraction data, thereby enabling the controller 10 to receive request recording data before reading predetermined ECC block data from the optical disc 11. Become.
  • controller 10 can improve the data recording performance by reporting the recording completion notification to the host computer 12 after storing the requested data.
  • FIGS. 5A to 5C and FIGS. 6A to 6E show examples of using a cache memory when the host computer 12 continuously records data.
  • the controller 10 when the host computer 12 issues a recording request across the boundary of an ECC block, the controller 10 first stores the data from the recording start address to the boundary of the next ECC block as a fraction data storage memory. The data is temporarily stored in the area 21, and the remaining data is stored in the recording data storage memory area 20.
  • the controller 10 stores the first half of the requested data from the start position (memory address M2) of the fractional data storage memory area 21 and stores the second half of the request data at the start position (memory location) of the recording data storage memory area 20.
  • Address M0 Force Store from the position one ECC block apart (see (a) in Fig. 5).
  • the controller 10 After storing the above data, the controller 10 reports a completion notification for the recording request to the host computer 12.
  • the controller 10 reads the ECC block including the data temporarily stored in the fractional data storage memory area 21 from the optical disk 11 and starts the recording data storage memory area 20 (memory address M0). To store.
  • the controller 10 If a sequential recording request is received from the host computer 12 during this time, the controller 10 continues to the recording data storage memory area 20 irrespective of whether the address is a boundary of an ECC block or not. Store (see (b) in Fig. 5). Next, when the reading of the ECC block is completed, the controller 10 copies the request record data temporarily stored in the fractional data storage memory area 21 to a predetermined position of the read ECC block data. (See (c) in Fig. 5).
  • the controller 10 when the controller 10 receives a recording end request from the host computer 12 when the end address of the request recording data is not on the boundary of the ECC block (see (a) of FIG. 6), the controller 10 Request data, which is a fraction of a block, is temporarily saved to the fraction data storage memory area 21 (see (b) of FIG. 6), and a predetermined ECC block including the fraction data is read from the optical disk 11 to store recording data. Is stored at a predetermined position in the memory area 20 (see (c) of FIG. 6).
  • the controller 10 copies the data evacuated to the fractional data storage memory area 21 to a predetermined position in the recording data storage memory area 20 again (see (d) in FIG. 6), and The data is written back to the optical disk 11 in units (see (e) of FIG. 6).
  • controller 10 starts recording when the data occupancy of the recording data storage memory area 20 exceeds a predetermined threshold or value before receiving a recording end request from the host computer 12.
  • the controller 10 When the recording completion notification is received from the user after the start of recording, the controller 10 temporarily suspends recording at an address serving as a boundary of the ECC block, and then performs a predetermined operation including a fractional data at the end of writing. Read the ECC block and record the ECC block.
  • FIGS. 7 and 8 are flowcharts showing the operation of the controller 10 for recording data on a DVD + RW disc.
  • the controller 10 starts the steps of FIG. 7 (indicated by "S" in the figure).
  • the cache memory is divided.
  • the controller 10 performs the memory division of the cache memory 8 by the processing shown based on FIG. 2, and as a result, the storage area of the cache memory 8 is changed to the state shown in FIG. As shown in the figure, the memory area is divided into a recording data storage memory area 20 and a fraction data storage memory area 21.
  • step 12 the controller 10 determines whether or not there is a recording request from the host computer 12, and since the recording is requested here, the recording request from the host computer 12 is received. It is determined that there is, and in step 13, the power of the ECC boundary (whether or not it is the boundary of the required recording address ECC block) is determined. If the controller 10 determines in step 13 that the ECC boundary has been reached (if the requested recording address is on the boundary of an ECC block), the controller 10 proceeds to step 19 to receive the requested data and record the recording memory (recording data storage memory area). Transfer to and store (store). Here, it is assumed that the requested recording address is not on the boundary of the ECC block.
  • step 13 determines that the address is not an ECC boundary (if the request recording address is not on the boundary of the ECC block) in step 13, the controller 10 determines in step 14 whether the address is a continuous address (the recording request is a continuous recording request from the immediately preceding request recording address). Or not).
  • step 14 If the controller 10 determines that the address is a continuous address (if it is a continuous recording request from the immediately preceding recording request) in step 14, the controller 10 proceeds to step 19 to receive the data and store the data in the recording memory (recording data storage memory). Area) and store (store) it in the specified location.
  • the controller 10 extracts the fractional data up to the ECC block boundary from the request recording data in step 15 if the address is not a continuous address in the judgment of step 14. Then, in step 16, the fraction data is transferred to the fraction memory (memory area for fraction data storage) and stored (stored) (see (a) of FIG. 4). After storing the data in the fraction data storage memory, the controller 10 starts the process of reading the data of the ECC block including the fraction data from the optical disc 11 at the start of the ECC reading in step 17.
  • the controller 10 determines whether or not there is untransferred data for which data has not been received among the recording data requested by the host computer 12 in step 18, and if there is no untransferred data, Proceed to step 20 to determine whether ECC reading has been completed.
  • the controller 10 transfers the data to the recording memory (memory area for recording data storage) in step 19.
  • the recording memory memory area for recording data storage
  • data is stored one ECC block backward from the start address of the recording data storage memory (see (a) of FIG. 5). This is because the controller 10 stores the data read from the optical disk 11 from the beginning of the recording data storage memory area.
  • step 20 the controller 10 determines whether or not the ECC block read has been completed. to decide.
  • the controller 10 skips the processing of step 21 and proceeds to step 22 if the ECC reading is not completed in the judgment of step 20.
  • step 22 the controller 10 determines whether or not the data occupation amount in the recording data storage memory area has exceeded a predetermined recording start threshold value.
  • Step 24 the controller 10 notifies the host computer 12 of the completion of the data recording request, returns to Step 12, and waits for the data recording request from the host computer 12 again.
  • this information recording device by dividing the cache memory 8 into the recording data storage memory area and the fraction data storage area, the request recording is completed before the reading of the ECC block including the fraction data is completed. Data can be received, and performance for recording requests can be improved.
  • the controller 10 further waits for a recording request from the host computer 12.
  • the controller 10 determines whether or not the recording address is an ECC block, that is, in Step 13, the ECC boundary is used. Even if it is determined that there is no address, the address is determined to be a continuous address in step 14, and the data is transferred to the recording data storage memory area and stored (stored) in step 19 (see FIG. 5 (b)).
  • step 20 If the controller 10 determines in step 20 that the reading of the ECC block has been completed during the data reception, the controller 10 reads the fraction data received in the fraction data storage memory area in step 16 in step 21 and reads the ECC block. Copy it to a predetermined position in the block (see (c) in Fig. 5). If the data occupation amount of the recording data storage memory area exceeds a predetermined recording start threshold value during data reception in step 22, the controller 10 starts data recording in step 23.
  • step 12 determines whether or not a data recording end request has been received from the host computer 12. If a data recording end request has not been received, the process returns to step 12 in FIG. 7 to determine again whether a data recording request from the host computer 12 has been received, and waits for a data recording request.
  • step 26 determines in step 26 whether the data recording end address is on the boundary of the ECC block, that is, the fraction data exists at the end of data writing. It is determined whether or not to do. If the controller 10 determines in step 26 that there is no fraction data, it determines in step 38 whether or not data is being recorded. If data is being recorded, the process proceeds to step 35, and if not, the process proceeds to step 34.
  • the controller 10 determines in step 26 that there is fraction data, and saves the fraction data to the fraction data storage memory area in step 27 (see (b) of FIG. 6).
  • the controller 10 determines whether or not the data is being recorded on the optical disk 11 in step 28. If the data is being recorded, the controller 10 removes the above-mentioned fractional data in step 29 and becomes the boundary of the ECC block. Set a recording interruption point to interrupt data recording by address, and
  • step 28 determines in step 28 that the data is not being recorded
  • the controller 10 skips steps 29 and 30 and proceeds to step 31.
  • step 31 the controller 10 starts reading the ECC block including the fraction data, determines in step 32 whether or not ECC reading has been completed, and waits for ECC reading to be completed (see FIG. 6 (c)).
  • step 33 the fraction data saved in the fraction data storage The data is copied to a predetermined position of the read ECC block (see (d) in FIG. 6), and in step 34, recording on the optical disk 11 is started in ECC block units (see (e) in FIG. 6).
  • step 35 it is determined whether or not data recording is completed, and the process waits for data recording to be completed.
  • step 35 When the data recording process is completed in the judgment of step 35, the controller 10 notifies the completion of the data recording end request from the host computer 12 in step 36, and restores the memory area divided in step 11 in step 37. (Return to the original state) to end this processing.
  • FIGS. 9 and 10 are explanatory diagrams showing an example of memory division and data storage when data recording is performed by the controller 10 shown in FIG. 1 with a verifying process and a replacement process.
  • a CD-MRW disk has a memory area for storing fractional data, which can be randomly recorded by the user in units of sectors. However, in order to simplify the description, here, in units of packets, To record continuously.
  • FIGS. 9A to 9E are diagrams showing memory division and data storage format in data recording involving verification.
  • the controller 10 stores the entire memory area (memory address M0 Ml) of the cache memory 8 in the memory area for recording data (memory addresses M0 to M3) 20 and the memory area for verification (memory addresses M3 to M2). 22 and a memory area for storing fraction data (memory addresses M2 to M1) 21.
  • the controller 10 When the controller 10 continuously receives a data recording request in packet units from the host computer 12, the controller 10 stores (stores) data in the recording data storage memory area 20 (see FIG. a)). Further, when the data occupancy in the recording data storage memory area 20 is equal to or larger than a predetermined recording start threshold value (in this example, the size of the recording data storage memory area), the controller 10 Is recorded on the optical disk 11 (see (b) of FIG. 9).
  • a predetermined recording start threshold value in this example, the size of the recording data storage memory area
  • the controller 10 uses the recording data storage memory area 20, that is, the memory addresses M0, M3, and so on, in a ring buffering manner from the data reception to the data recording, A ring start pointer (RSO) and a ring end pointer (RE0) are set to memory addresses M0 and M3, respectively.
  • RSO ring start pointer
  • RE0 ring end pointer
  • the controller 10 stores the reproduced data in the verification memory area 22 in the same manner as the reproduction processing, performs error detection and error correction, and performs normal recording. Is determined (defect detection).
  • the controller 10 uses the memory area 22 for verification, that is, the area of the memory address M3 and the area of M2 in a ring buffering scheme, and stores the ring start pointer (RS1) and the ring end pointer (RE2) respectively. Set to memory addresses M3 and M2. Unless a defect is detected, the controller 10 overwrites the data stored in the verifying memory area 22 with the verify data in the next area (see FIG. 9C).
  • the controller 10 When the verification of all the recorded data is completed and it is confirmed that the data has been recorded normally, the controller 10 does not need the data stored in the recording data storage memory area 20. Then, the recording data storage memory area 20 is released, and the next recording data is continuously received from the host computer 12 to store the data (see FIG. 9 (d)).
  • the controller 10 records the recording data in order from the verified data. It is acceptable to open the storage memory area 20 and store the recording data from the host computer 12 (see (e) of FIG. 9).
  • FIGS. 10A to 10E are diagrams showing a format of a memory use example in the replacement process.
  • the controller 10 sets the replacement destination The data storage memory can be substituted by the verification memory area 22.
  • the controller 10 uses the memory addresses M3 to M2 of the cache memory 8 as the replacement destination data storage memory area 22. [0157] Here, when one sector of the recording area is determined to be defective in the verification processing (see (a) of FIG. 10), the controller 10 transfers the data recorded in the defective area to a predetermined replacement area. It is necessary to record again.
  • the controller 10 first reads out data of a predetermined replacement destination packet and stores it in the replacement destination data storage memory area 22 (see (b) of FIG. 10).
  • the controller 10 copies the data recorded in the defective area to a predetermined position of the replacement packet (see (c) of FIG. 10), and records the data on a packet-by-packet basis in the replacement packet (( d
  • the controller 10 restarts the verification of the remaining recording data (see (e) of FIG. 10).
  • the controller 10 records the data in the recording data storage memory area 20 directly to the replacement ECC block.
  • FIG. 11 and FIG. 12 are flowcharts showing the operation of the controller 10 for recording data on a CD-MRW disk.
  • the controller 10 divides the cache memory in step (indicated by “S” in the figure) 41 as shown in FIG.
  • the memory division of the cache memory 8 is performed by the processing shown based on FIG. 2, and as a result, the storage area of the cache memory 8 is recorded as shown in FIG. It is divided into a data storage memory area 20, a verification memory area (replacement destination data (packet) storage memory area) 22, and a fraction data storage memory area 21.
  • the controller 10 performs the ring start pointer (RS0) and the ring start pointer (RS0) in the recording ring setting process in step 42.
  • the memory addresses M0 and M0 are assigned to the ring end pointer (RE0), respectively.
  • M3 is set, and in step 43, it is determined whether or not there is a data recording request from the host computer 12.
  • the controller 10 determines in step 43 that there is a data recording request, receives the requested data in step 44, and sends it to the recording memory (recording data storage memory area). Transfer and store (store) (see (a) in Fig. 9).
  • step 45 the controller 10 determines whether or not the condition for starting recording is satisfied.
  • Conditions for determining whether or not to start recording include whether or not the amount of data occupied in the recording data storage memory area 20 has exceeded a predetermined recording start threshold, or whether or not data recording has been completed from the host computer 12. Whether there is a request.
  • step 45 If the recording start condition is not satisfied in the determination in step 45, the controller 10 returns to step 43 and determines again whether there is a data recording request from the host computer 12.
  • step 45 the controller 10 starts recording the data stored in the recording data storage memory area on the optical disk 11 in step 46, and determines whether the recording is completed in step 47. Judgment of inability and wait for completion of recording (see (b) in Fig. 9)
  • step 47 the controller 10 proceeds to the verification process.
  • step 48 the controller 10 uses the ring start pointer (RS1) and the ring end pointer (RE1) in the verification ring setting process in order to use the memory area for verification in the ring buffering method.
  • step 49 the controller 10 starts verifying the recording area in step 49, and determines whether or not a verify error has occurred in step 50. If the verify error has occurred, the controller 10 proceeds to step 54 in FIG. If not, it is determined in step 51 whether or not the verification has been completed. If the verification has not been completed, the process returns to step 50. If the verification has been completed, the process proceeds to step 52.
  • step 50 and 51 the controller 10 detects a defect in the recording area. And wait for the completion of the verification process.
  • the data stored in the verifying memory area 22 is overwritten by the verifying data in the next area by the controller 10 unless a defect is detected (see (c) of FIG. 9).
  • the controller 10 completes the verification process in the judgment of Step 51, and when it is confirmed that the data is normally recorded, determines whether or not a recording end request has been received from the host computer 12 in Step 52. If the recording end request has not been received, the flow returns to step 42 to set the ring start pointer and the ring end pointer for data recording again, and receive the data from the host computer 12 (see FIG. 4). (See (d)).
  • step 52 when the controller 10 has received the recording end request in the determination of step 52, the controller 10 restores the memory area divided in step 41 in step 53 (returns to the original state), and executes this processing. finish.
  • the controller 10 shifts to a replacement process.
  • the controller 10 extracts the sector determined to be defective in step 54 of FIG. 12 (see (a) of FIG. 10).
  • the controller 10 obtains the replacement destination address of the replaceable area in the predetermined replacement area in step 55, and in step 56, replaces the data of the replacement destination packet including the replacement destination area. It is read and stored (stored) in the replacement destination data storage memory area (see (b) of FIG. 10).
  • the controller 10 determines whether or not the reading is completed in Step 57, and repeats the reading and the storage in the replacement destination data storage memory area until the reading is completed.
  • step 57 When the reading of the replacement destination packet is completed in the determination of step 57, the controller 10 copies the replacement data recorded in the defective area in step 58 to a predetermined position in the replacement destination data storage memory area (Fig. 10). (See (c) of FIG. 10). In step 59, data recording is started for the replacement destination packet in packet units. In step 60, it is determined whether or not data recording is completed. d)).
  • step 60 the controller 10 restarts verifying the data recording area in step 61, and proceeds to step 51 in FIG. Return to continue the defect detection process.
  • the controller 10 may perform verification using the verification memory area when confirming whether the data recorded in the replacement destination packet is normally recorded.
  • FIG. 13 and FIG. 14 are explanatory diagrams showing examples of memory division and data storage when performing time-shift reproduction on a DVD + RW disc.
  • FIGS. 13 (a) to 13 (d) are diagrams showing a data storage format in time shift reproduction in a conventional apparatus having no reproduction data storage memory.
  • the data is stored in the recording data storage memory area, and the host computer is notified of the completion of the process (see FIG. 13A).
  • the amount of data occupied in the recording data storage memory area exceeds a predetermined recording start value, exceeds a predetermined value, and therefore, starts recording on the optical disk 11, and then returns.
  • the recording process is interrupted every time the recording and reproduction requests from the host computer are switched, and a seek occurs.
  • FIG. 14 are diagrams showing the format of data storage in time shift reproduction by the controller 10.
  • the controller 10 transfers the entire memory area (memory addresses M0 to Ml) of the cache memory 8 to the recording data storage memory area (memory addresses M0 to Ml). (M4) 20 and a memory area for storing reproduction data (memory addresses M4 to Ml) 23.
  • a memory area 21 for storing fractional data is secured because the host computer 12 can record data randomly on a sector-by-sector basis. It is assumed that recording is performed continuously in ECC block units.
  • the controller 10 When receiving a data recording request from the host computer 12, the controller 10 stores the data in the recording data storage memory area 20, and notifies the host computer 12 of the completion of the processing (( a)). At this stage, since the data occupancy in the recording data storage memory area 20 has not exceeded the predetermined recording start threshold, the controller 10 has not started recording on the optical disk 11.
  • the controller 10 uses the memory area 20 for storing recording data, that is, the memory address M0, M4, etc., in a ring buffering scheme from the data reception to the data recording, and uses the ring start pointer (RS0) and the ring start pointer.
  • the ring end pointer (RE0) is set to memory addresses M0 and M4, respectively.
  • the requested data is read from the optical disk 11 and stored in the reproduction data storage memory area 23 (see FIG. 14 (b)).
  • the controller 10 sets the memory addresses M4 and M2 in the ring start pointer (RS1) and the ring end pointer (RE1), respectively, in order to use the memory area 23 for storing reproduction data in the ring buffering method. I do.
  • the controller 10 receives the previous recording data and a continuous recording request from the host computer 12, the controller 10 sets a data recording ring pointer again and sets the recording data storage memory area 20 in the recording data storage memory area 20. Then, the data is stored (see (c) of FIG. 14).
  • the controller 10 stores data in the recording data storage memory area 20 and transmits data from the optical disk 11 to the recording data storage memory area 20. Is repeated.
  • the controller 10 starts recording when the data occupation amount in the recording data storage memory area 20 exceeds a predetermined recording start threshold or value (see (d) in FIG. 14).
  • the controller 10 records the recording data and the reproduction data, respectively.
  • the controller 10 By storing the data in the data storage memory area and the reproduction data storage memory area, it is not necessary to record the data existing in the memory every time a reproduction request is made.
  • the controller 10 can start data recording after a fixed amount of recording data is stored in the time-shift reproduction, and can perform stable data recording.
  • FIG. 15 and FIG. 16 are flowcharts showing the time shift reproduction operation by the controller 10.
  • DVD + RW disc is targeted.
  • DVD + RW discs the ability to record randomly from the host computer 12 in units of sectors S.
  • recording is performed continuously in units of ECC blocks, and playback is performed during recording. Shall be performed.
  • the controller 10 divides the cache memory in step (indicated by “S” in the figure) 71, as shown in FIG.
  • the controller 10 performs the memory division of the cache memory 8 by the processing shown based on FIG. 2, and as a result, the storage area of the cache memory 8 is changed to (d) of FIG. As shown in the figure, the recording data storage memory area 20, the reproduction data storage memory area 23, and the fraction data storage memory area 21 are divided.
  • the controller 10 performs the ring start pointer (RS0) and the ring end pointer (RS0) in the recording ring setting process in step 72.
  • RE0 is set with memory addresses M0 and M4, respectively, and it is determined in step 73 whether or not there is a data recording request from the host computer 12.
  • the controller 10 determines in step 73 that there is a data recording request, receives the requested data in step 74, and sends it to the recording memory (recording data storage memory area). It is transferred and stored (stored) (see (a) in Fig. 14).
  • step 75 the controller 10 determines whether or not recording is currently being performed on the optical disc 11, and if data is being recorded, the process returns to step 73 to request a data recording again from the host computer 12. It is determined whether or not there is. Since recording is not started here, the controller 10 determines in step 75 that data is not being recorded, and in step 76, starts recording next. It is determined whether or not the first condition is satisfied.
  • Conditions for recording start include whether or not the data occupation amount of the recording data storage memory area 20 exceeds a predetermined recording start threshold value, and whether or not there is a recording completion request from the host computer 12. .
  • step 76 If the recording start condition is not satisfied in the judgment in step 76, the controller 10 returns to step 73 and judges again whether or not there is a recording request from the host computer 12.
  • step 73 determines whether or not there is a data recording request from the host computer 12 in the determination of step 73. If there is a reproduction request, it is determined in step 85 whether or not recording is currently being performed on the optical disk 11. If recording is in progress, it is determined in step 86 whether or not data recording has been completed. If it is determined in step 86 that the data recording is completed, the flow shifts to the reproducing process.
  • step 85 if the data is not being recorded according to the determination in step 85, or if the data is in a standby state before recording on the optical disc 11, the controller 10 writes the data into the recording data storage memory area. If the data exists, the process proceeds to the reproduction process before recording the data.
  • step 87 the controller 10 determines whether or not the data of the requested reproduction address exists in the recording memory (memory area for storing recording data). If it does not exist, the ring start pointer (RS1) and the ring end pointer (RE1) have memory addresses M4 and M4, respectively, in order to use the memory area for storing playback data in the ring buffering method in the playback ring setting process in step 88. M2 is set, and reproduction of the designated address is started in step 89 (see FIG. 14 (b)).
  • the controller 10 determines whether or not the requested data has been cached in step 90, and waits for the requested data to be stored (stored) in the reproduction data storage memory area. If stored, the data requested by the host computer 12 is transferred and stored (stored) in step 91.
  • step 92 the controller 10 continuously determines whether or not the data reproduction request from the host computer 12 has been completed. If the data reproduction request has not been completed, the controller 10 returns to step 90 and determines that the data has been cached. (Wait until the requested data is read out to the reproduction data storage memory area by pre-reading), and in step 91, the data is transferred and stored (stored).
  • step 92 determines in step 92 that the data reproduction request from the host computer 12 has been completed
  • the controller 10 returns to step 72 in Fig. 15 to set the recording ring again, and determines in step 73. Wait for a data recording request.
  • step 87 when the controller 10 determines in step 87 that the data requested by the host computer 12 exists in the memory area for storing recording data, the controller 10 transfers the data in the memory to the host computer 12 in step 93.
  • step 94 it is determined whether or not the reproduction request has been completed. If there is a data reproduction request, the flow returns to step 87 to determine again whether the data requested by the host computer 12 exists in the recording data storage memory area. Judge.
  • the controller 10 returns to Step 87 if the reproduction request is not completed in the judgment of Step 94, and returns to Step 72 of Fig. 15 if the reproduction request is completed.
  • step 92 If the data reproduction request is completed in step 92, the controller 10 returns to step 72 in Fig. 15 to set the recording ring again, and waits for the recording request in step 73.
  • the controller 10 uses the ring start pointer (RS0) and the ring end pointer in step 72 to use the memory area for storing recorded data in the ring buffering method.
  • the memory addresses M0 and M4 are set in the pointer (RE0), respectively, and in a step 73, it is determined whether or not there is a data recording request from the host computer 12.
  • step 73 If there is a continuous recording request from the host computer 12 in step 73 and the immediately preceding recording request address in step 73, the controller 10 transfers and stores the data in the recording data storage memory area in step 74. (Refer to (c) in FIG. 14), determine whether or not data is being recorded in step 75, and determine whether or not the recording start condition is satisfied in step 76.
  • step 76 If the recording start condition is not satisfied in the judgment in step 76, the controller 10 returns to step 73 and judges again whether or not there is a recording request from the host computer 12.
  • the controller 10 stores the data in the recording data storage memory area 20 and the data from the optical disk 11. Repeat playback.
  • the controller 10 stores the recording data and the reproduction data in the recording data storage memory area and the reproduction data storage memory area, respectively, so that the data existing in the memory each time a reproduction request is made. There is no need to record.
  • the controller 10 can start data recording after a fixed amount of recording data is stored in the time shift reproduction, and can perform stable data recording.
  • step 76 if the recording start condition is satisfied in the determination of step 76, the controller 10 proceeds to step 77 if the data occupation amount of the recording data storage memory area exceeds a predetermined recording start threshold value. To start recording on the optical disk 11.
  • step 78 the controller 10 determines whether or not there is a completion request (recording end request) from the host computer 12, and if there is no completion request, the process returns to step 73 and returns to the host computer 12 again. It is determined whether there is a recording request from.
  • the controller 10 determines from the host computer 12 that a completion request ( If there is a data recording end request), the processing shifts to data recording end processing.
  • step 79 the controller 10 determines whether or not unrecorded (unwritten) data remains in the recorded data storage memory area.
  • step 80 it is determined whether or not the apparatus is in a standby state before recording is started. If the apparatus is in a standby state, data recording is started in step 81, and whether or not data recording is completed is determined in step 82, and data recording is performed. Wait for completion.
  • step 82 If the data recording is completed in the judgment of step 82, the controller 10 restores the memory area divided in step 71 in step 83 (returns to the original state), and ends this processing.
  • step 84 the controller 10 determines in step 78 whether or not there is a completion request (data recording end request). Shifts to the data recording end process described above.
  • this information recording device by dividing and using the cache memory according to the form of data recording, the necessary cache memory can be artificially generated according to each recording. Even when complicated recording processing is required, efficient data recording can be performed.
  • the entire area of the cache memory can be used for storage of the recording data in the recording processing without the need for a plurality of cache memories, and the recording data in the cache memory can be used. It is possible to avoid interruption of recording due to lack of
  • this information recording device it is possible to select an optimum buffering method for each of a plurality of divided memory areas in the cache memory, and to efficiently use the divided memory areas. Will be possible.
  • the divided memory used for at least the recording data storage memory area, the reproduction data storage memory area, or the verification memory area.
  • the area can be used in a ring buffering scheme, enabling efficient buffering.
  • the memory area used in the ring buffering method By setting the ring start pointer and the ring end pointer when using the memory area, even if the conventional device cannot set the ring start pointer and the ring end pointer It becomes possible to divide into areas and use each divided area as a ring buffer.
  • this information recording device when data recording is requested in units less than the recording block, user data can be received before reading out the predetermined recording block, and the recording request can be satisfied. Response can be expedited.
  • a recording block can be read to an area different from a memory area for storing fraction data. it can.
  • the memory area for storing fraction data is made the minimum necessary capacity and the capacity of the memory area for storing recording data is ensured, so that the recording data in the memory is reduced. It is possible to minimize the interruption of recording due to the disappearance.
  • this information recording apparatus by storing the recording data and the data of the replacement destination packet in the recording data storage memory area and the replacement destination data storage memory area, respectively, The recorded data in the memory can be retained even during the replacement process in sector units.
  • the information recording device can re-record the data recorded in the defective region in a predetermined replacement region.
  • the memory area for storing replacement destination data is set to the minimum necessary.
  • the present invention is applicable to personal computers such as desktop personal computers and notebook personal computers.

Abstract

When data is recorded on optical disc (11) capable of recording data or reproduced therefrom, a controller (10) controls a cache memory (8) for temporarily storing that data to store the data that is divided into a plurality of memory areas, i.e. a memory area for storing recording data and a memory area for storing fractional data depending on the recording mode of data for the optical disc (11).

Description

明 細 書  Specification
情報記録装置と情報記録方法と記録媒体  Information recording apparatus, information recording method, and recording medium
技術分野  Technical field
[0001] 本発明は、情報記録媒体に対してデータの記録又は再生を行う情報記録装置に 関し、特に、データ記録の形態に応じてデータ格納メモリを分割して効率的なデータ 格納を実現する情報記録装置,記録ブロック以下の単位でのデータ記録やべリファ ィ処理を伴うデータ記録あるいはタイムシフト再生といった複雑なデータ記録を行う 情報記録装置と、情報記録方法と、記録媒体とに関する。  The present invention relates to an information recording apparatus for recording or reproducing data on an information recording medium, and in particular, realizes efficient data storage by dividing a data storage memory according to a data recording mode. The present invention relates to an information recording apparatus, an information recording apparatus for performing complicated data recording such as data recording in units of recording blocks or less, data recording accompanied by referential processing, or time shift reproduction, an information recording method, and a recording medium.
^景技術  ^ Scenic technology
[0002] CD— RWディスクや DVD + RWディスクなどの記録型ディスクに対してデータの記 録又は再生を行う情報記録装置では、装置内部にデータを一時的に格納するキヤッ シュメモリを備えて処理の高速化を図る装置が多い。  [0002] An information recording device that records or reproduces data on a recordable disc such as a CD-RW disc or a DVD + RW disc is provided with a cache memory for temporarily storing data inside the device. There are many devices for speeding up.
[0003] 例えば、ユーザからの連続した記録要求では、データを一旦装置内のキャッシュメ モリに格納し、キャッシュメモリ内にデータがある程度格納された時点でディスクへの 記録を開始し、キャッシュメモリ内にデータが無くなると記録処理を中断して、再びキ ャッシュメモリ内に一定量のデータが格納されることを待つといった処理を繰り返して いる。  [0003] For example, in response to a continuous recording request from a user, data is temporarily stored in a cache memory in the device, and when a certain amount of data is stored in the cache memory, recording on a disk is started. When the data runs out, the recording process is interrupted, and the process of waiting for a certain amount of data to be stored again in the cache memory is repeated.
[0004] また、データ記録中もキャッシュメモリの空き具合を監視して、空きがあればユーザ 力 のデータを受信して、記録処理の中断が極力発生しなレ、ようにしてレ、る。  [0004] Also, during data recording, the state of empty space in the cache memory is monitored, and if there is empty space, data of the user's power is received, and interruption of the recording process is minimized.
[0005] ところで、このような情報記録装置の普及に伴い、その処理の高機能化が図られて おり、データ記録処理も複雑化している。例えば、以下の(1)一(4)に示すような場合 において、単一のキャッシュメモリを備えたのみでは高速な記録処理を実現すること は難しぐ効率的なデータ記録を行うためには複数のメモリが必要になる場合がある  [0005] By the way, with the spread of such information recording devices, the functions thereof have been enhanced, and the data recording process has also been complicated. For example, in the following cases (1) and (4), it is difficult to achieve high-speed recording processing with only a single cache memory. May require more memory
(1)記録ブロックに満たなレ、単位でデータ記録を行う場合 (1) When recording data in units or units that are less than the recording block
(2)ベリファイ処理を伴うデータ記録を行う場合  (2) When performing data recording with verify processing
(3)記録ブロック以下の単位で交替を行う場合 (4)タイムシフト再生を行う場合 (3) When replacing in units less than the recording block (4) When performing time shift playback
例えば、上記のような記録処理を行う場合、複数のキャッシュメモリを備えることによ つて効率的な記録処理を行うことが可能である力 キャッシュメモリの増加に伴って製 造コストも増加してしまう。  For example, when performing the recording process as described above, it is possible to perform an efficient recording process by providing a plurality of cache memories. Manufacturing costs also increase with an increase in cache memory. .
[0006] 一方、現在備えられているキャッシュメモリを分割的に使用することにより、擬似的 に複数のキャッシュメモリを備えることも可能である。  [0006] On the other hand, a plurality of cache memories can be provided in a pseudo manner by using the currently provided cache memories in a divided manner.
[0007] 従来、メモリを複数の分割領域に分割してデータを格納するものとして、メモリの種 類としてセグメントキャッシュ方式のメモリを対象とし、全キャッシュメモリ容量やセグメ ント管理用メモリの容量などから、分割するセグメント数や個々の分割メモリサイズを 予め設定し、さらに個々の分割メモリのデータ格納状態を管理する管理情報をセグメ ント管理用メモリに格納する情報記録装置 (例えば、特開平 10— 63578号公報参照 )があった。  [0007] Conventionally, a memory is divided into a plurality of divided areas to store data, and a memory of a segment cache system is used as a type of the memory, and a memory of a total cache memory and a memory of a segment management memory are used. An information recording apparatus for setting the number of segments to be divided and the size of each divided memory in advance, and storing management information for managing the data storage state of each divided memory in the segment management memory (for example, Japanese Patent Laid-Open No. 10-63578). Reference).
[0008] し力 ながら、従来の情報記録装置では、個々の分割メモリがセグメントキャッシュ 方式で使用されるため、それぞれの分割メモリに対して複雑なメモリ管理を必要とし、 例えば記録ブロック単位で連続的に記録を行うようなデータ記録に対しては適切で ないという問題があった。  [0008] However, in the conventional information recording device, since each divided memory is used in the segment cache system, complicated memory management is required for each divided memory. However, there is a problem that it is not appropriate for data recording in which recording is performed at a time.
[0009] また、上記のような複雑な記録動作を伴わないデータ記録に対してはキャッシュメ モリを分割する必要はなぐその全領域を記録データ格納用に使用して、キャッシュメ モリ内の記録データがなくなることによる記録中断を極力避けるようにすることが望ま しい。  [0009] For data recording that does not involve a complicated recording operation as described above, it is not necessary to divide the cache memory, and the entire area is used for storing recording data, and the recording in the cache memory is performed. It is desirable to avoid interruption of recording due to lack of data as much as possible.
発明の開示  Disclosure of the invention
発明が解決しょうとする課題  Problems to be solved by the invention
[0010] 本発明は、上記の点に鑑みてなされたものであり、データが記録可能な情報記録 媒体に対して記録又は再生するデータを一時的に記憶するメモリを有効に活用して 記録ブロック内のデータの書き換えの効率化を図ることを課題としている。 [0010] The present invention has been made in view of the above points, and has a recording block that effectively utilizes a memory that temporarily stores data to be recorded or reproduced on an information recording medium on which data can be recorded. It is an object of the present invention to improve the efficiency of rewriting data in the device.
課題を解決するための手段  Means for solving the problem
[0011] 本発明は、データが記録可能な情報記録媒体に対してデータの記録又は再生を 行う際に前記データを一時的に記憶する一時記憶手段と、前記情報記録媒体に対 するデータ記録の形態に応じて前記一時記憶手段の記憶領域を複数個の領域に分 割してデータを記憶させる制御手段を有することを特徴とする情報記録装置である。 [0011] The present invention relates to a temporary storage unit for temporarily storing data when recording or reproducing data on or from an information recording medium on which data can be recorded; An information recording apparatus, comprising: a control unit that divides a storage area of the temporary storage unit into a plurality of areas according to a data recording mode to store data.
[0012] また、本発明は、データが記録可能な情報記録媒体に対してデータの記録又は再 生を行う際に前記データを一時的に記憶する一時記憶手段の記憶領域を、前記情 報記録媒体に対するデータ記録の形態に応じて複数個の領域に分割してデータを 記憶させる制御工程を有することを特徴とする情報記録方法である。  [0012] Further, the present invention provides a storage area of a temporary storage unit for temporarily storing data when recording or reproducing data on an information recording medium on which data can be recorded. An information recording method comprising a control step of dividing data into a plurality of areas and storing data in accordance with a form of data recording on a medium.
[0013] また、本発明は、コンピュータに、データが記録可能な情報記録媒体に対してデー タの記録又は再生を行う際に前記データを一時的に記憶する一時記憶手段の記憶 領域を、前記情報記録媒体に対するデータ記録の形態に応じて複数個の領域に分 割してデータを記憶させる制御手順を実行させるプログラムを記録したコンピュータ 読取り可能な記録媒体である。  [0013] Further, the present invention provides a storage area of a temporary storage means for temporarily storing the data when the data is recorded or reproduced on an information recording medium on which the data can be recorded. This is a computer-readable recording medium on which a program for executing a control procedure of dividing data into a plurality of areas and storing data according to the form of data recording on the information recording medium is recorded.
[0014] なお、一時記憶手段は、例えば後述するキャッシュメモリ 8に対応する。また、制御 手段は、例えば後述するコントローラ 10又は CPU31に対応する。また、記録媒体は 、例えば後述する ROM32又は光ディスク 11に対応する。  [0014] The temporary storage means corresponds to, for example, a cache memory 8 described later. Further, the control means corresponds to, for example, a controller 10 or a CPU 31 described later. The recording medium corresponds to, for example, a ROM 32 or an optical disk 11 described later.
発明の効果  The invention's effect
[0015] 本発明によれば、データが記録可能な情報記録媒体に対して記録又は再生する データを一時的に記憶するメモリを有効に活用して記録ブロック内のデータの書き換 えの効率化を図ることができる。  According to the present invention, the efficiency of rewriting data in a recording block is improved by effectively utilizing a memory for temporarily storing data to be recorded or reproduced on an information recording medium on which data can be recorded. Can be achieved.
図面の簡単な説明  Brief Description of Drawings
[0016] [図 1]この発明の一実施形態である情報記録装置の構成を示すブロック図である。  FIG. 1 is a block diagram showing a configuration of an information recording device according to an embodiment of the present invention.
[図 2]図 1に示す情報記録装置におけるキャッシュメモリのメモリ分割処理を示すフロ 一チャート図である。  FIG. 2 is a flowchart showing a memory dividing process of a cache memory in the information recording device shown in FIG. 1.
[図 3]図 1に示すコントローラ 10による上記の要領で分割されたメモリ領域のレイアウト を示す図である。  FIG. 3 is a diagram showing a layout of a memory area divided by the controller 10 shown in FIG. 1 in the manner described above.
[図 4]図 1に示すコントローラ 10による記録ブロック単位に満たないデータ記録を行う 場合のメモリ分割とデータ格納の例を示す説明図である。  FIG. 4 is an explanatory diagram showing an example of memory division and data storage when data less than a recording block unit is recorded by the controller 10 shown in FIG. 1.
[図 5]同じく図 1に示すコントローラ 10による記録ブロック単位に満たないデータ記録 を行う場合のメモリ分割とデータ格納の例を示す説明図である。 [図 6]また同じく図 1に示すコントローラ 10による記録ブロック単位に満たないデータ 記録を行う場合のメモリ分割とデータ格納の例を示す説明図である。 FIG. 5 is an explanatory diagram showing an example of memory division and data storage when data less than a recording block unit is recorded by the controller 10 shown in FIG. 1. 6 is an explanatory diagram showing an example of memory division and data storage when data less than a recording block unit is recorded by the controller 10 shown in FIG. 1.
[図 7]図 1に示すコントローラ 10による DVD + RWディスクへのデータ記録動作を示 すフローチャート図である。 FIG. 7 is a flowchart showing an operation of recording data on a DVD + RW disc by the controller 10 shown in FIG. 1.
[図 8]図 7の続きの処理を示すフローチャート図である。  FIG. 8 is a flowchart showing a process continued from FIG. 7.
[図 9]図 1に示すコントローラ 10によるべリファイ処理及び交替処理を伴うデータ記録 を行う場合のメモリ分割とデータ格納の例を示す説明図である。  FIG. 9 is an explanatory diagram showing an example of memory division and data storage when data recording involving a verify process and a replacement process is performed by the controller 10 shown in FIG. 1.
[図 10]同じく図 1に示すコントローラ 10によるべリファイ処理及び交替処理を伴うデー タ記録を行う場合のメモリ分割とデータ格納の例を示す説明図である。  10 is an explanatory diagram showing an example of memory division and data storage when data recording is performed with a verify process and a replacement process by the controller 10 shown in FIG. 1.
[図 11]図 1に示すコントローラ 10による CD—MRWディスクへのデータ記録動作を示 すフローチャート図である。  FIG. 11 is a flowchart showing an operation of recording data on a CD-MRW disk by the controller 10 shown in FIG. 1.
[図 12]図 11の続きの処理を示すフローチャート図である。  FIG. 12 is a flowchart showing a process continued from FIG. 11;
[図 13]従来装置における DVD + RWディスクにおいてタイムシフト再生を行う場合の メモリ分割とデータ格納の例を示す説明図である。  FIG. 13 is an explanatory diagram showing an example of memory division and data storage when performing time shift reproduction on a DVD + RW disc in a conventional apparatus.
[図 14]図 1に示すコントローラ 10による DVD + RWディスクにおいてタイムシフト再生 を行う場合のメモリ分割とデータ格納の例を示す説明図である。  14 is an explanatory diagram showing an example of memory division and data storage when performing time shift reproduction on a DVD + RW disc by the controller 10 shown in FIG. 1.
[図 15]図 1に示すコントローラ 10によるタイムシフト再生動作を示すフローチャート図 である。  FIG. 15 is a flowchart showing a time shift reproduction operation by a controller 10 shown in FIG. 1.
[図 16]図 15の続きの処理を示すフローチャート図である。  FIG. 16 is a flowchart showing a process continued from FIG. 15.
符号の説明 Explanation of symbols
1 モータ 1 motor
2 光ピックアップ  2 Optical pickup
3 粗動モータ  3 Coarse motor
4 回転制御系部  4 Rotation control system
5 粗動モータ制御系部  5 Coarse motor control system
6 光ピックアップ制御系部  6 Optical pickup control system
7 信号処理系部  7 Signal processing system
8 キャッシュメモリ 9 外咅 βインタフェース 8 Cache memory 9 Outer β interface
10 コントローラ  10 Controller
11 光ディスク  11 Optical disk
12 ホストコンピュータ  12 Host computer
20 記録データ格納用メモリ領域  20 Recording data storage memory area
21 端数データ格納用メモリ領域  21 Fraction data storage memory area
22 ベリファイ用メモリ領域 (交替先データ格納用メモリ)  22 Memory area for verification (memory for storing replacement data)
23 再生データ格納用メモリ領域  23 Playback data storage memory area
31 CPU  31 CPU
32 ROM  32 ROM
33 RAM  33 RAM
発明を実施するための最良の形態  BEST MODE FOR CARRYING OUT THE INVENTION
[0018] 本発明をより詳細に説明するために、図面に基づいて具体的に説明する。  [0018] In order to describe the present invention in more detail, a specific description will be given based on the drawings.
[0019] 図 1は、この発明の一実施形態である情報記録装置の構成を示すブロック図である FIG. 1 is a block diagram showing a configuration of an information recording apparatus according to one embodiment of the present invention.
[0020] この情報記録装置は、例えば、 CD—Rディスク, CD—RWディスク, CD— MRWディ スク, DVD + Rディスク, DVD + RWディスク, DVD + MRWディスク等のデータが 記録可能な情報記録媒体である光ディスク 11に対するデータ (情報)の記録又は再 生を行う DVDドライブ等の光ディスク装置である。 [0020] This information recording apparatus is, for example, an information recording device capable of recording data on a CD-R disc, a CD-RW disc, a CD-MRW disc, a DVD + R disc, a DVD + RW disc, a DVD + MRW disc, and the like. An optical disk device such as a DVD drive for recording or reproducing data (information) on an optical disk 11 as a medium.
[0021] この情報記録装置は、データ記録及び再生の命令を受けるホストコンピュータ 12を 接続しており、ホストコンピュータ 12からの命令に基づいて情報記録媒体である光デ イスク 11に対するデータの記録と再生を行う。  This information recording device is connected to a host computer 12 that receives data recording and reproduction instructions, and records and reproduces data on and from an optical disc 11 as an information recording medium based on instructions from the host computer 12. I do.
[0022] モータ(スピンドルモータ) 1は、光ディスク 11のマウント時,データの記録及び再生 時に光ディスク 11を回転させる。  A motor (spindle motor) 1 rotates the optical disk 11 when mounting the optical disk 11 and recording and reproducing data.
[0023] 光ピックアップ 2は、微小動作を行うことができ、光ディスク 11にレーザダイオード等 の光源で発生させたレーザ光 Lを照射して記録面上に記録されたデータの読み取り とデータの記録を行う。粗動モータ 3は、光ピックアップ 2を光ディスク 11の半径方向 に移動させるモータである。回転制御系部 4は、モータ 1の回転制御を行う。粗動モ ータ制御系部 5は、粗動モータ 3の回転制御を行う。 The optical pickup 2 can perform a micro operation, and irradiates the optical disc 11 with laser light L generated by a light source such as a laser diode to read data recorded on a recording surface and record data. Do. The coarse motor 3 is a motor that moves the optical pickup 2 in the radial direction of the optical disc 11. The rotation control system unit 4 controls the rotation of the motor 1. Coarse motion The motor control system unit 5 controls the rotation of the coarse motor 3.
[0024] 光ピックアップ制御系部 6は、光ピックアップ 2のレーザ光発光等の制御を行う。 The optical pickup control system 6 controls the laser light emission of the optical pickup 2 and the like.
[0025] 信号処理系部 7は、光ピックアップ 2からの信号の処理や光ディスク 11にデータ記 録を行う為のデータ及び光ディスク 11から再生したデータの送受信を行う。 The signal processing system unit 7 performs processing of signals from the optical pickup 2 and transmission and reception of data for recording data on the optical disk 11 and data reproduced from the optical disk 11.
[0026] キャッシュメモリ 8は、光ディスク 11から再生したデータ及び光ディスク 11へ記録す るデータを一時的に記憶'保存する領域 (メモリ領域)である。すなわち、上記一時記 憶手段の機能を果たす。 The cache memory 8 is an area (memory area) for temporarily storing and storing data reproduced from the optical disk 11 and data to be recorded on the optical disk 11. That is, it functions as the temporary storage means.
[0027] 外部インタフェース 9は、ホストコンピュータ 12とのデータ通信を司る。 The external interface 9 manages data communication with the host computer 12.
[0028] コントローラ 10は、 CPU31, ROM32及び RAM33等からなるマイクロコンピュータ によって実現され、この情報記録装置の全体の制御を行うものであり、データ記録の 形態に応じてキャッシュメモリ 8のメモリ領域 (記憶領域)を分割し、データ記録,ベリフ アイ,再生などの処理を行う。すなわち、 ROM32にこの発明に係る上記各プログラム を記憶して格納し、 CPU31がそのプログラムを実行してこの発明に係る上記情報記 録方法を実施し、この発明に係る上記制御手段を含む各手段の機能を果たす。なお 、プログラムは、情報記録装置の出荷時から、コントローラ 10の内部の ROM32等に 格納しておく構成であってもよレ、し、光ディスク 11に格納されてレ、るプログラムを読み 取って、コントローラ 10の内部の ROM32等にインストールするようにしてもよい。 [0028] The controller 10 is realized by a microcomputer including a CPU 31, a ROM 32, a RAM 33, and the like, and controls the entire information recording apparatus. The controller 10 has a memory area (storage area) of the cache memory 8 according to a data recording mode. Area) and perform processing such as data recording, verify, and playback. That is, each program according to the present invention is stored and stored in the ROM 32, and the CPU 31 executes the program to execute the information recording method according to the present invention, and each means including the control means according to the present invention. Perform the function of The program may be stored in the ROM 32 or the like inside the controller 10 from the time of shipment of the information recording device, or the program may be stored in the optical disk 11 and read. It may be installed in the ROM 32 or the like inside the controller 10.
[0029] この情報記録装置は、キャッシュメモリ 8のメモリ領域を分割して使用する場合、分 割されたそれぞれのメモリ領域について最適なバッファリング方式にてデータを格納 する。 When the memory area of the cache memory 8 is divided and used, this information recording device stores data in an optimal buffering method for each of the divided memory areas.
[0030] 例えば、複数の分割メモリ領域のうち、記録データ格納用領域 (記録データ記憶用 領域)や再生データ格納用領域 (再生データ記憶用領域)、あるいはべリファイ用な どに使用する分割メモリ領域はリングバッファリング方式にて使用することが望ましレヽ  [0030] For example, of a plurality of divided memory areas, a divided memory used for a recording data storage area (recorded data storage area), a reproduced data storage area (reproduced data storage area), or a verification area. It is desirable that the area be used in a ring buffering scheme.
[0031] また、通常、記録データや再生データを格納するためのキャッシュメモリ 8は、リング バッファリング方式にて使用されることが多レ、。リングバッファリング方式の利点はキヤ ッシュメモリ 8のメモリ領域内の終了アドレスへデータを格納した後は、引き続きメモリ 領域の開始アドレスからデータが格納されることである。 [0032] 例えば、コントローラ 10は、データ記録を行う場合、ホストコンピュータ 12からのデ ータを受信した際に更新されるキャッシュメモリ 8内のポインタと、格納データを光ディ スク 11へ記録した際に更新される記録ポインタなどを参照することにより、キャッシュ メモリ 8内のデータ占有率を容易に計算することができる。 Usually, the cache memory 8 for storing recording data and reproduction data is often used in a ring buffering system. The advantage of the ring buffering method is that after data is stored at the end address in the memory area of the cache memory 8, data is continuously stored from the start address of the memory area. [0032] For example, when performing data recording, the controller 10 stores a pointer in the cache memory 8 that is updated when data is received from the host computer 12 and a data stored in the optical disk 11 when the data is stored in the optical disk 11. The data occupancy in the cache memory 8 can be easily calculated by referring to the recording pointer updated in the cache memory 8.
[0033] したがって、複数の分割メモリ領域のうち少なくとも記録データ格納用や再生データ 格納用、あるいはべリファイ用に使用する分割メモリ領域はリングバッファリング方式 にて使用することが望ましい。  Therefore, it is desirable that at least the divided memory area used for storing recording data, for storing reproduction data, or for verifying among the plurality of divided memory areas be used in a ring buffering system.
[0034] さらに、この情報記録装置でキャッシュメモリ 8をリングバッファリング方式にて使用 する場合、リングバッファとして使用するメモリ領域のリング開始ポインタとリング終了 ポインタとを設定し、それらのポインタで指定されたメモリ領域内でリングバッファを形 成する。  [0034] Further, when the cache memory 8 is used in the information recording apparatus by the ring buffering method, a ring start pointer and a ring end pointer of a memory area used as a ring buffer are set, and designated by the pointers. Create a ring buffer in the memory area.
[0035] したがって、例えば次の(A)と(B)の場合は、例えばコントローラ 10が、キャッシュメ モリ 8内に複数のリング開始ポインタと、リング終了ポインタと、を設定する必要がある 少なくとも 1つの分
Figure imgf000009_0001
Therefore, in the following cases (A) and (B), for example, the controller 10 needs to set a plurality of ring start pointers and a ring end pointer in the cache memory 8. Two minutes
Figure imgf000009_0001
(B)分割されたメモリ領域のうち複数の分割メモリ領域をリングバッファリング方式にて 使用する場合。  (B) When a plurality of divided memory areas among the divided memory areas are used in a ring buffering method.
[0036] このような場合、リング開始ポインタ、リング終了ポインタを複数箇所に同時に設定 できればよいが、記録形態に応じてキャッシュメモリ 8を分割して使用することが考慮 されていない従来装置では、リング開始ポインタ、リング終了ポインタを複数箇所に設 定できない場合が多い。  In such a case, it is sufficient that the ring start pointer and the ring end pointer can be set at a plurality of locations at the same time. However, in a conventional device that does not consider using the cache memory 8 divided according to the recording mode, the ring In many cases, the start pointer and ring end pointer cannot be set at multiple locations.
[0037] また、上記(A)の場合のように、 1つのリングバッファが他のリングバッファを含むよう に設定される場合、単純にリング開始ポインタ、リング終了ポインタを複数箇所に同時 設定するのでは不都合が生じる。 Further, when one ring buffer is set to include another ring buffer as in the case of (A) above, simply set the ring start pointer and the ring end pointer simultaneously at a plurality of locations. Inconvenience arises.
[0038] これは、リングバッファとして使用するメモリ領域の範囲内に予期せぬリング開始ポ インタ、あるいはリング終了ポインタが存在することにより、誤った位置にデータが格 納される可能性があるためである。 [0039] 次に、上記(1)記録ブロックに満たない単位でデータ記録を行う場合について詳細 に説明する。 [0038] This is because data may be stored in an incorrect position due to an unexpected ring start pointer or ring end pointer existing in the range of the memory area used as the ring buffer. It is. Next, (1) the case where data recording is performed in units smaller than the recording block will be described in detail.
[0040] DVD + RWディスクではホストコンピュータ 12からセクタ単位でデータ記録を行うこ とが可能である力 光ディスク 11への書き込みは ECCブロック(1ECCブロックは 16 セクタ、以下「記録ブロック」という)と呼ばれる記録単位で行う必要がある。  [0040] In a DVD + RW disc, data can be recorded in sector units from the host computer 12. Writing to the optical disc 11 is called an ECC block (1 ECC block is 16 sectors, hereinafter referred to as a "record block"). Must be done on a record basis.
[0041] したがって、情報記録装置は、ホストコンピュータ 12から記録ブロックに満たないデ ータ記録要求を受けた場合、当該記録データを含む記録ブロックを読み出した後、こ の記録ブロックに要求記録データを上書きして再び記録ブロック単位で光ディスク 11 へ書き戻す。  Therefore, when the information recording device receives a data recording request smaller than a recording block from the host computer 12, the information recording device reads the recording block including the recording data, and then stores the requested recording data in the recording block. Overwrite and write back to the optical disk 11 again in recording block units.
[0042] このような記録処理はリードモディファイライト(Read Modify Write)と呼ばれる。  [0042] Such a recording process is called a read modify write.
[0043] リードモディファイライトでは、要求された記録領域を含む記録ブロックを一旦読み 出してデータをキャッシュメモリ 8内に格納した後、キャッシュメモリ 8内の所定領域に ユーザデータを上書きするが、記録ブロックの読み出しが完了するまで要求データの 受信を待たせることは、記録要求に対する応答が遅くなるため望ましくない。 In the read-modify-write operation, a recording block including a requested recording area is once read out, data is stored in the cache memory 8, and user data is overwritten on a predetermined area in the cache memory 8. It is not desirable to wait for the request data to be received until the reading of the data is completed, because the response to the recording request is delayed.
[0044] したがって、この情報記録装置では、記録ブロックの読み出しに先立ってユーザデ ータを受信するために、記録ブロックを格納するメモリ領域とは別の領域へユーザデ ータを一旦格納する。 Therefore, in this information recording apparatus, in order to receive user data before reading a recording block, the user data is temporarily stored in an area different from the memory area storing the recording block.
[0045] また、ホストコンピュータ 12が連続的にデータ記録を行う場合は、情報記録装置は 、ホストコンピュータ 12からの個々の記録要求がセクタ単位であっても記録ブロック分 のデータが格納された時点で光ディスク 11への書き込みを行えばよぐそのような場 合は直接ユーザデータを記録データ格納用メモリ領域 (記録データ記憶用領域)へ 格納可能である。  When the host computer 12 continuously performs data recording, the information recording apparatus performs the recording at the time when the data of the recording block is stored even if each recording request from the host computer 12 is in sector units. In such a case, the user data can be directly stored in the recording data storage memory area (recording data storage area).
[0046] したがって、連続したデータ記録においてリードモディファイライトが必要となるのは 、書き始めのアドレスと書き終わりアドレスとが記録ブロックの境界でない場合である。  Therefore, read-modify-write is required in continuous data recording when the write start address and the write end address are not at the boundary of the recording block.
[0047] ここで、連続したデータ記録において記録データ格納用メモリ領域へユーザデータ を格納している状態において、記録ブロック途中でユーザから記録完了通知を受け た場合、書き終わりの記録ブロックはリードモディファイライトが発生する。  Here, in the state where user data is stored in the recording data storage memory area in continuous data recording, if a recording completion notification is received from the user in the middle of a recording block, the recording block at the end of writing is read-modified. Light occurs.
[0048] つまり、情報記録装置は、ユーザデータを格納したメモリ領域とは別領域に記録ブ ロックを読み出す必要がある。 [0048] That is, the information recording apparatus records the recording data in an area different from the memory area storing the user data. Need to read lock.
[0049] さらに、この情報記録装置において、連続したデータ記録ではキャッシュメモリ 8が 大きければ大きいほど、そのメモリ領域内の記録データが無くなることによる記録中 断を極力避けることが可能となる。  Further, in this information recording apparatus, in continuous data recording, the larger the cache memory 8 is, the more it is possible to avoid interruption of recording due to lack of recording data in the memory area.
[0050] 一方、端数データ格納用メモリ領域 (端数データ記憶用領域)は、書き始め、あるい は書き終わりの端数データを格納するためのものであり、最低で記録ブロックのサイ ズ分あればよい。 [0050] On the other hand, the fraction data storage memory area (fraction data storage area) is for storing fraction data at the start of writing or at the end of writing. Good.
[0051] 次に、上記(3)記録ブロック以下の単位で交替を行う場合について詳細に説明す る。  Next, the case where the replacement is performed in units of (3) recording blocks or less will be described in detail.
[0052] CD—RWディスクのマウントレイユア規格である CD—MRWディスクや、 DVD + RW ディスクのマウントレイユア規格である DVD + MRWディスクでは、ユーザはセクタ単 位でランダムにデータ記録が可能であり、記録ブロックに満たない場合、光ディスク への記録はリードモディファイライトを行う必要がある。  [0052] With a CD-RW disc that is a mount-layure standard for CD-RW discs, and a DVD + MRW disc that is a mount-layure standard for DVD + RW discs, users can record data randomly in sector units. Yes, if it is less than the recording block, it is necessary to perform read-modify-write for recording on the optical disk.
[0053] ここで、前述のベリファイ処理において、 DVD + MRWディスクでは記録ブロックで ある ECCブロック単位で欠陥かどうかの判定を行レ、、欠陥と判定した場合は記録プロ ック単位でデータの交替を行うが、 CD—MRWディスクでは記録ブロックであるバケツ トを構成するセクタ単位で欠陥かどうかの判定を行い、欠陥であった場合はセクタ単 位でデータの交替を行う。  [0053] In the above-described verification process, a DVD + MRW disc determines whether or not there is a defect in the unit of an ECC block, which is a recording block. If it is determined that a defect is present, data is replaced in units of a recording block. In the case of a CD-MRW disc, it is determined whether or not a defect is present in units of sectors constituting a bucket, which is a recording block. If the defect is found, data is replaced in units of sectors.
[0054] つまり、交替先となる所定のパケットを読み出した後、このパケットに交替元データ を上書きして再び交替先パケットへ書き戻す。  That is, after reading a predetermined packet to be a replacement destination, the replacement source data is overwritten on this packet and written back to the replacement destination packet again.
[0055] このように、 CD— MRWディスクにおける交替処理では交替処理においてもリードモ  [0055] As described above, in the replacement process for a CD-MRW disc, the read mode is also used in the replacement process.
[0056] ところで、前述したようにユーザからの記録データはべリファイ処理が完了するまで 保持しておく必要があるため、この情報記録装置では、交替先パケットを読み出す場 合は、記録データを格納するメモリ領域とは別のメモリ領域へデータを格納する。 As described above, since the recording data from the user needs to be held until the verification process is completed, this information recording device stores the recording data when reading the replacement packet. The data is stored in a memory area different from the memory area to be used.
[0057] また、前述のようにデータ記録のパフォーマンスを維持するためには記録データ格 納用メモリ領域は極力大きくしたほうが良ぐ一方、交替先データ格納用メモリ領域は パケットサイズ分のデータを格納できれば良い。 [0058] 図 2は、図 1に示す情報記録装置におけるキャッシュメモリのメモリ分割処理を示す フローチャート図である。 As described above, in order to maintain the performance of data recording, it is better to make the recording data storage memory area as large as possible, while the replacement destination data storage memory area stores data of the packet size. Good if you can. FIG. 2 is a flowchart showing a memory dividing process of the cache memory in the information recording device shown in FIG.
[0059] このメモリ分割処理は、例えば、ホストコンピュータ 12からの最初のデータ記録要求 を受けた時点で行レ、、ホストコンピュータ 12からデータ記録完了の要求を受けた時点 で分割されたメモリ領域を元に戻すことで、データ記録の形態に応じたキャッシュメモ リ 8の使用が可能となる。  This memory division processing is performed, for example, when a first data recording request is received from the host computer 12, and when a data recording completion request is received from the host computer 12, the divided memory area is By reverting, it is possible to use the cache memory 8 according to the form of data recording.
[0060] コントローラ 10は、メモリ分割処理を開始すると、ステップ(図中「S」で示す) 1でリー ドモディファイライトを行う必要があるか否かを判断する。  [0060] When the memory division process is started, the controller 10 determines whether or not it is necessary to perform the read-modify-write in step (indicated by "S" in the figure) 1.
[0061] 例えば、 CD—MRWディスク, DVD + RWディスク, DVD + MRWディスクへの記 録では、ホストコンピュータ 12はセクタ単位のランダムなデータ記録が可能であるが 光ディスク 11への書き込みはパケット単位または ECCブロック単位で行う必要があり 、リードモディファイライトが発生する可能性がある。  [0061] For example, in recording on a CD-MRW disk, DVD + RW disk, or DVD + MRW disk, the host computer 12 can perform random data recording in sector units. This must be performed in ECC block units, and read-modify-write may occur.
[0062] したがって、コントローラ 10は、ステップ 1でリードモディファイライトを行う必要がある と判断すると、ステップ 2でキャッシュメモリの記憶領域を分割して記録ブロックに満た ないデータを一時的に格納する端数データ格納用メモリ領域 (端数データ記憶用領 域)を確保する。  [0062] Therefore, when the controller 10 determines in step 1 that it is necessary to perform read-modify-write, the controller 10 divides the storage area of the cache memory in step 2 and temporarily stores the fractional data for storing less than the recording block. Secure the storage memory area (fraction data storage area).
[0063] 一方、 CD— MRWディスク, DVD + RWディスク, DVD + MRWディスク以外への 記録ではリードモディファイライトは発生しないため、コントローラ 10は、ステップ 1でリ 、要が無いと判断すると、ステップ 2の処理をスキップして [0063] On the other hand, read-modify-write does not occur in recording other than CD-MRW disc, DVD + RW disc, and DVD + MRW disc. Skip processing
、進む。 ,move on.
[0064] 次に、コントローラ 10は、ステップ 3でべリファイ処理を伴うデータ記録か否かを判断 する。  Next, the controller 10 determines in Step 3 whether or not the data recording involves the verifying process.
[0065] 例えば、 CD—MRWディスク, DVD + MRWディスクではデータ記録後に当該領 域のベリファイを行う場合があるため、コントローラ 10は、ステップ 3でべリファイ処理 を伴うデータ記録と判断すると、ステップ 4でキャッシュメモリのメモリ領域 (記憶領域) を分割してベリファイ用メモリ領域 (ベリファイ用記憶領域)を確保する。  [0065] For example, in the case of a CD-MRW disc or a DVD + MRW disc, verification of the relevant area may be performed after data recording. Divides the memory area (storage area) of the cache memory to secure a memory area for verification (storage area for verification).
[0066] 次に、ベリファイ処理において欠陥が検出された場合、コントローラ 10は、ステップ 5で、セクタ単位で交替を行うか否かを判断する。 [0067] 例えば、 CD—MRWディスクにおけるべリファイは、セクタ単位で欠陥検出を行い、 パケット内の欠陥セクタのみを交替する。 Next, when a defect is detected in the verification processing, the controller 10 determines in step 5 whether or not replacement is to be performed in sector units. For example, in the verification of a CD-MRW disk, a defect is detected in sector units, and only defective sectors in a packet are replaced.
[0068] したがって、コントローラ 10は、ステップ 5で、セクタ単位で交替を行うと判断したら、 ステップ 6でキャッシュメモリを分割して交替先データ格納用メモリ領域(交替先デー タ記憶用領域)を確保する。 Therefore, when the controller 10 determines in step 5 that replacement is to be performed in sector units, the controller 10 divides the cache memory in step 6 to secure a replacement destination data storage memory area (replacement destination data storage area). I do.
[0069] 一方、 DVD + MRWでは ECCブロック単位で欠陥検出が行われ、欠陥であった場 合は、 ECCブロック単位で交替されるため、コントローラ 10は、ステップ 5で、セクタ単 位で交替を行わないと判断したら、ステップ 6の処理をスキップしてステップ 7へ進む [0069] On the other hand, in DVD + MRW, defect detection is performed in ECC block units, and if a defect is detected, replacement is performed in ECC block units. Therefore, the controller 10 performs replacement in sector units in step 5. If not, skip step 6 and proceed to step 7
[0070] また、例えば CD—MRWディスク, DVD + MRWディスク以外への記録ではべリフ アイを伴うデータ記録が発生しないため、コントローラ 10は、ステップ 3で、ベリファイ 処理を伴うデータ記録ではないと判断すると、ステップ 4一ステップ 6の処理をスキッ プしてステップ 7へ進む。 [0070] In addition, for example, in recording on a medium other than a CD-MRW disc or DVD + MRW disc, data recording with a verify error does not occur. Then, the process of Step 4 to Step 6 is skipped and the process proceeds to Step 7.
[0071] 次に、コントローラ 10は、ステップ 7で、タイムシフト再生を行うか否かを判断し、タイ ムシフト再生を行う場合は、ステップ 8でキャッシュメモリのメモリ領域を分割して再生 データ格納用メモリ領域 (再生データ記憶用領域)を確保し、この処理を終了する。  Next, in step 7, the controller 10 determines whether or not to perform time-shift playback. If time-shift playback is to be performed, the controller 10 divides the memory area of the cache memory in step 8 to store playback data. A memory area (playback data storage area) is secured, and this process ends.
[0072] また、コントローラ 10は、ステップ 7の判断でタイムシフト再生を行わない場合はステ ップ 8をスキップしてこの処理を終了する。  [0072] If the time shift reproduction is not to be performed in the determination of step 7, the controller 10 skips step 8 and ends this processing.
[0073] なお、コントローラ 10は、上記の分割メモリ領域のうち同時に使用することのない複 数の分割メモリ領域は、複数に分割する必要はなぐある分割メモリ領域を複数の目 的に使用しても良い。  [0073] Note that the controller 10 uses a plurality of divided memory areas that are not used at the same time among the above-mentioned divided memory areas and that need not be divided into a plurality of divided memory areas. Is also good.
[0074] 例えば、 CD— MRWディスクにおいて、ベリファイ処理と交替先パケットの読み出し が同時に行われることはない。  For example, in a CD-MRW disc, the verifying process and the reading of the replacement destination packet are not performed simultaneously.
[0075] さらに、コントローラ 10は、ベリファイ用メモリ領域に格納したデータを交替先バケツ トの読み出し中に保持しておく必要はなぐ逆に交替先データ格納用メモリに格納し たデータはべリファイ中に保持しておく必要はない。 Further, the controller 10 does not need to hold the data stored in the verification memory area while reading the replacement bucket, and conversely, the data stored in the replacement data storage memory is being verified. You do not need to keep them.
[0076] このような場合は、コントローラ 10は、 1つの分割メモリ領域をべリファイ用と交替先 データ格納用に使用することも可能である。 [0077] 図 3は、図 1に示すコントローラ 10による上記の要領で分割されたメモリ領域のレイ アウトを示す図である。 In such a case, the controller 10 can use one divided memory area for verification and for storing replacement data. FIG. 3 is a diagram showing a layout of the memory area divided by the controller 10 shown in FIG. 1 in the manner described above.
[0078] 同図の(a)は、 CD— Rディスク, CD— RWディスク及び DVD + Rディスクへデータ記 録を行う場合のメモリ領域のレイアウトである。  (A) of the figure is a layout of a memory area when data is recorded on a CD-R disc, a CD-RW disc, and a DVD + R disc.
[0079] これらの光ディスク 11への記録はリードモディファイライトやべリファイなどの複雑な 処理が不要であるため、コントローラ 10は、キャッシュメモリ 8のメモリ領域全体を記録 データ格納用メモリ領域 20に使用することが可能である。 Since recording on these optical disks 11 does not require complicated processing such as read-modify-write and verification, the controller 10 uses the entire memory area of the cache memory 8 as the memory area 20 for storing recorded data. It is possible.
[0080] すなわち、コントローラ 10は、リング開始ポインタ(RS)にメモリ領域の開始アドレスThat is, the controller 10 sets the ring start pointer (RS) to the start address of the memory area.
M0を設定し、リング終了ポインタ (RE)にメモリ領域の終了アドレス Mlを設定する。 Set M0 and the end address Ml of the memory area to the ring end pointer (RE).
[0081] 同図の(b)は、 DVD + MRWディスクへデータ記録を行う場合のメモリ領域の分割 例である。 FIG. 13B shows an example of dividing a memory area when data is recorded on a DVD + MRW disc.
[0082] DVD + MRWディスクは、ユーザ力、らセクタ単位でランダムに記録が可能であり、リ ードモディファイライトを行う必要があるため、コントローラ 10は、キャッシュメモリ 8を記 録データ格納用メモリ領域 20と端数データ格納用メモリ領域 (端数データ転送用メモ リ領域) 21とに分割する。すなわち、コントローラ 10は、キャッシュメモリ 8内のアドレス M0から M2を記録データ格納用メモリ領域 20として使用し、アドレス M2から Mlを端 数データ格納用メモリ領域 21として使用する。  [0082] The DVD + MRW disc can be recorded randomly in units of sectors, for example, by the user, and it is necessary to perform read-modify-write. Therefore, the controller 10 stores the cache memory 8 in a memory for storing recorded data. It is divided into an area 20 and a memory area 21 for storing fraction data (memory area for transferring fraction data). That is, the controller 10 uses the addresses M0 to M2 in the cache memory 8 as the recording data storage memory area 20 and uses the addresses M2 to Ml as the fraction data storage memory area 21.
[0083] また、コントローラ 10は、これらの分割メモリ領域のうち記録データ格納用メモリ領域 20はリングバッファリング方式で使用し、リング開始ポインタ(RS0)およびリング終了 ポインタ(RE0)に記録データ格納用メモリ領域 20の開始アドレス M0および終了アド レス M2をそれぞれ設定する。  The controller 10 uses the recording data storage memory area 20 of these divided memory areas in the ring buffering scheme, and stores the recording data storage area in the ring start pointer (RS0) and the ring end pointer (RE0). Set the start address M0 and end address M2 of the memory area 20 respectively.
[0084] 同図の(c)は、 CD—MRWディスク及び DVD + MRWディスクへデータ記録を行う 場合のメモリ領域の分割例である。  (C) of the figure is an example of dividing the memory area when data is recorded on a CD-MRW disc and a DVD + MRW disc.
[0085] これらの光ディスク 11は、 DVD + RWディスクと同様にホストコンピュータ 12からセ クタ単位でランダムに記録が可能であり、リードモディファイライトを行う必要があるた め、コントローラ 10は、キャッシュメモリ 8を記録データ格納用メモリ領域 20と端数デ ータ格納用メモリ領域 21とに分割する。  [0085] These optical disks 11 can be recorded randomly by the host computer 12 in units of sectors, similarly to DVD + RW disks, and need to perform read-modify-write. Is divided into a recording data storage memory area 20 and a fraction data storage memory area 21.
[0086] さらに、これらの光ディスク 11はべリファイ処理を伴うデータ記録を行うため、コント口 ーラ 10は、記録データ格納用メモリ領域 20をさらに分割し、ベリファイ用メモリ領域 2 2を確保する。 [0086] Furthermore, these optical disks 11 perform data recording accompanied by verification processing. The controller 10 further divides the recording data storage memory area 20 to secure a verification memory area 22.
[0087] なお、 CD— MRWディスクでは交替処理においてもリードモディファイライトが発生 するため、交替データ格納用メモリ領域が必要となる力 コントローラ 10が、交替先パ ケットのデータをべリファイ用メモリ領域 22へ格納することで新たに交替先データ格 納用メモリ領域を確保する必要がなくなる。 [0087] In the case of a CD-MRW disc, read-modify-write occurs even in the replacement process. Therefore, a force controller 10 requiring a replacement data storage memory area is used to transfer the data of the replacement packet to the verification memory area 22. By storing the data in the storage area, there is no need to secure a new memory area for storing replacement data.
[0088] 以上のように、コントローラ 10は、 CD—MRWディスク及び DVD + MRWディスクへ のデータ記録では、キャッシュメモリ 8内のアドレス M0から M3を記録データ格納用メ モリ領域 20、アドレス M3から M2をべリファイ用メモリ領域(交替先データ格納用メモ リ領域) 22、アドレス M2から Mlを端数データ格納用メモリ領域 21として使用する。こ れらの分割メモリ領域のうち、記録データ格納用メモリ領域 20とべリファイ用メモリ領 域 22とはリングバッファリング方式にて使用することでそれぞれのメモリ管理が容易に なる。 As described above, the controller 10 stores the addresses M0 to M3 in the cache memory 8 in the recording data storage memory area 20 and the addresses M3 to M2 in the data recording on the CD-MRW disc and the DVD + MRW disc. Use the verification memory area (memory area for storing replacement data) 22 and the addresses M2 to Ml as the memory area 21 for fraction data storage. Of these divided memory areas, the memory area 20 for recording data storage and the memory area 22 for verification are used in a ring buffering system, so that their memory management becomes easy.
[0089] すなわち、コントローラ 10は、記録処理を行う場合はリング開始ポインタ(RS0)及び リング終了ポインタ(RE0)に記録データ格納用メモリ領域 20の開始アドレス M0及び 終了アドレス M3をそれぞれ設定し、ベリファイ処理を行う場合はリング開始ポインタ( RS1)及びリング終了ポインタ(RE1)にべリファイ用メモリ領域 22の開始アドレス M3 及び終了アドレス M2をそれぞれ設定する。  That is, when performing the recording process, the controller 10 sets the start address M0 and the end address M3 of the recording data storage memory area 20 in the ring start pointer (RS0) and the ring end pointer (RE0), respectively, and performs verification. When performing the processing, the start address M3 and the end address M2 of the verification memory area 22 are set in the ring start pointer (RS1) and the ring end pointer (RE1), respectively.
[0090] 同図の(d)は、 DVD + RWディスクへの記録においてタイムシフト再生を行う場合 のメモリ領域の分割例である。  (D) of the figure is an example of division of a memory area when performing time-shift reproduction in recording on a DVD + RW disc.
[0091] 通常、 TV番組の録画などにおいてタイムシフト再生が要求される場合、シーケンシ ャルなデータ記録が要求される場合が一般的である力 DVD + RWディスクではホ ストコンピュータ 12はデータをランダムに記録することが可能であるため、例えば録画 したデータの管理情報を記録するような場合はランダムな記録を要求される可能性 力 Sある。  [0091] Normally, when time-shift playback is required in recording a TV program or the like, sequential data recording is generally required. In the case of a DVD + RW disc, the host computer 12 randomizes data. For example, when recording management information of recorded data, there is a possibility that random recording is required.
[0092] したがって、コントローラ 10は、記録データ格納用メモリ領域 20を分割して端数デ ータ格納用メモリ領域 21を確保しておく。  Therefore, the controller 10 divides the recording data storage memory area 20 to secure a fraction data storage memory area 21.
[0093] 次に、データ記録中にホストコンピュータ 12からの再生要求に対して再生データを 格納するため、コントローラ 10は、記録データ格納用メモリ領域 20をさらに分割して 再生データ格納用メモリ領域 23を確保する。 [0093] Next, during data recording, in response to a reproduction request from the host computer 12, reproduction data is output. For storage, the controller 10 further divides the recording data storage memory area 20 to secure a reproduction data storage memory area 23.
[0094] 以上のようにして、コントローラ 10は、 DVD+RWディスクでタイムシフト再生を行う 場合は、キャッシュメモリ 8内のアドレス M0から M4を記録データ格納用メモリ領域 20 、アドレス M4から M2を再生データ格納用メモリ領域 23、アドレス M2から Mlを端数 データ格納用メモリ領域 21として使用する。これらの分割メモリ領域のうち、記録デー タ格納用メモリ領域 20と再生データ格納用メモリ領域 23とはリングバッファリング方式 にて使用することでそれぞれのメモリ管理が容易になる。  [0094] As described above, when performing the time-shift reproduction on the DVD + RW disc, the controller 10 reproduces the addresses M0 to M4 in the cache memory 8, the recording data storage memory area 20, and the addresses M4 to M2. The data storage memory area 23 and the addresses M2 to Ml are used as the fraction data storage memory area 21. Of these divided memory areas, the memory area 20 for storing recorded data and the memory area 23 for storing reproduced data are used in a ring buffering system, so that their memory management is facilitated.
[0095] すなわち、コントローラ 10は、記録処理を行う場合はリング開始ポインタ(RS0)およ びリング終了ポインタ (RE0)に記録データ格納用メモリ領域 20の開始アドレス M0お よび終了アドレス M4をそれぞれ設定し、データ再生処理を行う場合はリング開始ポ インタ (RS1)およびリング終了ポインタ (RE1)に再生データ格納用メモリ領域 23の 開始アドレス M4および終了アドレス M2をそれぞれ設定する。  [0095] That is, when performing the recording process, the controller 10 sets the start address M0 and the end address M4 of the recording data storage memory area 20 in the ring start pointer (RS0) and the ring end pointer (RE0), respectively. When performing data reproduction processing, the start address M4 and the end address M2 of the reproduction data storage memory area 23 are set in the ring start pointer (RS1) and the ring end pointer (RE1), respectively.
[0096] 図 4乃至図 6は、図 1に示したコントローラ 10による記録ブロック単位に満たないデ ータ記録を行う場合のメモリ分割とデータ格納の例を示す説明図である。  FIGS. 4 to 6 are explanatory diagrams showing examples of memory division and data storage when data recording less than a recording block unit is performed by the controller 10 shown in FIG.
[0097] コントローラ 10は、図 3の(b)に示すようにキャッシュメモリ 8の全メモリ領域(メモリア ドレス M0から Ml)を記録データ格納用メモリ領域(メモリアドレス M0から M2) 20と 端数データ格納用メモリ領域 (メモリアドレス M2から Ml) 21とに分割する。以下、 D VD + RWディスクへの記録を例に説明する。  [0097] The controller 10 stores the entire memory area (memory addresses M0 to Ml) of the cache memory 8 as the recording data storage memory area (memory addresses M0 to M2) 20 and the fraction data as shown in Fig. 3 (b). Memory area (memory addresses M2 to Ml) 21. Hereinafter, recording on a DVD + RW disc will be described as an example.
[0098] 図 4の(a)— (d)は、ホストコンピュータ 12がセクタ単位でデータ記録を要求した場 合のキャッシュメモリ 8の使用例の説明図である。  [0098] FIGS. 4A to 4D are explanatory diagrams of an example of use of the cache memory 8 when the host computer 12 requests data recording in sector units.
[0099] コントローラ 10は、ホストコンピュータ 12から ECCブロックの境界でないアドレスへ の記録要求を受けた場合、要求データを端数データ格納用メモリ領域 21に一時的 に格納する(図 4の(a)参照)。そのとき、コントローラ 10は、ホストコンピュータ 12に対 して記録要求に対する完了通知を報告する。  [0099] When receiving a recording request from the host computer 12 to an address that is not on the boundary of an ECC block, the controller 10 temporarily stores the requested data in the fractional data storage memory area 21 (see (a) in Fig. 4). ). At that time, the controller 10 reports a completion notification for the recording request to the host computer 12.
[0100] 次に、コントローラ 10は、要求された記録アドレスを含む ECCブロックを光ディスク 1 1から読み出して記録データ格納用メモリ領域 20に格納する(図 4の(b)参照)。  [0100] Next, the controller 10 reads the ECC block including the requested recording address from the optical disk 11 and stores it in the recording data storage memory area 20 (see (b) in Fig. 4).
[0101] 次に、コントローラ 10は、端数データ格納用メモリ領域 21に一時的に格納した端数 データを、上記読み出した ECCブロックデータの所定位置にコピーし(図 4の(c)参 照)、 ECCブロック単位で光ディスク 11へ書き戻す(図 4の(d)参照)。 [0101] Next, the controller 10 stores the fraction temporarily stored in the fraction data storage memory area 21. The data is copied to a predetermined position of the read ECC block data (see (c) in FIG. 4), and is written back to the optical disk 11 in ECC block units (see (d) in FIG. 4).
[0102] このようにして、コントローラ 10は、端数データを格納するためのメモリ領域を確保 することにより、所定の ECCブロックデータを光ディスク 11から読み出す前に要求記 録データを受信することが可能になる。 [0102] In this way, the controller 10 secures a memory area for storing fraction data, thereby enabling the controller 10 to receive request recording data before reading predetermined ECC block data from the optical disc 11. Become.
[0103] また、コントローラ 10は、要求データを格納後にホストコンピュータ 12に対して記録 完了通知を報告することでデータ記録のパフォーマンスを向上させることが可能にな る。 [0103] Further, the controller 10 can improve the data recording performance by reporting the recording completion notification to the host computer 12 after storing the requested data.
[0104] 図 5の(a)—(c)と図 6の(a)—(e)は、ホストコンピュータ 12が連続的にデータ記録 を行う場合のキャッシュメモリ使用例である。  FIGS. 5A to 5C and FIGS. 6A to 6E show examples of using a cache memory when the host computer 12 continuously records data.
[0105] 本例では書き始めのアドレスおよび書き終わりアドレスは ECCブロックの境界でな いものとする。 [0105] In this example, it is assumed that the write start address and the write end address are not boundaries of the ECC block.
[0106] コントローラ 10は、例えば、ホストコンピュータ 12が ECCブロックの境界をまたぐよう に記録要求を行った場合、最初に記録開始アドレスから次の ECCブロックの境界ま でのデータを端数データ格納用メモリ領域 21に一時的に格納し、残りのデータを記 録データ格納用メモリ領域 20に格納する。  [0106] For example, when the host computer 12 issues a recording request across the boundary of an ECC block, the controller 10 first stores the data from the recording start address to the boundary of the next ECC block as a fraction data storage memory. The data is temporarily stored in the area 21, and the remaining data is stored in the recording data storage memory area 20.
[0107] このとき、コントローラ 10は、要求データの前半部分は端数データ格納用メモリ領域 21の開始位置 (メモリアドレス M2)から格納し、後半部分は記録データ格納用メモリ 領域 20の開始位置(メモリアドレス M0)力 1ECCブロック分空けた位置から格納す る(図 5の(a)参照)。  [0107] At this time, the controller 10 stores the first half of the requested data from the start position (memory address M2) of the fractional data storage memory area 21 and stores the second half of the request data at the start position (memory location) of the recording data storage memory area 20. Address M0) Force Store from the position one ECC block apart (see (a) in Fig. 5).
[0108] コントローラ 10は、以上のデータを格納した後にホストコンピュータ 12に対して記録 要求に対する完了通知を報告する。  After storing the above data, the controller 10 reports a completion notification for the recording request to the host computer 12.
[0109] 次に、コントローラ 10は、端数データ格納用メモリ領域 21に一時的に格納したデー タを含む ECCブロックを光ディスク 11から読み出し、記録データ格納用メモリ領域 20 の開始位置 (メモリアドレス M0)へ格納する。 Next, the controller 10 reads the ECC block including the data temporarily stored in the fractional data storage memory area 21 from the optical disk 11 and starts the recording data storage memory area 20 (memory address M0). To store.
[0110] コントローラ 10は、この間にホストコンピュータ 12からシーケンシャルな記録要求を 受けた場合、当該アドレスが ECCブロックの境界であるか否かに関わらず、記録デー タ格納用メモリ領域 20へ連続的に格納する(図 5の(b)参照)。 [0111] 次に、コントローラ 10は、 ECCブロックの読み出しが完了した場合、端数データ格 納用メモリ領域 21に一時的に格納した要求記録データを読み出した ECCブロックデ ータの所定位置にコピーする(図 5の(c)参照)。 [0110] If a sequential recording request is received from the host computer 12 during this time, the controller 10 continues to the recording data storage memory area 20 irrespective of whether the address is a boundary of an ECC block or not. Store (see (b) in Fig. 5). Next, when the reading of the ECC block is completed, the controller 10 copies the request record data temporarily stored in the fractional data storage memory area 21 to a predetermined position of the read ECC block data. (See (c) in Fig. 5).
[0112] ここで、コントローラ 10は、要求記録データの終了アドレスが ECCブロックの境界で ない時点で、ホストコンピュータ 12から記録終了の要求を受けた場合(図 6の(a)参 照)、 ECCブロックの端数となる要求データを端数データ格納用メモリ領域 21へいつ たん退避し(図 6の(b)参照)、この端数データを含む所定の ECCブロックを光デイス ク 11から読み出して記録データ格納用メモリ領域 20の所定位置へ格納する(図 6の( c)参照)。  [0112] Here, when the controller 10 receives a recording end request from the host computer 12 when the end address of the request recording data is not on the boundary of the ECC block (see (a) of FIG. 6), the controller 10 Request data, which is a fraction of a block, is temporarily saved to the fraction data storage memory area 21 (see (b) of FIG. 6), and a predetermined ECC block including the fraction data is read from the optical disk 11 to store recording data. Is stored at a predetermined position in the memory area 20 (see (c) of FIG. 6).
[0113] 次に、コントローラ 10は、端数データ格納用メモリ領域 21へ退避したデータを再び 記録データ格納用メモリ領域 20の所定位置へコピーして(図 6の(d)参照)、 ECCブ ロック単位で光ディスク 11へ書き戻す(図 6の(e)参照)。  Next, the controller 10 copies the data evacuated to the fractional data storage memory area 21 to a predetermined position in the recording data storage memory area 20 again (see (d) in FIG. 6), and The data is written back to the optical disk 11 in units (see (e) of FIG. 6).
[0114] なお、コントローラ 10は、ホストコンピュータ 12から記録終了要求を受ける前に記録 データ格納用メモリ領域 20のデータ占有量が所定のしきレ、値を超えた場合は記録を 開始する。 Note that the controller 10 starts recording when the data occupancy of the recording data storage memory area 20 exceeds a predetermined threshold or value before receiving a recording end request from the host computer 12.
[0115] また、コントローラ 10は、記録開始後にユーザから記録完了通知を受けた場合は、 ECCブロックの境界となるアドレスで一旦記録を中断してから、書き終わりの端数デ ータを含む所定の ECCブロックを読み出して当該 ECCブロックの記録を行う。  When the recording completion notification is received from the user after the start of recording, the controller 10 temporarily suspends recording at an address serving as a boundary of the ECC block, and then performs a predetermined operation including a fractional data at the end of writing. Read the ECC block and record the ECC block.
[0116] 図 7及び図 8は、コントローラ 10による DVD + RWディスクへのデータ記録動作を 示すフローチャート図である。  FIGS. 7 and 8 are flowcharts showing the operation of the controller 10 for recording data on a DVD + RW disc.
[0117] コントローラ 10は、データ記録処理を開始すると、図 7のステップ(図中「S」で示す) [0117] When the data recording process is started, the controller 10 starts the steps of FIG. 7 (indicated by "S" in the figure).
11でキャッシュメモリのメモリ分割処理を行う。 At 11, the cache memory is divided.
[0118] このメモリ分割処理では、コントローラ 10は、図 2に基づいて示した処理でキヤッシ ュメモリ 8のメモリ分割を行レ、、その結果、キャッシュメモリ 8の記憶領域を、図 3の(b) に示すように記録データ格納用メモリ領域 20と端数データ格納用メモリ領域 21とに 分割する。 In this memory division processing, the controller 10 performs the memory division of the cache memory 8 by the processing shown based on FIG. 2, and as a result, the storage area of the cache memory 8 is changed to the state shown in FIG. As shown in the figure, the memory area is divided into a recording data storage memory area 20 and a fraction data storage memory area 21.
[0119] ステップ 12で、コントローラ 10は、ホストコンピュータ 12から記録要求があるか否力、 を判断し、ここでは記録を要求されているため、ホストコンピュータ 12から記録要求が あると判断し、ステップ 13で ECCバウンダリか否力 (要求記録アドレス ECCブロックの 境界であるか否か)を判断する。コントローラ 10は、ステップ 13の判断で ECCバウン ダリの場合(要求記録アドレスが ECCブロックの境界であった場合)はステップ 19へ 進んで要求データを受信して記録メモリ(記録データ格納用メモリ領域)へ転送して 記憶(格納)する。ここでは要求記録アドレスが ECCブロックの境界でなかったと仮定 する。コントローラ 10は、ステップ 13の判断で ECCバウンダリではない場合(要求記 録アドレスが ECCブロックの境界ではない場合)、ステップ 14で連続アドレスか否か( 直前の要求記録アドレスから連続した記録要求であるか否か)を判断する。 [0119] In step 12, the controller 10 determines whether or not there is a recording request from the host computer 12, and since the recording is requested here, the recording request from the host computer 12 is received. It is determined that there is, and in step 13, the power of the ECC boundary (whether or not it is the boundary of the required recording address ECC block) is determined. If the controller 10 determines in step 13 that the ECC boundary has been reached (if the requested recording address is on the boundary of an ECC block), the controller 10 proceeds to step 19 to receive the requested data and record the recording memory (recording data storage memory area). Transfer to and store (store). Here, it is assumed that the requested recording address is not on the boundary of the ECC block. If the controller 10 determines that the address is not an ECC boundary (if the request recording address is not on the boundary of the ECC block) in step 13, the controller 10 determines in step 14 whether the address is a continuous address (the recording request is a continuous recording request from the immediately preceding request recording address). Or not).
[0120] コントローラ 10は、ステップ 14の判断で連続アドレスの場合(直前の記録要求から 連続した記録要求であった場合)、ステップ 19へ進んでデータを受信して記録メモリ (記録データ格納用メモリ領域)の所定位置へ転送して記憶 (格納)する。データ記録 開始時の場合、直前の記録要求は存在しないため、コントローラ 10は、ステップ 14の 判断で連続アドレスではない場合、ステップ 15で要求記録データのうち ECCブロック の境界までの端数データを抽出し、ステップ 16で端数メモリ(端数データ格納用メモ リ領域)に端数データを転送して記憶 (格納)する(図 4の(a)参照)。端数データ格納 用メモリへデータ格納後、コントローラ 10は、ステップ 17の ECC読み出し開始で当該 端数データを含む ECCブロックのデータを光ディスク 11上から読み出す処理を開始 する。 [0120] If the controller 10 determines that the address is a continuous address (if it is a continuous recording request from the immediately preceding recording request) in step 14, the controller 10 proceeds to step 19 to receive the data and store the data in the recording memory (recording data storage memory). Area) and store (store) it in the specified location. At the start of data recording, since there is no previous recording request, the controller 10 extracts the fractional data up to the ECC block boundary from the request recording data in step 15 if the address is not a continuous address in the judgment of step 14. Then, in step 16, the fraction data is transferred to the fraction memory (memory area for fraction data storage) and stored (stored) (see (a) of FIG. 4). After storing the data in the fraction data storage memory, the controller 10 starts the process of reading the data of the ECC block including the fraction data from the optical disc 11 at the start of the ECC reading in step 17.
[0121] 次に、コントローラ 10は、ステップ 18でホストコンピュータ 12が要求した記録データ のうちデータ受信していない未転送データが存在するか否かを判断し、未転送デー タが存在しない場合、ステップ 20へ進んで ECC読み出しが完了したか否かを判断す る。ここでは未転送データが存在していたと仮定し、コントローラ 10は、ステップ 18で 未転送データが存在していた場合、ステップ 19で記録メモリ(記録データ格納用メモ リ領域)へデータを転送して記憶 (格納)する。  [0121] Next, the controller 10 determines whether or not there is untransferred data for which data has not been received among the recording data requested by the host computer 12 in step 18, and if there is no untransferred data, Proceed to step 20 to determine whether ECC reading has been completed. Here, it is assumed that untransferred data exists, and if untransferred data exists in step 18, the controller 10 transfers the data to the recording memory (memory area for recording data storage) in step 19. Remember (store).
[0122] この場合、記録データ格納用メモリの開始アドレスから 1ECCブロック分後方へデ ータ格納される(図 5の(a)参照)。これは光ディスク 11から読み出したデータを、コン トローラ 10が、記録データ格納用メモリ領域の先頭から格納するためである。  In this case, data is stored one ECC block backward from the start address of the recording data storage memory (see (a) of FIG. 5). This is because the controller 10 stores the data read from the optical disk 11 from the beginning of the recording data storage memory area.
[0123] 次に、コントローラ 10は、ステップ 20で、 ECCブロック読み出しが完了したか否かを 判断する。ここでは ECCブロック読み出しを開始した直後であるため、コントローラ 10 は、ステップ 20の判断で ECC読み出し完了ではない場合、ステップ 21の処理をスキ ップしてステップ 22へ進む。 [0123] Next, in step 20, the controller 10 determines whether or not the ECC block read has been completed. to decide. Here, since the ECC block reading has just started, the controller 10 skips the processing of step 21 and proceeds to step 22 if the ECC reading is not completed in the judgment of step 20.
[0124] 次に、コントローラ 10は、ステップ 22で、記録データ格納用メモリ領域内のデータ占 有量が所定の記録開始しきい値を超えたか否力、を判断する。 Next, in step 22, the controller 10 determines whether or not the data occupation amount in the recording data storage memory area has exceeded a predetermined recording start threshold value.
[0125] 記録開始の場合、データ占有量は記録開始しきい値を超えていないため、コント口 ーラ 10は、ステップ 22の判断で記録開始しきい値を超えていない場合、ステップ 23 の処理をスキップしてステップ 24へ進む。 [0125] In the case of recording start, the data occupancy does not exceed the recording start threshold value. Skip to step 24.
[0126] 次に、コントローラ 10は、ステップ 24で、ホストコンピュータ 12に対してデータ記録 要求に対する完了を通知し、ステップ 12へ戻って再びホストコンピュータ 12からのデ ータ記録要求を待つ。 Next, in Step 24, the controller 10 notifies the host computer 12 of the completion of the data recording request, returns to Step 12, and waits for the data recording request from the host computer 12 again.
[0127] 以上が、記録開始時のデータ記録要求に対する情報記録装置における処理であ る。  [0127] The above is the processing in the information recording apparatus for the data recording request at the start of recording.
[0128] このように、この情報記録装置ではキャッシュメモリ 8を記録データ格納用メモリ領域 と端数データ格納用領域とに分割することにより、端数データを含む ECCブロックの 読み出しが完了する前に要求記録データを受信することが可能となり、記録要求に 対するパフォーマンスを向上させることが可能となる。  As described above, in this information recording device, by dividing the cache memory 8 into the recording data storage memory area and the fraction data storage area, the request recording is completed before the reading of the ECC block including the fraction data is completed. Data can be received, and performance for recording requests can be improved.
[0129] また、コントローラ 10は、さらに、引き続きホストコンピュータ 12からの記録要求を待 つ。  The controller 10 further waits for a recording request from the host computer 12.
[0130] このとき、ホストコンピュータ 12から連続的なデータ記録要求を受けた場合は、コン トローラ 10は、当該記録アドレスが ECCブロックであるか否かに関わらず、すなわち、 ステップ 13で ECCバウンダリではないと判断した場合であっても、ステップ 14で連続 アドレスと判断し、ステップ 19で記録データ格納用メモリ領域へデータを転送して記 憶 (格納)する(図 5の (b)参照)。  [0130] At this time, when a continuous data recording request is received from the host computer 12, the controller 10 determines whether or not the recording address is an ECC block, that is, in Step 13, the ECC boundary is used. Even if it is determined that there is no address, the address is determined to be a continuous address in step 14, and the data is transferred to the recording data storage memory area and stored (stored) in step 19 (see FIG. 5 (b)).
[0131] コントローラ 10は、ステップ 20の判断でデータ受信中に ECCブロック読み出しが完 了していた場合は、ステップ 21でステップ 16において端数データ格納用メモリ領域 に受信した端数データを、読み出した ECCブロックの所定位置へコピーする(図 5の (c)参照)。 [0132] また、コントローラ 10は、ステップ 22でデータ受信中に記録データ格納用メモリ領 域のデータ占有量が所定の記録開始しきい値を超えた場合は、ステップ 23でデータ 記録を開始する。 [0131] If the controller 10 determines in step 20 that the reading of the ECC block has been completed during the data reception, the controller 10 reads the fraction data received in the fraction data storage memory area in step 16 in step 21 and reads the ECC block. Copy it to a predetermined position in the block (see (c) in Fig. 5). If the data occupation amount of the recording data storage memory area exceeds a predetermined recording start threshold value during data reception in step 22, the controller 10 starts data recording in step 23.
[0133] 一方、コントローラ 10は、ステップ 12の判断においてホストコンピュータ 12からのデ ータ記録要求がなかった場合、図 8のステップ 25へ進んでホストコンピュータ 12から データ記録終了要求を受けたか否力、を判断し、データ記録終了要求を受けていない 場合、図 7のステップ 12へ戻って再びホストコンピュータ 12からのデータ記録要求を 受けたか否かを判断し、データ記録要求を待つ。  On the other hand, if there is no data recording request from the host computer 12 in the determination of step 12, the controller 10 proceeds to step 25 in FIG. 8 to determine whether or not a data recording end request has been received from the host computer 12. If a data recording end request has not been received, the process returns to step 12 in FIG. 7 to determine again whether a data recording request from the host computer 12 has been received, and waits for a data recording request.
[0134] ホストコンピュータ 12からデータ記録終了要求があった場合、コントローラ 10は、ス テツプ 26でデータ記録終了アドレスが ECCブロックの境界であるか否力、、すなわち データの書き終わりに端数データが存在するか否かを判断する。コントローラ 10は、 ステップ 26で端数データ無しと、判断したら、ステップ 38でデータ記録中か否かを判 断して、データ記録中ならステップ 35へ進み、データ記録中でなければステップ 34 へ進む。  When the data recording end request is received from the host computer 12, the controller 10 determines in step 26 whether the data recording end address is on the boundary of the ECC block, that is, the fraction data exists at the end of data writing. It is determined whether or not to do. If the controller 10 determines in step 26 that there is no fraction data, it determines in step 38 whether or not data is being recorded. If data is being recorded, the process proceeds to step 35, and if not, the process proceeds to step 34.
[0135] ここではデータの書き終わりに端数データがあると仮定する(図 6の(a)参照)。  [0135] Here, it is assumed that there is fraction data at the end of data writing (see (a) of Fig. 6).
[0136] この場合、コントローラ 10は、ステップ 26で端数データがあると判断し、ステップ 27 で当該端数データを端数データ格納メモリ領域へ退避する(図 6の (b)参照)。 In this case, the controller 10 determines in step 26 that there is fraction data, and saves the fraction data to the fraction data storage memory area in step 27 (see (b) of FIG. 6).
[0137] 次に、コントローラ 10は、ステップ 28で光ディスク 11への記録中か否かを判断し、 データ記録中の場合は、ステップ 29で前述の端数データを除き、 ECCブロックの境 界となるアドレスでデータ記録を中断するように記録中断ポイントを設定し、ステップ 3[0137] Next, the controller 10 determines whether or not the data is being recorded on the optical disk 11 in step 28. If the data is being recorded, the controller 10 removes the above-mentioned fractional data in step 29 and becomes the boundary of the ECC block. Set a recording interruption point to interrupt data recording by address, and
0でデータ記録完了か否力を判断し、データ記録完了を待つ。 If 0, it is determined whether or not the data recording is completed, and the process waits until the data recording is completed.
[0138] 一方、コントローラ 10は、ステップ 28の判断においてデータ記録中でな力、つた場合 は、ステップ 29とステップ 30との処理をスキップし、ステップ 31へ進む。 On the other hand, if the controller 10 determines in step 28 that the data is not being recorded, the controller 10 skips steps 29 and 30 and proceeds to step 31.
[0139] 次に、コントローラ 10は、ステップ 31で、当該端数データを含む ECCブロックの読 み出しを開始し、ステップ 32で ECC読み出し完了か否かを判断し、 ECC読み出し完 了を待つ(図 6の(c)参照)。 [0139] Next, in step 31, the controller 10 starts reading the ECC block including the fraction data, determines in step 32 whether or not ECC reading has been completed, and waits for ECC reading to be completed (see FIG. 6 (c)).
[0140] コントローラ 10は、ステップ 32の判断で ECCブロックの読み出しが完了した場合は[0140] When the controller 10 determines that the reading of the ECC block has been completed in step 32,
、ステップ 33でステップ 27において端数データ格納用メモリ領域へ退避した端数デ ータを、読み出した ECCブロックの所定位置へコピーし(図 6の(d)参照)、ステップ 3 4において、 ECCブロック単位で光ディスク 11への記録を開始し(図 6の(e)参照)、 ステップ 35でデータ記録完了か否かを判断して、データ記録完了を待つ。 In step 33, the fraction data saved in the fraction data storage The data is copied to a predetermined position of the read ECC block (see (d) in FIG. 6), and in step 34, recording on the optical disk 11 is started in ECC block units (see (e) in FIG. 6). In step 35, it is determined whether or not data recording is completed, and the process waits for data recording to be completed.
[0141] コントローラ 10は、ステップ 35の判断でデータ記録処理が完了したら、ステップ 36 でホストコンピュータ 12からのデータ記録終了要求に対する完了を通知し、ステップ 37でステップ 11において分割したメモリ領域を復帰させて(元の状態に戻して)、こ の処理を終了する。 [0141] When the data recording process is completed in the judgment of step 35, the controller 10 notifies the completion of the data recording end request from the host computer 12 in step 36, and restores the memory area divided in step 11 in step 37. (Return to the original state) to end this processing.
[0142] 図 9及び図 10は、図 1に示したコントローラ 10によるべリファイ処理及び交替処理を 伴うデータ記録を行う場合のメモリ分割とデータ格納の例を示す説明図である。  FIGS. 9 and 10 are explanatory diagrams showing an example of memory division and data storage when data recording is performed by the controller 10 shown in FIG. 1 with a verifying process and a replacement process.
[0143] ここでは CD—MRWディスクへの記録を例に取り、セクタ単位で交替を行う場合に ついて説明する。  [0143] Here, taking a recording on a CD-MRW disc as an example, a case where replacement is performed in sector units will be described.
[0144] なお、 CD—MRWディスクではユーザからセクタ単位でランダムに記録が可能であ るため、端数データ格納用メモリ領域を確保しているが、説明を簡素化するためにこ こではパケット単位で連続的に記録を行うものとする。  [0144] Note that a CD-MRW disk has a memory area for storing fractional data, which can be randomly recorded by the user in units of sectors. However, in order to simplify the description, here, in units of packets, To record continuously.
[0145] 図 9の(a)— (e)はべリファイを伴うデータ記録におけるメモリ分割とデータ格納のフ ォーマットとを示す図である。  FIGS. 9A to 9E are diagrams showing memory division and data storage format in data recording involving verification.
[0146] コントローラ 10は、キャッシュメモリ 8の全メモリ領域(メモリアドレス M0力 Ml)を記 録データ格納用メモリ領域 (メモリアドレス M0から M3) 20とべリファイ用メモリ領域 (メ モリアドレス M3から M2) 22と端数データ格納用メモリ領域 (メモリアドレス M2から M 1) 21とに分割する。  [0146] The controller 10 stores the entire memory area (memory address M0 Ml) of the cache memory 8 in the memory area for recording data (memory addresses M0 to M3) 20 and the memory area for verification (memory addresses M3 to M2). 22 and a memory area for storing fraction data (memory addresses M2 to M1) 21.
[0147] また、コントローラ 10は、ホストコンピュータ 12からパケット単位で連続的にデータ記 録要求を受けた場合は、記録データ格納用メモリ領域 20へデータを記憶 (格納)す る(図 9の(a)参照)。さらに、コントローラ 10は、記録データ格納用メモリ領域 20内の データ占有量が所定の記録開始しきレ、値 (本例では記録データ格納用メモリ領域の サイズとする)以上となる場合、当該記録データを光ディスク 11へ記録する(図 9の(b )参照)。  When the controller 10 continuously receives a data recording request in packet units from the host computer 12, the controller 10 stores (stores) data in the recording data storage memory area 20 (see FIG. a)). Further, when the data occupancy in the recording data storage memory area 20 is equal to or larger than a predetermined recording start threshold value (in this example, the size of the recording data storage memory area), the controller 10 Is recorded on the optical disk 11 (see (b) of FIG. 9).
[0148] なお、コントローラ 10は、データ受信からデータ記録までは、記録データ格納用メ モリ領域 20、すなわちメモリアドレス M0力、ら M3をリングバッファリング方式で使用し、 リング開始ポインタ(RSO)及びリング終了ポインタ(RE0)をそれぞれメモリアドレス M 0及び M3に設定する。コントローラ 10は、記録データ格納用メモリ領域 20に格納し たデータの記録が完了した場合、当該記録領域のベリファイを行う。 [0148] Note that the controller 10 uses the recording data storage memory area 20, that is, the memory addresses M0, M3, and so on, in a ring buffering manner from the data reception to the data recording, A ring start pointer (RSO) and a ring end pointer (RE0) are set to memory addresses M0 and M3, respectively. When the recording of the data stored in the recording data storage memory area 20 is completed, the controller 10 verifies the recording area.
[0149] ここで、コントローラ 10は、ベリファイ処理を再生処理と同様に、再生したデータをべ リファイ用メモリ領域 22内に格納してエラー検出,エラー訂正などを行レ、、正常に記 録されているか否かの判定 (欠陥検出)を行う。  [0149] Here, the controller 10 stores the reproduced data in the verification memory area 22 in the same manner as the reproduction processing, performs error detection and error correction, and performs normal recording. Is determined (defect detection).
[0150] このとき、コントローラ 10は、ベリファイ用メモリ領域 22、すなわちメモリアドレス M3 力、ら M2の領域はリングバッファリング方式で使用し、リング開始ポインタ (RS1)及び リング終了ポインタ(RE2)をそれぞれメモリアドレス M3及び M2に設定する。ベリファ ィ用メモリ領域 22に格納されたデータは欠陥が検出されない限り、コントローラ 10が 、次の領域のベリファイデータによって上書きしていく(図 9の(c)参照)。  [0150] At this time, the controller 10 uses the memory area 22 for verification, that is, the area of the memory address M3 and the area of M2 in a ring buffering scheme, and stores the ring start pointer (RS1) and the ring end pointer (RE2) respectively. Set to memory addresses M3 and M2. Unless a defect is detected, the controller 10 overwrites the data stored in the verifying memory area 22 with the verify data in the next area (see FIG. 9C).
[0151] コントローラ 10は、記録した全データのベリファイが完了し、正常に記録されている ことが確認された場合は、記録データ格納用メモリ領域 20に保持しておいたデータ は不要となるため、記録データ格納用メモリ領域 20を開放して、引き続きホストコンビ ユータ 12から次の記録データを受信してデータを格納していく(図 9の(d)参照)。  [0151] When the verification of all the recorded data is completed and it is confirmed that the data has been recorded normally, the controller 10 does not need the data stored in the recording data storage memory area 20. Then, the recording data storage memory area 20 is released, and the next recording data is continuously received from the host computer 12 to store the data (see FIG. 9 (d)).
[0152] なお、ベリファイ処理において正常に記録されていることが確認されたデータにつ いては記録データ格納用メモリ領域 20に保持しておく必要はなぐコントローラ 10は 、ベリファイ済みデータから順に記録データ格納用メモリ領域 20を開放して、ホストコ ンピュータ 12からの記録データを格納しても良レ、(図 9の(e)参照)。  [0152] Note that it is not necessary to hold the data confirmed to be normally recorded in the verification process in the recording data storage memory area 20. The controller 10 records the recording data in order from the verified data. It is acceptable to open the storage memory area 20 and store the recording data from the host computer 12 (see (e) of FIG. 9).
[0153] 図 10の(a)— (e)は交替処理におけるメモリ使用例のフォーマットを示す図である。  [0153] FIGS. 10A to 10E are diagrams showing a format of a memory use example in the replacement process.
[0154] CD—MRWディスクではセクタ単位で交替を行うため、交替処理においてもリード モディファイライトを行う必要がある。  [0154] Since a CD-MRW disc performs replacement in units of sectors, it is necessary to perform read-modify-write even in the replacement process.
[0155] ただし、ベリファイで格納したデータを交替処理中も保持しておぐあるいは、交替 処理で格納したデータをべリファイ中も保持しておくといった必要はないため、コント ローラ 10は、交替先データ格納用メモリをべリファイ用メモリ領域 22で代用することが 可能である。  [0155] However, since it is not necessary to retain the data stored in the verification during the replacement process, or to retain the data stored in the replacement process during the verification, the controller 10 sets the replacement destination The data storage memory can be substituted by the verification memory area 22.
[0156] すなわち、コントローラ 10は、キャッシュメモリ 8のメモリアドレス M3から M2を交替先 データ格納用メモリ領域 22として使用する。 [0157] ここで、ベリファイ処理において記録領域のうちの 1セクタが欠陥と判定された場合( 図 10の(a)参照)、コントローラ 10は、当該欠陥領域へ記録したデータを所定の交替 領域へ再度記録する必要がある。 That is, the controller 10 uses the memory addresses M3 to M2 of the cache memory 8 as the replacement destination data storage memory area 22. [0157] Here, when one sector of the recording area is determined to be defective in the verification processing (see (a) of FIG. 10), the controller 10 transfers the data recorded in the defective area to a predetermined replacement area. It is necessary to record again.
[0158] コントローラ 10は、まず所定の交替先パケットのデータを読み出して交替先データ 格納用メモリ領域 22へ格納する(図 10の(b)参照)。 The controller 10 first reads out data of a predetermined replacement destination packet and stores it in the replacement destination data storage memory area 22 (see (b) of FIG. 10).
[0159] 次に、コントローラ 10は、欠陥領域へ記録したデータを交替先パケットの所定位置 へコピーし(図 10の(c)参照)、パケット単位で交替先パケットへ記録する(図 10の(dNext, the controller 10 copies the data recorded in the defective area to a predetermined position of the replacement packet (see (c) of FIG. 10), and records the data on a packet-by-packet basis in the replacement packet (( d
)参照)。 )reference).
[0160] そして、コントローラ 10は、交替処理が完了した場合は、残りの記録データのベリフ アイを再開する(図 10の(e)参照)。  Then, when the replacement process is completed, the controller 10 restarts the verification of the remaining recording data (see (e) of FIG. 10).
[0161] なお、 DVD + MRWディスクでは ECCブロック単位で交替を行うため、コントローラ[0161] Since DVD + MRW discs are replaced in units of ECC blocks, the controller
10は、交替先となる ECCブロックのデータを読み出す必要はない。 10 does not need to read the data of the replacement ECC block.
[0162] したがって、コントローラ 10は、記録データ格納用メモリ領域 20内のデータを直接 交替先 ECCブロックへ記録してょレヽ。 [0162] Therefore, the controller 10 records the data in the recording data storage memory area 20 directly to the replacement ECC block.
[0163] 図 11及び図 12は、コントローラ 10による CD—MRWディスクへのデータ記録動作 を示すフローチャート図である。 FIG. 11 and FIG. 12 are flowcharts showing the operation of the controller 10 for recording data on a CD-MRW disk.
[0164] なお、 CD— MRWディスクではホストコンピュータ 12からセクタ単位でランダムに記 録が可能であるが、説明を簡素化するため、ここではパケット単位で連続的に記録を 行うものとする。  [0164] In the case of a CD-MRW disc, recording can be performed at random from the host computer 12 in sector units. However, in order to simplify the description, it is assumed that recording is continuously performed in packet units.
[0165] コントローラ 10は、図 11に示すように、データ記録処理を開始すると、ステップ(図 中「S」で示す) 41でキャッシュメモリのメモリの分割処理を行う。  As shown in FIG. 11, when the data recording process is started, the controller 10 divides the cache memory in step (indicated by “S” in the figure) 41 as shown in FIG.
[0166] このメモリ分割処理では、図 2に基づいて示した処理でキャッシュメモリ 8のメモリ分 割を行い、その結果、キャッシュメモリ 8の記憶領域を、図 3の(c)に示すように記録デ ータ格納用メモリ領域 20とべリファイ用メモリ領域 (交替先データ (パケット)格納用メ モリ領域) 22と端数データ格納用メモリ領域 21とに分割する。  In this memory division processing, the memory division of the cache memory 8 is performed by the processing shown based on FIG. 2, and as a result, the storage area of the cache memory 8 is recorded as shown in FIG. It is divided into a data storage memory area 20, a verification memory area (replacement destination data (packet) storage memory area) 22, and a fraction data storage memory area 21.
[0167] 本実施例では次に、記録データ格納用メモリ領域 20をリングバッファリング方式で 使用するために、コントローラ 10は、ステップ 42の記録用リング設定処理で、リング開 始ポインタ(RS0)及びリング終了ポインタ(RE0)にそれぞれメモリアドレス M0及び M3を設定し、ステップ 43でホストコンピュータ 12からデータ記録要求があるか否か を判断する。 Next, in the present embodiment, in order to use the recording data storage memory area 20 in the ring buffering method, the controller 10 performs the ring start pointer (RS0) and the ring start pointer (RS0) in the recording ring setting process in step 42. The memory addresses M0 and M0 are assigned to the ring end pointer (RE0), respectively. M3 is set, and in step 43, it is determined whether or not there is a data recording request from the host computer 12.
[0168] ここでは記録を要求されているため、コントローラ 10は、ステップ 43でデータ記録要 求有りと判断し、ステップ 44で要求データを受信して記録メモリ(記録データ格納用メ モリ領域)へ転送して記憶 (格納)する(図 9の(a)参照)。  [0168] Since recording is requested here, the controller 10 determines in step 43 that there is a data recording request, receives the requested data in step 44, and sends it to the recording memory (recording data storage memory area). Transfer and store (store) (see (a) in Fig. 9).
[0169] 次に、コントローラ 10は、ステップ 45で、記録を開始するか否かの条件を満たして レ、るか否力 ^判断する。 [0169] Next, in step 45, the controller 10 determines whether or not the condition for starting recording is satisfied.
[0170] 記録を開始するか否かの条件としては、記録データ格納用メモリ領域 20のデータ 占有量が所定の記録開始しきい値を超えたか否力、、あるいはホストコンピュータ 12か らデータ記録完了要求があるかなどがある。 [0170] Conditions for determining whether or not to start recording include whether or not the amount of data occupied in the recording data storage memory area 20 has exceeded a predetermined recording start threshold, or whether or not data recording has been completed from the host computer 12. Whether there is a request.
[0171] コントローラ 10は、ステップ 45の判断で記録開始条件を満たしていない場合、ステ ップ 43へ戻って再びホストコンピュータ 12からのデータ記録要求有りか否かを判断し[0171] If the recording start condition is not satisfied in the determination in step 45, the controller 10 returns to step 43 and determines again whether there is a data recording request from the host computer 12.
、データ記録要求を待つ。 Wait for a data recording request.
[0172] 一方、コントローラ 10は、ステップ 45の判断で記録開始条件を満たしていた場合、 ステップ 46で記録データ格納用メモリ領域へ格納したデータを光ディスク 11へ記録 開始し、ステップ 47で記録完了か否力を判断し、記録の完了を待つ(図 9の(b)参照[0172] On the other hand, if the recording start condition is satisfied in the determination of step 45, the controller 10 starts recording the data stored in the recording data storage memory area on the optical disk 11 in step 46, and determines whether the recording is completed in step 47. Judgment of inability and wait for completion of recording (see (b) in Fig. 9)
) 0 ) 0
[0173] コントローラ 10は、ステップ 47の判断で記録が完了した場合、ベリファイ処理へ移 行する。  [0173] When the recording is completed in the determination of step 47, the controller 10 proceeds to the verification process.
[0174] ここではまず、コントローラ 10は、ステップ 48で、ベリファイ用メモリ領域をリングバッ ファリング方式で使用するために、ベリファイ用リング設定処理で、リング開始ポインタ (RS1)及びリング終了ポインタ(RE1)にそれぞれメモリアドレス M3及び M2を設定 する。  Here, first, in step 48, the controller 10 uses the ring start pointer (RS1) and the ring end pointer (RE1) in the verification ring setting process in order to use the memory area for verification in the ring buffering method. Set memory addresses M3 and M2 respectively.
[0175] 次に、コントローラ 10は、ステップ 49で当該記録領域のベリファイを開始し、ステツ プ 50でべリファイエラーか否かを判断し、ベリファイエラーなら、図 12のステップ 54へ 進み、ベリファイエラーでなければ、ステップ 51でべリファイ完了か否かを判断し、ベ リファイ完了でなければステップ 50へ戻り、ベリファイ完了ならステップ 52へ進む。  [0175] Next, the controller 10 starts verifying the recording area in step 49, and determines whether or not a verify error has occurred in step 50. If the verify error has occurred, the controller 10 proceeds to step 54 in FIG. If not, it is determined in step 51 whether or not the verification has been completed. If the verification has not been completed, the process returns to step 50. If the verification has been completed, the process proceeds to step 52.
[0176] すなわち、コントローラ 10は、ステップ 50とステップ 51とで記録領域内の欠陥検出 を行いながら、ベリファイ処理の完了を待つ。 [0176] That is, in steps 50 and 51, the controller 10 detects a defect in the recording area. And wait for the completion of the verification process.
[0177] なお、ベリファイ用メモリ領域 22に格納されたデータは、欠陥が検出されない限り、 コントローラ 10が、次の領域のベリファイデータによって上書きしていく(図 9の(c)参 照)。  The data stored in the verifying memory area 22 is overwritten by the verifying data in the next area by the controller 10 unless a defect is detected (see (c) of FIG. 9).
[0178] コントローラ 10は、ステップ 51の判断でベリファイ処理が完了し、データが正常に記 録されていることが確認された場合は、ステップ 52でホストコンピュータ 12から記録 終了要求を受けているか否力、を判断し、記録終了要求を受けていなければ、ステツ プ 42へ戻って再びデータ記録用のリング開始ポインタ、リング終了ポインタを設定し 、ホストコンピュータ 12からのデータを受信する(図 4の(d)参照)。  [0178] The controller 10 completes the verification process in the judgment of Step 51, and when it is confirmed that the data is normally recorded, determines whether or not a recording end request has been received from the host computer 12 in Step 52. If the recording end request has not been received, the flow returns to step 42 to set the ring start pointer and the ring end pointer for data recording again, and receive the data from the host computer 12 (see FIG. 4). (See (d)).
[0179] 一方、コントローラ 10は、ステップ 52の判断で記録終了要求を受けていた場合、ス テツプ 53でステップ 41において分割したメモリ領域を復帰させて(元の状態に戻して )、この処理を終了する。  [0179] On the other hand, when the controller 10 has received the recording end request in the determination of step 52, the controller 10 restores the memory area divided in step 41 in step 53 (returns to the original state), and executes this processing. finish.
[0180] ところで、コントローラ 10は、ステップ 50の判断において記録領域内に欠陥が検出 された場合は交替処理へ移行する。ここではまず、コントローラ 10は、図 12のステツ プ 54で欠陥と判定されたセクタを抽出する(図 10の(a)参照)。  [0180] By the way, when a defect is detected in the recording area in the judgment of step 50, the controller 10 shifts to a replacement process. Here, first, the controller 10 extracts the sector determined to be defective in step 54 of FIG. 12 (see (a) of FIG. 10).
[0181] 次に、コントローラ 10は、ステップ 55で所定の交替領域のうち、交替が可能な領域 の交替先アドレスを取得し、ステップ 56でその交替先領域を含む交替先パケットのデ ータを読み出して、交替先データ格納用メモリ領域へ記憶 (格納)する(図 10の(b) 参照)。  [0181] Next, the controller 10 obtains the replacement destination address of the replaceable area in the predetermined replacement area in step 55, and in step 56, replaces the data of the replacement destination packet including the replacement destination area. It is read and stored (stored) in the replacement destination data storage memory area (see (b) of FIG. 10).
[0182] コントローラ 10は、ステップ 57で読み出し完了か否かを判断して、読み出し完了ま で、読み出しと交替先データ格納用メモリ領域への記憶とを繰り返す。  [0182] The controller 10 determines whether or not the reading is completed in Step 57, and repeats the reading and the storage in the replacement destination data storage memory area until the reading is completed.
[0183] コントローラ 10は、ステップ 57の判断で交替先パケットの読み出しが完了した場合 、ステップ 58で欠陥領域へ記録した交替データを交替先データ格納用メモリ領域内 の所定位置へコピーし(図 10の(c)参照)、ステップ 59で交替先パケットへパケット単 位でデータ記録を開始し、ステップ 60でデータ記録完了か否かを判断して、完了で なければ完了を待つ(図 10の(d)参照)。  [0183] When the reading of the replacement destination packet is completed in the determination of step 57, the controller 10 copies the replacement data recorded in the defective area in step 58 to a predetermined position in the replacement destination data storage memory area (Fig. 10). (See (c) of FIG. 10). In step 59, data recording is started for the replacement destination packet in packet units. In step 60, it is determined whether or not data recording is completed. d)).
[0184] 以上の交替処理を完了し、コントローラ 10は、ステップ 60でデータ記録完了と判断 した場合、ステップ 61でデータ記録領域のベリファイを再開し、図 11のステップ 51へ 戻って欠陥検出処理を続ける。 [0184] When the above-described replacement process is completed and the controller 10 determines that the data recording is completed in step 60, the controller 10 restarts verifying the data recording area in step 61, and proceeds to step 51 in FIG. Return to continue the defect detection process.
[0185] なお、コントローラ 10は、交替先パケットへ記録したデータが正常に記録されている か否かを確認する場合はべリファイ用メモリ領域を使用してベリファイを行っても良い  [0185] The controller 10 may perform verification using the verification memory area when confirming whether the data recorded in the replacement destination packet is normally recorded.
[0186] 図 13及び図 14は、 DVD + RWディスクにおいてタイムシフト再生を行う場合のメモ リ分割とデータ格納の例を示す説明図である。 FIG. 13 and FIG. 14 are explanatory diagrams showing examples of memory division and data storage when performing time-shift reproduction on a DVD + RW disc.
[0187] 図 13の(a)— (d)は再生データ格納用メモリを持たない従来装置でのタイムシフト 再生におけるデータ格納のフォーマットを示す図である。 [0187] FIGS. 13 (a) to 13 (d) are diagrams showing a data storage format in time shift reproduction in a conventional apparatus having no reproduction data storage memory.
[0188] まず、ホストコンピュータからデータ記録要求を受けた場合、記録データ格納用メモ リ領域へデータを格納し、ホストコンピュータに対して処理完了を通知する(図 13の( a)参照)。この段階では記録データ格納用メモリ領域内のデータ占有量は所定の記 録開始しきレ、値を超えてレ、なレ、ため、光ディスク 11への記録を開始してレ、なレ、。 First, when a data recording request is received from the host computer, the data is stored in the recording data storage memory area, and the host computer is notified of the completion of the process (see FIG. 13A). At this stage, the amount of data occupied in the recording data storage memory area exceeds a predetermined recording start value, exceeds a predetermined value, and therefore, starts recording on the optical disk 11, and then returns.
[0189] 次に、ホストコンピュータからデータ再生要求を受けた場合は記録処理を完了させ るため、記録データ格納用メモリ領域内の記憶 (格納)されたデータを光ディスク 11 へ記録した後に(図 13の(b)参照)、要求されたデータを再生し、記録データ格納用 メモリ領域へ記憶 (格納)する(図 13の(c)参照)。 Next, when a data reproduction request is received from the host computer, the data stored (stored) in the recording data storage memory area is recorded on the optical disc 11 in order to complete the recording process (FIG. 13). (B)), and reproduces the requested data and stores (stores) it in the recording data storage memory area (see (c) in FIG. 13).
[0190] タイムシフト再生ではホストコンピュータから記録と再生が交互に要求され、再びホ ストコンピュータから記録要求を受けると記録データ格納用メモリ領域へデータを格 納し、ホストコンピュータに対して処理完了を通知する(図 13の(d)参照)。 [0190] In time-shift reproduction, recording and reproduction are alternately requested from the host computer. When a recording request is received again from the host computer, the data is stored in the recording data storage memory area, and the host computer is informed that processing is completed. Notify (see Fig. 13 (d)).
[0191] このように、従来装置におけるタイムシフト再生ではホストコンピュータからの記録、 再生要求が切り替わるたびに記録処理が中断されてシークが発生してしまう。 [0191] As described above, in the time shift reproduction in the conventional apparatus, the recording process is interrupted every time the recording and reproduction requests from the host computer are switched, and a seek occurs.
[0192] つまり、タイムシフト再生ではメモリサイズによらず頻繁に記録の中断が発生すること になり、シークエラー等によるリトライ処理に時間力 Sかかるという不具合が発生しやす くなる。 In other words, in time-shift reproduction, recording is frequently interrupted regardless of the memory size, and a trouble that a retry process due to a seek error or the like takes time S is likely to occur.
[0193] 一方、図 14の(a) (d)は、コントローラ 10によるタイムシフト再生におけるデータ 格納のフォーマットを示す図である。  [0193] On the other hand, (a) and (d) of Fig. 14 are diagrams showing the format of data storage in time shift reproduction by the controller 10.
[0194] ここでは、コントローラ 10は、図 3の(d)に示すように、キャッシュメモリ 8の全メモリ領 域 (メモリアドレス M0から Ml)を記録データ格納用メモリ領域(メモリアドレス M0から M4) 20と再生データ格納用メモリ領域 (メモリアドレス M4から Ml) 23とに分割する。 [0194] Here, as shown in (d) of Fig. 3, the controller 10 transfers the entire memory area (memory addresses M0 to Ml) of the cache memory 8 to the recording data storage memory area (memory addresses M0 to Ml). (M4) 20 and a memory area for storing reproduction data (memory addresses M4 to Ml) 23.
[0195] なお、 DVD + RWディスクではホストコンピュータ 12からセクタ単位でランダムに記 録が可能であるため、端数データ格納用メモリ領域 21を確保しているが、説明を簡 素化するため、ここでは ECCブロック単位で連続的に記録を行うものとする。 [0195] In the case of a DVD + RW disc, a memory area 21 for storing fractional data is secured because the host computer 12 can record data randomly on a sector-by-sector basis. It is assumed that recording is performed continuously in ECC block units.
[0196] コントローラ 10は、ホストコンピュータ 12からデータ記録要求を受けた場合、記録デ ータ格納用メモリ領域 20へデータを格納し、ホストコンピュータ 12に対して処理完了 を通知する(図 14の(a)参照)。この段階では記録データ格納用メモリ領域 20内のデ ータ占有量は所定の記録開始しきい値を超えていないため、コントローラ 10は、光デ イスク 11への記録は開始していない。 When receiving a data recording request from the host computer 12, the controller 10 stores the data in the recording data storage memory area 20, and notifies the host computer 12 of the completion of the processing (( a)). At this stage, since the data occupancy in the recording data storage memory area 20 has not exceeded the predetermined recording start threshold, the controller 10 has not started recording on the optical disk 11.
[0197] なお、コントローラ 10は、データ受信からデータ記録までは、記録データ格納用メ モリ領域 20、すなわちメモリアドレス M0力、ら M4をリングバッファリング方式で使用し、 リング開始ポインタ(RS0)及びリング終了ポインタ(RE0)をそれぞれメモリアドレス M 0及び M4に設定する。 [0197] Note that the controller 10 uses the memory area 20 for storing recording data, that is, the memory address M0, M4, etc., in a ring buffering scheme from the data reception to the data recording, and uses the ring start pointer (RS0) and the ring start pointer. The ring end pointer (RE0) is set to memory addresses M0 and M4, respectively.
[0198] 次に、コントローラ 10は、ホストコンピュータ 12からデータ再生要求を受けた場合は Next, when the controller 10 receives a data reproduction request from the host computer 12,
、データ記録に先立って、要求されたデータを光ディスク 11から読み出して再生デ ータ格納用メモリ領域 23に格納する(図 14の(b)参照)。 Prior to the data recording, the requested data is read from the optical disk 11 and stored in the reproduction data storage memory area 23 (see FIG. 14 (b)).
[0199] このとき、コントローラ 10は、再生データ格納用メモリ領域 23をリングバッファリング 方式で使用するために、リング開始ポインタ(RS1)及びリング終了ポインタ(RE1)に それぞれメモリアドレス M4及び M2を設定する。 [0199] At this time, the controller 10 sets the memory addresses M4 and M2 in the ring start pointer (RS1) and the ring end pointer (RE1), respectively, in order to use the memory area 23 for storing reproduction data in the ring buffering method. I do.
[0200] 次に、コントローラ 10は、ホストコンピュータ 12から先ほどの記録データと連続する 記録要求とを受けた場合は、再びデータ記録用のリングポインタを設定し、記録デー タ格納用メモリ領域 20内に続けてデータを格納する(図 14の(c)参照)。 [0200] Next, when the controller 10 receives the previous recording data and a continuous recording request from the host computer 12, the controller 10 sets a data recording ring pointer again and sets the recording data storage memory area 20 in the recording data storage memory area 20. Then, the data is stored (see (c) of FIG. 14).
[0201] このように、ホストコンピュータ 12から連続的な記録と再生の要求とを交互に要求さ れた場合は、コントローラ 10は、記録データ格納用メモリ領域 20へのデータ格納と光 ディスク 11からのデータ再生とを繰り返す。 [0201] As described above, when a continuous recording and reproduction request is alternately requested from the host computer 12, the controller 10 stores data in the recording data storage memory area 20 and transmits data from the optical disk 11 to the recording data storage memory area 20. Is repeated.
[0202] また、コントローラ 10は、記録データ格納用メモリ領域 20内のデータ占有量が所定 の記録開始しきレ、値を超えた場合は記録を開始する(図 14の(d)参照)。 [0202] The controller 10 starts recording when the data occupation amount in the recording data storage memory area 20 exceeds a predetermined recording start threshold or value (see (d) in FIG. 14).
[0203] 以上に述べたように、コントローラ 10が、記録データと再生データとをそれぞれ記録 データ格納用メモリ領域と再生データ格納用メモリ領域とに格納することにより、再生 要求のたびにメモリ内に存在するデータを記録してしまう必要がなくなる。 [0203] As described above, the controller 10 records the recording data and the reproduction data, respectively. By storing the data in the data storage memory area and the reproduction data storage memory area, it is not necessary to record the data existing in the memory every time a reproduction request is made.
[0204] したがって、コントローラ 10は、タイムシフト再生において一定量の記録データが格 納されてからデータ記録を開始することができ、安定したデータ記録を行うことが可能 となる。  [0204] Therefore, the controller 10 can start data recording after a fixed amount of recording data is stored in the time-shift reproduction, and can perform stable data recording.
[0205] 図 15及び図 16は、コントローラ 10によるタイムシフト再生動作を示すフローチャート 図である。  FIG. 15 and FIG. 16 are flowcharts showing the time shift reproduction operation by the controller 10.
[0206] 本実施例では DVD + RWディスクを対象とする。 DVD + RWディスクではホストコ ンピュータ 12からセクタ単位でランダムに記録が可能である力 S、説明を簡素化するた め、ここでは ECCブロック単位で連続的に記録を行レ、、記録途中で再生動作を行う ものとする。  In this embodiment, a DVD + RW disc is targeted. For DVD + RW discs, the ability to record randomly from the host computer 12 in units of sectors S. To simplify the explanation, here, recording is performed continuously in units of ECC blocks, and playback is performed during recording. Shall be performed.
[0207] コントローラ 10は、図 15に示すように、データ記録処理を開始すると、ステップ(図 中「S」で示す) 71でキャッシュメモリのメモリの分割処理を行う。  As shown in FIG. 15, when the data recording process is started, the controller 10 divides the cache memory in step (indicated by “S” in the figure) 71, as shown in FIG.
[0208] このメモリ分割処理では、コントローラ 10は、図 2に基づいて示した処理でキヤッシ ュメモリ 8のメモリ分割を行レ、、その結果、キャッシュメモリ 8の記憶領域を、図 3の(d) に示すように記録データ格納用メモリ領域 20と再生データ格納用メモリ領域 23と端 数データ格納用メモリ領域 21とに分割する。  In this memory division processing, the controller 10 performs the memory division of the cache memory 8 by the processing shown based on FIG. 2, and as a result, the storage area of the cache memory 8 is changed to (d) of FIG. As shown in the figure, the recording data storage memory area 20, the reproduction data storage memory area 23, and the fraction data storage memory area 21 are divided.
[0209] 本実施例では次に、記録データ格納用メモリをリングバッファリング方式で使用する ために、コントローラ 10は、ステップ 72の記録用リング設定処理でリング開始ポインタ (RS0)及びリング終了ポインタ(RE0)にそれぞれメモリアドレス M0及び M4を設定し 、ステップ 73でホストコンピュータ 12からデータ記録要求があるか否かを判断する。  Next, in this embodiment, in order to use the recording data storage memory in the ring buffering method, the controller 10 performs the ring start pointer (RS0) and the ring end pointer (RS0) in the recording ring setting process in step 72. RE0) is set with memory addresses M0 and M4, respectively, and it is determined in step 73 whether or not there is a data recording request from the host computer 12.
[0210] ここでは記録を要求されているため、コントローラ 10は、ステップ 73でデータ記録要 求有りと判断し、ステップ 74で要求データを受信して記録メモリ(記録データ格納用メ モリ領域)へ転送して記憶 (格納)する(図 14の(a)参照)。  [0210] Since recording is requested here, the controller 10 determines in step 73 that there is a data recording request, receives the requested data in step 74, and sends it to the recording memory (recording data storage memory area). It is transferred and stored (stored) (see (a) in Fig. 14).
[0211] 次に、コントローラ 10は、ステップ 75で現在光ディスク 11への記録中か否かを判断 し、データ記録中の場合は、ステップ 73へ戻って再びホストコンピュータ 12からのデ ータ記録要求があるか否かの判断を行う。ここでは記録開始前であるため、コント口 ーラ 10は、ステップ 75でデータ記録中では無いと判断しステップ 76で次に記録開 始の条件を満たしてレ、るか否かの判断を行う。 [0211] Next, in step 75, the controller 10 determines whether or not recording is currently being performed on the optical disc 11, and if data is being recorded, the process returns to step 73 to request a data recording again from the host computer 12. It is determined whether or not there is. Since recording is not started here, the controller 10 determines in step 75 that data is not being recorded, and in step 76, starts recording next. It is determined whether or not the first condition is satisfied.
[0212] 記録開始の条件としては、記録データ格納用メモリ領域 20のデータ占有量が所定 の記録開始しきい値を超えたか否力、あるいはホストコンピュータ 12から記録完了要 求があるかなどがある。  [0212] Conditions for recording start include whether or not the data occupation amount of the recording data storage memory area 20 exceeds a predetermined recording start threshold value, and whether or not there is a recording completion request from the host computer 12. .
[0213] コントローラ 10は、ステップ 76の判断で記録開始条件を満たしていない場合、ステ ップ 73へ戻って再びホストコンピュータ 12からの記録要求があるか否かの判断を行う  [0213] If the recording start condition is not satisfied in the judgment in step 76, the controller 10 returns to step 73 and judges again whether or not there is a recording request from the host computer 12.
[0214] 一方、コントローラ 10は、ステップ 73の判断においてホストコンピュータ 12からのデ ータ記録要求がなかった場合は、図 16のステップ 84へ進んで再生要求があるか否 力、を判断し、再生要求があった場合、ステップ 85で現在光ディスク 11への記録中か 否力、を判断し、記録中の場合は、ステップ 86でデータ記録完了か否かを判断して、 データ記録完了を待ち、ステップ 86でデータ記録完了と判断したら再生処理へ移行 する。 [0214] On the other hand, if there is no data recording request from the host computer 12 in the determination of step 73, the controller 10 proceeds to step 84 of Fig. 16 and determines whether or not there is a playback request. If there is a reproduction request, it is determined in step 85 whether or not recording is currently being performed on the optical disk 11.If recording is in progress, it is determined in step 86 whether or not data recording has been completed. If it is determined in step 86 that the data recording is completed, the flow shifts to the reproducing process.
[0215] 一方、コントローラ 10は、ステップ 85の判断でデータ記録中ではなレ、(光ディスク 1 1への記録前の待機状態である)場合は、記録データ格納用メモリ領域内に書き込 み前のデータが存在した場合も、当該データの記録に先立って再生処理へ移行す る。  [0215] On the other hand, if the data is not being recorded according to the determination in step 85, or if the data is in a standby state before recording on the optical disc 11, the controller 10 writes the data into the recording data storage memory area. If the data exists, the process proceeds to the reproduction process before recording the data.
[0216] ここでは、まず、コントローラ 10は、ステップ 87で要求再生アドレスのデータが記録 メモリ(記録データ格納用メモリ領域)内に存在するか否かを判断し、記録データ格納 用メモリ領域内に存在しない場合、ステップ 88の再生用リング設定処理で再生デー タ格納用メモリ領域をリングバッファリング方式で使用するために、リング開始ポインタ (RS1)及びリング終了ポインタ(RE1)にそれぞれメモリアドレス M4及び M2を設定し 、ステップ 89で指定アドレスの再生を開始する(図 14の(b)参照)。  [0216] Here, first, in step 87, the controller 10 determines whether or not the data of the requested reproduction address exists in the recording memory (memory area for storing recording data). If it does not exist, the ring start pointer (RS1) and the ring end pointer (RE1) have memory addresses M4 and M4, respectively, in order to use the memory area for storing playback data in the ring buffering method in the playback ring setting process in step 88. M2 is set, and reproduction of the designated address is started in step 89 (see FIG. 14 (b)).
[0217] 次に、コントローラ 10は、ステップ 90で要求されたデータがキャッシュされたか否力 を判断して、要求されたデータが再生データ格納用メモリ領域に記憶 (格納)される のを待ち、格納されれば、ステップ 91でホストコンピュータ 12が要求したデータを転 送して記憶 (格納)する。  [0217] Next, the controller 10 determines whether or not the requested data has been cached in step 90, and waits for the requested data to be stored (stored) in the reproduction data storage memory area. If stored, the data requested by the host computer 12 is transferred and stored (stored) in step 91.
[0218] なお、コントローラ 10は、ホストコンピュータ 12が要求したデータを転送した後は、 再生データ格納メモリ領域内の当該データは不要になるため、先読みによって読み 出されたデータで上書きしていく。 [0218] After transferring the data requested by the host computer 12, the controller 10 Since the data in the reproduction data storage memory area becomes unnecessary, it is overwritten with the data read by the pre-reading.
[0219] 次に、コントローラ 10は、ステップ 92で、引き続きホストコンピュータ 12からのデータ 再生要求が終了か否かを判断し、データ再生要求が終了でなければ、ステップ 90へ 戻ってキャッシュされたと判断するまで待ち(先読みによって要求データが再生デー タ格納用メモリ領域に読み出されるのを待ち)、ステップ 91で当該データを転送して 記憶 (格納)する。  [0219] Next, in step 92, the controller 10 continuously determines whether or not the data reproduction request from the host computer 12 has been completed. If the data reproduction request has not been completed, the controller 10 returns to step 90 and determines that the data has been cached. (Wait until the requested data is read out to the reproduction data storage memory area by pre-reading), and in step 91, the data is transferred and stored (stored).
[0220] 一方、コントローラ 10は、ステップ 92でホストコンピュータ 12からのデータ再生要求 が終了であると判断したら、図 15のステップ 72へ戻って再び記録用リング設定を行 レ、、ステップ 73の判断でデータ記録要求を待つ。  [0220] On the other hand, if the controller 10 determines in step 92 that the data reproduction request from the host computer 12 has been completed, the controller 10 returns to step 72 in Fig. 15 to set the recording ring again, and determines in step 73. Wait for a data recording request.
[0221] ところで、この情報記録装置ではホストコンピュータ 12から再生要求を受ける以前 に要求されたデータを光ディスク 11へ記録せずに再生処理を行う場合がある。  [0221] By the way, in this information recording apparatus, there is a case where the reproduction process is performed without recording the requested data on the optical disc 11 before receiving the reproduction request from the host computer 12.
[0222] つまり、光ディスク 11へ記録を行う前のデータに対して再生要求を受けた場合は、 コントローラ 10は、光ディスク 11上のデータを再生するのではなぐキャッシュメモリ 8 内に存在する記録前のデータをホストコンピュータ 12に報告する必要がある。  [0222] In other words, when a reproduction request is received for data before recording on the optical disk 11, the controller 10 does not reproduce data on the optical disk 11 but exists in the cache memory 8 before recording. Data must be reported to the host computer 12.
[0223] すなわち、コントローラ 10は、ステップ 87においてホストコンピュータ 12が要求した データが記録データ格納用メモリ領域内に存在すると判断した場合は、ステップ 93 で当該メモリ内のデータをホストコンピュータ 12に転送し、ステップ 94で引き続き再生 要求が終了か否かを判断し、データ再生要求があれば、ステップ 87へ戻って再びホ ストコンピュータ 12が要求したデータが記録データ格納用メモリ領域内に存在するか 否かを判断する。  That is, when the controller 10 determines in step 87 that the data requested by the host computer 12 exists in the memory area for storing recording data, the controller 10 transfers the data in the memory to the host computer 12 in step 93. In step 94, it is determined whether or not the reproduction request has been completed. If there is a data reproduction request, the flow returns to step 87 to determine again whether the data requested by the host computer 12 exists in the recording data storage memory area. Judge.
[0224] コントローラ 10は、ステップ 94の判断で再生要求が終了でなければ、ステップ 87へ 戻り、再生要求終了なら、図 15のステップ 72へ戻る。  [0224] The controller 10 returns to Step 87 if the reproduction request is not completed in the judgment of Step 94, and returns to Step 72 of Fig. 15 if the reproduction request is completed.
[0225] コントローラ 10は、ステップ 92の判断でデータ再生要求が終了ならば、図 15のステ ップ 72へ戻って再び記録用リング設定を行レ、、ステップ 73の判断で記録要求を待つ [0225] If the data reproduction request is completed in step 92, the controller 10 returns to step 72 in Fig. 15 to set the recording ring again, and waits for the recording request in step 73.
[0226] 次に、ホストコンピュータ 12が要求した再生処理を行った後、再び記録要求を受け た場合の処理について説明する。 [0227] コントローラ 10は、図 15に示すように、データ再生処理完了後、ステップ 72で記録 データ格納用メモリ領域をリングバッファリング方式で使用するために、リング開始ポ インタ(RS0)及びリング終了ポインタ(RE0)にそれぞれメモリアドレス M0及び M4を 設定し、ステップ 73でホストコンピュータ 12からデータ記録要求があるか否かを判断 する。 Next, a description will be given of a case where the host computer 12 performs the requested reproduction process and then receives a recording request again. As shown in FIG. 15, after the data reproduction process is completed, the controller 10 uses the ring start pointer (RS0) and the ring end pointer in step 72 to use the memory area for storing recorded data in the ring buffering method. The memory addresses M0 and M4 are set in the pointer (RE0), respectively, and in a step 73, it is determined whether or not there is a data recording request from the host computer 12.
[0228] コントローラ 10は、ステップ 73でホストコンピュータ 12から直前の記録要求アドレス と連続する記録要求が有った場合は、ステップ 74で記録データ格納用メモリ領域内 に続けてデータを転送して記憶 (格納)し(図 14の(c)参照)、ステップ 75でデータ記 録中か否力、を判断し、ステップ 76で記録開始条件を満たしてレ、るか否力、を判断する  [0228] If there is a continuous recording request from the host computer 12 in step 73 and the immediately preceding recording request address in step 73, the controller 10 transfers and stores the data in the recording data storage memory area in step 74. (Refer to (c) in FIG. 14), determine whether or not data is being recorded in step 75, and determine whether or not the recording start condition is satisfied in step 76.
[0229] コントローラ 10は、ステップ 76の判断で記録開始条件を満たしていない場合、ステ ップ 73へ戻って再びホストコンピュータ 12からの記録要求があるか否かを判断する。 [0229] If the recording start condition is not satisfied in the judgment in step 76, the controller 10 returns to step 73 and judges again whether or not there is a recording request from the host computer 12.
[0230] このように、ホストコンピュータ 12が連続的な記録と再生の要求を交互に要求した 場合は、コントローラ 10は、記録データ格納用メモリ領域 20へのデータ格納と光ディ スク 11からのデータ再生とを繰り返す。 As described above, when the host computer 12 alternately requests continuous recording and reproduction, the controller 10 stores the data in the recording data storage memory area 20 and the data from the optical disk 11. Repeat playback.
[0231] すなわち、コントローラ 10は、記録データと再生データとをそれぞれ記録データ格 納用メモリ領域と再生データ格納用メモリ領域とに格納することにより、再生要求のた びにメモリ内に存在するデータを記録してしまう必要がなくなる。 That is, the controller 10 stores the recording data and the reproduction data in the recording data storage memory area and the reproduction data storage memory area, respectively, so that the data existing in the memory each time a reproduction request is made. There is no need to record.
[0232] したがって、コントローラ 10は、タイムシフト再生において一定量の記録データが格 納されてからデータ記録を開始することができ、安定したデータ記録を行うことが可能 となる。 [0232] Therefore, the controller 10 can start data recording after a fixed amount of recording data is stored in the time shift reproduction, and can perform stable data recording.
[0233] 一方、ステップ 76の判断で記録開始条件を満たしている場合、コントローラ 10は、 例えば記録データ格納用メモリ領域のデータ占有量が所定の記録開始しきい値を超 えた場合は、ステップ 77で光ディスク 11への記録を開始する。  [0233] On the other hand, if the recording start condition is satisfied in the determination of step 76, the controller 10 proceeds to step 77 if the data occupation amount of the recording data storage memory area exceeds a predetermined recording start threshold value. To start recording on the optical disk 11.
[0234] 次に、コントローラ 10は、ステップ 78でホストコンピュータ 12から完了要求(記録終 了要求)があるか否かを判断し、完了要求がなければ、ステップ 73へ戻って再びホス トコンピュータ 12からの記録要求があるか否かを判断する。  Next, in step 78, the controller 10 determines whether or not there is a completion request (recording end request) from the host computer 12, and if there is no completion request, the process returns to step 73 and returns to the host computer 12 again. It is determined whether there is a recording request from.
[0235] 一方、コントローラ 10は、ステップ 78の判断でホストコンピュータ 12から完了要求( データ記録終了要求)があった場合は、データ記録終了処理へ移行する。 On the other hand, the controller 10 determines from the host computer 12 that a completion request ( If there is a data recording end request), the processing shifts to data recording end processing.
[0236] ここではまず、コントローラ 10は、ステップ 79で記録データ格納用メモリ領域内に未 記録 (未書き込み)のデータが残っているか否力を判断し、未書き込みデータが残つ てレ、た場合、ステップ 80で記録開始前の待機状態であるか否かを判断し、待機状態 であれば、ステップ 81でデータ記録を開始し、ステップ 82でデータ記録完了か否を 判断して、データ記録完了を待つ。  Here, first, in step 79, the controller 10 determines whether or not unrecorded (unwritten) data remains in the recorded data storage memory area. In step 80, it is determined whether or not the apparatus is in a standby state before recording is started.If the apparatus is in a standby state, data recording is started in step 81, and whether or not data recording is completed is determined in step 82, and data recording is performed. Wait for completion.
[0237] コントローラ 10は、ステップ 82の判断でデータ記録完了であれば、ステップ 83でス テツプ 71において分割したメモリ領域を復帰させて(元の状態に戻して)、この処理を 終了する。  [0237] If the data recording is completed in the judgment of step 82, the controller 10 restores the memory area divided in step 71 in step 83 (returns to the original state), and ends this processing.
[0238] また、コントローラ 10は、ステップ 84の判断において再生要求がなかった場合は、 ステップ 78で完了要求 (データ記録終了要求)が有ったか否力、を判断し、完了要求 があった場合は、上述したデータ記録終了処理へ移行する。  [0238] If there is no reproduction request in step 84, the controller 10 determines in step 78 whether or not there is a completion request (data recording end request). Shifts to the data recording end process described above.
[0239] この情報記録装置によれば、データ記録の形態に応じてキャッシュメモリを分割し て使用することにより、それぞれの記録に応じて必要なキャッシュメモリを擬似的に生 成することができ、複雑な記録処理が要求される場合であっても効率的なデータ記 録を行うことが可能になる。  [0239] According to this information recording device, by dividing and using the cache memory according to the form of data recording, the necessary cache memory can be artificially generated according to each recording. Even when complicated recording processing is required, efficient data recording can be performed.
[0240] また、この情報記録装置によれば、複数のキャッシュメモリを必要としなレ、記録処理 では、キャッシュメモリの全領域を記録データ格納用に使用することができ、キヤッシ ュメモリ内の記録データがなくなることによる記録中断を極力避けることが可能になる  [0240] Further, according to this information recording device, the entire area of the cache memory can be used for storage of the recording data in the recording processing without the need for a plurality of cache memories, and the recording data in the cache memory can be used. It is possible to avoid interruption of recording due to lack of
[0241] さらに、この情報記録装置によれば、キャッシュメモリ内の複数の分割メモリ領域に ついて、それぞれ最適なバッファリング方式を選択することができ、効率的に分割メモ リ領域を使用することが可能になる。 [0241] Further, according to this information recording device, it is possible to select an optimum buffering method for each of a plurality of divided memory areas in the cache memory, and to efficiently use the divided memory areas. Will be possible.
[0242] また、この情報記録装置によれば、複数の分割メモリ領域のうち、少なくとも記録デ ータ格納用メモリ領域や再生データ格納用メモリ領域、あるいはべリファイ用メモリ領 域に使用する分割メモリ領域はリングバッファリング方式で使用することができ、効率 的なバッファリングが可能になる。  [0242] Further, according to this information recording apparatus, among the plurality of divided memory areas, the divided memory used for at least the recording data storage memory area, the reproduction data storage memory area, or the verification memory area. The area can be used in a ring buffering scheme, enabling efficient buffering.
[0243] さらに、この情報記録装置によれば、リングバッファリング方式で使用するメモリ領域 について、当該メモリ領域を使用する際にリング開始ポインタ、リング終了ポインタを それぞれ設定することにより、リング開始ポインタ、リング終了ポインタを複数箇所同 時に設定できない従来装置であっても、キャッシュメモリを複数の領域に分割してそ れぞれの分割領域をリングバッファとして使用することが可能になる。 [0243] Further, according to this information recording device, the memory area used in the ring buffering method By setting the ring start pointer and the ring end pointer when using the memory area, even if the conventional device cannot set the ring start pointer and the ring end pointer It becomes possible to divide into areas and use each divided area as a ring buffer.
[0244] また、この情報記録装置によれば、 1つのリングバッファが他のリングバッファを含む ように設定される場合であっても、それぞれのリングバッファを使用する際にリング開 始ポインタ、リング終了ポインタを設定するため、あるメモリ領域内に予期せぬリング 開始ポインタ又はリング終了ポインタが存在して誤った位置にデータが格納される不 具合を避けることが可能になる。  [0244] Further, according to this information recording apparatus, even when one ring buffer is set to include another ring buffer, a ring start pointer and a ring start pointer are used when each ring buffer is used. Since the end pointer is set, it is possible to avoid a problem that an unexpected ring start pointer or ring end pointer exists in a certain memory area and data is stored at an incorrect position.
[0245] さらに、この情報記録装置によれば、記録ブロックに満たない単位でデータ記録を 要求された場合、所定の記録ブロックの読み出しを行う前にユーザデータ受信を行う ことができ、記録要求に対する応答を早めることが可能になる。  Further, according to this information recording device, when data recording is requested in units less than the recording block, user data can be received before reading out the predetermined recording block, and the recording request can be satisfied. Response can be expedited.
[0246] また、この情報記録装置によれば、端数データを記録データ格納用メモリ領域とは 別の領域に格納することにより、比較的容易にメモリ管理を行うことが可能になる。  [0246] Further, according to this information recording apparatus, by storing fraction data in an area different from the recording data storage memory area, memory management can be performed relatively easily.
[0247] さらに、この情報記録装置によれば、連続したデータ記録において書き終わりアド レスが記録ブロックの境界でない場合も、端数データを格納するメモリ領域とは別領 域に記録ブロックを読み出すことができる。  [0247] Further, according to this information recording device, even when the end address of writing is not a boundary of a recording block in continuous data recording, a recording block can be read to an area different from a memory area for storing fraction data. it can.
[0248] また、この情報記録装置によれば、端数データ格納用メモリ領域を必要最小限の容 量にし、記録データ格納用メモリ領域の容量を確保することにより、メモリ内の記録デ ータがなくなることによる記録中断を極力避けることが可能になる。  [0248] Further, according to this information recording device, the memory area for storing fraction data is made the minimum necessary capacity and the capacity of the memory area for storing recording data is ensured, so that the recording data in the memory is reduced. It is possible to minimize the interruption of recording due to the disappearance.
[0249] さらに、この情報記録装置によれば、記録データと交替先パケットのデータとを、そ れぞれ記録データ格納用メモリ領域と交替先データ格納用メモリ領域とに格納するこ とにより、セクタ単位での交替処理中もメモリ内の記録データを保持しておくことがで きる。  Further, according to this information recording apparatus, by storing the recording data and the data of the replacement destination packet in the recording data storage memory area and the replacement destination data storage memory area, respectively, The recorded data in the memory can be retained even during the replacement process in sector units.
[0250] したがって、この情報記録装置は、当該交替処理に引き続いて行われるベリファイ 処理で再度欠陥が検出された場合も欠陥領域に記録したデータを所定の交替領域 に再度記録することが可能になる。  [0250] Therefore, even when a defect is detected again in the verification process performed subsequent to the replacement process, the information recording device can re-record the data recorded in the defective region in a predetermined replacement region. .
[0251] また、この情報記録装置によれば、交替先データ格納用メモリ領域を必要最小限の 容量にし、記録データ格納用メモリ領域の容量を確保することにより、ベリファイ処理 による記録の中断を極力減らすことができ、データ記録のパフォーマンスを維持する ことが可能になる。 [0251] Further, according to this information recording apparatus, the memory area for storing replacement destination data is set to the minimum necessary. By increasing the capacity and securing the capacity of the recording data storage memory area, interruption of recording due to verification processing can be reduced as much as possible, and data recording performance can be maintained.
産業上の利用可能性 Industrial applicability
本発明は、デスクトップパソコン,ノートブックパソコン等のパーソナルコンピュータに 適用可能である。  The present invention is applicable to personal computers such as desktop personal computers and notebook personal computers.

Claims

請求の範囲 The scope of the claims
[1] データが記録可能な情報記録媒体に対してデータの記録又は再生を行う際に前 記データを一時的に記憶する一時記憶手段と、  [1] temporary storage means for temporarily storing the data when recording or reproducing data on or from an information recording medium on which data can be recorded;
前記情報記録媒体に対するデータ記録の形態に応じて前記一時記憶手段の記憶 領域を複数個の領域に分割してデータを記憶させる制御手段と、  Control means for dividing a storage area of the temporary storage means into a plurality of areas according to a form of data recording on the information recording medium and storing data;
を有することを特徴とする情報記録装置。  An information recording device comprising:
[2] 前記制御手段は、前記各領域にそれぞれ所定のバッファリング方式でデータを記 憶させることを特徴とする請求項 1記載の情報記録装置。  2. The information recording apparatus according to claim 1, wherein the control unit stores data in each of the areas by a predetermined buffering method.
[3] 前記制御手段は、前記各領域のうち少なくとも 1つの領域をリングバッファリング方 式でデータを記憶させることを特徴とする請求項 1記載の情報記録装置。  3. The information recording apparatus according to claim 1, wherein the control means stores data in at least one of the areas by a ring buffering method.
[4] 前記一時記憶手段は、リング開始ポインタとリング終了ポインタとが設定可能なリン グバッファリング方式でデータを記憶する手段であり、  [4] The temporary storage means is means for storing data in a ring buffering method in which a ring start pointer and a ring end pointer can be set,
前記制御手段は、前記各領域のうち少なくとも 1つの領域に前記リング開始ポイン タと前記リング終了ポインタとをそれぞれ設定して前記リングバッファリング方式でデ ータを記憶させることを特徴とする請求項 1記載の情報記録装置。  The control means sets the ring start pointer and the ring end pointer in at least one of the areas, respectively, and stores data in the ring buffering method. The information recording device according to 1.
[5] 前記情報記録媒体は、所定の記録ブロック単位でデータが記録可能であり、 前記制御手段は、前記一時記憶手段の記憶領域を少なくとも前記情報記録媒体 へ記録するデータを記憶する記録データ記憶用領域と前記記録ブロック単位に満た ない端数データを一時的に記憶する端数データ記憶用領域とに分割し、前記記録 データ記憶用領域に前記情報記録媒体へ記録するデータを記憶させ、前記端数デ ータ記憶用領域に前記端数データを記憶させることを特徴とする請求項 1記載の情  [5] The information recording medium is capable of recording data in a predetermined recording block unit, and the control means is a recording data storage for storing data for recording at least a storage area of the temporary storage means on the information recording medium. And dividing the fraction data smaller than the recording block unit into fraction data storage areas for temporarily storing the fraction data, and storing the data to be recorded on the information recording medium in the recording data storage area. 2. The information according to claim 1, wherein the fraction data is stored in a data storage area.
[6] 前記制御手段は、前記端数データ記憶用領域にデータを記憶させた後、記録要 求に対して完了報告を行うことを特徴とする請求項 5記載の情報記録装置。 6. The information recording apparatus according to claim 5, wherein the control means, after storing the data in the fractional data storage area, reports completion of the recording request.
[7] 前記制御手段は、前記端数データ記憶用領域にデータを記憶させた後、前記端 数データを含む記録ブロックを前記記録データ記憶用領域に読み出し、該読み出し たデータへ前記端数データを上書きして前記記録ブロック単位でデータ記録を行う ことを特徴とする請求項 5記載の情報記録装置。 [7] After storing the data in the fraction data storage area, the control means reads a recording block including the fraction data into the recording data storage area, and overwrites the read data with the fraction data. 6. The information recording apparatus according to claim 5, wherein data recording is performed in the recording block unit.
[8] 前記制御手段は、記録完了要求を受けた時点で前記記録データ記憶用領域内に 前記記録ブロックに満たない端数データが存在するとき、該端数データを前記端数 データ記憶用領域に退避し、前記端数データを含む所定の記録ブロックを前記記録 データ記憶用領域に読み出し、該読み出したデータへ前記端数データを上書きして 前記所定の記録ブロックのデータ記録を行うことを特徴とする請求項 5記載の情報記 [8] When there is fraction data less than the recording block in the recording data storage area at the time of receiving the recording completion request, the control unit saves the fraction data to the fraction data storage area. Reading a predetermined recording block including the fraction data into the recording data storage area, and performing data recording of the predetermined recording block by overwriting the read data with the fraction data. Information described
[9] 前記制御手段は、前記端数データ記憶用領域のサイズを前記記録データ記憶用 領域のサイズよりも小さくなるように分割することを特徴とする請求項 5記載の情報記 9. The information storage device according to claim 5, wherein the control unit divides the size of the fraction data storage area so as to be smaller than the size of the recording data storage area.
[10] 前記情報記録媒体は、データ記録領域に欠陥を含んでレ、た場合に所定の交替領 域へデータ交替を行う情報記録媒体であって、 [10] The information recording medium is an information recording medium that performs data replacement to a predetermined replacement area when a data recording area includes a defect.
前記制御手段は、前記一時記憶手段の記憶領域を少なくとも前記情報記録媒体 へ記録するデータを記憶する記録データ記憶用領域と前記交替領域のデータを記 憶する交替先データ記憶用領域とに分割し、前記記録データ記憶用領域に前記情 報記録媒体へ記録するデータを記憶させ、前記交替領域のデータを読み出して前 記交替先データ記憶用領域へ記憶させることを特徴とする請求項 1記載の情報記録  The control means divides a storage area of the temporary storage means into at least a recording data storage area for storing data to be recorded on the information recording medium and a replacement destination data storage area for storing data of the replacement area. 2. The data storage device according to claim 1, wherein data to be recorded on the information recording medium is stored in the recording data storage area, and data in the replacement area is read out and stored in the replacement destination data storage area. Information record
[11] 前記情報記録媒体は、交替領域に所定の記録ブロック単位に満たない端数データ を交替可能な情報記録媒体であって、 [11] The information recording medium is an information recording medium capable of replacing fraction data less than a predetermined recording block unit in a replacement area,
前記制御手段は、前記端数データの交替領域の記録ブロックのデータを読み出し て前記交替先データ記憶用領域に記憶させた後、該交替先データ記憶用領域に記 憶させたデータへ前記端数データを上書きして前記所定の記録ブロック単位でデー タ記録を行うことを特徴とする請求項 10記載の情報記録装置。  The control means reads the data of the recording block in the replacement area of the fraction data, stores the data in the replacement data storage area, and then stores the fraction data in the data stored in the replacement data storage area. 11. The information recording apparatus according to claim 10, wherein data recording is performed in units of the predetermined recording block by overwriting.
[12] 前記制御手段は、前記交替先データ記憶用領域のサイズを前記記録データ記憶 用領域のサイズよりも小さくなるように分割する手段を有することを特徴とする請求項 10記載の情報記録装置。  12. The information recording apparatus according to claim 10, wherein the control means includes means for dividing the size of the replacement destination data storage area so as to be smaller than the size of the recording data storage area. .
[13] データが記録可能な情報記録媒体に対してデータの記録又は再生を行う際に前 記データを一時的に記憶する一時記憶手段の記憶領域を、前記情報記録媒体に対 するデータ記録の形態に応じて複数個の領域に分割してデータを記憶させる制御ェ 程を有することを特徴とする情報記録方法。 [13] When recording or reproducing data on an information recording medium on which data can be recorded, a storage area of a temporary storage means for temporarily storing the data is provided for the information recording medium. An information recording method, comprising: a control step of dividing data into a plurality of areas according to a data recording mode to be stored and storing data.
[14] 前記制御工程は、前記各領域にそれぞれ所定のバッファリング方式でデータを記 憶させる工程を含むことを特徴とする請求項 13記載の情報記録方法。  14. The information recording method according to claim 13, wherein the control step includes a step of storing data in each of the areas by a predetermined buffering method.
[15] 前記制御工程は、前記各領域のうち少なくとも 1つの領域をリングバッファリング方 式でデータを記憶させる工程を含むことを特徴とする請求項 13記載の情報記録方 法。  15. The information recording method according to claim 13, wherein the control step includes a step of storing data in at least one of the areas using a ring buffering method.
[16] 前記制御工程は、前記各領域のうち少なくとも 1つの領域にリング開始ポインタとリ ング終了ポインタとをそれぞれ設定してリングバッファリング方式でデータを記憶させ る工程を含むことを特徴とする請求項 13記載の情報記録方法。  [16] The control step includes a step of setting a ring start pointer and a ring end pointer in at least one of the areas, and storing data in a ring buffering scheme. 14. The information recording method according to claim 13.
[17] 前記制御工程は、前記一時記憶手段の記憶領域を少なくとも前記情報記録媒体 へ記録するデータを記憶する記録データ記憶用領域と前記情報記録媒体にデータ を記録するときの所定の記録ブロック単位に満たない端数データを一時的に記憶す る端数データ記憶用領域とに分割し、前記記録データ記憶用領域に前記情報記録 媒体へ記録するデータを記憶させ、前記端数データ記憶用領域に前記端数データ を記憶させる工程であることを特徴とする請求項 13記載の情報記録方法。  [17] The control step includes a recording data storage area for storing at least data to be recorded on the information recording medium in a storage area of the temporary storage means, and a predetermined recording block unit for recording data on the information recording medium. The fractional data is divided into a fractional data storage area for temporarily storing fractional data, the data for recording on the information recording medium is stored in the recording data storage area, and the fractional data is stored in the fractional data storage area. 14. The information recording method according to claim 13, which is a step of storing data.
[18] 前記制御工程は、前記端数データ記憶用領域にデータを記憶させた後、記録要 求に対して完了報告を行う工程を含むことを特徴とする請求項 17記載の情報記録方 法。  18. The information recording method according to claim 17, wherein the control step includes a step of, after storing the data in the fraction data storage area, reporting a completion of the recording request.
[19] 前記制御工程は、前記端数データ記憶用領域にデータを記憶させた後、前記端 数データを含む記録ブロックを前記記録データ記憶用領域に読み出し、該読み出し たデータへ前記端数データを上書きして前記記録ブロック単位でデータ記録を行う 工程を含むことを特徴とする請求項 17記載の情報記録方法。  [19] In the control step, after storing the data in the fraction data storage area, a recording block including the fraction data is read into the recording data storage area, and the fraction data is overwritten on the read data. 18. The information recording method according to claim 17, further comprising a step of performing data recording in the recording block unit.
[20] 前記制御工程は、記録完了要求を受けた時点で前記記録データ記憶用領域内に 前記記録ブロックに満たない端数データが存在するとき、該端数データを前記端数 データ記憶用領域に退避し、前記端数データを含む所定の記録ブロックを前記記録 データ記憶用領域に読み出し、該読み出したデータへ前記端数データを上書きして 前記所定の記録ブロックのデータ記録を行う工程を含むことを特徴とする請求項 17 記載の情報記録方法。 [20] In the control step, when fractional data less than the recording block exists in the recording data storage area at the time of receiving the recording completion request, the fractional data is saved to the fractional data storage area. Reading a predetermined recording block including the fraction data into the recording data storage area, and performing data recording of the predetermined recording block by overwriting the read data with the fraction data. Claim 17 Information recording method described.
[21] 前記制御工程は、前記端数データ記憶用領域のサイズを前記記録データ記憶用 領域のサイズよりも小さくなるように分割する工程を含むことを特徴とする請求項 17記 載の情報記録方法。  21. The information recording method according to claim 17, wherein the control step includes a step of dividing the size of the fraction data storage area so as to be smaller than the size of the recording data storage area. .
[22] 前記情報記録媒体は、データ記録領域に欠陥を含んでレ、た場合に所定の交替領 域へデータ交替を行う情報記録媒体であって、  [22] The information recording medium is an information recording medium that performs data replacement to a predetermined replacement area when a data recording area includes a defect.
前記制御工程は、前記一時記憶手段の記憶領域を少なくとも前記情報記録媒体 へ記録するデータを記憶する記録データ記憶用領域と前記交替領域のデータを記 憶する交替先データ記憶用領域とに分割し、前記記録データ記憶用領域に前記情 報記録媒体へ記録するデータを記憶させ、前記交替領域のデータを読み出して前 記交替先データ記憶用領域へ記憶させる工程であることを特徴とする請求項 13記 載の情報記録方法。  The control step divides a storage area of the temporary storage means into at least a recording data storage area for storing data to be recorded on the information recording medium and a replacement destination data storage area for storing data of the replacement area. A step of storing data to be recorded on the information recording medium in the recording data storage area, reading out the data in the replacement area, and storing the data in the replacement destination data storage area. Information recording method described in 13.
[23] 前記情報記録媒体は、交替領域に所定の記録ブロック単位に満たない端数データ を交替可能な情報記録媒体であって、  [23] The information recording medium is an information recording medium capable of replacing fraction data less than a predetermined recording block unit in a replacement area,
前記制御工程は、前記端数データの交替領域の記録ブロックのデータを読み出し て前記交替先データ記憶用領域に記憶させた後、該交替先データ記憶用領域に記 憶させたデータへ前記端数データを上書きして前記所定の記録ブロック単位でデー タ記録を行う工程を含むことを特徴とする請求項 22記載の情報記録方法。  The control step reads the data of the recording block in the replacement area of the fraction data and stores the data in the replacement data storage area, and then stores the fraction data in the data stored in the replacement data storage area. 23. The information recording method according to claim 22, further comprising a step of performing data recording by overwriting by the predetermined recording block unit.
[24] 前記制御工程は、前記交替先データ記憶用領域のサイズを前記記録データ記憶 用領域のサイズよりも小さくなるように分割する工程を含むことを特徴とする請求項 22 記載の情報記録方法。  24. The information recording method according to claim 22, wherein the control step includes a step of dividing the size of the replacement destination data storage area so as to be smaller than the size of the recording data storage area. .
[25] コンピュータに、  [25] computer
データが記録可能な情報記録媒体に対してデータの記録又は再生を行う際に前 記データを一時的に記憶する一時記憶手段の記憶領域を、前記情報記録媒体に対 するデータ記録の形態に応じて複数個の領域に分割してデータを記憶させる制御手 順を実行させることを特徴とするプログラムを記録したコンピュータ読取り可能な記録 媒体。  When recording or reproducing data on or from an information recording medium on which data can be recorded, the storage area of the temporary storage means for temporarily storing the data is set according to the form of data recording on the information recording medium. A computer-readable storage medium storing a program, wherein the storage medium executes a control procedure of dividing data into a plurality of areas and storing data.
[26] 前記制御手順は、前記各領域にそれぞれ所定のバッファリング方式でデータを記 憶させる手順を含むことを特徴とする請求項 25記載の記録媒体。 [26] In the control procedure, data is written in each of the areas by a predetermined buffering method. 26. The recording medium according to claim 25, further comprising a step of remembering.
[27] 前記制御手順は、前記各領域のうち少なくとも 1つの領域をリングバッファリング方 式でデータを記憶させる手順を含むことを特徴とする請求項 25記載の記録媒体。  27. The recording medium according to claim 25, wherein the control procedure includes a step of storing data in at least one of the areas by a ring buffering method.
[28] 前記制御手順は、前記各領域のうち少なくとも 1つの領域にリング開始ポインタとリ ング終了ポインタとをそれぞれ設定してリングバッファリング方式でデータを記憶させ る手順を含むことを特徴とする請求項 25記載の記録媒体。  [28] The control procedure includes a procedure of setting a ring start pointer and a ring end pointer in at least one of the areas and storing data in a ring buffering scheme. The recording medium according to claim 25.
[29] 前記制御手順は、前記一時記憶手段の記憶領域を少なくとも前記情報記録媒体 へ記録するデータを記憶する記録データ記憶用領域と前記情報記録媒体にデータ を記録するときの所定の記録ブロック単位に満たない端数データを一時的に記憶す る端数データ記憶用領域とに分割し、前記記録データ記憶用領域に前記情報記録 媒体へ記録するデータを記憶させ、前記端数データ記憶用領域に前記端数データ を記憶させる手順であることを特徴とする請求項 25記載の記録媒体。  [29] The control procedure includes a recording data storage area for storing at least data for recording the storage area of the temporary storage means on the information recording medium and a predetermined recording block unit for recording data on the information recording medium. The fractional data is divided into a fractional data storage area for temporarily storing fractional data, the data for recording on the information recording medium is stored in the recording data storage area, and the fractional data is stored in the fractional data storage area. 26. The recording medium according to claim 25, wherein the recording medium is a procedure for storing data.
[30] 前記制御手順は、前記端数データ記憶用領域にデータを記憶させた後、記録要 求に対して完了報告を行う手順を含むことを特徴とする請求項 29記載の記録媒体。  30. The recording medium according to claim 29, wherein the control procedure includes a procedure of storing data in the fractional data storage area and then reporting completion of the recording request.
[31] 前記制御手順は、前記端数データ記憶用領域にデータを記憶させた後、前記端 数データを含む記録ブロックを前記記録データ記憶用領域に読み出し、該読み出し たデータへ前記端数データを上書きして前記記録ブロック単位でデータ記録を行う 手順を含むことを特徴とする請求項 29記載の記録媒体。  [31] In the control procedure, after data is stored in the fraction data storage area, a recording block including the fraction data is read into the recording data storage area, and the fraction data is overwritten on the read data. 30. The recording medium according to claim 29, further comprising a step of performing data recording in units of said recording blocks.
[32] 前記制御手順は、記録完了要求を受けた時点で前記記録データ記憶用領域内に 前記記録ブロックに満たない端数データが存在するとき、該端数データを前記端数 データ記憶用領域に退避し、前記端数データを含む所定の記録ブロックを前記記録 データ記憶用領域に読み出し、該読み出したデータへ前記端数データを上書きして 前記所定の記録ブロックのデータ記録を行う手順を含むことを特徴とする請求項 29 記載の記録媒体。 [32] In the control procedure, when fraction data less than the recording block exists in the recording data storage area at the time of receiving the recording completion request, the fraction data is saved to the fraction data storage area. Reading a predetermined recording block including the fraction data into the recording data storage area, and performing data recording of the predetermined recording block by overwriting the read data with the fraction data. A recording medium according to claim 29.
[33] 前記制御手順は、前記端数データ記憶用領域のサイズを前記記録データ記憶用 領域のサイズよりも小さくなるように分割する手順を含むことを特徴とする請求項 29記 載の記録媒体。  33. The recording medium according to claim 29, wherein the control procedure includes a procedure of dividing the size of the fraction data storage area so as to be smaller than the size of the print data storage area.
[34] 前記情報記録媒体は、データ記録領域に欠陥を含んでレ、た場合に所定の交替領 域へデータ交替を行う情報記録媒体であって、 [34] The information recording medium is provided with a predetermined replacement area when the data recording area includes a defect. Information recording medium that exchanges data to the area,
前記制御手順は、前記一時記憶手段の記憶領域を少なくとも前記情報記録媒体 へ記録するデータを記憶する記録データ記憶用領域と前記交替領域のデータを記 憶する交替先データ記憶用領域とに分割し、前記記録データ記憶用領域に前記情 報記録媒体へ記録するデータを記憶させ、前記交替領域のデータを読み出して前 記交替先データ記憶用領域へ記憶させる手順であることを特徴とする請求項 25記 載の記録媒体。  The control procedure divides the storage area of the temporary storage means into at least a recording data storage area for storing data to be recorded on the information recording medium and a replacement destination data storage area for storing data of the replacement area. A step of storing data to be recorded on the information recording medium in the recording data storage area, reading the data in the replacement area, and storing the data in the replacement destination data storage area. 25 recording media.
[35] 前記情報記録媒体は、交替領域に所定の記録ブロック単位に満たない端数データ を交替可能な情報記録媒体であって、  [35] The information recording medium is an information recording medium capable of replacing fraction data less than a predetermined recording block unit in a replacement area,
前記制御手順は、前記端数データの交替領域の記録ブロックのデータを読み出し て前記交替先データ記憶用領域に記憶させた後、該交替先データ記憶用領域に記 憶させたデータへ前記端数データを上書きして前記所定の記録ブロック単位でデー タ記録を行う手順を含むことを特徴とする請求項 34記載の記録媒体。  The control procedure reads the data of the recording block in the replacement area of the fraction data, stores the data in the replacement data storage area, and then stores the fraction data in the data stored in the replacement data storage area. 35. The recording medium according to claim 34, further comprising a step of performing data recording in units of said predetermined recording block by overwriting.
[36] 前記制御手順は、前記交替先データ記憶用領域のサイズを前記記録データ記憶 用領域のサイズよりも小さくなるように分割する手順を含むことを特徴とする請求項 34 記載の記録媒体。  36. The recording medium according to claim 34, wherein the control procedure includes a step of dividing the size of the replacement data storage area so as to be smaller than the size of the recording data storage area.
PCT/JP2004/011086 2003-10-24 2004-08-03 Information recorder and information recording method and recording medium WO2005041186A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003364978A JP2005129168A (en) 2003-10-24 2003-10-24 Device and method for recording information, and program
JP2003-364978 2003-10-24

Publications (1)

Publication Number Publication Date
WO2005041186A1 true WO2005041186A1 (en) 2005-05-06

Family

ID=34510142

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2004/011086 WO2005041186A1 (en) 2003-10-24 2004-08-03 Information recorder and information recording method and recording medium

Country Status (2)

Country Link
JP (1) JP2005129168A (en)
WO (1) WO2005041186A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1684288A1 (en) * 2003-11-11 2006-07-26 Ricoh Company, Ltd. Information recorder, information recording method, and recording medium containing program

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4335859B2 (en) 2005-09-15 2009-09-30 株式会社日立エルジーデータストレージ Information recording / reproducing apparatus and information reproducing apparatus
JP4437117B2 (en) 2005-12-07 2010-03-24 株式会社日立エルジーデータストレージ Information recording / reproducing apparatus and information recording method
JP4798003B2 (en) * 2007-01-22 2011-10-19 ソニー株式会社 Recording apparatus, recording method, program, and optical disk recording apparatus
JP2009199384A (en) * 2008-02-22 2009-09-03 Nec Corp Data processing apparatus
JP2010080021A (en) * 2008-09-29 2010-04-08 Toshiba Storage Device Corp Recording control method, recording controller, and storage device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05135548A (en) * 1991-11-14 1993-06-01 Casio Comput Co Ltd Digital recorder
JPH06259886A (en) * 1993-03-09 1994-09-16 Sony Corp Magneto-optical disk and recording and reproducing device for magneto-optical disk
JPH08123623A (en) * 1994-10-24 1996-05-17 Sharp Corp Information recording and reproducing device
JPH11120690A (en) * 1997-10-14 1999-04-30 Matsushita Electric Ind Co Ltd Disk device and buffer control method
JP2001298704A (en) * 2000-04-12 2001-10-26 Sony Corp Information processing unit and method, and recording medium
JP2002251821A (en) * 2001-02-26 2002-09-06 Ricoh Co Ltd Information recording and reproducing device
JP2003209781A (en) * 2002-01-11 2003-07-25 Hitachi Ltd Data recorder, data reproducing device, data recording and reproducing method, and imaging apparatus
JP2003242723A (en) * 2002-02-19 2003-08-29 Hitachi-Lg Data Storage Inc Optical disk device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05135548A (en) * 1991-11-14 1993-06-01 Casio Comput Co Ltd Digital recorder
JPH06259886A (en) * 1993-03-09 1994-09-16 Sony Corp Magneto-optical disk and recording and reproducing device for magneto-optical disk
JPH08123623A (en) * 1994-10-24 1996-05-17 Sharp Corp Information recording and reproducing device
JPH11120690A (en) * 1997-10-14 1999-04-30 Matsushita Electric Ind Co Ltd Disk device and buffer control method
JP2001298704A (en) * 2000-04-12 2001-10-26 Sony Corp Information processing unit and method, and recording medium
JP2002251821A (en) * 2001-02-26 2002-09-06 Ricoh Co Ltd Information recording and reproducing device
JP2003209781A (en) * 2002-01-11 2003-07-25 Hitachi Ltd Data recorder, data reproducing device, data recording and reproducing method, and imaging apparatus
JP2003242723A (en) * 2002-02-19 2003-08-29 Hitachi-Lg Data Storage Inc Optical disk device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1684288A1 (en) * 2003-11-11 2006-07-26 Ricoh Company, Ltd. Information recorder, information recording method, and recording medium containing program
EP1684288A4 (en) * 2003-11-11 2011-08-10 Ricoh Co Ltd Information recorder, information recording method, and recording medium containing program

Also Published As

Publication number Publication date
JP2005129168A (en) 2005-05-19

Similar Documents

Publication Publication Date Title
JP2004005942A5 (en)
US7903930B2 (en) Data recording apparatus and system having sustained high transfer rates
US20030009708A1 (en) Information processor, information processing method and medium recording information processing method
JP4012791B2 (en) Sector rearrangement method of information recording medium and information storage device
JP3778055B2 (en) Recording / reproducing apparatus and recording / reproducing method
KR100367295B1 (en) An apparatus and method for writing a region code in a DVD driver
JP3637346B1 (en) Information recording apparatus, information recording method, and program
JPH08152975A (en) Disk device and data write-read method
WO2005041186A1 (en) Information recorder and information recording method and recording medium
JP5301666B2 (en) Data recording apparatus and audio system
JP2006164439A (en) Optical disc apparatus
JP3965023B2 (en) Information recording / reproducing device
JP4972064B2 (en) Optical disk drive control device
JP4137429B2 (en) Recording / reproducing apparatus, recording / reproducing method, program, and recording medium
JP4297002B2 (en) Data recording apparatus and recording method
JP6600818B2 (en) Data erasure method
JP2000149464A (en) Recording/reproducing device and method therefor, and distribution medium
WO2005020238A1 (en) Information recorder/reproducer, information recording/reproducing method and program
JP2010055702A (en) Hard disk device
JP5156651B2 (en) Data recording device
JP4476990B2 (en) Information recording / playback system
JP5218542B2 (en) Data recording device
JP2010135034A (en) Information recording/reproducing device
JP2010152981A (en) Method and device for reading optical disk
JP2004303345A (en) Information recording/reproducing device

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase