CN105847442B - A kind of speed of download method of adjustment, background server, terminal and system - Google Patents

A kind of speed of download method of adjustment, background server, terminal and system Download PDF

Info

Publication number
CN105847442B
CN105847442B CN201610368489.7A CN201610368489A CN105847442B CN 105847442 B CN105847442 B CN 105847442B CN 201610368489 A CN201610368489 A CN 201610368489A CN 105847442 B CN105847442 B CN 105847442B
Authority
CN
China
Prior art keywords
download
speed
terminal
next period
downloading
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.)
Active
Application number
CN201610368489.7A
Other languages
Chinese (zh)
Other versions
CN105847442A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610368489.7A priority Critical patent/CN105847442B/en
Publication of CN105847442A publication Critical patent/CN105847442A/en
Application granted granted Critical
Publication of CN105847442B publication Critical patent/CN105847442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides a kind of speed of download method of adjustment, background server, terminal and system, this method comprises: determining that the quantity of the terminal of newly-increased downloading file of next period and current period extend to next period and continues to download the quantity of the terminal of file;The quantity that next period continues to download the terminal of file is extended to according to the quantity of the terminal of newly-increased downloading file of next period and current period, determines speed of download synthesis total value corresponding with the downloading terminal quantity of file of next period estimated;By the comprehensive total value of the speed of download divided by the terminal quantity of downloading of the next period file estimated, the value of the average speed of download in the next period distributed by terminal is obtained;The value of the average speed of download in next period is distributed into terminal, with controlling terminal next period speed of download.The embodiment of the present invention can achieve the purpose that the download bandwidth for rationally utilizing Resource Server by adjusting the average speed of download of next period terminal downloading files.

Description

