CN110392885A - Increase the nonvolatile memory of access times - Google Patents

Increase the nonvolatile memory of access times Download PDF

Info

Publication number
CN110392885A
CN110392885A CN201880016487.9A CN201880016487A CN110392885A CN 110392885 A CN110392885 A CN 110392885A CN 201880016487 A CN201880016487 A CN 201880016487A CN 110392885 A CN110392885 A CN 110392885A
Authority
CN
China
Prior art keywords
page
region
data
recording medium
controller
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.)
Granted
Application number
CN201880016487.9A
Other languages
Chinese (zh)
Other versions
CN110392885B (en
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.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management 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 Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Publication of CN110392885A publication Critical patent/CN110392885A/en
Application granted granted Critical
Publication of CN110392885B publication Critical patent/CN110392885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • 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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • 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]
    • 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/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7204Capacity control, e.g. partitioning, end-of-life degradation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Read Only Memory (AREA)

Abstract

The disclosure, which provides, a kind of increases the nonvolatile memory of access times.Recording medium (1) includes nonvolatile memory (12), has the storage region for data to be written;And controller (11), control the write-in to the data of storage region, storage region is divided into multiple regions by controller (11), a region is selected from multiple regions, the region selected only is used as data recording area, when rewriting rate in the region selected reaches 1 specified value, the region that will act as data recording area is switched in multiple regions other still not used regions.

Description

