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

Method and system for accelerating file uploading and downloading

A file and server technology, applied in the direction of transmission system, digital transmission system, electrical components, etc., can solve the problem of unsupported uploading, achieve the effect of improving transmission efficiency, reducing waiting, and increasing transmission speed

Active Publication Date: 2010-02-24
CAXA TECH
View PDF0 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because multi-threaded transmission needs the support of the server side, it is currently applied to file downloads from servers such as Ftp and Http, and does not support uploading

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
  • Method and system for accelerating file uploading and downloading
  • Method and system for accelerating file uploading and downloading
  • Method and system for accelerating file uploading and downloading

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Realize upload process method of the present invention as figure 1 shown.

[0028] The specific steps for file upload are as follows:

[0029] 1) The client initiates a connection, and notifies the server of information such as the size of the file to be uploaded, the number of threads used, and the size of the file block;

[0030] 2) After receiving the file upload request from the client, the server creates a special temporary file and data cache for the request, and starts (or creates) the corresponding write cache thread, and responds to the client request after completion;

[0031] 3) After receiving the response from the server, the client starts multi-threading and transfers the file in blocks;

[0032] 4) A certain thread of the client transmits the data block to the server;

[0033] 5) After receiving the data block uploaded by a certain thread of the client, the server puts the data block into the data cache corresponding to the upload, and notifies the cor...

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 relates to a method and a system for accelerating file updating and downloading. The method comprises the following steps: adopting a multithreading technique and a fault-tolerant technique in client computers of one or more clients; adopting a cache access technique in a server of a service end; and at each one of the client computers, partitioning the files to be transmitted, thensynchronously staring multiple threads respectively, uploading or downloading one or more data blocks, and adopting the fault-tolerant technique to perform retry according to the time and the frequency. The server establishes a data cache according to the thread number of each one of the client computers and prepares the data blocks larger than the thread number. During the uploading and the downloading, the client computers inform a specific thread of the server to further write the data in the data cache into a permanent storage of the server or read the data out from the permanent storage of the server.

Description

technical field [0001] The present invention generally relates to the field of communications, and more particularly, to the field of computer communications. Background technique [0002] For a file management system that adopts the client / server architecture, the server is used to store and manage files centrally, and the client communicates with the server to upload and download files. Ensuring accurate and fast uploading and downloading of files is a key technology in this type of system. [0003] Among the currently used transmission technologies: [0004] Directly use the file transfer function provided by WINDOWS and other operating systems or development software for file transfer: the advantage is that it is easy to use and the development workload is small; the disadvantage is that the controllability is poor, the room for optimization is small, and it needs to be retransmitted after the network is interrupted . [0005] File transfer using the FTP protocol: the...

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/08H04L12/56H04L1/18
Inventor 王晓勇
Owner CAXA 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