Write method and write device for solid-state storage hard disk

A solid-state storage and writing device technology, applied in the computer field, can solve problems such as difficulty, poor writing performance, and affect the processing of read requests, and achieve the effects of occupying less resources such as memory, high data storage efficiency, and saving resources such as memory

Active Publication Date: 2013-07-17
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the block mapping scheme, the firmware only maintains a mapping table from logical blocks to physical blocks, which is relatively simple, but the writing performance is poor, especially for random writing, and the writing amplification factor can reach more than 10 times, which seriously affects the service life of the SSD.
[0004] The RAM cache optimization scheme is based on block mapping, which can only solve the problem of sequential writing, and has no effect on random writing performance; and in the read-write mixed mode, each cache flush will affect the processing of read requests, resulting in delays in processing read requests at the same time major issues
[0005] Although the page mapping scheme is helpful to improve the write performance, the maintenance of the mapping table is more than a hundred times larger than the block mapping, which brings difficulty in management, and the resource consumption of a large number of garbage page collection is relatively large. SSD requires a large RAM Space to store the mapping table, and a large number of idle blocks for garbage collection to ensure stable performance, and with the continuous increase of SSD capacity, the difficulty of maintenance and management and the required resources are also increasing

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
  • Write method and write device for solid-state storage hard disk
  • Write method and write device for solid-state storage hard disk
  • Write method and write device for solid-state storage hard disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.

[0023] In the description of the present invention, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance. In the description of the present invention, it should be noted that unless otherwise specified and limited, the terms "connected" a...

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 write method and write device for a solid-state storage hard disk. The method comprises the following steps of dividing a plurality of pages of each data block of the solid-state storage hard disk into p metadata pages, n cache pages and m data pages, wherein p is an integer which is more than or equal to zero, and n and ma are an integer which is more than or equal to 1; receiving a write request; positioning a first data block according to the write request; judging whether the write request is used for updating the data in the first data block or not; judging whether n cache pages in the first data block are fulfilled or not if the write request is used for updating the data in the first data block; arranging the data in the n cache pages of the first data block to obtain the arranged cache data if the n cache pages are fulfilled; and writing the arranged cache data and the data corresponding to the write request into a data page in a second data block. The method can store the data at a high speed and is simple and easy to realize.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a writing method and a writing device for a solid-state storage hard disk. Background technique [0002] Solid State Disk (SSD for short) refers to a hard disk made of solid-state electronic storage chip arrays. It consists of a control unit and a storage unit. It is widely used in military, vehicle, industrial control, video surveillance, network monitoring, network terminals, Power, medical, aviation, etc., navigation equipment and other fields. Existing SSD logic implementation schemes are mainly divided into block mapping schemes, RAM cache optimization schemes and page mapping schemes. [0003] In the block mapping scheme, the firmware only maintains a logical block-to-physical block mapping table, which is relatively simple, but the write performance is poor, especially for random writes, and the write amplification factor can reach more than 10 times, which seriously af...

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/06
Inventor 王晓静魏伟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
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