Data reading and writing method and device for flash memory equipment and host system
A flash memory storage, host system technology, applied in memory systems, electrical digital data processing, memory address/allocation/relocation, etc., can solve the problem of low data read and write efficiency, reduce copying, and improve read and write efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] figure 1 A system scenario to which the method for reading and writing data of a flash memory storage device provided in Embodiment 1 of the present invention is applicable is shown. For convenience of description, only parts related to this embodiment are shown.
[0038] Such as figure 1 As shown, the system includes a host system 1 and a flash storage device 2 .
[0039] Wherein, the host system 1 includes a microprocessor 11 , a cache 12 , a data transmission interface 13 and an input or output device 14 .
[0040] The host system 1 is connected to the flash storage device 2 through the data transmission interface 13 . The user sends a write command to the microprocessor 11 through the input / output device 14, and the microprocessor 11 sends the write command to the flash storage device 2 through the data transmission interface 13, and the write command includes the The data in the cache 12 and the address where the data is written into the flash storage device 2 ....
Embodiment 2
[0070] figure 2 The implementation flow of the method for reading and writing data of a flash memory storage device provided by Embodiment 2 of the present invention is shown, and the process of the method is described in detail as follows:
[0071] In step S201, a plurality of read-write caches with a size of a first fixed value are applied for in the cache of the host system, and the first fixed value is an integer multiple of the size of a flash memory page in the flash storage device.
[0072] In this embodiment, the cache of the host system is divided into multiple read-write caches according to a preset first fixed value. Optionally, it is also possible to select a part (according to a preset ratio, such as 50%) of the divided read-write caches from the plurality of read-write caches for caching writes to the flash memory storage device and / or from the flash memory storage device. The read data; in addition, it is also possible to select part of the cache of the host s...
Embodiment 3
[0140] Figure 12 The implementation flow of the method for reading and writing data of a flash memory storage device provided by Embodiment 3 of the present invention is shown, and the process of the method is described in detail as follows:
[0141] In step S1201, multiple read-write caches with a size of a first fixed value are applied for in the cache of the host system, and the first fixed value is an integer multiple of the size of a flash memory page in the flash storage device.
[0142] This step is the same as step S201 in the second embodiment, and the specific implementation process is as described in step S201 in the second embodiment, and will not be repeated here.
[0143] In step S1202, the data whose read address is the read hot address or the data on the address continuous with the current read address is read from the flash storage device into the read-write cache in advance, wherein the read hot address is The address currently having data read;
[0144] I...
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