CN106161524A - A kind of resource downloading method based on distributed resource node and device - Google Patents

A kind of resource downloading method based on distributed resource node and device Download PDF

Info

Publication number
CN106161524A
CN106161524A CN201510158389.7A CN201510158389A CN106161524A CN 106161524 A CN106161524 A CN 106161524A CN 201510158389 A CN201510158389 A CN 201510158389A CN 106161524 A CN106161524 A CN 106161524A
Authority
CN
China
Prior art keywords
resource node
terminal
resource
node
performance indications
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
Application number
CN201510158389.7A
Other languages
Chinese (zh)
Inventor
曹荣盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Shanghai Co Ltd
Original Assignee
China Mobile Group Shanghai Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Mobile Group Shanghai Co Ltd filed Critical China Mobile Group Shanghai Co Ltd
Priority to CN201510158389.7A priority Critical patent/CN106161524A/en
Publication of CN106161524A publication Critical patent/CN106161524A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of resource downloading method based on distributed resource node and device, and the method includes: when receiving the download request that terminal sends, and determines the mark of file that terminal request downloads according to the request of downloading, and obtains the performance indications of terminal;According to the mark of the file that terminal request is downloaded, determining and preserve documentary first kind resource node, and obtain the performance indications of first kind resource node, first kind resource node at least includes two, downloads resource for providing for terminal;The performance indications of each resource node in performance indications according to terminal and first kind resource node, generate resource allocation task and be sent to terminal, so that terminal downloads file according to resource allocation task, resource allocation task includes: the section of the file that in first kind resource node, each resource node identifies, each resource node is supplied to the downloading wire number of passes of terminal, each download thread is corresponding.The present invention is according to terminal and the performance of resource node, for the resource node of terminal distribution better performances.

Description

A kind of resource downloading method based on distributed resource node and device
Technical field
The present invention relates to download technology field, particularly relate to a kind of resource downloading based on distributed resource node Method and device.
Background technology
Terminal from network side downloads file or resource is modal a kind of user's internet behavior, and download technology exists In the Internet ubiquitous, from the self-defined download reading file of data, download technology all plays to pass Important effect.
The download scenarios of prior art can be divided into following two:
1, downloading mode based on BT mode, which online user is the most, and speed of download is the fastest;
2, end-to-end downloading mode, is mainly saved from single download resource by agreements such as HTTP, FTP Point is downloaded in the server.
But, there is following defect in both download scenarios, download multiuser distributed for BT, and it is protected Card user can download the premise of resource and be intended to other online user, saves using other online users as resource Point downloads resource, and this resource node is unstable, it is impossible to provide the user stable resource node;And utilize End-to-end downloading mode is limited to the network bandwidth and the load performance impact of server, it is impossible to ensure under user Carry speed.
Summary of the invention
The present invention provides a kind of resource downloading method based on distributed resource node and device, existing in order to solve There is technology can not provide the user stable resource node and it cannot be guaranteed that the problem of speed of download of user.
A kind of resource downloading method based on distributed resource node, including:
When receiving the download request that terminal sends, determine what described terminal request was downloaded according to the described request of downloading The mark of file, and obtain the performance indications of described terminal;
According to the mark of the file that terminal request is downloaded, determine the first kind resource joint preserving described file Point, and obtain the performance indications of described first kind resource node, described first kind resource node at least includes two Individual, download resource for providing for terminal;
The performance of each resource node in performance indications according to described terminal and described first kind resource node Index, generates resource allocation task and is sent to described terminal, so that described terminal is distributed according to described resource Task downloads described file, and described resource allocation task includes: each resource node mark in first kind resource node In knowledge, first kind resource node, each resource node is supplied to the downloading wire number of passes of described terminal, each download thread The section of corresponding described file.
In described method, the performance indications of described terminal include current available bandwidth, in first kind resource node The performance indications of each resource node include current available bandwidth, according to the performance indications of described terminal and described The performance indications of each resource node in first kind resource node, generate resource allocation task, specifically include:
Determine that in described first kind resource node, the current available bandwidth sum of all resource nodes is not less than institute When stating the current available bandwidth of terminal, determine generation resource allocation task.
The embodiment of the present invention is taking into full account terminal available bandwidth and resource node available bandwidth, saves in resource In the case of some available bandwidth is enough, generates resource allocation task for terminal, thus ensure terminal downloads resource Speed and stability, enable the terminals to download smoothly file.
In described method, the performance indications of described terminal also include the IP address of described terminal, and the first kind provides In source node, the performance indications of each resource node also include position area information, operator information, then root According to the performance indications of each resource node in the performance indications of described terminal and described first kind resource node, raw Become resource allocation task, specifically include:
IP address according to described terminal determines the band of position belonging to described terminal and described endpoint registration Operator;
According to the position area information of each resource node, operator letter in described first kind resource node Breath, choose in described first kind resource node with the band of position belonging to described terminal and described endpoint registration Operator be the same from Equations of The Second Kind resource node;
The performance of each resource node in performance indications according to described terminal and described Equations of The Second Kind resource node Index, generates resource allocation task.
The embodiment of the present invention, can be terminal distribution preferably resource node, more quickly download for terminal File.
In described method, in first kind resource node, the performance indications of each resource node also include: concurrently limit, Active user's number, outlet bandwidth, current CPU usage, current memory utilization rate and current magnetic disc i/o Speed, then according to the property of each resource node in the performance indications of described terminal and described first kind resource node Energy index, generates resource allocation task, specifically includes:
Each performance indications for resource node each in first kind resource node arrange a setting threshold value, Determine that in described first kind resource node, each performance indications are respectively less than setting threshold value corresponding to these performance indications 3rd class resource node;
The performance of each resource node in performance indications according to described terminal and described 3rd class resource node Index, generates resource allocation task.
Utilize this preferred implementation, on the basis of considering load balancing (resource node performance indications), Be that terminal generates resource allocation task according to performance relatively the most preferably resource node, will performance the most preferably Resource node distributes to terminal, thus improves the speed of download of terminal to a certain extent.
Described method, after generating resource allocation task and being sent to terminal, also includes:
Periodically obtain bandwidth and described end that described terminal is used during downloading described file The magnetic disc i/o of end;
Current available bandwidth according to described terminal and described used bandwidth, calculate described terminal under Carry the bandwidth availability ratio during described file;
Determine described bandwidth availability ratio less than setting bandwidth availability ratio threshold value, and the magnetic disc i/o speed of described terminal Rate, less than when setting magnetic disc i/o rate-valve value, indicates each resource node in described first kind resource node newly to open Open setting number download thread, and determine described file corresponding to the download thread of each described new unlatching Section.
The embodiment of the present invention can the utilization power of implementing monitoring terminal available bandwidth, in available bandwidth utilization rate In the case of the highest, open new download thread in real time, reached to make full use of the purpose of terminal available bandwidth.
Described method, determines that in described first kind resource node, each resource node is available in the following way Downloading wire number of passes:
Current available bandwidth according to described terminal determines the download thread sum that terminal is current desired;
Determine total number of described first kind resource node;
The result that described download thread sum is obtained divided by total number of described first kind resource node as Each resource node available downloading wire number of passes in described first kind resource node.
Embodiments providing preferably terminal provides each resource node of download service to open The calculation of Thread Count, it is possible to use other calculation.
The present invention provides a kind of resource downloading device based on distributed resource node, including:
First acquiring unit, when the download sent for receiving terminal is asked, determines according to described download request The mark of the file that described terminal request is downloaded, and obtain the performance indications of described terminal;
Second acquisition unit, the mark of the file for downloading according to terminal request, determine and preserve described literary composition The first kind resource node of part, and obtain the performance indications of described first kind resource node, the described first kind provides Source node at least includes two, downloads resource for providing for terminal;
Transmitting element, respectively provides in the performance indications according to described terminal and described first kind resource node The performance indications of source node, generate resource allocation task and are also sent to described terminal so that described terminal according to Described resource allocation task downloads described file, and described resource allocation task includes: in first kind resource node In each resource node mark, first kind resource node, each resource node is supplied to the download thread of described terminal The section of the described file that download thread several, each is corresponding.
In described device, described transmitting element specifically for:
Performance indications in described terminal include current available bandwidth, each resource node in first kind resource node Performance indications when including current available bandwidth, determine all resource nodes in described first kind resource node When current available bandwidth sum is not less than the current available bandwidth of described terminal, determine that generation resource distribution is appointed Business.
In described device, described transmitting element is additionally operable to:
Performance indications in described terminal also include the IP address of described terminal, each in first kind resource node When the performance indications of resource node also include position area information, operator information, according to described terminal IP address determine the band of position belonging to described terminal and the operator of described endpoint registration;
According to the position area information of each resource node, operator letter in described first kind resource node Breath, choose in described first kind resource node with the band of position belonging to described terminal and described endpoint registration Operator be the same from Equations of The Second Kind resource node;
The performance of each resource node in performance indications according to described terminal and described Equations of The Second Kind resource node Index, generates resource allocation task.
In described device, described transmitting element is additionally operable to:
In first kind resource node, the performance indications of each resource node also include: concurrently restriction, active user When number, outlet bandwidth, current CPU usage, current memory utilization rate and current magnetic disc i/o speed, Each performance indications for resource node each in first kind resource node arrange a setting threshold value, determine In described first kind resource node, each performance indications are respectively less than the 3rd of setting threshold value corresponding to these performance indications Class resource node;
The performance of each resource node in performance indications according to described terminal and described 3rd class resource node Index, generates resource allocation task.
Described device, also includes:
Indicating member, after being used for generating resource allocation task and being sent to terminal, periodically obtains described terminal The bandwidth used during downloading described file and the magnetic disc i/o of described terminal;
Current available bandwidth according to described terminal and described used bandwidth, calculate described terminal under Carry the bandwidth availability ratio during described file;
Determine described bandwidth availability ratio less than setting bandwidth availability ratio threshold value, and the magnetic disc i/o speed of described terminal Rate, less than when setting magnetic disc i/o rate-valve value, indicates each resource node in described first kind resource node newly to open Open setting number download thread, and determine described file corresponding to the download thread of each described new unlatching Section.
In described device, described transmitting element determines in the following way in described first kind resource node and respectively provides Source node available downloading wire number of passes:
Current available bandwidth according to described terminal determines the download thread sum that terminal is current desired;
Determine total number of described first kind resource node;
The result that described download thread sum is obtained divided by total number of described first kind resource node as Each resource node available downloading wire number of passes in described first kind resource node.
Utilize resource downloading method based on distributed resource node and device that the present invention provides, have following Beneficial effect: resource node uses distributed deployment mode, and resource is stored in resource node, these Resource node will not reduce due to the operation of user, and owing to resource node has multiple, it is possible in certain journey The network bandwidth and load capacity is increased on degree, when a resource node reaches concurrently to limit, can be from other Resource connects node and continues to download resource, thus ensure that user obtains the stability of resource, and the present invention is led to Cross the behavior pattern considering terminal and resource node, generate resource allocation task for terminal such that it is able to Performance according to terminal and the performance of resource node, for the resource node of terminal distribution better performances, Jin Er To a certain degree enable the terminals to the download resource of fast and stable.
Accompanying drawing explanation
The resource downloading method flow chart based on distributed resource node that Fig. 1 provides for the embodiment of the present invention;
Under in the determination first kind resource node that Fig. 2 provides for the embodiment of the present invention, each resource node is available Carry the method flow diagram of Thread Count;
A kind of generation resource allocation task preferred implementation flow chart that Fig. 3 provides for the embodiment of the present invention;
The another kind of generation resource allocation task preferred implementation flow process that Fig. 4 provides for the embodiment of the present invention Figure;
Fig. 5 indicates each resource joint for the server during terminal downloading files that the embodiment of the present invention provides Point opens the method flow diagram of newly downloaded thread;
The tool of a kind of based on distributed resource node the resource downloading method that Fig. 6 provides for the embodiment of the present invention Body implementation process;
The terminal that Fig. 7 provides for the embodiment of the present invention downloads the flow chart of file according to resource allocation task;
The tool of another resource downloading method based on distributed resource node that Fig. 8 provides for the embodiment of the present invention Body implementation process;
The resource downloading device schematic diagram based on distributed resource node that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
The resource downloading based on distributed resource node with embodiment, the present invention provided below in conjunction with the accompanying drawings Method and device illustrates in greater detail.
The embodiment of the present invention provides a kind of resource downloading method based on distributed resource node, as it is shown in figure 1, Including:
Step 101, when receiving the download request that terminal sends, determines terminal request according to described download request The mark of the file downloaded, and obtain the performance indications of described terminal.
Concrete, determine the mark of file that terminal request downloads according to the described request of downloading, specifically include: Server resolves the content that the request of downloading of terminal transmission is carried, and determines what terminal request was downloaded from this content The mark of file, carries the mark of the file that terminal request is downloaded in described download request.Preferably, literary composition The title being designated file of part.
Preferably, the mode of the performance indications that server obtains terminal is: resolve the download instruction that terminal sends Content, the content analytically gone out obtains the performance indications of terminal, the download request that i.e. terminal sends taken The performance indications of tape terminal.Concrete, terminal is when sending download request, and the performance obtaining terminal current refers to Mark adds in download request and this download request is sent to server.Wherein, the performance indications of terminal can With but be not limited to include: the IP address of terminal, the amount of bandwidth of terminal, terminal current available bandwidth, The connection number that terminal is currently executing.Or, the mode of the performance indications that server obtains terminal is: clothes Business device, after receiving the download request that terminal sends, sends the finger obtaining terminal current performance index to terminal Order, terminal obtains the performance indications of self, and performance indications is responded to server after receiving this instruction.
Step 102, according to the mark of the file that terminal request is downloaded, determines and preserves the first of described file Class resource node, and obtain the performance indications of described first kind resource node, described first kind resource node is extremely Include two less, download resource for providing for terminal.
Concrete, different resource nodes may save the different files being available for terminal downloads, it is also possible to Saving the identical file being available for terminal downloads, the resource node preserving identical download file may save Whole file, it is also possible to save the section of file.After determining the mark of file that terminal request is downloaded, First determine all resource nodes (first kind resource node) preserving this document, thus ensure as terminal Offer can download to the resource node of the file of request.The embodiment of the present invention will be preserved under terminal request The resource node of the file carried is referred to as first kind resource node, after determining first kind resource node, obtains further Take the performance indications of first kind resource node.The mode obtaining first kind resource node performance indications is existing skill Art, repeats no more here.
Step 103, according to each resource joint in the performance indications of described terminal and described first kind resource node The performance indications of point, generate resource allocation task and are sent to described terminal, so that described terminal is according to described Resource allocation task downloads described file, and described resource allocation task includes: respectively provide in first kind resource node In source node identification, first kind resource node, each resource node is supplied to the downloading wire number of passes of described terminal, each The section of the described file that download thread is corresponding.
Concrete, the property of each resource node in the performance indications current according to terminal and first kind resource node Index can generate resource allocation task and be also sent to terminal so that terminal according to this resource allocation task from first Class resource node is downloaded file (resource).Generated down and included in task: distributed to the of terminal In one class resource node, first kind resource node each resource node be supplied to described terminal downloading wire number of passes, The section of the described file that each download thread is corresponding.Resource allocation task can also include other information such as Each resource node location information etc. in one class resource node, this does not limits.Concrete, each The section of the file that resource node is downloaded for the terminal request that terminal offer is different, terminal is downloading successfully file After, the section of the file downloaded to from each resource node is combined into complete file.
When being embodied as, before generating resource allocation task, first determine according to the download resource of terminal request The protocol type downloaded, this protocol type can be FTP (file transfer protocol (FTP)) or HTTP (hypertext Host-host protocol) etc..
Each resource node distributed deployment in the embodiment of the present invention, and will not be owing to terminal is the most online or terminal The most downloading resource and less, and, the embodiment of the present invention is by considering terminal and resource node Behavior pattern, for terminal generate resource allocation task such that it is able to according to performance and the resource node of terminal Performance, for the resource node of terminal distribution better performances, so to a certain degree enabling the terminals to the most steady Fixed download resource.
Preferably, determine and the historical data downloading request that terminal sends exists and under this transmission of terminal When load asks identical history to download request, download the resource allocation task generation carried in asking according to history Resource allocation task, and it is sent to terminal.
Specifically, detect whether the download request that this terminal sends has and ask with this download sent of this terminal Ask same or similar and download request, if it has, then utilize the money identical with the download request in historical data Source distribution task generates new resource allocation task and is sent to this terminal.Under two of which is same or analogous Load request is: the file of download is identical, and terminal bandwidth utilization rate is all in certain threshold range, and terminal is current At the downloading wire number of passes performed all in certain threshold range.
This preferred implementation, by utilize historical data for generating resource allocation task and being sent to terminal, Improve downloading rate to a certain extent.
Based on the embodiment shown in Fig. 1, it is preferable that the performance indications of terminal include current available bandwidth, the In one class resource node, the performance indications of each resource node include current available bandwidth, according to the property of described terminal The performance indications of each resource node in energy index and described first kind resource node, generate resource distribution and appoint Business, specifically includes:
Determine that in described first kind resource node, the current available bandwidth sum of all resource nodes is not less than institute When stating the current available bandwidth of terminal, determine generation resource allocation task.
Determine that in described first kind resource node, the current available bandwidth sum of all resource nodes is less than described During the current available bandwidth of terminal, send, to described terminal, the instruction that waits for downloads.
Concrete, the performance indications of each resource node include resource node current available bandwidth, work as the first kind In resource node, the current available bandwidth sum of all resource nodes is more than or equal to the currently available band of terminal Time wide, just possess the condition generating resource allocation task, the most just possess the condition for terminal distribution resource node, If the current available bandwidth sum of all resource nodes currently may be used less than terminal in first kind resource node By bandwidth, illustrate that resource node does not possess the condition providing download service for terminal, then terminal needs to wait for, directly The current available bandwidth sum of all resource nodes working as more than or equal to terminal in first kind resource node During front available bandwidth, just generate resource allocation task.
The embodiment of the present invention is taking into full account terminal available bandwidth and resource node available bandwidth, saves in resource In the case of some available bandwidth is enough, generates resource allocation task for terminal, thus ensure terminal downloads resource Speed and stability, enable the terminals to download smoothly file.
Concrete, under determining that in described first kind resource node, each resource node is available in the following way Carry Thread Count, as in figure 2 it is shown, include:
Step 201, determines the download thread sum M needed for terminal according to the current available bandwidth of described terminal;
Step 202, determines total number N of described first kind resource node;
Step 203, by described download thread sum M divided by total number N of described first kind resource node Result P obtained is as each resource node available downloading wire number of passes in described first kind resource node.
Concrete, P=M/N, the most each first kind resource node provides P download thread for terminal.
The download thread sum needed for terminal can be calculated, i.e. in fully profit according to the current available bandwidth of terminal Download thread sum in the case of terminal available bandwidth, required for terminal.Save at each resource node When complete terminal is asked the file downloaded, terminal is asked that the file downloaded cut into slices, specifically may be used It is divided into N number of section file, so that the corresponding section file of each thread.Concrete, file of cutting into slices Size and the number of concrete section file be not the most fixing, all can be along with first kind resource node Number and change, or specifically set according to practical situation.The method carrying out file cutting into slices is existing method, Here repeat no more.Embodiments provide preferably terminal and each resource node of download service is provided The calculation of the Thread Count that should open, it is possible to use other calculation.Wherein, can use according to terminal Download thread sum needed for bandwidth calculation terminal can use existing method to calculate, and repeats no more here.
Preferably, the performance indications of described terminal also include the IP address of described terminal, and first kind resource saves In point, the performance indications of each resource node also include position area information, operator information, then determining In first kind resource node, the current available bandwidth sum of all resource nodes is not less than the currently available of terminal During bandwidth, then according to each resource node in the performance indications of described terminal and described first kind resource node Performance indications, generate resource allocation task, as it is shown on figure 3, specifically include:
Step 301, determines the band of position belonging to described terminal and described according to the IP address of described terminal The operator of endpoint registration.
Concrete, the performance indications of terminal include the IP address of this terminal, then can be according to the IP ground of terminal Location determines the band of position at terminal place and the operator of endpoint registration, such as, according to the IP ground of terminal Location determines that the operator of the province at terminal place, city, and endpoint registration (includes movement, UNICOM, electricity Letter etc.).
Step 302, according to position area information, the affiliated operation of resource node each in first kind resource node Business's information, choose in described first kind resource node with the band of position belonging to described terminal and described terminal The operator of registration is the same from Equations of The Second Kind resource node.
Step 303, according to each resource joint in the performance indications of described terminal and described Equations of The Second Kind resource node The performance indications of point, generate resource allocation task.
Concrete, each resource node has its affiliated position area information and affiliated operator letter Breath, according to the positional information belonging to terminal and operator's informaiton, by with the positional information belonging to terminal and The resource node that operator's informaiton is identical is attributed to Equations of The Second Kind resource node, and raw according to Equations of The Second Kind resource node Become resource allocation task.Such as, terminal in Beijing, operator for mobile, then will be at Pekinese's resource node And belong to the resource node of movement as Equations of The Second Kind resource node, and generate resource according to these resource nodes Distribution task.Wherein, Equations of The Second Kind resource node screens from first kind resource node, i.e. the Two class resource nodes belong to first kind resource node.
The performance of each resource node in performance indications according to described terminal and described Equations of The Second Kind resource node Index, the resource allocation task of generation includes: each resource node mark, Equations of The Second Kind in Equations of The Second Kind resource node In resource node, each resource node is supplied to corresponding described of the downloading wire number of passes of described terminal, each download thread The section of file.Concrete, in each Equations of The Second Kind resource node, each resource node is supplied under described terminal The calculation carrying Thread Count is similar with the embodiment shown in Fig. 2, the described file that each download thread is corresponding The determination mode of section is also similar with the embodiment shown in Fig. 2, repeats no more here.
This preferred implementation, can be terminal distribution preferably resource node, for terminal more quickly under Published article part.
Preferably, in first kind resource node, the performance indications of each resource node also include: concurrently limit, when Front number of users, outlet bandwidth, current CPU usage, current memory utilization rate and current magnetic disc i/o speed Rate, then in determining first kind resource node, the current available bandwidth sum of all resource nodes is not less than terminal Current available bandwidth time, respectively provide according in the performance indications of described terminal and described first kind resource node The performance indications of source node, generate resource allocation task, as shown in Figure 4, specifically include:
Step 401, each performance indications for resource node each in first kind resource node arrange one Set threshold value, determine that in described first kind resource node, each performance indications are respectively less than corresponding the setting of these performance indications Determine the 3rd class resource node of threshold value.
Wherein, depending on the big I of setting threshold value is according to practical situation, do not limit.
Step 402, according to each resource joint in the performance indications of described terminal and described 3rd class resource node The performance indications of point, generate resource allocation task.
Wherein, the outlet bandwidth of resource node is used in combination with concurrently limiting, and can preferably realize resource joint The load balancing of point.For terminal, its speed downloaded improves by improving Thread Count, eventually Each thread of end all can be oriented to the file that in the resource node of its distribution, the terminal of preservation is to be downloaded, and Conventional HTTP Yu FTP download protocol all also exists the restriction of maximum concurrent thread number, each resource node Allowing the thread accessed to have maximum, the embodiment of the present invention is considering the outlet bandwidth and also of resource node Send out in the case of limiting, on the basis of load balancing, resource allocation task can be generated for terminal, thus protect The resource allocation task that card generates is not over the concurrently restriction of resource node.
Concrete, it is respectively provided with a setting threshold for the different performance indications in first kind resource node Value, such as, for concurrently limit arrange a concurrent threshold limit, arrange for active user's number one work as Front number of users threshold value, one current CPU usage threshold value etc. is set for current CPU usage, determines The 3rd class resource node being respectively less than setting threshold value corresponding to these performance indications of each performance indications, and according to 3rd class resource node generates resource allocation task, and wherein, the 3rd class resource node is to save from first kind resource Point screens, i.e. the 3rd class resource node belongs to first kind resource node.
The performance of each resource node in performance indications according to described terminal and described 3rd class resource node Index, generates resource allocation task and includes: each resource node mark, the 3rd class money in the 3rd class resource node In source node, each resource node is supplied to the described literary composition that the downloading wire number of passes of described terminal, each download thread are corresponding The section of part.Concrete, in each 3rd class resource node, each resource node is supplied to the download of described terminal The calculation of Thread Count is similar with the embodiment shown in Fig. 2, cutting of the described file that each download thread is corresponding The determination mode of sheet is also similar with the embodiment shown in Fig. 2, repeats no more here.
Utilize this preferred implementation, on the basis of considering load balancing (resource node performance indications), Be that terminal generates resource allocation task according to performance relatively the most preferably resource node, will performance the most preferably Resource node distributes to terminal, thus improves the speed of download of terminal to a certain extent.Originally the side of being preferable to carry out Formula also can be combined enforcement with the preferred implementation shown in Fig. 3.
Wherein, the performance indications of resource node can also include: network bandwidth utilization rate, number of network connections etc..
Based on above-described embodiment, after generating resource allocation task and being sent to terminal, as it is shown in figure 5, also wrap Include:
Step 501, periodically obtain bandwidth that described terminal used during downloading described file with And the magnetic disc i/o of described terminal.
Step 502, according to current available bandwidth and described the used bandwidth of described terminal, calculates institute State terminal bandwidth availability ratio during downloading described file.
Concrete, terminal bandwidth availability ratio in downloading file processes is terminal institute in downloading file processes The result that the bandwidth used obtains divided by terminal current available bandwidth.
Step 503, determines described bandwidth availability ratio less than setting bandwidth availability ratio threshold value, and described terminal Magnetic disc i/o speed, less than when setting magnetic disc i/o rate-valve value, indicates in described first kind resource node and respectively provides Source node newly opens setting number download thread, and determines that the download thread of each described new unlatching is corresponding The section of described file.
Wherein, set bandwidth availability ratio threshold value and be preferably 80%, it is also possible to for other numerical value, do not limit Fixed.
In step 501, in addition to can obtaining terminal bandwidth used in downloading process and magnetic disc i/o, Also can periodically obtain terminal the internal memory service condition of terminal, CPU during downloading file and use feelings Condition, downloading wire number of passes etc..Server can further determine whether according to these information of the terminal obtained must In first kind resource node to be indicated, each resource node newly opens download thread.
It is further preferred that in step 503, determine described bandwidth availability ratio less than setting bandwidth availability ratio threshold Value, and the magnetic disc i/o speed of described terminal is less than setting magnetic disc i/o rate-valve value, and determine that the first kind provides During the setting threshold value that in source node, the performance indications of each resource node are corresponding less than these performance indications, instruction is described In first kind resource node, each resource node newly opens setting number download thread, and determines that each is described newly The section of described file corresponding to download thread opened.
First kind resource node in this preferred implementation also can be replaced in preferred implementation shown in Fig. 3 Equations of The Second Kind resource node or Fig. 4 shown in the 3rd class resource node in preferred implementation, so, if Terminal is download file from Equations of The Second Kind or the 3rd class resource node during downloading file, then full During the condition of foot step 503, instruction Equations of The Second Kind or the 3rd class resource are connect by server new opens that to set number individual Download thread.
Concrete, indicate each resource node to open the mode setting number thread and the embodiment shown in Fig. 2 Similar, this repeats no more.Wherein, setting number can be according to the available bandwidth of actual terminal residual and money Depending on source node behavior pattern, it is preferable that set number as original allocation Thread Count 25% again divided by money The result of the number gained of source node.
In the embodiment of the present invention, during terminal downloading files, real-time monitoring terminal side available bandwidth Utilization power, if available bandwidth utilization rate is too low, then further according to Fig. 1 and its preferred implementation For increasing download thread, thus reach to make full use of the purpose of terminal available bandwidth.Provide for terminal distribution at this During source node, also can the preferential preferable resource node of allocation performance, if the performance of allocated resource node Index both less than sets threshold value, then the less resource node of download thread being carrying out for terminal distribution, really Determine the bandwidth availability ratio of terminal and reach to set bandwidth availability ratio threshold value or time magnetic disc i/o reaches to set threshold value, stop Only instruction resource node opens new thread.
During terminal downloading files, the performance of each download thread can be monitored in real time, when under certain Carrying after the task of thread completes, analyze the download thread that is currently running, the wherein task that obtains is the heaviest or the used time A longest thread, and automatically a part for the task of this thread is adjusted to the downloading wire completing task Journey, circulation performs this process, until the task of all threads is carried out complete.
In the various embodiments described above, terminal includes with the corresponded manner of resource node: multiple resource nodes are with for the moment Carve and provide download thread for same terminal, can set up between same terminal synchronization and each resource node At least one thread.
Embodiment one
The resource downloading method based on distributed resource node that the embodiment of the present invention provides is real in server side Existing, process mutual between server, terminal as shown in Figure 6, including:
Step 601, terminal to server sends the request of download.
Step 602, server receives the download request that terminal sends, determines the file that terminal request downloads Mark, and obtain the performance indications of this terminal.
Step 603, the mark of the file that server is downloaded according to terminal request, travel through all of resource node, Determine the first kind resource node preserving described file, and the performance obtaining described first kind resource node refers to Mark.
Step 604, according to the performance of each resource node in the performance indications of terminal and first kind resource node Index is that terminal generates resource allocation task and is sent to terminal.
Step 605, terminal receives the resource allocation task that server sends, enters according to this resource allocation task Row file download.
Concrete, after terminal receives resource allocation task, terminal is raw in this locality according to this resource allocation task Becoming content file and configuration file, the content of configuration file includes: absolute path that file preserves in this locality, Total number of thread that the size of file, resource node provide, the file size downloaded, each thread pair The section of the file answered.The initial size of content file is 0, and the size of this document will be at resource allocation task Execution during increase along with the download of file.
Terminal carries out file download according to the configuration file generated, and terminal before downloading, is distributed according to resource Downloading task is divided into some subtasks to be downloaded by task, and each subtask sets according to the caching of terminal to be divided For some pieces, the block divided by subtask is downloaded by single thread, and each thread is according to the start bit of block Put and start to download until terminating the download of this block at the end position of this block.Each thread completes one piece every time Task will be adjusted after download, download next block it is known that complete the download of all pieces, just table in subtask Show that the downloading task of current thread completes.
Step 606, when server receives the download completion message that terminal sends, discharges allocated resource.
After resource management server receives download completion message, related resource will be automatically releasable, and download will be appointed Business moves in historical data base, discharges monitoring resource task.
Concrete terminal according to resource allocation task download file process as it is shown in fig. 7, comprises:
Step 701, terminal generates configuration file according to the resource allocation task received.
Step 702, generates multiple threads according to configuration file, and reads file from corresponding resource node Section.
Concrete, when file data reads, need according to the original position recorded in configuration file and stop bits Put and be read out.It is to read from the resource node being positioned at network owing to reading file here, therefore institute The download protocol used is different, and the method reading file also differs, the end-to-end download protocol used at present For FTP and HTTP, the corresponding method reading file is respectively as follows:
For File Transfer Protocol, it is possible to use REST (declarative state transfer), RETR (download command) enters Row multithreading and breakpoint transmission file download, such as: send to server " RETR+ filename ", notice clothes Business device filename to be downloaded, this is that server starts to position file pointer and reads file cocurrent and send file data To terminal.
For http protocol, the Range head of http protocol can start from the appointment position of file to download, Downloading to specify position to terminate, its unit is byte.Such as: Range:bytes=2097152-4194304, Mark starts from the position of the 2M of file to download, and downloads to 4M position and terminates.
Step 703, the file data read on resource node is write local content file by terminal.
Concrete, terminal needs timing that the file data read on resource node writes local content literary composition Part, simultaneously need to the mission bit stream in more new configuration file.The present invention uses the download technology of multithreading, During so carrying out the write of local content file, need to consider concurrent problem and write sequence problem:
Concurrent processing: when multiple threads download file, each thread is required to enter content file and configuration file Row read-write.Access, in order to avoid causing due to concurrency conflict, the situation that file is failed, need to define one entirely Office's variable carrys out tab file by certain thread accesses, and other thread needs to wait, when this thread has write This labelling is being changed, for other thread accesses content file and configuration file after one-tenth.
Write sequence processes: good for use in order to ensure the content file after write, needs according to source material File data is write local content file by file in order.But in multithreading downloading process, each thread is Synchronization performs, and meeting is simultaneously toward local content file write file data, and write between thread and thread Data do not have being sequentially written according to the data file downloaded, if according to common OutputStream's Writing mode, the file finally downloaded will distortion.It is thus desirable to wiping is supported from any one position of file Putting the processing method of read-write, such as, the java.io.RandomAccessFile class in Java language, to guarantee Data write sequence and original file data sequence consensus.
Step 704, after terminal determines that file download completes, verifies the availability of downloaded file, And message download completed sends a server.
Concrete, after download completes, the availability of downloaded file can be verified by terminal, verification Time use MD5 algorithm, the benchmark data of record in content file and server that comparison terminal generates, if school Test and download successfully by then indicating.
Embodiment two
The embodiment of the present invention can include resource management server, resource clustering server, terminal, Duo Gefen Cloth resource node, wherein, resource management server is used for managing resource clustering server and terminal, resource Aggregation server be used for managing multiple distributed resource node and with resource management server communication, multiple distributions Formula resource node is for providing download resource for terminal.Then the embodiment of the present invention provide based on distributed resource The specific implementation process of the resource downloading method of node as shown in Figure 8, including:
Step 801, terminal just sends download request to resource management server.
Step 802, money pipe management server receives the download request that terminal sends, determines that terminal request is downloaded The mark of file, obtain the performance indications of terminal, and send file query requests to resource clustering server.
Step 803, resource clustering server sends to resource management server and is properly received file query requests Response.
Step 804, resource clustering server obtains the first kind resource preserving the file that terminal request is downloaded The performance indications of node the performance indications to resource management server feedback first kind resource node.
Step 805, resource management server sends to resource clustering server and is properly received first kind resource joint The response of the performance indications of point.
Step 806, resource management server is according to the performance indications according to terminal and first kind resource node In the performance indications of each resource node be that terminal generates resource allocation task and is sent to terminal.
Flow process after terminal receives resource allocation task receives resource distribution times with terminal in embodiment one The flow process of business is similar to, and repeats no more here.
The present invention provides a kind of resource downloading device based on distributed resource node, as it is shown in figure 9, include:
First acquiring unit 901, when the download sent for receiving terminal is asked, downloads request according to described Determine the mark of the file that described terminal request downloads, and obtain the performance indications of described terminal;
Second acquisition unit 902, the mark of the file for downloading according to terminal request, determine preservation State the first kind resource node of file, and obtain the performance indications of described first kind resource node, described first Class resource node at least includes two, downloads resource for providing for terminal;
Transmitting element 903, in the performance indications according to described terminal and described first kind resource node The performance indications of each resource node, generate resource allocation task and are sent to described terminal, so that described terminal Downloading described file according to described resource allocation task, described resource allocation task includes: first kind resource saves In point, in each resource node mark, first kind resource node, each resource node is supplied to the downloading wire of described terminal The section of the described file that number of passes, each download thread are corresponding.
Preferably, in described device, described transmitting element specifically for:
Performance indications in described terminal include current available bandwidth, each resource node in first kind resource node Performance indications when including current available bandwidth, determine all resource nodes in described first kind resource node When current available bandwidth sum is not less than the current available bandwidth of described terminal, determine that generation resource distribution is appointed Business.
Preferably, in described device, described transmitting element is additionally operable to:
Performance indications in described terminal also include the IP address of described terminal, each in first kind resource node When the performance indications of resource node also include position area information, operator information, according to described terminal IP address determine the band of position belonging to described terminal and the operator of described endpoint registration;
According to the position area information of each resource node, operator letter in described first kind resource node Breath, choose in described first kind resource node with the band of position belonging to described terminal and described endpoint registration Operator be the same from Equations of The Second Kind resource node;
The performance of each resource node in performance indications according to described terminal and described Equations of The Second Kind resource node Index, generates resource allocation task.
Preferably, in described device, described transmitting element is additionally operable to:
In first kind resource node, the performance indications of each resource node also include: concurrently restriction, active user When number, outlet bandwidth, current CPU usage, current memory utilization rate and current magnetic disc i/o speed, Each performance indications for resource node each in first kind resource node arrange a setting threshold value, determine In described first kind resource node, each performance indications are respectively less than the 3rd of setting threshold value corresponding to these performance indications Class resource node;
The performance of each resource node in performance indications according to described terminal and described 3rd class resource node Index, generates resource allocation task.
Preferably, described device, also include:
Indicating member 904, after being used for generating resource allocation task and being sent to terminal, periodically obtains described Terminal is downloading the bandwidth and the magnetic disc i/o of described terminal used during described file;
Current available bandwidth according to described terminal and described used bandwidth, calculate described terminal under Carry the bandwidth availability ratio during described file;
Determine described bandwidth availability ratio less than setting bandwidth availability ratio threshold value, and the magnetic disc i/o speed of described terminal Rate, less than when setting magnetic disc i/o rate-valve value, indicates each resource node in described first kind resource node newly to open Open setting number download thread, and determine described file corresponding to the download thread of each described new unlatching Section.
Preferably, in described device, described transmitting element determines that described first kind resource saves in the following way Each resource node available downloading wire number of passes in point:
Current available bandwidth according to described terminal determines the download thread sum that terminal is current desired;
Determine total number of described first kind resource node;
The result that described download thread sum is obtained divided by total number of described first kind resource node as Each resource node available downloading wire number of passes in described first kind resource node.
Utilize resource downloading method based on distributed resource node and device that the embodiment of the present invention provides, tool There is following beneficial effect: resource node uses distributed deployment mode, and resource be stored in resource node, These resource nodes will not reduce due to the operation of user, and owing to resource node has multiple, it is possible to one Determine to increase in degree the network bandwidth and load capacity, when a resource node reaches concurrently to limit, Ke Yicong Other resources connect node and continue to download resource, thus ensure that user obtains the stability of resource, and this The bright behavior pattern by considering terminal and resource node, generates resource allocation task for terminal, thus , can enter for the resource node of terminal distribution better performances according to the performance of terminal and the performance of resource node And to a certain degree enabling the terminals to the download resource of fast and stable.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (12)

