IP Library › Granted Patent US 11,275,683
Granted Patent B2
US 11,275,683 · App. 16/942,434 · Granted Mar 15, 2022

Method, apparatus, device and computer-readable storage medium for storage management

Inventors: Xianglun Leng (Beijing, CN); Yong Wang (Beijing, CN); Wei Qi (Beijing, CN); Zhengze Qiu (Beijing, CN); Yang Yan (Beijing, CN)
Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
G06F12/0292G06F7/721G06F12/0246G06F12/1045
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,275,683
App. No.
16/942,434
Granted
Mar 15, 2022
Kind
B2
Abstract

Example embodiments of the present disclosure provide a method, an apparatus, a device and a computer-readable storage medium for storage management. The method for storage management includes: obtaining an available channel mode of a plurality of channels in a memory of a data processing system, the available channel mode indicating availabilities of the plurality of channels, and each of the plurality of channels being associated with a set of addresses in the memory; obtaining a channel data-granularity of the plurality of channels, the channel data-granularity indicating a size of a data block that can be carried on each channel; obtaining a target address of data to be transmitted in the memory; and determining a translated address corresponding to the target address based on the available channel mode and the channel data-granularity.

Claims (56)

1. A method for storage management, comprising:

obtaining an available channel mode of a plurality of channels in a memory of a data processing system, the available channel mode indicating availabilities of the plurality of channels, and each of the plurality of channels being associated with a set of addresses in the memory;

obtaining a channel data-granularity of the plurality of channels, the channel data-granularity indicating a size of a data block that can be carried on each channel;

obtaining a target address of data to be transmitted in the memory; and

determining a translated address corresponding to the target address based on the available channel mode and the channel data-granularity;

wherein determining the translated address comprises:

dividing the target address into a high-order portion and a low-order portion based on the channel data-granularity, the high-order portion corresponding to one data block in a set of data blocks that are associated with the data to be transmitted, and the low-order portion corresponding to a portion of the one data block;

determining the number of available channels based on the available channel mode;

determining the available channels for transmitting a data block to be transmitted from the plurality of channels based on the high-order portion and the number of available channels;

determining an intra-channel address of the data block to be transmitted on the available channels based on the high-order portion and the number of available channels; and

generating the translated address based on the available channels, the intra-channel address and the low-order portion.

2. The method according to claim 1 , wherein obtaining the available channel mode comprises:

obtaining information related to unavailable channels in the plurality of channels; and

determining the available channel mode based on the information related to the unavailable channels.

3. The method according to claim 1 , wherein determining the available channels comprises:

performing a modulus operation on the high-order portion and the number of available channels to determine the available channels.

4. The method according to claim 1 , wherein determining the intra-channel address comprises:

performing a quotient operation on the high-order portion and the number of available channels to determine the intra-channel address.

5. An apparatus for storage management, comprising:

one or more processors; and

tangible, non-transitory computer-readable memory for storing instructions executable by the one or more processors to cause the device to implement a method for storage management, the method comprising:

obtaining an available channel mode of a plurality of channels in a memory of a data processing system, the available channel mode indicating availabilities of the plurality of channels, and each of the plurality of channels being associated with a set of addresses in the memory;

obtaining a channel data-granularity of the plurality of channels, the channel data-granularity indicating a size of a data block that can be carried on each channel;

obtaining a target address of data to be transmitted in the memory; and

determining a translated address corresponding to the target address based on the available channel mode and the channel data-granularity;

wherein determining the translated address comprises:

dividing the target address into a high-order portion and a low-order portion based on the channel data-granularity, the high-order portion corresponding to one data block in a set of data blocks that are associated with the data to be transmitted, and the low-order portion corresponding to a portion of the one data block;

determining the number of available channels based on the available channel mode;

determining the available channels for transmitting a data block to be transmitted from the plurality of channels based on the high-order portion and the number of available channels;

determining an intra-channel address of the data block to be transmitted on the available channels based on the high-order portion and the number of available channels; and

generating the translated address based on the available channels, the intra-channel address and the low-order portion.

6. The apparatus according to claim 5 , wherein obtaining the available channel mode comprises:

obtaining information related to unavailable channels in the plurality of channels; and

determining the available channel mode based on the information related to the unavailable channels.

7. The apparatus according to claim 5 , wherein determining the available channels comprises:

performing a modulus operation on the high-order portion and the number of available channels to determine the available channels.

8. The apparatus according to claim 5 , wherein determining the intra-channel address comprises:

performing a quotient operation on the high-order portion and the number of available channels to determine the intra-channel address.

9. A tangible, non-transitory computer readable storage medium having a computer program stored thereon, wherein, when the program is executed by a processor, the program implements a method for storage management, the method comprising:

obtaining an available channel mode of a plurality of channels in a memory of a data processing system, the available channel mode indicating availabilities of the plurality of channels, and each of the plurality of channels being associated with a set of addresses in the memory;

obtaining a channel data-granularity of the plurality of channels, the channel data-granularity indicating a size of a data block that can be carried on each channel;

obtaining a target address of data to be transmitted in the memory; and

determining a translated address corresponding to the target address based on the available channel mode and the channel data-granularity;

wherein determining the translated address comprises:

dividing the target address into a high-order portion and a low-order portion based on the channel data-granularity, the high-order portion corresponding to one data block in a set of data blocks that are associated with the data to be transmitted, and the low-order portion corresponding to a portion of the one data block;

determining the number of available channels based on the available channel mode;

determining the available channels for transmitting a data block to be transmitted from the plurality of channels based on the high-order portion and the number of available channels;

determining an intra-channel address of the data block to be transmitted on the available channels based on the high-order portion and the number of available channels; and

generating the translated address based on the available channels, the intra-channel address and the low-order portion.

10. The tangible, non-transitory computer readable storage medium according to claim 9 , wherein obtaining the available channel mode comprises:

obtaining information related to unavailable channels in the plurality of channels; and

determining the available channel mode based on the information related to the unavailable channels.

11. The tangible, non-transitory computer readable storage medium according to claim 9 , wherein determining the available channels comprises:

performing a modulus operation on the high-order portion and the number of available channels to determine the available channels.

12. The tangible, non-transitory computer readable storage medium according to claim 9 , wherein determining the intra-channel address comprises:

performing a quotient operation on the high-order portion and the number of available channels to determine the intra-channel address.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 15, 2021
From: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
To: KUNLUNXIN TECHNOLOGY (BEIJING) COMPANY LIMITED
Reel/Frame 058705/0909 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 29, 2020
From: LENG, XIANGLUN; WANG, YONG; QI, WEI; QIU, ZHENGZE; YAN, YANG
To: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
Reel/Frame 053346/0180 →
Priority Claims (1)
CN 201910702452.7 · Jul 31, 2019 · national
Continuity (1)
Related Publication 20210034517A1 · Feb 4, 2021