CN100356347C - Safety writing method for flash memory - Google Patents

Safety writing method for flash memory Download PDF

Info

Publication number
CN100356347C
CN100356347C CNB2006100789997A CN200610078999A CN100356347C CN 100356347 C CN100356347 C CN 100356347C CN B2006100789997 A CNB2006100789997 A CN B2006100789997A CN 200610078999 A CN200610078999 A CN 200610078999A CN 100356347 C CN100356347 C CN 100356347C
Authority
CN
China
Prior art keywords
block
logical block
backup
logical
lbn
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.)
Expired - Fee Related
Application number
CNB2006100789997A
Other languages
Chinese (zh)
Other versions
CN1845082A (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.)
Feitian Technologies Co Ltd
Original Assignee
Beijing Feitian Technologies 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 Beijing Feitian Technologies Co Ltd filed Critical Beijing Feitian Technologies Co Ltd
Priority to CNB2006100789997A priority Critical patent/CN100356347C/en
Publication of CN1845082A publication Critical patent/CN1845082A/en
Application granted granted Critical
Publication of CN100356347C publication Critical patent/CN100356347C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present invention relates to a method of safe reading and writing a chip memory, particularly to a safety writing method of a flash memory. Each minimum erasing writing unit can be used as a logic block; each logic block comprises one or more than one logic page; writing data and contents in a target logic block can be written in a backup logic block by numbering each logic block; thereby, the safety writing of data can be realized by reversing the logic number of the backup logic block and the block number of the target logic block, and the action of preferable power failure protection can be achieved. Simultaneously, the backup block is random, the excess erasing writing of any erasing writing block can be avoided, and the backup block can reach to the maximum erasing writing time preceding other logic blocks. Thereby, the present invention achieves abrasion balance and enhances the service life of the flash memory, and the system performance can be enhanced. In addition, compared with the prior art, the whole erasing writing blocks do not need to be erased frequently, and the consumption of memory can be largely reduced.

Description

