CN101247405A - Method, system and device for calculating download time and resource downloading - Google Patents

Method, system and device for calculating download time and resource downloading Download PDF

Info

Publication number
CN101247405A
CN101247405A CNA2008100880260A CN200810088026A CN101247405A CN 101247405 A CN101247405 A CN 101247405A CN A2008100880260 A CNA2008100880260 A CN A2008100880260A CN 200810088026 A CN200810088026 A CN 200810088026A CN 101247405 A CN101247405 A CN 101247405A
Authority
CN
China
Prior art keywords
resource
download
user side
time
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2008100880260A
Other languages
Chinese (zh)
Inventor
熊振
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xunlei Network Technology Co Ltd
Original Assignee
Shenzhen Xunlei Network Technology 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 Shenzhen Xunlei Network Technology Co Ltd filed Critical Shenzhen Xunlei Network Technology Co Ltd
Priority to CNA2008100880260A priority Critical patent/CN101247405A/en
Publication of CN101247405A publication Critical patent/CN101247405A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present invention discloses calculating downloading time and method, system and device for resource downloading, for resolving the problem without exact time of downloading the resource for user before resource is downloaded in current technology. When user scans or search resource, the resource prearranged part is transmitted to user side according to downloading address of the resource, then determining the requiring downloading time for downloading the resource at user side according to acquiring downloading velocity of the prearranged part resource and size of the resource. User can obtain required time for downloading the resource with real time and high precision according to project of the invention before downloading resource.

Description

