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

Method for power-down protection of storage system, storage controller and electronic equipment

A storage controller and power-down protection technology, applied in the field of communications, can solve the problem of the storage system taking a lot of time to recover, and achieve the effects of ensuring performance, improving speed, and speed.

Active Publication Date: 2017-03-15
HUAWEI TECH CO LTD
View PDF4 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a storage system power-down protection method, storage controller and electronic equipment, which can solve the problem that the storage system needs to spend a lot of time to restore the mapping relationship

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 power-down protection of storage system, storage controller and electronic equipment
  • Method for power-down protection of storage system, storage controller and electronic equipment
  • Method for power-down protection of storage system, storage controller and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] 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 making creative efforts belong to the protection scope of the present invention.

[0042] see figure 1 , The present invention is applicable to an electronic device, which includes a CPU, a storage controller, flash, a high-speed non-volatile memory and a DRAM. Wherein, the DRAM may specifically be a memory, the high-speed non-volatile memory may specifically be an MRAM, and the storage controller may be realized by an FPGA.

[0043] In the present invention, a primary mapping table and a log buffer area are stored in the high-speed non-vol...

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 power-down protection of a storage system, a storage controller and electronic equipment, relates to the technical field of communications, and can solve the problem that the storage system needs to spend a lot of time on recovering mapping relations. The method comprises the steps that when previous disconnection of a CPU belongs to abnormal disconnection, the storage controller determines index information in second-level and third-level mapping lists level by level according to index information of a first-level mapping list and reads mapping relations of all the data in a log cache area, as well as mapping relations of all the data in a log area; the acquired mapping relations are sent to the CPU; and when the mapping relation of at least one piece of data in the log cache area or the mapping relation in the log area is different from the mapping relation in the third-level mapping list, the storage controller will replace the mapping relation in the third-level mapping list, update the index information of the second-level and first-level mapping lists level by level and store the updated mapping relation which is changed before and after updating in the second-level mapping list to a DRAM. The method disclosed by the invention is applicable to the storage system.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a storage system power-down protection method, a storage controller and electronic equipment. Background technique [0002] With the popularization of flash memory technology, flash (Chinese: flash memory) based storage devices (such as SSD, Solid State Drive, Chinese: solid state drive) may cause flash memory failure due to abnormal power failure of the terminal during development, testing, and user use. The status is abnormal, which leads to the destruction of data, and eventually causes the device to fail to boot. [0003] At present, in order to realize the power-off protection when the terminal generates abnormal power-off, when writing data, the metadata storage module is usually in the OOB (English: Out Of Band, Chinese: out-of-band space) area of ​​each page of each block , or the information summary of the data recorded in the OOB area of ​​the last page, where 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
IPC IPC(8): G06F12/16G06F12/02
CPCG06F12/0246G06F12/16G06F2212/7201
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