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

Method for writing data in solid-state hard-disk and device thereof

A technology for data writing and solid-state hard disks, applied in the field of data writing methods and devices for solid-state hard disks, can solve the problems of inability to distinguish page or sector data, and inability to reconstruct data on the entire disk, and achieve the effect of enhancing reliability

Inactive Publication Date: 2010-06-23
HUAWEI DIGITAL TECH (CHENGDU) CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the data management unit of SSD manages data in smaller units such as more than one page or more than one sector (sector), the existing method of writing data in NAND FLASH determines that within a certain period of time, SSD There may be multiple pages or sectors corresponding to the same LBA on the storage medium. In this way, it is impossible to distinguish which page or sector data corresponding to the LBA is valid during the data reconstruction process, so that the reconstruction of the entire disk data cannot be realized. structure

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 writing data in solid-state hard-disk and device thereof
  • Method for writing data in solid-state hard-disk and device thereof
  • Method for writing data in solid-state hard-disk and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0023] figure 1 It is a flowchart of a method for writing data into a solid-state hard disk according to an embodiment of the present invention. Such as figure 1 As shown, this embodiment specifically includes the following steps:

[0024] Step 101, update the count value, the updated count value is used to identify the logical block address information, the logical block address information corresponds to the current data to be written;

[0025] Step 102, write...

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 embodiment of the invention relates to a method for writing data in solid-state hard-disk and a device thereof. The method comprises the following steps: updating count values, and using the updated count values for identifying logical block address information which corresponds with current data to be written; and writing the current data to be written, the logical block address information and the updated count values into a target physical block. The embodiment of the invention maintains the logical block address information and the count values, and writes the data, the logical block address information and the updated count values into the target physical block after the count values are updated. If a mapping table is lost or damaged, the fact that the pages corresponding to the logical block address information of the updated count values or section data is effective can be learnt in a data reconstructing process, so that data reconstruction of the whole disk can be realized, and the reliability of SSD can be improved.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a method and device for writing data into a solid-state hard disk. Background technique [0002] At present, the mainstream Solid State Disk (SSD) uses NAND flash memory (NAND FLASH) chips as the storage medium, which has the advantages of fast access speed, shockproof and drop resistance, low heat generation, zero noise and small size. The mapping relationship between Logical Block Address (LBA for short) and Physical Block Address (PBA for short) is recorded in SSD, and the data stored in SSD is meaningful only when the mapping relationship is known. . Unlike traditional mechanical hard disks, which usually use a fixed mapping relationship, the mapping relationship of SSDs has certain rules, but it is not fixed. Generally, SSD maintains the mapping relationship between LBA and PBA through a mapping table. When the mapping table is lost or damaged due to some abnormal co...

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 HUAWEI DIGITAL TECH (CHENGDU) 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