CN105404477A - Method prolonging service life of solid state disk - Google Patents

Method prolonging service life of solid state disk Download PDF

Info

Publication number
CN105404477A
CN105404477A CN201510953487.XA CN201510953487A CN105404477A CN 105404477 A CN105404477 A CN 105404477A CN 201510953487 A CN201510953487 A CN 201510953487A CN 105404477 A CN105404477 A CN 105404477A
Authority
CN
China
Prior art keywords
solid state
data
hard disc
state hard
nand
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
Application number
CN201510953487.XA
Other languages
Chinese (zh)
Inventor
景蔚亮
陈邦明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Xinchu Integrated Circuit Co Ltd
Original Assignee
Shanghai Xinchu Integrated Circuit Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Xinchu Integrated Circuit Co Ltd filed Critical Shanghai Xinchu Integrated Circuit Co Ltd
Priority to CN201510953487.XA priority Critical patent/CN105404477A/en
Publication of CN105404477A publication Critical patent/CN105404477A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0616Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]

Abstract

The invention relates to the field of computer chip reading optimization and in particular relates to a method prolonging service life of a solid state disk. By the use of the method, when a user or a program frequently write the same data back into a solid state disk in short time, the data is only updated in a memory by a system but not written back to the solid state disk, so erasing times of the solid state disk can be reduced, writing times on the whole can be reduced for the solid state disk and service life of the solid state disk can be effectively prolonged.

Description

