File uploading method and device

A technology for file upload and target file, which is applied in the field of file upload method and device, can solve the problems of long upload time and slow upload speed, and achieve the effect of improving file upload speed

Active Publication Date: 2016-10-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, this application provides a method and device for uploading files, which are used to solve the problems of slow file upload speed and too long upload time in the prior art

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

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0042] implementation environment

[0043] refer to figure 1 , figure 1 It is a schematic diagram of an implementation environment architecture as an example of this application.

[0044] Such as figure 1 As shown, it includes: several terminals 11 and a server 12 .

[0045] Wherein, a client terminal for processing file uploading business is installed in the terminal 11 . The user can log in to the client, select the target file to be uploaded, and then perform the target 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 file uploading method and a file uploading device. The method comprises the steps of acquiring a target file to be uploaded; dividing the target file into a plurality of pieces, and thus obtaining the plurality of pieces; sending a file uploading request to a server, wherein the request carries the size of the target file, so as to allow the server to determine the quantity of channels and the quantity of distributed disc write-in interfaces according to the size of the target file, and establishes multiplexing channels with a client based on the quantity of the channels; and uploading the pieces via the multi-channels in a concurrent manner by using the established multiplexing channels, so as to allow the server to write the received pieces into a disc by using the distributed disc write-in interfaces. According to the method, the multiplexing channels are established between the client and the server, the target file is divided into the pieces for treatment, and the different pieces are uploaded by using the multi-channels, so that the file uploading speed is greatly enhanced.

Description

technical field [0001] The present application relates to the technical field of file uploading, and more specifically, to a file uploading method and device. Background technique [0002] With the development of Internet technology, users often need to upload files to the server on the Internet side for storage, so as to download files through the network again when needed, avoiding the inconvenience caused by carrying storage devices, such as U disks, hard disks, etc. . [0003] When dealing with the above-mentioned files in the prior art, usually the client and the server establish a single upload channel, and upload the target file based on the established upload channel, and then the server writes the target file to disk after receiving it. The existing method of uploading files based on a single channel has a very slow file upload speed, and the file upload time is too long. Contents of the invention [0004] In view of this, the present application provides a file...

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/08G06F3/06
CPCH04L67/06G06F3/061G06F3/0655G06F3/067
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