CN109086168A - A kind of method and its system using hardware backup solid state hard disk writing rate - Google Patents

A kind of method and its system using hardware backup solid state hard disk writing rate Download PDF

Info

Publication number
CN109086168A
CN109086168A CN201810771158.7A CN201810771158A CN109086168A CN 109086168 A CN109086168 A CN 109086168A CN 201810771158 A CN201810771158 A CN 201810771158A CN 109086168 A CN109086168 A CN 109086168A
Authority
CN
China
Prior art keywords
order
data
hardware
backup
hard disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810771158.7A
Other languages
Chinese (zh)
Inventor
臧鑫
胡中中
李传业
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Union Memory Information System Co Ltd
Original Assignee
Shenzhen Union Memory Information System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Union Memory Information System Co Ltd filed Critical Shenzhen Union Memory Information System Co Ltd
Priority to CN201810771158.7A priority Critical patent/CN109086168A/en
Publication of CN109086168A publication Critical patent/CN109086168A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/065Replication mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present invention relates to a kind of methods and its system using hardware backup solid state hard disk writing rate;Wherein, the method for hardware backup solid state hard disk writing rate, comprising the following steps: S1, SSD obtain new write order, and send local FIFO for command information;S2, the write order in polling order buffer, and submit to order management execution;S3 completes pretreatment, and data path management is submitted to execute;S4 constructs data transfer request, obtains host data, binds the address Backup Data DRAM, completes data backup operation;Order is split according to order length scale and is its distribution node resource, SG information is transferred to NFC by S5;S6 completes data information transfer.The present invention carries host data using hardware and directly gives NFC write-in NAND, DRAM expense is saved, promotes writing rate, while introducing hardware automatic data backup mechanism, using LPA size as unit binding data backup address and circulation node, Backup Data search efficiency when write operation being accelerated to fail.

Description