A kind of method improving solid-state disk service life
Technical field
The present invention relates to computer chip and read optimization field, particularly relate to a kind of method improving solid-state disk service life.
Background technology
Compared to mechanical hard disk (HDD), solid state hard disc (SSD) has antidetonation with it and resists superiority such as falling, reading speed is fast, low in energy consumption, weight is low, noise is low, has more and more been used the computer realms such as laptop hard, micro harddisk, mobile solid state hard disc.Although think that solid state hard disc (SSD) has entered the main flow ranks of storage market, still costly, capacity is lower for its price, and durability (life-span) is shorter.
Such as in server field, system architecture as shown in Figure 1.(1), when reading data, data import to internal memory from the solid state hard disc (SSD) data store organisation, and then from internal memory, pass to central processing unit (CPU).(2), when writing data, data, by central processing unit (CPU) write memory, are saved in from internal memory in the solid state hard disc (SSD) data store organisation by data.
In systems in which, write back in solid state hard disc (SSD) if same data are frequent at short notice by internal memory, will cause like this in the short time and frequently write operation be carried out to solid state hard disc (SSD), so will cause decline serviceable life.If system for a long time and carry out write operation to solid state hard disc (SSD) frequently, then its life-span used will be shorter.Once solid state hard disc (SSD) reaches the erasable upper limit, user or service supplier just have to again buy new solid state hard disc (SSD).
So need a kind of method that can improve solid-state disk service life badly.
Summary of the invention
For above-mentioned Problems existing, the invention discloses a kind of method improving solid-state disk service life, its concrete technical scheme is:
Improve a method for solid-state disk service life, it is characterized in that, comprising:
First data are written to solid state hard disc by internal memory;
In preset time range, after the number of times being write back described solid state hard disc when described first data reaches preset times, force described first data only to upgrade in described internal memory, be not written back to described solid state hard disc by described internal memory.
Above-mentioned method, is characterized in that, described solid state hard disc comprises single NAND storage chip and/or mixing NAND storage chip.
Above-mentioned method, is characterized in that, described mixing NAND storage chip comprises single layer cell type NAND chip, dual layer elements type NAND chip, three-layer unit type NAND chip and 3D-NAND cake core.
Above-mentioned method, is characterized in that, described method also comprises:
When using the user of described first data or application program to exit use, described first data after renewal are written to described solid state hard disc.
Above-mentioned method, is characterized in that, described method also comprises:
Before using the server of described first data to shut down or when using the server of described first data to leave unused, described first data after renewal are written to described solid state hard disc.
Above-mentioned method, is characterized in that, described solid state hard disc comprises phase transition storage, magnetic RAM, resistive formula storer and ferroelectric memory.
Above-mentioned method, is characterized in that, preset times is greater than zero.
Technique scheme tool has the following advantages or beneficial effect:
A kind of method improving solid-state disk service life of the application's design, when user or program frequently write back solid state hard disc (SSD) to same data in the short time, system forces data only to upgrade in internal memory, and do not write back in solid state hard disc (SSD), reduce the erasable number of times to solid state hard disc (SSD), make it reduce erasable number of times to solid state hard disc (SSD) on the whole, thus effectively improve solid state hard disc (SSD) serviceable life.
Accompanying drawing explanation
By reading the detailed description done non-limiting example with reference to the following drawings, the present invention and feature, profile and advantage will become more apparent.Mark identical in whole accompanying drawing indicates identical part.Proportionally can not draw accompanying drawing, focus on purport of the present invention is shown.
Fig. 1 is server system structural representation;
In Fig. 2 the application, server system structure is to the schematic diagram of data processing;
Fig. 3 is the process schematic diagram to data in the embodiment of the present application.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment, the present invention is further illustrated, but not as limiting to the invention.
Although solid state hard disc read or write speed is fast, also there is the restricted problem of erasable number of times simultaneously.Solid state hard disc is divided into the chips such as single layer cell type NAND chip, dual layer elements type NAND chip, three-layer unit type NAND chip and 3D-NAND cake core by storage class, wherein single layer cell type NAND chip (SLC (Single-LevelCell)) i.e. 1bit/cell, read or write speed is the fastest, erasable number of times is maximum, but its capacity is minimum, and cost is the highest; Dual layer elements type NAND chip (MLC (Multi-LevelCell)) i.e. 2bit/cell, compared with single layer cell type NAND chip, capacity is large, and cost is low, but speed is slightly inferior to single layer cell type NAND chip, erasable number of times is also not as good as single layer cell type NAND chip; Three-layer unit type NAND chip (TLC (Trinary-LevelCell)) i.e. 3bit/cell, it compares single layer cell type NAND chip, dual layer elements type NAND chip, capacity is large, cost is low, but the read or write speed of three-layer unit type NAND chip and erasable number of times are all not as good as single layer cell type NAND chip, dual layer elements type NAND chip; The capacity of 3D-NAND is maximum, and cost is minimum, but the speed of its read-write is the slowest, and erasable number of times is also minimum.Under same process node, the erasable number of times of the storer of this several types is as shown in the table:
NAND chip type Durability (secondary)
SLC 100,000
MLC 10,000
TLC 3,000
3D-NAND About 3,000
And life-span the reducing along with technology feature size of single layer cell type NAND chip, dual layer elements type NAND chip, three-layer unit type NAND chip and 3D-NAND cake core, erasable number of times declines.
So the present invention designs a kind of method improving solid-state disk service life, particularly:
Be written in solid state hard disc by the first data in system by internal memory, then internal memory reads the first data of write from solid state hard disc, after such internal memory and solid state hard disc read and write the first data several times repeatedly.Here several times are through and preset, and be not the read-write not limitting number of times, concrete preset times sets according to the maximum read-write number of times of solid state hard disc and each access time.After reaching preset times, these first data are forced to upgrade in internal memory, and do not write immediately in solid state hard disc after this first Data Update, but when the user of use first data or application program exit use, or before server shutdown, or again by the first data write solid state hard disc after renewal when server free.Repeatedly read and write in solid state hard disc after the first data do not used would not be caused so repeatedly to upgrade, thus improve the serviceable life of solid state hard disc.
Concrete as Fig. 2, a simple storage system framework, its data are stored in solid state hard disc.For the NAND storage chip that solid state hard disc can be single, or single novel memory devices; Also can be the hybrid solid-state hard disk that dissimilar NAND chip is formed; Also can be nand memory and the mixing of novel memory devices.Wherein, single layer cell type NAND chip, dual layer elements type NAND chip, three-layer unit type NAND chip and 3D-NAND cake core etc. can be divided into by chip type in nand memory; Phase transition storage (PCM) is divided into by chip type, magnetic RAM (MRAM), resistive formula storer (RRAM), ferroelectric memory (FeRAM) etc. in novel memory devices.
Because the erasable number of times of internal memory is unlimited, so the method that the present invention improves solid-state disk service life is as follows:
In a period of time, the number of times that a certain partial data writes solid state hard disc by internal memory reaches m time (m>0), so when this part data upgraded and write back solid state hard disc next time, only upgrade in internal memory with regard to purposive, enforceable these data that make, and do not write back in solid state hard disc, thus avoid system in the short time frequently to carry out write operation to solid state hard disc, therefore extend the mission life of solid state hard disc.When the user or application program that use this part data exit use; Or before server shutdown; Or again the data in internal memory are write back in solid state hard disc during server free.
Lift a specific embodiment to be below further elaborated:
Such as in systems in which, suppose in 1 hour, data 1 write back solid state hard disc 100 times by internal memory; Data 2 write back solid state hard disc 5 times by internal memory; Data 3 write back solid state hard disc 50 times by internal memory.So conventionally, in ensuing 1 hour, more new data 1 is just again possibly to solid state disk write 100 times; More new data 2 is just again possibly to solid state disk write 5 times; More new data 3 is just again possibly to solid state disk write 50 times.If use an erasable number of times only to have the 3D-NAND solid state hard disc of 3000 times in system, so frequent, a certain partial data in solid state hard disc is upgraded, so greatly can reduce the serviceable life of solid state hard disc.
If but application the present invention improves the method for solid-state disk service life, as shown in Figure 3, a period of time is (when m=10 time) after 1 hour, (1) after data 1 write back solid state hard disc 10 times by internal memory, instantly when secondary data 1 is for writing back solid state hard disc by internal memory again, upgrade in internal memory with regard to purposive, enforceable these data that make, and do not write back in solid state hard disc, only when the user or application program that use this part data exit use; Or before server shutdown; Or write back to again in solid state hard disc during server free, namely altogether to solid state disk write 11 times; (2) data 2 are write and are less than m (m=10) for 5 times, write back to solid state hard disc so data 2 are all direct each time from internal memory, namely to solid state disk write 5 times; (3) after data 3 write back solid state hard disc 10 times by internal memory, instantly when secondary data 3 is for writing back solid state hard disc by internal memory again, upgrade in internal memory with regard to purposive, enforceable these data that make, and do not write back in solid state hard disc, only when the user or application program that use this part data exit use; Or before server shutdown; Or write back to again in solid state hard disc during server free, namely also 11 times are only write to solid state hard disc.And relative to solid state hard disc, the speed that data upgrade in internal memory is faster.Such minimizing, to the number of times of solid state disk write, and outside highly effective raising solid state hard disc serviceable life, and also improves overall operating rate.
In sum, a kind of method improving solid-state disk service life of the application's design, when user or program frequently write back solid state hard disc (SSD) to same data in the short time, system forces data only to upgrade in internal memory, and do not write back in solid state hard disc (SSD), reduce the erasable number of times to solid state hard disc (SSD), make it reduce erasable number of times to solid state hard disc (SSD) on the whole, thus effectively improve solid state hard disc (SSD) serviceable life.
Above preferred embodiment of the present invention is described.It is to be appreciated that the present invention is not limited to above-mentioned particular implementation, the equipment wherein do not described in detail to the greatest extent and structure are construed as to be implemented with the common mode in this area; Any those of ordinary skill in the art, do not departing under technical solution of the present invention ambit, the Method and Technology content of above-mentioned announcement all can be utilized to make many possible variations and modification to technical solution of the present invention, or being revised as the Equivalent embodiments of equivalent variations, this does not affect flesh and blood of the present invention.Therefore, every content not departing from technical solution of the present invention, according to technical spirit of the present invention to any simple modification made for any of the above embodiments, equivalent variations and modification, all still belongs in the scope of technical solution of the present invention protection.

