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

Method for writing transaction on basis of de-duplication SSD (solid state disks)

A technology of transaction writing and transaction, applied in the input/output process of data processing, input/output to record carrier, instrument, etc., can solve the problem that deduplication SSD cannot be applied

Active Publication Date: 2018-05-04
HUAZHONG UNIV OF SCI & TECH
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

A new type of storage device that adopts the ring commit protocol - transactional flash memory (Transactional Flash, namely TxFlash), lightweight transactional SSD that supports different isolation levels between transactions (namely LightTx), transaction for embedded database software SQLite The permanent flash translation layer (X-FTL) and others have proposed transaction processing mechanisms for ensuring the data consistency of ordinary SSDs, but none of these transaction processing mechanisms can be applied to deduplication SSDs to meet the transaction processing requirements of deduplication SSDs.

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 transaction on basis of de-duplication SSD (solid state disks)
  • Method for writing transaction on basis of de-duplication SSD (solid state disks)
  • Method for writing transaction on basis of de-duplication SSD (solid state disks)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0067] The transaction writing method based on deduplication SSD provided by the present invention, such as figure 1 As shown, the specific steps are as follows:

[0068] (1) Judging whether the system is in a state of normal operation: if so, proceed to step (2); otherwise, proceed to step (7);

[0069] (2) Determine the type of user request, and turn to step (3) when the user request is a tr...

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 writing transaction on the basis of de-duplication SSD (solid state disks). The method includes transaction read and write requests, request submission, request aborting and transaction recovery processes. Transaction write requests include computing fingerprints according to to-be-written data, searching fingerprint databases or transaction tables, directly updating the transaction tables if targets are hit, allocating new physical pages if the targets are not hit, writing the data and updating the transaction tables; transaction read requests include searching the transaction tables or address mapping tables according to logic addresses to obtain corresponding physical addresses, returning data read at the physical addresses if targets are hit, returning error information if the targets are not hit; request submission includes updating table items in the transaction tables, and updating the address mapping tables, inverse mapping tables and the fingerprint databases according to the transaction tables; request aborting includes marking the new physical pages allocated to the aborted transaction as junk pages; the transaction recovery processesinclude reconstructing information of the address mapping tables and the like according to transaction tables stored in flash after system breakdown. The method has the advantages that transaction processing mechanisms can be implemented in the de-duplication SSD, and the data consistency can be guaranteed.

Description

technical field [0001] The invention belongs to the field of SSD (Solid State Disk, solid state disk, solid state disk for short) storage control, and more specifically relates to a transaction writing method based on deduplication SSD. Background technique [0002] For performance, lifetime and cost considerations, many SSD products have adopted data deduplication technology to reduce the data actually written into the flash chip. Data deduplication technology, also known as data deduplication, means that in a data file collection, only unique data units are saved, while duplicate data is deleted. Deduplication technology can improve the performance, lifespan and cost of SSD, but it also brings more data consistency problems. [0003] For ordinary SSDs that do not use deduplication technology, there are already some transaction-based solutions that provide data consistency guarantees. On the one hand, these solutions can ensure data consistency when accessing SSDs through...

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): G06F3/06
CPCG06F3/0616G06F3/0641G06F3/0679
Inventor 童薇冯丹刘景宁姜越陈劲龙
Owner HUAZHONG UNIV OF SCI & TECH
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