Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Wiping and writing management method and system for non-volatile flash memory

A non-volatile, management method technology, applied in the direction of memory address/allocation/relocation, etc., can solve the problem of non-volatile Flash media loss imbalance

Inactive Publication Date: 2014-11-19
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF7 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a non-volatile flash memory erasing management method and system to solve the non-volatile flash medium loss imbalance problem

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
  • Wiping and writing management method and system for non-volatile flash memory
  • Wiping and writing management method and system for non-volatile flash memory
  • Wiping and writing management method and system for non-volatile flash memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] The inventor of the present application proposes a layering mechanism, wherein the first layer is partitioned according to the address of the Flash storage medium, each area has a unique label, and heat weights are assigned to the corresponding area according to the write operation. The second layer counts the heat weight of each area, and balances the write operations of the hot area with the cold area to meet the effect of wear balance.

[0042] Based on the above ideas, this embodiment provides a management method for erasing and writing a non-volatile flash memory, which mainly includes the following operations:

[0043] According to the address in the flash memory, the flash memory is divided into several storage areas of the same size;

[0044] Calculate the heat weight of each storage area according to the number of write operations of each storage area, wherein the heat weight of the storage area is proportional to the number of write operations of the storage a...

Embodiment 2

[0060] This embodiment provides an erasing and writing management system for a non-volatile flash memory, which at least includes the following parts.

[0061] Divide the module, divide the flash memory into several storage areas of the same size according to the flash memory address;

[0062] Wherein, when the address area in the Flash storage medium is partitioned, it can be partitioned according to an integer multiple of the page size, that is, the entire unified address space is divided into several areas, and each area manages internal page operations. It should be noted that the selection of the size of the partition requires that the required storage space be reasonable. Assign weights to the erasing and writing operation areas through a reasonable mechanism, and perform area weight statistics. In the weighting method, the difference between the data that has just been accessed and the data that has been accessed before should be distinguished to ensure the feasibility...

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 wiping and writing management method and system for a non-volatile flash memory and relates to Flash wiping and writing technologies. The method includes the steps that the flash memory is divided into multiple storage regions which are the same in size according to a flash memory address; according to the frequency of writing operation of each storage region, the heat weight value of each storage region is counted; when a writing request for one storage region is received, it is determined that the storage region is within a preset heat data region range in the sequence of the heat weight values of all the storage regions, data of the writing request are written into any one storage region beyond the heat data region range, and otherwise the data of the writing request are directly written into the storage region. The invention further discloses the wiping and writing management system for the non-volatile flash memory. According to the technical scheme, a layering mechanism is used for managing Flash wiping and writing, the balance of non-volatile Flash medium loss is guaranteed, the efficiency of waste recovery is improved, and the service life of media is prolonged.

Description

technical field [0001] The present invention relates to flash erasing technology, in particular to a non-volatile flash erasing management method and system. Background technique [0002] With the widespread use of mobile electronic products such as mobile phones, PADs, personal computers, and digital cameras, the demand for intelligent electronic products is increasing. For functions such as backup data information, embedded storage media is necessary. Flash memory has the characteristics of non-volatility, low power consumption, small size, and large capacity, and has been gradually applied to the above-mentioned electronic devices. Flash is divided into multiple blocks, and each block is composed of multiple pages. A page is the smallest unit for writing, and a block is the smallest unit for erasing. The number of erasing times on each block in Flash is limited. If the data on the concentrated block is frequently erased, the block will be worn out in advance, thereby aff...

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 Applications(China)
IPC IPC(8): G06F12/02G06F12/06
Inventor 郭美思吴楠
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products