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

Method, system and storage engine device for data storage and query

A data storage and storage engine technology, applied in other database query, electronic digital data processing, other database retrieval and other directions, can solve the problems of block-level data redundancy, consume storage space, affect query performance, etc., to save storage space, The effect of reducing the amount of IO

Active Publication Date: 2018-05-22
中国移动通信集团重庆有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, a user's general packet radio service (GPRS) bill for a certain month is stored in multiple data blocks, which will cause block-level data redundancy and consume a large amount of storage space; even if the block-level Compression technology for deduplication, also because similar data is stored in different blocks, the data deduplication rate is much lower than the traditional data dictionary deduplication method, and the storage space consumed by massive data is still huge
[0005] 2. The storage structure of the existing database or file system affects the query performance

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, system and storage engine device for data storage and query
  • Method, system and storage engine device for data storage and query
  • Method, system and storage engine device for data storage and query

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0055] An embodiment of the present invention provides an index block storage structure. The index block includes an index block header and an index block body; wherein at least the data block recording start address, the data block recording end address, and the data block pre-image address are stored in the index block header ; The index block body includes first information, second information, second information identifier, start data block number and end data block number.

[0056] Here, the size of the index block can be set according to actual needs, but must be an integer multiple of the operating system data block; for example, the size of the index block can be 64k.

[0057] Here, taking the storage of GPRS call records as an example, at this time, the first information is the user number, and the second information is the a...

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 and query method. In a data block storage structure, at least one compression groove is reserved in a data block head; in an index block storage structure, an index block comprises an index block head and an index block body; the data storage method comprises the steps that received original data files are divided into a plurality of sub-data files according to similar features (such as mobile phone number segments); data in the sub-data files are read in sequence, index IDs corresponding to the data are generated according to the information in the data, index trees are inquired according to the index IDs, data block numbers corresponding to the index IDs are acquired, and the data are stored in the corresponding data blocks one by one. The invention discloses a data storage and query system and a storage engine device. Through the data storage and query method and system and the storage engine device, a large amount of storage space is saved, and the input and output (IO) amount of computer internal storage and external storage is reduced in the data reading process.

Description

technical field [0001] The invention relates to data storage technologies in the fields of communications and computers, in particular to a data storage and query method, system and storage engine device. Background technique [0002] At present, databases, file systems, and the like can be used to store data. In existing data storage methods, data is stored in data blocks divided by databases or file systems. When the data is stored in the data block, it is stored through the relevant storage management algorithm, and the data records are randomly stored by row, and the query is queried through the constructed index. Taking the database as an example, the relevant logical structure of the database is as follows: figure 1 As shown, obviously, in figure 1 , the data is stored by row, and the row ID number (ID, Identity) is stored in the index, wherein the row ID is an ID that uniquely marks the physical location of the record. When performing regular table access, look up ...

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): G06F17/30
CPCG06F16/9027G06F16/903
Inventor 王凡陈乐君钟全龙谭正
Owner 中国移动通信集团重庆有限公司
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