Data reading and writing method and device
The invention discloses a data reading and writing method and device, which are used for shortening the time length required for performing data reading and writing by using a non-type flash memory and improving the data reading and writing efficiency and the space utilization rate of the non-type f...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
06.12.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a data reading and writing method and device, which are used for shortening the time length required for performing data reading and writing by using a non-type flash memory and improving the data reading and writing efficiency and the space utilization rate of the non-type flash memory. The invention provides a method for writing data into a non-type flash memory. The method comprises the following steps: writing a current data block into a current physical block of the non-type flash memory; when the current physical block is not the first physical block of the NAND flash memory, checking whether a data block in a previous physical block of the current physical block is subjected to bit flipping or not; and when the data block in the current physical block is subjected to bit flipping, rewriting the original data block written into the previous physical block in advance into the next physical block of the current physical block.
本申请公开了一种数据读写方法及装置,用以缩短利用非型闪存进行数据读写所需的时长,提高数据读写效率以及非型闪存空 |
---|---|
Bibliography: | Application Number: CN202211017965 |