Claims (7)

1. improve a method for solid-state disk service life, it is characterized in that, comprising:
First data are written to solid state hard disc by internal memory;
In preset time range, after the number of times being write back described solid state hard disc when described first data reaches preset times, force described first data only to upgrade in described internal memory, be not written back to described solid state hard disc by described internal memory.
2. method according to claim 1, is characterized in that, described solid state hard disc comprises single NAND storage chip and/or mixing NAND storage chip.
3. method according to claim 2, is characterized in that, described mixing NAND storage chip comprises single layer cell type NAND chip, dual layer elements type NAND chip, three-layer unit type NAND chip and 3D-NAND cake core.
4. method according to claim 1, is characterized in that, described method also comprises:
Before the user or application program that use described first data exit use, described first data after upgrading are written back to described solid state hard disc.
5. method according to claim 1, is characterized in that, described method also comprises:
Before the server shutdown using described first data or when using the server of described first data to leave unused, described first data after upgrading are written to described solid state hard disc.
6. method according to claim 1, is characterized in that, described solid state hard disc comprises phase transition storage, magnetic RAM, resistive formula storer and ferroelectric memory.
7. method according to claim 1, is characterized in that, preset times is greater than zero.
CN201510953487.XA 2015-12-16 2015-12-16 Method prolonging service life of solid state disk Pending CN105404477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510953487.XA CN105404477A (en) 2015-12-16 2015-12-16 Method prolonging service life of solid state disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510953487.XA CN105404477A (en) 2015-12-16 2015-12-16 Method prolonging service life of solid state disk

