A data storage method, storage device and storage system
A data storage and data technology, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve the problem of slowing down of user data writing speed, reduce the frequency of writing, and prolong the service life , Improve the effect of writing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] refer to image 3 , the present embodiment provides a data storage method, including:
[0048] Step S101, establishing a cache memory module in the SRAM;
[0049] Step S102, receiving the data sent by the host, and obtaining the write address and data length of the data;
[0050] Step S103, judging whether the data is user data or system table data according to the write address and data length of the data;
[0051] Step S104, if the data is user data, then write the user data into the NAND FLASH memory;
[0052] Step S105, if the data is system table data, cache the system table data in the cache memory module.
[0053]Specifically, step S101 is executed, and a cache memory (Cache) module is established in a static random access memory (SRAM), and the size of the cache memory module is 4KB.
[0054] Further, step S102 is executed to receive the data sent by the host, and obtain the write address and data length of the data, which are used to determine the type of t...
Embodiment 2
[0064] refer to Figure 5 , this embodiment provides a data storage device, including a main control unit 201 and a NAND FLASH memory 202, the main control unit 201 includes a static random access memory 203, the NAND FLASH memory 202 stores a plurality of instructions, and the main control unit 201 is used to read all above command and execute:
[0065] Establish a cache memory module 2031 in the SRAM 203;
[0066] Receive the data sent by the host, and obtain the write address and data length of the data;
[0067] According to the write address and data length of the data, it is judged whether the data is user data or system table data;
[0068] If the data is user data, then write the user data into the NAND FLASH memory 202;
[0069] If the data is system table data, cache the system table data in the cache memory module 2031 .
[0070] Further, the size of the cache memory (Cache) module 2031 established in the static random access memory (SRAM) 203 is 4KB.
[0071] ...
Embodiment 3
[0083] refer to Figure 6 , this embodiment provides a data storage system, including a data storage device 301, and a host 302, and the host 302 is connected to the data storage device 301.
[0084] For the specific working principle of the data storage device 301 , please refer to Embodiment 2, which will not be repeated here.
[0085] Further, the data storage device includes but is not limited to storage devices such as USB flash drives and SD cards.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


