Check patentability & draft patents in minutes with Patsnap Eureka AI!

A method and system for distributing files

A file and sharding technology, applied in the computer field, can solve problems such as waste of resources and achieve the effect of improving work efficiency

Active Publication Date: 2017-02-08
JUHAOKAN TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The disadvantage of the existing technology is that once the main shard server fails during the sharding and distribution process, its backup shard server has to re-shard and distribute, wasting a lot of resources

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 method and system for distributing files
  • A method and system for distributing files
  • A method and system for distributing files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The embodiment of the present invention provides a method and system for distributing files, which is used to use the backup server to continue fragmentation and distribution when the main fragmentation server fails during the fragmentation and distribution process, avoiding the backup server to re-fragment And distribution, improve system work efficiency.

[0023] see figure 1 A method for distributing files provided by an embodiment of the present invention includes:

[0024] S101. The first sharding server divides the file to be distributed into data slices according to the selected sharding strategy, and distributes them to each storage node in sequence, and sends a dynamic distribution table to each storage node according to the distribution process of the data slices. The publication at least includes the corresponding relationship between each distributed data piece and each storage node;

[0025] S102. When any storage node determines that the reception of the...

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 provides a file distribution method and a file distribution system. The method and the system are used for continuing performing fragmentation and distribution by using a standby server when a fragmentation server fails in a fragmentation and distribution process, so that the re-fragmentation and the redistribution by the standby server are avoided, and the system working efficiency is improved. The method comprises the following steps that a first fragmentation sensor divides a file to be distributed into data fragments according to a selected fragmentation strategy, sequentially distributes the data fragments to each storage node, and transmits a dynamic distribution table to each storage node according to a distribution process of the data fragments; when any storage node determines that the data fragments are failed to be received, the storage node transmits a message for indicating that the data fragments are failed to be received to the previous storage node according to the dynamic distribution table; the previous storage node transmits the latest received data fragments of the corresponding file to a second fragmentation server according to an identifier of the file; and the second fragmentation server resolves the received data fragments, and transmits each subsequent data fragment to each storage node instead of the first fragmentation server.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and system for distributing files. Background technique [0002] Distributed storage system is to disperse and store data on multiple independent devices, use multiple storage servers to share the storage load, and use location servers to locate and store information. It not only improves the reliability, availability and access efficiency of the system, but also Easy to expand. [0003] In a distributed storage system, in order to better serve users, the sharding server divides files into several data pieces, and then distributes and stores them on several storage nodes. [0004] The information of the data piece includes the basic information of the piece, such as the serial number of the piece, the time length of the piece, the average network bandwidth required by the piece, and also includes the checksum of the piece of data and the private information of the pie...

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): H04L29/08
Inventor 于芝涛
Owner JUHAOKAN TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More