Increase the nonvolatile memory of access times
Technical field
This disclosure relates to a kind of recording medium for having nonvolatile memory.
Background technique
Patent document 1 discloses a kind of storage device, with nonvolatile memory and is based on nonvolatile memory Management information control the controller of the access region of nonvolatile memory.The storage device is according to multiple management informations pair The storage region of nonvolatile memory is split to manage.Thereby, it is possible to rapidly carry out effective/nothing of each management information The judgement of effect.
Citation
Patent document
Patent document 1: No. 4301301 bulletins of Japanese Patent No.
Summary of the invention
Subject to be solved by the invention
The disclosure provides a kind of recording medium of access times for being capable of increasing nonvolatile memory.
Means for solving the problems
Recording medium involved in the disclosure includes nonvolatile memory, has the storage region for data to be written; And controller, for controlling the write-in to the data of storage region, storage region is divided into multiple regions by controller, from more A region is selected in a region, the region selected only is used as data recording area, the rewriting rate in the region selected When reaching 1 specified value, the region that will act as data recording area is switched in multiple regions other still not used regions.
Invention effect
Recording medium in the disclosure is capable of increasing the access times of nonvolatile memory.
Detailed description of the invention
Fig. 1 is the block diagram for indicating the structure of the data logging system of a mode of the disclosure.
Fig. 2 is the figure for indicating an example of the segmentation of storage region of recording medium.
Fig. 3 is the figure for indicating an example of management information.
Fig. 4 is the figure for indicating the concrete example of storage region and management information.
Fig. 5 is the flow chart for indicating the movement of the recording medium of a mode of the disclosure.
Fig. 6 is the flow chart for indicating the details of the movement of residual data of previous page.
Fig. 7 is the figure for indicating the concrete example of data write-in.
Fig. 8 is the flow chart for indicating the movement of the host of a mode of the disclosure.
Specific embodiment
Hereinafter, suitably referring to attached drawing on one side, embodiment is described in detail on one side.But omit sometimes it is unnecessary Detailed description.For example, omitting detailed description, the repetition to substantially the same structure for having been well known item sometimes Explanation.This is to become excessively tediously long in order to avoid the following description, make skilled addressee readily understands that.
In addition, inventor (s) provides attached drawing and theory below to make those skilled in the art fully understand the disclosure It is bright, it is not intended to theme documented by claim is limited by these.
(process for completing the disclosure)
In the memory element for constituting the nonvolatile memories such as NAND type flash memory, there are upper for rewritable number Limit.Therefore, in general, the recording medium for having nonvolatile memory makes the write-in of data be not biased towards a part of memory element.That is, Disperse the write-in destination of data, to keep the write-in number for constituting multiple memory elements of nonvolatile memory average Change.
But in the case where the nonvolatile memory of large capacity, it is difficult to fill the number of rewrites to each memory element Divide equalization.Therefore, even if there is the memory element of many not up to upper limits of number of rewrites sometimes, but since a part stores The number of rewrites of element reaches the upper limit, to can not also write data into the nonvolatile memory.The disclosure provides one Kind is capable of increasing the recording medium of the access times of nonvolatile memory.
(embodiment 1)
1. structure
Fig. 1 discloses the data logging system of a mode of the disclosure.
Data logging system has the recording medium 1 for saving data and carries out the writing, reading of data to recording medium 1 Host 2.
Recording medium 1 is, for example, SD storage card, SSD (Solid State Drive: solid state drive).
Host 2 is, for example, personal computer, digital camera, smart phone.
In the present embodiment, recording medium 1 and host 2 by follow the bus of PCI Express (PCIe) standard come Connection.But recording medium 1 and host 2 can also by follow the bus of the standard different from PCI Express standard come Connection.
Recording medium 1 includes controller 11, memory 12, information storing section 13 and connector 14.
Controller 11 carries out data based on the instruction from host 2 received via connector 14, to memory 12 The processing such as read-write.Controller 11 can realize by semiconductor element etc., for example, can by microcomputer, CPU, MPU, DSP, FPGA, ASIC are constituted.
In the present embodiment, memory 12 is NAND type flash memory.But memory 12 is also possible to NAND type Nonvolatile memory other than flash memory.Memory 12 has the storage region of record data.
Records management information 131 and address translation table 132 in information storing section 13.Management information 131 is for managing The information of the behaviour in service of the storage region of memory 12.Address translation table 132 be carry out from host 2 specify logical address with The corresponding table of the association of physical address in memory 12.Information storing section 13 can for example pass through RAM, DRAM, strong dielectric Memory, flash memory or these combination are realized.
Connector 14 is the component being electrically connected with host 2, it then follows PCI Express standard and constitute.
Host 2 includes root complex (RootComplex) 21, CPU22, PCIe switch 23, connector 24, data transfering department 25, buffer 26 and display unit 27.Root complex (RootComplex) 21 and PCIe switch 23 are for carrying out following PCI The structure of the communication of Express standard.Root complex (RootComplex) 21, CPU22, PCIe switch 23, data transfering department 25, buffer 26 and display unit 27 are connected with each other by bus 28.
It is whole that CPU22 controls host 2.Host 2 has the slot (not shown) of insertion recording medium 1, sets in the slot It is equipped with connector 24.Connector 24 is the component being electrically connected with recording medium 1, it then follows PCI Express standard and constitute.Data Transfering department 25 will instruct, data transmission to recording medium 1 according to the control of CPU22.Display unit 27 is, for example, liquid crystal display panel, has Machine EL panel.
When recording medium 1 is connect via connector 14 and connector 24 with host 2, between recording medium 1 and host 2 It is instructed, the transmitting-receiving of data.
In the data logging system of present embodiment, the storage region of the memory 12 of recording medium 1 is integrally divided For the multiple regions (hereinafter referred to as " page ") of predetermined size, a page in the multiple pages being partitioned into only is distributed into energy Enough record the region of data.That is, a part of region of the storage region of memory 12 is only used as data recording area.It is distributing To in a page of data recording area, if rewriting rate is more than specified value, forbid the data write-in to the page, it will be next The page is assigned as data recording area.Later in turn when the rewriting rate to a page is more than specified value, data record Region is successively switched to other pages.Data recording area is set in this way, and the memory capacity that can temporarily utilize subtracts It is few, but the number of rewrites for being directed to the region of each page can be made more.
Fig. 2 is the figure for schematically showing the segmentation of storage region of memory 12.Storage region is with uniform size point It is segmented into multiple pages.The quantity (segmentation number) of the page is arbitrary.The quantity of the page can both predetermine, can also be by controlling Device 11 is determined based on the instruction of user.In the present embodiment, as an example, storage region is divided into four pages.Example Such as, in the case where entire storage region is 100TB, each page is 25TB.
The page is one by one successively used as the record area of data by the controller 11 of recording medium 1.Specifically, controller The page 1 is written in the data sent from host by the 11 initially use pages 1.At this point, the page 2~4 is not used in data record.By leading The specified logical address (any of 1~M) of machine 2 is by the physical address in address translation table 132 and the page 1 (in 1~N Either one or two of) association correspondence.In address translation table 132,1~M of logical address is corresponding with the association of 1~N of physical address to be passed through Rewriting of data etc. and be changed.
When the rewriting rate of the page 1 is threshold value or more, data recording area is switched to the page 2 from the page 1 by controller 11. In the present embodiment, " rewriting rate (the write-in rate) " of the page is defined as: current time to the actual of the set page Ratio of the number relative to the admissible write-in number of page entirety is written.Specifically, rewriting rate is calculate by the following formula.
Rewriting rate=current time write-in number/admissible write-in number
Threshold value is set to the value close to 100%, such as is set to 95%.In turn, if the rewriting rate of the page 2 is more than threshold It is worth (such as 95%), then data recording area is switched to the page 3 from the page 2.At this point, the page 1,3,4 is not used in record data. In this way, in the present embodiment, as data recording area, successively using the page from the page 1 to the page 4.
Fig. 3 be expressed as the management of carry out data recording area as described above and use the one of management information 131 The figure of example.Management information 131 includes: indicate by the storage region of memory 12 be divided into multiple pages come using dividing mark The rewriting rate at the current time using page info 131b and each page of expression of the currently used page of 131a, expression Rewriting rate information 131c.
Fig. 4 is figure of the explanation for the concrete example of the management information 131 of the behaviour in service of the page.In the example in fig. 4, it deposits The storage region of reservoir 12 is divided into four pages.Therefore, being set in dividing mark 131a indicates that storage region is divided The "Yes" cut.In Fig. 4, the rewriting rate of each page is schematically shown to the hachure that the region of the page 1,2 is implemented.The page 1 For rewriting rate close to 100%, the rewriting rate of the page 2 is still half or so.At this point, the page in currently used is " page 2 ", because This, is set with " 2/4 " (meaning the 2nd page) in using page info 131b.For each page, pass through " current time Write-in number/admissible write-in number " calculates rewriting rate.Rewriting in rewriting rate information 131c, as the page 1~4 Rate has been set separately 96%, 52%, 0%, 0%.
2. movement
The molar behavior of 2.1 recording mediums
Fig. 5 indicates the control that the controller 11 of recording medium 1 carries out.In the present embodiment, for ease of description, with logical The write-in of the data of data volume (fixed dimension) as defined in write-once instruction instruction is crossed to be illustrated.
If recording medium 1 is connected to host 2, the controller 11 of recording medium 1 carries out initialization process (S101).First In beginningization processing, for example, controller 11 sends the ruler of dividing mark 131a, the size of the page, storage region entirety to host 2 The parameter etc. of performance that is very little and indicating recording medium 1.
If initialization process terminates, controller 11 waits the instruction from host 2.Controller 11 is received from host 2 To when instruction, judge whether the instruction is write instruction (S102).Since the write instruction that host 2 is sent includes to indicate write-in The logical address of position and the data that should be written.
When receiving write instruction from host 2, controller 11 judges the page in currently used referring to management information 131 Whether the rewriting rate in face is more than specified value (being in the present embodiment 60%) (S103).If the rewriting of the page in currently used Rate is less than 60%, then the data that write-in is indicated in the write instruction of step S102 are written in currently used controller 11 The page (S109).
On the other hand, in the case that the rewriting rate of the page in currently used is more than 60%, controller 11 makes before being allowed to The data of the page and the data not being rewritten are moved to the page (S104) in currently used.This is because although current The rewriting rate of the page in use has been more than 60%, but the case where also remaining not from the data of the page movement used before Under, need almost forcibly mobile data.The details of step S104 will be described later.
Later, controller 11 judge the page in currently used rewriting rate whether be more than page switching threshold value (In For 95%) (S105) in present embodiment.If the rewriting rate of the page in currently used is less than 95%, controller 11 will be Indicate that the page (S109) in currently used is written in the data of write-in in the write instruction of step S102.
On the other hand, if the rewriting rate of the page in currently used is more than 95%, controller 11 is based on management information 131 Judge whether using the page be the final page (S106).If the use of the page being the final page, next page is not present, therefore i.e. Making rewriting rate is more than 95%, and controller 11 is also written in the number that write-in is indicated in the write instruction of step S102 to the final page According to (S109).
If the rewriting rate of the page in currently used is more than 95% and is not the final page using the page, controller 11 will Data write-in next page (the not used page) (S107) of write-in is indicated in the write instruction of step S102.When next When being written with data in the page, the counter resets of the write-in number of the page in indicating currently used are zero by controller 11 (S108).In addition, the more new administration information 131 of controller 11 uses page info 131b.
After data are written in step S107 or S109 in controller 11, the value of counter is made to add one (S110).As a result, by Counter indicate it is currently used in the page write-in number increase it is primary.In addition, at this point, controller 11 is according to " counter Value/admissible write-in number ", calculate the rewriting rate of the page in currently used, and the rewriting rate of more new administration information 131 Information 131c.
Controller 11 executes handle corresponding with the instruction when receiving the instruction other than write-in (being no in S102) (S114).For example, controller 11 reads number from the appointed region of storage region when receiving sense order from host 2 According to, and it is sent to host 2.
Controller 11 carried out it is corresponding with the instruction from host 2 processing after (step S110 or S114 it Afterwards), referring to management information 131, judge whether the rewriting rate of the final page of memory 12 has been more than threshold for warning (In For 80%) (S111) in present embodiment.In the case where the rewriting rate of the final page has been more than 80%, controller 11 will be indicated The warning notice that the rewriting rate of the final page is got higher gives host 2 (S112).
Controller 11 judges whether recording medium 1 has unloaded (S113) from host 2, if not unloading, return step S102, Wait the next instruction from host 2.In the case where having unloaded recording medium 1 from host 2, terminate processing shown in fig. 5.
The movement of the movement of residual data in 2.2 recording mediums
Referring to Fig. 6, the details of the processing of above-mentioned step S104 is illustrated.Fig. 6 is to indicate to be allowed to preceding use The page data and the data that are not rewritten be moved to the currently used page processing (the step S104 of Fig. 5) detailed feelings The flow chart of condition.
Controller 11 judges whether the currently used page is the initial page (S151).
In the case where the currently used page is not the initial page (page 1), the number of the page used before judgement According to and be not rewritten data, i.e. be not yet moved to the currently used page data whether remain in front of the page that uses (S152).If the data remanence not moved, in the page used before, it is currently used that controller 11 is moved to the data The page (S153).Later, controller 11 increases counter by amount (S154) corresponding with the amount of mobile data.
On the other hand, in the case where the currently used page is the initial page (page 1) (being yes in S151), or Person's (being yes in S152) in the case where the data of the page used before all have been moved into the currently used page, does not deposit In the data that should be moved, therefore terminate processing shown in fig. 6.
It in the above description, is defined data volume (fixed dimension) with the data volume by write-once instruction write-in It is illustrated for situation.But it is also possible to by the data volume of write-once instruction write-in variable.In the situation Under, when increasing counter, change the increment of counter according to the data volume by write-once instruction write-in. That is, the increment of counter is set as " α " when being written with the data of " predetermined size × α " comparable total amount of data.Example Such as, when being written with the data that data volume is " predetermined size × 5 ", the increment of counter is set as "+5 ".
The concrete example of 2.3 data write-in
Referring to Fig. 7, the concrete example of data write-in is illustrated.Fig. 7 indicates the state that data are written in the page 2.
For example, receiving write instruction from host 2 in the state that the rewriting rate of the page 1 in currently used is more than 95% In the case where, switch the page, data (step S105, S107 of Fig. 5) is written in next page (page 2).It is write in the page 2 When entering data, controller 11 is primarily based on the logical address specified by write instruction, referring to address translation table 132, determines physics Address.For example, controller 11 turns referring to address in the case where write instruction indicates the rewriting of the data of logical address " 85 " Table 132 is changed, determines physical address " 101 " corresponding with logical address " 85 ", reads the number of the position of write-in physical address " 101 " According to.Then, controller 11 based on write instruction change read data a part, by changed data be written to it is next The corresponding position of physical address " N+1 " of the page (page 2).Then, controller 11 updates address translation table 132, so that logic Address is corresponding with the physical address information of the page 2.In this way, the page in use is the page (such as page 2) after switching In the case of, when receiving write instruction, change is located at previous page (example corresponding with the association of the logical address of instruction Such as the page 1) in physical address position data, changed data are written to the page (such as the page in currently used 2)。
Therefore, if repeating the write-in of the data of the page in currently used according to write instruction, can generate across Before more the page that uses and it is currently used in the page and situation there are data.Therefore, in the present embodiment, current At the time of the rewriting rate of the page in use is more than 60% (the step S103 of Fig. 5), made residual in the page used before The data stayed are moved to the processing (the step S104 of Fig. 5) of the page in currently used.By referring to address translation table 132, energy Whether the data for enough carrying out the page in un-shifted to currently used remain in the judgement of the page used before.
For example, there is the physical address with the region of the page (page 1) used before in address translation table 132 In the case that " 4 ", " 104 " are associated with corresponding logical address, controller 11 makes the position for being written to the physical address " 4 ", " 104 " Data be moved to the page (page 2) in currently used.Then, in address translation table 132, the logic of the data after movement Address " 32 ", " 74 " are corresponding with the physical address of mobile destination " N+101 ", " N+102 " association respectively.Remain in it as a result, Data in the preceding page (page 1) used are all moved to the page (page 2) in currently used.
The warning action of 2.4 hosts
As described above, recording medium 1 in the case where the rewriting rate of recording medium 1 is got higher, notifies to indicate record to host 2 The warning (the step S112 of Fig. 5) that the rewriting rate of medium 1 is got higher.Host 2 is carried out when receiving the warning from recording medium 1 Warning action.
Fig. 8 is the flow chart for the warning action that the CPU22 of host 2 is carried out.The CPU22 of host 2 is for example based on from user Instruction to recording medium 1 send instruction (S201).Instruction is the reading for write-in, data to 1 designation date of recording medium Out, the order of the elimination of data or other processing.
CPU22 receives the response (S202) for instruction from recording medium 1.The response sent from recording medium includes to indicate The non-writable notice that the notice terminated is written, indicates data of warning, expression data that the rewriting rate of the final page is got higher, Or data read etc..
Whether the response that CPU22 judgement receives is the warning (S203) for indicating the rewriting rate of the final page and getting higher.That is, CPU22 judges whether to receive warning.CPU22 informs the user the police in the case where receiving warning from recording medium 1 It accuses.For example, CPU22 makes the rewriting rate of the storage region of 27 display recording medium 1 of display unit and the new record of prompting changing be situated between The information of matter 1.User can recognize that the rewriting rate of recording medium 1 is got higher as a result, so as to become not in recording medium 1 Before energy use, such as before it not can be carried out reading and write-in, it is changed to new recording medium 1.
3. effect etc.
The recording medium 1 of the disclosure is included with the nonvolatile memory 12 for the storage region of data to be written;With And to the controller 11 that the write-in of the data of storage region is controlled.Storage region is divided into multiple pages by controller 11 (region) selects a page from multiple pages, the page selected only is used as data recording area, if the page selected The rewriting rate in face reaches the 1st specified value (such as 95%), then the region that will act as data recording area is switched in multiple pages Other still not used pages.Rewriting rate is ratio of the actual write-in number relative to admissible write-in number.It is straight as a result, It can continue to use until the page will become not being available, therefore the access times of 12 entirety of memory are significantly increased.This Outside, by the way that storage region is divided into multiple pages, the precision of the calculating of the rewriting rate based on write-in number is improved.
The dividing mark 131a that there is memory 12 expression storage region to be divided into multiple pages.Even if storing as a result, The capacity in the rewritable region (data recording area) of device 12 is substantially less than the size of the memory 12 actually carried, host 2 Also it can identify that the recording medium 1 is normal referring to dividing mark 131a.Therefore, the read-write of data can normally be carried out.
Memory 12 uses page info 131b with the page indicated in use.In addition, memory 12, which has, to be indicated The rewriting rate information 131c of the rewriting rate of each page.Controller 11 itself can hold the behaviour in service of memory 12 as a result, and And the behaviour in service of memory 12 can be notified from recording medium 1 to host 2.
When the rewriting rate of the page of the controller 11 in currently used reaches specified value (such as 60%), by what is used before The data that the page in currently used is not moved among the data being written in the page, the page being moved in currently used.By This, can prevent data from persistently crossing over multiple pages, and the speed of the read-write of data becomes faster.For example, multiple pages will be crossed over The record of data is placed in the case where, and a possibility that recording data across whole four pages is generated.In this case, With the amount respective degrees of leap, there is a possibility that generation needs the chance of whole region in inspection record region, therefore, one As for the performance read and write can reduce.In view of the problem, in the present embodiment, once the write-in to the new page it Afterwards, at the time of rewriting rate reaches specified value (such as 60%), by data to new page movement.As a result, once to new The write-in of the page also can be from sometime (example even if allowing the movement across the page during initial a certain degree At the time of such as rewriteeing rate and reach 60%) it rises and only completes access in the new page as early as possible and successfully.
Controller 11 is selected as data recording area and after successively having selected whole pages of multiple pages finally When the rewriting rate for the page selected reaches specified value (such as 80%), to 2 notification alert of host.Host 2 can be situated between in record as a result, Matter 1 becomes that warning cannot be informed the user before use.
(other embodiments)
As described above, the illustration as technology disclosed herein, is illustrated embodiment 1.However, this public affairs It's not limited to that for technology in opening, can also apply to have carried out change appropriate, displacement, the additional, embodiment party that omits etc. Formula.In addition it is also possible to each structural element illustrated in above embodiment 1 is combined, as new embodiment.Cause This, other embodiments illustrated below.
In the above-described embodiment, become the specified value for judging benchmark, threshold value in step S103, S105, S111 simultaneously It is not limited to above-mentioned value (60%, 95%, 80%), can be suitably set.That is, above-mentioned specified value, threshold value can also bases Based on the performance of NAND, whole capacity, application method (service condition) and suitably set.In addition, above-mentioned regulation Value, threshold value must be not necessarily fixed values, can also dynamically be changed according to the state of recording medium.In addition, above-mentioned rule Definite value, threshold value can also be set by host 2.
In the above-described embodiment, it in step S102~104 of Fig. 5, illustrates receiving write instruction and use When the rewriting rate of the page is more than 60%, the residual data of the page used before being allowed to is moved to the feelings of the page in currently used Condition.But it is also possible to receiving instruction (such as sense order) other than write instruction and using the rewriting rate of the page being more than When 60%, the residual data of the page used before being allowed to is moved to the page in currently used.
In the above-described embodiment, it in step S105~107 of Fig. 5, is receiving write instruction and is using the page When rewriting rate is more than 95%, the used page is changed to next page.But it is also possible to receiving sense order and making When being more than 95% with the rewriting rate of the page, the page will be used to be changed to next page.In this case, by the data weight of reading It is written to next page.
In the above-described embodiment, it illustrates that rewriting rate information 131c indicates the rewriting rate of each page, is based on the rewriting rate To carry out the case where write-in of data shown in fig. 5 is handled.But rewriting rate information 131c also can replace the rewriting of each page Rate indicates the write-in number (value of counter) at the current time of each page, can also be based on write-in number (value of counter) Carry out the write-in processing of data shown in fig. 5.
In the above-described embodiment, it is illustrated in case where storage region is divided into four pages, but Family, which can be used, can select the segmentation number of storage region.For example, recording medium 1 has the information of possible segmentation number.Moreover, In first usage record medium 1, recording medium 1 can also send the information of its possible segmentation number, controller 11 to host 2 Divide storage region via the segmentation number that host 2 is specified based on user.Specifically, the case where storage region is 100TB Under, can also select " page of 10TB × 10 ", " page of 25TB × 4 ", " page of 50TB × 2 ", " page of 100TB × 1 (regardless of Cut) ".
In the above-described embodiment, situation about being only stored in recording medium 1 to management information 131 is illustrated, but Being also possible to both recording medium 1 and host 2 has management information 131.In this case, for example, Fig. 5 step S101 In initial stage processing, host 2 can read management information 131 from recording medium 1.Host 2 both can be by the management information 131 of reading It is stored in buffer 26, other built-in storage unit (such as hard disk, flash memory) can also be stored in.In turn, in needle To also may include updated management information 131 in the response of the instruction of the step S202 of Fig. 8.Moreover, the CPU22 of host 2 Also it is referred to management information 131 and judges that the rewriting rate of the final page whether more than 80%, and informs the user warning.
In the above-described embodiment, the controller 11 of recording medium 1 has successively used each page from the page 1 to the page 4.But It is that the page is arbitrary using sequence.Controller 11 selects the page for being used as data recording area from multiple pages, When the rewriting rate for the page selected is close to 100% (such as more than 95%), other not used pages are used.
In the above-described embodiment, information storing section 13 is provided separately with memory 12, but information storing section 13 and storage Device 12 is also possible to integrated nonvolatile memory.In this case, recording medium 1 has RAM (not shown) as work Industry region reads management information 131 and address translation table from information storing section 13 in initialization process (S101 of Fig. 5) 132, and it is loaded into RAM.After, when executing step (S102~S114) shown in fig. 5, (reference updates) also can be used The management information 131 being loaded on RAM.
The recording medium and host of the disclosure can pass through the hardware resource such as association of processor, memory and program Make etc. to realize.
As described above, the illustration as the technology in the disclosure, is illustrated embodiment.It thus provides attached Figure and detailed description.It therefore, has not only been included as solving in the structural element documented by attached drawing and detailed description Structural element necessary to project, alsos for illustrating above-mentioned technology and includes to be not configured to structure necessary to solving project to want Element.Therefore, should not be not required due to these structural element be documented in attached drawing, in detailed description thirty years of age i.e. by these not It is that necessary structural element is regarded as being necessary.
In addition, above-mentioned embodiment be for illustrating the embodiment of the technology in the disclosure, therefore can be in right It is made various changes in claim or its equivalent range, replaces, adds, omitting.
Industrial availability
According to the recording medium of the disclosure, the access times of nonvolatile memory are capable of increasing, therefore are having great Rong It is useful in the storage card of the nonvolatile memory of amount.
Symbol description
1 recording medium
11 controllers
12 memories
13 information storing sections
14 connectors
21 Root Complex
22 CPU
23 PCIe switch
24 connectors
25 data transfering departments
26 buffers
27 display units
28 buses
131 management informations
131a dividing mark
131b uses page info
131c rewriting rate information
132 address translation tables

