CN101645042A - Flash memory management method and flash memory medium - Google Patents

Flash memory management method and flash memory medium Download PDF

Info

Publication number
CN101645042A
CN101645042A CN 200810134277 CN200810134277A CN101645042A CN 101645042 A CN101645042 A CN 101645042A CN 200810134277 CN200810134277 CN 200810134277 CN 200810134277 A CN200810134277 A CN 200810134277A CN 101645042 A CN101645042 A CN 101645042A
Authority
CN
China
Prior art keywords
physical
comparisons
sector
data
flash memory
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
CN 200810134277
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.)
Netac Technology Co Ltd
Original Assignee
Netac Technology 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 Netac Technology Co Ltd filed Critical Netac Technology Co Ltd
Priority to CN 200810134277 priority Critical patent/CN101645042A/en
Publication of CN101645042A publication Critical patent/CN101645042A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a flash memory management method and a flash memory medium. The flash memory management method comprises the following steps: searching an available physical sector in a sub-chip physical block, and binding the physical block into a virtual physical block. A sub-chip flash memory medium comprises the secondary physical block; the secondary physical block comprises a physicalsector; the physical sector comprises the available physical sector and/or an unavailable physical sector; the virtual physical block is formed by the available physical sector; the virtual physicalblock comprises a virtual physical sector and an available physical sector comparison table; and the available physical sector is mapped by the virtual physical sector through the available physical sector comparison table. The available physical sector in a sub-chip flash memory is bound into the virtual physical block, and then the bound virtual physical block forms the sub-chip flash memory bymapping so as to realize the fully utilize the available physical sector in the sub-chip flash memory, improve the utilization rate of the sub-chip flash memory and reduce the production cost of the flash memory medium.

Description

