# US 11,119,953 B2 · Data access method and apparatus for accessing shared cache in a memory access manner

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

- Number: US 11,119,953 B2
- Document ID: US11119953B2
- Status: Granted
- Kind: B2
- Application number: 16/743,139
- Filed: 2020-01-15
- Published: 2020-05-14
- Granted: 2021-09-14
- Earliest claimed: 2017-09-11
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Chao Zhou; Peiqing Zhou
- Web page: https://patentgrep.com/patent/US11119953B2

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 13/1684: {using multiple buses}
- G06F 3/06: Digital input from, or digital output to, record carriers {, e.g. RAID, emulated record carriers or networked record carriers}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 12/084: with a shared cache
- G06F 13/1663: {Access to shared memory}
- G06F 13/1673: {using buffers}
- G06F 2212/312: In storage controller
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data access method. The method is applied to a first controller, and the method includes: receiving a destination address sent by each shared cache apparatus, where the destination address is used to indicate an address at which data is to be written into the shared cache apparatus; receiving information carrying the data; and sending the destination address and the data to the shared cache apparatus that sends the destination address, so that each shared cache apparatus stores the data in storage space to which the destination address points.

## Claims

### Claim 1

A data access method implemented by a first controller, comprising:
receiving a destination address sent by at least one shared cache apparatus, wherein the first controller is connected to the at least one shared cache apparatus by using an internal bus and the destination address is used to indicate an address at which data is to be written into the at least one shared cache apparatus;
receiving information carrying the data; and
sending the destination address and the data to the at least one shared cache apparatus that sends the destination address, so that the at least one shared cache apparatus stores the data in storage space to which the destination address points,
wherein the first controller configures a mapping relationship for the destination address of the at least one shared cache apparatus by using a basic input and output system (BIOS) of the first controller so that the at least one shared cache apparatus is accessed by the first controller in a memory access manner,
wherein the sending of the destination address and the data to the at least one shared cache apparatus that sends the destination address comprises:
generating a write data instruction comprising the data and the destination address; and
sending the write data instruction to the at least one shared cache apparatus that sends the destination address.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the internal bus comprises at least one of: a quick path interconnect (QPI) bus, an ultra path interconnect (UPI) bus, a hyper transport (HT) bus, or a global memory interconnect (GMI) bus.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the first controller comprises a control cache module, and the sending of the destination address and the data to the at least one shared cache apparatus that sends the destination address comprises:
storing the data in the control cache module;
generating a write data instruction comprising a source address and the destination address, and the source address is an address of the data stored in the control cache module; and
sending the write data instruction to the at least one shared cache apparatus that sends the destination address, so that the at least one shared cache apparatus reads the data from the control cache module based on the source address and stores the data in the storage space to which the destination address points.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the first controller configures the mapping relationship by using the BIOS when a system is powered on or restarted, such that an address layout of the at least one shared cache apparatus is visible in a global storage space of the system.

### Claim 5

A data controlling device, the data controlling device configured in a storage system, the storage system comprising at least one shared cache apparatus, the data controlling device connected to each of the at least one shared cache apparatus using an internal bus, the data controlling device comprising:
a receiver configured to receive a destination address sent by the at least one shared cache apparatus, wherein a first controller is connected to the at least one shared cache apparatus using an internal bus, and the destination address is used to indicate an address at which data is to be written into the at least one shared cache apparatus; and the receiver is further configured to receive information carrying the data; and
a transmitter configured to send the destination address and the data to the at least one shared cache apparatus that sends the destination address, so that the at least one shared cache apparatus stores the data in storage space to which the destination address points,
wherein the first controller configures a mapping relationship for the destination address of the at least one shared cache apparatus by using a basic input and output system (BIOS) of the first controller so that the at least one shared cache apparatus is accessed by the first controller in a memory access manner,
wherein the data controlling device further comprises:
a processor configured to generate a write data instruction, wherein the write data instruction comprises the data and the destination address, and
the transmitter is further configured to send the write data instruction to the at least one shared cache apparatus that sends the destination address.