The safety writing method of flash memory
Technical field
The present invention relates to the method for the safe read-write of chip memory, is a kind of safety writing method of flash memory specifically.
Technical background
In the last few years, flash memory (Flash Memory) storage medium was developed rapidly in embedded system and widespread use.Flash memory is a kind of storer of based semiconductor, still can keep internal information after having system's power down, and online functional characteristics such as erasable, is a kind of novel storer that substitutes original EEPROM storage medium.
At first introduce characteristic and the restriction of flash memory (Flash Memory), the characteristic of flash memory described here and restriction all are from the angle of the file system on upper strata, and can not relate to concrete physical characteristics:
A) the minimum addressing unit of flash memory is byte (byte), rather than the sector on the disk (sector).This means that we can be from any skew (offset) read data of a flash memory, but do not show that operation also is that unit carries out with the byte to flash memory write.
B) (by erasable mistake, but also do not have write operation to take place) when a flash memory is in clean state, each (bit) on this piece flash all is logical one.
C) each on the flash memory (bit) can be set to logical zero by write operation.Logical zero is set to logical one and but can not step-by-step (bit) operates, a general minimum erase units is called erasable block, and erasable operation can only be carried out for unit by erasable block (erase block).The size of erasable block does not wait from 4K to 128K.From the upper strata, the erasable function of finishing is exactly interior each of erasable block all to be reseted put (reset) one-tenth logical one.
D) be limited the serviceable life of flash memory.Specifically, be that maximum erasable number of times by erasable block decides the serviceable life of flash memory.Surpassed maximum erasable number of times, this erasable block has just become bad piece (bad block).Therefore for fear of certain erasable block by excessively erasable, to such an extent as to it reaches maximum erasable number of times prior to other erasable block, we should be evenly distributed on each erasable block erasable operation under the little prerequisite that influences performance of trying one's best.This process is called abrasion equilibration (wear leveling).
E) flash memory generally has a maximum writing unit, and we are accustomed to maximum writing unit is called page or leaf usually, and a general erasable block comprises one or more page or leaf.
In embedded system development,, require that the write operation of flash memory is done anti-power down protection and handle for improving reliability and security.Anti-power down protection is meant that before a write operation is finished if the unexpected power down of system, after re-powering, system can return to the state before the write operation.Yet because some characteristics of flash memory wiping/writing aspect cause its anti-power down process at flash memory difficult comparatively speaking a lot.
Because the above-mentioned characteristic of flash memory, when operating in file system on the flash memory at present and will rewrite the sector of a block device, normally the data of this place, sector erasable block are read in the internal memory, be placed in the buffer memory (buffer), then content corresponding with this sector in the buffer memory is replaced with new content, again this erasable block is carried out erasable operation, the data in will cushioning at last write back this erasable block.The shortcoming of this implementation is clearly: efficient is low, will rewrite data on the whole erasable block to the renewal of a sector, also causes the very big waste of memory headroom; Abrasion equilibration is not provided, and those data place erasable blocks by frequent updating will at first become bad piece; Very dangerous, be easy to cause losing of data.If superincumbent operation between last two steps unexpected power down (power loss) has taken place, the data in the so whole erasable block have just all been lost.This is unacceptable in the unexpected recurrent embedded system of power down.
Summary of the invention
The present invention has overcome above-mentioned shortcoming, the method at the safe read-write of flash memory that a kind of safety, abrasion equilibration is provided and has saved internal memory.
The present invention solves the technical scheme that its technical matters takes: a kind of safety writing method of flash memory, with each minimum erasable unit as a logical block, comprise one or more logical page (LPAGE) in each logical block, and to each logical block number, described logical block number (LBN) is stored in the logical block of place with fixing figure place, comprise the backup block that is used for data relay of a reservation in the described logical block, writing of data may further comprise the steps:
1), obtains the logical block number (LBN) of corresponding target block and the page number of the interior corresponding page or leaf of described logical block according to the logical block that will write the destination address place of content;
2) content that will write set by step 1) in the page number that obtains write in the corresponding page or leaf in the described backup block;
3) other each pages except that described corresponding page or leaf in the described object block are write in other corresponding in the described backup block each pages;
4) logical block number (LBN) in the backup block is replaced by the logical block number (LBN) of object block in the described step 1);
5) full content when each significance bit of described backup block number all is " 1 ", erase step 1) in the target logic piece, the target logic piece after described the wiping becomes new backup block,
When each significance bit of described backup block number is not " 1 " entirely, erase step 1) full content in the target logic piece, and logical block number (LBN) is rewritten as backup block number, as new backup block.
Described step 2), 3) order can be put upside down.
Described logical block number (LBN) can be kept in first byte of place logical block or last byte.
If between step 4) and step 5), power down takes place, after then powering on, can carry out following steps:
Choose and keep two any logical blocks that has in the same logical block number, another one is as the backup logical block, and wipes the content in the described backup logical block.
A kind of safety writing method of flash memory, with each minimum erasable unit as a logical block, comprise one or more logical page (LPAGE) in each logical block, and to each logical block number, described logical block number (LBN) is stored in the logical block of place with fixing figure place, the backup block that is used for data relay that comprises a reservation in the described logical block, when each significance bit of described logical block number (LBN) was " 0 " entirely, writing of data may further comprise the steps:
1), obtains the logical block number (LBN) of corresponding target block and the page number of the interior corresponding page or leaf of described logical block according to the logical block that will write the destination address place of content;
2) find and wipe full content in the described backup block;
3) content that will write set by step 1) in the page number that obtains write in the corresponding page or leaf in the described backup block;
4) other each pages except that described corresponding page or leaf in the described object block are write in other corresponding in the described backup block each pages;
5) logical block number (LBN) in the backup block is replaced by the logical block number (LBN) of object block in the described step 1);
6) logical block number (LBN) in the object block of step 1) Central Plains is rewritten as the logical block piece number of backup block;
Described step 3), 4) order can be put upside down.
Described logical block number (LBN) can be kept in first byte of place logical block or last byte.
If between step 5) and step 6), power down takes place, after then powering on, can carry out following steps:
Choose and keep two any logical blocks that has in the same logical block number, another one is as the backup logical block, and logical block number is rewritten as the logical block number (LBN) of former backup block in the described backup logical block that will choose.
Can carry out to the flash memory initialization or formative the time in system the numbering of each logical block.
The present invention with each minimum erasable unit as a logical block; comprise one or more logical page (LPAGE)s in each logical block; by also giving each logical block number; content in data that will write and the target logic piece all writes the backup logical block; and will back up the logic number of logical block and the piece number inversion of target logic piece; thereby the safety that realizes data writes; and can reach the effect of good power down protection; described backup block is at random simultaneously; avoided certain erasable block by excessively erasable; to such an extent as to it reaches maximum erasable number of times prior to other logical block, thereby reaches abrasion equilibration, improve the serviceable life of flash memory; thereby raising system performance; owing to, do not need often erasable whole erasable block, reduced the use amount of internal memory significantly in addition than prior art.
Description of drawings
Fig. 1 is the original state of storer before rewriting in the embodiment of the invention 1;
Fig. 2 is the state of completing steps 2 background storages in the embodiment of the invention 1;
Fig. 3 is the state of completing steps 3 background storages in the embodiment of the invention 1;
Fig. 4 is the state of completing steps 4 background storages in the embodiment of the invention 1;
Fig. 5 is the state of completing steps 5 background storages in the embodiment of the invention 1.
Fig. 6 is the original state of storer before rewriting in the embodiment of the invention 2;
Fig. 7 is the state of completing steps 2 background storages in the embodiment of the invention 2;
Fig. 8 is the state of completing steps 3 background storages in the embodiment of the invention 2;
Fig. 9 is the state of completing steps 4 background storages in the embodiment of the invention 2;
Figure 10 is the state of completing steps 5 background storages in the embodiment of the invention 2.
Embodiment
According to specific embodiment content of the present invention is done detailed description below.
Since flash memory (Flash Memory) to write with the page or leaf be unit, wipe with the piece is unit, the flash memory of different types is had any different to the division of page or leaf and piece, we are with erasable block 64 bytes, it is example that each erasable block divides the memory block of four erasable blocks altogether of 8 pages or leaves, follow erasable block of the unique correspondence of each logical block, so each logical block also is 64 bytes, is divided into 8 pages or leaves.System all is based on described logical block to data write and handles, and all is to carry out according to logical address to the addressing of flash media.Simultaneously, also to keep a backup erasable block at least, be used for data relay.
Embodiment 1, in system to the flash memory initialization or formative the time, make corresponding logical block in the erasable unit of each physics in the flash memory, all number for each logical block, first byte that takies each logical block in the present embodiment is deposited logical block number (LBN), as shown in Figure 1, the active volume of each logical block just becomes 63 bytes in fact like this, and the size of whole memory block is 252 bytes.Here our logic number that defines four logical blocks respectively be 00,01,02,03,, wherein logic number is 00 the backup logical block of logical block for keeping, and for using or through the logical block after wiping, being used for the transfer of data.We are provided with the corresponding physical block 2 of 3, No. 00 logical blocks of the corresponding physical block of 1, No. 03 logical block of the corresponding physical block of 0, No. 02 logical block of the corresponding physical block of logical block No. 01 simultaneously, and logical address is addressed to logical block number (LBN) order from small to large and comes layout.The numbering of logical block decides according to concrete application, can adopt diverse ways.
For example will write string number 7 to logical address 0x31~0x38, concrete steps are as follows:
1, according to the target logic address that will write, obtain corresponding target logic piece number and page number, here be logical block 01 and wherein the 7th page, as shown in Figure 1;
2, find the backup logical block according to logical block number (LBN) 00, and wipe this backup logical block that finds, make they whole storage areas that comprise logical block number (LBN) be logical one, as shown in Figure 2;
3, in the logical block number (LBN) and page number in the backup block that calculates target logic piece number and page number correspondence in the content write step 1 that will rewrite, be about to string number 7 and write the 7th page of backup block, and will be corresponding to other page copies in the logical block 01 to backup in the logical block in the corresponding page or leaf, as shown in Figure 3;
4, with the logic number of backup block, the piece of the target logic piece that makes into to calculate in the step 1 number, the logic number FF that is about to backup block this moment changes 01 into, as shown in Figure 4;
5, the logical block number (LBN) of the logical block that calculates in the step 1 piece of former logical block 01 (be number) is rewritten as backup block piece number 00, as shown in Figure 5;
By above operation, we can find that logical block 01 has been rewritten as predetermined value safely, and only data have been rewritten to above the other physical block, and the physical block of itself then becomes new backup logical block (being logical block 00).Whenever power down takes place in the middle of this process can not cause losing of data, for example:
If a) power down occurs in before the step 3, to the logical block that will rewrite without any influence.
B) if power down occurs between step 3 and 4, because logical block number (LBN) just re-powers and can recover without any variation at this moment.
C) if power down occurs between step 4 and 5, at this moment, can there be the piece of two same blocks number, like this, another one is as backup block as logical block to re-power optional one of back, and the logical block number (LBN) 00 that then logical block number (LBN) is rewritten as backup block gets final product.
Embodiment 2, in system to the flash memory initialization or formative the time, make corresponding logical block in the erasable unit of each physics in the flash memory, all number for each logical block, first byte that takies each logical block in the present embodiment is deposited logical block number (LBN), as shown in Figure 6, the active volume of each logical block just becomes 63 bytes in fact like this, and the size of whole memory block is 252 bytes.Here our logic number that defines four logical blocks respectively be 01,02,03, FF, wherein logical block number (LBN) is the backup logical block of logical block for keeping of FF, and is used for the transfer of data.We are provided with the corresponding physical block 3 of 1, No. 03 logical block of the corresponding physical block of 0, No. 02 logical block of the corresponding physical block of logical block No. 01 simultaneously, the corresponding physical block 2 of FF logical block, and the numbering of logical block decides according to concrete application, can adopt diverse ways.
For example will write string number 7 to logical address 0x31~0x38, concrete steps are as follows:
1, according to the logical address that will write, obtain corresponding target logic piece number and page number, here be logical block 01 and wherein the 7th page, as shown in Figure 6;
2, find the backup logical block according to logical block number (LBN) FF, this backup logical block should be at this moment do not use or wipe after use, as shown in Figure 7;
3, in the logical block number (LBN) and page number in the backup block that calculates target logic piece number and page number correspondence in the content write step 1 that will rewrite, be about to string number 7 and write the 7th page of backup block FF, and will be corresponding to other page copies in the logical block 01 to backup in the logical block in the corresponding page or leaf, finish in this step background storage data as shown in Figure 8;
4, with the logic number of backup block, the piece of the target logic piece that makes into to calculate in the step 1 number, the logic number that is about to backup block changes 01 into, as shown in Figure 9;
5, the target logic piece that calculates in the erase step 1 is about to whole logical block and all is rewritten as logical one, and then logical block number (LBN) is FF, makes it become new backup block, as shown in figure 10;
By above operation, we can find that logical block 01 has been rewritten as predetermined value safely, only data have been rewritten to above the other physical block, and the physical block of itself has been in clean state, promptly be wiped free of, but still do not have write operation to take place, become new backup logic piece.Whenever power down takes place in the middle of this process can not cause losing of data, for example:
If a) power down occurs in before the step 3, to the logical block that will rewrite without any influence.
B) if power down occurs between step 3 and 4, because logical block number (LBN) just re-powers and can recover without any variation at this moment.
C) if power down occurs between step 4 and 5, at this moment, can there be the piece of two same blocks number, like this, another one is as backup block as the target logic piece to re-power optional one of back, and the logical block of wiping then as backup block gets final product.
Through above-mentioned processing, just can guarantee the security of system data, thereby reach the purpose of safe read-write, and the change at random of backup block also guaranteed abrasion equilibration, can not cause it to become bad piece in advance because of frequent erasable some physical blocks.Owing to do not need too much erasable whole erasable block, reduced the use amount of internal memory significantly simultaneously.
More than the safety writing method of flash memory provided by the present invention is described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (8)