A kind of method and its system using hardware backup solid state hard disk writing rate
Technical field
The present invention relates to solid state hard disk fields, more specifically refer to a kind of using hardware backup solid state hard disk writing rate Method and its system.
Background technique
Usually first DRAM is written in host data by existing NAND FLASH write operation process, and NFC is by filling in description later The mode of symbol reads the data in DRAM and NAND is written, and this method needs to carry out DRAM during host data write operation It is more to occupy DRAM resource for write operation and read operation, and SSD write performance is restricted by DRAM bandwidth.It is standby in data write operation failure Part addressing data is inconvenient.
Summary of the invention
It is an object of the invention to overcome the deficiencies of existing technologies, a kind of utilization hardware backup solid state hard disk writing rate is provided Method and its system.
To achieve the above object, the invention adopts the following technical scheme:
A method of utilizing hardware backup solid state hard disk writing rate, comprising the following steps:
S1, SSD obtain new write order, and send local FIFO for command information;
S2, the write order in polling order buffer, and submit to order management execution;
S3 completes pretreatment, and data path management is submitted to execute;
S4 constructs data transfer request, obtains host data, binds the address Backup Data DRAM, completes data backup behaviour Make;
Order is split according to order length scale and is its distribution node resource, SG information is transferred to NFC by S5;
S6 completes data information transfer.
Its further technical solution are as follows: in the S1, host notification SSD has new write order, and SSD hardware automatically will order Information is sent to local FIFO.
Its further technical solution are as follows: the S2 includes:
S21, SSD firmware pass through the write order in nvme hardware module polling order buffer;
Acquired order is submitted to order management and executed by S22, SSD firmware.
Its further technical solution are as follows: in the S3, the pretreatment includes that admin life is distinguished according to order type field Order and read write command.
Its further technical solution are as follows: in the S4, by buffer management constructed in hardware data transfer request, and pass through Hardware bus obtains host data, and the address Backup Data DRAM is bound as unit of LPA size, completes data backup operation.
Its further technical solution are as follows: in the S5, data path management splits into order according to order length scale Unified cell node, and be its distribution node resource, SG information is transferred to NFC.
Its further technical solution are as follows: after the S6 further include: judge whether write operation fails;If so, firmware Again data are taken out from DRAM and NAND is written, until write operation success, and software data is notified to be transmitted.
A kind of system using hardware backup solid state hard disk writing rate, including transmission unit is obtained, poll execution unit, place Unit is managed, constructs binding unit, and split allocation unit:
The acquisition transmission unit obtains new write order for SSD, and sends local FIFO for command information;
The poll execution unit for the write order in polling order buffer, and submits to order management execution;
The processing unit for completing pretreatment, and submits data path management to execute;
The building binding unit obtains host data, with binding Backup Data DRAM for constructing data transfer request Data backup operation is completed in location;
The fractionation allocation unit will for being split according to order length scale by order and being its distribution node resource SG information is transferred to NFC.
Its further technical solution are as follows: the poll execution unit includes poller module and execution module;
The poller module passes through the write order in nvme hardware module polling order buffer for SSD firmware;
Acquired order is submitted to order management for SSD firmware and executed by the execution module.
Its further technical solution are as follows: further include judging unit;
The judging unit, for judging whether write operation fails.
Compared with the prior art, the invention has the advantages that: it carries host data using hardware and directly gives NFC and write Enter NAND, save DRAM expense, promotes writing rate, while introducing hardware automatic data backup mechanism, tied up as unit of LPA size Fixed number is according to backup address and circulation node, Backup Data search efficiency when write operation being accelerated to fail.
The invention will be further described in the following with reference to the drawings and specific embodiments.
Detailed description of the invention
Fig. 1 is the flow diagram that the prior art writes data;
Fig. 2 is a kind of flow chart of the method using hardware backup solid state hard disk writing rate of the present invention;
Fig. 3 is flow diagram of the invention;
Fig. 4 is a kind of block diagram of the system using hardware backup solid state hard disk writing rate of the present invention.
10 obtain 20 poll execution unit of transmission unit
21 poller module, 22 execution module
30 processing units 40 construct binding unit
50 split 60 judging unit of allocation unit
Specific embodiment
In order to more fully understand technology contents of the invention, combined with specific embodiments below to technical solution of the present invention into One step introduction and explanation, but not limited to this.
Specific embodiment as shown in fig. 1 to fig. 4, wherein Fig. 1 is the flow diagram that the prior art writes data, specifically Content is as follows:
1) host notification SSD has new write order, and command information is got local FIFO automatically by SSD hardware;
2) SSD firmware is inquired and obtains new write order;
3) acquired order is submitted to CM (order management) module and executed by SSD firmware;
4) CM completes pretreatment, and subsequent module DPM (data path management) module is submitted further to execute;
5) DPM module constructs data transfer request, while DDR is written in HOST data;
6) order is divided into unified unit by DPM, and SG information is transferred to NFC;
7) NFC module fills in descriptor, and data are read from DRAM and NAND is written;
If 8) write operation fails, firmware takes out data from DRAM again and NAND is written, until write operation success;
9) notice software data is transmitted.
But the above method has the following problems: needing to carry out write operation to DRAM during host data write operation And read operation, it is more to occupy DRAM resource, and SSD write performance is restricted by DRAM bandwidth, in data write operation failure, Backup Data Addressing is inconvenient.
Specifically, as shown in Figure 2 to Figure 3, the invention discloses a kind of sides using hardware backup solid state hard disk writing rate Method, comprising the following steps:
S1, SSD obtain new write order, and send local FIFO for command information;
S2, the write order in polling order buffer, and submit to order management execution;
S3 completes pretreatment, and data path management is submitted to execute;
S4 constructs data transfer request, obtains host data, binds the address Backup Data DRAM, completes data backup behaviour Make;
Order is split according to order length scale and is its distribution node resource, SG information is transferred to NFC by S5;
S6 completes data information transfer.
Wherein, in S1, host notification SSD has new write order, and SSD hardware sends local for command information automatically FIFO improves efficiency.
Wherein, S2 includes:
S21, SSD firmware pass through the write order in nvme hardware module polling order buffer;
Acquired order is submitted to order management and executed by S22, SSD firmware.
Wherein, in S3, pretreatment includes distinguishing admin order and read write command according to order type field.
Wherein, in S4, by buffer management constructed in hardware data transfer request, and host is obtained by hardware bus Data, and the address Backup Data DRAM is bound as unit of LPA size, complete data backup operation.
Further, in the present embodiment, LPA size uses 4KB for unit.
Wherein, in S5, order is split into unified unit section according to order length scale by data path management (DPM) Point, and be its distribution node resource, SG information is transferred to NFC.
Wherein, after S6 further include: judge whether write operation fails;If so, firmware takes out data from DRAM again NAND is written, until write operation success, and software data is notified to be transmitted.
Wherein, method of the invention carries host data using hardware and directly gives NFC write-in NAND, saves DRAM and opens Pin promotes writing rate, while introducing hardware automatic data backup mechanism, using LPA size be unit binding data backup address with Circulate node, Backup Data search efficiency when write operation being accelerated to fail.
As shown in figure 4, the invention also discloses a kind of system using hardware backup solid state hard disk writing rate, including obtain Transmission unit 10, poll execution unit 20, processing unit 30 construct binding unit 40, and split allocation unit 50;
Transmission unit 10 is obtained, new write order is obtained for SSD, and send local FIFO for command information;
Poll execution unit 20 for the write order in polling order buffer, and submits to order management execution;
Processing unit 30 for completing pretreatment, and submits data path management to execute;
Binding unit 40 is constructed, for constructing data transfer request, obtains host data, with binding Backup Data DRAM Data backup operation is completed in location;
Allocation unit 50 is split, for splitting according to order length scale by order and being its distribution node resource, by SG Information is transferred to NFC.
Wherein, in the present embodiment, poll execution unit 20 includes poller module 21 and execution module 22;
Poller module 21 passes through the write order in nvme hardware module polling order buffer for SSD firmware;
Acquired order is submitted to order management for SSD firmware and executed by execution module 22.
Wherein, which further includes judging unit 60;
Judging unit 60, for judging whether write operation fails.
Further, when the result judged is is, firmware takes out data from DRAM again and NAND is written, until writing behaviour Succeed, and software data is notified to be transmitted.
The present invention is automatically performed data backup by carrying out hardware before data write operation, backs up as unit of LPA size, moves State distributes data backup space, and data backup address is carried out binding with circulation node and is associated with, to improve node-flow transfer efficient; When write operation failure, firmware can be given FTL module and be done further by nodal information immediate addressing to data backup region The Backup Data in DRAM is only read in processing, hardware automatic data backup in write operation failure, and it is existing for occupying DRAM bandwidth The 1/2 of method, is greatly saved DRAM bandwidth.
It is above-mentioned that technology contents of the invention are only further illustrated with embodiment, in order to which reader is easier to understand, but not It represents embodiments of the present invention and is only limitted to this, any technology done according to the present invention extends or recreation, by of the invention Protection.Protection scope of the present invention is subject to claims.

