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

Method, device and system for data storage

A data storage and data technology, applied in the electronic field, can solve the problems of low write performance and short service life of storage devices

Active Publication Date: 2015-03-25
XFUSION DIGITAL TECH CO LTD
View PDF10 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method, device and system for data storage to solve the problems of low write performance and short service life of storage devices

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, device and system for data storage
  • Method, device and system for data storage
  • Method, device and system for data storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0085] Such as figure 2 As shown, it is a flow chart of the method for data storage provided by Embodiment 1 of the present invention, the method includes:

[0086] S201: The storage controller receives data to be stored, the storage controller is provided with a first cache and a second cache, the first cache is used to cache the first type of data, and the second cache is used to cache the second type of data data, the update frequency of the first type of data is greater than the update frequency of the second type of data.

[0087] In this step, the first device writes the data to be stored into the storage device during the process of running the application. The data to be stored includes the first type of data and the second type of data, wherein the update frequency of the first type of data is greater than that of the second type of data. The update frequency of the second type of data, for example, the first type of data is non-user data, such as log data used to r...

Embodiment 2

[0099] Such as image 3 As shown, the flow chart of the data storage method provided by Embodiment 2 of the present invention includes the following steps:

[0100] S301: The first device adds identification information for identifying different types of data in the data to be stored to the data to be stored that needs to be written into the storage device, wherein the data to be stored includes the first type of data and the second type of data data, the update frequency of the first type of data is greater than the update frequency of the second type of data.

[0101] In a specific implementation process, the first device generates data to be stored that needs to be written into the storage device during the process of running the application. The data to be stored includes the first type of data that is frequently updated and the second type of data that is not frequently updated. For example, the data to be stored may include, in addition to the user data actually operat...

Embodiment 3

[0109] Such as Figure 4 As shown, it is a flow chart of the method for data storage provided by Embodiment 3 of the present invention, including the following steps:

[0110] S401: The first device adds identification information different from other types of data to log data and metadata in the data to be stored.

[0111] For example, the first device adds a Self-Control Write (Self-Control Write, SCW) mark to the log data and metadata for the data to be stored, but does not mark the user data.

[0112] S402: The first device sends the data to be stored carrying identification information to the SSD controller.

[0113] S403: The SSD controller identifies the log data and metadata therein according to the identification information in the data to be stored, and writes the identified log data and metadata into the first cache, and writes other data into the second cache; if writing If the imported log data or metadata contains update data, the data before update correspondi...

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 relates to the technical field of electronics, in particular to a method, device and system for data storage. The method, device and system for data storage are used for solving the problems that a storage device is low in writing performance and short in service life. The data storage method provided by the embodiment includes the steps that a storage controller receives data to be stored and is internally provided with a first cache and a second cache, the first cache is used for caching the first type of data, the second cache is used for caching the second type of data, and the updating frequency of the first type of data is larger than that of the second type of data; the storage controller recognizes the first type of data in the data to be stored and writes the recognized first type of data into the first cache; if the first type of data written in comprise updated data, the data, which correspond to the updated data and are not updated yet, in the first cache are set to be invalid; when the storage controller determines that the writing-in triggering condition of the first type of data is met currently, the valid data in the first cache are written into a storage medium.

Description

technical field [0001] The present invention relates to the field of electronic technology, in particular to a method, device and system for data storage. Background technique [0002] As a high-performance storage device, a solid state drive (Solid State Drives, SSD) generally uses a flash memory (Flash chip) as a storage medium. The minimum write data unit of the Flash chip is a logic block (Block), and the size of a Block is usually several megabits (Megabit, MB). The flash chip has a limit on the number of write times. The erasable times of the multi-layer unit flash memory is about 10,000 times, and the erasable times of the single-layer unit flash memory is about 100,000 times. Therefore, when using SSD, the erasure of the Flash chip should be minimized. Write times or reduce the amount of data written to the Flash chip to increase the service life of the SSD. [0003] User data is generated during the running of the application, and before the log file system writes...

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/08G06F12/0804
CPCG06F12/08
Inventor 陈义全
Owner XFUSION DIGITAL 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