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

Method and device for storing data

A technology for storing data and storage location, applied in the field of data storage, can solve the problems of low validity of stored data and increased demand for disks, and achieve the effect of improving validity and reducing the problem of write amplification

Active Publication Date: 2019-11-05
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This kind of reading and writing process has the problem of write amplification, which leads to an increase in the demand for disks and the effectiveness of storing data is not high.

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 and device for storing data
  • Method and device for storing data
  • Method and device for storing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The application 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 related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0028] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0029] figure 1 It shows an exemplary system architecture 100 to which embodiments of the method for storing data or the apparatus for storing data of the present application can be applied.

[0030] Such as figure 1 As shown, the system architecture 100 may include termin...

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 and device for storing data. The method specifically comprises the steps of obtaining key value pair data to be stored; storing the key value pair data in pre-write log files of a disk; generating an index entry for the key value pair data in a memorizer according to the storing position of the key value data in the disk and keys in the key value pair data so as to execute preset operation on the key value pair data through the index entry, and writing the key value pair data reserved in a pre-write log file which satisfies a preset condition into the disk when the pre-write log file which satisfies a merging settling condition is detected, wherein the storing position comprises at least the file name of the pre-write log file and offset of the key value pair data in the pre-write log file and the initial position of the file. According to the method and device for storing the data, the problem of write amplification can be avoided, and the effectiveness of stored data is improved.

Description

technical field [0001] The present application relates to the field of computer technology, specifically to the field of data processing, and in particular to methods and devices for storing data. Background technique [0002] Write amplification (Write amplification, WA for short) is a phenomenon in which the amount of physical information actually written in flash memory and solid-state disk (SSD) is multiple times the logical amount to be written. This is because the flash memory must be erased before data can be rewritten, and the process of performing these operations generates more than one movement (or rewriting) of user data and metadata, resulting in a multiplication of physical information and increasing request The number of writes. [0003] As the core component of the development program or system on the electronic platform, the engine can be used by developers to quickly generate and lay out the functions required by the program, or use it to assist the operat...

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 Patents(China)
IPC IPC(8): G06F3/06
CPCG06F3/0608G06F3/0638G06F3/0652G06F3/0673
Inventor 覃安陈佳捷
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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