Flash memory management method and flash media
Technical field
The present invention relates to area information storage, especially a kind of flash memory management method and use the flash media of this management method.
Background technology
At present, flash memory market makes rapid progress, and the variation of flash memory technology emerges in an endless stream, and manufacturing process is more and more accurate.But because the improvement of manufacturing process, speed of production significantly improves, thereby has produced a large amount of inferior sheet flash memories.Theoretical last time, the sheet flash memory should be scrapped, but because a variety of causes, a large amount of inferior sheet flash memories come into the market, and inferior sheet flash memory is exactly to have available block and unavailable in the flash memory simultaneously, so to the support more complicated of inferior sheet flash memory.Existing sheet flash memory carries out the screening of each piece earlier, guaranteed that piece all comes into operation, but the prerequisite of having judged piece must be that each sector all is available in this piece, the read-write of each sector must be correct in the piece, as long as it is disabled having a sector, then the piece at this place, sector all will be used as unavailable and screen out, but the available physical sector that exists in this still is operable, so will exist the piece of available physical sector to screen out the waste that has caused a large amount of flash memories as bad piece.
Summary of the invention
One of purpose of the present invention provides a kind of flash memory management method and flash media, and it can effectively be managed available physical sector and unavailable physical sector and the piece of depositing and use available physical sector in the piece, saves a large amount of flash memory resources.
Flash memory management method of the present invention comprises step: comprise step:
Search the available physical sector in time sheet physical block;
Inferior sheet physical block is bound the physical vlan piece.
Preferably, the described available physical sector step of searching is a reading of data after writing data in the physical sector in inferior sheet physical block, and relatively whether data streams read is consistent with writing data.
Preferably, describedly inferior sheet physical block bound the physical vlan piece comprise step:
The available physical sector is bound into the physical vlan piece;
Set up the available physical sector table of comparisons, the described available physical sector table of comparisons is the physical vlan sector with the available physical sector map.
Preferably, describedly the available physical sector be bound into physical vlan piece step comprise:
Check whether time sheet physical block satisfies the binding requirement;
If satisfied binding requires then binds, return after the binding and continue to check whether remain time sheet physical block satisfies the binding requirement; If do not satisfy the binding requirement then the binding end.
The present invention also provides a kind of flash media, comprise time sheet physical block, comprise physical sector in the inferior sheet physical block, physical sector comprises available physical sector and/or unavailable physical sector, the physical vlan piece is formed in the available physical sector, described physical vlan piece comprises the physical vlan sector and the available physical sector table of comparisons, and the physical vlan sector is by available physical sector table of comparisons mapping available physical sector.
Preferably, comprise logical data storage area, data exchange blocks zone and logical table storage area.
Preferably, described logical data storage area comprises at least one data storage subregion, and comprises that a stored logic table of comparisons shines upon the data partition holding, is used for storing data.
Preferably, described data exchange blocks zone comprises at least one data exchange blocks, and comprises a data exchange blocks table of comparisons, and the data exchange blocks table of comparisons shines upon the data swap block, the exchanges data when being used for writing data.
Preferably, described logical table storage area comprises at least one table of comparisons storage block, in table of comparisons storage block, comprise the sheet information table, be used for depositing the logical storage table of comparisons of data storage subregion in the logical data storage area, the data exchange blocks table of comparisons in the data exchange blocks zone.
The present invention becomes the physical vlan piece by the available physical sector in the inferior sheet flash memory is bound, physical vlan piece after will binding is again set up logical block by mapping, thereby realized making full use of to the available physical sector in the inferior sheet flash memory, avoided sector corruption in flash media, the whole situation about handling of the piece at this place, sector then as bad piece, improve the utilization factor of inferior sheet flash memory, reduced the production cost of flash media.
Description of drawings
Fig. 1 is the first embodiment of the invention schematic flow sheet;
Fig. 2 is a first embodiment of the invention time sheet physical block structural representation;
Fig. 3 is a first embodiment of the invention physical vlan block structure synoptic diagram;
Fig. 4 is a second embodiment of the invention available physical sector detection process flow diagram;
Fig. 5 is that third embodiment of the invention time sheet physical block is bound physical vlan piece process flow diagram;
The storage node composition that Fig. 6 third embodiment of the invention available physical sector table of comparisons adopts;
Fig. 7 third embodiment of the invention binding physical sector flow chart of steps;
Fig. 8 third embodiment of the invention physical sector binding process flow diagram;
Fig. 9 fourth embodiment of the invention zoned logic structural representation;
Figure 10 fourth embodiment of the invention time sheet flash memory logical organization synoptic diagram;
Figure 11 fourth embodiment of the invention sheet information table mapping structure synoptic diagram;
Figure 12 fourth embodiment of the invention time sheet flash memory work disposal process flow diagram;
Figure 13 fourth embodiment of the invention time sheet flash reading and writing processing flow chart;
Figure 14 fifth embodiment of the invention physical vlan piece logical organization synoptic diagram;
Figure 15 fifth embodiment of the invention time sheet flash memory logical organization synoptic diagram;
Figure 16 fifth embodiment of the invention physical block structural representation;
Figure 17 fifth embodiment of the invention available physical sector table of comparisons structural drawing.
The object of the invention, function and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing
Embodiment
Embodiments of the invention make the sector of binding form good physical vlan piece, thereby have realized making full use of the bad piece in the inferior sheet flash memory the binding of the available physical sector in the inferior sheet flash memory.
With reference to Fig. 1, the first embodiment of the present invention comprises step:
S110, search the available physical sector in time sheet physical block;
S120, inferior sheet physical block is bound the physical vlan piece.
According to the flash memory characteristics, flash media is formed by a plurality of, and each piece is formed by a plurality of pages again, and page or leaf can be divided into a plurality of sectors again.As shown in Figure 2, for inferior sheet flash memory, its physical block comprises page or leaf and sector, what each was horizontal is one page, little lattice in wherein horizontal one page are sectors, and black represents it is the available physical sector, and the white expression is unavailable physical sector, at inferior sheet flash memory, following 3 kinds of situations are arranged: (1) this page or leaf had both existed the available physical sector also to have unavailable physical sector; (2) sector of this page is the available physical sector entirely; (3) sector of this page is unavailable physical sector entirely.
Find out in time sheet flash memory after the available physical sector, inferior sheet physical block is bound the physical vlan piece, after the binding as shown in Figure 3, Fig. 3 is the physical arrangement synoptic diagram of physical vlan piece, a physical vlan piece is made up of a plurality of sheet physical blocks, and the inferior sheet physical block of forming the physical vlan piece is at least one.
Inferior sheet flash memory after the binding all carries out at the available physical sector in the physical vlan piece when read-write, and making time sheet flash memory logically is a good flash media.
The present invention proposes second embodiment on the basis of first embodiment, as shown in Figure 4, described available physical sector in searching time sheet flash block further comprises step:
S211, wipe the data on time sheet physical block in time sheet flash memory;
S212, write data in time sheet flash memory;
S213, from first time sheet physical block begin the operation, point to first physical sector;
S214, read this sectors of data;
S215, whether check and the Data Matching that writes;
If the data that S216 reads and the Data Matching that writes then the sector of detecting is the available physical sector write down the result; The sector of being detected if the data that read do not match with the data that write is unavailable physical sector, the record result;
All sectors of the inferior sheet physical block whether S217, inspection are detected are read and are finished, and do not finish if read, and point to the next physical sector of this time sheet physical block, and return step S214; Finish if read, carry out step 218;
S218, whether check that all inferior sheet physical blocks read in time sheet flash memory and finish, do not finish, point to the next physical sector of this time sheet physical block, and return step S214 if read; Finish if read, carry out step 219;
S219, finish, be organized into the available physical sector table of comparisons of one all physical vlan pieces of sheet flash memory.
On logical layer, each physical vlan piece is made up of continuous available physical sector, the physical vlan piece is a good fully piece, sector in the physical vlan piece all is the available physical sector, by mapping, each sector in the available physical sector map physical vlan piece in the inferior sheet physical block, the continuous available physical sector in the physical vlan piece is called the physical vlan sector.Each physical vlan piece is made up of a plurality of physical vlans sector, has removed the notion of page or leaf in the physical vlan piece, because the physical vlan sector in the physical vlan piece is not in same page or leaf from Physical layer, but scattered.
When the physical vlan piece is read and write available physical blocks is is wherein read and write, thereby realized making full use of the piece in the inferior sheet flash memory.
In order further effectively the available physical sector to be managed, the 3rd embodiment is proposed on the basis of second embodiment, as shown in Figure 5, describedly inferior sheet physical block is bound the physical vlan piece comprise step:
S121, the available physical sector is bound into the physical vlan piece;
S122, set up the available physical sector table of comparisons, the described available physical sector table of comparisons is the physical vlan sector with the available physical sector map.
The described available physical sector table of comparisons adopts B-tree storage organization.As shown in Figure 6, because table of comparisons space, available physical sector is bigger, being stored in uncertain sheet sector physical of the available physical sevtor address piece is very huge data, nor be convenient to search, so adopt B-tree storage organization to carry out storage administration, can save storage space, and seek rate is also very fast.The storage organization of expression 1 to 14 among the figure, comprise four little square frames in the big square frame among the figure, big available physical sector of box indicating, storing the available physical sector table of comparisons of 7 and 14 physical vlan piece, two pointers point to 3,6 and 10,13 respectively, and the rest may be inferred, form jumbo list structure, by such storage organization, can directly search the available physical sector table of comparisons of physical vlan piece, and can manage the sector in the physical vlan piece easily.The available physical sector table of comparisons can be written in the flash media when producing, the root node of the available physical sector table of comparisons can have redundant expression, root node can be found fast during convenient the use, and the available physical sector table of comparisons of the physical vlan piece of appointment can be found according to B-tree storage organization easily.The available physical sector table of comparisons write and the redundancy of root node represents all to adopt existing technological means.
As shown in Figure 7, described binding physical sector step comprises:
Whether S1211, inspection time sheet flash block satisfy the binding requirement; After described binding required to be meant the inferior sheet physical block upper limit number of determining can bind in the physical vlan piece, the requirement of physical vlan piece sector number need be satisfied in the available physical sector in these times sheet physical block.
If the satisfied binding of S1212 requires then binds, return after the binding and continue to check whether remain time sheet flash block satisfies the binding requirement; If do not satisfy the binding requirement then the binding end.
As shown in Figure 8, when carrying out step S1212, further comprise the steps:
The available physical sector is found out in whole sectors of S311, whole sheet flash memory of scanning;
Whether S312, inspection residue time sheet physical block satisfy the binding requirement;
If S313 satisfies then inferior sheet physical block is bound, return step S311 then; If do not satisfy then think there is not suitable inferior sheet physical block, step S314 is carried out in the binding end;
S314, set up an available physical sector table of comparisons, the available physical sector table of comparisons of all physical vlan pieces of promptly whole sheet flash memory;
S315, all available physical sector tables of comparisons of inferior sheet flash memory are carried out B-tree storage organization tissue,
S316, search in time top available physical of sheet flash memory sector, deposit this available physical sector table of comparisons in, wherein the redundant sign of root node record of B-tree storage organization;
S317, further production format are finished.
Because the physical vlan piece is many during actual the use, the space of storage list is limited again, so the fourth embodiment of the present invention is further carried out partition management, the physical vlan piece logically is divided into a plurality of subregions, comprise a physical vlan piece table of comparisons in each subregion, be used for the mapping of LBA (Logical Block Addressing), the corresponding physical vlan piece of each logic data block to the physical vlan block address.As shown in Figure 9, form by a plurality of logical blocks in each subregion, the physical vlan piece table of comparisons by this subregion can find the pairing physical vlan block address of each logical block easily, make index with the physical vlan block address, in the B-of available physical sector table of comparisons tree storage organization, find the available physical sector table of comparisons of this physical vlan piece fast, and then the available physical sector table of comparisons by this physical vlan piece, can find the pairing actual physical address in sector all in this physical vlan piece easily.
Data write for convenience, the 5th embodiment as shown in figure 10 provides the logical organization synoptic diagram of a kind of sheet flash memory, and what describe among the figure is the logical mappings relation that is based upon on the basis of physical vlan piece, and described physical vlan piece is divided into three parts:
Logical data storage area 1 comprises at least one data storage subregion 11, and sets up a stored logic table of comparisons data partition holding is shone upon, and is used for storing data;
Data exchange blocks zone 2 comprises at least one data exchange blocks 21, and sets up a data exchange blocks table of comparisons, and the data exchange blocks table of comparisons shines upon the data swap block, the exchanges data when being used for writing data;
Logical table storage area 3; This zone comprises at least one table of comparisons storage block 31, sets up the sheet information table in table of comparisons storage block, is used for depositing the logical storage table of comparisons of data storage subregion in the logical data storage area, the data exchange blocks table of comparisons in the data exchange blocks zone.
As shown in figure 11, the described further mapping logic of information table stored the table of comparisons and the data exchange blocks table of comparisons, be used for specifying the address of the data exchange blocks table of comparisons of the logical storage table of comparisons of depositing each subregion and exchanges data subregion, further improved the seek rate of the data exchange blocks table of comparisons in the logical storage table of comparisons of each subregion and the exchanges data subregion.
Data are operated logical data storage area 1 and logical table storage area 3 when reading, and data are being write fashionablely, and logical data storage area 1, data exchange blocks zone 2 and logical table storage area 3 all will be operated.
Figure 12 shows the overall workflow of the inferior sheet flash memory of present embodiment:
S321, power-up initializing, the executive mode of this step and initialization content and existing identical to flash disk operation;
S322, after the device power initialization, at first to read redundancy successively, find the available physical sector table of comparisons, at first read in the root node of the B-tree of the available physical sector table of comparisons, so can find out all physical vlan pieces the available physical sector table of comparisons;
S323, by the available physical sector table of comparisons, make full wafer time sheet flash memory form the structure of a physical vlan piece in logic;
S324, according to the structure of the physical vlan piece sector redundancy of each physical vlan piece of circulation searching successively.Find the sheet information table, just can know the physical vlan piece table of comparisons and the data exchange blocks table of comparisons in all subregions by this sheet information table, and the sense data swap block table of comparisons;
Whether S325, detection receive read write command, if receive read write command, execution in step S326 is not if receive read write command, execution in step S328;
S326, carry out read-write operation;
S327, finish read-write operation;
S328, enter idle running, wait for operation;
If S329 is subjected to the order that will extract, think that then the user will pull out equipment, check whether safety withdraws from, if safety withdraws from, carries out step S330, withdraws from if not safety and then returns step S325.
S330, the physical vlan piece table of comparisons of preserving each subregion and the data exchange blocks table of comparisons, and new sheet information table will be deposited the sector redundancy zero clearing of the old table of comparisons so that cancel this table to time sheet flash memory.Finish and close disk, can driver chuck.
Concrete, Figure 13 shows the read-write flow process of the inferior sheet flash memory of present embodiment, comprises the steps:
S401, receive read write command, and parse this order, draw the subregion that to read and write, the physical vlan piece in the subregion, the sector in the physical vlan piece;
S402, judge that the physical vlan piece table of comparisons in this subregion is whether in internal memory;
If S403 not in internal memory, judges then whether the physical vlan piece table of comparisons in the subregion was changed in the internal memory, carried out step S404 then; If in internal memory, then carry out step S406;
S404, with the physical vlan piece table of comparisons in the subregion in the internal memory, be stored in the flash media, abolish the old physical vlan piece table of comparisons of this subregion;
S405, read the table of the physical vlan piece table of comparisons to internal memory;
S406, read the physical vlan piece table of comparisons in the subregion to internal memory then;
S407, then directly by this physical vlan piece table of comparisons, B-tree construction by the physical vlan piece in the subregion and the available physical sector table of comparisons, the available physical sector table of comparisons that finds by the available physical sector table of comparisons, finds actual inferior sheet physical block and physical sector address;
S408, judgement are read operation or write operation;
S409 is if read operation, then directly from actual address sense data get final product, carry out step S412 then;
S410 is if write operation, then to find a data swap block by the data exchange blocks table of comparisons, also can find out the available physical sector table of comparisons of data exchange blocks, data are write sector in the data exchange blocks, then remaining sector data in the physical vlan piece is moved to the sector of data exchange blocks correspondence;
S411, revise the table of comparisons, the physical vlan piece table of comparisons of regeneration block points to the data exchange blocks that writes after the data with this physical vlan piece, abolishes original sensing physical vlan piece, and former physical vlan piece sassafras is removed, and is inserted in the data exchange blocks table of comparisons.Form new empty piece, and revise the data exchange blocks table of comparisons;
S412, finish read-write operation.
The sixth embodiment of the present invention provides a kind of flash media, comprise time sheet physical block, comprise physical sector in the inferior sheet physical block, shown in Figure 2 in conjunction with first embodiment, physical sector comprises available physical sector and/or unavailable physical sector, comprises page or leaf and sector in the inferior sheet physical block of inferior sheet flash media, what each was horizontal is one page, lattice in wherein horizontal one page are sectors, and black represents it is the available physical sector, and the white expression is unavailable physical sector.At inferior sheet physical block, the sector in one page, any bad may having has available physical sector and unavailable physical sector in one page, complete unavailable and full available physical sector is also arranged.
Shown in Figure 3 in conjunction with first embodiment, a physical vlan piece is made up of a plurality of sheet physical blocks, and the inferior sheet physical block of forming the physical vlan piece has at least one, and higher limit is arranged, and lower limit is one.
Figure 14 is a physical vlan piece logical schematic, and the physical vlan sector of forming the physical vlan piece is continuous, fixing available physical sector, be arranged as in logic the 0th sector, the 1st sector, the 2nd sector ..., the N sector.Can find the pairing actual physical address in available physical sector continuous in the physical vlan piece by the available physical sector table of comparisons of this physical vlan piece, and then visit the physical sector in this physical vlan piece.
Figure 15 is the logical organization synoptic diagram of time sheet flash media, by binding and mapping, available physical sector in time sheet physical block is used, full wafer time sheet flash media logically is made up of a plurality of good physical vlan pieces, be arranged as in logic the 0th physical vlan piece, the 1st physical vlan piece, the 2nd physical vlan piece ..., M physical vlan piece.
Figure 16 is a full wafer time sheet flash memory physical block structural representation, and available physical sector table of comparisons storage area 601 is used for depositing the available physical sector table of comparisons, is the physical vlan piece in the physical vlan piece zone 602.Wherein, as shown in figure 17, Figure 17 is the basic structure of the available physical sector table of comparisons of any one physical vlan piece, and index is which sector of this physical vlan piece of expression, finds concrete physical block address and physical sector address by index.
Present embodiment further carries out partition management, the physical vlan piece logically is divided into a plurality of subregions, comprise a physical vlan piece table of comparisons in each subregion, be used for the mapping of LBA (Logical Block Addressing), the corresponding physical vlan piece of each logic data block to the physical vlan block address.Shown in Figure 9 in conjunction with the 4th embodiment, form by a plurality of logical blocks in each subregion, the physical vlan piece table of comparisons by this subregion can find the pairing physical vlan block address of each logical block easily, make index with the physical vlan block address, in the B-tree construction of the available physical sector table of comparisons, find the available physical sector table of comparisons of this physical vlan piece fast, at the available physical sector table of comparisons, can find the pairing actual physical address in sector all in this physical vlan piece easily then by this physical vlan piece.
The 7th embodiment provides a kind of logical organization of flash media, shown in Figure 10 in conjunction with the 4th embodiment, and what describe among the figure is the logical mappings relation that is based upon on the basis of physical vlan piece, comprises three parts:
Logical data storage area 1 comprises at least one data storage subregion 11, and sets up a stored logic table of comparisons data partition holding is shone upon, and is used for storing data;
Data exchange blocks zone 2 comprises at least one data exchange blocks 21, and sets up a data exchange blocks table of comparisons and the data swap block is shone upon the exchanges data when being used for writing data;
Logical table storage area 3; This zone comprises at least one table of comparisons storage block 31, sets up the sheet information table in table of comparisons storage block, is used for depositing the logical storage table of comparisons of data storage subregion in the logical data storage area, the data exchange blocks table of comparisons in the data exchange blocks zone.
Shown in Figure 11 in conjunction with the 4th embodiment, the described further mapping logic of information table stored the table of comparisons and the data exchange blocks table of comparisons, be used for specifying the address of the data exchange blocks table of comparisons of the logical storage table of comparisons of depositing each subregion and exchanges data subregion, further improved the seek rate of the data exchange blocks table of comparisons in the logical storage table of comparisons of each subregion and the exchanges data subregion.
Concrete read with the write operation method referring to the 5th embodiment, do not giving unnecessary details herein.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (14)

