摘要:
The invention provides a method for data recovery. In one embodiment, a memory comprises a plurality of pages for data storage. First, first data is obtained from a host. A first page for storing the first data is then selected from the pages of the memory. A start page link indicating the first page is then stored in the memory. The first data, a first page link indicating a next page, and first FTL fragment data corresponding to the first page are then written into the first page. Next data is then obtained from the host. The next data, a next page link indicating a subsequent page, and FTL fragment data corresponding to the next page are written into the next page.
摘要:
The invention provides a method for data recovery. In one embodiment, a memory comprises a plurality of pages for data storage. First, first data is obtained from a host. A first page for storing the first data is then selected from the pages of the memory. A start page link indicating the first page is then stored in the memory. The first data, a first page link indicating a next page, and first FTL fragment data corresponding to the first page are then written into the first page. Next data is then obtained from the host. The next data, a next page link indicating a subsequent page, and FTL fragment data corresponding to the next page are written into the next page.
摘要:
A buffer management method is provided, particularly adaptable in an optical disc drive to access an optical disc. One or more data blocks are recorded to the optical disc in response to received write commands. Data blocks corresponding to the write commands are first buffered in a buffer of the optical disc drive. Thereafter, one or more write tasks may be organized based on the buffered write commands, each associated with a group of data blocks having consecutive destination addresses. A recording operation can be scheduled based on those write tasks, and the recording operation is performed to record the data blocks to the optical disc.
摘要:
An optical disc drive is provided, mainly comprising a buffer, a processor and a driving module for accessing an optical disc. The optical disc drive receives a plurality of write commands. Each write command comprises a data block and a destination address. The buffer buffers data blocks to be recorded to the optical disc with corresponding write commands in either a random mode or a sequential mode. The processor schedules a recording operation based on the write commands, and selectively switches the buffer to the random mode or to the sequential mode based on arrangements of data blocks buffered in the buffer. The driving module is controlled by the processor to perform the recording operation, whereby the data blocks are recorded to the optical disc when a start recording condition is met. Specifically, the start recording condition varies with the random or sequential modes.
摘要:
A controller for recovering disc management information is provided. The controller controls a pickup head unit to search the TDMAs for readable disc management information which is included in an in-use TDMA of the TDMAs; then determines whether a piece of information associated with an inconsistency flag of the readable disc management information is reliable. When the controller detects that the piece of information is unreliable, the controller determines at least a detection condition according to the information which is included in the readable disc management information and the in-use TDMA, and controls the pickup head unit to detect the recording medium to determine an update on the piece of information associated with the inconsistency flag under at least a detection condition. The controller generates update disc management information according to the readable disc management information and the update on the piece of information associated with the inconsistency flag.
摘要:
A controller for recovering disc management information is provided. The controller controls a pickup head unit to search the TDMAs for readable disc management information which is included in an in-use TDMA of the TDMAs; then determines whether a piece of information associated with an inconsistency flag of the readable disc management information is reliable. When the controller detects that the piece of information is unreliable, the controller determines at least a detection condition according to the information which is included in the readable disc management information and the in-use TDMA, and controls the pickup head unit to detect the recording medium to determine an update on the piece of information associated with the inconsistency flag under at least a detection condition. The controller generates update disc management information according to the readable disc management information and the update on the piece of information associated with the inconsistency flag.
摘要:
An optical disc drive is provided, mainly comprising a buffer, a processor and a driving module for accessing an optical disc. The optical disc drive receives a plurality of write commands. Each write command comprises a data block and a destination address. The buffer buffers data blocks to be recorded to the optical disc with corresponding write commands in either a random mode or a sequential mode. The processor schedules a recording operation based on the write commands, and selectively switches the buffer to the random mode or to the sequential mode based on arrangements of data blocks buffered in the buffer. The driving module is controlled by the processor to perform the recording operation, whereby the data blocks are recorded to the optical disc when a start recording condition is met. Specifically, the start recording condition varies with the random or sequential modes.
摘要:
A method for recovering disc management information of a recording medium. (a) When the recording medium is not closed, a readable TDMS which is included in an in-use TDMA of TDMAs of the recording medium and is readable is searched for. (b) It is determined whether a piece of information associated with an inconsistency flag of the readable TDMS is reliable. (c) If the associated piece of information is unreliable, at least a detection condition is determined according to the information included in the readable TDMS and the in-use TDMA. (d) A detection procedure, constrained by the at least the detection condition, is performed on the recording medium for determining an update on the piece of information associated with the inconsistency flag. (e) An update TDMS is generated according to the readable TDMS and the update on the piece of information associated with the inconsistency flag.
摘要:
A method for recovering disc management information of a recording medium. (a) When the recording medium is not closed, a readable TDMS which is included in an in-use TDMA of TDMAs of the recording medium and is readable is searched for. (b) It is determined whether a piece of information associated with an inconsistency flag of the readable TDMS is reliable. (c) If the associated piece of information is unreliable, at least a detection condition is determined according to the information included in the readable TDMS and the in-use TDMA. (d) A detection procedure, constrained by the at least the detection condition, is performed on the recording medium for determining an update on the piece of information associated with the inconsistency flag. (e) An update TDMS is generated according to the readable TDMS and the update on the piece of information associated with the inconsistency flag.
摘要:
An error correction method for correcting an first ECC code from a storage unit, comprising: (a) marking at least a first part of the first ECC code according to a correction result generated by correcting error of the first ECC code, to generate a first error correction reference information; and (b) marking at least a second part of the first ECC code according to the first error correction reference information to generate a second error correction reference information.