Data access method and apparatus for accessing shared cache in a memory access manner
AssigneeHuawei Technologies Co., Ltd.
InventorsChao Zhou, Peiqing Zhou
Life of this patent
Estimating the term…
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.
Claims13
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.
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.
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.
Dependencies are inferred from the claim text.