Claims (9)

1. a kind of recording medium, comprising:
Nonvolatile memory has the storage region for data to be written;And
Controller controls the write-in to the data of the storage region,
The storage region is divided into multiple regions by the controller,
The controller selects a region from the multiple region, and the region selected only is used as data recording area,
When rewriting rate of the controller in selected region reaches 1 specified value, data recording area will act as Region is switched in the multiple region other still not used regions.
2. recording medium according to claim 1, wherein
The rewriting rate is ratio of the actual write-in number relative to admissible write-in number.
3. recording medium according to claim 1, wherein
The information that there is the nonvolatile memory expression storage region to be divided into the multiple region.
4. recording medium according to claim 1, wherein
The nonvolatile memory has the information for indicating the region in use.
5. recording medium according to claim 1, wherein
The nonvolatile memory has the information for the rewriting rate for indicating each region.
6. recording medium according to claim 1, wherein
The rewriting rate in the region of the controller in currently used reaches 2nd rule smaller than the 1st specified value When definite value, the number in the region in currently used will not be moved among the data being written in the region used before According to being moved to the region in currently used.
7. recording medium according to claim 1, wherein
The controller controls the nonvolatile memory based on the instruction sent from host,
The controller is as data recording area and after successively having selected the whole region in the multiple region, last When the rewriting rate in the region of selection reaches 3 specified value, the warning of Xiang Suoshu host notification.
8. recording medium according to claim 1, wherein
The nonvolatile memory is NAND type flash memory.
9. recording medium according to claim 1, wherein
The storage region is divided into the multiple region by the segmentation number that the controller is specified according to user.
CN201880016487.9A 2017-04-07 2018-04-04 Non-volatile memory with increased number of uses Active CN110392885B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2017076902 2017-04-07
JP2017-076902 2017-04-07
PCT/JP2018/014479 WO2018186453A1 (en) 2017-04-07 2018-04-04 Nonvolatile memory with increased number of usable times