1. a kind of safety writing method of flash memory, it is characterized in that: with each minimum erasable unit as a logical block, comprise one or more logical page (LPAGE) in each logical block, and to each logical block number, described logical block number (LBN) is stored in the logical block of place with fixing figure place, comprise the backup block that is used for data relay of a reservation in the described logical block, writing of data may further comprise the steps:
1), obtains the logical block number (LBN) of corresponding target block and the page number of the interior corresponding page or leaf of described logical block according to the logical block that will write the destination address place of content;
2) content that will write set by step 1) in the page number that obtains write in the corresponding page or leaf in the described backup block;
3) other each pages except that described corresponding page or leaf in the described object block are write in other corresponding in the described backup block each pages;
4) logical block number (LBN) in the backup block is replaced by the logical block number (LBN) of object block in the described step 1);
5) full content when each significance bit of described backup block number all is " 1 ", erase step 1) in the target logic piece, the target logic piece after described the wiping becomes new backup block,
When each significance bit of described backup block number is not " 1 " entirely, erase step 1) full content in the target logic piece, and logical block number (LBN) is rewritten as backup block number, as new backup block.
Described step 2), 3) order can be put upside down.
2. the safe write method of flash memory according to claim 1 is characterized in that: described logical block number (LBN) is kept in first byte of place logical block or last byte.
3. the safe write method of flash memory according to claim 1 and 2 is characterized in that: if between step 4) and step 5) power down takes place, after then powering on, carry out following steps:
Choose and keep two any logical blocks that has in the same logical block number, another one is as the backup logical block, and wipes the content in the described backup logical block.
4. the safe write method of flash memory according to claim 1 and 2 is characterized in that: the numbering of each logical block is carried out to the flash memory initialization or formative the time in system.
5. a kind of safety writing method of flash memory, it is characterized in that: with each minimum erasable unit as a logical block, comprise one or more logical page (LPAGE) in each logical block, and to each logical block number, described logical block number (LBN) is stored in the logical block of place with fixing figure place, the backup block that is used for data relay that comprises a reservation in the described logical block, when each significance bit of described logical block number (LBN) was " 0 " entirely, writing of data may further comprise the steps:
1), obtains the logical block number (LBN) of corresponding target block and the page number of the interior corresponding page or leaf of described logical block according to the logical block that will write the destination address place of content;
2) find and wipe full content in the described backup block;
3) content that will write set by step 1) in the page number that obtains write in the corresponding page or leaf in the described backup block;
4) other each pages except that described corresponding page or leaf in the described object block are write in other corresponding in the described backup block each pages;
5) logical block number (LBN) in the backup block is replaced by the logical block number (LBN) of object block in the described step 1);
6) logical block number (LBN) in the object block of step 1) Central Plains is rewritten as the logical block piece number of backup block;
Described step 3), 4) order can be put upside down.
6. the safety writing method of flash memory according to claim 5 is characterized in that: described logical block number (LBN) is kept in first byte of place logical block or last byte.
7. according to the safety writing method of claim 5 or 6 described flash memories, it is characterized in that:, after then powering on, carry out following steps if between step 5) and step 6), power down takes place:
Choose and keep two any logical blocks that has in the same logical block number, another one is as the backup logical block, and logical block number is rewritten as the logical block number (LBN) of former backup block in the described backup logical block that will choose.
8. according to the safety writing method of claim 5 or 6 described flash memories, it is characterized in that: the numbering of each logical block is carried out to the flash memory initialization or formative the time in system.
CNB2006100789997A 2006-04-29 2006-04-29 Safety writing method for flash memory Expired - Fee Related CN100356347C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100789997A CN100356347C (en) 2006-04-29 2006-04-29 Safety writing method for flash memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100789997A CN100356347C (en) 2006-04-29 2006-04-29 Safety writing method for flash memory