Calculate the method, system and device of download time and resource downloading
Technical field
The present invention relates to the computer internet technical field, relate in particular to the method, system and device that calculate download time and resource downloading.
Background technology
Along with the continuous development of network technology, resources shared is also increasing apace on the network, and the user can arrive own required resource by NetFind usually, and downloads.
At present, when the user searches the resource that will download by search engine, often only can provide the download link prompting in the result of page searching, sometimes searched page may provide a speed bar only for reference, to help the user to select link faster to download, but since this speed bar be search engine according to self server with provide the connection speed of the server of resource downloading to calculate, network environments such as each user's the network bandwidth are different, therefore, this speed bar is inaccurate for the user, and according to this speed bar, the user can not obtain the concrete time of downloading this resource, therefore, the user can not select the resource of suitable current state according to this speed bar.
In the prior art, calculating to download time, all be after the user is moving the client software of downloading, set up downloading task, during the beginning downloaded resources, according to current data downloaded amount and download the time that these data volumes consume, calculate current average speed of download, calculate the not needed time of data downloaded amount again, this time is offered the user, and before the user's download resource, can't obtain to download the needed concrete time of this resource.
Summary of the invention
In view of this, a main purpose of the embodiment of the invention provides the computational methods of a kind of download time, can not provide this resource problem of required concrete time of downloading to the user before downloaded resources in order to solve in the prior art.
Another main purpose of the embodiment of the invention provides a kind of method of resource downloading, has now in order to solve that the user can not be before download in the technology, the download time required according to resource, selects the problem of the downloaded resources of suitable current state.
A kind of method of calculating download time that the embodiment of the invention provides comprises:
Before the user side downloaded resources, the solicited message that sends according to described user side sends to described user side with the predetermined fraction of described resource;
According to the download time that resource consumed that described user side is downloaded described predetermined fraction, calculate the speed of download of described user side;
According to the size of described speed of download and described resource, calculate described user side and download described resource required download time.
A kind of system of calculating download time that the embodiment of the invention provides comprises:
Part resource downloading module was used for before the user side downloaded resources, and the solicited message that sends according to described user side downloads to described user side with the predetermined fraction of described resource;
The speed of download computing module is used for downloading according to described user side download time of the resource of described predetermined fraction, calculates the speed of download of described user side;
Download time computing module, be used for size according to described speed of download and described resource, calculate described user side and download described resource required download time.
A kind of server that the embodiment of the invention provides comprises:
Part resource sending module is used for the solicited message that sends according to user side, and the predetermined fraction of described resource is downloaded to described user side;
The speed of download computing module is used for downloading according to described user side download time of the resource of described predetermined fraction, calculates the speed of download of described user side;
Download time computing module, be used for size according to described speed of download and described resource, determine that described user side downloads described resource required download time.
A kind of user side that the embodiment of the invention provides comprises:
Receiver module is used for the predetermined fraction of the desire downloaded resources that reception server sends;
The speed of download computing module is used for receiving according to described receiver module time that resource consumed of described predetermined fraction, calculates the speed of download of downloading described resource;
Download time computing module, be used for size according to described speed of download and described resource, calculate to download described resource required download time.
The method of a kind of resource downloading that the embodiment of the invention provides comprises:
The solicited message of the resource that the request that sends according to user side is browsed or searched for sends to described user side with the predetermined fraction of described resource;
According to the speed of download of the resource of this predetermined fraction of download that obtains, and the size of described resource, determine that described user side downloads described resource required download time;
Described user side selects whether to download described resource according to described download time.
The system of a kind of resource downloading that the embodiment of the invention provides comprises:
Server, be used to receive browsing or searching request of described user side, the solicited message of the resource of browsing or searching for according to request, the predetermined fraction of described resource is sent to described user side, and according to the speed of download of downloading this part resource, and the size of described resource, determine that described user side downloads described resource required download time, described download time is offered described user side;
User side is used for sending to described server and browses or the request of searching resource, receives the described part resource that described server sends, and downloads described resource required described download time, and selects whether to download described resource according to described download time.
The embodiment of the invention is before the user's download resource, sub-fraction with this resource downloads to user side earlier, according to the speed of download of downloading this part resource, calculate this user side and download the complete required time of resource, make the user before downloaded resources, can obtain to download the required time of described resource, the current state of this time and user is complementary, have real-time, therefore, accuracy is very high, reflected that exactly the active user downloads the download time of described resource, the user can select whether download this resource according to described download time, has improved the efficient of user's download resource.
Description of drawings
Fig. 1 calculates a kind of system configuration schematic diagram of download time for the embodiment of the invention;
Fig. 2 is a kind of display mode of download time in the embodiment of the invention;
Fig. 3 calculates a kind of server architecture schematic diagram of download time for the embodiment of the invention;
Fig. 4 calculates a kind of user side structural representation of download time for the embodiment of the invention;
Fig. 5 calculates the flow chart of download time for the embodiment of the invention;
Fig. 6 is the flow chart of embodiment of the invention resource downloading;
Fig. 7 is the system configuration schematic diagram of a kind of resource downloading of the embodiment of the invention.
Embodiment
In the embodiment of the invention, browse or during searching resource the user, the sub-fraction of the resource that will browse or search for downloads to user side earlier, according to the speed of download of downloading this fraction resource, obtain and download the required time of whole resource, the download time that to calculate gained then is shown to the user, this time has reflected under the present state of this user accurately, download the required time of described resource, improved accuracy, the user was just known before downloaded resources download the required time of this resource, therefore, the user is before downloaded resources, the download time of each resource that can provide according to server, selector share the resource of family current state and downloads, and shortens the time of user's download resource, has increased user's experience.
In addition, the embodiment of the invention is also according to predefined rule, all user sides are carried out subregion, when certain user side in a certain zone is searched for or is browsed certain resource to be downloaded, server has calculated this user side download the download time of described resource after, should download time buffer memory (cache) on other Servers-all in the zone at this user side place, when all the other user captures in this zone or when searching for these resources to be downloaded, this user side corresponding server offers this user side with described download time, and need not recomputate download time, extenuated the pressure of server.If this user needs download time more accurately, can send order to corresponding server, adopt identical method, calculate the correct time of the described resource of this user's download in real time.
Engage Figure of description below, the embodiment of the embodiment of the invention is described.
As shown in Figure 1, the embodiment of the invention is calculated the system of download time and is comprised: part resource sending module 10, speed of download computing module 11 and download time computing module 12.
Part resource sending module 10 is used for the solicited message that sends according to user side, and the predetermined fraction of described resource is downloaded to described user side.
Wherein, the solicited message that user side sends comprise browse, the request of download or searching resource, this moment, the user did not also set up the downloading task of this resource.
The resource of predetermined fraction is the sub-fraction of described resource, can be 100KB, also can be 50KB, specifically can be according to the size of speed calculation accuracy, described resource or other condition enactment.
Speed of download computing module 11 is used for downloading according to described user side download time of the resource of described predetermined fraction, calculates the speed of download of described user side.
Wherein, described speed of download computing module 11 further comprises: determine submodule 110 and calculating sub module 111.
Determine submodule 110, be used for being written to the original position and the end position of the hard disk of described user side according to the resource of described predetermined fraction, and the speed of the resource of described predetermined fraction input/output end port when writing hard disk, determine the resource size of the described predetermined fraction that described user side receives and the time that is consumed.
Calculating sub module 111 is used for calculating the speed of download that described user side is downloaded described resource according to the resource size of the definite described predetermined fraction of described definite submodule and the time that is consumed.
Wherein, calculating sub module 111 can be positioned at server, then described definite submodule 110 is after the resource size of determining the described predetermined fraction that described user side receives and time of being consumed, the resource size of described predetermined fraction and the time that is consumed are sent to the calculating sub module 111 that is positioned at server, described calculating sub module 111 is calculated the speed of download that described user side is downloaded described resource according to the resource size of described predetermined fraction and the time that is consumed.
Calculating sub module 111 also can be positioned at user side, then described definite submodule 110 is after the resource size of determining the described predetermined fraction that described user side receives and time of being consumed, send the resource size of described predetermined fraction and the time that is consumed to be positioned at user side calculating sub module 111, described calculating sub module 111 is calculated the speed of download that described user side is downloaded described resource according to the resource size of described predetermined fraction and the time that is consumed.
Download time computing module 12, be used for size according to described speed of download and described resource, calculate described user side and download described resource required download time.
Download time, computing module 12 can be positioned at server, then described download time the solicited messages that send according to described user side of computing module 12, obtain the size of described resource, the speed of download of calculating according to the size and the described speed of download computing module 11 of described resource is again calculated described user side and is downloaded described resource required download time.
Download time, computing module 12 also can be positioned at user side, then server is according to the solicited message of described user side transmission, obtain the size of described resource, and the size of described resource sent to the described download time computing module 12 that is positioned at user side, described download time, computing module 12 was according to the speed of download that the size and the described speed of download computing module 11 of described resource calculates, and calculated described user side and downloaded described resource required download time.
For the download time that will calculate offers the user, also need download time is offered the user, therefore, the described system of calculating download time further comprises: very first time display module 13.
Very first time display module 13 is used to show computing module 12 described download time of calculating described download time.
Concrete, the mode of demonstration can be provided with according to concrete needs, such as: can when browsing or search for, the user will be presented at download time on the browser, and for example shown in Figure 2; Can also show or the like by ejecting the dialog box form.
Preferably, after calculating is finished speed of download and download time and is preserved, if user and this resource of non-selected download then can be deleted the part resource of downloading in advance from user side.
Search for for magnanimity, user search or the amount of browsing are very big, if to each search of each user or each resource in the browse request, all calculate this resource of this user's download required download time respectively, amount of calculation can be very big, pressure to server is also very big, therefore, pass through in the embodiment of the invention according to predefined rule, user side is carried out subregion, the user side of supposing same area is downloaded the required time of same asset and is made as identically, thereby the system that the embodiment of the invention is calculated download time can further include: download time provides the module 14 and the second time showing module 15.
Download time provides module 14, be used to preserve the described download time of described download time computing module 12 calculating, and when browsing with other user side of described user side or searching for described resource, provide described download time to other user side of browsing or searching for described resource.
The second time showing module 15 provides module 14 to link to each other with download time, is used to the described download time that shows that described download time provides module 14 to provide.
Wherein, dividing region is carried out according to predefined rule, and predefined rule comprises:
1. to the network user in (such as the whole nation) in the predefine scope, carry out the zoning according to the region;
2. to the network user in (such as the whole nation) in the predefine scope,, carry out area dividing such as the user of Netcom, telecommunication user according to network connection type;
3. to the network user in (such as the whole nation) in the predefine scope, according to user's network connection speed zoning.
Perhaps above-mentioned three kinds of rules are carried out in twos or three's combination, determine the rule of area dividing.Certainly, in specific implementation process, multiple division rule can be arranged, the zone of division is thin more, and the result is also just accurate more.
As shown in Figure 3, the embodiment of the invention is calculated a kind of server of download time, comprising: part resource sending module 30, speed of download computing module 31 and download time computing module 32.
Part resource sending module 30 is used for the solicited message that sends according to user side, and the predetermined fraction of described resource is downloaded to described user side.
Speed of download computing module 31 is used for downloading according to described user side download time of the resource of described predetermined fraction, calculates the speed of download of described user side.
Download time computing module 32, be used for size according to described speed of download and described resource, determine that described user side downloads described resource required download time.
As shown in Figure 4, the embodiment of the invention is calculated a kind of user side of download time, comprising: receiver module 40, speed of download computing module 41 and download time computing module 42.
Receiver module 40 is used for the predetermined fraction of the desire downloaded resources that reception server sends.
Speed of download computing module 41 is used for receiving according to described receiver module time that resource consumed of described predetermined fraction, calculates the speed of download of downloading described resource.
At first, speed of download computing module 41 writes the original position and the end position of hard disk according to the resource of described predetermined fraction, determines the size of downloaded resources.Wherein, original position and end position that resource writes hard disk are meant that resource writes the starting cluster of hard disk, magnetic track and sector, and ending cluster, magnetic track and sector, according to these information, can calculate the size of the resource that downloads to hard disk accurately.
Then, (I/O, the Input/Output) speed of port, the time that resource consumed of definite described predetermined fraction of downloading of I/O when speed of download computing module 41 writes hard disk according to described resource.
At last, speed of download computing module 41 calculates speed of download according to the size of the resource that downloads to hard disk and the time that is consumed.
Download time computing module 42, be used for size according to described speed of download and described resource, calculate and download described resource required download time.
The solicited message that server sends according to user side, obtain the size of described resource, and the size of described resource is sent to described download time computing module 42 of user side, described download time, computing module 42 was according to the speed of download that the size and the described speed of download computing module 41 of described resource calculates, and calculated described user side and downloaded described resource required download time.
As shown in Figure 5, the embodiment of the invention is calculated the flow process of download time and is mainly comprised:
Step 500: before the user side downloaded resources, the solicited message that sends according to described user side sends to described user side with the predetermined fraction of described resource.
In order to calculate user side downloaded resources required download time in real time, in the example of the present invention, browse the user, when download or searching resource, the download address of the resource of browsing, downloading or search according to user side sends to described user side with the sub-fraction of this resource.
Step 501:, calculate the speed of download of described user side according to the download time that described user side is downloaded the resource of described predetermined fraction.
In the embodiment of the invention, according to downloading a fraction of speed of download of described resource, calculate described user side and download the complete needed time of described resource, the situations such as network condition of the network condition that result calculated and user side are current and the server at described resource place conform to, and can guarantee result's accuracy to greatest extent.
Particularly, step 501 can further comprise:
Step 501a: the original position and the end position that are written to the hard disk of described user side according to the resource of described predetermined fraction, and the speed of the resource of described predetermined fraction input/output end port when writing hard disk, determine the size of resource of the described predetermined fraction that described user side receives and the time that is consumed.
In specific implementation process, can write starting cluster, magnetic track and the sector of hard disk according to this part resource, and ending cluster, magnetic track and sector auxiliary information, calculate the data volume that writes hard disk accurately, just download to the quantity of the resource of described user side, the speed of I/O port when writing hard disk according to described resource again can calculate time that resource consumed of the described quantity of download.
Step 501b:, calculate the speed of download that described user side is downloaded described resource according to the size of the resource of described predetermined fraction and the time that is consumed.
Calculate described user side and download the speed of download of described resource, can carry out at server, also can carry out at user side, if carry out at server, then user side obtains the size of the resource of downloading described predetermined fraction and after time of being consumed, the size of the resource of described predetermined fraction and the time that is consumed are sent to server, and server calculates the speed of download that described user side is downloaded this part resource according to the size of the resource of described predetermined fraction and the time that is consumed.
If carry out at user side, then described user side calculates the speed of download that described user side is downloaded described resource according to the size of the resource of the described predetermined fraction of downloading and the time that is consumed.
Step 502:, calculate described user side and download described resource required download time according to the size of described speed of download and described resource.
Equally, calculate user side and download described resource required download time and can carry out, also can carry out at user side at server.
Calculate described download time at server, if in the step 501, described speed of download calculates in server, then server is according to the solicited message of user side transmission, can obtain the size of described resource, then according to the size of described speed of download and described resource, calculate and download described resource described download time; If in the step 501, described speed of download has user side to obtain, then described user side sends to described server with speed of download, the solicited message that server sends according to user side, can obtain the size of described resource, then according to the size of described speed of download and described resource, calculate and download described resource described download time.
Calculate described download time at user side, if in the step 501, described speed of download calculates in server, then server is according to the solicited message of user side transmission, can obtain the size of described resource, and the size of described speed of download and described resource sent to described user side, this user side is according to the size of described speed of download and described resource, calculates to download described resource described download time; If in the step 501, described speed of download has user side to obtain, then server is according to the solicited message of user side transmission, can obtain the size of described resource, and the size of described resource sent to described user side, described user side is according to the size of described speed of download and described resource, calculates to download described resource described download time.
Download described resource after required download time at definite described user side, also need to show that to the user therefore, this method further comprises:
Step 503: described user side shows described download time to the user.
If download time calculates in server, then described server sends to user side with this download time after obtaining described download time, and user side is shown to the user with certain display mode.
If download time calculates in user side, then user side directly is shown to the user with described download time.
Concrete, the mode of demonstration can be provided with according to concrete needs, such as: can when browsing or search for, the user will be presented at download time on the browser, and for example shown in Figure 2; Can also show or the like by ejecting the dialog box form.
The user can select whether to download this resource according to the download time that shows, when the user browses or searches for when comprising a plurality of resource, the user can be according to the download time of each resource, selects download time the shortest downloaded resources to download.
Search for for magnanimity, user search or the amount of browsing are very big, if to each search of each user or each resource in the browse request, all calculate this resource of this user's download required download time respectively, amount of calculation can be very big, and is also very big to the pressure of server, therefore, by according to predefined rule, user side is carried out subregion in the embodiment of the invention, the user side of same area is downloaded the required time of same asset be made as identical.
Dividing region is carried out according to predefined rule, and the method for division comprises:
1. to the network user in (such as the whole nation) in the predefine scope, carry out the zoning according to the region;
2. to the network user in (such as the whole nation) in the predefine scope,, carry out area dividing such as the user of Netcom, telecommunication user according to network connection type;
3. to the network user in (such as the whole nation) in the predefine scope, according to user's network connection speed zoning.
Perhaps above-mentioned three kinds of methods are carried out in twos or three's combination, divide.Certainly, in specific implementation process, multiple division methods can be arranged, the zone of division is thin more, and the result is also just accurate more.
Therefore, download described resource after required download time at definite described user side, this method further comprises:
Step 504: described server with described download time cache (buffer memory) to other server of this user side the same area on.
Wherein, the cache buffer memory is meant a kind of special memory sub-system, and the data that are used to duplicate frequent use are beneficial to fast access, can certainly described download time be saved on other storage device by alternate manner.Because be buffer memory,, provide accurate data more for use in the server of preserving download time so the download time of this preservation can delete or upgrade within a certain period of time.
Step 505: when another user side in described zone was browsed or searched described resource, this user side corresponding server provided described download time, and described user side shows described download time to the user.
In specific implementation process, if the user is dissatisfied to the download time that provides, perhaps because when itself should calculate download time, user side itself has the program of operation to take than the macroreticular bandwidth, can be with the stop of occupied bandwidth, again submit request to server then, recomputate this user side and download certain resource required download time, and should download time cache give other server in this user region.
For guaranteeing the real-time of download time, can recomputate according to the frequency of setting at the download time of each resource in each zone, and with described download time cache to corresponding server, the setting of its medium frequency can be according to the pressure setting of server.
Utilize the computational methods of above-mentioned download time, in the time of can or browsing resource in user search, provide download time of each resource,, select download time the shortest resource to download with for reference to the user.
As shown in Figure 6, the method flow of downloaded resources in the embodiment of the invention mainly may further comprise the steps:
Step 600: the solicited message of the resource that the request that sends according to user side is browsed or searched for sends to described user side with the predetermined fraction of described resource.
User side sends to server and browses or searching request, and server is before returning to this user side with the result, and the download address of the resource of browsing or searching for according to request sends to described user side with a fraction of resource earlier.
Step 601: according to the speed of download of the resource of downloading this predetermined fraction, and the size of described resource, determine that described user side downloads described resource required download time.
In specific implementation process, described speed of download and download time can carry out at server respectively, also can carry out at user side.Concrete method is as described in above-mentioned step 501 and the step 502.
Step 602: described user side selects whether to download described resource according to described download time.
User side shows this download time after obtaining described download time, the mode of demonstration can be added the download time of resource in the results page that the user browses or searches for, and its possibility of result as shown in Figure 2.The user selects whether download described resource according to the download time of resource, perhaps selects the resource of desire download, and files a request to server.
As shown in Figure 7, the system configuration schematic diagram of resource downloading in the embodiment of the invention comprises: server 70 and user side 71.
Server 70, be used to receive browsing or searching request of described user side 71, the solicited message of the resource of browsing or searching for according to request, the predetermined fraction of described resource is sent to described user side 71, and according to the speed of download of downloading this part resource, and the size of described resource, determine that described user side downloads described resource required download time, described download time is offered described user side.
User side 71, be used for sending and browse or the request of searching resource to described server 70, receive the described part resource that described server 70 sends, and download described resource required described download time, and select whether to download described resource according to described download time.
User side 71 sends to described server 70 and browses or during searching request, the download address of the resource that described server 70 is browsed or searched for according to request, the resource of predetermined fraction is sent to described user side 71, and according to the speed that sends this part resource, calculate described user side and download whole resource required download time, then, this download time is offered described user side 71, described user side 71 selects whether to download described resource according to this download time.
Wherein, the resource that user side 71 requests are browsed or searched for, may comprise one or more, server 70 calculates described user side 71 respectively according to the method described above and downloads each resource required download time, and each download time offered user side 71, user side 71 shows the download time of each resource, and the user can be according to the download time of each resource, and selection download time, the shortest resource was downloaded.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.Should be understood that the variation in these concrete enforcements is conspicuous for a person skilled in the art, do not break away from spiritual protection range of the present invention.
From the foregoing description as can be seen: the embodiment of the invention is before the user sets up downloading task, the sub-fraction of earlier user being desired downloaded resources downloads to user side, according to the speed of download of downloading this fraction resource, obtain and download the required time of whole resource, the download time that to calculate gained then is shown to the user, this time has reflected under the present state of this user accurately, download the required time of described resource, improved accuracy, the user was just known before downloaded resources to download the required time of this resource, utilize this method, can browse or during searching resource, provide the download time of each resource to the user the user, the download time of each resource that the user can provide according to server, selection meets the resource of current state downloads, and shortens the time of user's download resource, has increased user's experience.In addition, the embodiment of the invention is also according to predefined rule, all user sides in the predefine scope are carried out subregion, when certain user side in a certain zone is searched for or is browsed certain resource to be downloaded, server has calculated this user side download the download time of described resource after, with this download time cache to this user side place the zone in other Servers-all on, when all the other user captures in this zone or when searching for these resources to be downloaded, this user side corresponding server offers this user side with described download time, and need not recomputate download time, extenuated the pressure of server.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (17)

