Patent ID: 9047174
Filing Date: 2015-06-02
Classification: G06F

Abstract:
1. A method for hierarchically managing storage resources, comprising: planning a storage space, establishing an address management index, and storing or reading data according to the index and a type of the data, wherein the step of planning the storage space comprises: dividing a storage space into multiple slices of different sizes, wherein a size of each of the slices is smaller than that of its next slice; and dividing each of the slices into multiple segments, wherein the segments in a same slice have a same size; wherein the step of establishing the address management index comprises: selecting two Random Access Memories (RAMs), recording, by using one of the RAMs, a storage status flag of data from a data sender, a slice number and a segment number associated with the stored data, and recording, by using another one of the RAMs, storage status flags of all of the segments in all of the slices; and wherein the type of the data comprises: regularly-updated data and irregular-updated data; the regularly-updated data refers to that data stored to a storage space will be read in a regular time, so that the storage space will be released and can be reused, and new data can be written to overwrite the previous data; and the irregularly-updated data refers to that data stored to a storage space will be read in an irregular time, so that the storage space cannot be reused until the data are read, and new data cannot be written to overwrite the previous data.