Patent ID: 7581072

Claim:
A read/write method for a data buffer system between a first interface device and a second interface device, comprising: providing a first interface controller having a first interface and a first common interface, wherein the first interface controller communicates with the first interface device via the first interface, and communicates with a data buffer device via the first common interface; providing a second interface controller having a second interface and a second common interface, wherein the second interface controller communicates with the second interface device via the second interface, and communicates with the data buffer device via the second common interface; providing the data buffer device having a read unit and a write unit, wherein the read unit comprises a first read buffer, a second read buffer and a read controller, and the write unit comprises a first write buffer, a second write buffer and a write controller; and applying a write operation when the first interface device transmits data to the second interface device via the data buffer device, the write operation comprising: transmitting a write request from the first interface device to the first interface controller via the first interface; transmitting the write request from the first interface controller to a write controller via the first common interface; and receiving data that needs to be stored in the write unit from the first interface device via the first interface by the write controller, wherein this step further comprises: selecting a first write buffer to receive data from the first interface device; switching the write controller to the second write buffer to receive data when the first write buffer is full; and selecting the second write buffer to receive data according to a next write operation when the first write buffer is not full and the write operation ends; and applying a read operation when the first interface device reads data from the second interface device via the data buffer device, the read operation comprising: transmitting a read request from the first interface device to the first interface controller via the first interface; transmitting the read request from the first interface controller to a read controller via the first common interface; and reading data that is stored in the read unit from the second interface device via the first interface by the read controller, wherein this step further comprises: selecting a first read buffer to receive data from the second interface device; switching the read controller to the second read buffer to receive data when the first read buffer is full; and selecting the second read buffer to receive data according to a next read operation when the first read buffer is not full and the read operation ends.