Publications (2)

Publication Number Publication Date
CN1845082A CN1845082A (en) 2006-10-11
CN100356347C true CN100356347C (en) 2007-12-19

Family

ID=37064010

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100789997A Expired - Fee Related CN100356347C (en) 2006-04-29 2006-04-29 Safety writing method for flash memory

Country Status (1)

Country Link
CN (1) CN100356347C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8122184B2 (en) 2007-01-17 2012-02-21 Memoright Memoritech (Wuhan) Co., Ltd. Methods for managing blocks in flash memories
CN101526921B (en) * 2008-12-31 2014-07-30 飞天诚信科技股份有限公司 Method and device for writing data

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251826B (en) * 2007-02-27 2010-09-01 深圳市同洲电子股份有限公司 Flash memory, method and apparatus for data management of flash memory
CN100462944C (en) * 2007-03-07 2009-02-18 北京飞天诚信科技有限公司 Power-fail protection method based on two continuous logical blocks for non-volatile memory
TWI373772B (en) 2007-10-04 2012-10-01 Phison Electronics Corp Wear leveling method and controller using the same
CN101441552B (en) * 2007-11-19 2012-05-23 深圳市朗科科技股份有限公司 Flash memory medium bad block processing method
CN101321341B (en) * 2008-07-11 2011-12-28 东信和平智能卡股份有限公司 smart card power-off protection method
CN101419838B (en) * 2008-09-12 2011-01-19 中兴通讯股份有限公司 Method for prolonging using life of flash
CN101493794B (en) * 2009-01-19 2011-12-21 成都市华为赛门铁克科技有限公司 Flash memory data processing method and device
CN101656106B (en) * 2009-08-27 2012-07-25 北京握奇数据***有限公司 Method for writing data into EEPROM and device thereof
CN102081576B (en) * 2011-03-01 2012-07-11 华中科技大学 Flash memory wear balance method
CN103092765B (en) 2012-12-31 2015-08-05 记忆科技(深圳)有限公司 Solid-state memory system, device and method for writing data
CN105426114B (en) * 2014-09-23 2019-04-19 北京联想核芯科技有限公司 The method and device of erasable object in a kind of determining hard disk
CN104461770B (en) * 2014-10-31 2017-12-15 上海动联信息技术股份有限公司 A kind of power-off protection method of Flash chip
CN106383775B (en) * 2015-08-18 2019-03-08 上海景格科技股份有限公司 Equipment uses time recording method and its device
CN106933705A (en) * 2015-12-31 2017-07-07 北京京存技术有限公司 The method and apparatus of flash memory system and its quick backup LSB page
CN109558274B (en) * 2018-10-24 2023-08-15 大唐微电子技术有限公司 Information processing method, device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5544312A (en) * 1994-04-29 1996-08-06 Intel Corporation Method of detecting loss of power during block erasure and while writing sector data to a solid state disk
US6427186B1 (en) * 1999-03-30 2002-07-30 Frank (Fong-Long) Lin Memory, interface system and method for mapping logical block numbers to physical sector numbers in a flash memory, using a master index table and a table of physical sector numbers
US20050132125A1 (en) * 2003-12-12 2005-06-16 Wee-Kuan Gan Linking method under mother and child block architecture for building check area and logic page of the child block

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5544312A (en) * 1994-04-29 1996-08-06 Intel Corporation Method of detecting loss of power during block erasure and while writing sector data to a solid state disk
US6427186B1 (en) * 1999-03-30 2002-07-30 Frank (Fong-Long) Lin Memory, interface system and method for mapping logical block numbers to physical sector numbers in a flash memory, using a master index table and a table of physical sector numbers
US20050132125A1 (en) * 2003-12-12 2005-06-16 Wee-Kuan Gan Linking method under mother and child block architecture for building check area and logic page of the child block

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8122184B2 (en) 2007-01-17 2012-02-21 Memoright Memoritech (Wuhan) Co., Ltd. Methods for managing blocks in flash memories
CN101526921B (en) * 2008-12-31 2014-07-30 飞天诚信科技股份有限公司 Method and device for writing data

