Storage space management method and device

A storage space and management method technology, which is applied in the field of storage space management methods and devices, can solve problems such as space waste, and achieve the effect of improving flexibility

Active Publication Date: 2020-07-03
GIGADEVICE SEMICON (BEIJING) INC
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above problems, a storage space management method and device accordi

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
  • Storage space management method and device
  • Storage space management method and device
  • Storage space management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037]In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, only a part of the embodiments of the present invention, not all the embodiments, and are not intended to limit the present invention.

[0038] refer to figure 1 , showing a flow chart of a storage space management method, which is applied to a non-volatile memory, and the non-volatile memory is preset with a first management linked list, a second management linked list, and a third management linked list.

[0039] In the embodiment of the present invention, corresponding nodes can be allocated in the first management linked list, the second management linked list and the third management linked list according to actua...

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 embodiment of the invention provides a storage space management method and device. The method comprises the steps that a data storage instruction is received; under the condition that the space occupation information is smaller than a first preset space threshold value, storing the to-be-stored data in a first Block corresponding to a first management linked list; under the condition that thespace occupied by the data stored in the first Block reaches a first space threshold value, moving the data stored in the first Block to a second Block corresponding to a second management linked list; and under the condition that the space occupation of the data stored in the second Block reaches a complete Block storage space threshold, moving the data stored in the second Block to a third Blockcorresponding to a third management linked list. According to the embodiment of the invention, the storage data in the nonvolatile memory is stored in the third Block in a complete Block state, so that the space fragmentation of the nonvolatile memory is avoided, and the space waste is greatly reduced.

Description

technical field [0001] The invention relates to the technical field of memory processing, in particular to a storage space management method and device. Background technique [0002] With the development of various electronic devices and embedded systems, non-volatile memory devices are widely used in electronic products. Take non-volatile memory NAND flash memory (NAND Flash Memory) as an example, a Nand flash memory is a device (device), a device can have 2 chips (Die), a chip can be divided into two flash memory slices (Plane), a A flash memory chip can be divided into 2048 blocks (Block), a block can be divided into 256 pages (Page), and a block can also have 256 WL (Word Line, word line). [0003] In the prior art, when performing operations such as reading and writing to a non-volatile memory, the unit is usually Page. Therefore, when managing storage space in the non-volatile memory, the mapping unit is usually Page. When managing the linked list Records the mapping...

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
IPC IPC(8): G06F3/06
CPCG06F3/0604G06F3/0629G06F3/064G06F3/0679Y02D10/00
Inventor 庄开锋
Owner GIGADEVICE SEMICON (BEIJING) INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products