CN109460192A - A method of preventing solid state hard disk loss of data - Google Patents
A method of preventing solid state hard disk loss of data Download PDFInfo
- Publication number
- CN109460192A CN109460192A CN201811357453.4A CN201811357453A CN109460192A CN 109460192 A CN109460192 A CN 109460192A CN 201811357453 A CN201811357453 A CN 201811357453A CN 109460192 A CN109460192 A CN 109460192A
- Authority
- CN
- China
- Prior art keywords
- coupling
- data
- page
- written
- hard disk
- 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.)
- Pending
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/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- 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/0629—Configuration or reconfiguration of storage systems
- G06F3/0635—Configuration or reconfiguration of storage systems by changing the path, e.g. traffic rerouting, path reconfiguration
-
- 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
- G06F3/0683—Plurality of storage devices
- G06F3/0689—Disk arrays, e.g. RAID, JBOD
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)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The invention proposes more particularly to a kind of method for preventing solid state hard disk loss of data, writing mode is intersected using matrix by that will need to be written the data of multiple coupling physical pages in solid state hard disk, is respectively written into corresponding the multiple coupling physical page;Intersected using matrix form and be written, is always ensured that the coupling page of all pages in every raid-array protection set area all in respective different redundant array of inexpensive disk protection collection areas.The coupling page of all pages in each raid-array protection zone set couples all raid-array protection zone set at most only one intersection point belonging to the page with described.It may be implemented to lose the common low page data of multiple couplings due to caused by powered-off fault of solid state hard disk;Or multiple mistakes for coupling low page data loss due to caused by normal multiple page write errors carry out free correction and restore;Using full tunnel maximum effective bandwidth when can accomplish to be written solid state hard disk, the efficiency of write-in data is improved, and prevent solid state hard disk loss of data, improve the performance of solid state hard disk.
Description
Technical field
The present invention relates to technical field of memory more particularly to a kind of methods for preventing solid state hard disk loss of data.
Background technique
The development of NANDFlash (memory) is just intended to possess higher density, so in addition to the continuous renewal in technique
Outside, each Cell will also possess more bit numbers, i.e. MLC (Multi-LevelCell, multilevel-cell).But due to MLCFlash
Inherent technology characteristic because unexpected power down and caused by loss of data, be always that (SolidStateDisk, solid-state are hard by SSD
Disk) technology development in stubborn problem, and problem the most serious the most.Especially in enterprise-level product, this mistake is logical
It is often unacceptable.
Inside MLC, each cell unit can represent multiple bit values (modal value is 2), and this multiple bit value is point
Belong to multiple pages in a block.I.e. multiple pages actually have shared the cell unit of one group of physics.In shared one group of physics
The relationship of the page set of cell is the coupling page.By taking two coupling pages as an example, serial number it is small be properly termed as the low page, it is on the contrary
It is properly termed as the high page.
In system accident power down scene: the operation that system may read or write, the former is because there is no right
Hard disk itself causes data change, so having no effect.But the latter changes the electricity of a certain group of Cell of NAND due to being attempt to
Lotus quantity is to desired value.The unexpected generation of power down, leading to the variation of charge, there is no complete.It causes it and couples content of pages value
Mistake occurs.The phenomenon is powered-off fault, the low page of coupling for the high page for causing system to be currently written into system end presentation
Also there is mistake.To cause the loss of data that can not be retrieved.The considerations of nearly all solid state hard disk is due to performance requirement,
NAND pages multiple in NAND array face will be carried out being written simultaneously, this unexpected power down it will cause multiple high pages can not
It normally completes, the loss of data that can not restore so as to cause the low page of multiple correspondences.
The scene of loss of data under non-power-failure mode: when being normally written high page operation generation mistake, in addition to just
The mistake of the high page is written, couples low page data and is also lost simultaneously.In caching at this moment, previous page data by
It too far, and is correctly completed and is released already in apart from presently written point.So this mistake is also that can not restore.
RAID (RedundantArrayofIndependentDisk, raid-array) technology can be effectively extensive
Belong to the mistake of any one page among all pages in a RAID set again.General technology in present enterprise-level product
Scheme introduces the external hardware devices such as bulky capacitor mostly, is written to ensure while occurring that capacitances to supply power can be relied under power-down conditions
Correctly terminated with remaining presently written.There are three major issues for the first scheme: firstly, bulky capacitor is special due to its intrinsic decaying
Property, after a certain period of use time, capacitance can sharply decline, or even understand the 1/5 of insufficient initial stage.So the method for long-term
It is protected as powered-off fault and unreliable.Secondly as all by the way of NAND (flash memory) array parallel processing, in capacitor
Capacitance is also required to select huger value, usually all can be in farad rank.Instantly, the capacitance technology of farad rank is not very
Maturation, if consider further that above first the problem of, initial stage capacitance will be a very big problem, or even be unable to reach, furthermore
Capacitor element cost itself, volume are also all the problem of can not avoiding.Finally, for the second scene since write error is caused
Mistake, capacitor element is helpless.
In addition there are another One common solutions, to all pages that may be destroyed volume again in normal writing process
It looks for a backup again outside while being written.When an error occurs by the data retrieving of breaking-up from backup.Second scheme is equally deposited
In a problem: although the program can solve all problems as above, but be that backup is written simultaneously with original value at deficiency, directly make
It is lost at write performance, and writes amplification and increase, solid-state disk service life is caused to shorten.
In summary, the existing technology for preventing loss of data is in actual use, it is clear that there is inconvenient and defect, so
It is necessary to be improved.
Summary of the invention
For above-mentioned defect, the purpose of the present invention is to provide a kind of method for preventing solid state hard disk loss of data and its
Solid state hard disk improves the performance of solid state hard disk to prevent solid state hard disk loss of data.
To achieve the goals above, the present invention provides a kind of method for preventing solid state hard disk loss of data, the method packet
Include following steps:
Multiple data of multiple coupling physical pages in solid state hard disk will be needed to be written in such a way that matrix intersects write-in
It is respectively written into corresponding the multiple coupling physical page;
The multiple coupling physical page is belonging respectively to multiple and different raid-array protection zones.
It is described to use the multiple data for needing to be written multiple coupling physical pages in solid state hard disk according to the method
Include: before the step of matrix intersects writing mode, is respectively written into corresponding the multiple coupling physical page
According to the order that the solid state hard disk data are written, judgement needs to be written the coupling of the solid state hard disk of the data
Close the attribute of Physical Page;
It is described that the multiple data for needing to be written multiple coupling physical pages in solid state hard disk are intersected into write-in side using matrix
Formula, the step of being respectively written into corresponding the multiple coupling physical page include:
Determine that the path of the coupling physical page is written in the data according to the attribute of the coupling physical page;
According to the path, the coupling physical page is written into the data;
The attribute of the coupling physical page is to couple the high page or the low page of coupling;It is high that the coupling is written in the data
The path for coupling the low page is written in matrix cross-like with the data in the path of the page.
According to the method, the path that the high page of coupling is written in the data is that the coupling is written in the horizontal direction
Close the high page;
The path that the low page of the coupling is written in the data is that the path for coupling the high page is written with the data
The low page of the path direction write-in coupling at an angle;
And multiple data chunks where being written to multiple coupling physical pages in the data at matrix the right side
When the coupling physical page of inferior horn, the coupling physical page for returning to the upper left corner of the matrix continues to write to the data.
According to the method, described according to the order that the solid state hard disk data are written, judgement needs to be written the number
According to the solid state hard disk coupling physical page attribute the step of include:
It receives and instructs the coupling physical page that the solid state hard disk is written in the data;
The coupling physical page is searched according to described instruction;
Judge the attribute of the coupling physical page;
Include: after the described the step of solid state hard disk data are written according to the path
When the low page of the coupling occurs that the error in data is written, finding, which influences the low page of the coupling, is write
The multiple coupling pages for entering the error in data carry out raid-array error correction.
According to the method, a friendship is only included between the plurality of different raid-array protection zone
Point.
In order to realize another goal of the invention of the invention, the present invention also provides a kind of solid state hard disks, comprising:
Writing module, the data for that will need to be written multiple coupling physical pages in the solid state hard disk are handed over using matrix
Writing mode is pitched, corresponding the multiple coupling physical page is respectively written into;
The multiple coupling physical page is belonging respectively to multiple and different raid-array protection zones.
According to the solid state hard disk, the solid state hard disk further include:
Judgment module, for according to the order that the solid state hard disk data are written, judging that the solid-state for needing to be written is hard
The attribute of the coupling physical page of disk;
The write module includes:
Path determines submodule, for determining that the couplings are written in the data according to the attribute of the coupling physical page
Manage the path of page;
Submodule is written, for according to the path, the coupling physical page to be written in the data;
The attribute of the coupling physical page is to couple the high page or the low page of coupling;It is high that the coupling is written in the data
The path for coupling the low page is written in matrix cross-like with the data in the path of the page.
According to the solid state hard disk, the path of the high page of coupling is written as institute is written in the horizontal direction in the data
State the high page of coupling;
The path that the low page of the coupling is written in the data is that the path for coupling the high page is written with the data
The low page of the coupling is written at an angle;
And multiple data chunks where being written to multiple coupling physical pages in the data at matrix the right side
When the coupling physical page of inferior horn, the coupling physical page for returning to the upper left corner of the matrix continues to write to the data.
According to the solid state hard disk, the judgment module includes:
Receiving submodule, for receiving the coupling physical page instruction that the data are written to the solid state hard disk;
Submodule is searched, for searching the coupling physical page according to described instruction;
Judging submodule, for judging the attribute of the coupling physical page;
The solid state hard disk further include:
Correction module, for when the low page of the coupling occurs that the error in data is written, finding to influence the coupling
The low page is closed to occur that multiple coupling pages progress raid-array error correction of the error in data is written.
According to the solid state hard disk, one is only included between the plurality of different raid-array protection zone
A intersection point.
The present invention passes through the data that will need to be written multiple coupling physical pages in solid state hard disk using matrix intersection write-in
Mode is respectively written into corresponding the multiple coupling physical page;Intersected using matrix form and be written, is always ensured that every independent redundancy
The coupling page of all pages is all in respective different redundant array of inexpensive disk protection collection areas in disk array protection set area.
The coupling page of all pages in each raid-array protection zone set couples institute belonging to the page with described
There is raid-array protection zone set at most only one intersection point.It may be implemented to the common due to different of solid state hard disk
It is multiple caused by normal power down to couple low page data loss;Or it is more due to caused by normal multiple page write errors
It is a to couple the free correction recovery of mistake progress that low page data is lost;Nothing is additionally by risk, without being backed up in advance
Protection, and can accomplish to use full tunnel maximum effective bandwidth when write-in solid state hard disk, the efficiency of write-in data is improved, and
Solid state hard disk loss of data is prevented, the performance of solid state hard disk is improved.
Detailed description of the invention
Fig. 1 is the structural schematic diagram for the solid state hard disk that first embodiment of the invention provides;
Fig. 2 is the structural schematic diagram for the solid state hard disk that second embodiment of the invention provides;
Fig. 3 is the data write path schematic diagram of the solid state hard disk in one embodiment of the invention;
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Referring to Fig. 1, a kind of solid state hard disk 100 is provided in the first embodiment of the present invention, comprising:
Writing module 10, for that will need to be written the data of multiple coupling physical pages in solid state hard disk 100 using matrix
Intersect writing mode, is respectively written into corresponding the multiple coupling physical page;
The multiple coupling physical page is belonging respectively to multiple and different raid-array protection zones.
In this example, solid state hard disk 100, which has, is based on the distinctive protection mechanism of RAID, only by being spy to write sequence
Fixed matrix form arrangement reaches effective protection coupling physical page data, maintain 100 highest of solid state hard disk and effectively write bandwidth.
The data of plurality of coupling physical page intersect writing mode using matrix, and claimed risk zones are written using (x*x)
Matrix form.And the multiple coupling physical page is belonging respectively to multiple and different raid-array protection zones.Into
One step, an intersection point is at most only included between multiple and different raid-array protection zones.In this way, such as mutually
When the height page of coupling belongs to different protection zones, if mistake occurs for the data for coupling the low page, it can be passed through
The corresponding coupling page of his raid-array protection zone realizes the recovery of data, prevents the number of solid state hard disk 100
According to loss.
Referring to fig. 2, in the second embodiment of the present invention, solid state hard disk 100 further include:
Judgment module 20, for the order according to write-in 100 data of solid state hard disk, judgement needs to be written consolidating for the data
The attribute of the coupling physical page of state hard disk 100;
Writing module 10 includes:
Path determines submodule 11, for determining that the coupling is written in the data according to the attribute of the coupling physical page
The path of Physical Page;
Submodule 12 is written, for according to the path, the coupling physical page to be written in the data;
The attribute of the coupling physical page is to couple the high page or the low page of coupling;It is high that the coupling is written in the data
The path for coupling the low page is written in matrix cross-like with the data in the path of the page.
In this embodiment, judged by attribute of the judgment module 20 to the coupling physical page that data will be written,
When data are written in next step, can be written according to different attributes according to different predefined paths.For example, couple the high page and
The data write path of the low page is coupled in matrix cross-like, specific path setting can according to the different high page of coupling and
Couple the value volume and range of product setting of the low page.It may include many high pages of coupling and the low page of coupling in solid state hard disk 100
The write-in in face, these page datas can be according to the matrix writing mode of multiple lines and multiple rows.
Referring to Fig. 3, in this embodiment, including X data block, there are X data channel is written.The Dark grey page is coupling
Close the high page;The light grey page is to couple the low page.The path that the high page of coupling is written in the data is in the horizontal direction
The high page of coupling is written;The path that the low page of the coupling is written in the data is and data write-in is described couples height
The low page of the coupling is written in the path of the page at an angle;The certain angle can be 45 degree, high with specific reference to coupling
Matrix set by the total amount of the page and the low page of coupling determines.Where the data are written to multiple coupling physical pages
Multiple data chunks at matrix the lower right corner coupling physical page when, return to the coupling physical page in the upper left corner of the matrix
Continue to write to the data.
The path for coupling the high page is the high page of coupling to be written in the horizontal direction, and the low page of the coupling is written in data
The path in face is the path for coupling the high page to be written with the data the low page of the coupling is written at an angle;Then two
Person can belong to different raid-array protection zones.The low page can be made to couple since the unexpected data that occur are lost
After mistake, data are able to carry out recovery.
Receiving submodule 21, for receiving the coupling physical page instruction of data write-in solid state hard disk 100;
Submodule 22 is searched, for searching the coupling physical page according to described instruction;
Judging submodule 23, for judging the attribute of the coupling physical page.
In this embodiment, the coupling physical that the data are written to solid state hard disk 100 is received by receiving submodule 21
Then page instruction searches submodule 22 and searches the coupling physical for needing to be written data, judging submodule 23 according to the instruction
The attribute for then judging the coupling physical page such as belongs to the high page of coupling or the low page of coupling.
Solid state hard disk 100 further include:
Correction module 30, for finding described in influence when the low page of the coupling occurs that the error in data is written
The low page is coupled to occur that multiple coupling pages progress raid-array error correction of the error in data is written.It is low coupling
When the page occurs that the error in data is written, correction module 30 carries out data recovery by RAID technique, ensure that the complete of data
It becomes second nature, improves the performance that data are written in solid state hard disk 100.
The fourth embodiment of the present invention provides a kind of method for preventing solid state hard disk loss of data, and the method includes such as
Lower step:
In step S501, writing module 10 will need to be written multiple numbers of multiple coupling physical pages in solid state hard disk 100
Corresponding the multiple coupling physical page is respectively written into according in such a way that matrix intersects write-in;
The multiple coupling physical page is belonging respectively to multiple and different raid-array protection zones.
In this embodiment, it is to prevent the basis of 100 loss of data of solid state hard disk using RAID technique, only changes data and write
Fashionable mode can be well solved one or more coupling physical pages, such as couple the high page because unexpected power down or write-in are wrong
One or more coupling physical pages that mistake is caused such as couple the problem of low page data is lost.Compared with existing scheme, neither increase
Add hardware cost and its complicated power management module, and do not need to sacrifice write-in bandwidth, additional copy is carried out to risk area data,
Amplification is write in increase.Having taken into account reduces cost, reduces design complexities, maintains highest write performance, extend equipment life and
Efficiently solve defect as stated in the background art.
It include: order of the judgment module 20 according to write-in 100 data of solid state hard disk before step S501, judgement needs to be written
The attribute of the coupling physical page of the solid state hard disk 100 of the data;
Step S501 includes: that path determines that submodule 11 determines that the data are written according to the attribute of the coupling physical page
The path of the coupling physical page;The attribute of the coupling physical page is to couple the high page or the low page of coupling;And
Submodule 12 is written according to the path, the coupling physical page is written into the data;Institute is written in the data
It states and couples the path of the high page path for coupling the low page is written in matrix cross-like with the data.
In one embodiment of the invention, the road that the high page of coupling is written in the data is written in write-in submodule 12
Diameter is that the high page of coupling is written in the horizontal direction;The path that the low page of the coupling is written in the data is and the data
The low page of the path direction write-in coupling of the path of the high page of coupling at an angle is written;And in the data
Be written to multiple data chunks where multiple coupling physical pages at matrix the lower right corner coupling physical page when, return
The coupling physical page in the upper left corner of the matrix continues to write to the data.
Referring to Fig. 3, a kind of example that coupling page number is 2 is shown, the Dark grey page and the light grey page are each other in the figure
Couple the page.When being normally written: the Dark grey page is by horizontal direction as its protection zone RAID.The light grey page presses 45 degree of oblique lines
Direction carries out RAID protection.So encounter matrix limit be then returned to channel 1 continue it is downward along 45 degree.It only need to be according to when occurring mistake
According to faulty page, all pages of its influence are found, implements RAID error correction, then can restore data.
In judgment module 20 according to the order of write-in 100 data of solid state hard disk, judgement needs to be written the solid-state of the data
The step of attribute of the coupling physical page of hard disk 100 includes:
Receiving submodule 21, which receives, instructs the coupling physical page of data write-in solid state hard disk 100;
It searches submodule 22 and the coupling physical page is searched according to described instruction;
Judging submodule 23 judges the attribute of the coupling physical page.
Include: after the step of 100 data of solid state hard disk are written according to the path in submodule 12 is written
It is low to find the influence coupling when the low page of the coupling occurs that the error in data is written for correction module 30
Multiple coupling pages that the error in data occurs to be written for the page carry out raid-array error correction.
In this embodiment, any of protection solid state hard disk 100 NAND is realized using based on RAID method.It is solid currently
State hard disk becomes main trend already, and becomes the prerequisite function of enterprise-level product with the propulsion of NAND technique.When appoint
When one NAND particle is damaged, the data in solid state hard disk 100 still can be completely resumed as before.
For one provided by the invention when finding data write error, the implementation of raid-array error correction is carried out
Example, in this embodiment, there are two the pages coupled each other, wherein if coupling the low page in step S601 and mistake occurring;Step
In S602, the coupling page 1 for coupling the low page is gone to;In step S603, the RAID error correction of coupling page 1 is carried out;In step S604,
Go to the coupling page 2 for coupling the low page;In step S605, the RAID error correction of coupling page 2 is carried out.
In conclusion the present invention passes through the data that will need to be written multiple coupling physical pages in solid state hard disk using matrix
Intersect writing mode, is respectively written into corresponding the multiple coupling physical page;Intersected using matrix form and be written, is always ensured that every
The coupling page of all pages is all in respective different redundant array of inexpensive disk protection collection in raid-array protection set area
It closes in region.The coupling page of all pages in each raid-array protection zone set couples the page with described
Affiliated all raid-array protection zones set at most only one intersection point.It may be implemented to the normal of solid state hard disk
See that the low page data of multiple couplings due to caused by powered-off fault is lost;Or due to normal multiple page write errors and
Caused multiple mistakes for coupling low page data loss carry out free correction and restore;Nothing is additionally by risk, without prior
Using full tunnel maximum effective bandwidth when carrying out backup protection, and can accomplish to be written solid state hard disk, write-in data are improved
Efficiency, and solid state hard disk loss of data is prevented, improve the performance of solid state hard disk.
Certainly, the present invention can also have other various embodiments, without deviating from the spirit and substance of the present invention, ripe
It knows those skilled in the art and makes various corresponding changes and modifications, but these corresponding changes and change in accordance with the present invention
Shape all should fall within the scope of protection of the appended claims of the present invention.
Claims (10)
1. a kind of method for preventing solid state hard disk loss of data, which is characterized in that described method includes following steps: needs are write
The multiple data for entering multiple coupling physical pages in solid state hard disk are respectively written into corresponding institute in such a way that matrix intersects write-in
State multiple coupling physical pages;The multiple coupling physical page is belonging respectively to multiple and different raid-array protection zones
Domain.
2. the method according to claim 1, wherein described will need to be written multiple couplings in solid state hard disk
Before the step of multiple data of reason page intersect writing mode using matrix, are respectively written into corresponding the multiple coupling physical page
It include: according to the order that the solid state hard disk data are written, judgement needs to be written the coupling of the solid state hard disk of the data
The attribute of Physical Page;It is described to need to be written multiple data of multiple coupling physical pages in solid state hard disk using matrix cross-write
The step of entering mode, being respectively written into corresponding the multiple coupling physical page includes: true according to the attribute of the coupling physical page
The path of the coupling physical page is written in the fixed data;According to the path, the coupling physical page is written into the data;
The attribute of the coupling physical page is to couple the high page or the low page of coupling;The road of the high page of coupling is written in the data
The path for coupling the low page is written in matrix cross-like with the data in diameter.
3. according to the method described in claim 2, it is characterized in that, the path that the high page of coupling is written in the data is edge
The horizontal direction write-in high page of coupling;The path of the low page of the coupling is written as institute is written with the data in the data
It states and couples the low page of the path direction write-in coupling of the path of the high page at an angle;And it is written in the data
Multiple data chunks where multiple coupling physical pages at matrix the lower right corner coupling physical page when, return to the square
The coupling physical page in the upper left corner of battle array continues to write to the data.
4. according to the method described in claim 2, it is characterized in that, described according to the order that the solid state hard disk data are written,
Judge that the step of needing to be written the attribute of the coupling physical page of the solid state hard disk of the data includes: to receive the data
The coupling physical page instruction of the solid state hard disk is written;The coupling physical page is searched according to described instruction;Judge the coupling
The attribute of Physical Page;It include: in the coupling after the described the step of solid state hard disk data are written according to the path
When the low page occurs that the error in data is written, finding, which influences the low page of the coupling, occurs that the more of the error in data are written
A coupling page carries out raid-array error correction.
5. the method according to claim 1, wherein the plurality of different raid-array protection zone
An intersection point is only included between domain.
6. a kind of solid state hard disk characterized by comprising writing module is more in the solid state hard disk for that will need to be written
The data of a coupling physical page intersect writing mode using matrix, are respectively written into corresponding the multiple coupling physical page;It is described
Multiple coupling physical pages are belonging respectively to multiple and different raid-array protection zones.
7. solid state hard disk according to claim 6, which is characterized in that the solid state hard disk further include: judgment module is used for
According to the order that the solid state hard disk data are written, the attribute for needing the coupling physical page for the solid state hard disk being written is judged;
The write module includes: that path determines submodule, for determining that the data are written according to the attribute of the coupling physical page
The path of the coupling physical page;Submodule is written, for according to the path, the coupling physical to be written in the data
Page;The attribute of the coupling physical page is to couple the high page or the low page of coupling;The data write-in high page of coupling
Path and the data path for coupling the low page is written in matrix cross-like.
8. solid state hard disk according to claim 7, which is characterized in that the path of the high page of coupling is written in the data
For the high page of coupling is written in the horizontal direction;
The path that the low page of the coupling is written in the data is that the path for coupling the high page is written in one with the data
Determine the low page of the angle write-in coupling;And multiple data where being written to multiple coupling physical pages in the data
When the coupling physical page in the lower right corner of the matrix of block composition, the coupling physical page for returning to the upper left corner of the matrix continues to write to institute
State data.
9. solid state hard disk according to claim 7, which is characterized in that the judgment module includes: receiving submodule, is used for
It receives and instructs the coupling physical page that the solid state hard disk is written in the data;Submodule is searched, for looking into according to described instruction
Look for the coupling physical page;Judging submodule, for judging the attribute of the coupling physical page;The solid state hard disk further include:
Correction module, for when the low page of the coupling occurs that the error in data is written, finding to influence the low page of the coupling
The multiple coupling pages for occurring to be written the error in data carry out raid-array error correction.
10. solid state hard disk according to claim 6, which is characterized in that the plurality of different raid-array
An intersection point is only included between protection zone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811357453.4A CN109460192A (en) | 2018-11-15 | 2018-11-15 | A method of preventing solid state hard disk loss of data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811357453.4A CN109460192A (en) | 2018-11-15 | 2018-11-15 | A method of preventing solid state hard disk loss of data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109460192A true CN109460192A (en) | 2019-03-12 |
Family
ID=65610439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811357453.4A Pending CN109460192A (en) | 2018-11-15 | 2018-11-15 | A method of preventing solid state hard disk loss of data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109460192A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073561A (en) * | 2011-01-26 | 2011-05-25 | 浪潮电子信息产业股份有限公司 | Method for correcting error of write operation of solid state hard disk |
CN102609370A (en) * | 2012-02-06 | 2012-07-25 | 记忆科技(深圳)有限公司 | Solid-state disk and method for preventing data loss thereof |
CN107632943A (en) * | 2017-08-30 | 2018-01-26 | 记忆科技(深圳)有限公司 | A kind of method and solid state hard disc of solid state hard disc data protection |
-
2018
- 2018-11-15 CN CN201811357453.4A patent/CN109460192A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073561A (en) * | 2011-01-26 | 2011-05-25 | 浪潮电子信息产业股份有限公司 | Method for correcting error of write operation of solid state hard disk |
CN102609370A (en) * | 2012-02-06 | 2012-07-25 | 记忆科技(深圳)有限公司 | Solid-state disk and method for preventing data loss thereof |
CN107632943A (en) * | 2017-08-30 | 2018-01-26 | 记忆科技(深圳)有限公司 | A kind of method and solid state hard disc of solid state hard disc data protection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102017113439B4 (en) | Mapping tables for storage devices | |
CN101436151B (en) | Data real time backup method and system based on file system | |
US10216578B2 (en) | Data storage device for increasing lifetime and RAID system including the same | |
US10275310B2 (en) | Updating exclusive-or parity data | |
KR101491943B1 (en) | Transaction log recovery | |
TWI467581B (en) | Hybrid storage apparatus and hybrid storage medium controlller and addressing method thereof | |
US10997039B2 (en) | Data storage device and operating method thereof | |
CN104583930B (en) | Method, controller and the data migration device of Data Migration | |
US10409683B2 (en) | Data storage system configured to perform data rebuild operation via reduced read requests | |
CN103858092B (en) | A kind of data migration method and device | |
DE102017114078A1 (en) | ERROR WAKE-OFF FOR 3D NAND FLASH MEMORY | |
KR102515137B1 (en) | Data storage device and operating method thereof | |
CN109923514B (en) | Memory operation on data | |
WO2021259351A1 (en) | Reset system, data processing system, and related device | |
CN101984400A (en) | RAID control method, device and system | |
CN103092765B (en) | Solid-state memory system, device and method for writing data | |
DE102021115893A1 (en) | EFFICIENT DATA STORAGE USE RELATED TO AN IMPROPER SHUTDOWN | |
DE112020004963T5 (en) | DATA INTEGRITY PROTECTION FOR CNS REQUIREMENTS | |
CN108984133A (en) | The implementation method of RAID in a kind of SSD | |
CN103645997B (en) | A kind of method and system of data protection | |
US20200004639A1 (en) | Storage utilizing a distributed cache chain and a checkpoint drive in response to a data drive corruption | |
CN102609370B (en) | Solid-state disk and method for preventing data loss thereof | |
US11169871B2 (en) | Data storage device and operating method thereof | |
TWI446170B (en) | Data writing method, memory controller and memory storage apparatus | |
US10025664B2 (en) | Selective buffer protection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |