Key value data storage method, device and equipment, and storage medium

A data storage and key-value technology, applied in database indexing, electronic digital data processing, structured data retrieval, etc., can solve the problems of rising data error rate and temperature rise, improve the accuracy rate, avoid reading and writing The effect of the input operation

Active Publication Date: 2019-04-16
SHENZHEN UNIV
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a key-value data storage method, device, device, and storage medium, aiming at solving the problem of frequent read and write operations

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
  • Key value data storage method, device and equipment, and storage medium
  • Key value data storage method, device and equipment, and storage medium
  • Key value data storage method, device and equipment, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0040] The present invention provides a key-value data storage method, device, equipment and storage medium, and aims to solve the problem that the existing key-value data storage method frequently reads and writes the physical block in the same area, which causes the storage near the physical block. The temperature rises sharply and ...

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 provides a key value data storage method, device and equipment, and a storage medium, and the method comprises the steps: obtaining the number of first physical blocks in a first physical block set in a three-dimensional flash memory; Judging whether the number of the first physical blocks reaches a first preset number or not; if the judgment result is no, obtaining the position information of the first physical block written in the previous time; obtaining the position information of the currently written first physical block according to the position information of the first physical block written in the previous time; wherein when the data blocks in which the key value data is not written exist inside and outside the three-dimensional flash memory at the same time, the regional information of the currently written first physical block is different from the regional information of the previously written first physical block; and storing the key value data to the currently written first physical block according to the position information of the currently written first physical block, so that the currently written first physical block is far away from the previouslywritten first physical block, and the situation that the temperature is sharply increased due to frequent operation on the physical blocks in the same region is avoided.

Description

Technical field [0001] The present invention relates to the technical field of data storage, in particular to a key-value data storage method, device, equipment and storage medium. Background technique [0002] The data in the key-value storage database is organized, indexed, and stored in the form of key-value pairs. Key-value data storage is very suitable for business data that does not involve too many data relationships and business relationships. At the same time, it can effectively reduce the number of reads and writes to disk, and has better read and write performance than other database storage. [0003] In the existing key-value data storage, chip storage with a planar structure is used, and keys and values ​​are stored separately. For data that needs to be frequently written and updated, each time the value of the log file is garbage collected, it is necessary to determine whether the currently stored data is valid in the data structure where the key is stored. If it is...

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): G06F16/22G06F3/06
CPCG06F3/061G06F3/064G06F3/0652
Inventor 王毅谭佳丽毛睿廖好
Owner SHENZHEN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products