Data processing method and storage equipment
Technical field
The present invention relates to memory technology more particularly to a kind of data processing method and storage equipment.
Background technique
Solid state hard disk (SSD) is also increasing with the extension for using the time, the erasing times of storage unit (Memory Cell)
Long, certain storage units may reach the upper limit of service life, but the control unit in solid state hard disk can not know this
Situation causes control unit to be possible to these storage units to carry out data update jointly with normal storage unit and move,
This service life that will lead to these storage units accelerates termination, and then leads to the decline of the capacity of solid state hard disk;If these are stored
The quantity rapid growth of unit (storage unit that service life will terminate) also will lead to the snowslide decline of SSD performance, make solid
State hard disk is quickly scrapped.
Currently in order to being consistent the service life of storage unit in solid state hard disk as far as possible, common practice then passes through
Abrasion equilibrium is suitable to keep the erasing times of storage unit;The problem is that:
On the one hand, the case where this method has no idea that the service life of certain storage units is avoided to use up in a short time
(such as erasing times apart from nominal value farther out when storage unit service life just terminate, this may be raw due to NAND particle
Production. art and other reasons causes), when storage unit is read and write and wiped, ECC error correction index may be dominant higher;
On the other hand, abrasion equilibrium would generally carry out the data content in storage unit the operation such as to move, to using the longevity
Order the storage unit and normal storage unit equivalent processes that will be terminated, it is clear that the service life that will further speed up storage unit is whole
The speed of knot.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method and storage equipment, is capable of the abrasion of balanced storage unit, keeps away
The service life for exempting from partial memory cell uses up the performance for influencing storage equipment in advance.
The technical solution of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of data processing method, which comprises
The status information of at least one storage unit in detection storage equipment;
The status information for parsing at least one storage unit, based on the status information at least one described storage
Unit is marked;
Label based at least one storage unit and the feature to operation data, control at least one described in being directed to
The data operation request of storage unit.
The embodiment of the present invention provides a kind of storage equipment, and the storage equipment includes:
Storage unit, for storing data;
Control unit, for detecting the status information of at least one storage unit;
The status information for parsing at least one storage unit, based on the status information at least one described storage
Unit is marked;
Label based at least one storage unit and the feature to operation data, control at least one described in being directed to
The data operation request of storage unit.
In the embodiment of the present invention, data operation request is directed to and the spy to operation data based on the label of storage unit
Corresponding storage unit is levied, to control in the rank of storage unit data operation request, the difference of storage unit
Status information be corresponding with different labels, by the oriented control to data operation request realize storage unit state believe
Breath reaches unanimity, that is, realizes the abrasion equilibrium of the storage unit in storage equipment, avoids the shape of partial memory cell
State information is continuous worsening to be caused to store the not available situation of equipment.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram one of data processing method in the embodiment of the present invention;
Fig. 2 is the implementation process schematic diagram two of data processing method in the embodiment of the present invention;
Fig. 3 is the implementation process schematic diagram three of data processing method in the embodiment of the present invention;
Fig. 4 is the implementation process schematic diagram four of data processing method in the embodiment of the present invention;
Fig. 5 is the structural schematic diagram that equipment is stored in the embodiment of the present invention.
Specific embodiment
Invention is further described in detail in the following with reference to the drawings and specific embodiments.
The technical solution that the embodiment of the present invention is recorded is applied to storage equipment, and storage equipment can be solid state hard disk and machinery
Hard disk, the storage particle that wherein solid state hard disk uses can for single layer cell (SLC, Single Layer Cell single layer cell),
(MLC, Multi-Level Cell multilevel-cell) or 3BIT unit (TLC, Trinary-Level Cell);Mechanical hard disk can be with
Using the storage organization of single magnetic disk, double magnetic disks or more magnetic disks;
In the embodiment of the present invention as shown in Figure 1, in the main control unit detection storage equipment of step 101 storage equipment at least
The status information of one storage unit;The status information of at least one storage unit in parsing storage equipment in a step 102,
At least one storage unit in storage equipment is marked based on the status information of at least one storage unit;In step
In 103, label based at least one storage unit and feature (such as the data to be read or to be stored to operation data
Data), control is directed to the data operation request of at least one storage unit;Such as can the label based on storage unit by data
Operation requests are directed to storage unit corresponding with the feature to operation data, to grasp in the rank of storage unit to data
Make request to be controlled, the different status informations of storage unit are corresponding with different labels, by data operation request
Oriented control realizes reaching unanimity for the status information of storage unit, that is, realizes and store the storage unit in equipment
Abrasion equilibrium avoids the status information of partial memory cell is continuous worsening from causing to store the not available situation of equipment.
Storage equipment based on above-mentioned record proposes various embodiments of the present invention.
Embodiment one
As shown in Fig. 2, the data processing method that the present embodiment is recorded includes:
Step 201, detection stores the status information of at least one storage unit in equipment.
The status information for storing equipment includes at least one following information: the error checking and correction of storage unit (ECC,
Error Correcting Code) information;The erasing times that storage unit is supported;The reading of storage unit and erasing error correction
Historical information.
Storage unit can be the physical division of storage medium, can also be the logical partitioning of storage medium;Storage unit can
With using the minimum memory unit in storage equipment, by taking SSD as an example, storage unit can use page (4KB), naturally it is also possible to
Using the integral multiple of page capacity;By taking mechanical hard disk as an example, storage unit can be the capacity of a sector (sector), generally
For 4KB, naturally it is also possible to using the integral multiple of sector capacity.
Step 202, parsing stores the status information of at least one storage unit in equipment, based on status information at least one
A storage unit is marked.
The label of storage unit can be written into the memory space of each storage unit, such as be encoded using specific format
Symbol or number (such as binary number combinatorics on words) characterize different labels, by the corresponding write-in of the label of each storage unit
Into the starting memory space of storage unit (of course, it is possible to carry depositing for particular memory space such as last several of storage unit
Store up in space), depending on marking required memory space to make the type of label;The label of storage unit also can be written into storage and set
In standby specific storage unit, that is, the storage unit for the label made an appointment for storing each storage unit, and by each storage
The label of unit is unified to be written, this label for being conducive to quickly search storage unit is preferably stored and respectively deposited in equipment
The label of storage unit is uniformly written in storage unit in the normal storage unit of status information, and so-called status information is normally
Refer to, determines that the erasable number that storage unit is supported is higher than erasable frequency threshold value based on the status information of storage unit, to avoid
The damage of storage unit leads to the label loss for storing each storage unit in equipment.
Due to label characterization be storage unit different status informations, can be using quantitatively or qualitatively marking
To describe the status information of storage unit;For using quantitative label, the state of storage unit can use from 10 to 100
Member in arithmetic sequence usually indicates that, wherein 100 indicate the state optimization of storage unit, the state of 10 mark storage units is most
Difference;
For using qualitatively label, it can be believed using health and the unhealthy state to describe a storage unit
Breath;Certainly, the status information of storage unit can also be described using multiple qualitative labels, such as using normal, dangerous, high-risk and
Damage is to describe, wherein normally indicating that storage unit supports reading, write-in and the erasing operation of normal frequency;Danger indicates storage
The erasable number that unit is supported is lower than normal value, cannot support the erasing and write-in of normal frequency, can only support that frequency is lower
Erasing and write-in;The high-risk erasable number for indicating storage unit support cannot support the erasing of data close to critical value (such as zero)
And write-in, it can only support the reading of data;Damage indicates that storage unit cannot use.
Step 203, it treats operation data to be analyzed, determines the feature to operation data.
The data operation request that storage equipment receives indicates the data for needing to operate namely to operation data, Yi Jicao
The type (including reading, deletion and write-in) of work;Feature to operation data include to operation data operating frequency (characterization to
The cold and hot degree of operation data) and to operation data type, that is, to operation data be to need the data read, need to delete
The data that the data removed still need to be written;Wherein, the historical operation request of the data response stored in storage unit is carried out
Analysis, can determine the operating frequency to operation data that needs are written, as a certain in stored in one or more storage units
The frequency that data block (can correspond to a file) is read.
Step 204, based on the feature to operation data, the corresponding relationship to operation data and at least one label is established.
As an example, when operation data is data to be read, the feature to operation data can be storage
The operating frequency of the data stored in the storage unit of equipment, correspondingly, the different features to operation data can using with
The label (such as 1-10) of the quantization of storage unit corresponds to, wherein 10 indicate the state optimization of storage units, while indicating to be associated with
The operating frequency highest (dsc data as frequently read) to operation data;1 indicates that the state of storage unit is worst, simultaneously
Indicate that the associated operating frequency to operation data is minimum (cold data as read once in a while).
Equally, when operation data is data to be written, the feature to operation data can depositing for storage equipment
The operating frequency of the data stored in storage unit, correspondingly, the different features to operation data can use and storage unit
The label (such as 1-10) of quantization correspond to, wherein 10 indicate the state optimization of storage units, while indicating to operation data
Operating frequency highest (as frequently writes into the dsc data to modify), and 1 indicates that the state of storage unit is worst, indicates simultaneously
The associated operating frequency to operation data is minimum (cold data to modify as is written once in a while).
As an example, when operation data is data to be read, the feature to operation data can be storage
The operating frequency of the data stored in the storage unit of equipment, correspondingly, the different features to operation data can using with
The qualitative of storage unit marks (normal, dangerous, high-risk as the aforementioned and damage) to correspond to, wherein normal expression stores single
The state optimization of member, while indicating the operating frequency highest (dsc data as frequently read) to operation data;Danger indicates
The state of storage unit is worst, while indicating minimum (the cold number as read once in a while of the associated operating frequency to operation data
According to);
Equally, when operation data is data to be written, the feature to operation data can depositing for storage equipment
The operating frequency of the data stored in storage unit, correspondingly, the different features to operation data can use and storage unit
Qualitative label (as the aforementioned normal, dangerous, high-risk and damage) correspond to, wherein the normal state of expression storage unit
It is optimal, while indicating the operating frequency highest (as frequently writing into the dsc data to modify) to operation data, high-risk table
Show that the state of storage unit is worst, at the same indicate the associated operating frequency to operation data it is minimum (be as written once in a while with into
The cold data of row modification).
Step 205, at least one storage with the characteristic matching to operation data is chosen based on the corresponding relationship
Unit responds the data operation request using at least one selected storage unit.
It is corresponding with step 204, when the feature and qualitative label when operation data is data to be read, to operation data
10 pairs can choose storage to storage unit response data operation requests operation data and labeled as 10 when corresponding;Wait operate
When data are data to be read, and when feature of data to be read is corresponding with qualitative 1 pair of label, can be chosen and be stored with wait grasp
Make storage unit response data operation requests data and labeled as 1 (or being greater than 1);
When to operation data be data to be written, and when the feature of operation data with qualitatively mark normally to it is corresponding when
It can choose and be requested labeled as the processing of normal free memory locations response data.
By the way that the label of storage unit is corresponding with the feature of pending data in the present embodiment, actually by storage unit
To the tenability of data operation request from it is different corresponding to operation data, can accurately be determined prop up using corresponding relationship in this way
Hold and treat the storage unit that the data processing request of operation data is responded, so as to avoid choose do not have to treat operation
The storage unit (as labeled as 1, damage or high-risk storage unit) that the data processing request of data is responded is responded,
It avoids the service life for not having the storage unit responded to the data processing request for treating operation data acceleration from using up, reaches
The effect (namely realizing abrasion equilibrium) balanced to the status information made between storage unit, while ensure that data processing
The response performance of request.
Embodiment two
As shown in figure 3, the data processing method that the present embodiment is recorded includes:
Step 301, detection stores the status information of at least one storage unit in equipment.
The status information for storing equipment includes at least one following information: the error checking and correction of storage unit (ECC,
Error Correcting Code) information;The erasing times that storage unit is supported;The reading of storage unit and erasing error correction
Historical information.
Step 302, parsing stores the status information of at least one storage unit in equipment, based on status information at least one
A storage unit is marked.
The label of storage unit can be written into the memory space of each storage unit, such as be encoded using specific format
Symbol or number (such as binary number combinatorics on words) characterize different labels, by the corresponding write-in of the label of each storage unit
Into the starting memory space of storage unit (of course, it is possible to carry depositing for particular memory space such as last several of storage unit
Store up in space), depending on marking required memory space to make the type of label;The label of storage unit also can be written into storage and set
In standby specific storage unit, that is, the storage unit for the label made an appointment for storing each storage unit, and by each storage
The label of unit is unified to be written, this label for being conducive to quickly search storage unit is preferably stored and respectively deposited in equipment
The label of storage unit is uniformly written in storage unit in the normal storage unit of status information, and so-called status information is normally
Refer to, determines that the erasable number that storage unit is supported is higher than erasable frequency threshold value based on the status information of storage unit, to avoid
The damage of storage unit leads to the label loss for storing each storage unit in equipment.
Due to label characterization be storage unit different status informations, can be using quantitatively or qualitatively marking
To describe the status information of storage unit;For using quantitative label, the state of storage unit can use from 10 to 100
Member in arithmetic sequence usually indicates that, wherein 100 indicate the state optimization of storage unit, the state of 10 mark storage units is most
Difference;
For using qualitatively label, it can be believed using health and the unhealthy state to describe a storage unit
Breath;Certainly, the status information of storage unit can also be described using multiple qualitative labels, such as using normal, dangerous, high-risk and
Damage is to describe, wherein normally indicating that storage unit supports reading, write-in and the erasing operation of normal frequency;Danger indicates storage
The erasable number that unit is supported is lower than normal value, cannot support the erasing and write-in of normal frequency, can only support that frequency is lower
Erasing and write-in;The high-risk erasable number for indicating storage unit support cannot support the erasing of data close to critical value (such as zero)
And write-in, it can only support the reading of data;Damage indicates that storage unit cannot use.
Step 303, it treats operation data to be analyzed, determines the feature to operation data.
The data operation request that storage equipment receives indicates the data for needing to operate namely to operation data and operation
Type (including reading, deletion and write-in);Feature to operation data includes (characterizing wait grasp to the operating frequency of operation data
Make the cold and hot degree of data) and to operation data type, that is, to operation data be to need the data read, need to delete
The data data that still need to be written;Wherein, the historical operation request of the data response stored in storage unit is divided
Analysis, can determine the operating frequency to operation data that needs are written, such as a certain number stored in one or more storage units
The frequency being read according to block (file can be corresponded to).
Step 304, it based on the action type feature and/or operating frequency feature to operation data, determines with described wait grasp
Make operation grade corresponding to data.
The type of the corresponding data operation request of action type characteristic present to operation data, including including reading, deleting
It removes and is written;Operating frequency characteristic present to operation data is operated to operation data, and (as read, or updating property is write
Enter) frequency;
Binding operation type feature and operating frequency feature being capable of quantization signifying different type (data of such as read-only property, more
The data of new property write-in) operating frequency (namely cold and hot degree), the operation grade to operation data is known as in the present embodiment;
Wherein, operation grade can be using the operating frequency to operation data for describing corresponding types to qualitative mode
(such as dsc data, cold data, high cold data), wherein dsc data, cold data, high cold data characterize the operating frequency to operation data
Successively reduce;Operation grade can also using quantify by the way of describe corresponding types to operation data operating frequency (such as 1 to
Arbitrary element in 10 arithmetic sequence), wherein 1 indicates that the operating frequency to operation data is minimum (such as to the behaviour of operation data
It is read-only for making type feature, then is the minimum data of reading frequency to operation data);10 indicate the operating frequency to operation data
Highest (being such as read-only to the action type feature of operation data, be then the highest data of reading frequency to operation data).
Step 305, the label of corresponding grade is determined based on the operation grade to operation data.
Mark grade that can correspond with operation grade, also, the label of the operation data of different operation grade is corresponding
Grade it is different;
As an example, when operation data is data to be read, the operation grade to operation data can be adopted
With the operating frequency quantization means (1-10 as the aforementioned) of data stored in the storage unit of storage equipment, correspondingly, wait grasp
The operation grade (such as 1-10) for making the quantization of data can be corresponded with the label (such as 1-10) of the quantization of storage unit,
In, 10 indicate storage units state optimization, while indicate it is associated to operation data operation grade highest (namely operation frequency
Rate highest, the dsc data as frequently read);1 indicates that the state of storage unit is worst, while indicating associated to operation data
Operation grade it is minimum (namely operating frequency is minimum, for the high cold data read once in a while).
Equally, when operation data is data to be written, the operation grade to operation data can be set using storage
The operating frequency quantization means (1-10 as the aforementioned) of the data stored in standby storage unit, correspondingly, needless to say operation data
Operation grade can come with the label (such as 1-10) of the quantization of storage unit it is corresponding, wherein 10 indicate storage units state
It is optimal, while indicating operation grade highest (namely the frequency highest, to frequently write into the hot number to modify to operation data
According to), 1 indicates that the state of storage unit is worst, while indicating that the associated operation grade to operation data is minimum and (as writing once in a while
Enter the high cold data to modify).
As an example, when operation data is data to be read, the operation grade to operation data can be
Store operating frequency qualitative representation (dsc data as the aforementioned, cold data, the high cold number of the data stored in the storage unit of equipment
According to), correspondingly, the different operation grades to operation data can with the qualitative label of storage unit (as the aforementioned it is normal,
It is dangerous, high-risk) it corresponds;Corresponding relationship is as follows:
Dsc data |
Cold data |
High cold data |
Normally |
It is dangerous |
It is high-risk |
Table 1
Wherein, the state optimization of storage unit is normally indicated, while normal corresponding high fever data characterization waits for operation data
Operating frequency highest (dsc data as frequently read);Danger indicates that the state of storage unit is worst, while corresponding height
Cold data indicates that the associated operating frequency to operation data is minimum (the high cold data as read once in a while);
Equally, when operation data is data to be written, the operation grade to operation data can be storage equipment
Storage unit in the operating frequency of data that stores, correspondingly, the different features to operation data can use and storage
The qualitative of unit marks (normal as the aforementioned, dangerous, high-risk, wherein the storage unit damaged cannot use) to correspond to,
In, the normal state optimization for indicating storage unit, while corresponding high fever data indicate the operating frequency highest to operation data
(as frequently writing into the dsc data to modify), the high-risk state for indicating storage unit is worst, while the corresponding cold number of height
It is minimum (the high cold data to modify as is written once in a while) according to the associated operating frequency to operation data of expression.
Step 306, at least one storage with the characteristic matching to operation data is chosen based on the corresponding relationship
Unit responds the data operation request using at least one selected storage unit.
It is real by the way that the different grades of label of storage unit is corresponding with the operation grade of pending data in the present embodiment
It is on border that storage unit is corresponding to the tenability of data operation request and the different operation grades to operation data, it is sharp in this way
It can accurately be determined with corresponding relationship and support to treat the storage unit that the data processing request of operation data is responded, to keep away
Exempt from selection and does not have the storage unit treating the data processing request of operation data and being responded (as labeled as 1, damage or height
The storage unit of danger) it is responded, avoid not having the storage list responded to the data processing request for treating operation data
Member service life acceleration use up, achieve the effect that make the status information between storage unit balance (namely realize abrasion
Weighing apparatus), while ensure that the response performance to data processing request.
Embodiment three
The data to operation data that storage unit with high-level label can not only respond respective operations rank are grasped
It requests, data operation request (such as the response cold data, height lower than respective operations rank to operation data can also be responded
The corresponding data operation request of cold data);
And the storage unit with low level label can only support the data manipulation to operation data of corresponding corresponding level
Request, cannot respond the data operation request higher than respective operations rank to operation data (such as cannot respond dsc data, height
The corresponding data operation request of dsc data), it is rapidly depleting to avoid the service life of storage unit.
The realization of two step 305 of embodiment is illustrated below based on above scheme.
As shown in figure 3, step 305 can be realized by following steps:
Step 401, at least one described storage unit is drawn using the label of at least one storage unit of the selection
It is divided into the grouping of different stage.
Wherein, the label of storage unit at least characterization storage unit supports the number of data erasing, that is, has reacted and deposited
The status information of storage unit.
As described in embodiment two, the grade of the label of different storage units is different, and the grade of label can use qualitative
Or quantitative mode is expressed as different grades, wherein the grouping of storage unit can with the grade mark one of storage unit
One is corresponding, it is of course also possible to be the grouping of the storage unit of the corresponding two neighboring or multiple grades label of a grouping;With storage
For the label of unit is indicated using above-mentioned qualitative label (normal, dangerous, high-risk as the aforementioned and damage), then storage is single
Member can be divided into normal packets, risk classification, high-risk grouping and damage grouping, as shown in the table:
Table 2
Step 402, according to the storage list of operation hierarchical selection corresponding level grouping corresponding to the feature to operation data
First response data operation requests.
Following two situation can be divided into:
1) when the characteristic present to operation data waits for that the operation grade of operation data is that low level (is set as first operation etc.
Grade) data when, choose with the grouping (groupings of same levels) of the first corresponding first level of operation grade and higher than institute
The storage unit for stating the grouping (high level grouping) of first level responds the data operation request;Wherein, described first etc.
Grade is the operation grade other than highest operation grade.
It is exemplified by Table 1, it is assumed that the operation grade to operation data corresponds to high cold data, and (corresponding first operates grade, most
Height operation grade is dsc data), the rank of grouping corresponding with high cold data operation grade is dangerous (corresponding first level),
The data operation request to operation data of storage unit response cold data operation grade of risk classification can exactly be chosen (such as
Read request), can also choose normal packets and risk classification storage unit respond high cold data operation grade to operand
According to data operation request (such as read request).
2) when the characteristic present to operation data waits for that the operation grade of operation data (is set as second operation etc. to be high-level
Grade, minimum operation grade are high cold data) when, it chooses the grouping of second level corresponding with the second operation grade and is higher than
The storage unit response data operation requests of the grouping of second level, data operation request includes data read request;Wherein, described
Second operation grade is the operation grade except minimum operation grade.
By taking the operation grade to operation data corresponds to dsc data (corresponding second operation grade) as an example, operated with dsc data
The rank of the corresponding grouping of grade is normal (corresponding second level), that is, can choose the storage unit response of normal packets
Dsc data operates the data operation request (such as read request) to operation data of grade, normally deposits since there is no being superior to
Storage unit grouping, therefore the data to operation data for only choosing the storage unit response dsc data operation grade of normal packets are grasped
Request (such as read request);If there is (such as there is excellent grouping), then it can choose excellent grouping and normal packets answer hot number
According to the data operation request (such as read request) to operation data of operation grade.
Storage unit is grouped by the label using storage unit, can be chosen and the operation grade pair to operation data
The storage unit of rank is answered to be grouped response data operation requests, also, the grouping of high level storage unit can respond corresponding behaviour
Make the data operation request to operation data of grade and lower operation grade, and the grouping of the storage unit of low level cannot be rung
The data operation request to operation data of high operation grade is answered, this can preferentially navigate to data operation request high-level
(corresponding erasable number normal) storage unit grouping, avoid erasable number from accelerating damage close to the storage unit grouping of critical value
It is bad, abrasion equilibrium is realized, ensure that the response performance to data operation request.
Example IV
The present embodiment records a kind of storage equipment, corresponding with the technical solution and beneficial effect that previous embodiment is recorded,
Details undisclosed for the present embodiment, referring to the record of previous embodiment.
As shown in figure 5, the storage equipment that the present embodiment is recorded includes:
Storage unit 200, for storing data;
Control unit 100, for detecting the status information of at least one storage unit 200;
The status information for parsing at least one storage unit 200, based on the status information to it is described at least one
Storage unit 200 is marked;
Label based at least one storage unit 200 and the feature to operation data, control for described at least
The data operation request of one storage unit 200.
As an example, described control unit 100 is also used to be analyzed to operation data described, determine it is described to
The feature of operation data;
Based on the feature to operation data, the corresponding pass to operation data and at least one label is established
System;
Choose that label is corresponding deposits at least one of the characteristic matching to operation data based on the corresponding relationship
Storage unit 200 responds the data operation request using at least one selected storage unit 200.
As an example, described control unit 100 be also used to based on the action type feature to operation data and/
Or operating frequency feature, it is determining and described to operation grade corresponding to operation data;Based on the operation to operation data
Grade determines the label of corresponding grade;Wherein, the corresponding grade of the label of the operation data of different operation grade is different.
As an example, described control unit 100 is also used to mark using at least one storage unit 200 of the selection
Note is divided into the grouping of different stage at least one described storage unit 200, wherein the label of the storage unit 200 is extremely
The number that the storage unit 200 supports data erasing is characterized less;According to operation corresponding to the feature to operation data
The storage unit 200 of hierarchical selection corresponding level grouping responds the data operation request.
As an example, described control unit 100 is also used to described in the characteristic present described in operation data wait grasp
When to make data be the first operation grade, choose with the grouping of the corresponding first level of the first operation grade and higher than institute
The storage unit 200 for stating the grouping of first level responds the data operation request;Wherein, described the first estate is highest operation
Operation grade other than grade.
As an example, described control unit 100 is also used to described in the characteristic present described in operation data wait grasp
Make when being in the second operation grade of data, chooses grouping, the Yi Jigao of second level corresponding with the second operation grade
The data operation request is responded in the storage unit 200 of the grouping of the second level, wherein described second, which operates grade, is
Operation grade except minimum operation grade.
Control unit 100 can be realized by such as processor of the main control chip in storage equipment or microprocessor;In practical application,
It is also provided with cache chip such as SRAM in storage equipment, for caching pending data, storage unit 200 can be by storing
Medium such as NAND Flash realizes that by taking NAND Flash as an example, the storage unit 200 recorded in the present embodiment can be page
(Page), block (Block), chip (Chip) or piece (Plane).
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only
Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or
The various media that can store program code such as person's CD.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product
When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with
It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention.
And storage medium above-mentioned includes: that movable storage device, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.