Abstract:
A recording apparatus for and a method of handling an error occurring when recording information on an optical disc. An existing ECC block on the optical disc is read in response to a first record command provided by a superior apparatus. If an error occurs in the reading of the existing ECC block, an error occurrence report is provided to the superior apparatus which formulates a second record command based on the error occurrence report and the information is recorded in another ECC block on the optical disc according to the second record command.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS  
       [0001]     This application claims the benefit of Korean Patent Application No. 2005-82279, filed on Sep. 5, 2005, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference.  
       BACKGROUND OF THE INVENTION  
       [0002]     1. Field of the Invention  
         [0003]     Aspects of the present invention relate to an optical recording apparatus and an information recording method using the same, and more particularly to an optical recording apparatus for handling an error which occurs when recording information/data on an optical disc, and an information recording method using the same.  
         [0004]     2. Description of the Related Art  
         [0005]      FIG. 1  is a block diagram showing a configuration of a general optical recorder. As shown in  FIG. 1 , the general optical recorder includes a disc drive  20  and a superior apparatus  30 , which records information/data on an optical disc  10 .  
         [0006]     The superior apparatus  30  transmits a record command for recording the information/data on the optical disc  10  to the disc drive  20 . The disc drive  20  records the information/data on the optical disc  10  according to the record command.  
         [0007]      FIG. 2A  is a view showing a recording format structure of an optical disc.  FIG. 2B  is a view showing a recording format which is partitioned into ECC (error correction code) blocks.  FIG. 2C  is a view illustrating respective recording operations according to record commands.  
         [0008]     As shown in  FIG. 2A , the recording format structure of an optical disc includes a disc information area (A 1 ) for containing specification information of the optical disc, and the like, header information areas (B 1 , B 2 ) for containing information relating to recording of content, and a content information area (C 1 ) for recording content information. For example, as shown in  FIG. 2B , the information area (B 1 ) among the header information areas (B 1 , B 2 ) includes a plurality of ECC (error check code) blocks, wherein one ECC block has 16 sectors (Si).  
         [0009]     In a case where the optical disc  10  is a recording medium such as a DVD-RAM or a DVD-RW, record commands transmitted from the superior apparatus  30  to the disc drive  20  include ECC block-unit data (D 1 ) or sector-unit data (D 2 ) as shown in  FIG. 2C . Since the disc drive  20  records only the ECC block-unit data (D 1 ) on the optical disc  10 , the disc drive  20  can not immediately record the sector-unit data (D 2 ) on the optical disc  10 .  
         [0010]      FIGS. 3A  to  3 C are views illustrating conventional recording procedures. In order to record the sector-unit data (D 2 ), the disc drive  20  forms the ECC blocks, and then records the data. Referring to  FIGS. 3A  to  3 C, the above-described procedures will be explained in more detail. As shown in  FIG. 3A , the disc drive  20  stores the sector-unit record command (D 2 ) in a buffer area (BF), wherein the sector-unit record command (D 2 ) is transmitted from the superior apparatus  30  ( 41 ). The record command (D 2 ) includes a start address for the recording data, and length information for the recording data. Using the start address and length information for the recording data, the disc drive  20  reads an ECC block (ECC- 1 ) from a recording area (Dsc) of the optical disc  10 , and stores the ECC block (ECC- 1 ) in the buffer area (BF), wherein the ECC block (ECC- 1 ) corresponds to the start address and the length information ( 42 ). The disc drive  20  copies the remaining data except for data corresponding to the sector-unit record command (D 2 ) among the ECC block (ECC- 1 ) stored in the buffer area (BF), and forms a new ECC block (ECC- 2 ) ( 43 - 1 ,  43 - 2 ). The disc drive  20  records the new ECC block (ECC- 2 ) in the recording area (Dsc) of the optical disc  10  ( 44 ), wherein the new ECC block (ECC- 2 ) contains the record command (D 2 ).  
         [0011]     In a case where the optical disc  10  is scratched or is contaminated, an error occurs when the read operation as shown in  FIG. 3B  is performed, and the disc drive  20  reports the error to the superior apparatus  30 . When the error occurs, since additional recording is prevented in order to preserve data previously recorded on the optical disc  10 , the disc drive  20  continuously reports the error to the superior apparatus  30 .  
       SUMMARY OF THE INVENTION  
       [0012]     Therefore, an aspect of the invention is to provide an optical recording apparatus, wherein, by recording an ECC block-unit record command provided through a superior apparatus on an optical disc, an error which occurs when recording information/data on the optical disc may be corrected. Another aspect of the invention provides a method of recording information/data on the optical disc after a failure of a first attempt to record the information/data has been reported to the superior apparatus.  
         [0013]     The above and/or other aspects of the invention are achieved by providing an optical recording apparatus for recording digital data on an optical disc, the optical recording apparatus comprising: a disc drive recording digital data on the optical disc according to record commands; and a superior apparatus generating the record commands and transmitting the record commands to the disc drive, wherein, if an error occurs where the disc drive can not record the digital data on the optical disc according to a first record command, the disc drive sends an error occurrence report to the superior apparatus, and records the digital data on the optical disc according to a second record command from the superior apparatus based on the error occurrence report; and if the superior apparatus receives the error occurrence report from the disc drive, the superior apparatus adds additional data to the first record command to form the second record command, and transmits the second record command to the disc drive.  
         [0014]     In accordance with another aspect of the present invention, a method of recording digital data on an optical disc by a disc drive, according to a record commands received from a superior apparatus, comprises: loading the optical disc in the disc drive; transmitting a first record command to the disc drive from the superior apparatus; determining whether the disc drive can record the digital data on the optical disc according to the first record command; sending an error occurrence report to the superior apparatus from the disc drive if an error occurs in which the disc drive can not record the digital data on the optical disc; forming a second record command in response to the error occurrence report; transmitting the second record command to the disc drive; and recording the digital data on the optical disc according to the second record command.  
         [0015]     Additional aspects and/or 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. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0016]     These and/or other aspects and advantages of the invention will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:  
         [0017]      FIG. 1  is a block diagram showing the configuration of a general optical recorder;  
         [0018]      FIG. 2A  is a view showing a recording format structure of an optical disc;  
         [0019]      FIG. 2B  is a view showing a recording format which is partitioned into ECC (error correction code) blocks;  
         [0020]      FIG. 2C  is a view illustrating respective recording operations according to record commands;  
         [0021]      FIGS. 3A  to  3 C are views illustrating conventional recording procedures;  
         [0022]      FIG. 4  is a block diagram showing the configuration of an optical recording apparatus according to an embodiment of the present invention;  
         [0023]      FIGS. 5A  to  5 E are views illustrating recording procedures according to the embodiment shown in  FIG. 4 ; and  
         [0024]      FIGS. 6A and 6B  are flowcharts illustrating a method of recording information according to an embodiment of the present invention. 
     
    
     DETAILED DESCRIPTION OF THE EMBODIMENTS  
       [0025]     Reference will now be made in detail to the present 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.  
         [0026]      FIG. 4  is a block diagram showing a configuration of an optical recording apparatus according to an embodiment of the present invention. As shown in  FIG. 4 , the optical recording apparatus includes a disc drive  200  and a superior apparatus  300 , which records information on an optical disc  100 , which is a recording medium such as a DVD-RAM or a DVD-RW.  
         [0027]     The disc drive  200  includes: a pickup unit  210  recording information/data by irradiating a laser beam on the optical disc  100  and reading the recorded information/data by receiving a reflected laser beam; a signal processing unit  220  processing information/data signals when performing recording operations such as encoding the recorded information/data and outputting the encoded information/data to the pickup unit  210 , or when performing a reading operation such as decoding the output of the pickup unit  210 ; a drive control unit  230  controlling the recording and reading operations; and a buffer  240  storing the information/data.  
         [0028]     The superior apparatus  300  includes a superior control unit  310  transmitting overall control commands containing the record command to the disc drive  200 ; and a memory  320  storing the information/data.  
         [0029]      FIGS. 5A  to  5 E are views illustrating recording procedures of the apparatus shown in  FIG. 4 . When formatting the recording data of the optical disc or adding a title to the optical disc, the superior apparatus  300  transmits the record command to the disc drive  200 . As shown in  FIG. 5A , the buffer  240  of the disc drive  200  stores the record command (D 20 ) received from the superior apparatus  300  ( 410 ). Accordingly, the disc drive  200  records the information/data on the optical disc  100  according to the record command.  
         [0030]     If the record command received from the superior apparatus  300  is ECC block-unit data, the disc drive  200  immediately records the recording data on the optical disc  100 . However, if the record command received through the superior apparatus  300  is not the ECC block-unit data but sector-unit data, the disc drive  200  can not immediately record the recording data on the optical disc  100 . As shown in  FIG. 5B , the disc drive  200  which receives the sector-unit record command reads a corresponding ECC block (ECC- 11 ) in a recording area (Dsc) of the optical disc  100 . However, in a case where the optical disc  100  is scratched or is contaminated, the disc drive  200  can not perform the normal read operation, that is, the disc drive  200  can not store the ECC block (ECC- 11 ) in a buffer area (BF) of the buffer  240  ( 420 ). Thus, the drive control unit  230  of the disc drive  200  transmits an error occurrence report with respect to the recording operation to the superior apparatus  300 .  
         [0031]     Referring to  FIG. 5C , the superior control unit  310  of the superior apparatus  300 , which receives the error occurrence report, adds additional data (dy 1 , dy 2 ) to the sector-unit record command (D 20 ), forms new ECC block-unit data (ECC-A), and stores the new ECC block-unit data (ECC-A) in a memory area (Mh) of the memory  320 . The additional data (dy 1 , dy 2 ) may be determined according to a type of the record command. If the record command is a command for formatting the optical disc  100 , dummy data are used as the additional data. If the record command is a command for adding a title, additional title information is used as the additional data.  
         [0032]     The superior control unit  310  transmits the new ECC block-unit data (ECC-A) to the disc drive  200 . As shown in  FIG. 5D , the new ECC block-unit data (ECC-A) are stored in the buffer area (BF) of the buffer  240 .  
         [0033]     Referring to  FIG. 5E , the drive control unit  230  of the disc drive  200  stores the new ECC block-unit data (ECC-A) in the recording area (Dsc) of the optical disc  100  through the pickup unit  210  ( 430 ).  
         [0034]     A method of recording information using the optical recording apparatus having the above-described configuration will be explained with reference to  FIGS. 6A and 6B .  FIGS. 6A and 6B  are flowcharts illustrating an information recording method according to an embodiment of the present invention.  FIG. 6B  is a branch of the flowchart shown in  FIG. 6A  and  FIGS. 6A and 6B  are functionally joined at the encircled symbols “A” and “B.” 
         [0035]     Initially, when loading the optical disc  100  which is inserted on a deck in the recording apparatus, the pickup unit  210  reads basic information of the optical disc  100  (S 10 ). The drive control unit  230  transmits header information among the read information to the superior apparatus  300  (S 20 ). The header information is stored in the memory  320  of the superior apparatus  300 .  
         [0036]     The superior apparatus  300  transmits the record command to the disc drive  200 , wherein the record command contains a start address and length information for the recording data (S 30 ). As shown in  FIG. 5A , the drive control unit  230  stores the record command in the buffer area (BF) of the buffer  240 .  
         [0037]     The drive control unit  230  determines whether the transmitted record command is ECC block-unit data (S 40 ). If the transmitted record command is ECC block-unit data, the pickup unit  210  records the ECC block-unit data on the optical disc  100  (S 41 ).  
         [0038]     If the transmitted record command is not the ECC block-unit data but sector-unit data, the drive control unit  230  reads corresponding ECC block-unit data on the optical disc  100  using the start address of the recording sector data through the pickup unit  210  (S 50 ).  
         [0039]     The drive control unit  230  determines whether an error occurs while reading the recorded data on the optical disc  100  (S 60 ). If the error does not occur, the drive control unit  230  combines the recording sector data stored in the buffer area (BF) with the ECC block-unit data which is read from the optical disc  100 , and creates the recording ECC block-unit data (S 70 ). The drive control unit  230  records the created recording ECC block-unit data on the optical disc  100  using the pickup unit  210  (S 80 ).  
         [0040]     If the error occurs (S 60 ), the drive control unit  230  transmits the error occurrence report to the superior apparatus  300  (S 61 ) as shown in  FIG. 6B . Next, the superior control unit  310  of the superior apparatus  300  determines whether the record command is a command for formatting the optical disc  100  (S 62 ). If the record command is a command for formatting the optical disc  100  according to the determination result, the superior control unit  310  adds additional data (dy 1 , dy 2 ) to the recording sector data (D 20 ), creates new recording ECC block-unit data (ECC-A), and stores the new recording ECC block-unit data (ECC-A) in the memory area (Mh) of the memory  320  as shown in  FIG. 5C , using dummy data as the additional data (S 63 ).  
         [0041]     If the record command is not a command for formatting the optical disc  100  according to the determination result (S 62 ), the superior control unit  310  determines whether the record command is a command for adding a title to the optical disc  100  (S 64 ). If the record command is a command for adding a title to the optical disc  100  according to the determination result, the superior control unit  310  adds additional data (dy 1 , dy 2 ) to the recording sector data (D 20 ), creates new recording ECC block-unit data (ECC-A), and stores the new recording ECC block-unit data (ECC-A) in the memory area (Mh) of the memory  320  as shown in  FIG. 5C . Updated additional title information is used as the additional data (S 65 ). Next, the superior apparatus  300  transmits the created recording ECC block-unit data to the disc drive  200  (S 66 ) and the disc drive  200  records the transmitted recording ECC block-unit data on the optical disc  100  (S 67 ).  
         [0042]     Thus, even when an error occurs while the disc drive reads the sector-unit data which are transmitted through the superior apparatus, the superior apparatus forms new recording ECC block-unit data according to a request of the disc drive, and transmits the new recording ECC block-unit data to the disc drive, thereby the disc drive can record the new recording ECC block-unit data on the optical disc.  
         [0043]     As is apparent from the above description, the present invention provides an optical recording apparatus and an information recording method using the same, wherein, even when an error occurs when the disc drive records the data on the optical disc according to the record command for formatting the recorded data of the optical disc or adding a title to the optical disc, since a recording operation is stably performed, the optical recording apparatus exhibits an increased reliability.  
         [0044]     Although a few embodiments of the present invention have been shown and described, it would be appreciated by those skilled in the art that changes may be made in this embodiment without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents.