Data storage method and device

A data storage and original data technology, applied in the Internet field, can solve problems such as low data processing efficiency and performance loss, and achieve the effects of improving data processing efficiency, saving storage space, and optimizing storage methods

Active Publication Date: 2017-06-13
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In practical applications, there may be data with long data keys. However, using the existing Key-Value storage scheme, when inserting, searching or indexing the data keys of such data, it will cause a lot of performance loss.
Therefore, there is a problem of low data processing efficiency in the existing Key-Value storage scheme

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
  • Data storage method and device
  • Data storage method and device
  • Data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0027] Key-value storage database, which is a NoSQL (non-relational database) model, its data is organized, indexed and stored in the form of data key-value pairs. KV 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 disk reads and writes, and has better read and write performance than SQL database storage...

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 data storage method and device, wherein the data storage method comprises: acquiring encrypted data corresponding to an original data key of data to be stored; capturing first sub-data in a first preset position from the encrypted data, and determining a first file identifier of a first storage file and a second file identifier of a second storage file; capturing second sub-data in a second preset position from the encrypted data, and determining a block identifier of a first file block from the first storage file corresponding to the first file identifier; storing third sub-data in a third preset position in the encrypted data to a second file block in the second storage file corresponding to the second file identifier in order to obtain a new data key that contains the first file identifier and the block identifier of the second file block; constructing instance data according to the new data key and the data to be stored, and writing the instance data into a first database. The data storage method and device save storage space and provide improved data processing efficiency.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a data storage method and device. Background technique [0002] With the continuous development of Internet technology, data storage technology has also developed rapidly, and many key-value (Key-Value)-based storage solutions have emerged, such as Redis storage solutions and LevelDB storage solutions. The basic principles of these storage schemes are to use data structures such as hashes, jump tables, and red-black trees to achieve fast lookup. [0003] In practical applications, there may be data with long data keys. However, using the existing Key-Value storage scheme, when inserting, searching or indexing the data keys of such data, it will cause a lot of performance loss. . Therefore, there is a problem of low data processing efficiency in the existing Key-Value storage solution. Contents of the invention [0004] In view of the above problems, the present inventio...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/22G06F16/2282
Inventor 徐锐波
Owner BEIJING QIHOO TECH CO LTD
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