Claims (10)

1. a kind of method using hardware backup solid state hard disk writing rate, which comprises the following steps:
S1, SSD obtain new write order, and send local FIFO for command information;
S2, the write order in polling order buffer, and submit to order management execution;
S3 completes pretreatment, and data path management is submitted to execute;
S4 constructs data transfer request, obtains host data, binds the address Backup Data DRAM, completes data backup operation;
Order is split according to order length scale and is its distribution node resource, SG information is transferred to NFC by S5;
S6 completes data information transfer.
2. a kind of method using hardware backup solid state hard disk writing rate according to claim 1, which is characterized in that described In S1, host notification SSD has new write order, and SSD hardware sends local FIFO for command information automatically.
3. a kind of method using hardware backup solid state hard disk writing rate according to claim 1, which is characterized in that described S2 includes:
S21, SSD firmware pass through the write order in nvme hardware module polling order buffer;
Acquired order is submitted to order management and executed by S22, SSD firmware.
4. a kind of method using hardware backup solid state hard disk writing rate according to claim 1, which is characterized in that described In S3, the pretreatment includes distinguishing admin order and read write command according to order type field.
5. a kind of method using hardware backup solid state hard disk writing rate according to claim 1, which is characterized in that described In S4, host data is obtained by buffer management constructed in hardware data transfer request, and by hardware bus, and big with LPA It is small to bind the address Backup Data DRAM for unit, complete data backup operation.
6. a kind of method using hardware backup solid state hard disk writing rate according to claim 1, which is characterized in that described In S5, order is split into unified cell node according to order length scale by data path management, and is provided for its distribution node SG information is transferred to NFC by source.
7. a kind of method using hardware backup solid state hard disk writing rate according to claim 1, which is characterized in that described After S6 further include: judge whether write operation fails;If so, firmware, which takes out data from DRAM again, is written NAND, until Write operation success, and software data is notified to be transmitted.
8. a kind of system using hardware backup solid state hard disk writing rate, which is characterized in that including obtaining transmission unit, poll is held Row unit, processing unit construct binding unit, and split allocation unit:
The acquisition transmission unit obtains new write order for SSD, and sends local FIFO for command information;
The poll execution unit for the write order in polling order buffer, and submits to order management execution;
The processing unit for completing pretreatment, and submits data path management to execute;
The building binding unit, for constructing data transfer request, acquisition host data binds the address Backup Data DRAM, Complete data backup operation;
The fractionation allocation unit believes SG for being split according to order length scale by order and being its distribution node resource Breath is transferred to NFC.
9. a kind of system using hardware backup solid state hard disk writing rate according to claim 8, which is characterized in that described Poll execution unit includes poller module and execution module:
The poller module passes through the write order in nvme hardware module polling order buffer for SSD firmware;
Acquired order is submitted to order management for SSD firmware and executed by the execution module.
10. a kind of system using hardware backup solid state hard disk writing rate according to claim 8, which is characterized in that also Including judging unit;
The judging unit, for judging whether write operation fails.
CN201810771158.7A 2018-07-13 2018-07-13 A kind of method and its system using hardware backup solid state hard disk writing rate Pending CN109086168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810771158.7A CN109086168A (en) 2018-07-13 2018-07-13 A kind of method and its system using hardware backup solid state hard disk writing rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810771158.7A CN109086168A (en) 2018-07-13 2018-07-13 A kind of method and its system using hardware backup solid state hard disk writing rate