1. a resource downloading method based on distributed resource node, it is characterised in that including:
When receiving the download request that terminal sends, determine what described terminal request was downloaded according to the described request of downloading The mark of file, and obtain the performance indications of described terminal;
According to the mark of the file that terminal request is downloaded, determine the first kind resource joint preserving described file Point, and obtain the performance indications of described first kind resource node, described first kind resource node at least includes two Individual, download resource for providing for terminal;
The performance of each resource node in performance indications according to described terminal and described first kind resource node Index, generates resource allocation task and is sent to described terminal, so that described terminal is distributed according to described resource Task downloads described file, and described resource allocation task includes: each resource node mark in first kind resource node In knowledge, first kind resource node, each resource node is supplied to the downloading wire number of passes of described terminal, each download thread The section of corresponding described file.
2. the method for claim 1, it is characterised in that the performance indications of described terminal include working as Front available bandwidth, in first kind resource node, the performance indications of each resource node include current available bandwidth, root According to the performance indications of each resource node in the performance indications of described terminal and described first kind resource node, raw Become resource allocation task, specifically include:
Determine that in described first kind resource node, the current available bandwidth sum of all resource nodes is not less than institute When stating the current available bandwidth of terminal, determine generation resource allocation task.
3. method as claimed in claim 2, it is characterised in that the performance indications of described terminal also include The IP address of described terminal, in first kind resource node, the performance indications of each resource node also include lane place Domain information, operator information, then according to performance indications and the described first kind resource joint of described terminal The performance indications of each resource node in point, generate resource allocation task, specifically include:
IP address according to described terminal determines the band of position belonging to described terminal and described endpoint registration Operator;
According to the position area information of each resource node, operator letter in described first kind resource node Breath, choose in described first kind resource node with the band of position belonging to described terminal and described endpoint registration Operator be the same from Equations of The Second Kind resource node;
The performance of each resource node in performance indications according to described terminal and described Equations of The Second Kind resource node Index, generates resource allocation task.
4. method as claimed in claim 2, it is characterised in that each resource joint in first kind resource node Point performance indications also include: concurrently restriction, active user's number, outlet bandwidth, current CPU usage, Current memory utilization rate and current magnetic disc i/o speed, then according to the performance indications of described terminal and described The performance indications of each resource node in first kind resource node, generate resource allocation task, specifically include:
Each performance indications for resource node each in first kind resource node arrange a setting threshold value, Determine that in described first kind resource node, each performance indications are respectively less than setting threshold value corresponding to these performance indications 3rd class resource node;
The performance of each resource node in performance indications according to described terminal and described 3rd class resource node Index, generates resource allocation task.
5. method as claimed in claim 2, it is characterised in that generate resource allocation task and be sent to After terminal, also include:
Periodically obtain bandwidth and described end that described terminal is used during downloading described file The magnetic disc i/o of end;
Current available bandwidth according to described terminal and described used bandwidth, calculate described terminal under Carry the bandwidth availability ratio during described file;
Determine described bandwidth availability ratio less than setting bandwidth availability ratio threshold value, and the magnetic disc i/o speed of described terminal Rate, less than when setting magnetic disc i/o rate-valve value, indicates each resource node in described first kind resource node newly to open Open setting number download thread, and determine described file corresponding to the download thread of each described new unlatching Section.
6. method as claimed in claim 2, it is characterised in that determine described first in the following way Each resource node available downloading wire number of passes in class resource node:
Current available bandwidth according to described terminal determines the download thread sum that terminal is current desired;
Determine total number of described first kind resource node;
The result that described download thread sum is obtained divided by total number of described first kind resource node as Each resource node available downloading wire number of passes in described first kind resource node.
7. a resource downloading device based on distributed resource node, it is characterised in that including:
First acquiring unit, when the download sent for receiving terminal is asked, determines according to described download request The mark of the file that described terminal request is downloaded, and obtain the performance indications of described terminal;
Second acquisition unit, the mark of the file for downloading according to terminal request, determine and preserve described literary composition The first kind resource node of part, and obtain the performance indications of described first kind resource node, the described first kind provides Source node at least includes two, downloads resource for providing for terminal;
Transmitting element, respectively provides in the performance indications according to described terminal and described first kind resource node The performance indications of source node, generate resource allocation task and are also sent to described terminal so that described terminal according to Described resource allocation task downloads described file, and described resource allocation task includes: in first kind resource node In each resource node mark, first kind resource node, each resource node is supplied to the download thread of described terminal The section of the described file that download thread several, each is corresponding.
8. device as claimed in claim 7, it is characterised in that described transmitting element specifically for:
Performance indications in described terminal include current available bandwidth, each resource node in first kind resource node Performance indications when including current available bandwidth, determine all resource nodes in described first kind resource node When current available bandwidth sum is not less than the current available bandwidth of described terminal, determine that generation resource distribution is appointed Business.
9. device as claimed in claim 8, it is characterised in that described transmitting element is additionally operable to:
Performance indications in described terminal also include the IP address of described terminal, each in first kind resource node When the performance indications of resource node also include position area information, operator information, according to described terminal IP address determine the band of position belonging to described terminal and the operator of described endpoint registration;
According to the position area information of each resource node, operator letter in described first kind resource node Breath, choose in described first kind resource node with the band of position belonging to described terminal and described endpoint registration Operator be the same from Equations of The Second Kind resource node;
The performance of each resource node in performance indications according to described terminal and described Equations of The Second Kind resource node Index, generates resource allocation task.
10. device as claimed in claim 8, it is characterised in that described transmitting element is additionally operable to:
In first kind resource node, the performance indications of each resource node also include: concurrently restriction, active user When number, outlet bandwidth, current CPU usage, current memory utilization rate and current magnetic disc i/o speed, Each performance indications for resource node each in first kind resource node arrange a setting threshold value, determine In described first kind resource node, each performance indications are respectively less than the 3rd of setting threshold value corresponding to these performance indications Class resource node;
The performance of each resource node in performance indications according to described terminal and described 3rd class resource node Index, generates resource allocation task.
11. devices as claimed in claim 8, it is characterised in that also include:
Indicating member, after being used for generating resource allocation task and being sent to terminal, periodically obtains described terminal The bandwidth used during downloading described file and the magnetic disc i/o of described terminal;
Current available bandwidth according to described terminal and described used bandwidth, calculate described terminal under Carry the bandwidth availability ratio during described file;
Determine described bandwidth availability ratio less than setting bandwidth availability ratio threshold value, and the magnetic disc i/o speed of described terminal Rate, less than when setting magnetic disc i/o rate-valve value, indicates each resource node in described first kind resource node newly to open Open setting number download thread, and determine described file corresponding to the download thread of each described new unlatching Section.
12. devices as claimed in claim 8, it is characterised in that described transmitting element is in the following way Determine each resource node available downloading wire number of passes in described first kind resource node:
Current available bandwidth according to described terminal determines the download thread sum that terminal is current desired;
Determine total number of described first kind resource node;
The result that described download thread sum is obtained divided by total number of described first kind resource node as Each resource node available downloading wire number of passes in described first kind resource node.
CN201510158389.7A 2015-04-03 2015-04-03 A kind of resource downloading method based on distributed resource node and device Pending CN106161524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510158389.7A CN106161524A (en) 2015-04-03 2015-04-03 A kind of resource downloading method based on distributed resource node and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510158389.7A CN106161524A (en) 2015-04-03 2015-04-03 A kind of resource downloading method based on distributed resource node and device

