CN106201346B - A kind of data processing method and storage equipment - Google Patents
A kind of data processing method and storage equipment Download PDFInfo
- Publication number
- CN106201346B CN106201346B CN201610509986.4A CN201610509986A CN106201346B CN 106201346 B CN106201346 B CN 106201346B CN 201610509986 A CN201610509986 A CN 201610509986A CN 106201346 B CN106201346 B CN 106201346B
- Authority
- CN
- China
- Prior art keywords
- data
- target storage
- written
- domain
- storage domain
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0608—Saving storage space on storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/064—Management of blocks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
This application provides a kind of data processing method and storage equipment, and data processing method includes: that the target storage domain of data to be written is determined when receiving data to be written;Target storage domain is detected, the first testing result is obtained, the first testing result characterizes the attributive character in target storage domain;Write operation when attributive character meets preset condition, with the first strategy execution to target storage domain;Write operation when attributive character is unsatisfactory for preset condition, with the second strategy execution to target storage domain.Regardless of the attributive character in target storage domain, i.e., the memory block for being regardless of target storage domain also when bad memory block, data processing method provided by the present application and storage equipment can be written into data write-in target storage domain, this utilizes memory block bad in storage equipment, the memory space for storing equipment is extended, and the utilization rate of storage equipment is substantially increased.
Description
Technical field
The present invention relates to data processing field, more particularly to a kind of data processing method and storage equipment.
Background technique
The type of storage equipment, which has, much has a kind of memory space for storing equipment to carry out in the form of data block one by one
It divides, for example, SSD (Solid State Drives, solid state hard disk).It, can be with when using such storage equipment
It is repeatedly erasable to be stored in different data to the progress of its data block, and as storage equipment uses the extension of time, data block
Erasable number also gradually increases, correspondingly, the number of bad block also gradually increases in storage equipment.Wherein, bad block, which refers to, is reading and writing
System discovery is marked as the data not being available since certain data blocks generate the error in data that can not be corrected in the process
Block, that is to say, that after a certain data block is marked as bad block, system will not recycle labeled bad block to carry out storing data.
Due to storing the limited storage space of equipment, as bad number of blocks is more and more in storage equipment, accordingly
, the data volume that storage equipment can store is also fewer and fewer.Therefore, how using the bad block in storage equipment, to ensure to deposit
The memory space for storing up equipment becomes those skilled in the art's technical problem urgently to be resolved.
Summary of the invention
In view of this, being deposited in the prior art the present invention provides a kind of data processing method and storage equipment to solve
It stores up in equipment that bad number of blocks is more and more, leads to store the data volume that can store of equipment also fewer and fewer problem, technology
Scheme is as follows:
A kind of data processing method, which is characterized in that this method comprises:
When receiving data to be written, the target storage domain of the data to be written is determined;
The target storage domain is detected, the first testing result is obtained, first testing result characterizes the target and deposits
The attributive character in storage area domain;
When the attributive character meets preset condition, the write-in in the target storage domain is grasped with the first strategy execution
Make;
When the attributive character is unsatisfactory for the preset condition, the target storage domain is executed with the second strategy and is write
Enter operation.
Wherein, the target storage domain is detected, the first testing result is obtained, comprising:
The reading writing information in the target storage domain is detected, obtains and the read-write that the target storage domain is written and read is joined
Number.
Wherein, it is specific to meet preset condition for the attributive character in the target storage domain of the first testing result characterization
Are as follows:
Preset value is greater than to the read-write parameter that the target storage domain is written and read.
Wherein, the write operation with the first strategy execution to the storage region, comprising:
It is written in the target storage domain by the first default backup quantity identical as the described first default backup quantity
The data to be written of number;
It is described that write operation is executed to the target storage domain with the second strategy, comprising:
It is written in the target storage domain and the second backup quantity equal parts by the second default backup quantity
The data to be written;
Wherein, the described first default backup quantity is greater than the described second default backup quantity.
Preferably, the data processing method further include:
When being read out to the data that the target storage domain is written with first strategy, by the first default verification
Digit carries out error correction to the data;
When being read out to the data that the target storage domain is written with second strategy, by the second default verification
Digit carries out error correction to the data;
Wherein, the described first default verification digit is greater than the described second default verification digit.
Preferably, the data to be written are the data that reading times are less than preset times in preset period of time.
Preferably, the data processing method further include:
During reading and writing data to the target storage domain, the error in data that if it happens can not be corrected then will
The target storage domain identifier is unavailable storage region.
A kind of storage equipment, comprising: controller and storage unit;
The storage unit, for storing data;
The controller, for determining the number to be written from the storage unit when receiving data to be written
According to target storage domain, detect the target storage domain, obtain the first testing result, first testing result characterizes institute
State the attributive character in target storage domain;When the attributive character meets preset condition, with the first strategy execution to the mesh
Mark the write operation of storage region;When the attributive character is unsatisfactory for the preset condition, with the second strategy execution to described
The write operation in target storage domain.
Wherein, the controller in the detection target storage domain, is specifically used for detecting the target storage
The reading writing information in domain obtains the read-write parameter being written and read to the target storage domain.
Wherein, it is specific to meet preset condition for the attributive character in the target storage domain of the first testing result characterization
Are as follows: preset value is greater than to the read-write parameter that the target storage domain is written and read.
Wherein, it is described with the first strategy execution to the controller of the write operation of the storage region, be specifically used for
The institute with the described first default backup quantity equal parts is written in the target storage domain by the first default backup quantity
State data to be written;
The controller for executing write operation to the target storage domain with the second strategy, is specifically used for by the
Two default backup quantity are written described to be written with the second backup quantity equal parts in the target storage domain
Data;
Wherein, the described first default backup quantity is greater than the described second default backup quantity.
Preferably, the controller is also used to the data that the target storage domain is written with first strategy
When being read out, error correction is carried out to the data by the first default verification digit, is also used to be written to second strategy
When the data in the target storage domain are read out, error correction is carried out to the data by the second default verification digit;Wherein, institute
It states the first default verification digit and is greater than the described second default verification digit.
Preferably, the data to be written are the data that reading times are less than preset times in preset period of time.
Preferably, the controller is also used to reading and writing data to the target storage domain of the storage unit
In the process, the target storage domain identifier is then unavailable storage region by the error in data that if it happens can not be corrected.
Above-mentioned technical proposal has the following beneficial effects:
Data processing method provided by the invention and storage equipment are able to detect to be written when receiving data to be written
The attributive character for entering the target storage domain of data can determine the write-in policy to data to be written based on the attributive character, tool
Body, if attributive character meets preset condition, write operation by the first strategy execution to target storage domain, conversely,
Write operation by second strategy execution different from the first strategy to target storage domain, it can be seen that, regardless of target stores
The attributive character in region is how, that is, the memory block for being regardless of target storage domain also when bad memory block, it is provided by the invention
Data processing method and storage equipment can be written into data write-in target storage domain, this to store bad in equipment deposit
Storage block is utilized, i.e. the memory space of storage equipment is extended, and substantially increases the utilization rate of storage equipment.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a flow diagram of data processing method provided in an embodiment of the present invention;
Fig. 2 is another flow diagram of data processing method provided in an embodiment of the present invention;
Fig. 3 is a structural schematic diagram of storage equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of data processing methods, are applied to a storage equipment, referring to Fig. 1, showing
The flow diagram of this method, this method may include:
Step S101: when receiving data to be written, the target storage domain of data to be written is determined.
Wherein, data to be written can with but be not limited to preset private data, be also possible to read in preset period of time time
The data that several data for being less than preset times, as user are rarely employed.
Step S102: detection target storage domain obtains the first testing result.
Wherein, the attributive character in the first testing result characterization target storage domain.Specifically, detection target storage domain,
Obtain the first testing result, comprising: the reading writing information in detection target storage domain, what acquisition was written and read target storage domain
Read and write parameter.
Step S103a: the write-in when attributive character meets preset condition, with the first strategy execution to target storage domain
Operation.
Wherein, the attributive character in the target storage domain of the first testing result characterization meets preset condition specifically: to mesh
The read-write parameter that mark storage region is written and read is greater than preset value, for example, read-write parameter is the read-write time to target storage domain
Number shows that target storage domain is bad memory block if being greater than preset times to the read-write number in target storage domain, then with
Write operation of first strategy execution to storage region.
Step S103b: when attributive character is unsatisfactory for preset condition, target storage domain is write with the second strategy execution
Enter operation.
Wherein, the attributive character in the target storage domain of the first testing result characterization meets preset condition specifically: to mesh
The read-write parameter that mark storage region is written and read is less than or equal to preset value, for example, read-write parameter is the read-write to target area
Number shows the memory block of target storage domain preferably if read-write number is less than or equal to preset times, then with the second strategy
Execute the write operation to storage region.
Data processing method provided in an embodiment of the present invention is able to detect number to be written when receiving data to be written
According to target storage domain attributive character, the write-in policy to data to be written can determine based on the attributive character, specifically,
If attributive character meets preset condition, write operation by the first strategy execution to target storage domain, conversely, by with the
Write operation of the second different strategy execution of one strategy to target storage domain, it can be seen that, regardless of target storage domain
Attributive character is how, that is, the memory block for being regardless of target storage domain also when bad memory block, the embodiment of the present invention can general
Target storage domain is written in data to be written, this utilizes memory block bad in storage equipment, that is, stores depositing for equipment
Storage space is extended, and the utilization rate of storage equipment is substantially increased.
Referring to Fig. 2, showing the flow diagram of another data processing method provided in an embodiment of the present invention, application
Equipment is stored in one, this method may include:
Step S201: when receiving data to be written, the target storage domain of data to be written is determined.
Wherein, data to be written can with but be not limited to preset private data, be also possible to read in preset period of time time
The data that several data for being less than preset times, as user are rarely employed.
Step S202: detection target storage domain obtains the first testing result.
Wherein, the attributive character in the first testing result characterization target storage domain.Specifically, detection target storage domain,
Obtain the first testing result, comprising: the reading writing information in detection target storage domain, what acquisition was written and read target storage domain
Read and write parameter.
Step S203a: when attributive character meets preset condition, the write-in of storage region is grasped with the first strategy execution
Make.
Wherein, the attributive character in the target storage domain of the first testing result characterization meets preset condition specifically: to mesh
The read-write parameter that mark storage region is written and read is greater than preset value, for example, read-write parameter is the read-write time to target storage domain
Number is greater than preset times if it is the read-write number to target storage domain, shows that target storage domain is bad memory block, then
Write operation with the first strategy execution to storage region.
Step S204a: when being read out to the data with the first strategy write-in target storage domain, by the first default school
It tests digit and error correction is carried out to data.
Step S203b: when attributive character is unsatisfactory for preset condition, write-in is executed to target storage domain with the second strategy
Operation.
Wherein, the attributive character in the target storage domain of the first testing result characterization is unsatisfactory for preset condition specifically: right
The read-write parameter that target storage domain is written and read is less than or equal to preset value, for example, read-write parameter is to target storage domain
Read-write number, if read-write number be less than or equal to preset times, target storage domain is write with the first strategy execution
Enter operation.
It should be noted that before executing write operation to target storage domain, if be stored in the domain of target storage
Data then need first to wipe the data in the domain of target storage.
Step S204b: when being read out to the data with the second strategy write-in target storage domain, by the second default school
It tests digit and error correction is carried out to data.
Wherein, the first default check bit is greater than the second default check bit.
In the present embodiment, when the read-write parameter in target storage domain is greater than preset value, show that target storage domain is
The memory block of block, the write operation with the first strategy execution to storage region at this time, specifically, existing by the first default backup quantity
The data to be written with the first default backup quantity equal parts are written in the domain of target storage, that is, are written into data in target
More parts are written in storage region.Illustratively, data to be written are x, are written into data in target storage domain and are written five parts,
Assuming that the data read out are x, x, x, y, x, then this digital display should be so that x is equivalent to data in this way
Read error carried out error correction.
When the read-write number in target storage domain is less than or equal to preset value, show the storage of target storage domain preferably
Block executes write operation to target storage domain with the second strategy at this time, specifically, depositing by the second default backup quantity in target
The data to be written with the second backup quantity equal parts are written in storage area domain, wherein the second default backup quantity is less than second
Default backup quantity.That is, being normally written when target storage domain memory block preferably, without being used in target storage
The data of more part are written in domain.
Writing process in the case of two kinds of comparison it can be found that the embodiment of the present invention to the data being written in bad memory block
The mode of the i.e. prepare more part of data redundancy is taken to be written, this makes, when being read out to the data in write-in target storage domain,
Correct data can therefrom be picked out.
In addition, in order to improve error correction effect when reading data, being write compared to the second strategy when carrying out reading data
For the data for entering target storage domain, the embodiment of the present invention is to the data with the first strategy write-in target storage domain using more
More check bit carries out error correction to data.Illustratively, write-in read-write number is less than or equal in the storage region of preset value
Data when being read out, i.e., when reading data from good memory block, carry out error correction using bit check bit up to a hundred, and to writing
Enter to read and write number greater than preset value storage region in data be read out when, i.e., from bad memory block read data when,
Error correction is carried out using more check bit, to obtain better error correction effect.
In the present embodiment, if target storage domain be attributive character be greater than preset value storage region, to
During data are read and write in target storage domain, the error in data that if it happens can not be corrected, then by target storage domain identifier
Its read-write data is re-used subsequent that is, if being bad memory block before the domain of target storage for unavailable storage region,
If it further degenerates, the storage region is not recycled.
Data processing method provided by the invention is able to detect the mesh of data to be written when receiving data to be written
The attributive character for marking storage region, can determine the write-in policy to data to be written based on the attributive character, specifically, if belonging to
Property feature meet preset condition, then press write operation of first strategy execution to target storage domain, conversely, press and first strategy
Write operation of the second different strategy executions to target storage domain, it can be seen that, regardless of the attribute in target storage domain is special
Sign is how, that is, the memory block for being regardless of target storage domain also when bad memory block, storage equipment provided by the invention can
It is written into data write-in target storage domain, this utilizes memory block bad in storage equipment, that is, stores equipment
Memory space is extended, and the utilization rate of storage equipment is substantially increased.
The embodiment of the invention also provides a kind of storage equipment, but referring to Fig. 3, show the structural representation of the storage equipment
Figure, comprising: controller 301 and storage unit 302.Wherein:
Storage unit 302, for storing data.
Controller 301, for determining the mesh of data to be written from storage unit 302 when receiving data to be written
Storage region is marked, target storage domain is detected, obtains the first testing result, the first testing result characterizes the category in target storage domain
Property feature;When the attributive character in target storage domain meets preset condition, with the first strategy execution to target storage domain
Write operation;When the attributive character in target storage domain is unsatisfactory for preset condition, target storage domain is held with the second strategy
Row write operation.
Storage equipment provided in an embodiment of the present invention is able to detect data to be written when receiving data to be written
The attributive character in target storage domain can determine the write-in policy to data to be written based on the attributive character, specifically, if
Attributive character meets preset condition, then presses write operation of first strategy execution to target storage domain, conversely, pressing and the first plan
Write operation of the second slightly different strategy executions to target storage domain, it can be seen that, regardless of the attribute in target storage domain
Feature is how, that is, the memory block for being regardless of target storage domain also when bad memory block, storage provided in an embodiment of the present invention
Equipment can be written into data write-in target storage domain, this utilizes memory block bad in storage equipment, that is, deposits
The memory space of storage equipment is extended, and the utilization rate of storage equipment is substantially increased.
In storage equipment provided by the above embodiment, the controller in target storage domain is detected, is specifically used for detection mesh
The reading writing information of storage region is marked, the read-write parameter being written and read to target storage domain is obtained.
In storage equipment provided by the above embodiment, the attributive character in the target storage domain of the first testing result characterization
Meet preset condition specifically: preset value is greater than to the read-write parameter that target storage domain is written and read.
Control in storage equipment provided by the above embodiment, with the first strategy execution to the write operation of storage region
Device, specifically for being written in the domain of target storage and the first default backup quantity equal parts by the first default backup quantity
Data to be written.
In storage equipment provided by the above embodiment, the control of write operation is executed to target storage domain with the second strategy
Device processed, specifically for being written in the domain of target storage and the institute of the second backup quantity equal parts by the second default backup quantity
State data to be written.
Wherein, the first default backup quantity is greater than the described second default backup quantity.
In storage equipment provided by the above embodiment, controller is also used to the first strategy write-in target storage
When the data in region are read out, error correction is carried out to data by the first default verification digit, is also used to write to the second strategy
When entering the data in target storage domain and being read out, error correction is carried out to the data by the second default verification digit.Wherein, first
Default check bit is greater than the second default check bit.
Preferably, data to be written are the data that reading times are less than preset times in preset period of time.
In storage equipment provided by the above embodiment, controller is also used in the target storage domain to storage unit
During reading and writing data, target storage domain identifier is then unavailable storage by the error in data that if it happens can not be corrected
Region.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
In several embodiments provided herein, it should be understood that disclosed method, apparatus and equipment, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be by some communication interfaces, between device or unit
Coupling or communication connection are connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.In addition, the functional units in various embodiments of the present invention may be integrated into one processing unit, it is also possible to each
Unit physically exists alone, and can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (12)
1. a kind of data processing method, which is characterized in that this method comprises:
When receiving data to be written, the target storage domain of the data to be written is determined;
The target storage domain is detected, the first testing result is obtained, first testing result characterizes the target storage
The attributive character in domain;
Write operation when the attributive character meets preset condition, with the first strategy execution to the target storage domain;
The write operation with the first strategy execution to the storage region, comprising: by the first default backup quantity in the target
The data to be written with the described first default backup quantity equal parts are written in storage region;
Write-in when the attributive character is unsatisfactory for the preset condition, with the second strategy execution to the target storage domain
Operation;It is described that write operation is executed to the target storage domain with the second strategy, comprising: by the second default backup quantity in institute
State the data to be written being written in the domain of target storage with the described second default backup quantity equal parts;Wherein, described
First default backup quantity is greater than the described second default backup quantity.
2. data processing method according to claim 1, which is characterized in that detect the target storage domain, obtain the
One testing result, comprising:
The reading writing information in the target storage domain is detected, the read-write parameter being written and read to the target storage domain is obtained.
3. data processing method according to claim 2, which is characterized in that the mesh of the first testing result characterization
The attributive character of mark storage region meets preset condition specifically:
Preset value is greater than to the read-write parameter that the target storage domain is written and read.
4. data processing method described in any one of -3 according to claim 1, which is characterized in that the method also includes:
When being read out to the data that the target storage domain is written with first strategy, by the first default verification digit
Error correction is carried out to the data;
When being read out to the data that the target storage domain is written with second strategy, by the second default verification digit
Error correction is carried out to the data;
Wherein, the described first default verification digit is greater than the described second default verification digit.
5. data processing method according to claim 1, which is characterized in that the data to be written are to read in preset period of time
Number is taken to be less than the data of preset times.
6. data processing method according to claim 1, which is characterized in that the method also includes:
During reading and writing data to the target storage domain, the error in data that if it happens can not be corrected then will be described
Target storage domain identifier is unavailable storage region.
7. a kind of storage equipment characterized by comprising controller and storage unit;
The storage unit, for storing data;
The controller, for determining the data to be written from the storage unit when receiving data to be written
The target storage domain is detected in target storage domain, obtains the first testing result, and first testing result characterizes the mesh
Mark the attributive character of storage region;When the attributive character meets preset condition, the target is deposited with the first strategy execution
The write operation in storage area domain;When the attributive character is unsatisfactory for the preset condition, with the second strategy execution to the target
The write operation of storage region;
It is described with the first strategy execution to the controller of the write operation of the storage region, be specifically used for default by first
The number to be written with the described first default backup quantity equal parts is written in backup quantity in the target storage domain
According to;
The controller for executing write operation to the target storage domain with the second strategy, is specifically used for pre- by second
Equipment number amount is written described to be written with the described second default backup quantity equal parts in the target storage domain
Data;Wherein, the described first default backup quantity is greater than the described second default backup quantity.
8. storage equipment according to claim 7, which is characterized in that the control in the detection target storage domain
Device processed, specifically for detecting the reading writing information in the target storage domain, what acquisition was written and read the target storage domain
Read and write parameter.
9. storage equipment according to claim 8, which is characterized in that the target of the first testing result characterization is deposited
The attributive character in storage area domain meets preset condition specifically: is greater than to the read-write parameter that the target storage domain is written and read pre-
If value.
10. the storage equipment according to any one of claim 7-9, which is characterized in that the controller is also used to
When being read out to the data that the target storage domain is written with first strategy, by the first default verification digit to described
Data carry out error correction, are also used to press when being read out the data that the target storage domain is written with second strategy
Second default verification digit carries out error correction to the data;Wherein, it is default to be greater than described second for the described first default verification digit
Verify digit.
11. storage equipment according to claim 7, which is characterized in that the data to be written are to read in preset period of time
Number is less than the data of preset times.
12. storage equipment according to claim 7, which is characterized in that the controller is also used to single to the storage
During the target storage domain read-write data of member, the error in data that if it happens can not be corrected, then by the target
Storage region is identified as unavailable storage region.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610509986.4A CN106201346B (en) | 2016-06-30 | 2016-06-30 | A kind of data processing method and storage equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610509986.4A CN106201346B (en) | 2016-06-30 | 2016-06-30 | A kind of data processing method and storage equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106201346A CN106201346A (en) | 2016-12-07 |
CN106201346B true CN106201346B (en) | 2019-06-25 |
Family
ID=57462844
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610509986.4A Active CN106201346B (en) | 2016-06-30 | 2016-06-30 | A kind of data processing method and storage equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106201346B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144770B (en) * | 2018-08-02 | 2020-11-20 | 联想(北京)有限公司 | Data processing method and device of storage system |
KR20200054600A (en) * | 2018-11-12 | 2020-05-20 | 삼성전자주식회사 | Method of operating storage device, storage device performing the same and storage system including the same |
CN110597469A (en) * | 2019-10-23 | 2019-12-20 | Oppo广东移动通信有限公司 | Storage partition write protection method and device and computer readable storage medium |
CN114415961B (en) * | 2022-01-21 | 2023-10-27 | 珠海奔图电子有限公司 | Bad block processing method of Nand flash memory, electronic equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6000039A (en) * | 1991-04-01 | 1999-12-07 | Hitachi, Ltd. | Data reconstruction method and system wherein timing of data reconstruction is controlled in accordance with conditions when a failure occurs |
US6728913B1 (en) * | 2000-02-25 | 2004-04-27 | Advanced Micro Devices, Inc. | Data recycling in memory |
CN103257830A (en) * | 2012-02-17 | 2013-08-21 | 联想(北京)有限公司 | Storage cell accessing method and storage cell |
US8527722B1 (en) * | 2012-04-24 | 2013-09-03 | Hitachi, Ltd. | Selecting a snapshot method based on cache memory consumption |
US8589646B2 (en) * | 2009-10-13 | 2013-11-19 | Fujitsu Limited | Storage apparatus and method for storage apparatus |
CN103514096A (en) * | 2012-06-18 | 2014-01-15 | 群联电子股份有限公司 | Data storage method, memory controller and memory storage device |
US8767467B2 (en) * | 2011-06-21 | 2014-07-01 | Micron Technology, Inc. | In-field block retiring |
CN105095101A (en) * | 2015-08-03 | 2015-11-25 | 昆腾微电子股份有限公司 | Method and device for writing data in memorizer and intelligent card |
CN105224254A (en) * | 2015-09-29 | 2016-01-06 | 联想(北京)有限公司 | A kind of data processing method and electronic equipment |
CN105373350A (en) * | 2015-11-23 | 2016-03-02 | 联想(北京)有限公司 | Data management method and device |
CN105630705A (en) * | 2015-06-10 | 2016-06-01 | 上海磁宇信息科技有限公司 | Data storage device and read-write method applying block replacement table |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008250695A (en) * | 2007-03-30 | 2008-10-16 | Nec Corp | Disk array controller and disk array system therewith |
US8447915B2 (en) * | 2009-07-23 | 2013-05-21 | Hitachi, Ltd. | Flash memory device for allocating physical blocks to logical blocks based on an erase count |
-
2016
- 2016-06-30 CN CN201610509986.4A patent/CN106201346B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6000039A (en) * | 1991-04-01 | 1999-12-07 | Hitachi, Ltd. | Data reconstruction method and system wherein timing of data reconstruction is controlled in accordance with conditions when a failure occurs |
US6728913B1 (en) * | 2000-02-25 | 2004-04-27 | Advanced Micro Devices, Inc. | Data recycling in memory |
US8589646B2 (en) * | 2009-10-13 | 2013-11-19 | Fujitsu Limited | Storage apparatus and method for storage apparatus |
US8767467B2 (en) * | 2011-06-21 | 2014-07-01 | Micron Technology, Inc. | In-field block retiring |
CN103257830A (en) * | 2012-02-17 | 2013-08-21 | 联想(北京)有限公司 | Storage cell accessing method and storage cell |
US8527722B1 (en) * | 2012-04-24 | 2013-09-03 | Hitachi, Ltd. | Selecting a snapshot method based on cache memory consumption |
CN103514096A (en) * | 2012-06-18 | 2014-01-15 | 群联电子股份有限公司 | Data storage method, memory controller and memory storage device |
CN105630705A (en) * | 2015-06-10 | 2016-06-01 | 上海磁宇信息科技有限公司 | Data storage device and read-write method applying block replacement table |
CN105095101A (en) * | 2015-08-03 | 2015-11-25 | 昆腾微电子股份有限公司 | Method and device for writing data in memorizer and intelligent card |
CN105224254A (en) * | 2015-09-29 | 2016-01-06 | 联想(北京)有限公司 | A kind of data processing method and electronic equipment |
CN105373350A (en) * | 2015-11-23 | 2016-03-02 | 联想(北京)有限公司 | Data management method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106201346A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106201346B (en) | A kind of data processing method and storage equipment | |
CN103559054B (en) | Realization, delet method and the device of intelligent terminal multi-operation system | |
CN106201659B (en) | A kind of method and host of live migration of virtual machine | |
CN106708968B (en) | Data processing method in distributed data base system and distributed data base system | |
CN106873908B (en) | Date storage method and device | |
CN103229151A (en) | Partition extension method and device | |
US11231854B2 (en) | Methods and apparatus for estimating the wear of a non-volatile memory | |
CN109753443A (en) | A kind of data processing method, device and electronic equipment | |
CN110007858B (en) | Storage space allocation method and device | |
CN107678906B (en) | Hard disk management method and system | |
CN107368426B (en) | Test method and test device | |
CN108170366A (en) | Storage medium management method, device and storage device in storage device | |
CN110209357A (en) | Improve method, apparatus, computer equipment and the storage medium of the big file write performance of SSD | |
CN105094811A (en) | Method can device for processing events | |
CN114022148B (en) | Transaction conflict detection method, device, equipment and storage medium based on block chain | |
CN106326014A (en) | Resource access method and device | |
CN110858122B (en) | Method and device for storing data | |
CN108595514A (en) | Electronic order processing method and processing device | |
CN108255928A (en) | Distributed system method for reading data and device | |
US20170222886A1 (en) | Metering storage usage | |
CN107203451A (en) | Method and apparatus for handling failure within the storage system | |
CN107659652A (en) | A kind of method and device of cloud backup | |
CN110032474B (en) | Method, system and related components for determining snapshot occupied capacity | |
CN104657216A (en) | Resource allocation method and device for resource pool | |
CN110750521A (en) | Data migration method, device and equipment and computer readable storage medium |
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 |