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

A file fragmentation method based on hbase

A file fragmentation and file technology, applied in the computer field, can solve problems such as low storage efficiency, high single-point load, and low data security

Active Publication Date: 2021-02-02
BEIJING SCISTOR TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the problems of high single-point load, inefficient storage and low data security when storing large files, the present invention proposes a file fragmentation method based on HBase, which provides an efficient and reliable solution for fragmentation storage of large files

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
  • A file fragmentation method based on hbase
  • A file fragmentation method based on hbase
  • A file fragmentation method based on hbase

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0045] An HBase-based file fragmentation method uses HBase as a storage medium for distributed storage of data content and a storage medium for fragment metadata information storage when large file data is stored in fragments. Such as figure 1 As shown, when large file data is written, it is divided into slices according to a certain granularity, and then concurrently written to HBase to distribute and store the data content of each slice in different node machines, and at the same time, store the storage elements of each slice Data information is added to the metadata information table of the large file in the form of a new column to complete the efficient and reliable storage of large file fragments. It mainly includes four parts: large file fra...

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 an HBase-based file fragmentation method, which belongs to the field of computers. First read the configuration file for fragmenting large files and the configuration file for reading according to the granularity of fragmentation from the system, and fragment a certain large file. The writing and reading of file content is performed in the order of fragments, and the content of each fragment is stored in the HBase data table with an independent key value through multiple parallel threads. At the same time, the metadata information of each fragment is stored in the HBase metadata information table as a new column. Then, if the writing and reading of the file content is the specified slice, write and read the file content according to the specified fragment number; if the writing and reading of the file content is random reading, set the byte start position and The size of the read content; finally, when the writing or reading is interrupted due to an exception on the server side, just re-upload or read the fragment at the breakpoint after the service is restored. The invention makes large file storage more efficient and reliable, and has strong practicability and adaptability.

Description

technical field [0001] The invention belongs to the field of computers, in particular to an HBase-based file fragmentation method. Background technique [0002] With the development and application of Internet technology, the data generated by various industries such as social networks, mobile communications, online video, and e-commerce have shown explosive growth, and our lives are gradually entering the era of big data. In the era of big data, how to effectively store a large amount of data and then analyze and apply it has increasingly become the key to the development and advancement of enterprises in all walks of life. Especially in the face of large file storage, how to avoid excessive single-point load and how to achieve efficient and reliable storage are problems that need to be solved urgently. [0003] As a column-oriented distributed storage system for unstructured data, HBase provides a solution for distributed high-performance and reliable storage of unstructu...

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/13G06F16/16
Inventor 王振宇李斌斌苏连超
Owner BEIJING SCISTOR TECH
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