Storage system and data writing method
AssigneeAcer Incorporated
InventorsTz-Yu Fu, Po-Wei Wu, Hsin-Yu Chen
Life of this patent
Estimating the term…
Abstract
An electronic device includes a first storage unit, a second storage unit and a control unit. The first storage unit stores the cache of the data. The second storage unit stores the data. The control unit calculates a first ratio of the cache corresponding to the data according to the capacity of the first storage unit. The control unit sends a distribution signal to the processing unit when the control unit reads the data from the second storage unit. The processing unit obtains a first distribution result corresponding to the cache according to the first ratio, and stores the cache to the first storage unit according to the first distribution result.
Claims24
An electronic device, comprising:
- a first storage unit, storing cache of data;
- a second storage unit, storing the data;
- a control unit, calculating a first ratio of the cache corresponding to the data according to a capacity of the first storage unit,
- wherein the control unit sends a distribution signal to a processing unit when the control unit reads the data from the second storage unit, and the processing unit obtains a first distribution result corresponding to the cache according to the first ratio and stores the cache to the first storage unit according to the first distribution result.
An electronic device, comprising:
- a first storage unit, storing a part of cache of data;
- a second storage unit, storing the data and another part of the cache of the data;
- and
- a control unit, calculating a predetermined ratio of the cache corresponding to the data according to a capacity of the first storage unit and the second storage unit, the control unit further obtains a weighting of a cache fragment according to a predetermined ratio, and stores the cache fragment to the first storage unit or the second storage unit according to the weighting.
A data writing method, adapted to an electronic device, wherein the electronic device comprises a first storage unit and a second storage unit, the first storage unit stores cache of data and the second storage unit stores the data, the steps comprising:
- reading the data of the second storage unit;
- calculating a first ratio of the cache corresponding to the data according to a capacity of the first storage unit;
- obtaining a first distribution result corresponding to the cache according to the first ratio;
- and
- storing the cache to the first storage unit according to the first distribution result.
A data writing method, adapted to an electronic device, wherein the electronic device comprises a first storage unit and a second storage unit, the first storage unit stores a part of cache of data and the second storage unit stores the data and another part of the cache of the data, the steps comprising:
- reading the data of the second storage unit;
- calculating a predetermined ratio of the cache corresponding to the data according to a capacity of the first storage unit and a capacity of the second storage unit;
- obtaining a distribution result of the data according to the predetermined ratio;
- obtaining a weighting of a cache fragment according to the distribution result;
- and
- storing the cache to the first storage unit and the second storage unit according to the weighting.
A data writing method adapted to an electronic device, the steps comprising:
- reading data;
- obtaining first information of a first storage unit and second information of a second storage unit;
- obtaining a weighting of a cache fragment of the data;
- calculating a predetermined ratio of the cache corresponding to the data according to the first information and the second information;
- and
- determining a cache volume distributed to the first storage unit and the second storage unit according to the predetermined ratio and the weighting.
Dependencies are inferred from the claim text.