A file transfer method and device

A technology of file transmission and file fragments, which is applied in the field of data transmission, can solve the problems of unreasonable use of network data transmission capacity, etc., and achieve the effect of reducing transmission failure rate and rational utilization

Active Publication Date: 2017-12-05
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present application provides a file transmission method and device to solve the problem in the prior art that the data transmission capacity of the network cannot be reasonably utilized

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 transfer method and device
  • A file transfer method and device
  • A file transfer method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0058] In order to solve the problem in the prior art that the ability of the current network to transmit data traffic cannot be reasonably utilized, this application provides a file transmission method, such as figure 1 shown, including steps:

[0059] S11. Divide a preset number of file fragments from the transmitted file data in units of a pr...

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 present application discloses a file transmission method, including: dividing a preset number of file fragments from the transmitted file data in units of a preset fragment size; transmitting file fragments, and recording the transmission rate of each file fragment respectively ; Determine the network transmission rate at the next moment according to the transmission rate of the file segment; update the fragment size value according to the network transmission rate at the next moment, and use the updated fragment size value as a unit, among the untransmitted data in the transmitted file Divide a preset number of file fragments; repeatedly determine the network transmission rate at the next moment according to the current file fragment transmission rate to update the fragment size value, divide the preset number of file fragments from the untransmitted data and Transfer is transferred file data. This application achieves the purpose of making full use of the current network transmission data traffic capacity and rationally utilizing the network data transmission traffic capacity by means of real-time adaptation between the fragment size value and the network transmission rate at the next moment.

Description

technical field [0001] The invention relates to the field of data transmission, in particular to a file transmission method and device. Background technique [0002] In the process of data transmission, in order to reduce the repeated transmission of the entire file caused by the failure of data transmission due to network abnormalities, it is necessary to divide the file into equal-sized fragments according to the fixed fragmentation size, that is, to divide the file into multiple file fragments, and then serially transmit these multiple file fragments separately, and reorganize into a complete file after receiving all the file fragments of the file at the receiving end; through the above method, if encountering network abnormalities, generally It will only affect individual file fragments in the file. At this time, it is only necessary to repeatedly transmit the failed file fragments, thereby avoiding the repeated transmission of the entire file, thereby improving the util...

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): H04L1/00H04L12/811
Inventor 唐婧
Owner BEIJING QIYI CENTURY SCI & TECH 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