Method and system for flash memory write-in under sector mode
A sector and flash memory technology, applied in the field of flash memory management, it can solve the problems of multiple programming, reduced flash write speed, affecting flash read and write speed, etc., to achieve the effect of improving read and write speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0067] After determining the distribution map of good and bad sectors, the following describes the operation process of this sector.
[0068] Step S101: Obtain the logical address and logical length of the data written to Flash in this operation, and find the logical block of this operation;
[0069] Step S102: Find the cache block corresponding to the logical block of this operation from the mapping table; find the logical block and the current corresponding cache from the mapping table according to the calculated block number of the logical block that needs to read and write data in this operation block; the corresponding relationship mentioned here means that in the logical address space, there is not a one-to-one correspondence between cache blocks and logical blocks, and one cache block can correspond to multiple logical blocks.
[0070] Step S103: Find a temporary storage block corresponding to the cache block from the mapping table; the temporary storage block is used t...
Embodiment 2
[0100] In this specific embodiment, the erasure of the temporary storage block is not performed every time, but is erased after the temporary storage block is full, such as Figure 6 As shown, it specifically includes the following steps:
[0101] Step S201 , step S202 , and step S203 are respectively the same as step S101 , step S102 , and step S103 in Embodiment 1, and descriptions thereof will not be repeated here. The difference between this embodiment and Embodiment 1 is that the step of writing the data to be written in this operation to the found cache block and the temporary storage block corresponding to the cache block includes:
[0102] Step S204: judging whether the last operation writes data into the cache block;
[0103] Step S205: If the last operation has written data into the cache block, read the last written data from the temporary storage block, and write the data into the corresponding cache block;
[0104] Step S206: After judging that the last operatio...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com