1, a kind of method of calculating download time is characterized in that, comprising:
Before the user side downloaded resources, the solicited message that sends according to described user side sends to described user side with the predetermined fraction of described resource;
According to the download time that resource consumed that described user side is downloaded described predetermined fraction, calculate the speed of download of described user side;
According to the size of described speed of download and described resource, calculate described user side and download described resource required download time.
2, method according to claim 1 is characterized in that, described request information comprises: searching request, browse request or download request.
3, method according to claim 1 is characterized in that, described download time of downloading the resource of described predetermined fraction according to user side, calculate the speed of download of described user side, and comprising:
Be written to the original position and the end position of the hard disk of described user side according to the resource of described predetermined fraction, and the speed of the resource of described predetermined fraction input/output end port when writing hard disk, determine the resource size of the described predetermined fraction that described user side receives and the time that is consumed;
According to the resource size of described predetermined fraction and the time that is consumed, calculate the speed of download that described user side is downloaded described resource.
4, method according to claim 1 is characterized in that, downloads described resource after required download time at the described user side of calculating, and this method also further comprises:
Described user side shows described download time.
5, method according to claim 1 is characterized in that, downloads described resource after required download time at definite described user side, and this method also further comprises:
Described download time is cached on the Servers-all with this user side the same area, and wherein, described zone is divided according to predefined rule.
6, method according to claim 5 is characterized in that, this method further comprises:
When another user side in described zone was browsed or searched described resource, this user side corresponding server provided described download time.
7, method according to claim 6 is characterized in that, this method further comprises:
Described another user side shows described download time.
8, a kind of system of calculating download time is characterized in that, comprising:
Part resource downloading module was used for before the user side downloaded resources, and the solicited message that sends according to described user side downloads to described user side with the predetermined fraction of described resource;
The speed of download computing module is used for downloading according to described user side download time of the resource of described predetermined fraction, calculates the speed of download of described user side;
Download time computing module, be used for size according to described speed of download and described resource, calculate described user side and download described resource required download time.
9, system according to claim 8 is characterized in that, described speed of download computing module comprises:
Determine submodule, be used for being written to the original position and the end position of the hard disk of described user side according to the resource of described predetermined fraction, and the speed of the resource of described predetermined fraction input/output end port when writing hard disk, determine the resource size of the described predetermined fraction that described user side receives and the time that is consumed;
Calculating sub module is used for calculating the speed of download that described user side is downloaded described resource according to the resource size of the definite described predetermined fraction of described definite submodule and the time that is consumed.
10, system according to claim 9, it is characterized in that, described calculating sub module is positioned at server, then described definite submodule is after the resource size of determining the described predetermined fraction that described user side receives and time of being consumed, the resource size of described predetermined fraction and the time that is consumed are sent to the described calculating sub module that is positioned at server, described calculating sub module is calculated the speed of download that described user side is downloaded described resource according to the resource size of described predetermined fraction and the time that is consumed;
Or,
Described calculating sub module is positioned at user side, described definite submodule is after the resource size of determining the described predetermined fraction that described user side receives and time of being consumed, send the resource size of described predetermined fraction and the time that is consumed to be positioned at user side described calculating sub module, described calculating sub module is calculated the speed of download that described user side is downloaded described resource according to the resource size of described predetermined fraction and the time that is consumed.
11, system according to claim 8, it is characterized in that, described download time, computing module was positioned at server, then described download time the solicited message that sends according to described user side of computing module, obtain the size of described resource, the speed of download of calculating according to the size and the described speed of download computing module of described resource is again calculated described user side and is downloaded described resource required download time;
Or,
Described download time, computing module was positioned at user side, then server is according to the solicited message of described user side transmission, obtain the size of described resource, and the size of described resource sent to the described download time computing module that is positioned at user side, described download time, computing module was according to the speed of download that the size and the described speed of download computing module of described resource calculates, and calculated described user side and downloaded described resource required download time.
12, system according to claim 8 is characterized in that, this system further comprises:
Very first time display module is used to show computing module described download time of calculating described download time.
13, system according to claim 8 is characterized in that, this system further comprises:
Download time provides module, be used to preserve the described download time of described download time computing module calculating, and when browsing with other user side of described user side or searching for described resource, provide described download time to other user side of browsing or searching for described resource;
The second time showing module is used to the described download time that shows that described download time provides module to provide.
14, a kind of server is characterized in that, comprising:
Part resource sending module is used for the solicited message that sends according to user side, and the predetermined fraction of described resource is downloaded to described user side;
The speed of download computing module is used for downloading according to described user side download time of the resource of described predetermined fraction, calculates the speed of download of described user side;
Download time computing module, be used for size according to described speed of download and described resource, determine that described user side downloads described resource required download time.
15, a kind of user side is characterized in that, comprising:
Receiver module is used for the predetermined fraction of the desire downloaded resources that reception server sends;
The speed of download computing module is used for receiving according to described receiver module time that resource consumed of described predetermined fraction, calculates the speed of download of downloading described resource;
Download time computing module, be used for size according to described speed of download and described resource, calculate to download described resource required download time.
16, a kind of method of resource downloading is characterized in that, comprising:
The solicited message of the resource that the request that sends according to user side is browsed or searched for sends to described user side with the predetermined fraction of described resource;
According to the speed of download of the resource of this predetermined fraction of download that obtains, and the size of described resource, determine that described user side downloads described resource required download time;
Described user side selects whether to download described resource according to described download time.
17, a kind of system of resource downloading is characterized in that, comprising: server and user side, wherein,
Server, be used to receive browsing or searching request of described user side, the solicited message of the resource of browsing or searching for according to request, the predetermined fraction of described resource is sent to described user side, and according to the speed of download of downloading this part resource, and the size of described resource, determine that described user side downloads described resource required download time, described download time is offered described user side;
User side is used for sending to described server and browses or the request of searching resource, receives the described part resource that described server sends, and downloads described resource required described download time, and selects whether to download described resource according to described download time.
CNA2008100880260A 2008-03-27 2008-03-27 Method, system and device for calculating download time and resource downloading Pending CN101247405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100880260A CN101247405A (en) 2008-03-27 2008-03-27 Method, system and device for calculating download time and resource downloading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100880260A CN101247405A (en) 2008-03-27 2008-03-27 Method, system and device for calculating download time and resource downloading

