Unlock instant, AI-driven research and patent intelligence for your innovation.

File download method and apparatus thereof

A file download and file fragmentation technology, applied in the computer field, can solve the problem that the file download flow cannot be controlled in any way

Active Publication Date: 2012-06-06
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Under this passive logic, the file download traffic cannot be controlled in any way

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 download method and apparatus thereof
  • File download method and apparatus thereof
  • File download method and apparatus thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The file download method and device provided by the present invention are applied to a server adopting an asynchronous processing mode, and the file download flow is controlled by controlling the download frequency of file data.

[0053] When the distributed network architecture is used in the background of the server to store the files to be downloaded, and the files to be downloaded are large and need to be downloaded in fragments, the scheduler can be used to control the download frequency of file fragments. When the file that needs to be downloaded is stored locally on the server, if the client downloads the file from the server, because the size of the data block read by the server is limited each time, generally the entire file cannot be read at one time, and one piece of the file needs to be read each time. Fragmentation, so the server can control the file download traffic by controlling the frequency of reading file fragments from the local.

[0054] Figure 5 ...

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

An embodiment discloses a file download method and an apparatus thereof. The method comprises the following steps: a server receives a file download request, controls frequency of reading file data, and sends the read file data to a client which requests for file download. The apparatus comprises a reception module and a download module. The reception module is used for receiving the file download request. The download module is used for controlling the frequency of reading the file data and sending the read file data to the client which requests for the file download. By applying the method and the apparatus of the invention, file download flow can be controlled.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a file downloading method and device. Background technique [0002] At present, the ways in which the server processes service requests include synchronous processing and asynchronous processing. [0003] In the synchronous processing mode, after the caller initiates a service request to the server, it needs to wait for the processing result of the server, and then the caller proceeds to the following steps according to the processing result. [0004] In the asynchronous processing mode, after the caller initiates a business request to the server, it does not need to wait for the processing result of the server. After the server finishes processing the request, it sends a notification to the caller, and then the caller executes the business according to the notification Request the corresponding next steps. [0005] Multitasking servers generally use the following two methods...

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
Inventor 黄仁海
Owner TENCENT TECH (SHENZHEN) CO LTD