Publications (1)

Publication Number Publication Date
CN109086168A true CN109086168A (en) 2018-12-25

Family

ID=64837841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810771158.7A Pending CN109086168A (en) 2018-07-13 2018-07-13 A kind of method and its system using hardware backup solid state hard disk writing rate

Country Status (1)

Country Link
CN (1) CN109086168A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109960473A (en) * 2019-04-10 2019-07-02 深圳忆联信息系统有限公司 A kind of method and its system for reducing data interaction and promoting SSD reading performance
CN110083311A (en) * 2019-04-26 2019-08-02 深圳忆联信息系统有限公司 A kind of method and its system issuing software and hardware interaction based on SSD descriptor
CN110209355A (en) * 2019-05-28 2019-09-06 深圳忆联信息系统有限公司 Full firmware read-write operation optimization method and device based on solid state hard disk
CN110297604A (en) * 2019-06-26 2019-10-01 深圳忆联信息系统有限公司 A kind of method and its system effectively improving NAND starting service life
CN117312055A (en) * 2023-11-16 2023-12-29 荣耀终端有限公司 Data backup method and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073561A (en) * 2011-01-26 2011-05-25 浪潮电子信息产业股份有限公司 Method for correcting error of write operation of solid state hard disk
US20140173357A1 (en) * 2012-12-18 2014-06-19 HGST Netherlands B.V. Salvaging event trace information in power loss interruption scenarios
CN107608909A (en) * 2017-09-19 2018-01-19 记忆科技(深圳)有限公司 A kind of method that NVMe solid state disk writes accelerate
CN107807790A (en) * 2017-10-13 2018-03-16 记忆科技(深圳)有限公司 A kind of method of solid state hard disc data write-in
CN108021511A (en) * 2017-11-22 2018-05-11 深圳忆联信息系统有限公司 A kind of method and SSD of SSD performance boosts
CN108153681A (en) * 2017-11-29 2018-06-12 深圳忆联信息系统有限公司 A kind of large capacity solid-state hard disc mapping table compression method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073561A (en) * 2011-01-26 2011-05-25 浪潮电子信息产业股份有限公司 Method for correcting error of write operation of solid state hard disk
US20140173357A1 (en) * 2012-12-18 2014-06-19 HGST Netherlands B.V. Salvaging event trace information in power loss interruption scenarios
CN107608909A (en) * 2017-09-19 2018-01-19 记忆科技(深圳)有限公司 A kind of method that NVMe solid state disk writes accelerate
CN107807790A (en) * 2017-10-13 2018-03-16 记忆科技(深圳)有限公司 A kind of method of solid state hard disc data write-in
CN108021511A (en) * 2017-11-22 2018-05-11 深圳忆联信息系统有限公司 A kind of method and SSD of SSD performance boosts
CN108153681A (en) * 2017-11-29 2018-06-12 深圳忆联信息系统有限公司 A kind of large capacity solid-state hard disc mapping table compression method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109960473A (en) * 2019-04-10 2019-07-02 深圳忆联信息系统有限公司 A kind of method and its system for reducing data interaction and promoting SSD reading performance
CN110083311A (en) * 2019-04-26 2019-08-02 深圳忆联信息系统有限公司 A kind of method and its system issuing software and hardware interaction based on SSD descriptor
CN110083311B (en) * 2019-04-26 2022-03-29 深圳忆联信息系统有限公司 SSD descriptor-based software and hardware interaction issuing method and system
CN110209355A (en) * 2019-05-28 2019-09-06 深圳忆联信息系统有限公司 Full firmware read-write operation optimization method and device based on solid state hard disk
CN110297604A (en) * 2019-06-26 2019-10-01 深圳忆联信息系统有限公司 A kind of method and its system effectively improving NAND starting service life
CN117312055A (en) * 2023-11-16 2023-12-29 荣耀终端有限公司 Data backup method and related device
CN117312055B (en) * 2023-11-16 2024-04-19 荣耀终端有限公司 Data backup method and related device

