# US 2009/0276553 A1 · Controller, hard disk drive and control method

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

- Number: US 2009/0276553 A1
- Document ID: US20090276553A1
- Status: Published application
- Kind: A1
- Application number: 12/345,387
- Filed: 2008-12-29
- Published: 2009-11-05
- Earliest claimed: 2008-04-30
- Assignees: Kabushiki Kaisha Toshiba
- Inventors: Kenji Yoshida
- Web page: https://patentgrep.com/patent/US20090276553A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0613: {in relation to throughput}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0674: {Disk device}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data transfer system includes: a shared resource accessed from one or more devices; a plurality of request generation units each configured to generate a request for the device to access the shared resource, and output a remaining time value indicating how much time remains until the request is accepted before affecting an operation of an apparatus including the controller; and an arbitration unit configured to compare the remaining time values when the plurality of requests and the remaining time values are inputted from the plurality of request generation units, and give an access right to access the shared resource to a request with less remaining time.

## Claims

### Claim 1

A controller, comprising:
a shared resource accessible from one or more devices;
a plurality of request generation modules configured to generate a request for the one or more devices to access the shared resource, and output a remaining time value indicating how much time remains before an operation of a whole apparatus comprising the controller is affected; and
an arbitration module configured to compare a plurality of remaining time values when a plurality of requests and the plurality of remaining time values are inputted from the plurality of request generation modules, and give an access right to access the shared resource to a request with less remaining time.

### Claim 2 (depends on 1)

The controller of claim 1, further comprising:
a buffer configured to buffer data supplied from the one or more devices in an order and output the data in the order; and
an interface controller configured to communicate with the one or more devices and detect a change in an operating state of the one or more devices during the communication, and generate a predetermined operating status coefficient corresponding to the detected operating state,
wherein at least one of the plurality of request generation modules generates a request for the one or more devices to access the shared resource, and generates the remaining time value based at least in part on a data transfer speed from the one or more devices to the buffer, an amount of data existing in the buffer or a remaining capacity of the buffer, and the operating status coefficient generated by the interface controller.

### Claim 3 (depends on 2)

The controller of claim 2,
wherein when the request comprises a write request to the shared resource, at least one of the plurality of request generation modules calculates the remaining time value at least in part by dividing a number of bytes remaining in the buffer by a value of a fastest throughput at a point in time from the one or more devices to the buffer, and multiplying a resulting value by the operating status coefficient.

### Claim 4 (depends on 2)

The controller of claim 2,
wherein when the request comprises a read request to the shared resource, at least one of the plurality of request generation modules calculates the remaining time value at least in part by dividing a number of effective bytes of data from the buffer by a value of a fastest throughput at a point in time from the buffer to the one or more devices, and multiplying a resulting value by the operating status coefficient.

### Claim 5 (depends on 1)

The controller of claim 1,
wherein when the request comprises a request expected to be accepted within a given time, at least one of the plurality of request generation modules calculates the remaining time value by subtracting a current time from a time when the request should be accepted.

### Claim 6 (depends on 1)

The controller of claim 1,
wherein the arbitration module is configured to give temporary access right to a request with a lowest remaining time value, and when there is a request with no remaining time until a point in time when data transfer of the request with the lowest remaining time value is completed, the arbitration module is configured to shift the access right to the request with no remaining time.

### Claim 7 (depends on 1)

The controller of claim 1,
wherein the arbitration module is configured to give the access right according to a predetermined priority order of the requests when a break occurs.

### Claim 8 (depends on 1)

A hard disk drive comprising a hard disk module driven by the controller of claim 1.

### Claim 9

A control method in a controller having a plurality of request generation modules and an arbitration module, the method comprising:
generating, by a plurality of request generation modules, a plurality of requests for one or more devices to access a shared resource, and generating remaining time values indicating how much time remains before an operation of a whole apparatus is affected,
comparing, by the arbitration module, the remaining time values when the plurality of requests and the remaining time values are inputted from the plurality of request generation modules, and giving an access right to access the shared resource to a request with less remaining time.

### Claim 10 (depends on 9)

The control method of claim 9,
wherein the controller comprises a buffer configured to buffer data supplied from the one or more devices in an order and output the data in the order; and an interface controller configured to communicate with the one or more devices and detect a change in an operating state of the one or more devices during the communication, and generate a predetermined operating status coefficient corresponding to the detected operating state; and
wherein at least one of the plurality of request generation modules generates a request for the one or more devices to access the shared resource, and generates the remaining time value based at least in part on a data transfer speed from the one or more devices to the buffer, an amount of data existing in the buffer or a remaining capacity of the buffer, and the operating status coefficient generated by the interface controller.

### Claim 11 (depends on 10)

The control method of claim 10,
wherein when the request comprises a write request to the shared resource, at least one of the plurality of request generation modules calculates the remaining time value at least in part by dividing a number of bytes remaining in the buffer by a value of a fastest throughput at a point from the one or more devices to the buffer, and multiplying a resulting value by the operating status coefficient.

### Claim 12 (depends on 10)

The control method of claim 10,
wherein when the request comprises a read request to the shared resource, at least one of the plurality of request generation modules calculates the remaining time value at least in part by dividing a number of effective bytes of data from the buffer by a value of a fastest throughput at a point in time from the buffer to the one or more devices, and multiplying a resulting value by the operating status coefficient.

### Claim 13 (depends on 9)

The control method of claim 9,
wherein when the request comprises a request expected to be accepted within a given time, at least one of the plurality of request generation modules calculates the remaining time value by subtracting a current time from a time when the request should be accepted.

### Claim 14 (depends on 9)

The control method of claim 9,
wherein the arbitration module is configured to give a temporary access right to a request with a lowest remaining time value, and when there is a request with no remaining time until a point in time when data transfer of the request with the lowest remaining time value is completed, the arbitration module is configured to shift the access right to the request with no remaining time.

### Claim 15 (depends on 9)

The control method of claim 9,
wherein the arbitration module is configured to give the access right according to a predetermined priority order for the requests when a break occurs.

### Claim 16

A control method, comprising:
receiving requests for one or more devices to access a shared resource and receiving remaining time values indicating how much time remains before an operation of a whole apparatus is affected,
comparing the remaining time values; and
giving an access right to access the shared resource to a request with less remaining time.