Publications (1)

Publication Number Publication Date
CN101247405A true CN101247405A (en) 2008-08-20

Family

ID=39947603

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100880260A Pending CN101247405A (en) 2008-03-27 2008-03-27 Method, system and device for calculating download time and resource downloading

Country Status (1)

Country Link
CN (1) CN101247405A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088623A (en) * 2011-01-18 2011-06-08 乐视网信息技术(北京)股份有限公司 Downloading and dispatching system and method for adaptive network
CN104065523A (en) * 2013-03-19 2014-09-24 腾讯科技(深圳)有限公司 Connection rate detection method and device
CN104092722A (en) * 2014-03-26 2014-10-08 腾讯科技(深圳)有限公司 Network file downloading method and device
CN105577830A (en) * 2016-02-02 2016-05-11 明博教育科技股份有限公司 Optimal selection method and system for downloading list based on statistics
CN105893216A (en) * 2015-12-16 2016-08-24 乐视移动智能信息技术(北京)有限公司 Display method for downloaded file information and terminal device
CN108076117A (en) * 2016-11-14 2018-05-25 腾讯科技(深圳)有限公司 A kind of data download method and user terminal
CN112039713A (en) * 2020-09-09 2020-12-04 深圳市雁云信息技术有限公司 Data transmission method and system for cloud computing and meeting user requirements

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088623A (en) * 2011-01-18 2011-06-08 乐视网信息技术(北京)股份有限公司 Downloading and dispatching system and method for adaptive network
CN102088623B (en) * 2011-01-18 2013-05-01 乐视网信息技术(北京)股份有限公司 Downloading and dispatching system and method for adaptive network
CN104065523A (en) * 2013-03-19 2014-09-24 腾讯科技(深圳)有限公司 Connection rate detection method and device
CN104065523B (en) * 2013-03-19 2019-08-27 腾讯科技(深圳)有限公司 Connection speed detection method and device
CN104092722A (en) * 2014-03-26 2014-10-08 腾讯科技(深圳)有限公司 Network file downloading method and device
CN105893216A (en) * 2015-12-16 2016-08-24 乐视移动智能信息技术(北京)有限公司 Display method for downloaded file information and terminal device
CN105577830A (en) * 2016-02-02 2016-05-11 明博教育科技股份有限公司 Optimal selection method and system for downloading list based on statistics
CN108076117A (en) * 2016-11-14 2018-05-25 腾讯科技(深圳)有限公司 A kind of data download method and user terminal
CN108076117B (en) * 2016-11-14 2020-08-25 腾讯科技(深圳)有限公司 Data downloading method and user terminal
CN112039713A (en) * 2020-09-09 2020-12-04 深圳市雁云信息技术有限公司 Data transmission method and system for cloud computing and meeting user requirements

