Method for controlling data reading and writing of multi-channel solid-state disc

A data reading and writing, solid-state disk technology, applied in the direction of electrical digital data processing, instruments, input/output to record carriers, etc., can solve the problems of uneven wear and low data writing/reading speed of multi-channel solid-state disks, etc. Achieve uniform wear and fast transfer effect

Active Publication Date: 2012-07-11
HUAZHONG UNIV OF SCI & TECH
View PDF4 Cites 42 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem solved by the present invention is to propose a method for controlling data writing / reading in view of problems such as low data writing / reading speed and unbalanced wear of multi-channel solid-state disks

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
  • Method for controlling data reading and writing of multi-channel solid-state disc
  • Method for controlling data reading and writing of multi-channel solid-state disc
  • Method for controlling data reading and writing of multi-channel solid-state disc

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0031] Such as figure 2 As shown, a method for reading and writing data of a multi-channel solid-state disk according to an embodiment of the present invention is illustrated. The methods include:

[0032] Step S21, establishing mapping table information;

[0033] Step S22, the data to be written at the host end is transferred to the buffer by DMA;

[0034] Step S23, selecting a channel whose status is ready;

[0035] Step S24, judging whether the read request queue is empty. If it is empty, execute S25, otherwise, execute S26;

[0036] Step S25, process the write request, go to step S27;

[0037] Step S26, processing the read request;

[0038] Step S27, judging whether the conditions for data write-back are met, such as whether the interface is disconnected, whether the power is off, if yes, execute S28, otherwise execute S22...

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 method for controlling data reading and writing of a multi-channel solid-state disc, comprising the steps of: (1) building a mapping table to store a mapping relationship of a solid-state disc logic address and a physical address, (2) transmitting a data to be written of a host terminal to a buffer area of a channel controller through a DMA (Direct Memory Access), (3) selecting a channel of which a channel state is ready, (4) finding out a reading request in a chip state which is ready from a reading request queue of the channel of which the state is ready and serving the reading request, (5) finding out a writing request in the chip state which is ready from a writing request queue if the reading request queue is null, writing the data of the buffer area into a free page of the chip, and then modifying corresponding relationship between a corresponding logic address and a physical address in the mapping table so as to finish writing operation. According to the method disclosed by the invention, fast transfer of an interface data is realized, and parallel communication among the channels and serial pipeline operation inside the channels are also realized. Abrasions among all the chips of SSD (solid state disks) are also uniform due to mode adoption of a token ring.

Description

technical field [0001] The invention relates to the technical field of solid state disk (SSD) control, in particular to a method for controlling data reading and writing of multi-channel solid state disks. Background technique [0002] SSD (Solid State Disk) refers to a solid state disk composed of NAND Flash. Compared with the current traditional hard disk, the solid-state disk has the advantages of fast read and write speed, low power consumption, shock resistance, high stability, and low temperature resistance. As the single-chip capacity of the Flash chip is getting larger and the price is getting lower and lower, the Flash-based solid-state disk has become a mainstream storage device. It is not only widely used in consumer electronics products, but also has a place in enterprise applications. The special feature of SSD is that it has no mechanical structure, and uses the characteristics of traditional NAND Flash to write by page and erase by block. The efficiency of i...

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): G06F13/28G06F3/06
Inventor 刘景宁童薇冯丹樊旭光张建权胡洋秦亦
Owner HUAZHONG UNIV OF SCI & TECH
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