Similar Documents

Publication Publication Date Title
CN109086168A (en) A kind of method and its system using hardware backup solid state hard disk writing rate
US8386699B2 (en) Method for giving program commands to flash memory for writing data according to a sequence, and controller and storage system using the same
CN104320317B (en) A kind of transfer approach and device of ethernet physical layer chip status
TWI704489B (en) Status management in storage backed memory package
CN111352873B (en) NVMe protocol command processing method and device
CN116225992A (en) NVMe verification platform and method supporting virtualized simulation equipment
JP2018524751A (en) Computer device and method for reading / writing data by computer device
US10977049B2 (en) Installing of operating system
CN114706531A (en) Data processing method, device, chip, equipment and medium
CN103577119A (en) System and method for transferring data out of order in next generation solid state drive controller
CN102591823A (en) NAND flash controller with instruction queue function
CN116302105B (en) Access instruction scheduling method, system, hard disk, controller, storage medium and program product
KR102116096B1 (en) Multisystem, and method of booting the same
CN116185499B (en) Register data transmission method, register cache module, intelligent device and medium
US11972110B2 (en) Storage device and storage system
CN111338998B (en) FLASH access processing method and device based on AMP system
CN105739919A (en) Data access system and method
US9507702B2 (en) Method of performing write access by distributing control rights to threads, memory controller and flash memory storage device using the same
WO2022126534A1 (en) Data processing method and related device
KR20130084902A (en) Storage device, storage system, and i/o control method for the same
CN104679688A (en) Data access method, device and system
CN103812893A (en) Virtual desktop external equipment transmission method and system
CN110221995B (en) Data management method and system of integrated intelligent network card
CN112732176B (en) SSD (solid State disk) access method and device based on FPGA (field programmable Gate array), storage system and storage medium
CN117149070A (en) Data transmission method and solid state disk system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181225