Patent ID: 8086793

Claim:
A buffer management method for an optical disc recorder coupled to a host, wherein the host issues a read command for requesting a read data block and a write command for recording a write data block, comprising: storing the write data block in a write buffer, and storing the read data block in a read buffer; and triggering a write command handling procedure in response to the write command, wherein the write command handling procedure comprises: determining whether an other data block in the read buffer associated with the write data block in the write buffer contributes to the integrity of an ECC block; and copying the other data block to the write buffer to increase the integrity of the ECC block when the contribution is confirmed, wherein the content of the other data block is not equal to the content of the write data block; triggering a read command handling procedure in response to the read command; and triggering a pre-recording procedure to obtain the write data block in the write buffer; wherein contents between the write buffer and read buffer are exchangeable during the write command handling procedure, the read command handling procedure or the pre-recording procedure, wherein the ECC block is a basic recording unit of an optical disc.