1, a kind of flash memory management method is characterized in that, comprises step:
Search the available physical sector in time sheet physical block;
Inferior sheet physical block is bound the physical vlan piece.
2, flash memory management method as claimed in claim 1 is characterized in that:
The described available physical sector step of searching is a reading of data after writing data in the physical sector in described sheet physical block, and relatively whether data streams read is consistent with writing data.
3, flash memory management method as claimed in claim 1 or 2 is characterized in that, describedly inferior sheet physical block is bound the physical vlan piece comprises step:
Described available physical sector is bound into the physical vlan piece;
Set up the available physical sector table of comparisons, the available physical sector table of comparisons is the physical vlan sector with described available physical sector map.
4, flash memory management method as claimed in claim 3 is characterized in that:
The described available physical sector table of comparisons adopts B-tree storage organization.
5, flash memory management method as claimed in claim 3 is characterized in that, describedly the available physical sector is bound into physical vlan piece step comprises:
Check whether described sheet physical block satisfies the binding requirement;
If satisfied binding requires then binds, return after the binding and continue to check whether remain time sheet physical block satisfies the binding requirement; If do not satisfy the binding requirement then the binding end.
6, flash memory management method as claimed in claim 5 is characterized in that, also comprises step:
Set up the logical data storage area, comprise at least one data storage subregion in the described logical data storage area;
Set up the exchanges data zone, described exchanges data comprises at least one data exchange blocks in the zone;
Set up the logical table storage area, comprise at least one logical comparison table storage block in the described logical table storage area.
7, flash memory management method as claimed in claim 6 is characterized in that, the described logical data storage area of setting up comprises:
Set up the stored logic table of comparisons, the stored logic table of comparisons shines upon described data storage subregion.
8, flash memory management method as claimed in claim 7 is characterized in that, the described exchanges data zone of setting up comprises:
Set up the data exchange blocks table of comparisons, the data exchange blocks table of comparisons shines upon the exchanges data physical block address in described exchanges data zone.
9, flash memory management method as claimed in claim 8 is characterized in that, also comprises step:
Set up the sheet information table in the logical table storage area, described information table shines upon the described stored logic table of comparisons and the data exchange blocks table of comparisons.
10, a kind of flash media, comprise time sheet physical block, comprise physical sector in the inferior sheet physical block, physical sector comprises available physical sector and/or unavailable physical sector, it is characterized in that: the physical vlan piece is formed in described available physical sector, described physical vlan piece comprises the physical vlan sector and the available physical sector table of comparisons, and the physical vlan sector is by available physical sector table of comparisons mapping available physical sector.
11, flash media as claimed in claim 10 is characterized in that: described physical vlan piece is divided into logical data storage area, data exchange blocks zone and logical table storage area.
12, flash media as claimed in claim 11 is characterized in that:
Described logical data storage area comprises the stored logic table of comparisons that at least one data storage subregion and a pair of data storage subregion shine upon, and is used to store data.
13, flash media as claimed in claim 11 is characterized in that:
Described data exchange blocks zone comprises that at least one data exchange blocks and a pair of data exchange blocks carry out the mapped data swap block table of comparisons, is used for the exchanges data when writing data.
14, flash media as claimed in claim 11 is characterized in that:
Described logical table storage area comprises at least one table of comparisons storage block, comprises the sheet information table in table of comparisons storage block, is used to deposit the described logical storage table of comparisons and the described data exchange blocks table of comparisons.
CN 200810134277 2008-08-04 2008-08-04 Flash memory management method and flash memory medium Pending CN101645042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810134277 CN101645042A (en) 2008-08-04 2008-08-04 Flash memory management method and flash memory medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810134277 CN101645042A (en) 2008-08-04 2008-08-04 Flash memory management method and flash memory medium

