1. Field of the Invention
The present invention relates to an optical recording device for recording a plurality of data on an optical storage medium, more particularly, the present invention relates to an optical recording device for reconnecting the interrupted data from a data-reconnecting address.
2. Description of the Prior Art
When conventional optical recording devices (for example, CD recorders or DVD recorders) record a plurality of data on optical storage mediums (for example, CD, VCD, and DVD discs), sometimes recording interruptions are caused by some factors, and then the data cannot be correctly recorded on the optical storage mediums. These factors causing the recording interruption comprise: the shocks of the recorder or wrong tracking of the optical pickup head of the recorder.
The prior art (for example, the U.S. Pat. No. 6,198,707) takes the logical address when recording is interrupted as a data-interrupted address, and further suspends the input data to be recorded on the disc in the interrupted location. Then, it reconnects the suspended input data on the disc starting from the data-interrupted address.
The prior art (for example, the U.S. patent application Ser. No. 10/639808) takes the physical address when recording is interrupted as a data-interrupted address, and decides a data-reconnecting physical address as the location for reconnecting data. The data-reconnecting physical address can be the data-interrupted address or the address added/subtracted an offset value to the data-interrupted address. Then, the U.S. patent application Ser. No. 10/639808 starts reconnecting the suspended input data on the disc.
However, in the prior arts, because there is a delay between the suspended location of the input data when recording is interrupted and the logical or physical address of the interruption of data actually recorded on the disc; the prior arts do not adjust the reconnecting input data according to the logical or physical address of the interruption of data actually recorded on the disc, which makes that the data portion between the reconnecting data and the data actually recorded on the disc is lost, and further makes the data recorded on the disc unable to be read correctly.
As the recording/reading speed of the present optical recording devices become faster and faster, the probability of the recording interruptions becomes higher. Therefore, it is very important to reduce the errors when reconnecting the interrupted data, so as to make the reconnected data to be read correctly later.
Therefore, the main objective of the present invention is to provide a method for reconnecting the interrupted data when a recording interruption occurs in the optical recording devices, so as to solve the above-mentioned problems.
The main objective of the present invention is to provide an optical recording device and the method thereof for recording a plurality of digital data on an optical storage medium.
Another objective of the present invention is to provide an optical recording device and the method thereof for generating a data-interrupted address when recording is interrupted, and then continuing to reconnect the interrupted data from a data-reconnecting address so as to enable further correct reading of the interrupted data.
According to an embodiment of the present invention, the optical recording device comprises a recording-interrupted generator, a data recording module, the data-interrupted address generator, and a data-reconnecting address generator. When detecting an interruption during recording data, the recording-interrupted generator detects a recording-interrupted condition, and correspondingly generates a recording-interrupted signal. Then the data recording module suspends recording the data on the optical storage medium when receiving the recording-interrupted signal. The data-interrupted address generator is used for generating the data-interrupted address. The data-reconnecting address generator is used for generating the data-reconnecting address according to the data-interrupted address. According to the data-reconnecting address, the data recording module adjusts the data to be further recorded according to the data-reconnecting address, and takes the data-reconnecting address as the starting address when reconnecting the data on the optical storage medium.
With the present invention, the problems in the prior arts can be solved, such as: some data are lost after data reconnection because the data can not be adjusted for further recording. Because the present invention can correctly reconnect interrupted data on the optical recording medium, the present invention further reduces the rerecording time, and decreases the wasted cost of discs.
The advantage and spirit of the invention may be understood by the following recitations together with the appended drawings.
The principle of conventional recording discs (for example: CD-R/RW, DVD+R/RW, and DVD-R/RW) is to record digital data on a spiral pre-groove track in the discs. The pre-groove track is a slight wobbling one, and the wobble frequency can be used to control the recording speed. In the following paragraphs, DVD disc is taken as an example to explain the data format when data is recorded on the discs.
The data units of a DVD disc comprise the following four kinds: the channel bit, the data frame, the data sectors, and the ECC block. The channel bit is the smallest recording unit of the discs. Each data byte is modulated into 16 channel bits through an eight-to-fourteen-modulation plus (EFM+) modulation and is then recorded on the disc. The EFM+ modulation requires that the maximum length of the continuous channel bits with the identical signal state be not longer than 11 bits, and the minimum length of the continuous channel bits with the identical signal state be not shorter than 3 bits. A 32 bits data frame sync symbol is added every 1456 channel bits, and these total 1488 channel bits constitute a data frame. The data frame sync symbol comprises a continuous 14 bits identical signal state, so as to identify the data frame sync symbol from the channel bits of the normal EFM+ modulation. The detail data format of DVD discs is well known by the person skilled in this art. If it is necessary, please refer to the related DVD data book or the U.S. patent application Ser. No. 10/639808,and no redundant description is further made herein.
The ID 102 is in the front 4 bytes of the data sector 101 for storing the sector ID of the data sector 101. If there is data recorded on a disc, the sector ID of the data sector 101 and the sector sync code SY0 can be used to allocate the address on discs, wherein the address is called the logical address of discs. The ID 102 and the IED code 104 co-forms to a 6 bits (6,4) Reed-Solomon code for detecting and correcting errors to the ID 102.
The EDC 108 is a 4 bytes cyclic redundancy checking code 104 used in the ID 102, the ID EDC 104, the CPR_MAI 106, and the main data for detecting errors of the data sector 101. Then a sequence of scramble bytes is generated according to the ID 102 of the data sector 101 for scrambling the data sector 101. Every 16 scrambled data sectors 101 forms an error correction code (ECC) block, and performs the ECC procedure. This is done by appending one row of the parity of outer code (PO Code) to each ECC-encoded data sectors, and by appending 10 bytes of the parity of inner code (PI Code) to each rows of the ECC-encoded data sectors 101. The PO code and the PI code are used to correct errors during disc reading.
The optical recording device 10 comprises an addressing module 12, a recording-interrupted generator 14, a data recording module 16, a data-interrupted address generator 18, and a data-reconnecting address generator 19.
The addressing module 12 is used for providing a reference address on the optical storage medium as a reference address during the data recording on the optical storage medium. The addressing module 12 according to the present invention can take various forms in different embodiments, such as a physical addressing module or a logical addressing module.
Please refer to
The physical addressing module 13 comprises a push-pull signal extractor 20, a wobble extractor 22, a phase-locked loop 24, a physical address decoder 26, and a physical address counter 28. When a photo detector of the optical recording device 10 reads data from the optical storage medium, two signals in both sides along the data track direction (or so called “tangential direction”) are read, and the push-pull signal extractor 20 extracts a push-pull signal by subtracting the two signals in both sides of the tangential direction. The wobble extractor 22 extracts a wobble signal in the predetermined groove on the optical storage medium from the push-pull signal, and sends the wobble signal to the phase-locked loop 24. Then the phase-looked loop 24 generates a clock signal synchronized with the wobble signal, and further sends the clock signal to the physical address counter 28 for counting. The physical address decoder 26 is used to decode the push-pull signal for obtaining a physical address on the optical storage medium corresponding to the push-pull signal, which is sent to the physical address counter 28. The physical address counter 28 receives the physical address from the physical address decoder 26 and the clock signal from the phase-locked loop 24. When the physical address decoder 26 correctly decodes a physical address, the physical address counter 28 is loaded with an address value corresponding to the decoded physical address. Then the physical address counter 28 counts according to the clock signal of the phase-locked loop 24, so as to generate the reference physical address. The reference physical address is an address with more precise resolution than the physical address decoded by the physical address decoder 26. And it is then sent to the data recording module 16 as a reference address for recording data on the optical storage medium. Therefore, the reference address with more precise resolution can be provided by the reference physical address.
As to the detail signal sequence of the physical addressing module 13, 112, and 212 and the counting method, the U.S. patent application Ser. No. 10/693808 can be taken as a reference. The following specification will focus more on the description of how the logical address is positioned or obtained.
The logical addressing module 80 comprises a logical sector address decoder 82, a logical address sync signal detector 84, a reference clock source 86, and a logical address counter 88. The logical sector address decoder 82 is used for decoding the logical sector address of a data recorded on the optical storage medium. The logical address sync signal detector 84 is used for detecting a logical address sync signal of the data. The reference clock source 86 is used for providing a reference clock signal.
The DVD disc format is taken in the following as an example to describe the operation of the logical addressing module 80. The logical address sync signal is generated by detecting the sector sync code (SY0) of the data, and the decoded logical sector address is the ID 102. The reference clock frequency can be set to equal to the channel bit frequency, thus a sector sync code SY0 is detected to generate a logical address sync signal for receiving 26 data frames (totally 1488*26 channel bits) of data. When the logical address sync signal is generated, the low-bit counter 90 is reset.
The logical sector address decoder 82 reads the ID 102 and the IED 104 of the data sector 101 on the optical storage medium, and performs error detecting and correcting on the (6,4) Reed-Solomon code co-formed by the ID 102 and the IED code 104. When detecting that the ID 102 has no error or has errors that can be corrected, the logical sector address decoder 82 sends out a high-level decoding correct signal, and sends out the sector ID of the data sector 101 from the corrected ID 102 as a decoding sector address. When the logical address sync signal is generated or occurs, the actual address would be the next sector of the decoding sector address, which is due to latency of the decoding action of the logical sector address. Therefore, the value to be loaded into the sector counter 92 would be the correct decoded sector address plus 1. When the logical address sync signal is generated or occurs and the decoding correct signal is in low-level, which means the logical sector address decoding value is incorrect, the sector counter 92 will increase one according to the previous value of the sector counter.
The reference location obtained by the physical addressing module 13, 112, 212 and the logical addressing module 80, is used as the reference address for addressing in the recording-interrupted generator 14, the data recording module 16, the data-interrupted address generator 18, and the data-reconnecting address generator 19.
The recording-interrupted generator 14 is used for detecting a recording-interrupted condition, and correspondingly generating a recording-interrupted signal. The aforementioned recording-interrupted condition is usually the condition leading to erroneous recording of the optical recording device 10. The recording-interrupted generator 14 also comprises a determination unit (not shown) for detecting the recording-interrupted condition and generating the recording-interrupted signal.
The data recording module 16 is used for recording the data on the optical storage medium, and suspending recording the data on the optical storage medium when receiving the recording-interrupted signal. The data recording module 16 further comprises a buffer memory (not shown) for buffering the data that are received from a data source but have not yet been recorded on the optical storage medium.
One of the recording-interrupted conditions for the recording-interrupted generator 14 is that the amount of data buffered in the buffer memory of the data recording module 16 is lower than a predetermined threshold value. Then before the amount of data buffered in the buffer memory decreases to none, the recording-interrupted generator 14 generates and sends the recording-interrupted signal to the data recording module 16 and the data-interrupted address generator 18. In addition, the situations of the shocks of the recorder or when the optical pickup head of a recorder is located on a wrong track would also give rise to the recording-interrupted conditions.
When the data-interrupted address generator 18 receives the recording-interrupted signal sent from the recording-interrupted generator 14, the length detector/data reader 32 is employed for detecting the actual interrupted point. If the length detector 32 is built in the data-interrupted address generator 18, the length detector 32 receives the channel bit signal recorded on the optical storage medium and detects if the length of continuous channel bits with identical signal state exceeds a maximum allowable value. If yes, the length detector 32 generates an enable signal to the storage device 30. The enable signal represents the actual interrupted point. At this time, the storage device 30 stores a reference logical address or reference physical address, which corresponds to the actual interrupted point on the storage device 30. The reference logical or physical address stored on the storage device 30 is the data-interrupted address corresponding to the present data-interrupted location. For the detail operation of the length detector 32, please refer to the U.S. patent application Ser. No. 10/639808, and no redundant description is further made in this specification.
When the optical recording device 10 comprises the logical addressing module 80, the data reader 32 can be accommodated in the data-interrupted address generator 18. The data reader 32 first reads the data recorded on the optical storage medium before interrupt occurs, so as to detect whether an error amount of the data content is greater than a predetermined threshold value. The aforementioned error amount may come from an error detection code (EDC) or an error correction code (ECC) corresponding to the data.
Take a data sector 101 in
When a typical optical recording device is interrupted, there is a gap between P1 and P2. When data recording is interrupted in prior arts, the data to be further recorded cannot be adjusted and it merely pauses on the occurring or appearance time of the recording-interrupted signal that is the address of P2. But the data recorded on the optical storage medium is actually interrupted in the address of P1. Thus, even though prior arts can reconnect recording the later data, the problem associated with data lost between P1 and P2 still exists.
The data-interrupted address generator 18 sends the data-interrupted logical address to the data-reconnecting address generator 19. The data-reconnecting address generator 19 is used for generating the corresponding data-reconnecting address according to the data-interrupted address. In the embodiment of the present invention, the data-reconnecting address generator 19 adds/subtracts an offset value to the data-interrupted address as the data-reconnecting address. According to the embodiment of the present invention, when the present invention uses the logical address to be the reference address, the offset value comprises a difference between the logical address and the physical address.
Please refer to
When the present invention reconnects the interrupted data according to the data-reconnecting address, the data recording module 16 adjusts the data to be further recorded as the data corresponding to the data-reconnecting address, takes the data-reconnecting address as the starting address to reconnect the data on the optical storage medium, and then reconnects the data on the optical storage medium.
The method of the present invention embodied for reconnecting the interrupted data can be variant according to different optical storage mediums. If the optical storage medium is a rewritable disc, then the situation is much simpler and easier.
Please refer to
Please refer to
By the proffered mechanism of adjusting the data which is to be further recorded, the present invention solves the problems in the prior arts, which include: due to the non-adjustment of the data to be further recorded, the problem relating to the difference between the appearance point of the recording-interrupted signal and the actual interrupted point of the recorded data can not be overcome in the prior art. Therefore, the present invention solves the problem in the prior arts that some data lose still occurs even if the data reconnection is performed.
The present invention provides an optical recording device for recording a plurality of data on an optical storage medium. When recording is interrupted, the interrupted data is reconnected according to a data-reconnecting address so as to enable further correct reading of the interrupted data. When the optical recording device detects that the data is interrupted when recording, the optical recording device sends out a recording-interrupted signal and stops recording the data on the optical storage medium. Then a data-reconnecting address is generated according to a data-interrupted address. The optical recording device adjusts the would-be-reconnected data to be the data corresponding to the data-reconnecting address, and takes the data-reconnecting address to be the starting address for reconnecting the data on the optical storage medium.
The optical recording device of the present invention solves the problems in the prior arts: errors occur when the interrupted data is reconnected. Because the optical recording device of the present invention can correctly reconnect the interrupted data on the optical recording medium, the present invention further reduces the rerecording time, and decreases the wasted cost of discs. Besides, the optical recording device of the present invention further improves the recording accuracy of the optical recording device, therefore the present invention makes the high-accuracy and high-speed optical recording device become possible.
With the example and explanations above, the features and spirits of the invention will be hopefully well described. Those skilled in the art will readily observe that numerous modifications and alterations of the device may be made while retaining the teaching of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
092113776 | May 2003 | TW | national |
Number | Date | Country | |
---|---|---|---|
Parent | 10843314 | May 2004 | US |
Child | 12003070 | US |