Publications (1)

Publication Number Publication Date
CN105404477A true CN105404477A (en) 2016-03-16

Family

ID=55469985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510953487.XA Pending CN105404477A (en) 2015-12-16 2015-12-16 Method prolonging service life of solid state disk

Country Status (1)

Country Link
CN (1) CN105404477A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379419A (en) * 2018-10-09 2019-02-22 上海二三四五网络科技有限公司 A kind of CDN acceleration service control method and control device based on private cloud disk
CN110515537A (en) * 2019-06-27 2019-11-29 鸿秦(北京)科技有限公司 A method of extending solid-state disk service life

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211306A (en) * 2006-12-27 2008-07-02 宇瞻科技股份有限公司 Solid-state memory life-span warning device and its method
CN104461397A (en) * 2014-12-19 2015-03-25 上海新储集成电路有限公司 Solid-state drive and read-write method thereof
CN104715020A (en) * 2015-02-13 2015-06-17 腾讯科技(深圳)有限公司 Cache data deleting method and server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211306A (en) * 2006-12-27 2008-07-02 宇瞻科技股份有限公司 Solid-state memory life-span warning device and its method
CN104461397A (en) * 2014-12-19 2015-03-25 上海新储集成电路有限公司 Solid-state drive and read-write method thereof
CN104715020A (en) * 2015-02-13 2015-06-17 腾讯科技(深圳)有限公司 Cache data deleting method and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZIQI FAN等: "H-ARC: A Non-Volatile Memory Based Cache", 《2014 30TH SYMPOSIUM ON MASS STORAGE SYSTEMS AND TECHNOLOGIES (MSST)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379419A (en) * 2018-10-09 2019-02-22 上海二三四五网络科技有限公司 A kind of CDN acceleration service control method and control device based on private cloud disk
CN110515537A (en) * 2019-06-27 2019-11-29 鸿秦(北京)科技有限公司 A method of extending solid-state disk service life

Similar Documents

Publication Publication Date Title
US11068170B2 (en) Multi-tier scheme for logical storage management
US11880602B2 (en) Data writing method and storage device
CN107844431B (en) Mapping table updating method, memory control circuit unit and memory storage device
CN107168647B (en) FLASH data read-write method and system
US8751733B2 (en) Hybrid memory management
US8195971B2 (en) Solid state disk and method of managing power supply thereof and terminal including the same
CN102436419A (en) Non-volatile memory systems and methods of managing power of the same
CN102541458B (en) A kind of method improving data writing speed of electronic hard disk
CN103049216B (en) Solid state hard disc and data processing method, system
CN104346292A (en) Method for managing a memory device, memory device and controller
US10042575B2 (en) Memory system including a battery powered buffer with a storage capacity of that buffer dependent on the voltage level of the battery
US20200285393A1 (en) Unbalanced plane management method, associated data storage device and controller thereof
CN104346288A (en) Method for managing a memory device, memory device and controller
US10489079B2 (en) Memory system data management
JP2020149588A (en) Memory system and memory controller
CN105278875A (en) Hybrid heterogeneous NAND solid state device
CN105607862A (en) Solid state disk capable of combining DRAM (Dynamic Random Access Memory) with MRAM (Magnetic Random Access Memory) and being provided with backup power
CN102520885B (en) Data management system for hybrid hard disk
CN104991736A (en) Method and device for typing in data and storage equipment
CN105630699B (en) A kind of solid state hard disk and read-write cache management method using MRAM
CN105404477A (en) Method prolonging service life of solid state disk
CN102362263A (en) SSD controller, and method for operating an SSD controller
CN105868046B (en) The method of management, write-in and loading firmware code in storage device
CN105589912B (en) A kind of method and storage organization using MRAM processing frequency written document
CN115910170A (en) Power failure protection method and device for solid state disk and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160316

RJ01 Rejection of invention patent application after publication