Similar Documents

Publication Publication Date Title
US11106759B2 (en) Predictive resource identification and phased delivery of structured documents
US10121169B2 (en) Table level distributed database system for big data storage and query
US9569742B2 (en) Reducing costs related to use of networks based on pricing heterogeneity
CN101247405A (en) Method, system and device for calculating download time and resource downloading
JP2019153323A (en) System, method and storage medium for improving access to search result
CN103312733B (en) Information processing method and device
WO2011163147A2 (en) Identifying trending content items using content item histograms
CN102780603B (en) Web traffic control method and device
CN103747072A (en) Data reading and writing method and application server
CN105512320A (en) User ranking obtaining method and device and server
CN109582902B (en) Determination method of ranking information, list display method and computer equipment
CN107526828B (en) Page information recommendation method and device
CN111597259B (en) Data storage system, method, device, electronic equipment and storage medium
CN111159219A (en) Data management method, device, server and storage medium
CN103577544A (en) Method and device for providing information to be sent
CN110765086B (en) Directory reading method and system for small files, electronic equipment and storage medium
CN112182114A (en) Data processing method and device based on block chain and server equipment
KR101029416B1 (en) Ranking data system, ranking query system and ranking computation method for computing large scale ranking in real time
CN103780426A (en) Consistency maintenance methods for cloud storage data and cloud storage system
CN111435332B (en) Data processing method and device
CN107679093B (en) Data query method and device
CN115086194A (en) Data transmission method for cloud application, computing equipment and computer storage medium
CN110866206B (en) Data update setting method and device
CN111177478A (en) Query method, device and system
CN110442793A (en) Lowest price flight recommended method and system, electronic equipment and storage medium

Legal Events

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

Open date: 20080820