Data storage method and device

A data storage and data packet technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of affecting storage efficiency, small size and large number of picture files, so as to improve storage efficiency and reduce file fragmentation , the effect of high query efficiency

Active Publication Date: 2014-03-26
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These pictures are characterized by a large number, and the size of each picture file is relatively small. From the

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 Embodiment approach

[0161] see Figure 10 As shown, according to a specific implementation manner of the solution of the present invention, the data storage device may further include:

[0162] The index information generation unit 140 is configured to generate index information for the file data package.

[0163] According to the solutions of the embodiments of the present invention, the segment corresponding to the target file in the coding system can be determined according to the identifier of the target file to be queried. In this embodiment, a method of generating an index for the file data packet is further adopted to realize fast locating of the file within each segment.

[0164] see Figure 4 As shown, the right side is the storage structure of a file data package, and the left side is the index information result corresponding to the file data package.

[0165] It can be seen that the file data package is formed by continuous storage of multiple scattered data files. In the file data...

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. The data storage method includes the steps that an encoding algorithm is selected in advance, and value taking intervals of codes are segmented; identification information of target data files are encoded by means of the encoding algorithm; according to the encoding result, multiple data files in the same segmentation of encoded values are integrated and stored. By the adoption of the technical scheme, a proper encoding mode is selected in advance, the encoded value taking intervals are segmented, and then the data files in the same segmentation are integrated and stored according to the encoding result through identification of the data files. Compared with the prior art, file fragmentations are reduced because of integration and storage of the data files, and storage efficiency and query efficiency can be obviously improved.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a data storage method and device. Background technique [0002] With the rapid development of the Internet, the types and quantities of resources on the network are constantly increasing. For websites with data resources, the requirements for all aspects of data processing are also constantly increasing. For example, in the application scenario of massive data, how to improve the storage efficiency, query efficiency, processing efficiency of data resources, how to ensure the stability of data resources, and so on. [0003] Taking the data storage of the picture system as an example, for large-scale website applications, such as the picture annotation system used to improve the image search effect, the pictures that need to be processed may reach tens of billions or even higher, and these pictures are captured from other websites. It is taken and stored after being processe...

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
IPC IPC(8): G06F17/30
CPCG06F16/17G06F16/172
Inventor 阮星华
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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