Also Published As

Publication number Publication date
CN1845082A (en) 2006-10-11

Similar Documents

Publication Publication Date Title
CN100356347C (en) Safety writing method for flash memory
US9645895B2 (en) Data storage device and flash memory control method
CN100533408C (en) Flashmemory safety read-write method
TWI393140B (en) Methods of storing data in a non-volatile memory
US8001317B2 (en) Data writing method for non-volatile memory and controller using the same
JP4834676B2 (en) System and method using on-chip non-volatile memory write cache
JP4688584B2 (en) Storage device
US8037232B2 (en) Data protection method for power failure and controller using the same
JP5026213B2 (en) Storage apparatus and data deduplication method
CN102054533B (en) Isolation order, Stochastic sum system data with reduce garbage reclamation for the nonvolatile semiconductor memory mapped based on page
CN101425041B (en) Optimizing method for establishing FAT file systems on NAND FLASH memory
US7814263B2 (en) Erase history-based flash writing method
CN109542675A (en) Storage system and its operating method
CN110347332A (en) Garbage collection strategy for storage system and the method that executes the garbage collection
CN112015341B (en) Data storage method, storage system and storage medium
US11416177B2 (en) Memory sub-system storage mode control
CN101194238A (en) Memory controller, nonvolatile storage device, nonvolatile storage system, and data writing method
KR100845552B1 (en) Method for address mapping in Flash Translation LayerFTL
US11809328B2 (en) Control method of flash memory controller and associated flash memory controller and storage device
CN109521944A (en) data storage device and data storage method
TW202011194A (en) Flash memory controller and associated electronic device
US11507289B2 (en) Storage device, controller and method for operating storage device
CN113946283B (en) Partial region memory unit handling in a partition namespace of a memory device
CN101425334B (en) Method for implementing NOR FLASH bad block management and control circuit thereof
CN100456263C (en) Method for treating broken block when using flash memory in tax-controlled cashing machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: FEITIAN TECHNOLOGIES CO., LTD.

Free format text: FORMER NAME: BEIJING FEITIAN CHENGXIN TECHNOLOGY CO., LTD.

CP03 Change of name, title or address

Address after: 100085 Beijing city Haidian District Xueqing Road No. 9 Ebizal building B block 17 layer

Patentee after: Feitian Technologies Co.,Ltd.

Address before: 100083, Haidian District, Xueyuan Road, Beijing No. 40 research, 7A building, 5 floor

Patentee before: FEITIAN TECHNOLOGIES Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071219