File storage method and distributed storage system

A distributed storage and file storage technology, which is applied in the transmission system, electrical components, etc., can solve the problems of data imbalance, inability to distinguish storage of files to be stored, and less important issues, and achieve the effect of reducing data loss

Active Publication Date: 2013-12-18
LENOVO (BEIJING) LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] One: the existing distributed storage system does not distinguish the files to be stored and the storage server group in the process of storing files, but some files in the files to be stored are important to users, while some files is less important, causing the existing distributed storage system to be unable to store the files to be stored in a differentiated manner
[0006] Second: when the existing distributed storage system stores files, it generally adopts a consistent hash algorithm to allocate a first storage server group to store the stored files. Once the first storage server group breaks down, the All data that will be stored in the first storage server group is stored in the first second storage server group that is clockwise connected to the first storage server group, so that the second storage server group The increase of the data stored in the storage system and the increase of the storage pressure of the second storage server group not only make the data stored in each storage server group in the distributed storage system unbalanced, but may also lead to data loss
[0007] Third: the existing distributed storage system records the location and path of all stored files through the Tracker (distributor), which causes a large amount of storage space in the Tracker to be occupied. Once the data stored in the Tracker reaches a certain amount, it will Contributing to the reduction of Tracker's work efficiency
[0008] Its four: the existing distributed storage system generally stores the stored file after fragmentation processing, if the user wants to view the file, the distributed storage system will assemble each fragment of the file After completion, the user can view the file, but when storing small files in the distributed storage system, it will reduce the performance of the distributed storage system

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
  • File storage method and distributed storage system
  • File storage method and distributed storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The embodiment of the present application provides a method for storing files and a distributed file storage system, which solves the problem that the existing distributed storage system cannot distinguish between the files to be stored and the storage server groups, resulting in the inability to differentiate the storage of the files to be stored The problem is that different levels of storage files are stored in different levels of storage server groups, and files of the same level will only be placed in the same level of storage server groups.

[0042] The technical solution of the embodiment of the present application is to solve the above-mentioned differentiated storage problem, and the general idea is as follows:

[0043] By grading each storage server group in the distributed storage system, and grading the first file to be stored of the first client, based on the level of the first file to be stored, from the distributed storage system Determining a first-level...

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 file storage method applied to a distributed storage system. The method includes acquiring a first level of a first file, to be stored, from a first client; determining a first-level storage server set corresponding to the first level, from M level storage server sets set in the distributed storage system; determining a first storage server set from the first-level storage server set according to a predetermined strategy; determining a first server from the first storage server set according to a predetermined rule; acquiring the first-level first file to be stored, and storing the first file to be stored into the first server. The first server is capable of synchronizing the first file to be stored to each one of other servers in the first storage server set.

Description

technical field [0001] The invention relates to the field of file storage, in particular to a method for storing files and a distributed file storage system. Background technique [0002] The design of existing distributed file storage systems is generally based on the following principles: CAP theory: it is impossible for a distributed storage system to meet the three requirements of consistency, availability and partition tolerance at the same time, and at most two can be satisfied at the same time. Among them, C: Consistency In a distributed environment, data at multiple points is consistent; A: Availability Each operation can always return at a certain time, that is, the system is available at any time; P: Tolerance of network Partition (partition tolerance) In the event of a network partition (such as a network outage), the separated systems can also function normally. [0003] For existing distributed storage systems, partition tolerance is a basic requirement, so the...

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): H04L29/08
Inventor 赵云涛何高邓唐生陆洋
Owner LENOVO (BEIJING) 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