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

Data storage method and device

A data storage and data technology, applied in the computer field, can solve problems such as difficulty in meeting high concurrent access requirements of databases, and achieve the effect of supporting high concurrent access requirements

Active Publication Date: 2018-01-05
NEW H3C SECURITY TECH CO LTD
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In practical applications, in order to ensure that the data generated when users access database files is correct, only one or a limited number of users are often supported to access the same database file at the same time, and the data volume of network traffic data is increasing as user needs change. The demand for high-concurrency access to database files is becoming more and more strong, and the above-mentioned data storage methods are obviously difficult to meet the high-concurrency access requirements for databases.

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

specific example

[0162] Specifically, the file header information, the target segment length, the number of lines, the key value, the number of key values, and the storage location of each bit vector information are obtained from the target bitmap index file; To obtain the compressed bit vector, take decompressing a compressed bit vector to obtain the uncompressed bit vector as an example. Combined with specific examples, the process is as follows:

[0163] Assume that the length of the target segment is: 10, the source code ID is: 0, located in the first bit of the source code segment, the compression ID is: 1, located in the first bit of the encoded segment, and the compressed bit value ID is located in the encoded segment The second bit of the key value is: 82.

[0164] The compressed bit vector is: 0100110111 1000010111 1100010101

[0165] It can be seen that the above compressed bit vector contains 3 segments, which are:

[0166] 0100110111: the first bit is 0, indicating the source cod...

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 embodiment of the invention discloses a data storage method and device, and relates to the technical field of computers. The method comprises the steps that various pieces of data to be stored toa database are acquired, wherein each piece of data comprises a numeric value corresponding to a preset column name of the data base; at least one data column is determined from the various pieces ofdata, at least one data column file is generated, and one data column in the at least one data column is stored in each data column file; bitmap index files of the various data column files are generated; and the various data column files, the various bitmap index files and a target corresponding relation are stored, wherein the target corresponding relation is the corresponding relation among thedata column files, the bitmap index files of the data column files and preset column names corresponding to the data columns stored in the data column files. By applying the scheme to store the data,high concurrency access on the data column files can be well supported.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data storage method and device. Background technique [0002] With the rapid development of Internet technology, the storage and retrieval of network traffic data by network devices has become one of the main requirements of current network management. Due to limited network equipment resources, large databases such as MYSQL and ORACLE are often difficult to deploy on the network equipment side. Based on this, in the prior art, a lightweight relational database is generally used to store and retrieve network traffic data. [0003] When data storage is based on a lightweight relational database, after the network device receives the network traffic data, it generally stores the network traffic data in a single database file. When the user has a database access requirement, the above-mentioned single database file is accessed. . In practical applications, in order ...

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
Inventor 窦成龙刘清宇白洋
Owner NEW H3C SECURITY 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