A kind of speed of download method of adjustment, background server, terminal and system
Technical field
The present invention relates to network technique fields, more specifically to a kind of speed of download method of adjustment, background service Device, terminal and system.
Background technique
In daily life, terminal often with have from CDN (Content Delivery Network, content distributing network) etc. provide The demand of source server downloading file;The download bandwidth that Resource Server is used to provide file download is often limited, when certain a period of time When carving more from the terminal quantity of Resource Server downloading file, the utilization of the download bandwidth of Resource Server will increase, can Bandwidth wave crest can be formed, and when the terminal quantity from Resource Server downloading file is less, the download bandwidth of Resource Server Utilization will reduce, it is possible to create bandwidth trough, Fig. 1 show the download bandwidth of Resource Server utilization trend illustrate Figure, can refer to.
As can be seen that the download bandwidth utilization of Resource Server is more nervous in the bandwidth peak stage, download bandwidth is utilized Higher cost, and in the bandwidth trough stage, the utilization rate of the download bandwidth of Resource Server is lower, the cost of idleness of download bandwidth It is higher, therefore how the download bandwidth of reasonable utilization Resource Server seems particularly necessary.
It was found by the inventors of the present invention that the utilization rate and terminal of the download bandwidth of Resource Server are downloaded from Resource Server The speed of download of file is related, therefore how reasonably to be adjusted to the speed of download of terminal downloading files, rationally to utilize The download bandwidth of Resource Server becomes those skilled in the art's problem in need of consideration.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of speed of download method of adjustment, background server, terminal and system, With the speed of download by adjusting terminal downloading files, realizes and rationally utilize the purpose of the download bandwidth of Resource Server.
To achieve the above object, the embodiment of the present invention provides the following technical solutions:
A kind of speed of download method of adjustment is applied to background server, which comprises
Determine that the quantity of the terminal of newly-increased downloading file of next period and current period extend to next period continuation Download the quantity of the terminal of file;
Next period is extended to according to the quantity of the terminal of newly-increased downloading file of next period and current period The quantity for continuing the terminal of downloading file determines speed of download corresponding with the downloading terminal quantity of file of next period estimated Comprehensive total value;
By the comprehensive total value of the speed of download divided by the terminal quantity of downloading of the next period file estimated, obtain for The value of the average speed of download in next period that terminal is distributed;
The value of the average speed of download in next period is distributed into terminal, with controlling terminal next period downloading Speed.
The embodiment of the present invention also provides a kind of speed of download method of adjustment, is applied to terminal, and based under described above Carry speed adjustment method;The described method includes:
Obtain the value of the average speed of download in next period of background server distribution;
The value of the speed of download in next period is adjusted to the value of the average speed of download;
File is downloaded from Resource Server with the corresponding speed of download of value of the average speed of download in next period.
The embodiment of the present invention also provides a kind of background server, comprising:
Terminal quantity determining module, the quantity and current period of the terminal for determining newly-increased downloading file of next period Extend to next period continue download file terminal quantity;
Speed of download integrates total value determining module, for the number according to the newly-increased terminal for downloading file of next period Amount and current period extend to the quantity for continuing the terminal of downloading file in next period, the next period for determining and estimating Download the comprehensive total value of the corresponding speed of download of terminal quantity of file;
Be averaged speed of download value determining module, for the speed of download to be integrated total value divided by the next week estimated Phase downloads the terminal quantity of file, obtains the value of the average speed of download in the next period distributed by terminal;
Distribution module is existed for the value of the average speed of download in next period to be distributed to terminal with controlling terminal The speed of download in next period.
The embodiment of the present invention also provides a kind of terminal, comprising:
Module is obtained, the value of the average speed of download in next period for obtaining background server distribution;
Module is adjusted, for the value of the speed of download in next period to be adjusted to the value of the average speed of download;
File download module is used in next period, with the corresponding speed of download of value of the average speed of download, from money Source server downloads file.
The embodiment of the present invention also provides a kind of speed of download adjustment system, comprising: Resource Server, terminal, background service Device;
The background server, quantity and current period for determining the terminal of newly-increased downloading file of next period are prolonged Continue to next period and continues to download the quantity of the terminal of file;According to the terminal of newly-increased downloading file of next period Quantity and current period extend to the quantity for continuing the terminal of downloading file in next period, the next week for determining and estimating Phase downloads the comprehensive total value of the corresponding speed of download of terminal quantity of file;The comprehensive total value of the speed of download is estimated divided by described Next period downloading file terminal quantity, obtain the value of the average speed of download in the next period distributed by terminal;It will The value of the average speed of download in next period distributes to terminal;
The terminal, the value of the average speed of download in next period for obtaining background server distribution;By next week The value of the speed of download of phase is adjusted to the value of the average speed of download;In next period, with the value of the average speed of download Corresponding speed of download downloads file from Resource Server;
The Resource Server, for the file of terminal downloads to be handed down to terminal.
Based on the above-mentioned technical proposal, in embodiments of the present invention, background server can determine the newly-increased downloading of next period The quantity and current period of the terminal of file extend to the quantity for continuing the terminal of downloading file in next period, thus really It makes and integrates total value with the speed of download for the corresponding theory of the downloading terminal quantity of file of next period estimated, and then by institute The comprehensive total value of speed of download is stated divided by the terminal quantity of downloading of the next period file estimated, obtains being distributed by terminal The value of the average speed of download in next period, by the value of the average speed of download in determined next period be with next period it is new The quantity and current period for increasing the terminal of downloading file extend to next period and continue to download the quantity of terminal of file and be What basis determined, therefore determine that the value of the average speed of download in next period can be with the end for downloading of the next period file estimated The terminal quantity for downloading of the next period file held quantity corresponding, and estimated will directly affect under next period Resource Server Wide utilization rate is carried, therefore the average speed of download that identified next period is distributed by terminal can be with next period resource The utilization rate of the download bandwidth of server matches, and realizes reasonable utilization of next period to the download bandwidth of Resource Server. Meanwhile speed of download method of adjustment provided in an embodiment of the present invention, be according to the average speed of download of period real-time monitoring terminal, Therefore each stage that download bandwidth uses can be covered, so that terminal can obtain correspondence in download bandwidth idle and busy Under the conditions of preferably speed of download, realize the reasonable utilization of download bandwidth.Speed of download adjustment side provided in an embodiment of the present invention Method can reach rationally by adjusting the average speed of download of next period terminal downloading files using under Resource Server Carry wide purpose.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the utilization trend schematic diagram of the download bandwidth of Resource Server;
Fig. 2 is the schematic diagram of download bandwidth increase with time;
Fig. 3 is the effect diagram of the embodiment of the present invention;
Fig. 4 is the structural block diagram that speed of download provided in an embodiment of the present invention adjusts system;
Fig. 5 is the flow chart of speed of download method of adjustment provided in an embodiment of the present invention;
Fig. 6 is the method flow diagram of the comprehensive total value of determining speed of download provided in an embodiment of the present invention;
Fig. 7 is the method flow diagram of Prediction Theory highest speed of download provided in an embodiment of the present invention;
Fig. 8 is different date property bandwidth usage amount gap contrast schematic diagrams;
Fig. 9 is the method flow diagram of the download bandwidth provided in an embodiment of the present invention for estimating next period;
Figure 10 is the signaling diagram that speed of download provided in an embodiment of the present invention adjusts process;
Figure 11 is another flow chart of speed of download method of adjustment provided in an embodiment of the present invention;
Figure 12 is the structural block diagram of background server provided in an embodiment of the present invention;
Figure 13 is the structural block diagram of the comprehensive total value determining module of speed of download provided in an embodiment of the present invention;
Figure 14 is the structural block diagram that theoretical highest speed of download provided in an embodiment of the present invention estimates unit;
Figure 15 is another structural block diagram of background server provided in an embodiment of the present invention;
Figure 16 is another structural block diagram of background server provided in an embodiment of the present invention;
Figure 17 is the hardware structure diagram of background server provided in an embodiment of the present invention;
Figure 18 is the structural block diagram of terminal provided in an embodiment of the present invention;
Figure 19 is the component framework schematic diagram that speed of download provided in an embodiment of the present invention adjusts system.
Specific embodiment
It was found by the inventors of the present invention that x-axis indicates download time, then eventually if indicating the speed of download of terminal with y-axis When downloading file from Resource Server, speed of download may be considered the big of downloading file with the area that download time is formed at end Small, i.e., speed of download may be considered the size for downloading file multiplied by download time;And for a terminal, downloading in the unit time The size of file may be considered download bandwidth used in terminal downloads;As shown in Fig. 2, if terminal does not have in primary downloading In the case where completion, subsequent newly-increased download bandwidth can increase always at any time, therefore under reasonable utilization Resource Server Carry wide it is critical that how reasonably to regulate and control the speed of download of terminal downloading files;
However, the speed of download of terminal often limits in a certain range at present, this leads to the downloading of Resource Server The utilization rate of bandwidth is lower, can not reasonable utilization Resource Server download bandwidth;After study, the present inventor It is considered as the mode of the average speed of download of the terminal downloading files of dynamic adjustment in real time, reaches reasonable utilization Resource Server Download bandwidth purpose;The effect that the embodiment of the present invention obtains can be as shown in figure 3, low in download bandwidth in use, whole increase The average speed of download of big all terminals, download bandwidth accumulation caused by the newly-increased downloading of reduction, reduction bandwidth use cost, and Download bandwidth it is high in use, adjustment terminal downloading files average speed of download, reduce download bandwidth peak value;
It is right since the core of the embodiment of the present invention is the average speed of download that real-time dynamic adjusts terminal downloading files The average speed of download of terminal divides the period regulate and control, and determines the average speed of download that each period regulated and controled, and becomes this The key that inventive embodiments are realized;Based on this thought, following will be combined with the drawings in the embodiments of the present invention, to the embodiment of the present invention In technical solution be clearly and completely described, it is clear that described embodiments are only a part of the embodiments of the present invention, Instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative labor Every other embodiment obtained under the premise of dynamic, shall fall within the protection scope of the present invention.
Fig. 4 is the structural block diagram that speed of download provided in an embodiment of the present invention adjusts system, referring to Fig. 4, the speed of download Adjustment system may include: Resource Server 10, terminal 20, background server 30;
Wherein, Resource Server can be CDN etc. can provide downloading resource (such as video, audio, game text for terminal Part) server;
Terminal can be the equipment with file download demand, such as mobile phone, tablet computer, laptop user are set It is standby, it is clear that terminal is also likely to be the network side equipment with downloading demand of network side;Settable download component is under in terminal Carry application (downloading application such as downloader);Downloader is the user oriented software group that secondary development is carried out based on download component Part, if it is the file at downloading PC (personal computer) end, then downloader is mountable on PC, if it is downloading mobile phone terminal text Part, then downloader is mountable on mobile phone;Download component is responsible for the component software of downloading, can be called by downloader from resource Server downloads file;
Background server can be with the matched back-stage management server of downloader that is loaded in terminal, background server can It is communicated by downloader with terminal, and manages downloader;
In embodiments of the present invention, background server can analyze the average speed of download in a determining terminal lower period, and will The value of identified average speed of download distributes to each terminal;Terminal can be based on the value of obtained average speed of download, under One period modulation speed of download is corresponding to average speed of download, to publish papers by the way that average speed of download is lower from Resource Server Part realizes that the real-time dynamic of average speed of download adjusts, achievees the purpose that the download bandwidth for rationally utilizing Resource Server.
Speed of download method of adjustment provided in an embodiment of the present invention is introduced with the angle of background server below.
Fig. 5 is the flow chart of speed of download method of adjustment provided in an embodiment of the present invention, and this method can be applied to backstage and take Business device, the background server can be communicated with terminal, Resource Server, obtain related data from terminal and Resource Server, To be embodied as the average speed of download in a terminal distribution lower period, so that terminal can be averaged speed of download in next period modulation;
Referring to Fig. 5, this method may include:
Step S100, determine the quantity of the terminal of newly-increased downloading file of next period and current period extend to it is described under One period continued to download the quantity of the terminal of file;
Optionally, the embodiment of the present invention can be using setting time interval as periodic intervals, thus pushing away with the time It moves, constantly enters the new period;Therefore next period can be and current period away from the setting time interval will be into The new period entered;
Setting time interval such as 5 minutes, 10 minutes, it is assumed that 00:00 to 00:05 is a cycle, then 00:06 is extremely 00:10 is just second period;It is to choose 5 minutes or 10 minutes as, periodic intervals, it is more or 1 hour, theoretical The upper fluctuation situation depending on download terminal quantity;Assuming that downloading the fluctuation quantity of the download terminal of file from Resource Server It is bigger, such as first 1 minute or 10 terminal downloads, afterawhile after clock, just there are 1000 terminal downloads, then this hair Bright embodiment can shorten periodic intervals, be changed to 1 minute, after regulating and controlling in this way, the adjustment effect of speed of download will be with reality The Resource Server downloading situation on border matches;If within a certain period of time, the quantity variation of download terminal is less, that Periodic intervals are extended;
Optionally, in practical applications, in order to be adapted to all business, the embodiment of the present invention can also choose a smallest week Phase time interval;
As can be seen that periodic intervals can be adjusted dynamically, can be based on downloading service in the embodiment of the present invention Characteristic, be adjusted by the fluctuation situation of download terminal quantity;
The terminal of newly-increased downloading file of next period is that the slave Resource Server increased newly in next period downloads the end of file End;
Current period extends to the terminal for continuing downloading file in next period, is unfinished text after current period Part downloading, need to next period continue download file terminal.
Step S110, institute is extended to according to the quantity of the terminal of newly-increased downloading file of next period and current period It states next period to continue to download the quantity of the terminal of file, determine corresponding with the downloading terminal quantity of file of next period estimated The comprehensive total value of speed of download;
Optionally, the terminal quantity for downloading of the next period file estimated can be, newly-increased downloading file of next period The quantity and current period of terminal extend to next period continue download file terminal quantity adduction;
The comprehensive total value of the speed of download can be, and the quantity of the terminal of newly-increased downloading file of next period is corresponding Speed of download integrated value, in addition, the quantity that current period extends to the terminal that next period continues downloading file is corresponding Speed of download integrated value;
Optionally, the corresponding speed of download integrated value of quantity of the terminal of newly-increased downloading file of next period can be, institute State the addition and value of the speed of download of each terminal of newly-increased downloading file of next period;
And the corresponding speed of download of quantity that current period extends to the terminal that next period continues downloading file is comprehensive Conjunction value can be, current period extend to next period continue download file each terminal speed of download addition and value.
Step S120, by the comprehensive total value of the speed of download divided by the number of terminals of downloading of the next period file estimated Amount, obtains the value of the average speed of download in the next period distributed by terminal;
The value of the average speed of download in the identified next period distributed by terminal, can under next period for estimating The terminal quantity of published article part is corresponding, and the terminal quantity for downloading of the next period file estimated will directly affect next period resource The utilization rate of the download bandwidth of server, therefore the value of the average speed of download in the identified next period distributed by terminal It can match with the utilization rate of the download bandwidth of next period Resource Server, rationally to utilize Resource Server in next period Download bandwidth provide may.
Step S130, the value of the average speed of download in next period is distributed into terminal, with controlling terminal next The speed of download in period.
The average speed of download in identified next period is distributed to each terminal by background server, may make terminal It is corresponding to the average speed of download that speed of download can be adjusted in next period, enable the speed of terminal downloading files and money Source server is corresponding in the download bandwidth usage amount in next period, realizes the reasonable of the download bandwidth of next period Resource Server It utilizes.
Speed of download method of adjustment provided in an embodiment of the present invention may include: that background server determines that next period newly-increased The quantity and current period for downloading the terminal of file extend to the quantity for continuing the terminal of downloading file in next period;Root Next period, which is extended to, according to the quantity and current period of the terminal of newly-increased downloading file of next period continues lower published article The quantity of the terminal of part determines the comprehensive total value of speed of download corresponding with the downloading terminal quantity of file of next period estimated; By the comprehensive total value of the speed of download divided by the terminal quantity of downloading of the next period file estimated, obtain by terminal point The value of the average speed of download in the next period matched;The value of the average speed of download in next period is distributed into terminal, with Speed of download of the controlling terminal in next period.
As can be seen that in embodiments of the present invention, background server can determine the end of newly-increased downloading file of next period The quantity and current period at end extend to next period continue download file terminal quantity, so that it is determined that go out and institute The comprehensive total value of the corresponding theoretical speed of download of terminal quantity for downloading of the next period file estimated, so the downloading is fast Comprehensive total value is spent divided by the terminal quantity of downloading of the next period file estimated, and obtains the next period distributed by terminal Average speed of download value, since the value of the average speed of download in the identified next period distributed by terminal is following The quantity and current period of the terminal of one period newly-increased downloading file extend to the terminal for continuing downloading file in next period Quantity based on determine, therefore the value of the average speed of download in identified next period can under next period for estimating The terminal quantity of published article part is corresponding, and the terminal quantity for downloading of the next period file estimated will directly affect next period resource The utilization rate of the download bandwidth of server, therefore the average speed of download in identified next period can take with next period resource The utilization rate of the download bandwidth of business device matches, and realizes reasonable utilization of next period to the download bandwidth of Resource Server.Together When, speed of download method of adjustment provided in an embodiment of the present invention, be according to the average speed of download of period real-time monitoring terminal, because This can cover each stage that download bandwidth uses, so that terminal can obtain corresponding item in download bandwidth idle and busy Preferably speed of download under part, realizes the reasonable utilization of download bandwidth.Speed of download method of adjustment provided in an embodiment of the present invention, The lower carrier band for rationally utilizing Resource Server can be reached by adjusting the average speed of download of next period terminal downloading files Wide purpose.
Optionally, when entering each new period, circulation executes method shown in Fig. 5, can be according to period real-time monitoring terminal Average speed of download, realize the reasonable utilization of each period download bandwidth.
Optionally, Fig. 6, which is shown, determines speed of download corresponding with the downloading terminal quantity of file of next period estimated The method flow diagram of comprehensive total value, referring to Fig. 6, this method may include:
Step S200, the theoretical highest speed of download of the terminal of newly-increased downloading file of next period is estimated;
The theoretical highest speed of download of the terminal of newly-increased downloading file of next period, is estimated resonable for the embodiment of the present invention By highest speed of download upper, that the terminal of newly-increased downloading file of next period can achieve;
Optionally, the embodiment of the present invention can determine corresponding to the newly-increased downloading quantity of terminal of file of next period Initial theory highest speed of download, due to family's bandwidth that terminal uses etc., initial theory highest speed of download may There can be a degree of speed-raising loss, therefore the embodiment of the present invention can determine speed-raising loss parameter, by the initial theory Parameter is lost multiplied by speed-raising in highest speed of download, obtains candidate theoretical highest speed of download, and then be based on candidate theoretical most relative superiority or inferiority Carry the theoretical highest speed of download that speed determines the terminal of newly-increased downloading file of next period;
With VTIndicate the corresponding initial theory highest speed of download of quantity of the terminal of newly-increased downloading file of next period, S Indicate speed-raising loss parameter, then candidate theoretical highest speed of download can pass through VT* S is determined;
Further, since the time that the file download that user can restrain oneself waiting is completed has certain limitations, Yong Huneng The time for enough restraining oneself the file download completion of waiting is known as longest and restrains oneself the waiting time, therefore the embodiment of the present invention need to ensure terminal Restrain oneself in the longest and completes file download in the waiting time;Based on such situation, the embodiment of the present invention need to be arranged under minimum guarantee Speed is carried, guarantees that terminal restrains oneself in longest and completes file download in the waiting time, to reduce the appearance downloading deadline and be more than Longest restrains oneself the case where waiting time;When minimum guarantee speed of download can restrain oneself waiting divided by longest by download file size Between obtain;
Optionally, the embodiment of the present invention can be in conjunction with the minimum guarantee of the candidate theoretical highest speed of download and pre-determining Speed of download determines the theoretical highest speed of download of the terminal of newly-increased downloading file of next period;Specifically, the embodiment of the present invention It can be by the candidate theoretical highest speed of download and minimum the larger value ensured in speed of download, as the theoretical most relative superiority or inferiority Carry speed.
Step S210, by the quantity of the theoretical highest speed of download and the terminal of newly-increased downloading file of next period It is multiplied, obtains the first speed of download integrated value;And by the average speed of download of current period and current period extend to it is described under The quantity that one period continued to download the terminal of file is multiplied, and obtains the second speed of download integrated value;
First speed of download integrated value may be considered the terminal of newly-increased downloading file of next period quantity it is corresponding under Carry speed integrated value;Second speed of download integrated value, which may be considered current period and extend to next period, continues lower published article The corresponding speed of download integrated value of the quantity of the terminal of part.
Step S220, determining and pre- according to the first speed of download integrated value and the second speed of download integrated value The comprehensive total value of the corresponding speed of download of terminal quantity for downloading of the next period file estimated.
Optionally, the comprehensive total value of the speed of download can be the first speed of download integrated value and second downloading The adduction of speed integrated value.
Optionally, Fig. 7 shows the reason of the terminal provided in an embodiment of the present invention for estimating newly-increased downloading file of next period By the method flow diagram of highest speed of download, referring to Fig. 7, this method may include:
Step S300, determination initial theory highest corresponding with the newly-increased downloading quantity of terminal of file of next period Speed of download;
Optionally, the corresponding initial theory highest speed of download V of quantity of the terminal of newly-increased downloading file of next periodTIt is main It will be with the download bandwidth upper limit W for the Resource Server estimatedmax, bandwidth regulatory factor f, the download bandwidth usage amount of current period W1, downloading is not completed after current period but the quantity P of the terminal of downloading is completed when next period startsfin, current period Average speed of download V1And the quantity P of the terminal of newly-increased downloading file of next period2nIt is related;
Optionally, the embodiment of the present invention can determine the initial theory highest speed of download V according to the following formulaT
Step S310, the initial theory highest speed of download is multiplied with speed-raising loss parameter, obtains candidate theoretical most High speed of download;
Candidate theoretical highest speed of download can pass through formula VT* S is obtained, and wherein S is speed-raising loss parameter.
Step S320, biggish value is chosen from the candidate theoretical highest speed of download and minimum guarantee speed of download, As the theoretical highest speed of download.
Optionally, minimum guarantee speed of download can be obtained by formula D/T, and wherein D is the downloading file of single download The size of amount, T are that longest restrains oneself the waiting time;
Then the embodiment of the present invention can be from VT* biggish value is chosen in S and D/T, as the theoretical highest speed of download.
The theoretical highest speed of download for setting the terminal of a period newly-increased downloading file is Vn, then correspondingly, the present invention is real Applying example can determine that theoretical highest speed of download is V by following formulan
Parameters in Formula is explained below:
WmaxThe download bandwidth upper limit for the Resource Server estimated, for control bandwidth cost, carrying out, bandwidth cost is pre- When estimating, the embodiment of the present invention is contemplated that the downloading of naturally newly-increased and the history same period the unit statistical time of download bandwidth Bandwidth mean value determines the theoretical peak of the download bandwidth of subsequent per unit statistical time, obtains Wmax;Optionally, if bandwidth Clearing monthly carry out, then unit statistical time can be one day, and the embodiment of the present invention can determine monthly daily lower carrier band Wide theoretical peak, obtains Wmax, i.e., current bandwidth cost clearing are settled accounts according to the month of day peak value;
Optionally, consider that the download bandwidth of naturally newly-increased and the history same period the unit statistical time of download bandwidth is equal Value, the embodiment of the present invention can determine W according to the following formulamax
Wmax=Wavg*(1+Prate);
Wherein, WavgFor history, with interim same type of unit statistical time, (such as same date type distinguishes work Day, festivals or holidays) bandwidth peak mean value;And PrateIt is the average download bandwidth growth rate between bandwidth cost settlement time; PrateAs unit of bandwidth cost settlement time, bandwidth cost settlement time may include multiple unit statistical times;Such as bandwidth Cost settlement time can be one month, and the embodiment of the present invention can determine this year monthly to download bandwidth compared with the same period of last year monthly Weighted average growth rate, obtain Prate
It is understood that each month in such as this year uses the download bandwidth for increasing 10% compared with the same period of last year Amount, then PrateIt is just 10%;But in fact, the embodiment of the present invention is settable closer from current time, what download bandwidth increased Weight is bigger, the month remoter apart from current time, and the weight that download bandwidth increases is smaller, so that this year determined is monthly It is more accurate to the weighted average growth rate of download bandwidth compared with the same period of last year monthly;And unit statistical time can be one month Interior every day;
Optionally, identified WavgThe periods such as working day, festivals or holidays and winter and summer vacation can be different from;Working day and vacation The download bandwidth usage amount of day has significant difference, and Fig. 8 shows different date property bandwidth usage amount gap contrast schematic diagrams, figure Curve above in 8 indicates the download bandwidth usage amount of holiday, and curve below indicates workaday download bandwidth usage amount.
F is bandwidth regulatory factor, is adjusted according to the Activity Type for influencing download;That is f belongs to controllable parameter, under The Activity Type of one cycle influences download determines that f value corresponding to different Activity Types is different;Such as next period It can get the activity of special awards with downloading file, then the growth of next period download will be more than next period without spy The situation for the activity very rewarded;
The embodiment of the present invention can estimate the corresponding download of Activity Type in next period, and determine estimated download With the multiple value of the download of history same period when no Activity Type, using identified multiple value as the activity class in next period The corresponding bandwidth regulatory factor of type;Alternatively, the embodiment of the present invention can estimate the corresponding newly-increased downloading of Activity Type in next period The multiple value of the newly-increased download of history same period when measuring, and determining the newly-increased download estimated with without Activity Type, by institute Activity Type corresponding bandwidth regulatory factor of the determining multiple value as next period;
For example, activity of the operation personnel in one influence download of weekend strategy, and on the day of estimating out Weekend Activities Times of the download (or newly-increased download) of download (either newly-increased download) and the same period (in the past without movable weekend) Number is 3 times, then bandwidth regulatory factor f can be 3;
Optionally, in addition to the Activity Type for considering next period, it is also possible to consider other marginal factors to add for the embodiment of the present invention It weighs and determines bandwidth regulatory factor f, but be mainly determined based on the Activity Type in next period.
W1It can be the download bandwidth usage amount of current period.
V1It can be the average speed of download of current period terminal.
PfinThe terminal that can be the current period estimated completes the terminal quantity of downloading, optionally, 0 < in next period Pfin< P1, P1Indicate the total number of terminals of current period;Optionally, at the end of current period, the embodiment of the present invention be can determine not In the terminal for completing downloading, the speed of download of the size for the file that each terminal is not downloaded and each terminal in current period;For At the end of current period, do not complete downloading each terminal, the embodiment of the present invention can by the size for the file that terminal is not downloaded divided by The speed of download of current period, obtains the downloading deadline for not completing each terminal of downloading, and the downloading deadline is less than week The quantity of the terminal of phase time interval, it is believed that be that the terminal of estimated current period completes the number of terminals of downloading in next period Amount, obtains Pfin
Optionally, in practical applications, the terminal of downloading is not completed in current period, it may be possible to after next period starts Gradual to complete downloading, the deadline may cover next period and start to the period of next end cycle;It and is convenient for public affairs On formula calculates, the embodiment of the present invention is believed that the terminal that downloading is not completed in current period when next period starts, that is, is completed Downloading;That is PfinIt can simply be considered not completing downloading in current period, and the terminal of downloading is completed when next period starts Quantity.
Optionally, the embodiment of the present invention can set the speed of download of i-th of terminal of current period as ViAlthough (current period is whole The average speed of download at end is V1, but this speed of download that only ideal controls, the speed of download of not all terminal is all It is V1, therefore ViI-th of terminal be may be considered in the actual download speed of current period), i-th of terminal is in current period At the end of the size of file do not downloaded be Bi, then can pass through Bi/ViThe downloading deadline of i-th of terminal is obtained, with Δ t table Show periodic intervals (i.e. periodic intervals), then the embodiment of the present invention can determine Bi/ViThe quantity of the terminal of < Δ t, is estimated The terminal of current period completes the terminal quantity P of downloading in next period outfin
P2nFor the quantity of the terminal of the newly-increased downloading file in the next period estimated;The embodiment of the present invention can determine several In a history cycle, the speedup of download terminal quantity corresponding to each history cycle, so that it is determined that several history cycle institutes The average speedup of corresponding download terminal quantity, (can be according to next period institute by identified average speedup and default speedup The factor of setting is extracted in the activity to be held) it is compared, choose the big speedup of numerical value;By the big speedup of selected numerical value It is multiplied with the quantity of the terminal of the newly-increased downloading file of current period, estimates out the terminal of the newly-increased downloading file in next period Quantity;
M history cycle is such as chosen, the quantity speedup of the download terminal of j-th of history cycle in M history cycle is aj, then the embodiment of the present invention can determine P according to the following formula2n
For example, the embodiment of the present invention can determine the quantity speedup of the download terminal of preceding 5 history cycle, and it is defined as a1, a2, a3, a4And a5, define the quantity P of the terminal of the newly-increased downloading file of default speedup C and current period1n, then P2nIt can be according to such as Lower formula determines:
Optionally, the terminal of the newly-increased downloading file in next period, it may be possible to gradually increase after next period starts, The increase time of the terminal of newly-increased downloading file may cover next period and start to the period of next end cycle;It and is just In in formula calculating, the embodiment of the present invention is believed that when next period starts, and the terminal of all newly-increased downloading files has increased It adds complete;That is P2nIt is regarded as when next period starts, increases the quantity of the terminal of the newly-increased downloading file finished.
S is speed-raising loss parameter, i.e., after the average speed of download of promotion of embodiment of the present invention terminal, terminal is by being used The limitation of bandwidth, the speed of download extent index being lost;For example the embodiment of the present invention promotes the average speed of download of terminal To 2MB/S, but by the limitation of the used family's bandwidth of terminal etc., terminal actual capabilities are unable to get the average downloading of 2MB/S Speed, but can there are a degree of losses to the average speed of download of promotion;
The embodiment of the present invention can be reported to the speed of download data of background server (comprising real-time speed of download by terminal Data and history speed of download data), speed-raising loss parameter is obtained by background server analysis;For example, the downloading speed of terminal Degree is adjusted to 2MB/s (note that is adjusted is the average speed of download that Resource Server distributes to each terminal), still, due to The highest speed of download of family's bandwidth of terminal can only achieve 1MB/s, then under actual conditions terminal highest speed of download It can only achieve 1MB/s;Then the embodiment of the present invention can be reported to the speed of download data of background server according to terminal, and calculating mentions Speed loss;I.e. the embodiment of the present invention can determine current speed of download lower than adjusted by the real-time report data of terminal User's ratio of average speed of download, calculates S.
D may be considered the size of the downloading file amount of single download;Single download refers to that single completely downloads behavior, For example once need to download multiple files (downloaded to install immediately), then the total size for the multiple files that need to once download (sum for the All Files size that need to once download) may be considered the size of the downloading file amount of single download.
T is that longest restrains oneself the waiting time, for being the downloading waiting time based on user, if the time of single download is super It crosses longest to restrain oneself the waiting time, then the cancellation rate downloaded can steeply rise, it is therefore desirable to the waiting time is restrained oneself by the way that longest is arranged, Guarantee that terminal is restrained oneself in longest with minimum guarantee speed of download and complete downloading in the waiting time, without downloading the deadline The case where restraining oneself the waiting time more than longest;Minimum guarantee speed of download can be obtained by D/T;
Optionally, background server can provide minimum guarantee speed of download, and minimum guarantee speed of download is according to a certain The bandwidth mean value in region (such as the whole nation or a province or a city) calculates;For example, the user in a line city, bandwidth condition can Can be better, speed of download is likely to be breached 1MB/s~10MB/s, and samll cities and towns, rural area, possible highest speed of download are 100KB/ S~1MB/s then is averaged, and can calculate the minimum guarantee speed in the whole nation, it is assumed that is 500KB/s;
Then, based on this minimum guarantee speed, the downloading cancellation rate of user is analyzed (under downloading cancellation rate is cancelled Mounted terminal quantity/total download terminal quantity), calculate the maximum critical value of cancellation rate;For example, it is assumed that when speed of download is When 500KB/s~800KB/s, downloading cancellation rate is floated always 20%, and after speed is more than 800KB/s, cancellation rate reduces bright It is aobvious, it is 10%, then 800KB/s is exactly the patient minimum speed of download of user institute defined, i.e., minimum guarantee speed of download, So, the waiting time that the longest of user is restrained oneself is exactly the size of single download file divided by 800KB/s.
?And PfinIt is considered not completing in current period Downloading, and the quantity of the terminal of downloading is completed when next period starts, P2nIt is considered that increase finishes when next period starts Newly-increased downloading file terminal quantity in the case where,
In the theoretical highest speed of download V for the terminal for determining newly-increased downloading file of next periodnAfterwards, the embodiment of the present invention can With by VnMultiplied by the quantity P of the terminal of newly-increased downloading file of next period2nObtain the first speed of download integrated value, i.e., first Speed of download integrated value can be Vn*P2n
And with V1The average speed of download of current period terminal is defined, with P1The total number of terminals of current period is defined, with Pfin Define current period terminal next period complete downloading terminal quantity, then current period extend to next period after The quantity of the terminal of continuous downloading file can be P1-Pfin, correspondingly, the embodiment of the present invention can be by V1Multiplied by P1-PfinObtain second Speed of download integrated value, i.e. the second speed of download integrated value can be V1*(P1-Pfin);
Optionally, then the comprehensive total value of speed of download can be Vn*P2n+V1*(P1-Pfin), it publishes papers under the next period estimated The terminal quantity of part can be P1-Pfin+P2n, correspondingly, the value V of the average speed of download in the next period distributed by terminal2 It can be determined by following formula;
The embodiment of the present invention is regulated and controled by the speed of download to y-axis terminal, then with the variation of x-axis time, terminal Used download bandwidth will change, so that the adjustment of the average speed of download by terminal downloading files, reaches reasonable Utilize the purpose of the download bandwidth of Resource Server.
Optionally, the embodiment of the present invention can be with downloading privilege in next period for having the terminal of downloading privilege Terminal, the speed of download for being higher than average speed of download is provided, have downloading privilege terminal can such as payment terminal, according to Different payment numbers has the classification of the terminal of downloading privilege may be different;So by having the terminal of downloading privilege to be increased The download bandwidth added then belongs to additional increase bandwidth;The embodiment of the present invention can from total terminal in next period selected part it is whole It holds as the terminal with downloading privilege, with P2Indicate total number of terminals in next period, PvIndicate the terminal with downloading privilege It counts, then 0≤Pv<P2
Further, the embodiment of the present invention can be classified the terminal with downloading privilege, will have the end of downloading privilege End is divided into n grade, and n is the integer greater than 1, and the number of terminals of k-th of grade is Pk(k is integer, and 0 < k≤n);Then for The terminal of k grade, the speed of download of terminal are average speed of download V2Rk(R againk>1);RkGrade k is relative to flat where representing Equal speed of download V2Speed-raising multiple;Such as the speed of download of the privilege terminal of highest level, average speed of download V can be210 Times, the speed of download of the second high-grade privilege terminal can be average speed of download V25 times etc.;
Then for the embodiment of the present invention after determining the value of average speed of download in next period, determining has the end of downloading privilege The mode of the speed of download at end can be with are as follows: background server is chosen from the terminal of downloading of next period file has downloading privilege Terminal, there is the terminal of downloading privilege to be divided into n grade, n is the integer greater than 1;Determine the speed of download of the terminal of kth grade Promote multiple Rk, wherein k is integer, and 0 < k≤n, Rk>1;The speed of download for determining the terminal of kth grade is next period Average speed of download RkTimes;
Optionally, the embodiment of the present invention can also be by the R of the average speed of downloadkThe value of speed of download again, is distributed to The terminal of kth grade;
The quantity of the terminal for downloading of the next period file estimated may be considered total terminal quantity in next period.
Optionally, the embodiment of the present invention can also estimate the download bandwidth in next period, method flow can with as shown in figure 9, Include:
Step S400, the terminal with downloading privilege is chosen from the terminal of downloading of next period file;
Step S410, the corresponding newly-increased download bandwidth of terminal with downloading privilege selected by determining;
Optionally, have the newly-increased bandwidth of the terminal of downloading privilege can be with WvIt indicates, WvIt can be true by following formula It is fixed:
Step S420, by the product of the quantity of the terminal of downloading of next period file and the average speed of download, in addition The newly-increased download bandwidth obtains the download bandwidth that next period estimated.
The download bandwidth that next period is estimated can be with W2It indicates, then W2It can be determined by following formula:
W2=Wv+P2*V2
System is adjusted below based on speed of download shown in Fig. 4, it is excellent to the embodiment of the present invention with the angle of system signaling process The speed of download Adjusted Option of choosing is introduced.
Figure 10 shows the signaling diagram of speed of download adjustment process provided in an embodiment of the present invention, in conjunction with Fig. 4 and Figure 10 institute Show, which may include:
Step S10, background server determines that the quantity of the terminal of newly-increased downloading file of next period and current period continue Continue the quantity of the terminal of downloading file to next period;
Step S11, background server is determining corresponding with the newly-increased downloading quantity of terminal of file of next period first Begin theoretical highest speed of download;
Optionally, the embodiment of the present invention can determine the initial theory highest speed of download V according to the following formulaT
Wherein, VTFor initial theory highest speed of download, WmaxThe download bandwidth upper limit for the Resource Server estimated, f are Bandwidth regulatory factor, W1For the download bandwidth usage amount of current period, PfinFile is not completed after for the current period estimated Download but complete when next period starts the quantity of the terminal of downloading, V1(it can pass through for the average speed of download of current period Speed of download method of adjustment provided in an embodiment of the present invention determined in a upper period for current period), P2nIt is newly-increased for next period Download the quantity of the terminal of file.
Step S12, the initial theory highest speed of download is multiplied by background server with speed-raising loss parameter, is waited Select theoretical highest speed of download;
Candidate theoretical highest speed of download can pass through formula VT* S is obtained, and wherein S is speed-raising loss parameter.
Step S13, background server is chosen from the candidate theoretical highest speed of download and minimum guarantee speed of download Biggish value estimates out the theoretical highest speed of download of the terminal of newly-increased downloading file of next period;
Optionally, minimum guarantee speed of download can be obtained by formula D/T, and wherein D is the downloading file of single download The size of amount, T are that longest restrains oneself the waiting time;
Then the embodiment of the present invention can be from VT* biggish value is chosen in S and D/T, as the theoretical highest speed of download;
I.e. the embodiment of the present invention can determine that theoretical highest speed of download is V by following formulan
Step S14, background server increases the theoretical highest speed of download and next period newly downloading file The quantity of terminal is multiplied, and obtains the first speed of download integrated value;And the average speed of download of current period is prolonged with current period The quantity for continuing to next period the terminal for continuing to download file is multiplied, and obtains the second speed of download integrated value;
Optionally, the average speed of download of current period can total speed of download based on all terminals of current period with work as The quotient of corresponding time in preceding period determines;
Optionally, the embodiment of the present invention can be by VnMultiplied by the quantity P of the terminal of newly-increased downloading file of next period2n The first speed of download integrated value is obtained, i.e. the first speed of download integrated value can be Vn*P2n
Thinking PfinIt is the number for not completing downloading in current period, and completing the terminal of downloading when next period starts When amount, the quantity that current period extends to the terminal that next period continues downloading file can be P1-Pfin, wherein P1It is fixed Justice is the total number of terminals of current period, PfinThe terminal for being defined as current period completes the terminal quantity of downloading in next period, then Second speed of download integrated value can be V1*(P1-Pfin)。
Step S15, background server is according to the first speed of download integrated value and the second speed of download integrated value, Determine the comprehensive total value of speed of download corresponding with the downloading terminal quantity of file of next period estimated;
Optionally, the comprehensive total value of the speed of download can be the first speed of download integrated value and second downloading The adduction of speed integrated value;The comprehensive total value of speed of download can be Vn*P2n+V1*(P1-Pfin)。
Step S16, background server is by the comprehensive total value of the speed of download divided by publishing papers under the next period estimated The terminal quantity of part is determined as the value of the average speed of download in next period that terminal is distributed;
Optionally, the terminal quantity for downloading of the next period file estimated can be, newly-increased downloading file of next period The quantity and current period of terminal extend to next period continue download file terminal quantity adduction;
Optionally, average speed of download V2It can be determined by following formula;
Step S17, the value of the average speed of download in next period is distributed to each terminal by background server;
Step S18, terminal adjusts the value phase of speed of download and the average speed of download in next period in next period It answers;
Step S19, terminal downloads file to Resource Server with the average speed of download in next period.
Optionally, the embodiment of the present invention can execute provided downloading speed when that will enter next period from current period Method of adjustment is spent, the average speed of download of terminal is adjusted with the change opportunity dynamic in each period.
Speed of download method of adjustment provided in an embodiment of the present invention, due to according to period real-time monitoring, under current period Speed adjustment is carried, will affect the speed of download adjustment in next period, and the speed of download in next period adjusts, and will affect down next The speed of download in period adjusts, and then influences each stage that download bandwidth uses;Therefore it is provided in an embodiment of the present invention under Speed adjustment method is carried, each stage that download bandwidth uses, the end including bandwidth wave crest and bandwidth trough stage can be covered Speed of download adjustment is held, so that preferably downloading is fast in the case where download bandwidth idle and busy can obtain respective conditions for terminal Degree, realizes the reasonable utilization of download bandwidth.
Optionally, the embodiment of the present invention can be with downloading privilege in next period for having the user of downloading privilege User terminal, the speed of download for being higher than average speed of download is provided, so that having the terminal of downloading privilege can be next Period downloads file from Resource Server based on the speed of download for being higher than average speed of download;
Specifically, after determining the average speed of download in next period, total terminal of the background server from next period It is middle to choose the terminal with downloading privilege, there is the terminal of downloading privilege to be divided into n grades;Determine the downloading speed of the terminal of kth grade Degree promotes multiple Rk, wherein 0 < k≤n, and Rk>1;The speed of download for determining the terminal of kth grade is being averaged for next period The R of speed of downloadkTimes;
To which background server can be average speed of download described in the terminal distribution without downloading privilege, and for kth grade Terminal, distribute the R of average speed of downloadkAverage speed of download again;
And then it is corresponding to the value for the speed of download distributed to can adjust speed of download in next period for terminal, and to divide The speed of download matched downloads file to Resource Server.
Therefore, the embodiment of the present invention can also support the speed of download of customized terminal hierarchies to distinguish adjustment, improve privilege The downloading experience of terminal, and the ordinary terminal without downloading privilege can be kept consistent with privilege terminal downloading experience, it is such as common Terminal can be experienced in the speed of download for reaching privilege terminal using idle of download bandwidth.
Described above is the whole preferred embodiment of speed of download method of adjustment provided in an embodiment of the present invention, foregoing description In the protection scope of whole preferred embodiment core concept shown in Fig. 5 and Fig. 6 of the embodiment of the present invention.
Speed of download method of adjustment provided in an embodiment of the present invention, due to according to period real-time monitoring, under current period Speed adjustment is carried, will affect the speed of download adjustment in next period, and the speed of download in next period adjusts, and will affect down next The speed of download in period adjusts, and then influences each stage that download bandwidth uses;Therefore it is provided in an embodiment of the present invention under Speed adjustment method is carried, each stage that download bandwidth uses, the end including bandwidth wave crest and bandwidth trough stage can be covered Speed of download adjustment is held, so that preferably downloading is fast in the case where download bandwidth idle and busy can obtain respective conditions for terminal Degree, realizes the reasonable utilization of download bandwidth;And the embodiment of the present invention can also support the speed of download of customized terminal hierarchies to distinguish Adjustment, improves the downloading experience of privilege terminal;In practical applications, it is adjusted using speed of download provided in an embodiment of the present invention Method, ordinary terminal are able to ascend 15% downloading success rate, and can keep consistent with privilege terminal downloading experience, such as general Logical terminal can be experienced in the speed of download for reaching privilege terminal using idle of download bandwidth;And in practical applications, this hair Bright embodiment can effectively promote download bandwidth utilization rate and reduce download bandwidth peak value to be had so that download bandwidth increases gently Effect control download bandwidth increases within 5%.
Speed of download method of adjustment provided in an embodiment of the present invention is introduced with the angle of terminal below, is described below Speed of download method of adjustment can with above with backstage server side describe speed of download method of adjustment correspond to each other reference.
Figure 11 is another flow chart of speed of download method of adjustment provided in an embodiment of the present invention, and this method can be applied to end End, method shown in Figure 11 can be realized based on the speed of download method of adjustment described above with the description of backstage server side;Ginseng According to Figure 11, speed of download method of adjustment provided in an embodiment of the present invention may include:
Step S500, the value of the average speed of download in next period of background server distribution is obtained;
The determination process of the value of the average speed of download in next period can refer to shown in corresponding portion above.
Step S510, the value of the speed of download in next period is adjusted to the value of the average speed of download;
Step S520, in next period, with the corresponding speed of download of value of the average speed of download, from Resource Server Download file.
Speed of download method of adjustment provided in an embodiment of the present invention, can be by adjusting next period terminal downloading files Average speed of download achievees the purpose that the download bandwidth for rationally utilizing Resource Server.
Background server provided in an embodiment of the present invention is introduced below, background server described below can with it is upper Text corresponds to each other reference with the speed of download method of adjustment that backstage server side describes.
Figure 12 is the structural block diagram of background server provided in an embodiment of the present invention, referring to Fig.1 2, which can To include:
Terminal quantity determining module 100, the quantity of the terminal for determining newly-increased downloading file of next period, and current week Phase extends to the quantity for continuing the terminal of downloading file in next period;
Speed of download integrates total value determining module 110, for according to the newly-increased terminal for downloading file of next period Quantity and current period extend to the quantity for continuing the terminal of downloading file in next period, the next week for determining and estimating Phase downloads the comprehensive total value of the corresponding speed of download of terminal quantity of file;
Average speed of download value determining module 120, for estimating down the comprehensive total value of the speed of download divided by described One period downloaded the terminal quantity of file, obtained the value of the average speed of download in the next period distributed by terminal;
Distribution module 130, for the value of the average speed of download in next period to be distributed to terminal, with controlling terminal In the speed of download in next period.
Optionally, Figure 13 shows the optional of the comprehensive total value determining module 120 of speed of download provided in an embodiment of the present invention Structure, referring to Fig.1 3, the comprehensive total value determining module 110 of speed of download may include:
Theoretical highest speed of download estimates unit 111, the theory of the terminal for estimating newly-increased downloading file of next period Highest speed of download;
First Speed integrated value determination unit 112, for the theoretical highest speed of download and next period is new The quantity for increasing the terminal of downloading file is multiplied, and obtains the first speed of download integrated value;
Second speed integrated value determination unit 113, for continuing the average speed of download of current period and current period The quantity for continuing to download the terminal of file to next period is multiplied, and obtains the second speed of download integrated value;
Speed integrates total value determination unit 114, for according to the first speed of download integrated value and second downloading Speed integrated value determines the comprehensive total value of speed of download corresponding with the downloading terminal quantity of file of next period estimated.
Optionally, Figure 14 shows the alternative construction that theoretical highest speed of download estimates unit 111, and referring to Fig.1 4, it is theoretical Highest speed of download estimates unit 111
Initial theory highest speed of download determines subelement 1111, increases downloading file newly with next period for determining Terminal the corresponding initial theory highest speed of download of quantity;
Candidate theoretical highest speed of download determines subelement 1112, for by the initial theory highest speed of download with mention Speed loss parameter is multiplied, and obtains candidate theoretical highest speed of download;
Subelement 1113 is chosen, for downloading speed from the minimum guarantee of the candidate theoretical highest speed of download and pre-determining Biggish value is chosen in degree, as the theoretical highest speed of download.
Optionally, initial theory highest speed of download determines that subelement 1111 is particularly used in:
According to formulaDetermine the initial theory highest speed of download;
Wherein, VTFor the initial theory highest speed of download, WmaxOn download bandwidth for the Resource Server estimated Limit, f are bandwidth regulatory factor, W1For the download bandwidth usage amount of current period, PfinDownloading is not completed after for current period But the quantity of the terminal of downloading, V are completed when next period starts1For the average speed of download of current period, P2nFor next week The quantity of the terminal of phase newly-increased downloading file.
Optionally, subelement 1113 is chosen to be particularly used in:
According to formulaDetermine the theoretical highest downloading speed Degree;
Wherein VnFor the theoretical highest speed of download, S is speed-raising loss parameter, and D is the downloading file amount of single download Size, T is that longest is restrained oneself the waiting time, and D/T indicates minimum guarantee speed of download.
Optionally, the WmaxDetermination process may include: according to formula Wmax=Wavg*(1+Prate) determine Wmax, Middle WavgIt is history with the mean value of the bandwidth peak of interim same type of unit statistical time, PrateWhen being settled accounts for bandwidth cost Between between average download bandwidth growth rate, bandwidth cost settlement time includes multiple unit statistical times.
Optionally, the PfinDetermination process may include: at the end of current period, determine do not complete downloading end In end, the speed of download of the size for the file that each terminal is not downloaded and each terminal in current period;For terminating in current period When, each terminal for not completing downloading is not completed down by the size for the file that do not download divided by the speed of download of current period The downloading deadline of each terminal carried;Quantity of the deadline less than the terminal of periodic intervals will be downloaded, is determined as Pfin
Optionally, the P2nDetermination process may include: in several determining history cycles, corresponding to each history cycle Download terminal quantity speedup;Determine the average speedup of download terminal quantity corresponding to several history cycles;By institute Determining average speedup is compared with default speedup, chooses the big speedup of numerical value;By the big speedup of selected numerical value with work as The quantity of the terminal of the newly-increased downloading file in preceding period is multiplied, and estimates out the number of the terminal of the newly-increased downloading file in next period Amount, obtains P2n
Optionally, First Speed integrated value determination unit 112 is particularly used in: according to formula Vn*P2nDetermine described first Speed of download integrated value;
Second speed integrated value determination unit 113 is particularly used in: according to formula V1*(P1-Pfin) determine under described second Carry speed integrated value, P1For the total number of terminals of current period, P1-PfinIndicate that current period extends under next period continues The quantity of the terminal of published article part;
Optionally, the comprehensive total value determination unit 114 of speed is particularly used in: according to formula Vn*P2n+V1*(P1-Pfin) determine The comprehensive total value of the speed of download.
Optionally, average speed of download value determining module 120 is particularly used in:
According to formulaIt is determined as the average downloading in next period that terminal is distributed The value of speed;
Wherein, V2It is the value of the average speed of download in the next period distributed by terminal, P1-Pfin+P2nIt is estimated to be described Next period downloading file terminal quantity.
Optionally, Figure 15 shows another structural block diagram of background server provided in an embodiment of the present invention, in conjunction with Figure 12 With shown in Figure 15, which can also include:
The determination of privilege terminal speed of download and distribution module 140, for being chosen from the terminal of downloading of next period file Terminal with downloading privilege, there is the terminal of downloading privilege to be divided into n grade, and n is the integer greater than 1;Determine the end of kth grade The speed of download at end promotes multiple Rk, wherein k is integer, and 0 < k≤n, Rk>1;The speed of download for determining the terminal of kth grade is The R of the average speed of download in next periodkTimes;By the R of the average speed of downloadkThe value of speed of download again, is distributed to The terminal of kth grade.
Optionally, Figure 16 shows another structural block diagram of background server provided in an embodiment of the present invention, in conjunction with Figure 15 With shown in Figure 16, which can also include:
Download bandwidth estimates module 150, has downloading privilege for choosing from the terminal of downloading of next period file Terminal;Determine the selected corresponding newly-increased download bandwidth of terminal with downloading privilege;By the end of downloading of next period file The product of the quantity at end and the average speed of download, in addition the newly-increased download bandwidth, obtaining next period is estimated down Carrier band is wide.
Optionally, download bandwidth estimates module 150 and is determining that the selected terminal with downloading privilege is corresponding newly-increased When download bandwidth, it is particularly used in:
According to formulaDetermine newly-increased download bandwidth, wherein WvTo increase download bandwidth, P newlyk For the quantity of the terminal of kth grade, V2It is the value of the average speed of download in the next period distributed by terminal.
Background server provided in an embodiment of the present invention can be realized and be closed by adjusting the speed of download of terminal downloading files Reason utilizes the purpose of the download bandwidth of Resource Server.
Functional module elements illustrated above may be considered the downloading speed that background server realizes adjustment terminal downloading files The purpose of degree, the functional module framework of required building;The hardware configuration of background server can include: processing as shown in figure 17 Device 1, communication interface 2, memory 3 and communication bus 4;
Wherein processor 1, communication interface 2, memory 3 complete mutual communication by communication bus 4;
Optionally, communication interface 2 can be the interface of communication module, such as the interface of gsm module;
Processor 1, for executing program;
Memory 3, for storing program;
Program may include program code, and said program code includes computer operation instruction.
Processor 1 may be a central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.
Memory 3 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile Memory), a for example, at least magnetic disk storage.
Wherein, program can be specifically used for:
Determine that the quantity of the terminal of newly-increased downloading file of next period and current period extend to next period continuation Download the quantity of the terminal of file;
Next period is extended to according to the quantity of the terminal of newly-increased downloading file of next period and current period The quantity for continuing the terminal of downloading file determines speed of download corresponding with the downloading terminal quantity of file of next period estimated Comprehensive total value;
By the comprehensive total value of the speed of download divided by the terminal quantity of downloading of the next period file estimated, obtain for The value of the average speed of download in next period that terminal is distributed;
The value of the average speed of download in next period is distributed into each terminal, to control each terminal in next period Speed of download.
Terminal provided in an embodiment of the present invention is introduced below, terminal described below can mutually join with content above According to.
Figure 18 is the structural block diagram of terminal provided in an embodiment of the present invention, referring to Fig.1 8, which may include:
Module 200 is obtained, the value of the average speed of download in next period for obtaining background server distribution;
Module 210 is adjusted, for the value of the speed of download in next period to be adjusted to the value of the average speed of download;
File download module 220, in next period, with the corresponding speed of download of value of the average speed of download, File is downloaded from Resource Server.
The hardware configuration of terminal device provided in an embodiment of the present invention may include: processor, communication interface, memory and Communication bus;Wherein, processor, for executing program;Memory, for storing program;Program can be specifically used for:
Obtain the value of the average speed of download in next period of background server distribution;
The value of the speed of download in next period is adjusted to corresponding to the average value of speed of download;
File is downloaded from Resource Server with the corresponding speed of download of value of the average speed of download in next period.
Speed of download provided in an embodiment of the present invention adjustment system is introduced below, under provided in an embodiment of the present invention The structure for carrying speed adjustment system can include: Resource Server, terminal, background server as shown in Figure 4;
Wherein, background server, quantity and current period for determining the terminal of newly-increased downloading file of next period are prolonged Continue to next period and continues to download the quantity of the terminal of file;According to the terminal of newly-increased downloading file of next period Quantity and current period extend to the quantity for continuing the terminal of downloading file in next period, the next week for determining and estimating Phase downloads the comprehensive total value of the corresponding speed of download of terminal quantity of file;The comprehensive total value of the speed of download is estimated divided by described Next period downloading file terminal quantity, obtain the value of the average speed of download in the next period distributed by terminal;It will The value of the average speed of download in next period distributes to each terminal,
Terminal, the value of the average speed of download in next period for obtaining background server distribution;By next period The value of speed of download is adjusted to the value of the average speed of download;It is corresponding with the value of the average speed of download in next period Speed of download, from Resource Server download file;
Resource Server, for the file of terminal downloads to be handed down to terminal.
The refinement function and extension function of background server can refer to corresponding portion above, and details are not described herein again.
If describing speed of download adjustment system with kit form, Figure 19 shows the component structure of speed of download adjustment system Frame schematic diagram, referring to Fig.1 9, which may include: downloader, download component, management backstage;
Wherein, downloader, download component may be disposed in terminal, and management backstage may be disposed in background server;
Real time data of the management backstage based on terminal downloading files, download bandwidth data, type of service data of downloading etc., The average speed of download (concrete scheme is referring to corresponding portions such as figure 5 above) for determining a terminal lower period, thus by next period The value of average speed of download distribute to downloader;
Downloader can control the speed of download of download component corresponding to the value for the average speed of download distributed, to download Component downloads file from Resource Server with the speed of download adjusted.
The embodiment of the present invention can realize that the real-time dynamic of average speed of download adjusts, and reach and rationally utilize Resource Server The purpose of download bandwidth.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (20)