Publications (2)

Publication Number Publication Date
CN110392885A true CN110392885A (en) 2019-10-29
CN110392885B CN110392885B (en) 2023-08-04

Family

ID=63713209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880016487.9A Active CN110392885B (en) 2017-04-07 2018-04-04 Non-volatile memory with increased number of uses

Country Status (5)

Country Link
US (1) US20200026452A1 (en)
EP (1) EP3588305A4 (en)
JP (1) JP6890238B2 (en)
CN (1) CN110392885B (en)
WO (1) WO2018186453A1 (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58215794A (en) * 1982-06-08 1983-12-15 Toshiba Corp Non-volatile memory device
JPH0619800A (en) * 1992-06-30 1994-01-28 Sharp Corp Method for data writing e2rom
JPH1063582A (en) * 1996-08-26 1998-03-06 Jatco Corp Controller for vehicle
CN1988039A (en) * 2005-12-21 2007-06-27 群联电子股份有限公司 Flash storage scattered writing method
US20080168252A1 (en) * 2005-05-23 2008-07-10 Matsushita Electric Industrial Co., Ltd. Memory Controller, Nonvolatile Storage Device, Nonvolatile Storage System, and Memory Control Method
US20100034024A1 (en) * 2008-08-08 2010-02-11 Yoshinori Mochizuki Control Method For Nonvolatile Memory and Semiconductor Device
US20100138593A1 (en) * 2007-05-10 2010-06-03 Takeshi Ootsuka Memory controller, semiconductor recording device, and method for notifying the number of times of rewriting
US20110066792A1 (en) * 2008-02-10 2011-03-17 Rambus Inc. Segmentation Of Flash Memory For Partial Volatile Storage
US20110153917A1 (en) * 2009-12-17 2011-06-23 Hitachi, Ltd. Storage apparatus and its control method
US20110191521A1 (en) * 2009-07-23 2011-08-04 Hitachi, Ltd. Flash memory device
US20120030409A1 (en) * 2010-07-30 2012-02-02 Apple Inc. Initiating wear leveling for a non-volatile memory
US20120155167A1 (en) * 2010-12-21 2012-06-21 Kabushiki Kaisha Toshiba Non-volatile storage device, information processing system and write control method of non-volatile storage device
US20120191900A1 (en) * 2009-07-17 2012-07-26 Atsushi Kunimatsu Memory management device
US20130138870A1 (en) * 2011-11-30 2013-05-30 Samsung Electronics Co., Ltd. Memory system, data storage device, memory card, and ssd including wear level control logic
CN103489482A (en) * 2012-06-07 2014-01-01 索尼公司 Information processing apparatus and method and program
CN106250320A (en) * 2016-07-19 2016-12-21 诸葛晴凤 A kind of memory file system management method of data consistency and abrasion equilibrium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4301301B2 (en) 2007-02-05 2009-07-22 ソニー株式会社 Nonvolatile semiconductor memory device and management method thereof

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58215794A (en) * 1982-06-08 1983-12-15 Toshiba Corp Non-volatile memory device
JPH0619800A (en) * 1992-06-30 1994-01-28 Sharp Corp Method for data writing e2rom
JPH1063582A (en) * 1996-08-26 1998-03-06 Jatco Corp Controller for vehicle
US20080168252A1 (en) * 2005-05-23 2008-07-10 Matsushita Electric Industrial Co., Ltd. Memory Controller, Nonvolatile Storage Device, Nonvolatile Storage System, and Memory Control Method
CN1988039A (en) * 2005-12-21 2007-06-27 群联电子股份有限公司 Flash storage scattered writing method
US20100138593A1 (en) * 2007-05-10 2010-06-03 Takeshi Ootsuka Memory controller, semiconductor recording device, and method for notifying the number of times of rewriting
US20110066792A1 (en) * 2008-02-10 2011-03-17 Rambus Inc. Segmentation Of Flash Memory For Partial Volatile Storage
US20100034024A1 (en) * 2008-08-08 2010-02-11 Yoshinori Mochizuki Control Method For Nonvolatile Memory and Semiconductor Device
US20120191900A1 (en) * 2009-07-17 2012-07-26 Atsushi Kunimatsu Memory management device
US20110191521A1 (en) * 2009-07-23 2011-08-04 Hitachi, Ltd. Flash memory device
US20110153917A1 (en) * 2009-12-17 2011-06-23 Hitachi, Ltd. Storage apparatus and its control method
US20120030409A1 (en) * 2010-07-30 2012-02-02 Apple Inc. Initiating wear leveling for a non-volatile memory
US20120155167A1 (en) * 2010-12-21 2012-06-21 Kabushiki Kaisha Toshiba Non-volatile storage device, information processing system and write control method of non-volatile storage device
US20130138870A1 (en) * 2011-11-30 2013-05-30 Samsung Electronics Co., Ltd. Memory system, data storage device, memory card, and ssd including wear level control logic
CN103489482A (en) * 2012-06-07 2014-01-01 索尼公司 Information processing apparatus and method and program
CN106250320A (en) * 2016-07-19 2016-12-21 诸葛晴凤 A kind of memory file system management method of data consistency and abrasion equilibrium

Also Published As

Publication number Publication date
JPWO2018186453A1 (en) 2019-12-19
US20200026452A1 (en) 2020-01-23
JP6890238B2 (en) 2021-06-18
EP3588305A4 (en) 2020-04-01
EP3588305A1 (en) 2020-01-01
WO2018186453A1 (en) 2018-10-11
CN110392885B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
US9811462B2 (en) Memory system executing garbage collection
KR102015053B1 (en) Nonvolatile memory device and data processing method thereof
CN107967121A (en) Method for writing data and storage device
US10331584B2 (en) Internal system namespace exposed through use of two local processors and controller memory buffer with two reserved areas
CN110471861A (en) Date storage method and flash memory device in a kind of flash memory device
TW200928734A (en) System, method and a computer program product for writing data to different storage devices based on write frequency
CN105023612B (en) Bidirectional counter in flash memory
US10126970B2 (en) Paired metablocks in non-volatile storage device
CN108153680A (en) Data storage device and its operating method
KR102198615B1 (en) Non-volatile memory device using dual program operation, memory system including the same and operating method thereof
CN106610901B (en) The abrasion number balance method and device of memory
CN109508142A (en) Data storage device and its operating method
CN105740165A (en) Method and apparatus for managing file system of unified storage system
US20130179647A1 (en) Storage device and data management method thereof
KR20180014975A (en) Data storage device and operating method thereof
CN108415663A (en) The operating method of data storage device
US20110055430A1 (en) Method for establishing a communication channel between a host device and a memory device, associated memory device and controller thereof, and associated host device and host device application
US20210389911A1 (en) Zone allocation for data storage device based on zone reset behavior
CN103229150B (en) data control method and system
CN108228103A (en) A kind of data processing method and device of SSD hard disks
CN110392885A (en) Increase the nonvolatile memory of access times
US11216383B2 (en) Storage device providing a virtual memory region, electronic system including the same, and method of operating the same
KR20170139730A (en) Data storage device and operating method thereof
CN110297578A (en) Method and device for processing partial data in mass data in batch and electronic equipment
CN107943422A (en) A kind of high speed storing media data management method, system and device

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
GR01 Patent grant
GR01 Patent grant