Unlock instant, AI-driven research and patent intelligence for your innovation.

File storage system and its file storage control method and device

A file storage and control method technology, applied in the direction of input/output to the record carrier, etc., can solve the problems of lower system performance and shortened memory life, and achieve the effect of fast reading and writing speed, reducing the number of erasing and writing, and prolonging the service life.

Active Publication Date: 2018-10-12
SHANGHAI CIYU INFORMATION TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The problem to be solved by the present invention is the reduction of system performance or the shortening of memory life due to the fragmentation of files generated by storing files in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File storage system and its file storage control method and device
  • File storage system and its file storage control method and device
  • File storage system and its file storage control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In the prior art, if a traditional mechanical hard disk is used to store files, because it takes a long time to find a new address block, file fragmentation will lead to a significant decrease in system performance. The impact on system performance is small, but it can have a large impact on the lifetime of NAND.

[0057] The inventor of the present application analyzes as follows: Since the smallest erasable unit of NAND is a block, a block may have 32 pages, if a file with 32 pages is stored in 32 different blocks, then the file will be deleted when it is deleted. Erase 32 blocks; if there are 32 files stored in a block, when any one of the files is deleted or modified, the data of other files will also be erased and rewritten. Since more NAND erasing times will shorten the life of NAND, products using NAND or solid state drives (such as mobile phones, computers, etc.) will be scrapped ahead of time.

[0058] From the above analysis, we can see that in the era of usi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a file storage system and a file storage control method and apparatus therefor. The file storage system comprises a first memory adopting whole block reading and writing, and a second memory supporting random storage, wherein the first memory and the second memory are both nonvolatile memories; and the second memory has longer service life and equal or higher reading and writing speed in comparison with the first memory. The method comprises the steps of when a creation or writing operation of a file is performed, allocating a page in a file region of the second memory to the file; and once the size of the file is greater than or equal to that of a storage block in the first memory, writing the page allocated to the file, having the storage capacity corresponding to the size of the storage block and contained in the file region of the second memory into a complete storage block of the first memory, and releasing related pages in the file region of the second memory. According to the file storage system and the file storage control method and apparatus, the problem of reduced system performance or shortened memory life caused by fragmentization of the storage file can be solved.

Description

technical field [0001] The invention relates to the technical field of file storage, in particular to a file storage system and a file storage control method and device thereof. Background technique [0002] Now in computers, smart phones, and tablet computers, user data and files are stored in hard disks, or in NAND flash memory chips and solid state drives (SSD, Solid State Drives) composed of NAND flash memory. The replacement of traditional mechanical hard drives by NAND and solid-state drives is another major trend in industrial development. [0003] NAND is a block device that reads and writes as a whole. The smallest readable unit is called a page, and the smallest erasable unit is called a storage block or block. A block often consists of many pages. Composition, after the block is erased, the pages inside can be individually written (program) operations. [0004] One problem with NAND flash memory is that it has a limited lifetime. After each page in the NAND fla...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06
Inventor 戴瑾
Owner SHANGHAI CIYU INFORMATION TECH CO LTD