1. a kind of speed of download method of adjustment, which is characterized in that be applied to background server, which comprises
Determine that the quantity of the terminal of newly-increased downloading file of next period and current period extend to next period and continues to download The quantity of the terminal of file;
Next period continuation is extended to according to the quantity of the terminal of newly-increased downloading file of next period and current period The quantity of the terminal of file is downloaded, determines that speed of download corresponding with the downloading terminal quantity of file of next period estimated is comprehensive Total value, the comprehensive total value of the speed of download are that the corresponding speed of download of quantity of the terminal of newly-increased downloading file of next period is comprehensive Value, in addition, the corresponding speed of download of quantity that current period extends to the terminal that next period continues downloading file is comprehensive Value;
By the comprehensive total value of the speed of download divided by the terminal quantity of downloading of the next period file estimated, obtain as terminal The value of the average speed of download in the next period distributed;
The value of the average speed of download in next period is distributed into terminal, it is fast in the downloading in next period with controlling terminal Degree.
2. speed of download method of adjustment according to claim 1, which is characterized in that described newly-increased according to next period The quantity and current period for downloading the terminal of file extend to the quantity for continuing the terminal of downloading file in next period, really Determining the comprehensive total value of speed of download corresponding with the downloading terminal quantity of file of next period estimated includes:
Estimate the theoretical highest speed of download of the terminal of newly-increased downloading file of next period;
The theoretical highest speed of download is multiplied with the quantity of the terminal of newly-increased downloading file of next period, obtains first Speed of download integrated value;And the average speed of download of current period and current period are extended into next period and continue to download The quantity of the terminal of file is multiplied, and obtains the second speed of download integrated value;
According to the first speed of download integrated value and the second speed of download integrated value, under the next period for determining and estimating The comprehensive total value of the corresponding speed of download of terminal quantity of published article part.
3. speed of download method of adjustment according to claim 2, which is characterized in that described to estimate the newly-increased downloading of next period The theoretical highest speed of download of the terminal of file includes:
Determining initial theory highest speed of download corresponding with the newly-increased downloading quantity of terminal of file of next period;
The initial theory highest speed of download is multiplied with speed-raising loss parameter, obtains candidate theoretical highest speed of download;
From biggish value is chosen in the minimum guarantee speed of download of the candidate theoretical highest speed of download and pre-determining, as institute State theoretical highest speed of download.
4. speed of download method of adjustment according to claim 3, which is characterized in that the determination and next period are new The corresponding initial theory highest speed of download of quantity of terminal for increasing downloading file includes:
According to formulaDetermine the initial theory highest speed of download;
Wherein, VTFor the initial theory highest speed of download, WmaxThe download bandwidth upper limit for the Resource Server estimated, f are Bandwidth regulatory factor, W1For the download bandwidth usage amount of current period, PfinDownloading is not completed after for current period but under The quantity of the terminal of downloading, V are completed when one period started1For the average speed of download of current period, P2nIt is newly-increased for next period Download the quantity of the terminal of file.
5. speed of download method of adjustment according to claim 4, which is characterized in that described from the candidate theoretical most relative superiority or inferiority It carries in the minimum guarantee speed of download of speed and pre-determining and chooses biggish value, include: as the theoretical highest speed of download
According to formulaDetermine the theoretical highest speed of download;
Wherein VnFor the theoretical highest speed of download, S is speed-raising loss parameter, and D is the big of the downloading file amount of single download Small, T is that longest is restrained oneself the waiting time, and D/T indicates minimum guarantee speed of download.
6. speed of download method of adjustment according to claim 4 or 5, which is characterized in that the WmaxDetermination process packet It includes:
According to formula Wmax=Wavg*(1+Prate) determine Wmax, wherein WavgIt is history with interim same type of unit statistical time Bandwidth peak mean value, PrateAverage download bandwidth growth rate between bandwidth cost settlement time, a bandwidth cost knot Evaluation time includes multiple unit statistical times.
7. speed of download method of adjustment according to claim 4 or 5, which is characterized in that the PfinDetermination process packet It includes:
At the end of current period, determine in the terminal for not completing downloading, the size for the file that each terminal is not downloaded and each terminal In the speed of download of current period;
For each terminal of downloading not being completed, by the size for the file that do not download divided by current period at the end of current period Speed of download, obtain do not complete downloading each terminal the downloading deadline;
Quantity of the deadline less than the terminal of periodic intervals will be downloaded, P is determined asfin
8. speed of download method of adjustment according to claim 4 or 5, which is characterized in that the P2nDetermination process include:
It determines in several history cycles, the speedup of download terminal quantity corresponding to each history cycle;
Determine the average speedup of download terminal quantity corresponding to several history cycles;
Identified average speedup is compared with default speedup, chooses the big speedup of numerical value;
The big speedup of selected numerical value is multiplied with the quantity of the terminal of the newly-increased downloading file of current period, is estimated out next The quantity of the terminal of the newly-increased downloading file in period, obtains P2n
9. speed of download method of adjustment according to claim 5, which is characterized in that described by the theoretical highest downloading speed It spends and is multiplied with the quantity of the terminal of newly-increased downloading file of next period, obtaining the first speed of download integrated value includes:
According to formula Vn*P2nDetermine the first speed of download integrated value;
The average speed of download by current period and current period extend to the end for continuing downloading file in next period The quantity at end is multiplied, and obtaining the second speed of download integrated value includes:
According to formula V1*(P1-Pfin) determine the second speed of download integrated value, P1For the total number of terminals of current period, P1-Pfin Expression current period extends to the quantity for continuing the terminal of downloading file in next period;
It is described according to the first speed of download integrated value and the second speed of download integrated value, determine and next week for estimating The corresponding speed of download of terminal quantity of phase downloading file integrates total value and includes:
According to formula Vn*P2n+V1*(P1-Pfin) determine the comprehensive total value of the speed of download.
10. speed of download method of adjustment according to claim 9, which is characterized in that described that the speed of download is comprehensive Total value is determined as being averaged for next period that terminal is distributed divided by the terminal quantity of downloading of the next period file estimated The value of speed of download includes:
According to formulaIt is determined as the average speed of download in next period that terminal is distributed Value;
Wherein, V2It is the value of the average speed of download in the next period distributed by terminal, P1-Pfin+P2nIt is estimated down to be described The terminal quantity of one period downloading file.
11. speed of download method of adjustment according to claim 1, which is characterized in that the method also includes:
The terminal with downloading privilege is chosen from the terminal of downloading of next period file, there is the terminal of downloading privilege to be divided into n Grade, n are the integer greater than 1;
Determine that the speed of download of the terminal of kth grade promotes multiple Rk, wherein k is integer, and 0 < k≤n, Rk>1;
The speed of download for determining the terminal of kth grade is the R of the average speed of download in next periodkTimes;
By the R of the average speed of downloadkThe value of speed of download again, distributes to the terminal of kth grade.
12. speed of download method of adjustment according to claim 11, which is characterized in that the method also includes:
The terminal with downloading privilege is chosen from the terminal of downloading of next period file;
Determine the selected corresponding newly-increased download bandwidth of terminal with downloading privilege;
By the product of the quantity of the terminal of downloading of next period file and the average speed of download, in addition the newly-increased lower carrier band Width obtains the download bandwidth that next period estimated.
13. speed of download method of adjustment according to claim 12, which is characterized in that under having selected by the determination Carrying the franchise corresponding newly-increased download bandwidth of terminal includes:
According to formulaDetermine newly-increased download bandwidth, wherein WvTo increase download bandwidth, P newlykFor kth The quantity of the terminal of grade, V2It is the value of the average speed of download in the next period distributed by terminal.
14. a kind of speed of download method of adjustment, which is characterized in that be applied to terminal, and based on any one of claim 1-13 institute The speed of download method of adjustment stated;The described method includes:
Obtain the value of the average speed of download in next period of background server distribution;
The value of the speed of download in next period is adjusted to the value of the average speed of download;
File is downloaded from Resource Server with the corresponding speed of download of value of the average speed of download in next period.
15. a kind of background server characterized by comprising
Terminal quantity determining module, quantity and current period for determining the terminal of newly-increased downloading file of next period continue Continue the quantity of the terminal of downloading file to next period;
Speed of download integrates total value determining module, for the quantity according to the newly-increased terminal for downloading file of next period, and Current period, which extends to next period, to be continued to download the quantity of the terminal of file, is determined and is published papers under next period for estimating The comprehensive total value of the corresponding speed of download of the terminal quantity of part, the comprehensive total value of the speed of download are newly-increased downloading file of next period Terminal the corresponding speed of download integrated value of quantity, in addition, current period extend to next period continue download file Terminal the corresponding speed of download integrated value of quantity;
Be averaged speed of download value determining module, for the speed of download to be integrated total value divided by under the next period estimated The terminal quantity of published article part, obtains the value of the average speed of download in the next period distributed by terminal;
Distribution module, for the value of the average speed of download in next period to be distributed to terminal, with controlling terminal next The speed of download in period.
16. background server according to claim 15, which is characterized in that the comprehensive total value determining module of the speed of download Include:
Theoretical highest speed of download estimates unit, the theoretical highest downloading of the terminal for estimating newly-increased downloading file of next period Speed;
First Speed integrated value determination unit, for increasing the theoretical highest speed of download and next period newly lower published article The quantity of the terminal of part is multiplied, and obtains the first speed of download integrated value;
Second speed integrated value determination unit, for by the average speed of download of current period and current period extend to it is described under The quantity that one period continued to download the terminal of file is multiplied, and obtains the second speed of download integrated value;
Speed integrates total value determination unit, for comprehensive according to the first speed of download integrated value and second speed of download Value determines the comprehensive total value of speed of download corresponding with the downloading terminal quantity of file of next period estimated.
17. background server according to claim 16, which is characterized in that the theory highest speed of download estimates unit Include:
Initial theory highest speed of download determines subelement, for the determining terminal for increasing downloading file newly with next period The corresponding initial theory highest speed of download of quantity;
Candidate theoretical highest speed of download determines subelement, for joining the initial theory highest speed of download and speed-raising loss Number is multiplied, and obtains candidate theoretical highest speed of download;
Subelement is chosen, for choosing from the minimum guarantee speed of download of the candidate theoretical highest speed of download and pre-determining Biggish value, as the theoretical highest speed of download.
18. background server according to claim 16, which is characterized in that further include:
The determination of privilege terminal speed of download and distribution module have downloading for choosing from the terminal of downloading of next period file The terminal of privilege, there is the terminal of downloading privilege to be divided into n grade, and n is the integer greater than 1;Determine the downloading of the terminal of kth grade Speed promotes multiple Rk, wherein k is integer, and 0 < k≤n, Rk>1;Determine that the speed of download of the terminal of kth grade is described next The R of the average speed of download in periodkTimes;By the R of the average speed of downloadkThe value of speed of download again, distributes to kth grade Terminal;
Or, download bandwidth estimates module, for choosing the terminal with downloading privilege from the terminal of downloading of next period file; Determine the selected corresponding newly-increased download bandwidth of terminal with downloading privilege;By the number of the terminal of downloading of next period file The product of amount and the average speed of download obtains the download bandwidth that next period estimated in addition the newly-increased download bandwidth.
19. a kind of terminal, which is characterized in that the terminal is based on the described in any item speed of download adjustment sides claim 1-13 Method, the terminal include:
Module is obtained, the value of the average speed of download in next period for obtaining background server distribution;
Module is adjusted, for the value of the speed of download in next period to be adjusted to the value of the average speed of download;
File download module, for being taken with the corresponding speed of download of value of the average speed of download from resource in next period Business device downloads file.
20. a kind of speed of download adjusts system characterized by comprising Resource Server, terminal, background server;
The background server, quantity and current period for determining the terminal of newly-increased downloading file of next period extend to Next period continues to download the quantity of the terminal of file;According to the number of the terminal of newly-increased downloading file of next period Amount and current period extend to the quantity for continuing the terminal of downloading file in next period, the next period for determining and estimating Download the comprehensive total value of the corresponding speed of download of terminal quantity of file;The speed of download comprehensive total value is estimated divided by described The terminal quantity of next period downloading file, obtains the value of the average speed of download in the next period distributed by terminal;By institute The value for stating the average speed of download in next period distributes to terminal;The comprehensive total value of the speed of download is the newly-increased downloading of next period The corresponding speed of download integrated value of the quantity of the terminal of file, in addition, current period, which extends to next period, to be continued to download The corresponding speed of download integrated value of the quantity of the terminal of file;
The terminal, the value of the average speed of download in next period for obtaining background server distribution;By next period The value of speed of download is adjusted to the value of the average speed of download;It is corresponding with the value of the average speed of download in next period Speed of download, from Resource Server download file;
The Resource Server, for the file of terminal downloads to be handed down to terminal.
CN201610368489.7A 2016-05-27 2016-05-27 A kind of speed of download method of adjustment, background server, terminal and system Active CN105847442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610368489.7A CN105847442B (en) 2016-05-27 2016-05-27 A kind of speed of download method of adjustment, background server, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610368489.7A CN105847442B (en) 2016-05-27 2016-05-27 A kind of speed of download method of adjustment, background server, terminal and system

