Patent ID: 8416657

Claim:
A method for managing data from a host to an optical disc, comprising: switching a write data queue (WDQ) between a WDQ mode and a sequential write mode according to divergence of data of sequential write commands, wherein when an amount of write-address-discontinuous data during a predetermined period is greater than a predetermined value, switching the WDQ from the sequential write mode to the WDQ mode; when the WDQ is in the WDQ mode: storing data into the WDQ when the data of sequential write commands from the host are write-address-discontinuous; and transferring specific data from the WDQ to a write buffer; and when the data of sequential write commands from the host are write-address-continuous, storing the data of sequential write commands into the write buffer without storing into the WDQ; and when the WDQ is in the sequential write mode: utilizing the WDQ to act as an extension of the write buffer, and storing the data of sequential write commands into the write buffer and the WDQ when the data of sequential write commands from the host are write-address-continuous.