CN106686112A - Cloud file transmission system and method - Google Patents
Cloud file transmission system and method Download PDFInfo
- Publication number
- CN106686112A CN106686112A CN201710033438.3A CN201710033438A CN106686112A CN 106686112 A CN106686112 A CN 106686112A CN 201710033438 A CN201710033438 A CN 201710033438A CN 106686112 A CN106686112 A CN 106686112A
- Authority
- CN
- China
- Prior art keywords
- file
- webserver
- client
- request
- downloaded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a cloud file transmission system and method. The cloud file transmission system comprises client-terminal direct-connection servers and N-stage network servers, wherein the client-terminal direct-connection servers are used for receiving file downloading requests and judging whether files required to be downloaded exist in caches of the client-terminal direct-connection servers or not, and if the files required to be downloaded exist in the caches of the client-terminal direct-connection servers, the files required to be downloaded are downloaded to client terminals in a blocked mode; the N-stage network servers are used for receiving the file downloading requests and judging whether the files required to be downloaded exist in caches of the N-stage network servers or not, if the files required to be downloaded exist in the caches of the N-stage network servers, the files required to be downloaded are downloaded to the client terminals in a blocked mode from the Nth-stage network servers, if the files required to be downloaded do not exist in the caches of the Nth-stage network servers, the file downloading requests are transmitted to the prior network server step by step, and if the files required to be downloaded do not exist in all the network servers, the file downloading requests are transmitted to a cloud file server; the cloud file server downloads the files required to be downloaded to the client terminals in a blocked mode according to the file downloading requests. By means of the cloud file transmission system and method, the contention problem of network resources in network downloading can be solved.
Description
Technical field
The present invention relates to computer network communication technology field, more particularly to a kind of cloud document transmission system and method.
Background technology
With computer network, the fast development of all kinds of cloud systems, enterprises and individuals complete life by network acquisition information
Living, production correlated activation is more frequent, involved data volume and interaction frequency are also more huge, to cloud system, offered load
Performance requirement more and more higher.
Realize the current techique of cloud file download, through exploring year by year, various network accelerations by computer network at present
Method is continued to bring out, but, the Internet resources contention problem in network downloading process, it is still necessary to constantly explore better method and come
Solve.
The content of the invention
The present invention provides a kind of cloud document transmission system and method, preferably to solve network downloading process in Internet resources
The problem of contention.
The present invention provides a kind of cloud document transmission system, including:The direct-connected server of client, for receiving from client
File download request, and according to the file download request judge in the direct-connected server buffer of client with the presence or absence of ask under
Published article part, if existing, downloads the request file block and is downloaded to the client, if not existing, sends out the file
Download request;The N level webservers, for receiving the file download request that the direct-connected server of the client sends out, and root
The file download request sent out according to the direct-connected server of the client is judged in N levels webserver caching with the presence or absence of described
File is downloaded in request, if there is the request in N levels webserver caching downloads file, sets up N level network services
First transmission channel of device and the direct-connected server of the client, and will publish papers under the request via first transmission channel
Part is downloaded to the client from N level webserver piecemeals, if there is no the request in N levels webserver caching
File is downloaded, the N levels webserver transmits the file download request until being sent to its higher level's webserver step by step
The M level webservers, set up the M levels webserver to the N levels webserver and the direct-connected server of the client
Second transmission channel, and via second transmission channel by it is described request download file under M level webserver piecemeals
The client is loaded onto, if the N level webservers are cached into the 1st grade of webserver caching not existing under the request
Published article part, the 1st grade of webserver sends out the file download request, wherein, there is institute in M levels webserver caching
State request and download file, N is more than or equal to the integer that M, N and M are more than or equal to 1;Cloud file server, for receiving the 1st
The file download that the level webserver sends out is asked, and the file download request sent out according to the 1st grade of webserver exists
The request is searched in cloud file server memorizer and downloads file, if finding the request downloads file, set up described
3rd transmission channel of cloud file server, the N levels webserver and the direct-connected server of the client, and via described
The request is downloaded file and is downloaded to the client from the cloud file server piecemeal by the 3rd transmission channel.
In one embodiment, also include:N levels network and client access device;L levels network and L level network services
Device connects, the cloud file server by the 1st grade of network and the 1st grade of webserver be connected, the N levels webserver is logical
Cross N levels network to be connected with the direct-connected server of the client, the direct-connected server of the client is accessed by the client
Device is connected with the client, and L is more than or equal to N, and L is the integer more than or equal to 1.
The present invention also provides a kind of cloud document transmission method, including:The direct-connected server of client is received from client
File download is asked, and is judged to be downloaded with the presence or absence of request in the direct-connected server buffer of client according to file download request
File;If existing, the request is downloaded file block and is downloaded to the client by the direct-connected server of the client, if not depositing
The direct-connected server of the client sends out the file download request;It is direct-connected that the N levels webserver receives the client
The file download request that server sends out, and the file download request judgement sent out according to the direct-connected server of the client
File is downloaded in N levels webserver caching with the presence or absence of the request;If there is described asking in N levels webserver caching
Download file is sought, then sets up the first transmission channel of the N levels webserver and the direct-connected server of the client, and via institute
State the first transmission channel and the request download file is downloaded to into the client from N level webserver piecemeals, if N levels
There is no the request in webserver caching and download file, the N levels webserver is step by step to its higher level's webserver
The file download request is transmitted until being sent to the M level webservers, the M levels webserver is set up to N level networks
Second transmission channel of server and the direct-connected server of the client, and via second transmission channel by under the request
Published article part is downloaded to the client from M level webserver piecemeals, if the N level webservers are cached to the 1st grade of network
There is no the request in server buffer and download file, the 1st grade of webserver sends out the file download request, its
In, there is the request in M levels webserver caching and download file, N is more than or equal to 1 more than or equal to M, N and M
Integer;Cloud file server receives the file download request that the 1st grade of webserver sends out, and according to the 1st grade of network service
The file download request that device sends out is searched the request in cloud file server memorizer and downloads file, if finding described
File is downloaded in request, then set up the cloud file server, the N levels webserver and the direct-connected server of the client
3rd transmission channel, and via the 3rd transmission channel by it is described request download file under the cloud file server piecemeal
It is loaded onto the client.
In one embodiment, the request is downloaded into file from the M level webservers via second transmission channel
While piecemeal is downloaded to the client, also include:The M+1 levels webserver is to the N levels webserver and the visitor
The direct-connected server in family end is downloaded the copy and piecemeal of the blocked file of file by the request in M levels webserver caching
Transmission information is preserved into its respective caching.
In one embodiment, the request is downloaded into file from the cloud file server via the 3rd transmission channel
While piecemeal is downloaded to the client, also include:The N levels webserver and the direct-connected server of the client will be from
The request that the cloud file server piecemeal is downloaded is downloaded the copy and block transmission information of file and preserves respective to its
In caching.
In one embodiment, the request is downloaded file block and is downloaded to the client by the direct-connected server of the client
End, including:The direct-connected server of the client merges scheduling downloading task according to the request of the file download of multiple client,
File is downloaded in the request and is downloaded to the plurality of client from the direct-connected server piecemeal of the client.
In one embodiment, the request is downloaded into file from the N level webservers via first transmission channel
Piecemeal is downloaded to the client, including:The N levels webserver is according to the direct-connected server of multiple client sends out
File download request merges scheduling downloading task, and the request is downloaded into file from N level nets using first transmission channel
Network server piecemeal is downloaded to the direct-connected server of the plurality of client;Described in the direct-connected server by utilizing of the plurality of client
The request downloaded from N level webservers piecemeal download file is sent to the client by one transmission channel.
In one embodiment, the request is downloaded into file from the M level webservers via second transmission channel
Piecemeal is downloaded to the client, including:The file of the M levels webserver according to multiple M+1 level webservers
Download request merges scheduling downloading task, the request is downloaded into file using second transmission channel and is taken from M levels network
Business device piecemeal is downloaded to the plurality of M+1 level webservers;The plurality of M+1 levels webserver utilizes described second
The request downloaded from M level webservers piecemeal is downloaded file successively via M+2 level network services by transmission channel
Device to the N levels webserver and the direct-connected server of client are sent to the client.
In one embodiment, the request is downloaded file block and is downloaded to the client by the direct-connected server of the client
End, including:Initial time is downloaded according to setting, the direct-connected server of the client at times by the request download file from
The direct-connected server piecemeal of the client is downloaded to the client.
In one embodiment, the request is downloaded file block and is downloaded to the client by the direct-connected server of the client
End, including:According to the order of priority of each resource request in setting network communication service queue and the network bandwidth accounting of distribution, institute
State client direct-connected server and the request download file is downloaded to into the client from the direct-connected server piecemeal of the client
End, with the network bandwidth for controlling cloud file download the setting network bandwidth upper limit is less than.
In one embodiment, the request is downloaded into file from the N level webservers via first transmission channel
Piecemeal is downloaded to the client, including:Initial time is downloaded according to setting, the N levels webserver is passed using described first
The request is downloaded file and is downloaded to the direct-connected service of the client from N level webserver piecemeals by defeated passage at times
Device;Described in first transmission channel described in the direct-connected server by utilizing of the client will be downloaded from N level webservers piecemeal
Request is downloaded file and is sent to the client.
In one embodiment, the request is downloaded into file from the N level webservers via first transmission channel
Piecemeal is downloaded to the client, including:According to the order of priority of each resource request in setting network communication service queue and point
The request is downloaded file from N levels by the network bandwidth accounting matched somebody with somebody, the N levels webserver using first transmission channel
Webserver piecemeal is downloaded to the direct-connected server of the client, to control the network bandwidth of cloud file download less than setting
The network bandwidth upper limit;First transmission channel described in the direct-connected server by utilizing of the client will be from the N level webservers
The request that piecemeal is downloaded is downloaded file and is sent to the client.
In one embodiment, the request is downloaded into file from the M level webservers via second transmission channel
Piecemeal is downloaded to the client, including:Initial time is downloaded according to setting, the M levels webserver is passed using described second
The request is downloaded file and is downloaded to the M+1 level webservers from M level webserver piecemeals by defeated passage at times;
The M+1 levels webserver is utilized under the request that second transmission channel will be downloaded from M level webservers piecemeal
Published article part is sent to the visitor via the M+2 levels webserver to the N levels webserver and the direct-connected server of client successively
Family end.
In one embodiment, the request is downloaded into file from the M level webservers via second transmission channel
Piecemeal is downloaded to the client, including:According to the order of priority of each resource request in setting network communication service queue and point
The request is downloaded file from M levels by the network bandwidth accounting matched somebody with somebody, the M levels webserver using second transmission channel
Webserver piecemeal is downloaded to the M+1 level webservers, to control the network bandwidth of cloud file download less than setting net
The network bandwidth upper limit;The M+1 levels webserver will be under the M levels webserver piecemeal using second transmission channel
The request for carrying downloads file successively via the M+2 levels webserver to the N levels webserver and the direct-connected service of client
Device is sent to the client.
In one embodiment, the request is downloaded into file from the cloud file server via the 3rd transmission channel
Piecemeal is downloaded to the client, including:The request is downloaded into file from the cloud file using the 3rd transmission channel
Whether server is downloaded to the 1st grade of webserver, and judge the 1st grade of webserver first under the cloud file server
File is downloaded in the request for carrying;If so, the 1st grade of webserver is under the request downloaded from the cloud file server
Published article part carries out piecemeal process, generates blocked file, and initializes the file transmission information in the 1st grade of webserver caching
Table;According to the file transmission information table after initialization, using the 3rd transmission channel by the blocked file successively via the 1st
The level webserver is sent to the client to the N levels webserver and the direct-connected server of the client.
In one embodiment, the request is downloaded into file from the cloud file server via the 3rd transmission channel
Piecemeal is downloaded to the client, also includes:If the 1st grade of webserver is not to download from the cloud file server first
File is downloaded in the request, logical using the described 3rd transmission according to the file transmission information table in the 1st grade of webserver caching
The blocked file that file is downloaded in the request in 1st grade of webserver caching is sent to the client by road.
In one embodiment, judge to whether there is in the direct-connected server buffer of client according to file download request and ask
Download file is sought, including:According to the filename in file download request, delayed by inquiring about the direct-connected server of the client
File transmission information table in depositing, judges to download file with the presence or absence of the request in the direct-connected server buffer of the client.
In one embodiment, N level networks are judged according to the file download request that the direct-connected server of the client sends out
File is downloaded with the presence or absence of the request in server buffer, including:According to the text that the direct-connected server of the client sends out
Filename in part download request, the file transmission information table inquired about in N levels webserver caching, judges N level networks
File is downloaded with the presence or absence of the request in server buffer, if not existing under the request in N levels webserver caching
Published article part, the file transmission information table inquired about step by step in the upper network server buffer of the N level webservers, until inquiry
The webserver caching of file is downloaded to the request that is stored with or until inquiring the 1st grade of webserver caching, to sentence
The disconnected N-1 level webservers are cached downloads file into the 1st grade of webserver caching with the presence or absence of the request.
In one embodiment, the file transmission information table includes:Cloud file name, creation time, cloud file total size,
Blocked file is numbered and blocked file state.
The present invention also provides a kind of cloud document transmission system, including:The direct-connected server judging unit of client, for holding
OK:The direct-connected server of client receives the file download request from client, and judges visitor according to file download request
File is downloaded in the direct-connected server buffer in family end with the presence or absence of request;The direct-connected server download unit of client, for performing:If
Exist, the request is downloaded file block and is downloaded to the client by the direct-connected server of the client, described if not existing
The direct-connected server of client sends out the file download request;N level webserver judging units, for performing:N level networks
Server receives the file download request that the direct-connected server of the client sends out, and according to the direct-connected server of the client
The file download request for sending out judges to download file with the presence or absence of the request in N levels webserver caching;N levels network takes
Business device download unit, for performing:If there is the request in N levels webserver caching downloads file, N levels are set up
First transmission channel of the webserver and the direct-connected server of the client, and ask described via first transmission channel
Download file is asked to be downloaded to the client from N level webserver piecemeals, if not existing in N levels webserver caching
File is downloaded in the request, and it is straight that the N levels webserver transmits the file download request to its higher level's webserver step by step
To the M level webservers are sent to, the M levels webserver is set up direct-connected to the N levels webserver and the client
Second transmission channel of server, and the request is downloaded into file from M level network services via second transmission channel
Device piecemeal is downloaded to the client, if the N level webservers are cached does not have institute into the 1st grade of webserver caching
State request and download file, the 1st grade of webserver sends out the file download request, wherein, M levels webserver caching
In there is the request and download file, N is integer more than or equal to 1 more than or equal to M, N and M;Cloud file server is downloaded
Unit, for performing:Cloud file server receives the file download request that the 1st grade of webserver sends out, and according to the 1st grade
The file download request that the webserver sends out is searched the request in cloud file server memorizer and downloads file, if looking into
Find the request and download file, then set up the cloud file server, the N levels webserver and the client direct-connected
3rd transmission channel of server, and the request is downloaded into file from the cloud file service via the 3rd transmission channel
Device piecemeal is downloaded to the client.
In one embodiment, the N levels webserver download unit also includes:First downloads file cache module, uses
In execution:The M+1 levels webserver to the N levels webserver and the direct-connected server of the client take on M levels network
The request in business device caching is downloaded the copy and block transmission information of the blocked file of file and is preserved to its respective caching
In.
In one embodiment, the cloud file server download unit also includes:Second downloads file cache module, uses
In execution:The N levels webserver and the direct-connected server of the client will be downloaded from the cloud file server piecemeal
The request is downloaded the copy and block transmission information of file and is preserved into its respective caching.
In one embodiment, the direct-connected server download unit of the client, including:The direct-connected server of client merges to be adjusted
Degree module, for performing:The direct-connected server of the client merges scheduling according to the request of the file download of multiple client
Downloading task, downloads the request file and is downloaded to the plurality of client from the direct-connected server piecemeal of the client.
In one embodiment, the N levels webserver download unit, including:First network server merges scheduling mould
Block, for performing:The N levels webserver is closed according to the file download request that the direct-connected server of multiple client sends out
And dispatch downloading task, the request is downloaded into file under N level webserver piecemeals using first transmission channel
It is loaded onto the direct-connected server of the plurality of client;First downloads file delivery module, for performing:The plurality of client is direct-connected
First transmission channel described in server by utilizing is sent to the request downloaded from N level webservers piecemeal download file
The client.
In one embodiment, the N levels webserver download unit, including:Second webserver merges scheduling mould
Block, for performing:The M levels webserver merges according to the request of the file download of multiple M+1 level webservers to be adjusted
Degree downloading task, downloads file and is downloaded to from M level webserver piecemeals using second transmission channel by the request
The plurality of M+1 level webservers;Second downloads file delivery module, for performing:The plurality of M+1 levels network clothes
Business device using second transmission channel by the request downloaded from the M level webservers piecemeal download file successively via
The M+2 levels webserver to the N levels webserver and the direct-connected server of client are sent to the client.
In one embodiment, the direct-connected server download unit of the client, including:First in limited time download module, is used for
Perform:Initial time is downloaded according to setting, the request is downloaded file from institute by the direct-connected server of the client at times
State the direct-connected server piecemeal of client and be downloaded to the client.
In one embodiment, the direct-connected server download unit of the client, including:First speed limit download module, is used for
Perform:It is described according to the order of priority of each resource request in setting network communication service queue and the network bandwidth accounting of distribution
The request is downloaded file and is downloaded to the client from the direct-connected server piecemeal of the client by the direct-connected server of client,
The setting network bandwidth upper limit is less than with the network bandwidth for controlling cloud file download.
In one embodiment, the N levels webserver download unit, including:Second in limited time download module, for holding
OK:Initial time is downloaded according to setting, the N levels webserver is using first transmission channel at times by the request
Download file and be downloaded to the direct-connected server of the client from N level webserver piecemeals;3rd downloads file delivery module,
For performing:First transmission channel described in the direct-connected server by utilizing of the client will be downloaded from N level webservers piecemeal
The request download file be sent to the client.
In one embodiment, the N levels webserver download unit, including:Second speed limit download module, for holding
OK:According to the order of priority of each resource request in setting network communication service queue and the network bandwidth accounting of distribution, N level nets
First transmission channel described in network server by utilizing is downloaded to the request download file from N level webserver piecemeals described
The direct-connected server of client, with the network bandwidth for controlling cloud file download the setting network bandwidth upper limit is less than;The four times published articles
Part delivery module, for performing:First transmission channel described in the direct-connected server by utilizing of the client will be from the N level networks
The request that server piecemeal is downloaded is downloaded file and is sent to the client.
In one embodiment, the N levels webserver download unit, including:3rd in limited time download module, for holding
OK:Initial time is downloaded according to setting, the M levels webserver is using second transmission channel at times by the request
Download file and be downloaded to the M+1 level webservers from M level webserver piecemeals;5th downloads file delivery module, uses
In execution:The M+1 levels webserver will be from described in the download of M level webservers piecemeal using second transmission channel
Request is downloaded file and is sent to via the M+2 levels webserver to the N levels webserver and the direct-connected server of client successively
The client.
In one embodiment, the N levels webserver download unit, including:3rd speed limit download module, for holding
OK:According to the order of priority of each resource request in setting network communication service queue and the network bandwidth accounting of distribution, M level nets
The request is downloaded file and is downloaded to M+ from M level webserver piecemeals by the second transmission channel described in network server by utilizing
1 grade of webserver, with the network bandwidth for controlling cloud file download the setting network bandwidth upper limit is less than;6th downloads file passes
Module is sent, for performing:The M+1 levels webserver will be from the M level webservers using second transmission channel
It is straight to the N levels webserver and client via the M+2 level webservers successively that file is downloaded in the request that piecemeal is downloaded
Even server is sent to the client.
In one embodiment, the cloud file server download unit, including:Judge module is downloaded first, for performing:
File is downloaded in the request using the 3rd transmission channel and is downloaded to the 1st grade of network service from the cloud file server
Device, and judge whether file is downloaded in the request downloaded from the cloud file server first to the 1st grade of webserver;First
Initialization module is downloaded, for performing:If so, the 1st grade of webserver to from the cloud file server download described in please
Ask download file to carry out piecemeal process, generate blocked file, and initialize the file transmission letter in the 1st grade of webserver caching
Breath table;Download transmission module first, for performing:According to the file transmission information table after initialization, using the described 3rd transmission
Passage is by the blocked file successively via the 1st grade of webserver to the N levels webserver and the direct-connected service of the client
Device is sent to the client.
In one embodiment, the cloud file server download unit also includes:Repeated downloads transport module, for holding
OK:If the 1st grade of webserver is not that file is downloaded in the request downloaded from the cloud file server first, according to the 1st
File transmission information table in level webserver caching, is cached the 1st grade of webserver using the 3rd transmission channel
In the request download file blocked file be sent to the client.
In one embodiment, the direct-connected server judging unit of the client, including:The direct-connected server of client judges mould
Block, for performing:According to the filename in file download request, by the direct-connected server buffer of the inquiry client
File transmission information table, judge in the direct-connected server buffer of the client with the presence or absence of it is described request download file.
In one embodiment, the N levels webserver judging unit, including:N level webserver judge modules, use
In execution:According to the filename in the file download request that the direct-connected server of the client sends out, inquiry N levels network clothes
File transmission information table in business device caching, judges to download file with the presence or absence of the request in N levels webserver caching,
If there is no the request in N levels webserver caching downloads file, higher level's net of the N level webservers is inquired about step by step
File transmission information table in network server buffer, the webserver that file is downloaded until inquiring the request that is stored with delays
Deposit or until inquiring the 1st grade of webserver caching, to judge that the N-1 level webservers are cached to the 1st grade of network service
File is downloaded in device caching with the presence or absence of the request.
In one embodiment, also include:File transmission information table generation module, for performing:The file transmission information
Table includes:Cloud file name, creation time, cloud file total size, blocked file numbering and blocked file state.
The cloud document transmission system of the embodiment of the present invention and method, by from cloud file server, the webserver at different levels
Or the direct-connected server piecemeal of client downloads cloud file, can realize managing cloud file block.By from network services at different levels
Cloud file is downloaded in the caching of device or the direct-connected server of client, download link hierarchical cache can be realized.By cloud file point
Block is managed can realize the effective control of cloud file download process with download link hierarchical cache, and quick response client downloads please
Ask, it is to avoid network blockage, improve Internet usage efficiency.Further, the pair of the blocked file by will ask to download file
This and block transmission information are preserved into the direct-connected server of client, the webserver at different levels, and download chain can be better achieved
Road hierarchical cache, further quick response client download request.By making to preserve the server for asking to download file under it
Level server merges scheduling downloading task, can further improve Internet usage efficiency.By in limited time, speed limit download request
File is downloaded, network blockage can be avoided, make full use of Internet resources, further improve Internet usage efficiency.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.In the accompanying drawings:
Fig. 1 is the structural representation of the cloud document transmission system of one embodiment of the invention;
Fig. 2 is the schematic flow sheet of the cloud document transmission method of the embodiment of the present invention;
Fig. 3 is to download the method flow schematic diagram of cloud file from N level webservers piecemeal in one embodiment of the invention;
Fig. 4 is to download the method flow schematic diagram of cloud file from M level webservers piecemeal in one embodiment of the invention;
Fig. 5 is that the method flow for downloading cloud file from N level webservers piecemeal in another embodiment of the present invention is illustrated
Figure;
Fig. 6 is that the method flow for downloading cloud file from N level webservers piecemeal in further embodiment of this invention is illustrated
Figure;
Fig. 7 is that the method flow for downloading cloud file from M level webservers piecemeal in another embodiment of the present invention is illustrated
Figure;
Fig. 8 is that the method flow for downloading cloud file from M level webservers piecemeal in further embodiment of this invention is illustrated
Figure;
Fig. 9 is that the method flow for downloading cloud file from the cloud file server piecemeal in one embodiment of the invention is illustrated
Figure;
Figure 10 is that the method flow for downloading cloud file from the cloud file server piecemeal in another embodiment of the present invention shows
It is intended to;
Figure 11 is the schematic flow sheet of the cloud document transmission method of another embodiment of the present invention;
Figure 12 is the structural representation of the cloud document transmission system of the embodiment of the present invention;
Figure 13 is the structural representation of N levels webserver download unit in one embodiment of the invention;
Figure 14 is the structural representation of N levels webserver download unit in another embodiment of the present invention;
Figure 15 is the structural representation of the N level webserver download units of another embodiment of the present invention;
Figure 16 is the structural representation of N levels webserver download unit in another embodiment of the present invention;
Figure 17 is the structural representation of N levels webserver download unit in another embodiment of the present invention;
Figure 18 is the structural representation of N levels webserver download unit in another embodiment of the present invention;
Figure 19 is the structural representation of one embodiment of the invention medium cloud file server download unit;
Figure 20 is the structural representation of another embodiment of the present invention medium cloud file server download unit.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention becomes more apparent, below in conjunction with the accompanying drawings to this
Bright embodiment is described in further details.Here, the schematic description and description of the present invention is used to explain the present invention, but and
It is not as a limitation of the invention.
Fig. 1 is the structural representation of the cloud document transmission system of one embodiment of the invention.As shown in figure 1, the present invention is implemented
The cloud document transmission system of example, it may include:The direct-connected server 104 of client, the N levels webserver 103 and cloud file server
101.Cloud file server 101 is connected with the 1st grade of webserver 103, and the direct-connected server 104 of client and N levels network take
Business device 103 connects.
The direct-connected server 104 of client is used to receive the file download request from client 106, and according to the file
Download request judges to download file with the presence or absence of request in the direct-connected server buffer 1041 of client, if existing, by the request
Download file block and be downloaded to the client 106, if not existing, send out the file download request.
The N levels webserver 103 is used to receive the file download request that the direct-connected server 104 of the client sends out,
And the file download request sent out according to the direct-connected server 104 of the client is judged in N levels webserver caching 1031
File is downloaded with the presence or absence of the request, if there is the request in N levels webserver caching 103 downloads file, is built
First transmission channel of the vertical N levels webserver 103 and the direct-connected server 104 of the client, and pass via described first
The request is downloaded file and is downloaded to the client 106 from the piecemeal of the N levels webserver 103 by defeated passage, if N level nets
There is no the request in network server buffer 1031 and download file, the N levels webserver 103 is step by step to its upper network clothes
Business device transmits file download request until being sent to the M levels webserver 103, set up the M levels webserver 103 to
Second transmission channel of the N levels webserver 103 and the direct-connected server 104 of the client, and via the described second transmission
The request is downloaded file and is downloaded to the client 106 from the piecemeal of the M levels webserver 103 by passage, if N level networks
File, the 1st grade of network clothes downloaded and there is no the request into the 1st grade of webserver caching 1031 in server buffer 1031
Business device 103 sends out the file download request, wherein, there is the request in M levels webserver caching 1031 and download
File, N is more than or equal to the integer that M, N and M are more than or equal to 1.
Cloud file server 101 is asked for receiving the file download that the 1st grade of webserver 103 sends out, and according to
The file download request that 1st grade of webserver 103 sends out searches the request in cloud file server memorizer 1011
File is downloaded, if finding the request downloads file, the cloud file server 101, the N levels webserver is set up
103 and the 3rd transmission channel of the direct-connected server 104 of the client, and via the 3rd transmission channel by under the request
Published article part is downloaded to the client 106 from the piecemeal of cloud file server 101.
The information that file is downloaded in request, such as file name can be included in this document download request.The N level webservers
103 refer to one or more levels webserver 103, wherein, N is the integer more than or equal to 1, in follow-up difference embodiment,
Those skilled in the art will know that the possible numerical value of the minimum for adjusting N as the case may be, i.e. the minimum number of the N levels webserver can
To be 2,3 etc., specifically depend on the needs.N level network service implement bodies may include:1st grade of webserver, the 2nd grade
The webserver, the 3rd level webserver ..., the N level webservers, the webservers at different levels are linked in sequence.1st
The level webserver is connected with cloud file server 101, and the N levels webserver is connected with the direct-connected server 104 of client, the
1 grade of webserver is the upper network server of the 2nd grade of webserver, and the 2nd grade of webserver is 3rd level network service
The upper network server of device, by that analogy, the N-1 level webservers are the upper network services of the N level webservers
Device.Conversely, the N levels webserver is the undernet server of the N-1 level webservers, N-1 level network services
Device is the undernet server of the N-2 level webservers, and by that analogy, the 2nd grade of webserver is the 1st grade of network service
The undernet server of device.Each undernet server of the 1st grade of webserver includes the 2nd grade of webserver to N
The level webserver, each undernet server of the 2nd grade of webserver includes the 3rd level webserver to N level networks
Server, by that analogy.
Cloud file server 101 is used to store all kinds of cloud files, is available for client and the webserver at different levels to download and uses,
Specifically, cloud file is storable in cloud file server memorizer 1011.Cloud file is storable in one or more levels network
In the webserver 1031 of server 103.Cloud file is storable in the direct-connected service of client of the direct-connected server 104 of client
In device caching 1041.
The cloud document transmission system of the embodiment of the present invention, by from cloud file server, the webserver at different levels or client
Hold direct-connected server piecemeal to download cloud file, can realize managing cloud file block.By from the webservers at different levels or visitor
Cloud file is downloaded in the caching of the direct-connected server in family end, download link hierarchical cache can be realized.Managed by cloud file block
With the effective control that download link hierarchical cache can realize cloud file download process, quick response client's download request, it is to avoid
Network blockage, improves Internet usage efficiency.
Again as shown in figure 1, in some embodiments, above-mentioned cloud document transmission system may also include:N levels network 102 and client
End access device 105.L levels network 102 is connected with the L levels webserver 103, and the cloud file server 101 passes through the 1st
Level network 102 and the 1st grade of webserver 103 be connected, the N levels webserver 103 pass through N levels network 102 with it is described
The direct-connected server 104 of client connects, and the direct-connected server 104 of the client is by the client access device 105 and institute
State client 106 to connect, L is more than or equal to N, and L is the integer more than or equal to 1.
N levels network 102 refers to one or more levels network, specifically include the 1st grade of network, the 2nd grade of network ..., N level nets
Network.L levels network 102 can refer to any primary network station in N levels network 102, and the L levels webserver 103 can refer to that N levels network takes
Any one-level webserver in business device 103.L levels network 102 can provide network service for the L levels webserver 103,
1st grade of network 102 is connected with the 1st grade of webserver 103, the 2nd grade of network 102 is connected with the 2nd grade of webserver 103, with
This analogizes, and N levels network 102 is connected with the N levels webserver 103.Client access device 105 can be with client 106
Device connects, and this document download request can be by the device of client 106 by user input.
In some embodiments, cloud document transmission system may include cloud file server 101, the 1st grade of network 1021, the 1st grade
The webserver 103 ..., N levels network 1022 and the (N of the N levels webserver 103>1, for example, N levels can be with 2 grades, 2 and 3
Level, 2~4 grades ..., etc.), it is the direct-connected server 104 of client, client access device 105, the device of client 106, at different levels
Webserver caching 1041 and may include to be deployed in cloud file server 101, the 1st grade of webserver 103 ..., N
Cloud file transmission control module on the level webserver 103 and the direct-connected server 104 of client.Cloud file server 101 leads to
Cross the 1st grade of network 1021 to be connected with the 1st grade of webserver 103, the N levels webserver 103 connects step by step, N level networks
1022 and the N levels webserver 103 connect, the connection extends to the direct-connected server 104 of client, the direct-connected server of client
104 are connected by client access device 105 with the device of client 106.
Cloud file server 101 can be used to store all kinds of cloud files, downloads for client and the webserver at different levels and uses.
1st grade of network 1021 can direct-connected cloud file server 101, provide express network service as backbone network.The 1st grade of webserver
103, as the first webserver in cloud file download path, it is possible to provide cloud file block, caching and downloading task scheduling etc.
Service.N levels network 102 and the N levels webserver 103, wherein, N levels network 102 can be used to connect the webservers at different levels, carry
For network service.The N levels webserver 103 is used as the webservers at different levels in cloud file download path, it is possible to provide file block,
The service such as caching and downloading task scheduling.The direct-connected server 104 of client, directly can be connected with client access device 105, can carry
For services such as file block, caching and downloading task scheduling.Client access device 105 is connected with the device of client 106, can carry
For the service of client access network.The device of client 106, can be used to receive the request of client's cloud file download, can be to present customers
Request results.The webservers at different levels caching 1031, can be used to storing cloud file block, and file transmission information table, under other
Carry process control information.
In some embodiments, cloud document transmission system can arrange system control position in cloud file server, there is provided arrange text
Part downloads the system controls such as time limit, file block size, file download service network bandwidth accounting, cache file cleaning cycle at different levels
Parameter processed, lifts the suitability of the system and method.
Based on above-mentioned cloud document transmission system identical inventive concept, the present invention a kind of cloud file transmission side is also provided
Method.The cloud document transmission method can be realized based on above-mentioned cloud document transmission system.
Fig. 2 is the schematic flow sheet of the cloud document transmission method of the embodiment of the present invention.As shown in Fig. 2 the embodiment of the present invention
Cloud document transmission method, it may include step:
S210:The direct-connected server of client receives the file download request from client, and according to the file download
Request judges to download file with the presence or absence of request in the direct-connected server buffer of client;
S220:If existing, the request is downloaded file block and is downloaded to the client by the direct-connected server of the client
End, if not existing, the direct-connected server of the client sends out the file download request;
S230:The file download request that the direct-connected server of the N levels webserver reception client sends out, and according to
The file download request that the direct-connected server of the client sends out judges to be asked with the presence or absence of described in N levels webserver caching
Seek download file;
S240:If there is the request in N levels webserver caching downloads file, N level network services are set up
First transmission channel of device and the direct-connected server of the client, and will publish papers under the request via first transmission channel
Part is downloaded to the client from N level webserver piecemeals, if there is no the request in N levels webserver caching
File is downloaded, the N levels webserver transmits the file download request until being sent to its higher level's webserver step by step
The M level webservers, set up the M levels webserver to the N levels webserver and the direct-connected server of the client
Second transmission channel, and via second transmission channel by it is described request download file under M level webserver piecemeals
The client is loaded onto, if the N level webservers are cached into the 1st grade of webserver caching not existing under the request
Published article part, the 1st grade of webserver sends out the file download request, wherein, there is institute in M levels webserver caching
State request and download file, N is more than or equal to the integer that M, N and M are more than or equal to 1;
S250:Cloud file server receives the file download request that the 1st grade of webserver sends out, and according to the 1st grade
The file download request that the webserver sends out is searched the request in cloud file server memorizer and downloads file, if looking into
Find the request and download file, then set up the cloud file server, the N levels webserver and the client direct-connected
3rd transmission channel of server, and the request is downloaded into file from the cloud file service via the 3rd transmission channel
Device piecemeal is downloaded to the client.
The N levels webserver can refer to one or more levels webserver, specifically include:1st grade of webserver, the 2nd grade
The webserver, the 3rd level webserver ..., the N level webservers, the webservers at different levels are linked in sequence.1st
The level webserver is the upper network server of the 2nd grade of webserver, and the 2nd grade of webserver is 3rd level network service
The upper network server of device, by that analogy, the N-1 level webservers are the upper network services of the N level webservers
Device.Conversely, the N levels webserver is the undernet server of the N-1 level webservers, N-1 level network services
Device is the undernet server of the N-2 level webservers, and by that analogy, the 2nd grade of webserver is the 1st grade of network service
The undernet server of device.Each undernet server of the 1st grade of webserver includes the 2nd grade of webserver to N
The level webserver, each undernet server of the 2nd grade of webserver includes the 3rd level webserver to N level networks
Server, by that analogy.
The cloud document transmission method of the embodiment of the present invention, by from cloud file server, the webserver at different levels or client
Hold direct-connected server piecemeal to download cloud file, can realize managing cloud file block.By from the webservers at different levels or visitor
Cloud file is downloaded in the caching of the direct-connected server in family end, download link hierarchical cache can be realized.Managed by cloud file block
With the effective control that download link hierarchical cache can realize cloud file download process, quick response client's download request, it is to avoid
Network blockage, improves Internet usage efficiency.
In some embodiments, in above-mentioned steps S240, file is downloaded in the request via second transmission channel
While being downloaded to the client from M level webserver piecemeals, may also include:The M+1 level webservers are to N levels
The request in M levels webserver caching is downloaded dividing for file by the webserver and the direct-connected server of the client
The copy and block transmission information of block file is preserved into its respective caching.
The block transmission information of file is downloaded in the request can be included downloading the various information of file and its blocked file,
Such as cloud file name, creation time and total size, record each piecemeal numbering, piecemeal size and state, and other statistics phases
Close data.
In the present embodiment, the copy of the blocked file by the way that the request downloaded from the M levels webserver to be downloaded file
Each undernet server and the direct-connected server of client are stored in the block transmission information of the blocked file that file is downloaded in request
Caching in, can next time need download this document when, directly from each undernet server buffer download, without every time
This document is downloaded from cloud file server, download link hierarchical cache has been better achieved, being capable of further quick response client
Download request.
In some embodiments, in above-mentioned steps S240, file is downloaded in the request via the 3rd transmission channel
While being downloaded to the client from the cloud file server piecemeal, may also include:The N levels webserver and described
The direct-connected server of client passes in the copy and piecemeal that file is downloaded in the request downloaded from the cloud file server piecemeal
Defeated information is preserved into its respective caching.
The blocked file that file can be that file is downloaded in the request is downloaded in the request that piecemeal is downloaded.The request is downloaded
The block transmission information of file can include downloading the various information of file and its blocked file, such as cloud file name, establishment
Time and total size, record each piecemeal numbering, piecemeal size and state, and other statistical correlation data.
In the present embodiment, the copy and piecemeal of file are downloaded by the request that will be downloaded from cloud network server piecemeal
The request downloaded is downloaded the block transmission information of file and is stored in each undernet server and the direct-connected server of client
In caching, can next time need download this document when, directly from each undernet server buffer download, without every time from
Cloud file server downloads this document, and download link hierarchical cache has been better achieved, can further under quick response client
Carry request.
In some embodiments, according to setting time or optionally, can be direct-connected to the webservers at different levels caching and client
One or more cachings in server buffer are cleared up.More spatial caches can be reserved as above-mentioned caching with this, can
The cloud file high for caching recent download frequency, it is possible to increase the practical efficiency of cachings at different levels, further client downloads
Request answer speed.
In some embodiments, in above-mentioned steps S220, the request is downloaded file by the direct-connected server of the client
The method that piecemeal is downloaded to the client, it may include step:Institute of the direct-connected server of the client according to multiple client
State file download request and merge scheduling downloading task, by the request download file under the direct-connected server piecemeal of the client
It is loaded onto the plurality of client.
In the present embodiment, closed according to the request of the file download of multiple client by the direct-connected server of the client
And dispatch downloading task, it is possible to use the direct-connected server of client merges scheduling pipe to the download request of multiple client
Reason, it is possible to achieve the version and condition managing to downloading file and blocks of files, for example, can be managed to download request queue,
Submission management can be merged to download request, for same download request can merge execution downloading task, so as to can
To improve Internet usage efficiency using the direct-connected server of client.
Fig. 3 is to download the method flow schematic diagram of cloud file from N level webservers piecemeal in one embodiment of the invention.
As shown in figure 3, in above-mentioned steps S240, the request is downloaded into file from N level networks via first transmission channel
The method that server piecemeal is downloaded to the client, it may include step:
S2411:The N levels webserver is asked according to the file download that the direct-connected server of multiple client sends out
Merge scheduling downloading task, the request is downloaded into file from N level webserver piecemeals using first transmission channel
It is downloaded to the direct-connected server of the plurality of client;
S2412:First transmission channel described in the direct-connected server by utilizing of the plurality of client will be from the N level webservers
The request that piecemeal is downloaded is downloaded file and is sent to the client.
The file download request that the direct-connected server of each client can send out, the direct-connected clothes of multiple client
The multiple described file download request that business device can send out.For same file download is asked, the N level webservers can
To merge scheduling downloading task, can be to download file and the version and condition managing of blocks of files, for example can be to download request
Queue is managed, and submission management can be merged to download request.
In the present embodiment, the text sent out according to the direct-connected server of multiple client by the N levels webserver
Part download request merges scheduling downloading task, it is possible to use the N levels webserver is to from the more of the direct-connected server of client
Individual download request merges management and running, it is possible to achieve the version and condition managing to downloading file and blocks of files, for example may be used
To be managed to download request queue, submission management can be merged to download request, can for same download request
Downloading task is performed to merge, such that it is able to improve Internet usage efficiency using the N levels webserver.
Fig. 4 is to download the method flow schematic diagram of cloud file from M level webservers piecemeal in one embodiment of the invention.
As shown in figure 4, in above-mentioned steps S240, the request is downloaded into file from M level networks via second transmission channel
The method that server piecemeal is downloaded to the client, it may include step:
S2421:The M levels webserver merges according to the request of the file download of multiple M+1 level webservers
Scheduling downloading task, downloads file and downloads from M level webservers piecemeal using second transmission channel by the request
To the plurality of M+1 level webservers;
S2422:The plurality of M+1 levels webserver will be from M level network services using second transmission channel
The request that device piecemeal is downloaded downloads file successively via the M+2 level webservers to the N levels webserver and client
Direct-connected server is sent to the client.
The file download request that each M+1 levels webserver can send out, multiple M+1 level networks
The multiple described file download request that server can send out.For same file download is asked, the M level webservers
Scheduling downloading task can be merged, download file and the version and condition managing of blocks of files for example can be asked to downloading
Ask queue to be managed, submission management can be merged to download request.
Piecemeal is downloaded to the request of the plurality of M+1 level webservers downloads file can successively be downloaded to Qi Gexia
Level the webserver, i.e., be downloaded to successively the M+2 level webservers, the M+3 level webservers ..., N levels network clothes
Business device, the direct-connected server of client, are finally downloaded to client.
In the present embodiment, the text sent out according to multiple M+1 level webservers by the M levels webserver
Part download request merges scheduling downloading task, it is possible to use the M levels webserver is to from the more of the M+1 level webservers
Individual download request merges management and running, it is possible to achieve the version and condition managing to downloading file and blocks of files, for example may be used
To be managed to download request queue, submission management can be merged to download request, can for same download request
Downloading task is performed to merge, such that it is able to improve Internet usage efficiency using the M levels webserver.
In each embodiment, merging scheduling can mainly include following situation, 1) inquire about home server downloaded file list
Afterwards, file described in existing current file download request is found, the request need not take again to the upper level network of the home server
Business device sends, and current network service device (home server) can be used directly and has downloaded file as loading source;2) this is inquired about
After ground server downloaded file list, file described in current file download request is not found, need to be to the home server
The upper level webserver sends download request, if on the way the webservers at different levels are all without text described in current file download request
Part, the request will be received and responded by cloud file server.The home server for example can be the direct-connected service of above-mentioned client
The servers such as device, the above-mentioned N level webservers, the above-mentioned M level webservers.
In some embodiments, in above-mentioned steps S220, the request is downloaded file by the direct-connected server of the client
The method that piecemeal is downloaded to the client, it may include:Initial time, the direct-connected server point of the client are downloaded according to setting
Period the request is downloaded into file is downloaded to the client from the direct-connected server piecemeal of the client.
Can refer at times, the cloud document transmission system and device can arrange service time, according to service time to client
Download service is provided, so as to more effective controlling network contention for resources.For example, more attach most importance in backbone network bandwidth use in the recent period
The production run class demand wanted substantially increases, and use time is working day 9:00——17:00, according to this case, can be by cloud
The service time of document transmission system and device is set to 17:01 --- next day 8:00.
In the present embodiment, at times the request file is downloaded into from the visitor by downloading initial time according to setting
The direct-connected server piecemeal in family end is downloaded to the client, can be according to Internet usage situation, by setting download service
Start and make the direct-connected server of client provide download service at times by the time, the direct-connected server of management client is externally carried
For the time limit of download service, as far as possible Internet resources can be selected less while ensureing to complete downloading task within the time limit
The nervous period downloads cloud file such that it is able to avoid network blockage, makes full use of Internet resources, improves Internet usage effect
Rate.
In some embodiments, in above-mentioned steps S220, the request is downloaded file by the direct-connected server of the client
The method that piecemeal is downloaded to the client, it may include:According in setting network communication service queue each resource request it is preferential
Order and the network bandwidth accounting of distribution, it is straight from the client that the request is downloaded file by the direct-connected server of the client
Even server piecemeal is downloaded to the client, to control the network bandwidth of cloud file download less than in setting network bandwidth
Limit.
In the present embodiment, by according to the order of priority of each resource request in setting network communication service queue and distribution
The request is downloaded file and is downloaded to the client from the direct-connected server piecemeal of the client by network bandwidth accounting, can
Control cloud file download and the network bandwidth SC service ceiling of other services, it is to avoid network blockage.
Fig. 5 is that the method flow for downloading cloud file from N level webservers piecemeal in another embodiment of the present invention is illustrated
Figure.As shown in figure 5, in above-mentioned steps S240, the request is downloaded into file from N level nets via first transmission channel
The method that network server piecemeal is downloaded to the client, it may include step:
S2431:Initial time is downloaded according to setting, the N levels webserver utilizes first transmission channel at times
File is downloaded in the request and is downloaded to the direct-connected server of the client from N level webserver piecemeals in ground;
S2432:First transmission channel described in the direct-connected server by utilizing of the client will be from N level webserver piecemeals
The request downloaded is downloaded file and is sent to the client.
In the present embodiment, at times the request file is downloaded into from N levels by downloading initial time according to setting
Webserver piecemeal is downloaded to the direct-connected server of the client, can be downloaded by setting according to Internet usage situation
The beginning of service and make the N levels webserver provide download service at times by the time, manage the N level webservers pair
In the outer time limit that download service is provided, can as far as possible select Internet resources while ensureing to complete downloading task within the time limit
The less nervous period downloads cloud file such that it is able to avoid network blockage, makes full use of Internet resources, and improving Internet resources makes
Use efficiency.
Fig. 6 is that the method flow for downloading cloud file from N level webservers piecemeal in further embodiment of this invention is illustrated
Figure.As shown in fig. 6, in above-mentioned steps S240, the request is downloaded into file from N level nets via first transmission channel
The method that network server piecemeal is downloaded to the client, it may include step:
S2441:According to the order of priority and the network bandwidth of distribution of each resource request in setting network communication service queue
The request is downloaded file from the N levels webserver point by accounting, the N levels webserver using first transmission channel
Block is downloaded to the direct-connected server of the client, to control the network bandwidth of cloud file download less than in setting network bandwidth
Limit;
S2442:First transmission channel described in the direct-connected server by utilizing of the client will be from the N level webservers
The request that piecemeal is downloaded is downloaded file and is sent to the client.
Network described in various embodiments of the present invention can be the dedicated network, or common network of cloud document transmission system
Network.If dedicated network, the Network communication service can be file download, and resource request type can also be file download, directly
Connect and successively determine order of priority according to request time, when bandwidth all takes, subsequent request temporary suspension treats front sequence task
After the completion of in download of starting by sequence.If common network, all kinds of resource requests are included in the Network communication service, can be according to one
The bandwidth accounting of the set pattern priority that then setting network request is responded and all kinds of resource requests, can avoid low priority from asking with this
Asking excessive affects high priority requests.For example, when common network includes franchise class application, normal connectivity class application, batch processing
Or when asynchronous call class application, the transmission class application of big file, can advise according to " franchise class application>Normal connectivity class application>Batch
Process or asynchronous call class application>The order setting order of priority of big file transmission class application ", and set according to practical situation
The network bandwidth accounting upper limit of types of applications, for example:Franchise class application (30%), normal connectivity class application (20%), batch processing
Or asynchronous call class application (20%), big file transmission class application (15%), reserve 15% and meet an urgent need, can preferably be regulated and controled with this
The contention for resources of common network.
In the present embodiment, by according to the order of priority of each resource request in setting network communication service queue and distribution
The request is downloaded file and is downloaded to the direct-connected service of the client from N level webserver piecemeals by network bandwidth accounting
Device, then request download file is sent to into the client, can control network bandwidths of cloud file download and other services makes
With the upper limit, it is to avoid network blockage.
Fig. 7 is that the method flow for downloading cloud file from M level webservers piecemeal in another embodiment of the present invention is illustrated
Figure.As shown in fig. 7, in above-mentioned steps S240, the request is downloaded into file from M level nets via second transmission channel
The method that network server piecemeal is downloaded to the client, it may include step:
S2451:Initial time is downloaded according to setting, the M levels webserver utilizes second transmission channel at times
File is downloaded in the request and is downloaded to the M+1 level webservers from M level webserver piecemeals in ground;
S2452:The M+1 levels webserver will be under M level webserver piecemeals using second transmission channel
The request for carrying downloads file successively via the M+2 levels webserver to the N levels webserver and the direct-connected service of client
Device is sent to the client.
In the present embodiment, at times the request file is downloaded into from M levels by downloading initial time according to setting
Webserver piecemeal is downloaded to the M+1 level webservers, can be according to Internet usage situation, by setting download service
Beginning and make the M levels webserver provide download service at times by the time, the management M level webservers are externally carried
For the time limit of download service, as far as possible Internet resources can be selected less while ensureing to complete downloading task within the time limit
The nervous period downloads cloud file such that it is able to avoid network blockage, makes full use of Internet resources, improves Internet usage effect
Rate.
Fig. 8 is that the method flow for downloading cloud file from M level webservers piecemeal in further embodiment of this invention is illustrated
Figure.As shown in figure 8, in above-mentioned steps S240, the request is downloaded into file from M level nets via second transmission channel
The method that network server piecemeal is downloaded to the client, it may include step:
S2461:According to the order of priority and the network bandwidth of distribution of each resource request in setting network communication service queue
The request is downloaded file from the M levels webserver point by accounting, the M levels webserver using second transmission channel
Block is downloaded to the M+1 level webservers, and with the network bandwidth for controlling cloud file download the setting network bandwidth upper limit is less than;
S2462:The M+1 levels webserver will be from the M levels webserver point using second transmission channel
It is direct-connected to the N levels webserver and client via the M+2 level webservers successively that file is downloaded in the request that block is downloaded
Server is sent to the client.
In the present embodiment, by according to the order of priority of each resource request in setting network communication service queue and distribution
The request is downloaded file and is downloaded to the M+1 level webservers from M level webserver piecemeals by network bandwidth accounting, then
To ask to download file transmission via the M+2 levels webserver to the N levels webserver and the direct-connected server of client successively
To the client, the network bandwidth SC service ceiling of cloud file download and other services can be controlled, it is to avoid network blockage.
Fig. 9 is that the method flow for downloading cloud file from the cloud file server piecemeal in one embodiment of the invention is illustrated
Figure.As shown in figure 9, in above-mentioned steps S250, the request is downloaded into file from the cloud via the 3rd transmission channel
The method that file server piecemeal is downloaded to the client, it may include step:
S251:File is downloaded in the request using the 3rd transmission channel and is downloaded to the from the cloud file server
1 grade of webserver, and judge under the request whether the 1st grade of webserver is downloaded first from the cloud file server
Published article part;
S252:If so, the 1st grade of webserver enters to the request download file downloaded from the cloud file server
The process of row piecemeal, generates blocked file, and initializes the file transmission information table in the 1st grade of webserver caching;
S253:According to the file transmission information table after initialization, using the 3rd transmission channel by the blocked file
It is sent to the client to the N levels webserver and the direct-connected server of the client via the 1st grade of webserver successively.
File is downloaded in the request using the 3rd transmission channel and is downloaded to the 1st grade of net from the cloud file server
During network server, cloud file server is received after download request, can read download fileinfo, Study document structure, initially
Change file transmission information table.
In the present embodiment, when each the 1st grade of webserver is downloaded to the application of cloud file server, if under first
Carry, piecemeal process will be carried out to downloading file, for example, can complete piecemeal according to default size and process, initialization files transmission information
Table, generates blocked file.Blocked file name can be constituted according to " cloud file name+piecemeal numbering ".
Figure 10 is that the method flow for downloading cloud file from the cloud file server piecemeal in another embodiment of the present invention shows
It is intended to.As shown in Figure 10, in above-mentioned steps S250, the request being downloaded via the 3rd transmission channel shown in Fig. 9
The method that file is downloaded to the client from the cloud file server piecemeal, may also include step:
S254:If the 1st grade of webserver is published papers under the request downloaded from the cloud file server first
Part, according to the file transmission information table in the 1st grade of webserver caching, using the 3rd transmission channel by the 1st grade of network
The request in server buffer is downloaded the blocked file of file and is sent to the client.
Then it is repeated downloads if not downloading first in the present embodiment, already present file transmission information table can be used directly
And blocked file.When the 1st grade of webserver is not that file is downloaded in the request downloaded from the cloud file server first
When, the blocked file and corresponding text of file are downloaded in the request for the previous download that can be stored with the 1st grade of webserver caching
Part traffic-meter, directly performs downloading task using already present file transmission information table and blocked file, can avoid weight
It is multiple that same request download file is downloaded from cloud file server, Internet resources can be saved with this, reduce network blockage
Occurrence probability.
In some embodiments, if changing piecemeal size, (such as dividing for file is downloaded in the request in certain grade webserver
Block file), can be to downloading file (such as the request download file downloaded from cloud file server again, or network service at different levels
File is downloaded in the request of device caching) piecemeal process is completed according to default size, file transmission information table is updated, generate piecemeal text
Part, blocked file name can be constituted according to " cloud file name+piecemeal numbering ".
In some embodiments, in above-mentioned steps S210, the direct-connected service of client is judged according to file download request
The method for downloading file with the presence or absence of request in device caching, it may include step:According to the filename in file download request,
File transmission information table in by inquiring about the direct-connected server buffer of the client, judges that the direct-connected server of the client delays
File is downloaded in depositing with the presence or absence of the request.
Can be stored with cloud file name in this document traffic-meter, by the file in the comparison file download request
Name it is whether consistent with the cloud file name in this document traffic-meter to judge the direct-connected server buffer of client in whether deposit
File is downloaded in request.
In some embodiments, in above-mentioned steps S230, according under the file that the direct-connected server of the client sends out
Carry the method that request judges to download file with the presence or absence of the request in N levels webserver caching, it may include:According to the visitor
Filename in the file download request that the direct-connected server in family end sends out, the file inquired about in N levels webserver caching
Traffic-meter, judges to download file with the presence or absence of the request in N levels webserver caching, if N level network services
There is no the request in device caching and download file, during the upper network server buffer of the N level webservers is inquired about step by step
File transmission information table, until inquire be stored with it is described request download file the webserver caching or until inquiring
Whether the 1st grade of webserver caching, deposited with judging that the N-1 level webservers are cached into the 1st grade of webserver caching
File is downloaded in the request.
In the present embodiment, file application is downloaded by submitting to the webservers at different levels of the N level webservers step by step, when
When inquiring presence request download file in the caching of certain one-level webserver, can download from this grade of webserver piecemeal
File is downloaded in the request.There is no request download file when all of webserver in the N level webservers has been inquired about
When, can submit to cloud file server and download application.
In the various embodiments described above, the file transmission information table may include:Cloud file name, creation time, cloud file are total
Size, blocked file numbering and blocked file state.
In the present embodiment, file transmission information table may include that cloud file name, creation time, total size, piecemeal are numbered, divided
The fields such as block size, state, other data, file transmission information table can be deployed on the webservers at different levels, can be used to record
Information in document transmission process, can be used to record cloud file name, creation time and total size, records each piecemeal numbering, divides
Block size and state, and other statistical correlation data.
It is any in the webservers at different levels of the direct-connected server of client and the N level webservers in the various embodiments described above
One server, when judging that wherein there is request downloads file, can be arranged according to the speed limit in limited time of system downloads function, right
Downstream site provides download service, can be to its lower level servers or device feedback request response message.For example, the direct-connected clothes of client
When there is request download file in business device, can be to client feedback request-reply information;The M levels webserver is present under request
During published article part, can be to M+1 level webserver feedback request response messages.The request-reply information of feedback can include text
Part blocking information, in limited time speed-limiting messages etc..
In one embodiment, client terminal device receives the direct-connected server of client, the webserver at different levels or cloud file clothes
After the feedback of business device, the request for for example receiving piecemeal download is downloaded after file, and merges file block, reduces client's request
Download file.
In some embodiments, cloud text can be further realized by technologies such as existing breakpoint transmission, network bandwidth administration by different levels
Part downloading process is more effectively controlled.
One or more in one embodiment, in the direct-connected server of client, the N level webservers, cloud file server
Server can be deployed with cloud file transmission control module, and the cloud file transmission control module in different server can not
Together, cloud file transmission control module can carry out file block management, downloading task merging scheduling, download link hierarchical cache, limit
When one or more process such as speed limit.The effective control of cloud file download process is capable of achieving by cloud file transmission control module.
Cloud file transmission control module may include file block unit, hierarchical cache unit, merge scheduling unit and prescribe a time limit
One or more in speed limit unit.File block unit can be used to for download file to complete piecemeal process according to default size,
And unification enters line label for blocks of files.Hierarchical cache unit can be used to download file and blocks of files in the webservers at different levels
Storage management, storage management includes normal file read-write operations, supports the function such as the breakpoint transmission of read-write process and periodic cleaning.
Merge the merging management and running that scheduling unit can be used for client's download request, while carrying including download request queue management, merging
Traffic control reason, version and condition managing to downloading file and blocks of files.In limited time speed limit unit can be used to manage externally offer download
The time limit of service and speed of download, according to Internet usage situation, can pass through the beginning of setting download service and by the time
Download service is provided at times;By the order of priority of various resource requests in setting network Communications service queue and can divide simultaneously
The network bandwidth accounting matched somebody with somebody, controls the network bandwidth SC service ceiling of cloud file download and other services.
Figure 11 is the schematic flow sheet of the cloud document transmission method of another embodiment of the present invention.As shown in figure 11, the present invention
The cloud document transmission method of embodiment, it may include step:
S501:Client's request is received.Client terminal device receives the file download request that client proposes, is accessed by client
File download request is passed to the direct-connected server of client by device 6;
S502:Direct-connected server receives request.The file download that the direct-connected server receiving step S501 of client sends please
Ask, the download filename in request, inquire about local file traffic-meter;
S503:Direct-connected server downloading task merges scheduling.The direct-connected server of client is performed and merges scheduler module 23, is sentenced
Whether there is this document in disconnected local cache, if existing, merge downloading task, execution step S509;If no, setting up new
Downloading task, the superior webserver submit to download application, execution step S504;
S509:Direct-connected server feedback fileinfo.If there is request text in the local cache of the direct server of client
Part, then the direct-connected server of client perform speed limit unit of prescribing a time limit, arranged according to the speed limit in limited time of system downloads function, subordinate is saved
Point provides download service, to client terminal device feedback request response message;
S510:Direct-connected server downloads file.The direct-connected server of client sets up transmission channel with client terminal device, to visitor
Family end device transmission blocked file and other control information;
S504:The webservers at different levels receive request.If the direct-connected server local of client is cached without client's demand file
When, file a request to its higher level's webserver, if client demand file of 1 to the N levels webserver without local cache,
Then client's request can be always sent to cloud file server;
S505:The webservers at different levels perform downloading task and merge scheduling.The webservers at different levels receive file download
Perform during request and merge scheduler module, judge local whether this document, if existing, merge downloading task, execution step
S511;If no, setting up new downloading task, the superior webserver is submitted to and downloads application, execution step S506;
S511:Webserver feedback file information at different levels.If there is request text in N levels in webserver caching
Part, then perform prescribe a time limit speed limit unit, according to system downloads function prescribe a time limit speed limit arrange, to downstream site provide download service, to
Undernet server feedback request-reply information;
S512:The webservers at different levels download file.Set up this grade of webserver, each undernet server, client
Hold the transmission channel of direct-connected server, transmission blocked file and other control information;The webservers at different levels preserve the lower published article
Part piecemeal copy, log file traffic-meter;
S506:Cloud file server receives download request.When in whole networking the webserver at different levels all do not cache please
When seeking file, the file download request that client terminal device is received will be sent directly to cloud file server, and cloud file server connects
After receiving download request, read and download fileinfo, Study document structure, initialization files traffic-meter.
S507:Cloud file server feedback file information.Cloud file server performs speed limit unit of prescribing a time limit, according under system
Carry function prescribe a time limit speed limit setting, to downstream site provide download service, to primary network station server feedback request-reply information;
S508:The webservers at different levels download file.Set up cloud file server, the webserver at different levels, client straight
Even the transmission channel of server, transmits blocked file and other control information;The webservers at different levels preserve the download file point
Block copy, log file traffic-meter;
S513:Client receives file.Client terminal device receives the feedback of the direct-connected server of client, and merges file point
Block, reduces the download file of client's request.
The method of the present embodiment, realizes the effective control of Internet usage in cloud file download process.The system and
Method is managed based on existing cloud platform and Internet architecture by cloud file block, and downloading task merges scheduling, download link point
The means such as level caching, by technologies such as existing breakpoint transmission, network bandwidth administration by different levels, realize the effective of cloud file download process
Control, solution realizes the Internet resources contention problem of cloud file download process by computer network at present, realizes quick response
Client's download request, it is to avoid network blockage, improves network resource utilization and stability.
The cloud document transmission method of the embodiment of the present invention, by from cloud file server, the webserver at different levels or client
Hold direct-connected server piecemeal to download cloud file, can realize managing cloud file block.By from the webservers at different levels or visitor
Cloud file is downloaded in the caching of the direct-connected server in family end, download link hierarchical cache can be realized.Managed by cloud file block
With the effective control that download link hierarchical cache can realize cloud file download process, quick response client's download request, it is to avoid
Network blockage, improves Internet usage efficiency.Further, by will request download file blocked file copy and piecemeal
Transmission information is preserved into the direct-connected server of client, the webserver at different levels, download link classification can be better achieved slow
Deposit, further quick response client download request.By making to preserve the server for asking to download file to its lower level servers
Merge scheduling downloading task, can further improve Internet usage efficiency.Publish papers by prescribing a time limit, under speed limit download request
Part, can avoid network blockage, make full use of Internet resources, further improve Internet usage efficiency.
Based on the cloud document transmission method identical inventive concept shown in Fig. 2, the embodiment of the present application additionally provides one kind
Cloud file transfer means, as described in example below.Because the principle of the cloud file transfer means solve problem is passed with cloud file
Transmission method is similar, therefore the enforcement of the cloud file transfer means may refer to the enforcement of cloud document transmission method, repeats part not
Repeat again.
Figure 12 is the structural representation of the cloud document transmission system of the embodiment of the present invention.As shown in figure 12, the present invention is implemented
The cloud document transmission system of example, it may include:The direct-connected server of the direct-connected server judging unit 310, client of client is downloaded single
Unit 320, N level webservers judging unit 330, N level webservers download unit 340 and cloud file server download unit
350, above-mentioned each unit is linked in sequence.
The direct-connected server judging unit 310 of client is used to perform:The direct-connected server of client is received from client
File download is asked, and is judged to be downloaded with the presence or absence of request in the direct-connected server buffer of client according to file download request
File.
The direct-connected server download unit 320 of client is used to perform:If existing, the direct-connected server of the client will be described
Request is downloaded file block and is downloaded to the client, if not existing, the direct-connected server of the client sends out the file
Download request.
N level webservers judging unit 330 is used to perform:The N levels webserver receives the direct-connected service of the client
The file download request that device sends out, and the file download request sent out according to the direct-connected server of the client judges N levels
File is downloaded in webserver caching with the presence or absence of the request.
N level webservers download unit 340 is used to perform:If there is the request in N levels webserver caching
File is downloaded, then sets up the first transmission channel of the N levels webserver and the direct-connected server of the client, and via described
The request is downloaded file and is downloaded to the client from N level webserver piecemeals by the first transmission channel, if N level nets
There is no the request in network server buffer and download file, the N levels webserver is passed step by step to its higher level's webserver
The file download request is sent until being sent to the M level webservers, the M levels webserver is set up and is taken to N levels network
Second transmission channel of business device and the direct-connected server of the client, and download the request via second transmission channel
File is downloaded to the client from M level webserver piecemeals, if the N level webservers are cached to the 1st grade of network clothes
There is no the request in business device caching and download file, the 1st grade of webserver sends out the file download request, its
In, there is the request in M levels webserver caching and download file, N is more than or equal to 1 more than or equal to M, N and M
Integer.
Cloud file server download unit 350 is used to perform:Cloud file server receives the 1st grade of webserver and sends out
File download request, and the file download sent out according to the 1st grade of webserver asked in cloud file server memorizer
It is middle to search the request download file, if finding the request downloads file, set up the cloud file server, the N
3rd transmission channel of the level webserver and the direct-connected server of the client, and will be described via the 3rd transmission channel
Request is downloaded file and is downloaded to the client from the cloud file server piecemeal.
The cloud document transmission system of the embodiment of the present invention, by from cloud file server, the webserver at different levels or client
Hold direct-connected server piecemeal to download cloud file, can realize managing cloud file block.By from the webservers at different levels or visitor
Cloud file is downloaded in the caching of the direct-connected server in family end, download link hierarchical cache can be realized.Managed by cloud file block
With the effective control that download link hierarchical cache can realize cloud file download process, quick response client's download request, it is to avoid
Network blockage, improves Internet usage efficiency.
In some embodiments, the N levels webserver download unit 340 may also include:First downloads file cache mould
Block.First downloads file cache module, for performing:The M+1 levels webserver is to the N levels webserver and the client
Direct-connected server is downloaded the blocked file of file by the request in M levels webserver caching copy and piecemeal is held to pass
Defeated information is preserved into its respective caching.
In some embodiments, the cloud file server download unit 340 may also include:Second downloads file cache mould
Block.Second downloads file cache module, for performing:The N levels webserver and the direct-connected server of the client will be from
The request that the cloud file server piecemeal is downloaded is downloaded the copy and block transmission information of file and preserves respective to its
In caching.
In the various embodiments described above, file is downloaded in the request that the copy and piecemeal for downloading file by cache request is downloaded
Block transmission information, can next time need download this document when, it is directly direct-connected from each undernet server buffer, client
Server buffer downloads cloud file, without from cloud file server downloading this document every time, download chain can be better achieved
Road hierarchical cache, being capable of further quick response client download request.
In some embodiments, the direct-connected server download unit 320 of the client, it may include:The direct-connected server of client
Merge scheduler module.The direct-connected server of client merges scheduler module, for performing:The direct-connected server of the client is according to more
The file download request of individual client merges scheduling downloading task, the request is downloaded into file direct-connected from the client
Server piecemeal is downloaded to the plurality of client.
Figure 13 is the structural representation of N levels webserver download unit in one embodiment of the invention.As shown in figure 13, institute
State N level webservers download unit 340, it may include:First network server merges scheduler module 3411 and first time published article
Part delivery module 3412, the two is connected with each other.
First network server merges scheduler module 3411 to be used to perform:The N level webservers are according to multiple client
The file download request that direct-connected server sends out merges scheduling downloading task, will be described using first transmission channel
Request is downloaded file and is downloaded to the direct-connected server of the plurality of client from N level webserver piecemeals.
First download file delivery module 3412 is used to perform:First described in the direct-connected server by utilizing of the plurality of client
The request downloaded from N level webservers piecemeal download file is sent to the client by transmission channel.
Figure 14 is the structural representation of N levels webserver download unit in another embodiment of the present invention.As shown in figure 14,
The N levels webserver download unit 340, it may include:Second webserver merges scheduler module 3421 and second and downloads
File delivery module 3422, the two is connected with each other.
Second webserver merges scheduler module 3421 to be used to perform:The M levels webserver is according to multiple M+1 levels
The file download request of the webserver merges scheduling downloading task, using second transmission channel by under the request
Published article part is downloaded to the plurality of M+1 level webservers from M level webserver piecemeals.
Second download file delivery module 3422 is used to perform:The plurality of M+1 levels webserver is using described the
The request downloaded from M level webservers piecemeal is downloaded file and is taken via M+2 levels network successively by two transmission channels
Business device is sent to the client to the N levels webserver and the direct-connected server of client.
In the various embodiments described above, management and running are merged to downstream site using various servers, it is possible to achieve to lower published article
The version and condition managing of part and blocks of files, for example, can be managed to download request queue, and download request can be carried out
Merge and submit management to, for same download request can merge execution downloading task, such that it is able to using N level network services
Device improves Internet usage efficiency.
In some embodiments, the direct-connected server download unit 320 of the client, it may include:First in limited time download module.
First in limited time download module, for performing:Initial time is downloaded according to setting, the direct-connected server of the client at times will
The request is downloaded file and is downloaded to the client from the direct-connected server piecemeal of the client.
In some embodiments, the direct-connected server download unit 320 of the client, it may include:First speed limit download module.
First speed limit download module, for performing:According to the order of priority of each resource request in setting network communication service queue and point
The request is downloaded file from the direct-connected server of the client by the network bandwidth accounting matched somebody with somebody, the direct-connected server of the client
Piecemeal is downloaded to the client, and with the network bandwidth for controlling cloud file download the setting network bandwidth upper limit is less than.
Figure 15 is the structural representation of the N level webserver download units of another embodiment of the present invention.As shown in figure 15,
The N levels webserver download unit 340, it may include:The second file transmission mould of the download of download module 3431 and the 3rd in limited time
Block 3432, the two is connected with each other.
Second prescribes a time limit download module 3431 for performing:Initial time is downloaded according to setting, the N levels webserver is utilized
The request is downloaded file and is downloaded to the client from N level webserver piecemeals by first transmission channel at times
Hold direct-connected server.
3rd download file delivery module 3432 is used to perform:First transmission described in the direct-connected server by utilizing of the client
The request downloaded from N level webservers piecemeal download file is sent to the client by passage.
Figure 16 is the structural representation of N levels webserver download unit in another embodiment of the present invention.As shown in figure 16,
The N levels webserver download unit 340, it may include:Second speed limit download module 3441 and the 4th downloads file transmission mould
Block 3442, the two is connected with each other.
Second speed limit download module 3441 is used to perform:According in setting network communication service queue each resource request it is excellent
First order and the network bandwidth accounting of distribution, the N levels webserver is downloaded the request using first transmission channel
File is downloaded to the direct-connected server of the client from N level webserver piecemeals, to control the Netowrk tape of cloud file download
Width is less than the setting network bandwidth upper limit.
4th download file delivery module 3442 is used to perform:First transmission described in the direct-connected server by utilizing of the client
The request downloaded from N level webservers piecemeal download file is sent to the client by passage.
Figure 17 is the structural representation of N levels webserver download unit in another embodiment of the present invention.As shown in figure 17,
The N levels webserver download unit 340, it may include:The 3rd file transmission mould of the download of download module 3451 and the 5th in limited time
Block 3452, the two is connected with each other.
3rd prescribes a time limit download module 3451 for performing:Initial time is downloaded according to setting, the M levels webserver is utilized
The request is downloaded file and is downloaded to M+1 levels from M level webserver piecemeals by second transmission channel at times
The webserver.
5th download file delivery module 3452 is used to perform:The M+1 levels webserver is logical using the described second transmission
Road the request downloaded from M level webservers piecemeal is downloaded into file successively via the M+2 levels webserver to N
The level webserver and the direct-connected server of client are sent to the client.
Figure 18 is the structural representation of N levels webserver download unit in another embodiment of the present invention.As shown in figure 18,
The N levels webserver download unit 340, it may include:3rd speed limit download module 3461 and the 6th downloads file transmission mould
Block 3462, the two is connected with each other.
3rd speed limit download module 3461 is used to perform:According in setting network communication service queue each resource request it is excellent
First order and the network bandwidth accounting of distribution, the M levels webserver is downloaded the request using second transmission channel
File is downloaded to the M+1 level webservers from M level webserver piecemeals, with control cloud file download the network bandwidth not
More than the setting network bandwidth upper limit.
6th download file delivery module 3462 is used to perform:The M+1 levels webserver is logical using the described second transmission
Road the request downloaded from the M level webservers piecemeal is downloaded into file successively via the M+2 level webservers
The client is sent to the N levels webserver and the direct-connected server of client.
In the various embodiments described above, the request download file is downloaded at times by downloading initial time according to setting,
By the beginning of setting download service and by the time server can be made to provide download at times according to Internet usage situation
Service, management server externally provides the time limit of download service, can be while ensureing to complete downloading task within the time limit, to the greatest extent
The Internet resources less nervous period may be selected to download cloud file such that it is able to avoid network blockage, make full use of network to provide
Source, improves Internet usage efficiency.
In the various embodiments described above, by according to the order of priority of each resource request in setting network communication service queue and point
The network bandwidth accounting matched somebody with somebody downloads the request and downloads file, can control the network bandwidth of cloud file download and other services and make
With the upper limit, it is to avoid network blockage.
Figure 19 is the structural representation of one embodiment of the invention medium cloud file server download unit.As shown in figure 19, institute
State cloud file server download unit 350, it may include:First download judge module 351, first download initialization module 352 and
Download transmission module 353 first, above-mentioned each sequence of modules connection.
Downloading judge module 351 first is used to perform:Using the 3rd transmission channel by it is described request download file from
Whether the cloud file server is downloaded to the 1st grade of webserver, and judge the 1st grade of webserver first from cloud text
File is downloaded in the request that part server is downloaded.
Downloading initialization module 352 first is used to perform:If so, the 1st grade of webserver is to from the cloud file service
The request that device is downloaded is downloaded file and carries out piecemeal process, generates blocked file, and initializes the 1st grade of webserver caching
In file transmission information table.
First download transmission module 353 is used to perform:According to the file transmission information table after initialization, using the described 3rd
Transmission channel is direct-connected to the N levels webserver and the client via the 1st grade of webserver successively by the blocked file
Server is sent to the client.
In the present embodiment, when each the 1st grade of webserver is downloaded to the application of cloud file server, if under first
Carry, piecemeal process will be carried out to downloading file, for example, can complete piecemeal according to default size and process, initialization files transmission information
Table, generates blocked file.Blocked file name can be constituted according to " cloud file name+piecemeal numbering ".
Figure 20 is the structural representation of another embodiment of the present invention medium cloud file server download unit.As shown in figure 20,
Cloud file server download unit 350 shown in Figure 19, may also include:Repeated downloads transport module 354, judges with downloading first
Module 351 connects.
Repeated downloads transport module 354 is used to perform:If the 1st grade of webserver is not first from the cloud file service
File is downloaded in the request that device is downloaded, according to the file transmission information table in the 1st grade of webserver caching, using described the
The blocked file that file is downloaded in the request in 1st grade of webserver caching is sent to the client by three transmission channels
End.
Then it is repeated downloads if not downloading first in the present embodiment, already present file transmission information table can be used directly
And blocked file.When the 1st grade of webserver is not that file is downloaded in the request downloaded from the cloud file server first
When, the blocked file and corresponding text of file are downloaded in the request for the previous download that can be stored with the 1st grade of webserver caching
Part traffic-meter, directly performs downloading task using already present file transmission information table and blocked file, can avoid weight
It is multiple that same request download file is downloaded from cloud file server, Internet resources can be saved with this, reduce network blockage
Occurrence probability.
In some embodiments, the direct-connected server judging unit 310 of the client, it may include:The direct-connected server of client
Judge module.The direct-connected server judge module of client, for performing:According to the filename in file download request, lead to
The file transmission information table inquired about in the direct-connected server buffer of the client is crossed, the direct-connected server buffer of the client is judged
In with the presence or absence of it is described request download file.
In some embodiments, the N levels webserver judging unit 330, it may include:The N level webservers judge mould
Block.N level webservers judge module is used to perform:Asked according to the file download that the direct-connected server of the client sends out
In filename, the file transmission information table inquired about in N levels webservers caching judges N levels webserver caching
In with the presence or absence of it is described request download file, if the N levels webserver caching in do not exist it is described request download file, step by step
The file transmission information table inquired about in the upper network server buffer of the N level webservers, until having inquired storage
State request and download the webserver caching of file or until inquiring the 1st grade of webserver caching, to judge N-1 level nets
Network server buffer downloads file into the 1st grade of webserver caching with the presence or absence of the request.
In some embodiments, the cloud document transmission system of the various embodiments described above may also include:File transmission information table is generated
Module.File transmission information table generation module, for performing:The file transmission information table includes:When cloud file name, establishment
Between, cloud file total size, blocked file numbering and blocked file state.
The cloud document transmission system of the embodiment of the present invention, by from cloud file server, the webserver at different levels or client
Hold direct-connected server piecemeal to download cloud file, can realize managing cloud file block.By from the webservers at different levels or visitor
Cloud file is downloaded in the caching of the direct-connected server in family end, download link hierarchical cache can be realized.Managed by cloud file block
With the effective control that download link hierarchical cache can realize cloud file download process, quick response client's download request, it is to avoid
Network blockage, improves Internet usage efficiency.Further, by will request download file blocked file copy and piecemeal
Transmission information is preserved into the direct-connected server of client, the webserver at different levels, download link classification can be better achieved slow
Deposit, further quick response client download request.By making to preserve the server for asking to download file to its lower level servers
Merge scheduling downloading task, can further improve Internet usage efficiency.Publish papers by prescribing a time limit, under speed limit download request
Part, can avoid network blockage, make full use of Internet resources, further improve Internet usage efficiency.
In the description of this specification, reference term " one embodiment ", " specific embodiment ", " some enforcements
The description of example ", " such as ", " example ", " specific example " or " some examples " etc. means to combine the embodiment or example description
Specific features, structure, material or feature are contained at least one embodiment of the present invention or example.In this manual,
Identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term.And, the specific features of description, knot
Structure, material or feature can in an appropriate manner be combined in any one or more embodiments or example.Each embodiment
In the step of be related to order be used to schematically illustrate the enforcement of the present invention, sequence of steps therein is not construed as limiting, can be as needed
Appropriately adjust.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or with reference to the reality in terms of software and hardware
Apply the form of example.And, the present invention can be adopted and wherein include the computer of computer usable program code at one or more
The computer program implemented in usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) is produced
The form of product.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program
Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram
The combination of journey and/or square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided
The processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy
In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to
Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or
The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one
The step of function of specifying in individual square frame or multiple square frames.
Particular embodiments described above, has been carried out further in detail to the purpose of the present invention, technical scheme and beneficial effect
Describe in detail it is bright, should be understood that the foregoing is only the present invention specific embodiment, the guarantor being not intended to limit the present invention
Shield scope, all any modification, equivalent substitution and improvements within the spirit and principles in the present invention, done etc., should be included in this
Within the protection domain of invention.
Claims (36)
1. a kind of cloud document transmission system, it is characterised in that include:
The direct-connected server of client, the file download for receiving from client is asked, and is asked according to the file download
Judge to download file with the presence or absence of request in the direct-connected server buffer of client, if existing, file block is downloaded in the request
The client is downloaded to, if not existing, the file download request is sent out;
The N level webservers, for receiving the file download request that the direct-connected server of the client sends out, and according to described
The file download request that the direct-connected server of client sends out is judged in N levels webserver caching with the presence or absence of under the request
Published article part, if there is the request in N levels webserver caching downloads file, sets up the N levels webserver and institute
State the first transmission channel of the direct-connected server of client, and the request is downloaded into file from the via first transmission channel
N level webserver piecemeals are downloaded to the client, if do not exist in N levels webserver caching under the request publishing papers
Part, the N levels webserver transmits the file download request until being sent to M level nets to its higher level's webserver step by step
Network server, sets up the second transmission of the M levels webserver to the N levels webserver and the direct-connected server of the client
Passage, and be downloaded to the request download file from M level webserver piecemeals via second transmission channel described
Client, if the N level webservers are cached into the 1st grade of webserver caching does not have the request download file,
The 1st grade of webserver sends out the file download request, wherein, there is the request in M levels webserver caching
File is downloaded, N is more than or equal to the integer that M, N and M are more than or equal to 1;
Cloud file server, for receiving the file download request that the 1st grade of webserver sends out, and according to the 1st grade of network
The file download request that server sends out is searched the request in cloud file server memorizer and downloads file, if finding
File is downloaded in the request, then set up the cloud file server, the N levels webserver and the direct-connected service of the client
3rd transmission channel of device, and the request is downloaded into file from the cloud file server point via the 3rd transmission channel
Block is downloaded to the client.
2. cloud document transmission system as claimed in claim 1, it is characterised in that also include:N levels network and client access dress
Put;L levels network is connected with the L level webservers, and the cloud file server is by the 1st grade of network and the 1st grade of network clothes
Business device be connected, the N levels webserver is connected by N levels network with the direct-connected server of the client, the client
Direct-connected server is connected by the client access device with the client, and L is more than or equal to N, and L is more than or equal to 1
Integer.
3. a kind of cloud document transmission method, it is characterised in that include:
The direct-connected server of client receives the file download request from client, and judges visitor according to file download request
File is downloaded in the direct-connected server buffer in family end with the presence or absence of request;
If existing, the request is downloaded file block and is downloaded to the client by the direct-connected server of the client, if not depositing
The direct-connected server of the client sends out the file download request;
The N levels webserver receives the file download request that the direct-connected server of the client sends out, and according to the client
The file download request that direct-connected server sends out is held to judge to be published papers with the presence or absence of under the request in N levels webserver caching
Part;
If there is the request in N levels webserver caching downloads file, the N levels webserver and the visitor are set up
First transmission channel of the direct-connected server in family end, and the request is downloaded into file from N levels via first transmission channel
Webserver piecemeal is downloaded to the client, if there is no the request in N levels webserver caching downloads file,
The N levels webserver transmits the file download request until being sent to M level networks to its higher level's webserver step by step
Server, the second transmission for setting up the M levels webserver to the N levels webserver and the direct-connected server of the client is logical
Road, and the request download file is downloaded to into the visitor from M level webserver piecemeals via second transmission channel
Family end, if the N level webservers are cached into the 1st grade of webserver caching does not have the request download file, the 1st
The level webserver sends out the file download request, wherein, there is the request in M levels webserver caching and download
File, N is more than or equal to the integer that M, N and M are more than or equal to 1;
Cloud file server receives the file download request that the 1st grade of webserver sends out, and according to the 1st grade of webserver
The file download request for sending out is searched the request in cloud file server memorizer and downloads file, if finding described asking
Download file is sought, then sets up the of the cloud file server, the N levels webserver and the direct-connected server of the client
Three transmission channels, and download the request download file from the cloud file server piecemeal via the 3rd transmission channel
To the client.
4. cloud document transmission method as claimed in claim 3, it is characterised in that via second transmission channel by it is described please
Ask download file from M level webserver piecemeals be downloaded to the client while, also include:
The M+1 levels webserver is to the N levels webserver and the direct-connected server of the client by the M level webservers
The request in caching is downloaded the copy and block transmission information of the blocked file of file and is preserved into its respective caching.
5. cloud document transmission method as claimed in claim 3, it is characterised in that via the 3rd transmission channel by it is described please
Ask download file from the cloud file server piecemeal be downloaded to the client while, also include:
Described in the N levels webserver and the direct-connected server of the client will be downloaded from the cloud file server piecemeal
Request is downloaded the copy and block transmission information of file and is preserved into its respective caching.
6. cloud document transmission method as claimed in claim 3, it is characterised in that the direct-connected server of the client by it is described please
Download file block is asked to be downloaded to the client, including:
The direct-connected server of the client merges scheduling downloading task according to the request of the file download of multiple client, by institute
State request download file and be downloaded to the plurality of client from the direct-connected server piecemeal of the client.
7. cloud document transmission method as claimed in claim 3, it is characterised in that via first transmission channel by it is described please
Download file is asked to be downloaded to the client from N level webserver piecemeals, including:
The N levels webserver merges under scheduling according to the file download request that the direct-connected server of multiple client sends out
Load task, is downloaded to the request download file from N level webserver piecemeals using first transmission channel described
The direct-connected server of multiple client;
First transmission channel described in the direct-connected server by utilizing of the plurality of client will be downloaded from N level webservers piecemeal
The request is downloaded file and is sent to the client.
8. cloud document transmission method as claimed in claim 3, it is characterised in that via second transmission channel by it is described please
Download file is asked to be downloaded to the client from M level webserver piecemeals, including:
The M levels webserver merges scheduling download and appoints according to the request of the file download of multiple M+1 level webservers
Business, is downloaded to the request download file from M level webserver piecemeals using second transmission channel the plurality of
The M+1 level webservers;
The plurality of M+1 levels webserver will be downloaded using second transmission channel from M level webservers piecemeal
The request download file successively via the M+2 levels webserver to the N levels webserver and the direct-connected server of client
It is sent to the client.
9. cloud document transmission method as claimed in claim 3, it is characterised in that the direct-connected server of the client by it is described please
Download file block is asked to be downloaded to the client, including:
Initial time is downloaded according to setting, the request is downloaded file from described by the direct-connected server of the client at times
The direct-connected server piecemeal of client is downloaded to the client.
10. cloud document transmission method as claimed in claim 3, it is characterised in that the direct-connected server of the client will be described
Request is downloaded file block and is downloaded to the client, including:
According to the order of priority of each resource request in setting network communication service queue and the network bandwidth accounting of distribution, the visitor
The request is downloaded file and is downloaded to the client from the direct-connected server piecemeal of the client by the direct-connected server in family end, with
The network bandwidth of control cloud file download is less than the setting network bandwidth upper limit.
11. cloud document transmission methods as claimed in claim 3, it is characterised in that will be described via first transmission channel
Request is downloaded file and is downloaded to the client from N level webserver piecemeals, including:
Initial time is downloaded according to setting, the N levels webserver is asked at times using first transmission channel by described
Download file is asked to be downloaded to the direct-connected server of the client from N level webserver piecemeals;
Described in first transmission channel described in the direct-connected server by utilizing of the client will be downloaded from N level webservers piecemeal
Request is downloaded file and is sent to the client.
12. cloud document transmission methods as claimed in claim 3, it is characterised in that will be described via first transmission channel
Request is downloaded file and is downloaded to the client from N level webserver piecemeals, including:
According to the order of priority of each resource request in setting network communication service queue and the network bandwidth accounting of distribution, N levels
The request is downloaded file and is downloaded to institute from N level webserver piecemeals by the webserver using first transmission channel
The direct-connected server of client is stated, the setting network bandwidth upper limit is less than with the network bandwidth for controlling cloud file download;
First transmission channel described in the direct-connected server by utilizing of the client will be downloaded from the N level webservers piecemeal
The request is downloaded file and is sent to the client.
13. cloud document transmission methods as claimed in claim 3, it is characterised in that will be described via second transmission channel
Request is downloaded file and is downloaded to the client from M level webserver piecemeals, including:
Initial time is downloaded according to setting, the M levels webserver is asked at times using second transmission channel by described
Download file is asked to be downloaded to the M+1 level webservers from M level webserver piecemeals;
The M+1 levels webserver using second transmission channel will from M level webservers piecemeal download described in please
Download file is asked to be sent to institute via the M+2 levels webserver to the N levels webserver and the direct-connected server of client successively
State client.
14. cloud document transmission methods as claimed in claim 3, it is characterised in that will be described via second transmission channel
Request is downloaded file and is downloaded to the client from M level webserver piecemeals, including:
According to the order of priority of each resource request in setting network communication service queue and the network bandwidth accounting of distribution, M levels
The request is downloaded file and is downloaded to the from M level webserver piecemeals by the webserver using second transmission channel
The M+1 level webservers, with the network bandwidth for controlling cloud file download the setting network bandwidth upper limit is less than;
The institute that the M+1 levels webserver will be downloaded using second transmission channel from the M level webservers piecemeal
State request and download file successively via the M+2 levels webserver to the N levels webserver and the direct-connected server transmission of client
To the client.
15. cloud document transmission methods as claimed in claim 3, it is characterised in that will be described via the 3rd transmission channel
Request is downloaded file and is downloaded to the client from the cloud file server piecemeal, including:
File is downloaded in the request using the 3rd transmission channel and is downloaded to the 1st grade of network clothes from the cloud file server
Business device, and judge whether file is downloaded in the request downloaded from the cloud file server first to the 1st grade of webserver;
If so, the 1st grade of webserver is downloaded file and is carried out at piecemeal to the request downloaded from the cloud file server
Reason, generates blocked file, and initializes the file transmission information table in the 1st grade of webserver caching;
According to the file transmission information table after initialization, using the 3rd transmission channel by the blocked file successively via
1 grade of webserver to the N levels webserver and the direct-connected server of the client are sent to the client.
16. cloud document transmission methods as claimed in claim 15, it is characterised in that will be described via the 3rd transmission channel
Request is downloaded file and is downloaded to the client from the cloud file server piecemeal, is also included:
If the 1st grade of webserver is not that file is downloaded in the request downloaded from the cloud file server first, according to the 1st
File transmission information table in level webserver caching, is cached the 1st grade of webserver using the 3rd transmission channel
In the request download file blocked file be sent to the client.
17. cloud document transmission methods as claimed in claim 3, it is characterised in that visitor is judged according to file download request
File is downloaded with the presence or absence of request in the direct-connected server buffer in family end, including:
According to the filename in file download request, passed by the file in the direct-connected server buffer of the inquiry client
Defeated information table, judges to download file with the presence or absence of the request in the direct-connected server buffer of the client.
18. cloud document transmission methods as claimed in claim 3, it is characterised in that passed according to the direct-connected server of the client
The file download request sent judges to download file with the presence or absence of the request in N levels webserver caching, including:
According to the filename in the file download request that the direct-connected server of the client sends out, N level network services are inquired about
File transmission information table in device caching, judges to download file with the presence or absence of the request in N levels webserver caching, if
There is no the request in N levels webserver caching and download file, the upper network of the N level webservers is inquired about step by step
File transmission information table in server buffer, the webserver caching of file is downloaded until inquiring the request that is stored with
Or until inquiring the 1st grade of webserver caching, to judge that the N-1 level webservers are cached to the 1st grade of webserver
File is downloaded in caching with the presence or absence of the request.
The 19. cloud document transmission methods as described in any one of claim 15 to 18, it is characterised in that the file transmission information
Table includes:Cloud file name, creation time, cloud file total size, blocked file numbering and blocked file state.
20. a kind of cloud document transmission systems, it is characterised in that include:
The direct-connected server judging unit of client, for performing:The direct-connected server of client is received under the file of client
Request is carried, and is judged to download file with the presence or absence of request in the direct-connected server buffer of client according to file download request;
The direct-connected server download unit of client, for performing:If existing, the direct-connected server of the client is by under the request
Carry file block and be downloaded to the client, if not existing, the direct-connected server of the client sends out the file download please
Ask;
N level webserver judging units, for performing:The N levels webserver receives the direct-connected server transmission of the client
The file download request for going out, and the file download request sent out according to the direct-connected server of the client judges that N levels network takes
File is downloaded in business device caching with the presence or absence of the request;
N level webserver download units, for performing:If exist in N levels webserver caching under the request publishing papers
Part, then set up the first transmission channel of the N levels webserver and the direct-connected server of the client, and passes via described first
The request is downloaded file and is downloaded to the client from N level webserver piecemeals by defeated passage, if N level network services
There is no the request in device caching and download file, the N levels webserver is described to its higher level's webserver transmission step by step
File download request until be sent to the M level webservers, set up the M levels webserver to the N levels webserver and
Second transmission channel of the direct-connected server of the client, and via second transmission channel by the request download file from
M level webserver piecemeals are downloaded to the client, if the N level webservers are cached to the 1st grade of webserver delaying
There is no the request in depositing and download file, the 1st grade of webserver sends out the file download request, wherein, M levels
There is the request in webserver caching and download file, N is more than or equal to the integer that M, N and M are more than or equal to 1;
Cloud file server download unit, for performing:Cloud file server receives the file that the 1st grade of webserver sends out
Download request, and the file download sent out according to the 1st grade of webserver asks the lookup in cloud file server memorizer
File is downloaded in the request, if finding the request downloads file, sets up the cloud file server, the N levels network
3rd transmission channel of server and the direct-connected server of the client, and via the 3rd transmission channel by under the request
Published article part is downloaded to the client from the cloud file server piecemeal.
21. cloud document transmission systems as claimed in claim 20, it is characterised in that the N levels webserver download unit,
Also include:
First downloads file cache module, for performing:The M+1 levels webserver is to the N levels webserver and the visitor
The direct-connected server in family end is downloaded the copy and piecemeal of the blocked file of file by the request in M levels webserver caching
Transmission information is preserved into its respective caching.
22. cloud document transmission systems as claimed in claim 20, it is characterised in that the cloud file server download unit,
Also include:
Second downloads file cache module, for performing:The N levels webserver and the direct-connected server of the client will be from
The request that the cloud file server piecemeal is downloaded is downloaded the copy and block transmission information of file and preserves respective to its
In caching.
23. cloud document transmission systems as claimed in claim 20, it is characterised in that the direct-connected server of the client is downloaded single
Unit, including:
The direct-connected server of client merges scheduler module, for performing:The direct-connected server of the client is according to multiple client
File download request merge scheduling downloading task, the request is downloaded into file from the direct-connected server of the client point
Block is downloaded to the plurality of client.
24. cloud document transmission systems as claimed in claim 20, it is characterised in that the N levels webserver download unit,
Including:
First network server merges scheduler module, for performing:The N levels webserver is according to the direct-connected service of multiple client
The file download request that device sends out merges scheduling downloading task, is downloaded the request using first transmission channel
File is downloaded to the direct-connected server of the plurality of client from N level webserver piecemeals;
First downloads file delivery module, for performing:The first transmission is logical described in the direct-connected server by utilizing of the plurality of client
The request downloaded from N level webservers piecemeal download file is sent to the client by road.
25. cloud document transmission systems as claimed in claim 20, it is characterised in that the N levels webserver download unit,
Including:
Second webserver merges scheduler module, for performing:The M levels webserver takes according to multiple M+1 levels networks
The file download request of business device merges scheduling downloading task, and the request is downloaded into file using second transmission channel
The plurality of M+1 level webservers are downloaded to from M level webserver piecemeals;
Second downloads file delivery module, for performing:The plurality of M+1 levels webserver is logical using the described second transmission
Road the request downloaded from M level webservers piecemeal is downloaded into file successively via the M+2 levels webserver to N
The level webserver and the direct-connected server of client are sent to the client.
26. cloud document transmission systems as claimed in claim 20, it is characterised in that the direct-connected server of the client is downloaded single
Unit, including:
First in limited time download module, for performing:Initial time is downloaded according to setting, the direct-connected server of the client is at times
File is downloaded in the request and is downloaded to the client from the direct-connected server piecemeal of the client in ground.
27. cloud document transmission systems as claimed in claim 20, it is characterised in that the direct-connected server of the client is downloaded single
Unit, including:
First speed limit download module, for performing:According to the order of priority of each resource request in setting network communication service queue
And the network bandwidth accounting of distribution, the request downloaded file from the direct-connected clothes of the client by the direct-connected server of the client
Business device piecemeal is downloaded to the client, and with the network bandwidth for controlling cloud file download the setting network bandwidth upper limit is less than.
28. cloud document transmission systems as claimed in claim 20, it is characterised in that the N levels webserver download unit,
Including:
Second in limited time download module, for performing:Initial time is downloaded according to setting, the N levels webserver is using described the
It is direct-connected that the request download file is downloaded to the client by one transmission channel from N level webserver piecemeals at times
Server;
3rd downloads file delivery module, for performing:First transmission channel described in the direct-connected server by utilizing of the client will
The request downloaded from N level webservers piecemeal is downloaded file and is sent to the client.
29. cloud document transmission systems as claimed in claim 20, it is characterised in that the N levels webserver download unit,
Including:
Second speed limit download module, for performing:According to the order of priority of each resource request in setting network communication service queue
And distribution network bandwidth accounting, the N levels webserver using first transmission channel by it is described request download file from
N level webserver piecemeals are downloaded to the direct-connected server of the client, are not surpassed with the network bandwidth for controlling cloud file download
Cross the setting network bandwidth upper limit;
4th downloads file delivery module, for performing:First transmission channel described in the direct-connected server by utilizing of the client will
The request downloaded from the N level webservers piecemeal is downloaded file and is sent to the client.
30. cloud document transmission systems as claimed in claim 20, it is characterised in that the N levels webserver download unit,
Including:
3rd in limited time download module, for performing:Initial time is downloaded according to setting, the M levels webserver is using described the
The request is downloaded file and is downloaded to M+1 levels network clothes from M level webserver piecemeals by two transmission channels at times
Business device;
5th downloads file delivery module, for performing:The M+1 levels webserver will be from the using second transmission channel
The request that M level webservers piecemeal is downloaded is downloaded file and is taken via the M+2 levels webserver to N levels network successively
Business device and the direct-connected server of client are sent to the client.
31. cloud document transmission systems as claimed in claim 20, it is characterised in that the N levels webserver download unit,
Including:
3rd speed limit download module, for performing:According to the order of priority of each resource request in setting network communication service queue
And distribution network bandwidth accounting, the M levels webserver using second transmission channel by it is described request download file from
M level webserver piecemeals are downloaded to the M+1 level webservers, are less than with the network bandwidth for controlling cloud file download and are set
Determine the network bandwidth upper limit;
6th downloads file delivery module, for performing:The M+1 levels webserver will be from institute using second transmission channel
The request for stating the download of M level webservers piecemeal downloads file successively via the M+2 levels webserver to N level nets
Network server and the direct-connected server of client are sent to the client.
32. cloud document transmission systems as claimed in claim 20, it is characterised in that the cloud file server download unit,
Including:
Judge module is downloaded first, for performing:The request is downloaded into file from the cloud using the 3rd transmission channel
Whether file server is downloaded to the 1st grade of webserver, and judge the 1st grade of webserver first from the cloud file service
File is downloaded in the request that device is downloaded;
Initialization module is downloaded first, for performing:If so, the 1st grade of webserver from the cloud file server to downloading
The request download file and carry out piecemeal process, generate blocked file, and initialize the text in the 1st grade of webserver caching
Part traffic-meter;
Download transmission module first, for performing:It is logical using the described 3rd transmission according to the file transmission information table after initialization
Road is by the blocked file successively via the 1st grade of webserver to the N levels webserver and the direct-connected server of the client
It is sent to the client.
33. cloud document transmission systems as claimed in claim 32, it is characterised in that the cloud file server download unit,
Also include:
Repeated downloads transport module, for performing:If the 1st grade of webserver is not to download from the cloud file server first
The request download file, according to the file transmission information table in the 1st grade of webserver caching, using the described 3rd transmission
The blocked file that file is downloaded in the request in 1st grade of webserver caching is sent to the client by passage.
34. cloud document transmission systems as claimed in claim 20, it is characterised in that the direct-connected server of the client judges single
Unit, including:
The direct-connected server judge module of client, for performing:According to the filename in file download request, by inquiry
Whether the file transmission information table in the direct-connected server buffer of the client, judge in the direct-connected server buffer of the client
There is the request and download file.
35. cloud document transmission systems as claimed in claim 20, it is characterised in that the N levels webserver judging unit,
Including:
N level webserver judge modules, for performing:Please according to the file download that the direct-connected server of the client sends out
Filename in asking, the file transmission information table inquired about in N levels webserver caching judges that the N levels webserver delays
File is downloaded with the presence or absence of the request in depositing, if there is no the request in N levels webserver caching downloads file, by
File transmission information table in the upper network server buffer of the level inquiry N level webservers, is stored with until inquiring
The request downloads the webserver caching of file or until inquiring the 1st grade of webserver caching, to judge N-1 levels
The webserver is cached downloads file into the 1st grade of webserver caching with the presence or absence of the request.
The 36. cloud document transmission systems as described in any one of claim 32 to 35, it is characterised in that also include:
File transmission information table generation module, for performing:The file transmission information table includes:When cloud file name, establishment
Between, cloud file total size, blocked file numbering and blocked file state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710033438.3A CN106686112A (en) | 2017-01-18 | 2017-01-18 | Cloud file transmission system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710033438.3A CN106686112A (en) | 2017-01-18 | 2017-01-18 | Cloud file transmission system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106686112A true CN106686112A (en) | 2017-05-17 |
Family
ID=58859614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710033438.3A Pending CN106686112A (en) | 2017-01-18 | 2017-01-18 | Cloud file transmission system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106686112A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107181804A (en) * | 2017-05-25 | 2017-09-19 | 腾讯科技(深圳)有限公司 | The method for down loading and device of resource |
CN108616332A (en) * | 2018-05-14 | 2018-10-02 | 浙江工商大学 | A kind of multi-user data transmission method based on random linear network encoding |
CN109412873A (en) * | 2018-12-20 | 2019-03-01 | 中国移动通信集团江苏有限公司 | Configure update method and device, terminal device and computer storage medium |
CN111696344A (en) * | 2020-04-21 | 2020-09-22 | 交通运输部公路科学研究院 | Intelligent cloud traffic control system and traffic control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291195A (en) * | 2008-05-23 | 2008-10-22 | 中兴通讯股份有限公司 | File downloading method, system and terminal realizing breaker point continuous transmission |
CN103108018A (en) * | 2011-11-10 | 2013-05-15 | 北京千橡网景科技发展有限公司 | Method and device for downloading files in dynamic control network |
CN103430489A (en) * | 2011-12-20 | 2013-12-04 | 华为技术有限公司 | File download method, device, and system in content delivery network |
CN104123341A (en) * | 2014-06-26 | 2014-10-29 | 小米科技有限责任公司 | Method and device for downloading file and route device |
US20160080237A1 (en) * | 2014-09-11 | 2016-03-17 | At&T Intellectual Property I, L.P. | Adaptive bit rate media streaming based on network conditions received via a network monitor |
-
2017
- 2017-01-18 CN CN201710033438.3A patent/CN106686112A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291195A (en) * | 2008-05-23 | 2008-10-22 | 中兴通讯股份有限公司 | File downloading method, system and terminal realizing breaker point continuous transmission |
CN103108018A (en) * | 2011-11-10 | 2013-05-15 | 北京千橡网景科技发展有限公司 | Method and device for downloading files in dynamic control network |
CN103430489A (en) * | 2011-12-20 | 2013-12-04 | 华为技术有限公司 | File download method, device, and system in content delivery network |
CN104123341A (en) * | 2014-06-26 | 2014-10-29 | 小米科技有限责任公司 | Method and device for downloading file and route device |
US20160080237A1 (en) * | 2014-09-11 | 2016-03-17 | At&T Intellectual Property I, L.P. | Adaptive bit rate media streaming based on network conditions received via a network monitor |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107181804A (en) * | 2017-05-25 | 2017-09-19 | 腾讯科技(深圳)有限公司 | The method for down loading and device of resource |
CN108616332A (en) * | 2018-05-14 | 2018-10-02 | 浙江工商大学 | A kind of multi-user data transmission method based on random linear network encoding |
CN109412873A (en) * | 2018-12-20 | 2019-03-01 | 中国移动通信集团江苏有限公司 | Configure update method and device, terminal device and computer storage medium |
CN109412873B (en) * | 2018-12-20 | 2022-06-03 | 中国移动通信集团江苏有限公司 | Configuration updating method and device, terminal equipment and computer storage medium |
CN111696344A (en) * | 2020-04-21 | 2020-09-22 | 交通运输部公路科学研究院 | Intelligent cloud traffic control system and traffic control method |
CN111696344B (en) * | 2020-04-21 | 2021-03-23 | 交通运输部公路科学研究院 | Intelligent cloud traffic control system and traffic control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Chen et al. | Intelligent resource allocation management for vehicles network: An A3C learning approach | |
CN109862065A (en) | Document down loading method, device and electronic equipment | |
CN110308995A (en) | A kind of edge cloud computing service system edges cloud node deployment device | |
US7146563B2 (en) | Maintaining screen and form state in portlets | |
CN106657379A (en) | Implementation method and system for NGINX server load balancing | |
CN106686112A (en) | Cloud file transmission system and method | |
CN113037869B (en) | Method and apparatus for back-sourcing of content distribution network system | |
CN103338252B (en) | Realizing method of distributed database concurrence storage virtual request mechanism | |
Wang et al. | Presto: Towards efficient online virtual network embedding in virtualized cloud data centers | |
CN103034541B (en) | A kind of distributed information system and equipment therein and method | |
CN109033001A (en) | Method and apparatus for distributing GPU | |
CN108933822B (en) | Method and apparatus for handling information | |
CN109981723B (en) | Deep reinforcement learning-based file caching processing system and method and communication system | |
CN109040230A (en) | Method for down loading, device, equipment/terminal/server and the storage medium of file | |
CN105978936A (en) | CDN server and data caching method thereof | |
CN110035306A (en) | Dispositions method and device, the dispatching method and device of file | |
Chen et al. | Latency minimization for mobile edge computing networks | |
CN106254561A (en) | The real-time offline download method of a kind of Internet resources file and system | |
CN109361547A (en) | A kind of network slice link deployment method and apparatus | |
CN111950830B (en) | Task allocation method and device | |
CN108234638A (en) | A kind of data processing method and device based on content distributing network CDN | |
Li et al. | Data prefetching and file synchronizing for performance optimization in Hadoop-based hybrid cloud | |
CN110401731A (en) | Method and apparatus for distributing content distribution nodes | |
CN112423041B (en) | Video stream processing method and system based on QoS constraint under distributed computing platform | |
CN113676514A (en) | File source returning method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170517 |