Publications (1)

Publication Number Publication Date
CN101645042A true CN101645042A (en) 2010-02-10

Family

ID=41656934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810134277 Pending CN101645042A (en) 2008-08-04 2008-08-04 Flash memory management method and flash memory medium

Country Status (1)

Country Link
CN (1) CN101645042A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9323662B2 (en) 2012-12-31 2016-04-26 SanDisk Technologies, Inc. Flash memory using virtual physical addresses
CN112068777A (en) * 2020-09-03 2020-12-11 深圳市硅格半导体有限公司 Management method and system of data storage medium, terminal device and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9323662B2 (en) 2012-12-31 2016-04-26 SanDisk Technologies, Inc. Flash memory using virtual physical addresses
CN112068777A (en) * 2020-09-03 2020-12-11 深圳市硅格半导体有限公司 Management method and system of data storage medium, terminal device and storage medium
CN112068777B (en) * 2020-09-03 2023-08-18 深圳市硅格半导体有限公司 Management method and system of data storage medium, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106569745B (en) Memory optimizing system towards data de-duplication under a kind of memory overload
CN102609452B (en) Data storage method and data storage device
CN103778065B (en) A kind of flash memory and the method carrying out bad block management thereof
CN101169751A (en) System with flash memory device and data recovery method thereof
DE112015004536T5 (en) Hardware automation for storage management
CN105718206B (en) The flash translation layer (FTL) and its implementation of RAID can be perceived
US20100057979A1 (en) Data transmission method for flash memory and flash memory storage system and controller using the same
CN102779096A (en) Page, block and face-based three-dimensional flash memory address mapping method
CN103176916A (en) Flash memory and address transfer approach thereof
CN101930345B (en) Block access-based flash reading and writing method
CN103970669A (en) Method for accelerating physical-to-logic address mapping of recycling operation in solid-state equipment
CN107817945A (en) Data reading method and system of hybrid memory structure
CN103279366A (en) Solid state disk and method for rapidly start-up based on solid state disk after power failure
CN1896960A (en) Fast photographic system and method
CN101064192A (en) System and method for accessing not-and flash memory
CN107797938A (en) Accelerate to go the method and storage device for distributing command process
CN1635580A (en) Flash memory medium data writing method
CN101645042A (en) Flash memory management method and flash memory medium
CN101833511A (en) Data management method, device and system
CN103309619A (en) NAND Flash memory data storage method
CN101625661B (en) Data management method, storage system and controller used for flash memory
CN101533663B (en) Method for improving flash memory medium data access speed
CN109086001B (en) NAND Flash garbage recovery method and system
CN102375779B (en) A kind of data processing method and data processing module
TWI395100B (en) Method for processing data of flash memory by separating levels and flash memory device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100210