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

Data storage method and device and data acquisition method and device

A technology for data storage and data acquisition, applied in the storage field, can solve the problems of large key-value storage space, large data volume, affecting the storage performance of storage devices, etc., to save memory space, improve efficiency, reduce memory recycling and other resources and The effect of probability of performance problems

Active Publication Date: 2020-03-27
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The current key-value pairs have a large amount of data, and the key-value pairs occupy a lot of storage space, which affects the storage performance of the storage device.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0090] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0091] The technical terms involved in this application are explained below:

[0092] (1) object

[0093] Object is the basic unit of data storage in object-oriented programming languages ​​such as Java. An object usually includes an object header (English: header), instance data (English: instance data) and alignment padding (English: padding). The object header includes information such as the data generated when the object is running and the class to which the object belongs. The instance data includes valid data in the object. Alignment padding is used to complete the size of the object to an integer multiple of 8 bytes.

[0094] (2) Data type

[0095] Data types can include numeric types, character types, and Boolean type...

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 data storage method. According to the method, a key of a key-value pair is converted into a hash value from an object, converting the value of the key-value pair from the object into instance data, the data structure of the key and the value is improved; an object head of the key and the value, alignment filling and other parts are removed, storage space occupied by the object head and the alignment filling is saved; therefore, the storage overhead of the object in the key value pair is reduced, the function of compressing and storing the key value pair is realized, the key value storage efficiency is improved, the probability of problems such as memory recovery triggered by overlarge memory space is reduced, and the performance of the storage system is improved.

Description

technical field [0001] The present application relates to the field of storage technologies, and in particular to a data storage and data acquisition method and device. Background technique [0002] Key-value (key-value, abbreviation: KV) storage is an important storage technology. When using key-value storage, data is organized, indexed, and stored in the form of key-value pairs. For any key-value pair, the value of the key-value pair can be obtained by performing key-value query according to the key of the key-value pair. [0003] In object-oriented programming languages ​​such as JAVA, the key of any key-value pair is an object, and the value of any key-value pair is also an object. In the data storage stage, when the key-value pair to be stored is obtained, the key of the key-value pair is determined, the key object is obtained, the value of the key-value pair is determined, and the value object is obtained. The key object is used as the key and the value object is use...

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): G06F3/06
CPCG06F3/0608G06F3/0638
Inventor 单卫华董阳
Owner HUAWEI CLOUD COMPUTING 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