File uploading method and device

A file upload and file technology, applied in the Internet field, can solve the problems of long time, consumption, and lower request throughput, etc., and achieve the effect of resuming uploads from breakpoints, increasing upload speed, and utilizing network bandwidth resources

Active Publication Date: 2017-09-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if there are multiple routers and slow links between the sender and the receiver, this connection method will seriously reduce the throughput of the request. This is a single Transmission Control Protocol (TransmissionControl Protocol; hereinafter referred to as: TCP) Due to the sliding window limitation that is easy to appear in the request, due to the limitation of the TCP sliding window, when the browser uploads file data through a single channel, it cannot maximize the use of network bandwidth resources, which will consume more time when uploading file data

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 uploading method and device
  • File uploading method and device
  • File uploading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0034] figure 1 It is a flow chart of an embodiment of the file upload method of this application. The file upload method in this embodiment can be implemented by a browser, such as figure 1 As shown, the above file upload method may include:

[0035] Step 101, receiving the file upload notification sent by the server. The file upload notification is sent by the server after determining ...

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 provides a file uploading method and device. The file uploading method comprises the steps that a file uploading notification sent by a server is received; according to the file uploading notification, if the size of the file is larger than that of predetermined fragments, fragmentation cutting is conducted on the file according to the predetermined fragments, and at least two fragments of the file are acquired; and the fragments are uploaded to the server in parallel through at least two channels. According to the method, a browser can upload the file to the server through at least two channels, network bandwidth resources can be utilized maximally, and the file uploading speed is increased; and in addition, the server can discrete the file uploaded by the browser through a Hash value corresponding to the file, and then breakpoint resume and second transmission functions of the file can be achieved.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a method and device for uploading files. Background technique [0002] In the related art, uploading a file through a web browser generally submits the file through a Hypertext Markup Language (Hypertext Markup Language; hereinafter referred to as: HTML) web form, and uploads the file to a server for storage. [0003] Submitting files through an HTML web form generally uses a browser to upload file data through a single channel. This upload method does not support breakpoint resume uploads. In the case of network interruption or network fluctuations in transmission, the upload process will be interrupted and must be re-uploaded. File data, especially in the process of uploading large files, is more likely to be interrupted, but cannot be resumed from the interruption, thus wasting a lot of time and traffic for users. [0004] In addition, the sliding window protoc...

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
CPCH04L67/06H04L67/1078H04L67/108
Inventor 魏哲章玖海李智文闫恩全
Owner TENCENT TECH (SHENZHEN) 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