CN106875977A - A kind of solid state hard disc adjustment method and device - Google Patents
A kind of solid state hard disc adjustment method and device Download PDFInfo
- Publication number
- CN106875977A CN106875977A CN201710108912.4A CN201710108912A CN106875977A CN 106875977 A CN106875977 A CN 106875977A CN 201710108912 A CN201710108912 A CN 201710108912A CN 106875977 A CN106875977 A CN 106875977A
- Authority
- CN
- China
- Prior art keywords
- solid state
- debug information
- hard disc
- state hard
- nand flash
- 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
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/12—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/12—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
- G11C29/44—Indication or identification of errors, e.g. for repair
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C2029/0409—Online test
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/12—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
- G11C2029/1208—Error catch memory
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/12—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
- G11C2029/4402—Internal storage of test result, quality data, chip identification, repair information
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of solid state hard disc adjustment method and device, the method includes:When solid state hard disc runs, in one section of Preset Time reads system debug information from internal memory and writes Nand flash memories;For the system debug information for reading every time, system debug information is backed up in Nand flash memories, produce M identical backup, all backups of system debug information are preserved by the physical block of Nand flash memories;After solid state hard disc stops normal work, by reading the legacy system Debugging message in Nand flash memories come orientation problem.The method is realized improving debugging system reliability.
Description
Technical field
The present invention relates to solid state hard disc technical field, more particularly to a kind of solid state hard disc adjustment method and device.
Background technology
At present, debugging function is a basic function of solid state hard disc.Be broadly divided into two kinds, one kind be in solid state hard disc just
During normal use, adjustment method on the line of user's orientation problem is helped by reading system debug information;One kind is in solid-state
Hard disk stops normal work, by reading, analysis of history system debug information, helps debugging side under the line of user's orientation problem
Method.But in debugging process, due to reading system debug information during without backup, only only read a system debug
Information, causes debugging system reliability relatively low.
The content of the invention
It is an object of the invention to provide a kind of solid state hard disc adjustment method and device, to realize improving debugging system reliability
Property.
In order to solve the above technical problems, the present invention provides a kind of solid state hard disc adjustment method, the method includes:
When solid state hard disc runs, system debug information is read from internal memory every one section of Preset Time and writes Nand
In flash memory;
For the system debug information for reading every time, system debug information is backed up in Nand flash memories, produce M
Individual identical backup, all backups of system debug information are preserved by the physical block of Nand flash memories;M is positive integer;
After solid state hard disc stops normal work, asked to position by the legacy system Debugging message read in Nand flash memories
Topic.
Preferably, the physical block is equally divided into M region.
Preferably, methods described also includes:
After the completion of electricity on solid state hard disc, the last system debug information for preserving, inspection system Debugging message, if depositing are read in
In mistake, warning message is sent to main frame.
Preferably, methods described also includes:
Under solid state hard disc during electricity, after all operations stop, the system debug information of internal memory is written to Nand again
In flash memory.
The present invention also provides a kind of solid state hard disc debugging apparatus, for realizing the solid state hard disc adjustment method, the device
Including:
Read module, for when solid state hard disc runs, every one section of Preset Time by system debug information from internal memory
In reading and writing Nand flash memories;
Backup module, for the system debug information for reading every time, to system debug information in Nand flash memories
Backed up, produced M identical backup, all backups of system debug information are preserved by the physical block of Nand flash memories;M is
Positive integer;
Locating module, for after solid state hard disc stops normal work, being adjusted by reading the legacy system in Nand flash memories
Examination information carrys out orientation problem.
Preferably, the physical block is equally divided into M region.
Preferably, described device also includes:
Alarm module, for after the completion of electricity on solid state hard disc, reading in the last system debug information for preserving, inspection system
Debugging message, if there is mistake, warning message is sent to main frame.
Preferably, described device also includes:
Writing module, under solid state hard disc electricity when, it is all operation stop after, by the system debug information of internal memory again
It is secondary to be written in Nand flash memories.
A kind of solid state hard disc adjustment method provided by the present invention and device, it is pre- every one section when solid state hard disc runs
If during system debug information is read and writes Nand flash memories by the time from internal memory;System debug for reading every time is believed
Breath, backs up in Nand flash memories to system debug information, M identical backup is produced, by the physical block of Nand flash memories
Preserve all backups of system debug information;M is positive integer;After solid state hard disc stops normal work, dodged by reading Nand
Legacy system Debugging message in depositing carrys out orientation problem.It can be seen that, multiple system debug information are have read, each system debug information
M backup is all carried out, there are multiple legacy system Debugging message in such Nand, each legacy system Debugging message has had multiple standby
Part, debugging system reliability is higher.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of flow chart of solid state hard disc adjustment method provided by the present invention;
Fig. 2 is a kind of structural representation of solid state hard disc debugging apparatus provided by the present invention.
Specific embodiment
Core of the invention is to provide a kind of solid state hard disc adjustment method and device, to realize improving debugging system reliability
Property.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is refer to, Fig. 1 is a kind of flow chart of solid state hard disc adjustment method provided by the present invention, and the method includes:
S11:When solid state hard disc runs, system debug information is read and write from internal memory every one section of Preset Time
In Nand flash memories;
S12:For the system debug information for reading every time, system debug information is backed up in Nand flash memories,
M identical backup is produced, all backups of system debug information are preserved by the physical block of Nand flash memories;
Wherein, M is positive integer;
S13:After solid state hard disc stops normal work, determined by reading the legacy system Debugging message in Nand flash memories
Position problem.
It can be seen that, in the method, multiple system debug information being have read, each system debug information has carried out M backup,
There are multiple legacy system Debugging message in such Nand, each legacy system Debugging message has multiple backups, debugging system reliability
Property is higher.Realize improving debugging system reliability in this way.
Based on the above method, further, physical block is equally divided into M region.
Wherein, legacy system Debugging message refers to all system debug information.
Further, methods described also includes:After the completion of electricity on solid state hard disc, the last system debug letter for preserving is read in
Breath, inspection system Debugging message, if there is mistake, warning message is sent to main frame.
Further, methods described also includes:Under solid state hard disc during electricity, after all operations stop, it is by internal memory
System Debugging message is written in Nand flash memories again.
Wherein, after step S11, also include:Asked to position by the legacy system Debugging message read in Nand flash memories
Topic.Legacy system Debugging message represents all system debug information, refers both to write in current Nand flash memories all systems of storage
Debugging message.
Detailed, this method is that Support Line is reached the standard grade the solid state hard disc adjustment method of lower Commissioning Analysis, periodically by internal memory
System debug information be written in Nand, the multiple backups of write-once, debugging system reliability is higher.
Wherein, Commissioning Analysis refer to, in i.e. system operation during the normal use of solid state hard disc, to obtain system and adjust on line
Examination information, carries out Commissioning Analysis, orientation problem.Commissioning Analysis refer to that solid state hard disc is stopping normal work i.e. system stopping just under line
Often work, by reading, analysis system legacy system Debugging message, carries out Commissioning Analysis, orientation problem.Many backups refer to system
During Debugging message timing write-in Nand, the multiple identical backups of write-in every time.One system debug information has multiple in Nand
Copy.This method Support Line is reached the standard grade lower debugging two ways, in this method, due to there is multiple legacy system debugging letters in Nand
Breath, each legacy system Debugging message has multiple backups, and debugging system reliability is higher.
Detailed based on this method, the FX of internal memory is divided into the system debug information area, for preserving system debug
Information.During system operation, regularly system debug information is written in Nand from internal memory, M identical backup is preserved every time.
Wherein, some physical blocks of Nand are used for preserving system debug information, and these physical blocks are equally divided into M area
Domain, in each region, physical block is recycled in order.Such as, Nand has 4 channel C hannel, each Channel thing
Reason block 0, physical block 1 preserves system debug information, if it is 4 to take M, each passage channel can be as a storage
Region;System debug information is first write on the page 0 of physical block 0 when writing, write-in lower one page when writing again;When the quilt of physical block 0
After writing completely, then physical block 1 is write;After physical block 1 is fully written, then physical block 0 is wiped, write on physical block 0 again;So follow
Ring is used.
Wherein, under system during electricity, after all operations stop, the system debug information in internal memory is written to Nand again
In.After the completion of system electrification, the last system debug information for preserving is read in first, check Debugging message, if wrong, to
Main frame sends warning information.
During the normal use of system, system debug information is obtained by directly reading internal memory, by once reading, or
Repeatedly read and carry out orientation problem.After system stops normal work, by reading the legacy system Debugging message in Nand, by dividing
Analysis legacy system Debugging message carrys out orientation problem.
Based on this method, system debug property information cycle is written in Nand, the multiple backups of each write-in, such Nand
In have multiple legacy system Debugging message, each legacy system Debugging message has multiple backups, and debugging system reliability is higher.And
And, this is both debugged on Support Line this method, is also debugged under Support Line, wide using scope.
Fig. 2 is refer to, Fig. 2 is a kind of structural representation of solid state hard disc debugging apparatus provided by the present invention, for reality
Existing above-mentioned solid state hard disc adjustment method, the device includes:
Read module 101, for when solid state hard disc runs, every one section of Preset Time by system debug information from internal memory
Middle reading simultaneously writes Nand flash memories;
Backup module 102, for the system debug information for reading every time, believes system debug in Nand flash memories
Breath is backed up, and produces M identical backup, and all backups of system debug information are preserved by the physical block of Nand flash memories;M
It is positive integer;
Locating module 103, for after solid state hard disc stops normal work, by reading the legacy system in Nand flash memories
Debugging message carrys out orientation problem.
It can be seen that, in the device, multiple system debug information being have read, each system debug information has carried out M backup,
There are multiple legacy system Debugging message in such Nand, each legacy system Debugging message has multiple backups, debugging system reliability
Property is higher.
Based on said apparatus, specifically, physical block is equally divided into M region.
Further, described device also includes:Alarm module, for after the completion of electricity on solid state hard disc, reading in last guarantor
The system debug information deposited, inspection system Debugging message, if there is mistake, warning message is sent to main frame.
Further, described device also includes:Writing module, during electricity, stops under solid state hard disc in all operations
Afterwards, the system debug information of internal memory is written in Nand flash memories again.
Wherein, read module is additionally operable to by reading the legacy system Debugging message in Nand flash memories come orientation problem.
To sum up, a kind of solid state hard disc adjustment method provided by the present invention and device, when solid state hard disc runs, Mei Geyi
During system debug information is read and writes Nand flash memories by section Preset Time from internal memory;For the system debug for reading every time
Information, backs up in Nand flash memories to system debug information, M identical backup is produced, by the physics of Nand flash memories
Block preserves all backups of system debug information;M is positive integer;After solid state hard disc stops normal work, by reading Nand
Legacy system Debugging message in flash memory carrys out orientation problem.It can be seen that, have read multiple system debug information, each system debug letter
Breath has all carried out M backup, there is multiple legacy system Debugging message in such Nand, and each legacy system Debugging message has multiple
Backup, debugging system reliability is higher.
A kind of solid state hard disc adjustment method provided by the present invention and device are described in detail above.Herein should
Principle of the invention and implementation method are set forth with specific case, the explanation of above example is only intended to help and manages
The solution method of the present invention and its core concept.It should be pointed out that for those skilled in the art, not departing from
On the premise of the principle of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls into this hair
In bright scope of the claims.
Claims (8)
1. a kind of solid state hard disc adjustment method, it is characterised in that including:
When solid state hard disc runs, system debug information is read from internal memory every one section of Preset Time and writes Nand flash memories
In;
For the system debug information for reading every time, system debug information is backed up in Nand flash memories, produce M phase
Same backup, all backups of system debug information are preserved by the physical block of Nand flash memories;M is positive integer;
After solid state hard disc stops normal work, by reading the legacy system Debugging message in Nand flash memories come orientation problem.
2. the method for claim 1, it is characterised in that the physical block is equally divided into M region.
3. method as claimed in claim 2, it is characterised in that also include:
After the completion of electricity on solid state hard disc, the last system debug information for preserving, inspection system Debugging message, if in the presence of mistake are read in
By mistake, warning message is sent to main frame.
4. method as claimed in claim 3, it is characterised in that also include:
Under solid state hard disc during electricity, after all operations stop, the system debug information of internal memory is written to Nand flash memories again
In.
5. a kind of solid state hard disc debugging apparatus, it is characterised in that for realizing as described in any one in Claims 1-4
Method, including:
Read module, for when solid state hard disc runs, reading system debug information from internal memory every one section of Preset Time
And in writing Nand flash memories;
Backup module, for the system debug information for reading every time, is carried out in Nand flash memories to system debug information
Backup, produces M identical backup, and all backups of system debug information are preserved by the physical block of Nand flash memories;M is just whole
Number;
Locating module, for after solid state hard disc stops normal work, letter being debugged by reading the legacy system in Nand flash memories
Breath carrys out orientation problem.
6. device as claimed in claim 5, it is characterised in that the physical block is equally divided into M region.
7. device as claimed in claim 6, it is characterised in that also include:
Alarm module, for after the completion of electricity on solid state hard disc, reading in the last system debug information for preserving, inspection system debugging
Information, if there is mistake, warning message is sent to main frame.
8. device as claimed in claim 7, it is characterised in that also include:
Writing module, during electricity, after all operations stop, the system debug information of internal memory is write again under solid state hard disc
Enter in Nand flash memories.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710108912.4A CN106875977A (en) | 2017-02-27 | 2017-02-27 | A kind of solid state hard disc adjustment method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710108912.4A CN106875977A (en) | 2017-02-27 | 2017-02-27 | A kind of solid state hard disc adjustment method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106875977A true CN106875977A (en) | 2017-06-20 |
Family
ID=59167968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710108912.4A Pending CN106875977A (en) | 2017-02-27 | 2017-02-27 | A kind of solid state hard disc adjustment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106875977A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423180A (en) * | 2017-07-28 | 2017-12-01 | 郑州云海信息技术有限公司 | A kind of solid state hard disc and its diagnostic method |
CN110618892A (en) * | 2019-09-19 | 2019-12-27 | 苏州浪潮智能科技有限公司 | Bug positioning method and device for solid state disk, electronic equipment and medium |
CN112817533A (en) * | 2021-01-29 | 2021-05-18 | 深圳忆联信息系统有限公司 | SSD management method, device computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101105774A (en) * | 2006-10-26 | 2008-01-16 | 福昭科技(深圳)有限公司 | Logic and physical address index conversion management method |
CN101782875A (en) * | 2010-01-29 | 2010-07-21 | 成都市华为赛门铁克科技有限公司 | Storage unit and data storage method |
CN103995784A (en) * | 2014-04-23 | 2014-08-20 | 威盛电子股份有限公司 | Flash memory controller, storage device and flash memory control method |
CN105489242A (en) * | 2014-10-07 | 2016-04-13 | 爱思开海力士有限公司 | Data storage device and operating method thereof |
-
2017
- 2017-02-27 CN CN201710108912.4A patent/CN106875977A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101105774A (en) * | 2006-10-26 | 2008-01-16 | 福昭科技(深圳)有限公司 | Logic and physical address index conversion management method |
CN101782875A (en) * | 2010-01-29 | 2010-07-21 | 成都市华为赛门铁克科技有限公司 | Storage unit and data storage method |
CN103995784A (en) * | 2014-04-23 | 2014-08-20 | 威盛电子股份有限公司 | Flash memory controller, storage device and flash memory control method |
CN105489242A (en) * | 2014-10-07 | 2016-04-13 | 爱思开海力士有限公司 | Data storage device and operating method thereof |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423180A (en) * | 2017-07-28 | 2017-12-01 | 郑州云海信息技术有限公司 | A kind of solid state hard disc and its diagnostic method |
CN110618892A (en) * | 2019-09-19 | 2019-12-27 | 苏州浪潮智能科技有限公司 | Bug positioning method and device for solid state disk, electronic equipment and medium |
CN110618892B (en) * | 2019-09-19 | 2023-01-10 | 苏州浪潮智能科技有限公司 | Bug positioning method and device of solid state disk, electronic equipment and medium |
CN112817533A (en) * | 2021-01-29 | 2021-05-18 | 深圳忆联信息系统有限公司 | SSD management method, device computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102013211077B4 (en) | Method for testing a memory and storage system | |
US9069711B2 (en) | Source cleaning cascaded volumes using write and background copy indicators | |
CN104735107B (en) | Data copy restoration methods and device in distributed memory system | |
CN107608826A (en) | A kind of fault recovery method, device and the medium of the node of storage cluster | |
CN105893184B (en) | A kind of incremental backup method and device | |
CN106875977A (en) | A kind of solid state hard disc adjustment method and device | |
US9489267B1 (en) | Optimization to permit block based incremental backup across system reboot or crash | |
CN103810060A (en) | Data backup method and system thereof based on distributed database | |
CN105550076B (en) | Image splicing control system and redundant hot backup method thereof | |
CN103294957A (en) | Data protection method for file system supporting repeating data deletion during data updating | |
CN106095619A (en) | A kind of virtual machine backup method and device | |
CN113360322A (en) | Method and equipment for recovering data based on backup system | |
CN110333971A (en) | SSD bad block table backup method, device, computer equipment and storage medium | |
CN103973727A (en) | Data synchronizing method and device | |
CN105718330A (en) | Linux system backup data recovery method and device | |
CN104850628B (en) | The synchronous method and device of a kind of database data | |
CN106055279A (en) | Method and device for managing address mapping table of solid state disk and solid state disk | |
CN105094711B (en) | A kind of method and device for realizing copy-on-write file system | |
CN103279408B (en) | The method of testing of raid-array RAID performance | |
DE102015105414B4 (en) | Editing a destination storage | |
CN103853827A (en) | Database backup method capable of guaranteeing data consistency | |
CN107391312B (en) | Data cloud backup method and system | |
CN107967118A (en) | A kind of method and apparatus realized hard disc data high speed dump and checked | |
CN104298609B (en) | Data copying method and device | |
CN106326041A (en) | Second-level recovery method for database |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170620 |