Publications (2)

Publication Number Publication Date
CN105847442A CN105847442A (en) 2016-08-10
CN105847442B true CN105847442B (en) 2019-04-02

Family

ID=56595704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610368489.7A Active CN105847442B (en) 2016-05-27 2016-05-27 A kind of speed of download method of adjustment, background server, terminal and system

Country Status (1)

Country Link
CN (1) CN105847442B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111553B (en) * 2016-11-24 2020-12-25 腾讯科技(深圳)有限公司 Method and device for providing service
CN107979644B (en) * 2017-11-30 2019-02-26 掌阅科技股份有限公司 Prevent packet method for down loading, electronic equipment, the storage medium of high concurrent
CN108599976B (en) * 2018-02-13 2021-08-10 广东省电信规划设计院有限公司 Network quality evaluation model construction method and device and computer equipment
CN110278232B (en) * 2018-03-16 2021-08-17 腾讯科技(深圳)有限公司 Method, device and system for controlling data downloading
CN111698262B (en) * 2020-06-24 2021-07-16 北京达佳互联信息技术有限公司 Bandwidth determination method, device, terminal and storage medium
CN114500483B (en) * 2021-09-23 2024-02-27 统信软件技术有限公司 Task downloading method and device, computing equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039187A (en) * 2006-03-17 2007-09-19 腾讯科技(深圳)有限公司 Method for downloading data and system thereof
CN101997891A (en) * 2009-08-28 2011-03-30 华为技术有限公司 Method, device and system for allocating P2P media stream
CN103108257A (en) * 2011-11-10 2013-05-15 中国科学院声学研究所 Method used for embedded terminal and capable of improving playback quality of streaming media and system used for embedded terminal and capable of improving playback quality of streaming media
CN103685369A (en) * 2012-09-10 2014-03-26 中国电信股份有限公司 Method for multi-file distribution, multi-file cache control server and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9392337B2 (en) * 2011-12-22 2016-07-12 Cisco Technology, Inc. Wireless TCP link state monitoring based video content adaptation and data delivery

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039187A (en) * 2006-03-17 2007-09-19 腾讯科技(深圳)有限公司 Method for downloading data and system thereof
CN101997891A (en) * 2009-08-28 2011-03-30 华为技术有限公司 Method, device and system for allocating P2P media stream
CN103108257A (en) * 2011-11-10 2013-05-15 中国科学院声学研究所 Method used for embedded terminal and capable of improving playback quality of streaming media and system used for embedded terminal and capable of improving playback quality of streaming media
CN103685369A (en) * 2012-09-10 2014-03-26 中国电信股份有限公司 Method for multi-file distribution, multi-file cache control server and system

