Data storage structure conversion method and device

A data storage and storage structure technology, applied in the computer field, can solve problems such as single interface, inability to realize large data storage, and poor business scalability, and achieve efficient storage, high data storage and processing efficiency, and strong business scalability.

Active Publication Date: 2019-03-01
BEIJING QIHOO TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The KV storage method is very suitable for data storage services that do not involve too many data relationships and business relationships. It can effectively reduce the number of reads and writes to the disk, and has better read and write performance than SQL database storage. The KV storage database can be realized by Redis And LevelDB, etc., LevelDB can support billion-level data volume, and can maintain very high data storage and processing performance at this level. At the same time, LevelDB can store data to disk, which is conducive to permanent storage of data; however, currently The interface of LevelDB only supports key-value (key-value pair) data without deformation, the interface is relatively single, and the scalability to business is poor
Redis is a high-performance key-value storage system that supports a variety of value-type data storage structures, including string (string) type, list (linked list) type, set (set) type, zset (ordered set) ) type and hash (hash) type, however, in order to ensure high data storage and processing efficiency, its data is cached in memory, that is, Redis is an in-memory database, so this storage method is limited by physical memory and cannot Realize big data storage

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0053]Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof. It will be underst...

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 conversion scheme of a data storage structure, and comprises the following steps: extracting the position identifier of each piece of data to be converted in the same linked list on the basis of an original linked list storage structure, and the linked list identifier of the linked list, and independently combining the linked list identifier with the position identifier of each piece of data to be converted to determine a key in a conversion storage structure corresponding to each piece of data to be converted; subsequently, combining the extracted position identifiers in the left adjacent data and the right adjacent data of each piece of data to be converted in the linked list with a value data unit in each piece of extracted data to be converted to determine as a value in the conversion storage structure of each piece of data to be converted; and according to the conversion storage structure, storing a data key value formed by the key and the value into a key value database. A storage system which is high in data storage processing efficiency, supports various types of data storage structures and is free from the limitation of a physical memory can be finally realized.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular, the present invention relates to a data storage structure conversion method and device. Background technique [0002] With the rapid development of the information age, not only large enterprises, but even some small enterprises have accumulated terabytes of data. Organizations of all sizes have begun to have the need to deal with large-scale and multiple types of data, while the traditional relationship SQL databases (SQL databases) are almost at their limits in terms of data storage scalability. In order to solve the challenges brought by large-scale data collections and multiple data types and the problems of big data applications, non-relational databases (NoSQL databases) emerged as the times require. [0003] Commonly used non-relational databases include KV (Key-Value, key-value) storage databases, where data is organized, indexed, and stored in the form of key-va...

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): G06F16/22
CPCG06F16/22
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