# US 2022/0283710 A1 · Method, device, and computer program product for managing storage device

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

- Number: US 2022/0283710 A1
- Document ID: US20220283710A1
- Status: Published application
- Kind: A1
- Application number: 17/216,343
- Filed: 2021-03-29
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Bing Liu; Zheng Li
- Web page: https://patentgrep.com/patent/US20220283710A1

## CPC

- G06F 3/0611: {in relation to response time}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0676: {Magnetic disk device}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present disclosure relate to a method, an electronic device, and a computer program product for managing a storage device. The method includes: determining, based on the frequency of data access to the storage device, whether a data access component of the storage device will move; determining, if it is determined that the data access component will move, a first storage unit in the storage device based on a storage location of previously accessed data in the storage device, wherein the data access component is located at a first spatial location corresponding to the first storage unit; and sending a read request for data in a second storage unit in the storage device that is adjacent to the first storage unit, so as to cause the data access component to move from the first spatial location to a second spatial location corresponding to the second storage unit. The embodiments of the present disclosure can reduce the latency of data access to the storage device.

## Claims

### Claim 1

A method for managing a storage device, comprising:
determining, based on a frequency of data access to the storage device, whether a data access component of the storage device will move;
in response to determining that the data access component will move, determining a first storage unit in the storage device based on a storage location of previously accessed data in the storage device, wherein the data access component is located at a first spatial location corresponding to the first storage unit; and
sending a read request for data in a second storage unit in the storage device that is adjacent to the first storage unit to cause the data access component to move from the first spatial location to a second spatial location corresponding to the second storage unit.

### Claim 2 (depends on 1)

The method according to claim 1, wherein determining the first storage unit of the storage device includes:
determining a first storage location of a storage address with a maximum offset in the storage location; and
determining a storage unit in the storage device that includes the first storage location as the first storage unit.

### Claim 3 (depends on 1)

The method according to claim 1, wherein sending the read request includes:
sending the read request at a time that has a first time interval from previous data access.

### Claim 4 (depends on 3)

The method according to claim 3, further comprising:
incrementing a value of the first time interval; and
stopping incrementing the value of the first time interval in response to determining that latency of data access to the storage device exceeds a threshold.

### Claim 5 (depends on 1)

The method according to claim 1, wherein determining whether the data access component of the storage device will move includes:
determining multiple data access time intervals for data access to the storage device within a predetermined length of time prior to current time; and
determining that the data access component will move if it is determined that each of the multiple data access time intervals is greater than a time interval threshold.

### Claim 6 (depends on 5)

The method according to claim 5, wherein determining the data access time intervals includes:
determining, based on system parameters of the storage device, whether the movement of the data access component will cause a degradation in performance of the storage device; and
determining the multiple data access time intervals if it is determined that the movement of the data access component will cause a degradation in performance of the storage device.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the storage device is a disk and the data access component is a magnetic head of the disk.

### Claim 8

An electronic device, comprising:
at least one processor; and
at least one memory storing computer program instructions, wherein the at least one memory and the computer program instructions are configured to cause, together with the at least one processor, the electronic device to perform actions including:
determining, based on a frequency of data access to a storage device, whether a data access component of the storage device will move;
in response to determining that the data access component will move, determining a first storage unit in the storage device based on a storage location of previously accessed data in the storage device, wherein the data access component is located at a first spatial location corresponding to the first storage unit; and
sending a read request for data in a second storage unit in the storage device that is adjacent to the first storage unit, so as to cause the data access component to move from the first spatial location to a second spatial location corresponding to the second storage unit.

### Claim 9 (depends on 8)

The electronic device according to claim 8, wherein determining the first storage unit of the storage device includes:
determining a first storage location of a storage address with a maximum offset in the storage location; and
determining a storage unit in the storage device that includes the first storage location as the first storage unit.

### Claim 10 (depends on 8)

The electronic device according to claim 8, wherein sending the read request includes:
sending the read request at a time that has a first time interval from previous data access.

### Claim 11 (depends on 10)

The electronic device according to claim 10, wherein the actions further include:
incrementing a value of the first time interval; and
stopping incrementing the value of the first time interval in response to determining that latency of data access to the storage device exceeds a threshold.

### Claim 12 (depends on 8)

The electronic device according to claim 8, wherein determining whether the data access component of the storage device will move includes:
determining multiple data access time intervals for data access to the storage device within a predetermined length of time prior to current time; and
determining that the data access component will move if it is determined that each of the multiple data access time intervals is greater than a time interval threshold.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein determining the data access time intervals includes:
determining, based on system parameters of the storage device, whether the movement of the data access component will cause a degradation in performance of the storage device; and
determining the multiple data access time intervals if it is determined that the movement of the data access component will cause a degradation in performance of the storage device.

### Claim 14 (depends on 8)

The electronic device according to claim 8, wherein the storage device is a disk and the data access component is a magnetic head of the disk.

### Claim 15

A computer program product tangibly stored on a non-volatile computer-readable medium and including machine-executable instructions, which when executed by a device, cause the device to perform actions, the actions comprising:
determining, based on a frequency of data access to a storage device, whether a data access component of the storage device will move;
in response to determining that the data access component will move, determining a first storage unit in the storage device based on a storage location of previously accessed data in the storage device, wherein the data access component is located at a first spatial location corresponding to the first storage unit; and
sending a read request for data in a second storage unit in the storage device that is adjacent to the first storage unit to cause the data access component to move from the first spatial location to a second spatial location corresponding to the second storage unit.

### Claim 16 (depends on 15)

The computer program product according to claim 15, wherein determining the first storage unit of the storage device includes:
determining a first storage location of a storage address with a maximum offset in the storage location; and
determining a storage unit in the storage device that includes the first storage location as the first storage unit.

### Claim 17 (depends on 15)

The computer program product according to claim 15, wherein sending the read request includes:
sending the read request at a time that has a first time interval from previous data access.

### Claim 18 (depends on 17)

The computer program product according to claim 17, wherein the actions further include:
incrementing a value of the first time interval; and
stopping incrementing the value of the first time interval in response to determining that latency of data access to the storage device exceeds a threshold.

### Claim 19 (depends on 15)

The computer program product according to claim 15, wherein determining whether the data access component of the storage device will move includes:
determining multiple data access time intervals for data access to the storage device within a predetermined length of time prior to current time; and
determining that the data access component will move if it is determined that each of the multiple data access time intervals is greater than a time interval threshold.

### Claim 20 (depends on 19)

The computer program product according to claim 19, wherein determining the data access time intervals includes:
determining, based on system parameters of the storage device, whether the movement of the data access component will cause a degradation in performance of the storage device; and
determining the multiple data access time intervals if it is determined that the movement of the data access component will cause a degradation in performance of the storage device.