Also Published As

Publication number Publication date
CN105847442A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN105847442B (en) A kind of speed of download method of adjustment, background server, terminal and system
Liu et al. A new service mechanism for profit optimizations of a cloud provider and its users
US10949257B2 (en) System and method for scheduling workload based on a credit-based mechanism
CN103248659B (en) A kind of cloud computing resource scheduling method and system
CN108321826A (en) energy storage system capacity configuration method, device and system
WO2019024445A1 (en) Collaborative optimization method for geographic distribution interactive service cloud resource
CN107515663A (en) The method and apparatus for adjusting central processor core running frequency
CN110599042A (en) Intelligent power consumption analysis method and system based on cloud computing
CN109325825A (en) The regulation method and device of data on flows
CN110096489A (en) A kind of data query method, system, device and electronic equipment
CN106789118A (en) Cloud computing charging method based on service-level agreement
CN104574051A (en) Charging method and device
CN108462173A (en) A kind of electric energy control method, device and equipment based on user power utilization custom
CN107038191A (en) A kind of data processing method of database sequence, device and server
CN109389437A (en) Pricing method, pricing device and the terminal of electricity price
CN110797872B (en) Method, device, equipment and storage medium for configuring energy storage capacity of user side
CN109800125A (en) Cabinet configuring management method, device and computer readable storage medium
CN108563504A (en) A kind of resource management-control method and device
CN105847453A (en) Service level real-time adjustment method and device
Mondal et al. Dynamic price-enabled strategic energy management scheme in cloud-enabled smart grid
CN110223097A (en) Determine method, apparatus, electronic equipment and the readable storage medium storing program for executing for promoting bid
CN111582909A (en) Method and device for establishing and solving power demand response model
CN108093062B (en) Cloud resource management method and device
CN110768241A (en) Control data processing and control system and method for energy storage device, equipment and medium
CN107798056A (en) A kind of data query method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant