A data storage method and storage system

A storage system and data technology, applied in the field of memory, can solve problems such as inability to allocate physical blocks reasonably, and achieve the effect of reducing workload, reducing write errors, and ensuring correctness

Active Publication Date: 2019-05-07
SHENZHEN UNIV
View PDF3 Cites 0 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 data storage method and storage system, aiming to solve the problem that the data in the flash memory cannot be reasonably allocated to physical blocks when storing

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
  • A data storage method and storage system
  • A data storage method and storage system
  • A data storage method and storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0043] see figure 1 , figure 1 It is a schematic diagram of the implementation flow of the data storage method provided by the first embodiment of the present invention, which mainly includes the following steps:

[0044] S101. When a write operation is detected, if data can be directly written, directly write data in a physical page of the latest physical block. Before writing data, it is necessary to receive a write operation, and determine whether the physical page of the latest physical block corresponding to the logical address of the write operation can write data.

[0045] When writing da...

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 is suitable for the technical field of memories and provides a data storage method and a data storage system. The storage method comprises the following steps of directly writing data in a physical page of a latest physical block if the data can be written in the physical page when a writing operation is detected; if the data cannot be written in the physical page, judging the updating frequency of a logic block according to the updating frequency of a physical block chain corresponding to the logic block; and selecting a corresponding blank physical block according to the updating frequency of the logic block, and performing data writing. According to the storage method, the generation of writing errors and read errors can be reduced, the data correctness can be ensured to the maximum extent, and the workload of ECC (Error Correcting Code) error correction is reduced.

Description

technical field [0001] The invention relates to the technical field of memory, in particular to a data storage method and a storage system. Background technique [0002] Flash memory (Flash Memory) is a long-life non-volatile memory, which can still maintain the stored data information in the case of power failure. The data deletion of the flash memory is not performed in units of single bytes but in units of fixed blocks, and the block size is generally 256KB to 20MB. Because it can still save data when power is off, flash memory is usually used to save setting information, such as saving data in computers, mobile phones, tablet computers, and digital cameras. [0003] The existing flash memory does not distinguish the data to be stored when storing data. As long as data is updated, operations such as writing, reading, erasing, and garbage collection will occur. The data in the flash memory can generally be divided into three categories: Hot data (that is, frequently upda...

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): G06F12/06
CPCG06F12/0646
Inventor 王毅董丽莎张明旭毛睿李荣华廖好
Owner SHENZHEN UNIV
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