### Claim 6 (depends on 5)

The data controlling device according to claim 5, wherein the internal bus comprises at least one of: a quick path interconnect (QPI) bus, an ultra path interconnect (UPI) bus, a hyper transport (HT) bus, or a global memory interconnect (GMI) bus.

### Claim 7 (depends on 5)

The data controlling device according to claim 5, wherein the data controlling device further comprises:
a control buffer; and
a processor configured to store the data in the control buffer and generate a write data instruction, wherein the write data instruction comprises a source address and the destination address, and the source address is an address of the data stored in the control buffer; and
the transmitter is further configured to send the write data instruction to the at least one shared cache apparatus that sends the destination address so that the at least one shared cache apparatus reads the data from the control buffer based on the source address and stores the data in the storage space to which the destination address points.

### Claim 8

A data storage system, comprising:
a first controller and at least one shared cache apparatus, and
the first controller is configured to:
receive a destination address sent by the at least one shared cache apparatus among the at least one shared cache apparatus, wherein the first controller is connected to the at least one shared cache apparatus by using an internal bus, wherein the destination address is used to indicate an address at which data is to be written into the at least one shared cache apparatus; and
receive information carrying the data; and
send the destination address and the data to the at least one shared cache apparatus that sends the destination address; wherein
the data storage system comprises a plurality of shared cache apparatuses including the at least one shared cache apparatus, and each of the plurality of shared cache apparatuses is configured to send a destination address to the first controller, wherein the destination address is used to indicate an address at which data is to be written into the plurality of shared cache apparatuses, receive the destination address and the data that are sent by the first controller, and store the data in storage space to which the destination address points,
wherein the first controller configures a mapping relationship for the destination address of the at least one shared cache apparatus by using a basic input and output system (BIOS) of the first controller so that the at least one shared cache apparatus is accessed by the first controller in a memory access manner,
wherein the first controller is further configured to:
generate a write data instruction, wherein the write data instruction comprises the data and the destination address, and
send the write data instruction to the at least one shared cache apparatus that sends the destination address.

### Claim 9 (depends on 8)

The data storage system according to claim 8, wherein the internal bus comprises at least one of: a quick path interconnect (QPI) bus, an ultra path interconnect (UPI) bus, a hyper transport (HT) bus, or a global memory interconnect (GMI) bus.

### Claim 10 (depends on 8)

The data storage system according to claim 8, wherein the first controller is further configured to:
store the data in a control cache module;
generate a write data instruction, wherein the write data instruction comprises a source address and the destination address, and the source address is an address of the data stored in the control cache module; and
send the write data instruction to the at least one shared cache apparatus that sends the destination address, so that the at least one shared cache apparatus reads the data from the control cache module based on the source address and stores the data in the storage space to which the destination address points.

### Claim 11 (depends on 8)

The data storage system according to claim 8, wherein each of the at least one shared cache apparatus is further configured to receive a write data instruction sent by the first controller, and wherein the write data instruction comprises the data and the destination address.

### Claim 12 (depends on 8)

The data storage system according to claim 8, wherein each of the at least one shared cache apparatus is further configured to:
receive a write data instruction sent by the first controller, wherein the write data instruction comprises a source address and the destination address, and the source address is an address of the data stored in a control cache module;
read the data from the control cache module based on the source address; and
store the data at the destination address.

### Claim 13 (depends on 8)

The data storage system according to claim 8, wherein the plurality of shared cache apparatuses comprise a non-volatile cache module, and the non-volatile cache module comprises a non-volatile memory (NVM) medium; and
the each of the plurality of shared cache apparatuses is further configured to:
receive the destination address and the data that are sent by the first controller; and
store the data in a non-volatile cache module by using a processing module, wherein the non-volatile cache module comprises the storage space to which the destination address points.
