This application claims the benefit of Korean Patent Application No. 2000-71030 filed on Nov. 27, 2000, in the Korean Industrial Property Office, the disclosure of which is incorporated herein by reference.
1. Field of the Invention
The present invention relates to a method of recording and/or reproducing optical data, and more particularly, to a method of overwriting data in a linking loss area.
2. Description of the Related Art
Since basic recording units of a digital versatile disc-rewritable (DVD-RW) are positioned one after another in a continuous series, in contrast to those of a DVD-Random Access Memory (DVD-RAM) which are divided by physical identifier (PID) areas or buffer fields (extra areas allocated to correspond to a requirement for controlling a spindle motor accurately), it is required that a recording-start point of each basic recording unit in a DVD-RW be precisely located. Here, the basic recording unit of the DVD-RAM may be a sector and the basic recording unit of the DVD-RW may be an error correction code (ECC) block.
Since the basic recording units of the DVD-R and the DVD-RW, which have the same physical formats, are positioned in a continuous series as described above, when data transmission or recording is momentarily discontinued or subsequently recommences, the DVD-R and the DVD-RW use a linking scheme in which an extra area of a next recording-start point is allocated. The sizes of a linking area which is applied to the linking scheme are 0 kilo bytes (KB), 2 KB, and 32 KB.
Accordingly, it is an object of the present invention to provide a method of overwriting data in a linking loss area in which data is recorded in blocks starting from a current block or from a previous block according to whether or not a first sector of a block in which data is desired to be recorded is a linking loss area.
Additional objects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
The foregoing and other objects of the present invention are achieved by providing a method of overwriting data in a linking loss area when predetermined data is recorded on a recording medium in which a predetermined size of an error correction code (ECC) block is divided into a plurality of sectors, the method comprising determining whether or not the first sector of a block in which it is desired for data to be recorded is a linking loss area, and if it is determined that the first sector is a linking loss area, reading the previous block; modifying data type identification information of the last sector of the previous block after completing reading the previous block; and recording data in blocks starting from the previous block.
It is preferable that in determining whether or not the first sector of a block in which it is desired for data to be recorded is a linking loss area, if it is determined that the first sector of the block in which data is desired to be recorded is not a linking loss area, data is recorded in blocks starting from the current block.
These and other objects and advantages of the present invention will become more apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompany drawings of which:
Reference will now be made in detail to the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments are described below in order to explain the present invention by referring to the figures.
The ordinary DVD-R/RW apparatus shown in
The ALPC 22 controls the power of a laser beam emitted from the pickup 21, and the radio frequency-amplifying unit 23 amplifies a minute signal picked up from the disc 20. The data processor 24 processes link data in accordance with data types, performs detection, insertion, protection, modulation and demodulation of a synchronization signal, and generates various control signals for error correction and for controlling the radio frequency-amplifying unit 23. The host interface 25 connects the optical recording apparatus with a host 26. The servo processor 27 controls various motors and servos related to the disc 20 to perform tracking and focusing, etc. The motor and driver 28 performs a function of rotating the disc 20 and driving motors, and the MICOM 29 controls the overall operation of the optical recording apparatus.
The sequence of these operations will now be described as follows. To record user data on the disc 20, the host 26 determines whether or not the first sector of a starting block (a target block), in which user data is desired to be recorded, is a linking loss area in operation 30.
If it is assumed that the target block is ECC block 2 of
If the first sector of a starting block (the target block), in which user data is desired to be recorded, is not a linking loss area, user data is recorded in blocks starting from the target block, as provided in operation 31.
Recording is stopped when user data is recorded in N ECC blocks, as illustrated in operation 32.
If the first sector of a starting block (the target block), in which user data is desired to be recorded, is a linking loss area, the previous block is read, as illustrated in operation 33. If the last sector of ECC block 1 is set to ‘1’, the first sector of the following ECC block 2 is regarded as a linking loss area when data is reproduced, and therefore ECC errors increase. To solve this problem, first, the ECC block 1 is read.
If reading the previous block, that is, the ECC block 1, is completed (operation 34), the data type of the last sector of the ECC block 1 is modified from ‘1b’ to ‘0b’, as illustrated in operations 34 and 35. When data is reproduced, the recording and/or reproducing apparatus determines whether or not the next sector, that is, the first sector of ECC block 2, is a linking loss area, according to the data type bit information of the last sector of ECC block 1. If the data type of the last sector of ECC block 1 is modified from ‘1b’ to ‘0b’, the recording and/or reproducing apparatus does not regard the first sector of the ECC block 2 as a linking loss area when data is reproduced.
Therefore, the data type of the last sector of ECC block 1 is modified to ‘0b’ and data read from ECC block 1 is recorded in ECC block 1 in operation 36. User data is continuously recorded in the ECC blocks 1 and 2 without linking. Then, when data is reproduced, linking data in the first sector of the ECC block 2 is regarded as re-recordable data to prevent errors.
If recording data is completed in N+1 blocks, recording is finished, as illustrated in operation 37. If the first sector of a target block is a linking loss area, data is recorded in blocks starting from the previous block, and therefore data is recorded in N+1 blocks.
To help understanding the present invention,
The data identification area shown in
That is, sector format type information of bit position b31 indicates a constant linear velocity (CLV) or zone constant linear velocity (ZCLV) as follows:
Tracking method information of bit position b30 indicates pit tracking or groove tracking as follows:
Reflectance information of bit position b29 indicates whether or not reflectance exceeds 40% as follows:
Area type information of bit positions b27 and b26 indicates a data area, a lead-in area, a lead-out area, or a middle area for a read-only disc as follows:
Data type information of bit position b25 indicates read-only data, or the linking data as follows:
Layer number information of bit position b24 indicates the number of layers in a single layer disc or a dual layer disc as follows:
In the conventional method of
As described above, according to the present invention, data is recorded in blocks starting from the current block or from the previous block according to the determination of whether or not the first sector of a current block is a linking loss area. By doing so, error occurrence can be prevented when data is reproduced and block error correction can be carried out more effectively.
Although a few embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes may be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2000-71030 | Nov 2000 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
4089027 | Grigoletti | May 1978 | A |
6115340 | Van Den Enden et al. | Sep 2000 | A |
6442128 | Lee et al. | Aug 2002 | B1 |
6512724 | Oishi | Jan 2003 | B1 |
6724705 | Ko et al. | Apr 2004 | B1 |
6728879 | Atkinson | Apr 2004 | B1 |
Number | Date | Country |
---|---|---|
1052639 | Nov 2000 | EP |
Number | Date | Country | |
---|---|---|---|
20020064119 A1 | May 2002 | US |