CN104932830A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN104932830A
CN104932830A CN201410099359.9A CN201410099359A CN104932830A CN 104932830 A CN104932830 A CN 104932830A CN 201410099359 A CN201410099359 A CN 201410099359A CN 104932830 A CN104932830 A CN 104932830A
Authority
CN
China
Prior art keywords
data
storage unit
capacity
storage
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410099359.9A
Other languages
Chinese (zh)
Other versions
CN104932830B (en
Inventor
孙清涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410099359.9A priority Critical patent/CN104932830B/en
Publication of CN104932830A publication Critical patent/CN104932830A/en
Application granted granted Critical
Publication of CN104932830B publication Critical patent/CN104932830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses an information processing method and an electronic device. The information processing method comprises that a first trigger instruction; first data is obtained through an input unit, and the first data is stored in a first memory cell; whether the first capacity corresponding to the first memory cell exceeds a first threshold or not is detected, a first detection result is generated, and the first capacity is the capacity used by the first memory cell at present; when the first detection result shows that the first capacity exceeds the first threshold, and second data is stored in a second memory cell; and the second data is stored in the second memory cell and accounts for a preset first proportion of the first data. According to the invention, the cost of the electronic device is reduced, at the same time, the service life of the electronic device is prolonged, and the read-write response performance of the electronic device is improved.

Description

Information processing method and electronic equipment
Technical field
The present invention relates to the information processing technology, particularly relate to a kind of information processing method and electronic equipment.
Background technology
Adopt three-layer unit (TLC, Trinary Level Cell) nand flash memory (Flash) of medium is used widely, for the consideration of cost, use the solid state hard disc (SSD of TLC medium, Solid State Disk) come into the market, but the readwrite performance parameter of TLC medium and serviceable life are lower than multilevel-cell (MLC, MultiLevel Cell) medium and single layer cell (SLC, Single Level Cell) medium.
For reducing the cost of SSD, correlation technique adopts TLC medium as the technical scheme of the storage medium of SSD, part TLC is modeled as SLC medium, and new data is all stored to SLC, this just causes hot spot data replaced to go out, need frequently to write TLC medium, like this overall performance of SSD is had a negative impact, also have impact on the serviceable life of SSD simultaneously.
In sum, how while the cost reducing SSD, ensure readwrite performance and the serviceable life of SSD, correlation technique there is no effective solution.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, while the cost reducing SSD, can ensure readwrite performance and the serviceable life of SSD.
The technical scheme of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of information processing method, be applied in an electronic equipment, described electronic equipment comprises the first storage unit, the second storage unit and input block, wherein, the readwrite performance parameter of described first storage unit is higher than the readwrite performance parameter of described second storage unit, and described second storage unit is non-volatile memory cells; Described method comprises:
Obtain the first triggering command;
Obtain the first data by described input block, described first data are stored to described first storage unit;
Detect the first capacity that described first storage unit is corresponding, generate the first testing result, described first capacity is the presently used capacity of described first storage unit;
When described first capacity of described first testing result sign exceedes first threshold, by the second data conversion storage storage to described second storage unit; Wherein, the data of the first ratio are preset in the first data that described second data store for described second storage unit.
The embodiment of the present invention also provides a kind of electronic equipment, and described electronic equipment comprises the first storage unit, the second storage unit and input block;
Wherein, the readwrite performance parameter of described first storage unit is higher than the readwrite performance parameter of described second storage unit, and described second storage unit is non-volatile memory cells;
Described electronic equipment also comprises: acquiring unit, detecting unit and control module; Wherein,
Described acquiring unit, for obtaining the first triggering command;
Obtain the first data by described input block, described first data are stored to described first storage unit;
Described detecting unit, for detecting the first capacity corresponding to described first storage unit, generates the first testing result, and described first capacity is the presently used capacity of described first storage unit;
Described control module, for when described first capacity of described first testing result sign exceedes first threshold, by the second data conversion storage storage to described second storage unit; Wherein, the data of the first ratio are preset in the first data that described second data store for described second storage unit.
In the embodiment of the present invention, the first storage unit utilizing reading performance parameter higher carries out buffer memory to needing the first data stored, and by the mode whether exceeding first threshold with capacity of detection first storage unit, guarantee that the first storage unit comprises idle capacity to store data to be written, avoiding problems situation about frequently the second storage unit being write, while reducing electronic equipment cost, improve the serviceable life of electronic equipment, and improve the write response performance of electronic equipment.
Accompanying drawing explanation
Fig. 1 is the realization flow schematic diagram of information processing method in the embodiment of the present invention one;
Fig. 2 is the realization flow schematic diagram of information processing method in the embodiment of the present invention two;
Fig. 3 is the realization flow schematic diagram of information processing method in the embodiment of the present invention three;
Fig. 4 is the realization flow schematic diagram of information processing method in the embodiment of the present invention four;
Fig. 5 is the realization flow schematic diagram of information processing method in the embodiment of the present invention five;
Fig. 6 is the realization flow schematic diagram of information processing method in the embodiment of the present invention six;
Fig. 7 is the realization flow schematic diagram of information processing method in the embodiment of the present invention seven;
Fig. 8 is the realization flow schematic diagram of information processing method in the embodiment of the present invention eight;
Fig. 9 is the structural representation of electronic equipment in the embodiment of the present invention nine;
Figure 10 is the structural representation of electronic equipment in the embodiment of the present invention ten.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
Embodiment one
The present embodiment records a kind of information processing method, is applied in an electronic equipment, and described electronic equipment comprises the first storage unit, the second storage unit and input block;
Wherein, the readwrite performance parameter of described first storage unit is higher than the readwrite performance parameter of described second storage unit, and described second storage unit is non-volatile memory cells;
In practical application, described first storage unit can adopt SLC medium, or adopts mode TLC medium being modeled as SLC medium, and described second storage unit can adopt MLC medium or TLC medium.
As shown in Figure 1, the information processing method that the present embodiment is recorded comprises the following steps:
Step 101, obtains the first triggering command.
Described first triggering command is used to indicate electronic equipment and receives and self storing the first data.
Step 102, obtains the first data by described input block, and described first data are stored to described first storage unit.
Step 103, detects the first capacity that described first storage unit is corresponding, generates the first testing result.
Step 104, according to described first testing result, judges whether described first capacity exceedes described first threshold, if so, then performs step 105; Otherwise, stop process.
The capacity that described first capacity uses for the current storage data of described first storage unit.
Step 105, by the second data conversion storage storage to described second storage unit.
That is, described first storage unit no longer stores described second data, presets the data of the first ratio in the first data that described second data store for described second storage unit.
In the present embodiment, the first storage unit utilizing reading performance parameter higher carries out buffer memory to needing the first data stored, and by the mode whether exceeding first threshold with capacity of detection first storage unit, guarantee that the first storage unit comprises idle capacity to store data to be written, avoiding problems situation about frequently the second storage unit being write, while reducing electronic equipment cost, improve the serviceable life of electronic equipment, and improve the write response performance of electronic equipment.
Embodiment two
The present embodiment records a kind of information processing method, is applied in an electronic equipment, and described electronic equipment comprises the first storage unit, the second storage unit and input block;
Wherein, the readwrite performance parameter of described first storage unit is higher than the readwrite performance parameter of described second storage unit, and described second storage unit is non-volatile memory cells;
In practical application, described first storage unit can adopt SLC medium, or adopts mode TLC medium being modeled as SLC medium, and described second storage unit can adopt MLC medium or TLC medium.
As shown in Figure 2, the information processing method that the present embodiment is recorded comprises the following steps:
Step 201, obtains the first triggering command.
Described first triggering command is used to indicate electronic equipment and receives and self storing the first data.
Step 202, obtains the first data by described input block, and described first data are stored to described first storage unit.
Step 203, detects the first capacity that described first storage unit is corresponding, generates the first testing result.
According to described first testing result, step 204, judges whether described first capacity exceedes described first threshold, if so, then perform step 205; Otherwise, stop process.
Described first capacity is the presently used capacity of described first storage unit.
Step 205, detects the load of described first storage unit, generates the second testing result.
The load of described first storage unit refers to the capacity of a data reading and/or write in the unit interval.
According to described second testing result, step 206, judges that whether the load of described first storage unit is lower than Second Threshold, if so, then perform step 207; Otherwise, stop process.
Step 207, by described second data conversion storage storage to described second storage unit.
Wherein, the data of the first ratio are preset in the first data that described second data store for described second storage unit.
In the present embodiment, the first storage unit utilizing reading performance parameter higher carries out buffer memory to needing the first data stored, and use capacity and load by detection first storage unit, guarantee that the first storage unit comprises idle capacity and stores data to be written, and response is written in the current of electronic equipment writes within the scope of load capacity; Avoiding problems situation about frequently the second storage unit being write, while reducing electronic equipment cost, improve the serviceable life of electronic equipment, and improve the write response performance of electronic equipment.
Embodiment three
The present embodiment records a kind of information processing method, is applied in an electronic equipment, and described electronic equipment comprises the first storage unit, the second storage unit and input block;
Wherein, the readwrite performance parameter of described first storage unit is higher than the readwrite performance parameter of described second storage unit, and described second storage unit is non-volatile memory cells;
In practical application, described first storage unit can adopt SLC medium, or adopts mode TLC medium being modeled as SLC medium, and described second storage unit can adopt MLC medium or TLC medium.
As shown in Figure 3, the information processing method that the present embodiment is recorded comprises the following steps:
Step 301, obtains the first triggering command.
Described first triggering command is used to indicate electronic equipment and receives and self storing the first data.
Step 302, obtains the first data by described input block, and described first data are stored to described first storage unit.
Step 303, whether the first capacity detecting described first storage unit corresponding exceedes first threshold, generates the first testing result.
According to described first testing result, step 304, judges whether described first capacity exceedes described first threshold, if so, then perform step 305; Otherwise, stop process.
Described first capacity is the presently used capacity of described first storage unit.
Step 305, detects the load of described first storage unit, generates the second testing result.
The load of described first storage unit refers to the capacity of a data reading and/or write in the unit interval.
According to described second testing result, step 306, judges that whether the load of described first storage unit is lower than Second Threshold, if so, then perform step 307; Otherwise, stop process.
Step 307, detects the operating frequency of the first data of described first cell stores.
Described operating frequency characterizes the frequency that described first data are written into and/or are read.
Step 308, based on detected operating frequency, obtains described second data.
Wherein, described second data are the data that in the first data of described first cell stores, operating frequency is minimum, and are the data of described first data preset ratio or preset capacity.
Step 309, by described second data conversion storage storage to described second storage unit.
In the present embodiment, by the non-hot spot data unloading storage in the first storage unit to the second storage unit, this provides for improved the hit rate of the first storage unit to data read request, make the read-write requests of the first storage unit response hot spot data, further increase the write response performance of electronic equipment.
Embodiment four
The present embodiment records a kind of information processing method, is applied in an electronic equipment, and described electronic equipment comprises the first storage unit, the second storage unit and input block and output unit;
Wherein, the readwrite performance parameter of described first storage unit is higher than the readwrite performance parameter of described second storage unit, and described second storage unit is non-volatile memory cells;
In practical application, described first storage unit can adopt SLC medium, or adopts mode TLC medium being modeled as SLC medium, and described second storage unit can adopt MLC medium or TLC medium.
As shown in Figure 4, the information processing method that the present embodiment is recorded comprises the following steps:
Step 401, obtains the first triggering command.
Described first triggering command is used to indicate electronic equipment and receives and self storing the first data.
Step 402, obtains the first data by described input block, and described first data are stored to described first storage unit.
Step 403, detects the first capacity that described first storage unit is corresponding, generates the first testing result.
Step 404, according to described first testing result, judges whether described first capacity exceedes described first threshold, if so, then performs step 405; Otherwise, stop process.
Described first capacity is the presently used capacity of described first storage unit.
Step 405, by the second data conversion storage storage to described second storage unit.
Step 406, obtains the second triggering command, and described second triggering command is used to indicate the first data to be read.
Step 407, from the first data to be read described in described first storage unit query, if inquired, then performs step 409; Otherwise, perform step 408 and step 409.
Step 408, the first data to be read described in described second storage unit query.
The first data inquired are sent to described output unit by step 409.
In the present embodiment, due to the always hot spot data of the first cell stores, therefore, when reading data, first in the first data that the first storage unit query is to be read, like this, higher to the hit rate of read requests, and, by the first storage unit response read requests, response speed, higher than by the second storage unit response read requests, improves the performance of electronic equipment response read requests.
Embodiment five
The present embodiment records a kind of information processing method, is applied in an electronic equipment, and described electronic equipment comprises the first storage unit, the second storage unit, the 3rd storage unit and input block and output unit;
Wherein, the readwrite performance parameter of described first storage unit is higher than the readwrite performance parameter of described second storage unit, and described second storage unit is non-volatile memory cells;
In practical application, described first storage unit can adopt SLC medium, or adopts mode TLC medium being modeled as SLC medium, and described second storage unit can adopt MLC medium or TLC medium.
As shown in Figure 5, the information processing method that the present embodiment is recorded comprises the following steps:
Step 501, obtains the first triggering command.
Described first triggering command is used to indicate electronic equipment and receives and self storing the first data.
Step 502, obtains the first data by described input block, and described first data are stored to described first storage unit.
Step 503, detects the first capacity that described first storage unit is corresponding, generates the first testing result.
Step 504, according to described first testing result, judges whether described first capacity exceedes described first threshold, if so, then performs step 505; Otherwise, stop process.
Described first capacity is the presently used capacity of described first storage unit.
Step 505, by the second data conversion storage storage to described second storage unit.
Step 506, obtains the second triggering command, and described second triggering command is used to indicate the first data to be read.
Step 507, from the first data to be read described in described first storage unit query, if inquired, then performs step 509; Otherwise, perform step 508.
Step 508, the first data to be read described in described second storage unit query.
The first data inquired are sent to described output unit by step 509.
Step 510, detects the operating frequency of the first data in described first storage unit.
Step 511, based on detected operating frequency, obtains the 3rd data.
Described 3rd data are that preset the second ratio in the first data of described first cell stores, that operating frequency is the highest data.
Step 512, by described 3rd data conversion storage storage to described 3rd storage unit.
Wherein, described second data and the capacity shared by described 3rd data are not less than the difference of described first capacity and described first threshold, to guarantee that the first storage unit has enough idle capacity response read-write requests, i.e. the data of cache request read-write.
In the present embodiment, the hot spot data of the first storage unit is turned and is stored to the 3rd higher storage unit of readwrite performance parameter, read and write by the mode response data of the first storage unit and the 3rd unit matching stored, the hit rate to reading and writing data can be improved further, remarkable reduction is to the write number of times of the second storage unit, while reducing electronic equipment cost, improve the serviceable life of electronic equipment, and improve the read-write response performance of electronic equipment.
Embodiment six
The present embodiment records a kind of information processing method, is applied in an electronic equipment, and described electronic equipment comprises the first storage unit, the second storage unit, the 3rd storage unit and input block and output unit;
Wherein, the readwrite performance parameter of described first storage unit is higher than the readwrite performance parameter of described second storage unit, and described second storage unit is non-volatile memory cells;
In practical application, described first storage unit can adopt SLC medium, or adopts mode TLC medium being modeled as SLC medium, and described second storage unit can adopt MLC medium or TLC medium.
As shown in Figure 6, the information processing method that the present embodiment is recorded comprises the following steps:
Step 601, obtains the first triggering command.
Described first triggering command is used to indicate electronic equipment and receives and self storing the first data.
Step 602, obtains the first data by described input block, and described first data are stored to described first storage unit.
Step 603, detects the first capacity that described first storage unit is corresponding, generates the first testing result.
Step 604, according to described first testing result, judges whether described first capacity exceedes described first threshold, if so, then performs step 605; Otherwise, stop process.
Described first capacity is the presently used capacity of described first storage unit.
Step 605, by the second data conversion storage storage to described second storage unit.
Step 601 to step 605 is the process of response write operation.
Step 606, obtains the second triggering command, and described second triggering command is used to indicate the first data to be read.
Step 607, from the first data to be read described in described first storage unit query, if inquired, then performs step 609; Otherwise, perform step 608.
Step 608, the first data to be read described in described second storage unit query.
The first data inquired are sent to described output unit by step 609.
Step 606 to step 609 is the process of response read operation.
Step 610, detects the operating frequency of the first data in described first storage unit.
Step 611, based on detected operating frequency, obtains the 3rd data.
Described 3rd data are that preset the second ratio in the first data of described first cell stores, that operating frequency is the highest data.
Step 612, by described 3rd data conversion storage storage to described 3rd storage unit.
Wherein, described second data and the capacity shared by described 3rd data are not less than the difference of described first capacity and described first threshold.
Step 610 can perform between step 609 arbitrary steps in step 601 to step 612.
Step 613, detects the second capacity that described 3rd storage unit is corresponding, generates the 3rd testing result.
Described second capacity is the presently used capacity of described 3rd storage unit;
According to described 3rd testing result, step 614, judges whether described second capacity exceedes described 3rd threshold value, if so, then perform step 615; Otherwise, stop process.
Step 615, by the 4th data conversion storage storage to described second storage unit.
The data of the 3rd ratio are preset in the first data that described 4th data store for described 3rd storage unit.
Step 613 can perform between step 609 arbitrary steps in step 601 to step 615.
In the present embodiment, the non-hot spot data unloading of the 3rd storage unit is stored up to the second lower storage unit of readwrite performance parameter, thus vacant capacity storage hot spot data can be had, the hit rate to reading and writing data can be improved further, remarkable reduction is to the read-write number of times of the second storage unit, while reducing electronic equipment cost, improve the serviceable life of electronic equipment, and improve the read-write response performance of electronic equipment.
Embodiment seven
The present embodiment records a kind of information processing method, is applied in an electronic equipment, and described electronic equipment comprises the first storage unit, the second storage unit, the 3rd storage unit and input block and output unit;
Wherein, the readwrite performance parameter of described first storage unit is higher than the readwrite performance parameter of described second storage unit, and described second storage unit is non-volatile memory cells;
In practical application, described first storage unit can adopt SLC medium, or adopts mode TLC medium being modeled as SLC medium, and described second storage unit can adopt MLC medium or TLC medium.
As shown in Figure 7, the information processing method that the present embodiment is recorded comprises the following steps:
Step 701, obtains the first triggering command.
Described first triggering command is used to indicate electronic equipment and receives and self storing the first data.
Step 702, obtains the first data by described input block, and described first data are stored to described first storage unit.
Step 703, detects the first capacity that described first storage unit is corresponding, generates the first testing result.
Step 704, according to described first testing result, judges whether described first capacity exceedes described first threshold, if so, then performs step 705; Otherwise, stop process.
Described first capacity is the presently used capacity of described first storage unit.
Step 705, by the second data conversion storage storage to described second storage unit.
Step 701 to step 705 is the process of response write operation.
Step 706, obtains the second triggering command, and described second triggering command is used to indicate the first data to be read.
Step 707, from the first data to be read described in described first storage unit query, if inquired, then performs step 710; Otherwise, perform step 708.
Step 708, the first data to be read described in described 3rd storage unit query; If inquired, then perform step 710; Otherwise, perform step 709.
Step 709, the first data to be read described in described second storage unit query.
The first data inquired are sent to described output unit by step 710.
Step 706 to step 710 is the process of response read operation.
Step 711, detects the operating frequency of the first data in described first storage unit.
Step 712, based on detected operating frequency, obtains the 3rd data.
Described 3rd data are that preset the second ratio in the first data of described first cell stores, that operating frequency is the highest data.
Step 713, by described 3rd data conversion storage storage to described 3rd storage unit.
Wherein, described second data and the capacity shared by described 3rd data are not less than the difference of described first capacity and described first threshold.
Step 711 can perform between step 710 arbitrary steps in step 701 to step 713.
Step 714, detects the second capacity that described 3rd storage unit is corresponding, generates the 3rd testing result.
Described second capacity is the presently used capacity of described 3rd storage unit;
According to described 3rd testing result, step 715, judges whether described second capacity exceedes described 3rd threshold value, if so, then perform step 716; Otherwise, stop process.
Step 716, by the 4th data conversion storage storage to described second storage unit.
The data of the 3rd ratio are preset in the first data that described 4th data store for described 3rd storage unit.
Step 714 can perform between step 710 arbitrary steps in step 701 to step 716.
In the present embodiment, data to be read are searched by the sequencing of the first storage unit, the 3rd storage unit, the second storage unit, like this, the hot spot data read-write of first storage unit higher by readwrite performance parameter and the response of the second storage unit, the hit rate of reading and writing data can be improved, avoid, to frequent read-write the second storage unit, improving the reading response speed of electronic equipment further.
Embodiment eight
The present embodiment is based on previous embodiment, and to the second data conversion storage storage in the first storage unit being described to described second storage unit described in previous embodiment, as shown in Figure 8, the information processing method that the present embodiment is recorded, comprises the following steps:
Step 801, determines the first subelement storing described second data in described second storage unit, and described first subelement is the minimum unit storing data in described second storage unit.
Step 802, successively in described second data that determined first subelement write is corresponding with the 3rd capacity of presetting, until described second data write is complete.
Wherein, the described capacity preset the 3rd capacity and be less than described first subelement.
Also be just say, when each first subelement is write, not disposable first subelement can be write full by storage space, but by the second data interlacing stored in the first subelement, like this, can the write number of times of balanced each first subelement, avoid subelement to write the unbalanced situation of wearing and tearing, improve the serviceable life of electronic equipment.
Here it is to be noted: the description in following electronic equipment embodiment, it is similar for describing with said method, and the beneficial effect with method describes, and does not repeat.For the ins and outs do not disclosed in electronic equipment embodiment of the present invention, please refer to the description of the inventive method embodiment.
Embodiment nine
The present embodiment records a kind of electronic equipment, and as shown in Figure 9, described electronic equipment comprises the first storage unit 91, second storage unit 92 and input block 93;
Wherein, the readwrite performance parameter of described first storage unit 91 is higher than the readwrite performance parameter of described second storage unit 92, and described second storage unit 92 is non-volatile memory cells;
Described electronic equipment also comprises: acquiring unit 94, detecting unit 95 and control module 96; Wherein,
Acquiring unit 94, for obtaining the first triggering command;
Obtain the first data by described input block 93, described first data are stored to described first storage unit 91;
Detecting unit 95, for detecting the first capacity of described first storage unit 91 correspondence, generates the first testing result, and described first capacity is the presently used capacity of described first storage unit 91;
Control module 96, for when described first capacity of described first testing result sign exceedes described first threshold, by the second data conversion storage storage to described second storage unit 92; Wherein, the data of the first ratio are preset in the first data that described second data store for described second storage unit 92.
In practical application, described acquiring unit 94, described detecting unit 95, described control module 96 can be realized by the microprocessor in electronic equipment; Described input block 93 can be realized by the input bus in electronic equipment.
Embodiment ten
The present embodiment records a kind of electronic equipment, and as shown in Figure 10, described electronic equipment comprises the first storage unit 1001, second storage unit 1002 and input block 1003;
Wherein, the readwrite performance parameter of described first storage unit 1001 is higher than the readwrite performance parameter of the described second unit stored, and described second storage unit 1002 is non-volatile memory cells;
Described electronic equipment also comprises: acquiring unit 1004, detecting unit 1005 and control module 1006; Wherein,
Described acquiring unit 1004, for obtaining the first triggering command;
Obtain the first data by described input block 1003, described first data are stored to described first storage unit 1001;
Described detecting unit 1005, for detecting the first capacity of described first storage unit 1001 correspondence, generates the first testing result, and described first capacity is the presently used capacity of described first storage unit 1001;
Described control module 1006, for when described first capacity of described first testing result sign exceedes described first threshold, by the second data conversion storage storage to described second storage unit 1002; Wherein, the data of the first ratio are preset in the first data that described second data store for described second storage unit 1002.
Wherein, described detecting unit 1005, also for detecting the load of described first storage unit 1001, generates the second testing result;
Described control module 1006, also for when the load of described first storage unit 1001 of described second testing result sign is lower than described Second Threshold, by described second data conversion storage storage to described second storage unit 1002.
Wherein, described detecting unit 1005, also for detecting the operating frequency of the first data that described first storage unit 1001 stores, described operating frequency characterizes the frequency that described first data are written into and/or are read;
Based on detected operating frequency, obtain described second data; Wherein, described second data are the data that in the first data of described first storage unit 1001 storage, operating frequency is minimum.
Wherein, described electronic equipment also comprises output unit 1007;
Described acquiring unit 1004, also for obtaining the second triggering command, described second triggering command is used to indicate the first data to be read;
Described control module 1006, also for inquiring about described first data to be read from described first storage unit 1001; When not inquiring described first data to be read in described first storage unit 1001, inquire about described first data to be read in described second storage unit 1002; The first data inquired are sent to described output unit 1007.
Wherein, described electronic equipment also comprises the 3rd storage unit 1008, and the readwrite performance parameter of described 3rd storage unit 1008 is higher than the readwrite performance parameter of described second storage unit 1002;
Described detecting unit 1005, also for detecting the operating frequency of the first data in described first storage unit 1001;
Based on detected operating frequency, obtain the 3rd data, described 3rd data are that preset the second ratio in the first data of described first storage unit 1001 storage, that operating frequency is the highest data;
Described control module 1006, also for storing up to described 3rd storage unit 1008 by described 3rd data conversion storage; Wherein, described second data and the capacity shared by described 3rd data are not less than the difference of described first capacity and described first threshold.
Wherein, described detecting unit 1005, also for detecting the second capacity of described 3rd storage unit 1008 correspondence, generate the 3rd testing result, described second capacity is the presently used capacity of described 3rd storage unit 1008;
Described control module 1006, also for when described second capacity of described 3rd testing result sign exceedes described 3rd threshold value, by the 4th data conversion storage storage to described second storage unit 1002, in the first data that described 4th data store for described 3rd storage unit 1008, preset the data of the 3rd ratio.
Wherein, described control module 1006, also for inquiring about described first data to be read in described 3rd storage unit 1008;
When not inquiring described first data to be read in described 3rd storage unit 1008, inquire the operation of described first data to be read in described second storage unit 1002.
Wherein, described control module 1006, also for determining the first subelement storing described second data in described second storage unit 1002, described first subelement is the minimum unit storing data in described second storage unit 1002;
Successively in described second data that determined first subelement write is corresponding with the 3rd capacity of presetting, until described second data write is complete; Wherein, the described capacity preset the 3rd capacity and be less than described first subelement.
In practical application, described acquiring unit 1004, described detecting unit 1005, described control module 1006 can be realized by the microprocessor in electronic equipment; Described input block 1003 can be realized by the input bus in electronic equipment; Described output unit 1007 can be realized by the output bus in electronic equipment.
In several embodiment provided by the present invention, should be understood that, disclosed equipment and method, can realize by another way.Apparatus embodiments described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can be ignored, or do not perform.In addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, also can be distributed in multiple network element; Part or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can all be integrated in a processing unit, also can be each unit individually as a unit, also can two or more unit in a unit integrated; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: mobile electronic device, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
Or, if the above-mentioned integrated unit of the present invention using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: mobile electronic device, ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (16)

1. an information processing method, be applied in an electronic equipment, described electronic equipment comprises the first storage unit, the second storage unit and input block, wherein, the readwrite performance parameter of described first storage unit is higher than the readwrite performance parameter of described second storage unit, and described second storage unit is non-volatile memory cells; Described method comprises:
Obtain the first triggering command;
Obtain the first data by described input block, described first data are stored to described first storage unit;
Detect the first capacity that described first storage unit is corresponding, generate the first testing result, described first capacity is the presently used capacity of described first storage unit;
When described first capacity of described first testing result sign exceedes first threshold, by the second data conversion storage storage to described second storage unit; Wherein, the data of the first ratio are preset in the first data that described second data store for described second storage unit.
2. method according to claim 1, is characterized in that, described by before the second data conversion storage storage to described second storage unit, described method also comprises:
Detect the load of described first storage unit, generate the second testing result;
When the load of described first storage unit of described second testing result sign is lower than Second Threshold, by described second data conversion storage storage to described second storage unit.
3. method according to claim 1, is characterized in that, described the second data batchmove in first storage unit is stored to described second storage unit before, described method also comprises:
Detect the operating frequency of the first data of described first cell stores, described operating frequency characterizes the frequency that described first data are written into and/or are read;
Based on detected operating frequency, obtain described second data; Wherein, described second data are the data that in the first data of described first cell stores, operating frequency is minimum.
4. method according to claim 1, is characterized in that, described electronic equipment also comprises output unit; Described method also comprises:
Obtain the second triggering command, described second triggering command is used to indicate the first data to be read;
From the first data to be read described in described first storage unit query;
When not when described first storage unit query is to described first data to be read, the first data to be read described in described second storage unit query;
The first data inquired are sent to described output unit.
5. method according to claim 4, is characterized in that, described electronic equipment also comprises the 3rd storage unit, and the readwrite performance parameter of described 3rd storage unit is higher than the readwrite performance parameter of described second storage unit;
Correspondingly, described method also comprises:
Detect the operating frequency of the first data in described first storage unit;
Based on detected operating frequency, obtain the 3rd data, described 3rd data are that preset the second ratio in the first data of described first cell stores, that operating frequency is the highest data;
By described 3rd data conversion storage storage to described 3rd storage unit; Wherein,
Described second data and the capacity shared by described 3rd data are not less than the difference of described first capacity and described first threshold.
6. method according to claim 5, is characterized in that, described method also comprises:
Detect the second capacity that described 3rd storage unit is corresponding, generate the 3rd testing result, described second capacity is the presently used capacity of described 3rd storage unit;
When described 3rd testing result characterizes described second capacity more than the 3rd threshold value, by the 4th data conversion storage storage to described second storage unit, in the first data that described 4th data store for described 3rd storage unit, preset the data of the 3rd ratio.
7. method according to claim 6, is characterized in that, described before described second storage unit query to described first data to be read, described method also comprises:
First data to be read described in described 3rd storage unit query;
When not when described 3rd storage unit query is to described first data to be read, perform described in the operation of described second storage unit query to described first data to be read.
8. the method according to any one of claim 1 to 7, is characterized in that, described second storage unit comprises more than one the first subelement, and described first subelement is the minimum unit storing data in described second storage unit;
Correspondingly, described by the second data conversion storage storage extremely described second storage unit in the first storage unit, comprising:
Determine the first subelement storing described second data in described second storage unit, successively in described second data that determined first subelement write is corresponding with the 3rd capacity of presetting, until described second data write is complete; Wherein, the described capacity preset the 3rd capacity and be less than described first subelement.
9. an electronic equipment, described electronic equipment comprises the first storage unit, the second storage unit and input block;
Wherein, the readwrite performance parameter of described first storage unit is higher than the readwrite performance parameter of described second storage unit, and described second storage unit is non-volatile memory cells;
Described electronic equipment also comprises: acquiring unit, detecting unit and control module; Wherein,
Described acquiring unit, for obtaining the first triggering command;
Obtain the first data by described input block, described first data are stored to described first storage unit;
Described detecting unit, for detecting the first capacity corresponding to described first storage unit, generates the first testing result, and described first capacity is the presently used capacity of described first storage unit;
Described control module, for when described first capacity of described first testing result sign exceedes first threshold, by the second data conversion storage storage to described second storage unit; Wherein, the data of the first ratio are preset in the first data that described second data store for described second storage unit.
10. electronic equipment according to claim 9, is characterized in that,
Described detecting unit, also for detecting the load of described first storage unit, generates the second testing result;
Described control module, also for when the load of described first storage unit of described second testing result sign is lower than Second Threshold, by described second data conversion storage storage to described second storage unit.
11. electronic equipments according to claim 9, is characterized in that,
Described detecting unit, also for detecting the operating frequency of the first data of described first cell stores, described operating frequency characterizes the frequency that described first data are written into and/or are read;
Based on detected operating frequency, obtain described second data; Wherein, described second data are the data that in the first data of described first cell stores, operating frequency is minimum.
12. electronic equipments according to claim 9, is characterized in that, described electronic equipment also comprises output unit;
Described acquiring unit, also for obtaining the second triggering command, described second triggering command is used to indicate the first data to be read;
Described control module, also for from the first data to be read described in described first storage unit query;
When not when described first storage unit query is to described first data to be read, the first data to be read described in described second storage unit query;
The first data inquired are sent to described output unit.
13. electronic equipments according to claim 12, is characterized in that, described electronic equipment also comprises the 3rd storage unit, and the readwrite performance parameter of described 3rd storage unit is higher than the readwrite performance parameter of described second storage unit;
Described detecting unit, also for detecting the operating frequency of the first data in described first storage unit;
Based on detected operating frequency, obtain the 3rd data, described 3rd data are that preset the second ratio in the first data of described first cell stores, that operating frequency is the highest data;
Described control module, also for storing up to described 3rd storage unit by described 3rd data conversion storage; Wherein,
Described second data and the capacity shared by described 3rd data are not less than the difference of described first capacity and described first threshold.
14. electronic equipments according to claim 13, is characterized in that,
Described detecting unit, also for detecting the second capacity corresponding to described 3rd storage unit, generate the 3rd testing result, described second capacity is the presently used capacity of described 3rd storage unit;
Described control module, also for when described 3rd testing result characterizes described second capacity more than the 3rd threshold value, by the 4th data conversion storage storage to described second storage unit, in the first data that described 4th data store for described 3rd storage unit, preset the data of the 3rd ratio.
15. electronic equipments according to claim 14, is characterized in that,
Described control module, also for the first data to be read described in described 3rd storage unit query;
When not when described 3rd storage unit query is to described first data to be read, in the operation of described second storage unit query to described first data to be read.
16. electronic equipments according to any one of claim 9 to 15, is characterized in that,
Described second storage unit comprises more than one the first subelement, and described first subelement is the minimum unit storing data in described second storage unit;
Described control module, also for determining the first subelement storing described second data in described second storage unit;
Successively in described second data that determined first subelement write is corresponding with the 3rd capacity of presetting, until described second data write is complete; Wherein, the described capacity preset the 3rd capacity and be less than described first subelement.
CN201410099359.9A 2014-03-17 2014-03-17 Information processing method and electronic equipment Active CN104932830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410099359.9A CN104932830B (en) 2014-03-17 2014-03-17 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410099359.9A CN104932830B (en) 2014-03-17 2014-03-17 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104932830A true CN104932830A (en) 2015-09-23
CN104932830B CN104932830B (en) 2019-01-15

Family

ID=54120011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410099359.9A Active CN104932830B (en) 2014-03-17 2014-03-17 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104932830B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608625A (en) * 2017-08-11 2018-01-19 记忆科技(深圳)有限公司 A kind of method for lifting solid storage device reading performance
CN110083095A (en) * 2019-04-29 2019-08-02 贵州贵谷农业股份有限公司 A kind of greenhouse control system of local update model
CN110209357A (en) * 2019-06-04 2019-09-06 深圳忆联信息***有限公司 Improve method, apparatus, computer equipment and the storage medium of the big file write performance of SSD
CN111142807A (en) * 2020-04-08 2020-05-12 上海飞旗网络技术股份有限公司 Storage optimization method and device based on storage address traversal
CN111562880A (en) * 2019-02-14 2020-08-21 英韧科技(上海)有限公司 Data storage device, system and data writing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101563A (en) * 2007-07-23 2008-01-09 清华大学 Migration management based on massive data classified memory system
CN101777028A (en) * 2010-01-21 2010-07-14 北京北大众志微***科技有限责任公司 Realization method and device of mixed secondary storage system
CN102117248A (en) * 2011-03-09 2011-07-06 浪潮(北京)电子信息产业有限公司 Caching system and method for caching data in caching system
CN103095805A (en) * 2012-12-20 2013-05-08 江苏辰云信息科技有限公司 Cloud storage system of data intelligent and decentralized management
CN103400598A (en) * 2007-08-14 2013-11-20 三星电子株式会社 Solid state memory, computer system including same, and method of operating same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101563A (en) * 2007-07-23 2008-01-09 清华大学 Migration management based on massive data classified memory system
CN103400598A (en) * 2007-08-14 2013-11-20 三星电子株式会社 Solid state memory, computer system including same, and method of operating same
CN101777028A (en) * 2010-01-21 2010-07-14 北京北大众志微***科技有限责任公司 Realization method and device of mixed secondary storage system
CN102117248A (en) * 2011-03-09 2011-07-06 浪潮(北京)电子信息产业有限公司 Caching system and method for caching data in caching system
CN103095805A (en) * 2012-12-20 2013-05-08 江苏辰云信息科技有限公司 Cloud storage system of data intelligent and decentralized management

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608625A (en) * 2017-08-11 2018-01-19 记忆科技(深圳)有限公司 A kind of method for lifting solid storage device reading performance
CN107608625B (en) * 2017-08-11 2020-09-11 记忆科技(深圳)有限公司 Method for improving reading performance of fixed storage equipment
CN111562880A (en) * 2019-02-14 2020-08-21 英韧科技(上海)有限公司 Data storage device, system and data writing method
US11188245B2 (en) 2019-02-14 2021-11-30 Innogrit Technologies Co., Ltd. Data storage device, system, and data writing method
CN110083095A (en) * 2019-04-29 2019-08-02 贵州贵谷农业股份有限公司 A kind of greenhouse control system of local update model
CN110209357A (en) * 2019-06-04 2019-09-06 深圳忆联信息***有限公司 Improve method, apparatus, computer equipment and the storage medium of the big file write performance of SSD
CN111142807A (en) * 2020-04-08 2020-05-12 上海飞旗网络技术股份有限公司 Storage optimization method and device based on storage address traversal

Also Published As

Publication number Publication date
CN104932830B (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN101777026B (en) Memory management method, hard disk and memory system
EP2811392B1 (en) Method and device for reducing read delay
KR20180121794A (en) MEMORY DEVICE AND ITSELF METHOD AND ELECTRONIC SYSTEM CONTAINING DYNAMIC SUPERBLOCK
CN106462500A (en) Apparatuses and methods for performing wear leveling operations
CN104932830A (en) Information processing method and electronic device
CN105487823A (en) Data migration method and device
CN101419842A (en) Loss equalizing method, apparatus and system for hard disc
CN105573681A (en) Method and system for establishing RAID in SSD
CN103064804B (en) The access control method of data in magnetic disk and device
CN103534688A (en) Data recovery method, storage equipment and storage system
CN111651371B (en) Asymmetric plane management method, data storage device and controller thereof
CN103942151A (en) Data storage method and device for flash memory
CN103218274A (en) Failure accumulation preventing method and solid state disk
CN101719099A (en) Method and device for reducing write amplification of solid state disk
EP3336702B1 (en) Metadata recovery method and device
CN103984506A (en) Method and system for data writing of flash memory storage equipment
CN105550122A (en) Data processing method, storage device and electronic device
CN103530206B (en) A kind of method and apparatus of date restoring
CN103092765A (en) Solid state storage system, solid state storage device and data writing method
CN109256166A (en) The method for deleting and flash memories of flash memories
CN105867850A (en) Information adjusting method and electronic equipment
CN104375944A (en) Method and device for storing data
CN103699340A (en) Request processing method and equipment
CN104035886B (en) Disk remaps method, apparatus and electronic equipment
CN103631682A (en) Data backup implement method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant