# US 2008/0270657 A1 · Management of Transfer of Commands

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0270657 A1
- Document ID: US20080270657A1
- Status: Published application
- Kind: A1
- Application number: 12/169,301
- Filed: 2008-07-08
- Published: 2008-10-30
- Earliest claimed: 2005-05-24
- Assignees: Media Tek, Inc., a Taiwan corporation
- Inventors: Shu-Fang Tsai; Yi-Chuan Chen; Kuo-Chang Li; Chih-Chiang Wen; Hsieh Te-Ching
- Web page: https://patentgrep.com/patent/US20080270657A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0611: {in relation to response time}
- G06F 3/0677: {Optical disk device, e.g. CD-ROM, DVD}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An optical storage device that includes a memory and a controller. The memory includes a command queue to store advanced technology attachment (ATA) commands sent by a host device. The controller executes the commands, in which at least a subset of the commands are executed in a sequence that is different from a sequence in which the commands are sent by the host device.

## Claims

### Claim 1

An apparatus comprising:
a command controller to manage transfer of a command packet from a data bus to a memory by sending a request to a memory controller requesting the memory controller to store the command packet or a portion of the command packet into the memory, the command controller being capable of sending the request in a higher priority than another request to the memory controller.

### Claim 2 (depends on 1)

The apparatus of claim 1 in which the data bus complies with at least one of a serial AT attachment (ATA) interface standard and a parallel ATA interface standard.

### Claim 3 (depends on 1)

The apparatus of claim 1 in which the memory comprises a cache memory of a storage device.

### Claim 4 (depends on 3)

The apparatus of claim 3 in which the storage device comprises at least one of a hard disk drive and an optical disc drive.

### Claim 5 (depends on 3)

The apparatus of claim 3 in which the command packets comprise at least one of a read data command to read data from the storage device and a write data command to write data to the storage device.

### Claim 6 (depends on 1)

The apparatus of claim 1, further comprising a memory arbiter to arbitrate which request to access the memory is executed by the memory controller, the arbitration based at least in part on the priority of the request.

### Claim 7 (depends on 1)

The apparatus of claim 1 in which the memory comprises at least one of dynamic random access memory and static random access memory.

### Claim 8 (depends on 1)

The apparatus of claim 1 in which the memory comprises a command queue to store multiple command packets.

### Claim 9 (depends on 1)

The apparatus of claim 1 in which the command controller prevents the apparatus from entering a stand-by or sleep mode before the command packet is stored into the memory.

### Claim 10

An apparatus comprising:
a storage device;
a memory;
a memory controller to control access to the memory; and
a command controller to manage transfers of command packets from a data bus to the memory, the command controller sending a request to the memory controller to request a command packet or a portion of the command packet to be stored in the memory, the command controller being capable of adjusting a priority level of the request over time, and the command packets including at least one of a read command to read data from the storage device and a write command to write data to the storage device.

### Claim 11 (depends on 10)

The apparatus of claim 10 in which if the command packet is not processed by the memory controller after a period of time, the command controller increases the priority level of the request.

### Claim 12 (depends on 10)

The apparatus of claim 10 in which the data bus complies with at least one of a serial AT attachment (ATA) interface standard and a parallel ATA interface standard.

### Claim 13 (depends on 10)

The apparatus of claim 10, further comprising a memory arbiter to arbitrate which request to access the memory is sent to the memory controller, the arbitration based at least in part on priority levels of the requests.

### Claim 14 (depends on 10)

The apparatus of claim 10 in which the memory comprises at least one of dynamic random access memory and static random access memory.

### Claim 15 (depends on 10)

The apparatus of claim 10 in which the storage device comprises at least one of a hard disk drive and an optical disc drive.

### Claim 16 (depends on 10)

The apparatus of claim 10 in which the memory comprises a cache memory, at least a portion of the memory to temporarily store data to be written to the storage device and data read from the storage device.

### Claim 17 (depends on 10)

The apparatus of claim 10, further comprising a host computer that accesses the storage device using the data bus.

### Claim 18

A method comprising:
sending a request to a memory controller that controls access to a memory to request the memory controller to store a command packet or a portion of the command packet in the memory; and
if the command packet or a portion of the command packet is not processed by the memory controller after a period of time, increasing a priority level of the request.

### Claim 19 (depends on 18)

The method of claim 18 in which the command packet controls an operation of a peripheral device that includes the memory.

### Claim 20 (depends on 18)

The method of claim 18, further comprising receiving the command packet from a data bus that is compatible with at least one of a serial AT attachment (ATA) interface standard and a parallel ATA interface standard.

### Claim 21 (depends on 18)

The method of claim 18 in which the command packet is sent from a host computer to the data bus, and the memory controller and the memory are disposed at a peripheral device.

### Claim 22 (depends on 21)

The method of claim 21 in which the peripheral device comprises at least one of a hard disk drive and an optical disc drive.

### Claim 23 (depends on 21)

The method of claim 21 in which the peripheral device enters a sleep mode in which power consumption is reduced.

### Claim 24 (depends on 23)

The method of claim 23, further comprising preventing the peripheral device from entering the sleep mode before the command packet is stored in the memory.

### Claim 25 (depends on 18)

The method of claim 18 in which the command packets comprise at least one of a read data command to read data from a storage device and a write data command to write data to the storage device.

### Claim 26 (depends on 18)

The method of claim 18, further comprising sending more than one request to the memory controller, and arbitrating the requests to determine a sequence in which the requests are executed by the memory controller, the arbitration based at least in part on the priorities of the requests.

### Claim 27 (depends on 18)

The method of claim 18, further comprising storing the command packets in a command queue, in which multiple commands can be simultaneously stored in the command queue.

### Claim 28 (depends on 18)

The method of claim 18, further comprising successively increasing the priority level of the request until the command packet or a portion of the command packet is processed by the memory controller.

### Claim 29

A method comprising:
preventing a peripheral device to enter a sleep mode before a command packet received by the peripheral device is saved in a memory,
wherein the peripheral device has a command controller to manage transfers of command packets from the host device to the memory by sending requests to a memory controller requesting the memory controller to store the command packets or portion of the command packets in the memory, the command controller being capable of adjusting priority levels of the requests.

### Claim 30 (depends on 29)

The method of claim 29 in which the peripheral device comprises at least one of a hard disk drive and an optical disc drive.

### Claim 31 (depends on 29)

The method of claim 29, further comprising receiving the command packets through a data bus that is compatible with at least one of a serial AT attachment (ATA) interface standard and a parallel ATA interface standard.
