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

Distributed block file transmission method and system

A file transfer and distributed technology, applied in the field of distributed file transfer, can solve the problems of no data integrity verification, CPU performance loss, no data integrity verification, etc., achieve simplified reconstruction and reduce CPU Dealing with losses and improving network performance

Inactive Publication Date: 2019-04-16
BEIJING LINX TECH
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. Using SHA-1 to verify data blocks causes CPU performance loss;
[0006] 2. The introduction of verification has brought the complexity of the protocol, as well as the complexity of the BT protocol itself
[0007] 3. After removing the SHA-1 verification data block, there is no longer data integrity verification!
[0008] And if in a trusted network, if the SHA-1 verification of the BT protocol is removed, there will be no integrity verification of the data, so it is impossible to know whether the file is transmitted correctly, so for the above BT in the trusted network The shortcomings of the present invention are based on a trusted network, and a new distributed block file transmission method has been invented to effectively solve the above problems

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
  • Distributed block file transmission method and system
  • Distributed block file transmission method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the purpose, features and advantages of the present invention more obvious and understandable, the technical core of the present invention will be further described in detail below in conjunction with the accompanying drawings . It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0034] 1. Distributed file transfer algorithm

[0035] The files stored on the distributed hosts of the trusted network are all numbered by RES ID (resource ID). At the same time, the distributed block file transfer client divides the file into blocks according to the PIECE ID to record the reconstruction sequence. When the distributed block transfer client receives a request in the following message (NETPACK2) format, it starts to split the file: ...

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 distributed block file transmission method and system. The method comprises the following steps: 1) a client initiates a transmission request to a host on a distributed network through a message in a NETPACK2 format, wherein fields of the message comprise a command word field, a resource file number section and multiple resource IDs; 2) the host on the network blocks a resource file according to the resource IDs in the message, and generates a network message through each part of block data to send to a client according to a format of a NETPACK1 message protocol, wherein the fields of the message protocol comprise the command word field, a resource ID field, a file fragment number field, an ending ID field, a block data length field and a block data field; and 3)enabling each thread to find a path for saving the file according to the resource ID in the network message; and then finding the migration of the block data in the file according to the file fragmentnumber in the network message, and storing the data block to a location corresponding to the file.

Description

technical field [0001] The invention relates to a distributed file transmission method and system, belonging to the technical field of computer software. Background technique [0002] The HTTP / HTTPS protocol is a widely used protocol on the Internet. It is usually used for browser browsing and file transfer, but it does not support distributed file transfer. [0003] FTP protocol is a simple file transfer protocol, usually used for file transfer, but also does not support distributed file transfer. [0004] The BT protocol is also commonly referred to as the P2P protocol. It is a distributed file transfer protocol that supports distributed file transfers, and also supports breakpoint resumes. Files are transferred in blocks, and SHA-1 will be performed on the received file blocks. Checksum, so it will cause CPU performance loss here. Here, the BitTorrent protocol assumes that the hosts in the network expansion are untrustworthy, so it is necessary to verify the file blocks...

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): H04L29/08
CPCH04L67/06H04L67/1097
Inventor 段武杰彭志航
Owner BEIJING LINX 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