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

Data write-in method and storage device

A storage device and data writing technology, applied in the field of electronics, can solve the problems of SSD capitalization overhead, SSD performance and life decline, etc., and achieve the effect of reducing write overhead and the number of updates.

Active Publication Date: 2015-03-25
HUAWEI TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a data writing method and a storage device, which are used to solve the problem in the prior art that each time a data block is modified, its index data will be correspondingly modified, which causes a large write overhead to SSD and leads to SSD performance. And the technical problem of lifespan decline, achieved the technical effect of reducing the write overhead caused by modifying data blocks to SSD, improving SSD performance, and prolonging the lifespan of SSD

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
  • Data write-in method and storage device
  • Data write-in method and storage device
  • Data write-in method and storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The embodiments of the present invention provide a data writing method and storage device, which are used to solve the problem that every time a data block is modified in the prior art, its index data will be modified accordingly, which causes a large write overhead to the SSD and leads to the performance of the SSD. As well as the technical problem of reduced lifespan, the technical effects of reducing the write overhead caused by modifying the data block to the SSD, improving the performance of the SSD, and extending the life of the SSD are realized.

[0041] In the embodiment of the present invention, a plurality of data blocks are first modified in the memory, and then at least two data blocks with the same index data are determined from the modified plurality of data blocks, and then the at least two data blocks are written to the storage medium, Finally, modify the index data pointing to at least two data blocks.

[0042] Compared with the prior art technical solution ...

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 provides a data write-in method and a storage device. The method is applied to the storage device. The storage device comprises a processor, an internal storage and storage media. Data blocks in the storage media are organized to be of a tree structure. Leaf nodes of the tree are used for storing the data blocks. Father nodes and root nodes of the tree are used for storing index data. The index data are used for indexing the data blocks. The method is executed by the processor and includes the steps that a plurality of data blocks are received, and the data blocks are written in the internal storage; the data blocks are modified in the internal storage; at least two data blocks are determined from the multiple modified data blocks, and the index data of the at least two data blocks are the same; storage addresses in the storage media are distributed to the at least two data blocks, the at least two data blocks are written in the storage media according to the distributed storage addresses; the index data pointing to the at least two data blocks are modified.

Description

Technical field [0001] The present invention relates to the field of electronic technology, in particular to a data writing method and storage device. Background technique [0002] Compared with traditional mechanical hard drives, SSD (English: Solid State Drive; Chinese: Solid State Drive) has the advantages of fast reading and writing, shockproof, small size, and zero noise, and is widely used by people. Generally, SSDs have a limited number of writes. [0003] In the prior art, modifying the data block on the SSD adopts ROW (English: Redirection On Write; Chinese: Redirection On Write) technology. The existing file system built on SSD based on ROW technology generally organizes the entire file system into a tree structure. The leaf nodes in the tree structure are used to store data blocks, the parent node and root are index data, and the index data is used to index data blocks. [0004] When modifying the data block on the SSD, first modify it in the memory, and then allocate t...

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): G06F3/06G06F12/02
CPCG06F3/06G06F12/02G06F12/0246
Inventor 叶茂
Owner HUAWEI TECH CO LTD
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