Publications (1)

Publication Number Publication Date
CN106161524A true CN106161524A (en) 2016-11-23

Family

ID=57338698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510158389.7A Pending CN106161524A (en) 2015-04-03 2015-04-03 A kind of resource downloading method based on distributed resource node and device

Country Status (1)

Country Link
CN (1) CN106161524A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603673A (en) * 2016-12-19 2017-04-26 上海交通大学 Fine-grained cloud storage scheduling method based on erasure codes
CN107278366A (en) * 2017-05-27 2017-10-20 福建联迪商用设备有限公司 A kind of method for down loading and its download system for improving download efficiency
CN107657397A (en) * 2017-11-09 2018-02-02 东南大学 The distributed resource economic value method for decomposing decomposed based on power distribution network node electricity price
CN109788317A (en) * 2017-11-14 2019-05-21 移动商务股份有限公司 The audio-visual management system of crossfire and its method of the audio-visual management of crossfire
CN109981726A (en) * 2019-02-01 2019-07-05 中国电力科学研究院有限公司 A kind of distribution method of memory node, server and system
CN110224863A (en) * 2019-05-22 2019-09-10 钛马信息网络技术有限公司 A kind of file accelerates method for down loading and device
CN110247815A (en) * 2019-05-09 2019-09-17 深圳市迅雷网络技术有限公司 A kind of data transmission method, device, system and computer readable storage medium
CN110661829A (en) * 2018-06-28 2020-01-07 杭州海康威视系统技术有限公司 File downloading method and device, client and computer readable storage medium
WO2020026018A1 (en) * 2018-07-31 2020-02-06 优视科技新加坡有限公司 Method for downloading file, device, apparatus/terminal/ server, and storage medium
CN111385315A (en) * 2018-12-27 2020-07-07 阿里巴巴集团控股有限公司 Point-to-point resource downloading method and device
CN113010821A (en) * 2021-04-14 2021-06-22 北京字节跳动网络技术有限公司 Page loading method, device, equipment and storage medium
CN116614551A (en) * 2023-07-17 2023-08-18 北京海科融通支付服务有限公司 Template-based multitasking asynchronous downloading method, system, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448020A (en) * 2008-12-29 2009-06-03 深圳市迅雷网络技术有限公司 Data source return method and device
US20120054282A1 (en) * 2010-08-27 2012-03-01 Industrial Technology Research Institute Architecture and method for hybrid peer to peer/client-server data transmission
CN102510411A (en) * 2011-12-28 2012-06-20 南京邮电大学 Implementation method of cache server for Ares network
CN103888419A (en) * 2012-12-21 2014-06-25 中国电信股份有限公司 Method and system for enabling virtual desktop terminal to obtain video content and CDN sub-system
CN103929427A (en) * 2014-04-23 2014-07-16 无锡天脉聚源传媒科技有限公司 Dynamic multi-thread downloading device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448020A (en) * 2008-12-29 2009-06-03 深圳市迅雷网络技术有限公司 Data source return method and device
US20120054282A1 (en) * 2010-08-27 2012-03-01 Industrial Technology Research Institute Architecture and method for hybrid peer to peer/client-server data transmission
CN102510411A (en) * 2011-12-28 2012-06-20 南京邮电大学 Implementation method of cache server for Ares network
CN103888419A (en) * 2012-12-21 2014-06-25 中国电信股份有限公司 Method and system for enabling virtual desktop terminal to obtain video content and CDN sub-system
CN103929427A (en) * 2014-04-23 2014-07-16 无锡天脉聚源传媒科技有限公司 Dynamic multi-thread downloading device and method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603673A (en) * 2016-12-19 2017-04-26 上海交通大学 Fine-grained cloud storage scheduling method based on erasure codes
CN107278366A (en) * 2017-05-27 2017-10-20 福建联迪商用设备有限公司 A kind of method for down loading and its download system for improving download efficiency
CN107657397A (en) * 2017-11-09 2018-02-02 东南大学 The distributed resource economic value method for decomposing decomposed based on power distribution network node electricity price
CN107657397B (en) * 2017-11-09 2021-06-11 东南大学 Distributed resource economic value analysis method based on power distribution network node electricity price decomposition
CN109788317A (en) * 2017-11-14 2019-05-21 移动商务股份有限公司 The audio-visual management system of crossfire and its method of the audio-visual management of crossfire
CN110661829A (en) * 2018-06-28 2020-01-07 杭州海康威视系统技术有限公司 File downloading method and device, client and computer readable storage medium
WO2020026018A1 (en) * 2018-07-31 2020-02-06 优视科技新加坡有限公司 Method for downloading file, device, apparatus/terminal/ server, and storage medium
CN111385315A (en) * 2018-12-27 2020-07-07 阿里巴巴集团控股有限公司 Point-to-point resource downloading method and device
CN109981726A (en) * 2019-02-01 2019-07-05 中国电力科学研究院有限公司 A kind of distribution method of memory node, server and system
CN110247815A (en) * 2019-05-09 2019-09-17 深圳市迅雷网络技术有限公司 A kind of data transmission method, device, system and computer readable storage medium
CN110224863A (en) * 2019-05-22 2019-09-10 钛马信息网络技术有限公司 A kind of file accelerates method for down loading and device
CN113010821A (en) * 2021-04-14 2021-06-22 北京字节跳动网络技术有限公司 Page loading method, device, equipment and storage medium
CN116614551A (en) * 2023-07-17 2023-08-18 北京海科融通支付服务有限公司 Template-based multitasking asynchronous downloading method, system, equipment and medium
CN116614551B (en) * 2023-07-17 2023-09-22 北京海科融通支付服务有限公司 Template-based multitasking asynchronous downloading method, system, equipment and medium

Similar Documents

Publication Publication Date Title
CN106161524A (en) A kind of resource downloading method based on distributed resource node and device
US11704144B2 (en) Creating virtual machine groups based on request
CN109729131B (en) Application request processing method and device and router
Dogar et al. Decentralized task-aware scheduling for data center networks
CN104541247B (en) System and method for adjusting cloud computing system
CN102142006B (en) File processing method and device of distributed file system
CN104951352B (en) The moving method and equipment of a kind of data flow
CN103338252B (en) Realizing method of distributed database concurrence storage virtual request mechanism
CN106126124B (en) A kind of data processing method and electronic equipment
CN104092650A (en) Service distributing request method and device
CN105677904B (en) Small documents storage method and device based on distributed file system
Takouna et al. Communication-aware and energy-efficient scheduling for parallel applications in virtualized data centers
Dong et al. Energy-aware scheduling schemes for cloud data centers on google trace data
CN106254561A (en) The real-time offline download method of a kind of Internet resources file and system
CN110011952A (en) A kind of method, service cluster and the client of data transmission
CN103294799B (en) A kind of data parallel batch imports the method and system of read-only inquiry system
CN106059940A (en) Flow control method and device
CN106888238A (en) A kind of method of data synchronization and device
CN115951845A (en) Disk management method, device, equipment and storage medium
CN107454137B (en) Method, device and equipment for on-line business on-demand service
CN114036160A (en) Real-time data acquisition method and device, electronic equipment and storage medium
CN114124763A (en) Method and system for measuring broadband access rate
CN113132463A (en) Distributed large file fast downloading method and system
Beserra et al. Comparing the performance of OS-level virtualization tools in SoC-based systems: The case of I/O-bound applications
CN104618421A (en) Method and device for distributing storage resources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161123

RJ01 Rejection of invention patent application after publication