CN105025068B - Network data method for down loading and device - Google Patents

Network data method for down loading and device Download PDF

Info

Publication number
CN105025068B
CN105025068B CN201410183025.XA CN201410183025A CN105025068B CN 105025068 B CN105025068 B CN 105025068B CN 201410183025 A CN201410183025 A CN 201410183025A CN 105025068 B CN105025068 B CN 105025068B
Authority
CN
China
Prior art keywords
data
downloading
resource
resource address
target
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
CN201410183025.XA
Other languages
Chinese (zh)
Other versions
CN105025068A (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 CN201410183025.XA priority Critical patent/CN105025068B/en
Publication of CN105025068A publication Critical patent/CN105025068A/en
Application granted granted Critical
Publication of CN105025068B publication Critical patent/CN105025068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of network data method for down loading and devices.Wherein, this method comprises: the attribute information based on target downloading data obtains the data resource set of target downloading data, wherein data resource set includes being directed toward multiple resource address of target downloading data;Multiple download channels for downloading target downloading data are established using multiple resource address according to preset configuration condition;Target downloading data is downloaded using multiple download channels.It using the present invention, solves the problems, such as to download when mobile terminal down loading network resource in the prior art slow-footed, realizes the effect for improving the speed of terminal downloads Internet resources rationally efficiently using resource address.

Description

Network data method for down loading and device
Technical field
The present invention relates to internet areas, in particular to a kind of network data method for down loading and device.
Background technique
In the prior art, user by with provide file machine (such as terminal of server, other users) establish connection, File is moved the terminal of the user to realize download function.In order to improve speed of download, in conventional internet, generally use Multi-source downloading, multi-source downloading is removed in the downloading process for an Internet resources (such as file, application program resource) Other than the chained address (URL, uniform resource locator) of resource itself, also passes through and the resource of internet link is carried out Income, then carries out verifying analysis to the resource of income, finds the corresponding a batch of identical with the resource other Internet resources Link is applied in combination this batch of chain and fetches a kind of downloading mode for accelerating downloading each other.It can be to each using above-mentioned multi-source downloading A server resource carries out equilibrium, and various data files can be transmitted with most fast speed.
Specifically, it downloads general multithreading of opening using multi-source to download, per thread is a download channel, multithreading It exactly corresponds to the same Internet resources while opening several download channels, the bandwidth of the more acquisitions of the thread of unlatching is bigger, together When bring speed of download it is also faster, certainly, the machine resources occupied in this case are also more.Such as: Http's or FTP In multi-source downloading process, server has issued a large amount of multi-source information, while download component (such as download by whirlwind in downloading process Component) behavior that also can constantly collect source, all link establishments are connected using multi-source downloading in PC (PC).
With the development of mobile internet with the progress of mobile device capability, user using mobile device downloading scene It is more and more, including the downloading of the resources such as mobile application software, game, video file, audio file and novel.User Using the mobile device wireless communication technique that uses of downloading by Wifi (Wireless Fidelity), 3G (3rd generation mobile communication technology), LTE (i.e. Long Term Evolution) evolves to always 4G (fourth generation mobile communication technology), with the development of wireless communication technique, band Width is higher and higher, and speed is getting faster, terminal type is more and more abundant, performance increasingly stronger (such as smart phone, tablet computer Phone/Pad).In mobile Internet, user's line duration is increasingly longer, higher and higher to quality of service requirement.
However, mobile internet era and difference of traditional Internet era, the ability of mobile terminal is limited, is not available The multithreading downloading mode of excessive machine resources is occupied, mobile terminal down loading network resource generally uses list in the prior art The downloading mode of source single thread, speed of download are slow;If carrying out multi-source downloading using traditional multithreading model in the terminal, All link establishments are connected in downloading, a large amount of device resource of user can be consumed, cause speed of download very slow;And it opens A large amount of link, so that the downloading fragmentation of resource is serious.
Slow-footed problem is downloaded when for above-mentioned mobile terminal down loading network resource, not yet proposes effective solution at present Scheme.
Summary of the invention
The embodiment of the invention provides a kind of network data method for down loading and devices, at least to solve support grid under mobile terminal Slow-footed technical problem is downloaded when network resource.
According to an aspect of an embodiment of the present invention, a kind of network data method for down loading and device, this method packet are provided Include: the attribute information based on target downloading data obtains the data resource set of target downloading data, wherein data resource set Multiple resource address including being directed toward target downloading data;It is used for down according to preset configuration condition using the foundation of multiple resource address Carry multiple download channels of target downloading data;Target downloading data is downloaded using multiple download channels.
According to another aspect of an embodiment of the present invention, a kind of network data download apparatus is additionally provided, under the network data Carry set include: set obtain module, for based on target downloading data attribute information obtain target downloading data data Resource collection, wherein data resource set includes being directed toward multiple resource address of target downloading data;Module is established, for pressing Multiple download channels for downloading target downloading data are established using multiple resource address according to preset configuration condition;First downloading Module, for downloading target downloading data using multiple download channels.
Using the present invention, not instead of using single resource downloading target downloading data, obtains and be directed toward target downloading data Multiple resource address, use multiple resource address download target downloading data;And in the present invention, getting multiple moneys After source address, be not using in the prior art directly to all resources simultaneously establish connection download target downloading data side Method, but multiple download channels are established using multiple resource address according to preset configuration condition, rationally to efficiently use data Resource address in resource collection establishes multiple download channel downloading target downloading datas, to solve shifting in the prior art Slow-footed problem is downloaded when dynamic terminal downloads Internet resources, realizes rationally efficiently using resource address, improves under terminal Carry the effect of the speed of Internet resources.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of network data method for down loading according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of optional network data method for down loading according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of optional downloading device attribute data according to an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of optional default downloading Weight Acquisition method according to an embodiment of the present invention;And
Fig. 5 is a kind of schematic diagram of network data download apparatus according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of network data method for down loading is provided, it should be noted that in the process of attached drawing The step of illustrating can execute in a computer system such as a set of computer executable instructions, although also, in process Logical order is shown in figure, but in some cases, it can be to be different from shown or described by sequence execution herein Step.
Fig. 1 is a kind of flow chart of network data method for down loading according to an embodiment of the present invention, as shown in Figure 1, the network Data download method can be achieved by the steps of:
Step S102: the attribute information based on target downloading data obtains the data resource set of target downloading data.
Wherein, data resource set includes being directed toward multiple resource address of target downloading data.
Step S104: it is established using multiple resource address for downloading the more of target downloading data according to preset configuration condition A download channel.
Step S106: target downloading data is downloaded using multiple download channels.
Using the present invention, not instead of using single resource downloading target downloading data, obtains and be directed toward target downloading data Multiple resource address, use multiple resource address download target downloading data;And in the present invention, getting multiple moneys After source address, be not using in the prior art directly to all resources simultaneously establish connection download target downloading data side Method, but multiple download channels are established using multiple resource address according to preset configuration condition, rationally to efficiently use data Resource address in resource collection establishes multiple download channel downloading target downloading datas, to solve shifting in the prior art Slow-footed problem is downloaded when dynamic terminal downloads Internet resources, realizes rationally efficiently using resource address, improves under terminal Carry the effect of the speed of Internet resources.
Wherein, target downloading data may include mobile application software, game, video file, audio file and novel Equal resource datas;The attribute information of target downloading data may include description information (such as file name) and target downloading data The address URL.
In the above-described embodiments, after the downloading request of acquisition (such as receiving) downloading target downloading data, from described Downloading request in extract target downloading data attribute information, then the network terminal (network terminal may include server, User terminal) on the Internet resources that link carry out attributive analysis, determine identical with the target downloading data on the network terminal Internet resources.
Specifically, it is greater than default threshold in the similarity of the attribute information of Internet resources and the attribute information of target downloading data In the case where value, determine that the Internet resources are the resources of the target downloading data, the address of the Internet resources is directed to the target The resource address of downloading data;It is not more than in the similarity of the attribute information and the attribute information of target downloading data of Internet resources In the case where preset threshold, determining the Internet resources not is the resource of the target downloading data.
It is alternatively possible to by vector cosine, Euclidean distance and hash algorithm calculate the attribute informations of Internet resources with The similarity of the attribute information of target downloading data, then compares whether the similarity is greater than preset threshold.In this embodiment, The type of which kind of specifically used similarity algorithm visual object downloading data and determine.
Network data method for down loading in the above embodiment of the invention can be applied to various terminals (such as personal electricity Brain, mobile phone, tablet computer) in, it is alternatively possible to which above-mentioned method for down loading of the invention to be applied to the download component of smart phone In.
For example, above-mentioned method for down loading of the invention can be applied in the QQ whirlwind download component of mobile phone.User can be with By the downloading request of the interface input downloading QQ application program of download component, QQ whirlwind download component is obtained from the network terminal The data resource set of the target downloading data (QQ application program), then configures the data resource collection according to preset configuration condition (as using which or which resource address, the resource address to use is separately turned on several lines to multiple resource address in conjunction Journey, i.e. download channel) multiple download channels are established, QQ application program is downloaded using the download channel of foundation.
According to the abovementioned embodiments of the present invention, multiple moneys step S104 shown in Fig. 1: are used according to preset configuration condition Source address foundation can be realized by the following method for downloading multiple download channels of target downloading data: obtain target downloading The downloading device attribute data and downloading network attribute data of data;Use downloading device attribute data and downloading network attribute number According to the determining number of channels for establishing download channel;The resource attribute data of each resource address is read from data resource set; The corresponding resource address of resource attribute data for meeting preset configuration condition is extracted from data resource set, obtains target resource Address set, wherein include at least one target resource address in target resource address set;Respectively each target resource Open downloading subchannel in location, wherein download the sum of quantity of subchannel less than or equal to number of channels.
Wherein, the downloading device attribute data in above-described embodiment for download target downloading data equipment (i.e. terminal institute Equipment) device attribute data, which may include: device handler number and free memory; Downloading network attribute data are the attribute data of the network used when downloading the target downloading data, and network attribute data can wrap Include the attribute datas such as bandwidth, the network speed of network.The target resource address in target resource address set in above-described embodiment Number can be predetermined number, the number for the extraction that predetermined number can be inputted for user by the interface of download terminal.
In the above-described embodiments, when not only allowing for the resource address of downloading target downloading data, and considering downloading The number of threads at most opened, so as to so that terminal is using resource best in data resource set and opens most suitable line The downloading of number of passes amount, greatly increases the speed and stability of downloading.
Fig. 2 shows a kind of optionally embodiments of the invention, as shown in Fig. 2, this method can be achieved by the steps of:
Step S202: downloading device attribute data and downloading network attribute data are got.
Specifically, the downloading device attribute data for obtaining target downloading data in the above-described embodiments can be by walking as follows It is rapid to realize: determine the device parameter of reference, as shown in Figure 3, the device parameter of reference may include: the number of processor, place Manage current business state, free memory (i.e. the residual capacity of memory), network interface card information and the operating system of device;It is referred to obtaining Device parameter after, obtain the attribute data of each device parameter, and statistics is weighted to the attribute data and obtains equipment Attribute data.
Downloading network attribute data in the above-described embodiments may include network basic attribute data and equipment operation shape State data.The downloading network attribute data for obtaining target downloading data can be achieved by the steps of: obtaining, network is basic After attribute data and equipment running status data, it is weighted to obtain above-mentioned downloading network attribute data.Its In, network basic attribute data is the corresponding attribute data of information data for the network that terminal downloads target downloading data uses.
Step S204: the number of channels for establishing download channel is determined.
Step S206: the data resource set of target downloading data is obtained.It wherein, include multiple moneys in data resource set Source address.
The step implementation method is consistent with the above-mentioned implementation method of step S102, and details are not described herein.
Step S208: the unlatching quantity of resource address is determined.
Step S210: the target resource address of predetermined number is extracted simultaneously from multiple resource address according to resource attribute data Open downloading subchannel in respectively each target resource address.
Step S212: target downloading data is downloaded using multiple download channels.
The step implementation method is consistent with the above-mentioned implementation method of step S106, and details are not described herein.
Extract predetermined number in above-described embodiment from multiple resource address according to the resource attribute data of resource address Downloading subchannel is opened in target resource address and respectively each target resource address, namely only uses in data resource set Part resource address download target downloading data, after fetching portion resource address (i.e. target resource address), respectively Download thread (the downloading subchannel i.e. in above-described embodiment) is opened in each target resource address, in this way, can incite somebody to action Some bad resources in data resource set are abandoned, only using the high quality or expense for meeting preset configuration condition Low resource downloading target downloading data, reduces resource overhead, also improves the speed of downloading;And the lower carrier opened is logical The sum of road quantity is less than number of channels, namely under the equipment and network when the quantity of the downloading subchannel opened is contemplated downloading Loading capability, no more than the upper limit of its carrying, it is ensured that the stability of downloading reduces downloading fragmentation.
In an embodiment of the invention, it is determined under establishing using downloading device attribute data and downloading network attribute data The number of channels for carrying channel can be achieved by the steps of: be read from the first tables of data corresponding with downloading device attribute data Download channel quantity;Network attribute weighted value corresponding with downloading network attribute data is read from the second tables of data;It calculates Download channel quantity and the product of network attribute weighted value obtain number of channels.
Wherein, it is several cores to indicate that processor, which can be used, in the number of the processor in above-described embodiment, and e.g., processor is Double-core, then processor number is 2, and processor is four cores, then processor number is 4;The busy state of processor can make It is indicated with the utilization rate of processor, such as 66%, the busy state of processor can also use the application program being currently running Number indicate, e.g., 4 application programs are currently running, and corresponding device attribute data are denoted as 2;Version can be used in operating system This number expression, such as ISO7.1;Free memory can indicate as unit of byte, such as 739MB;Network interface card can be used in network interface card information Bandwidth indicate, such as 10M, 100M.It, can be by tabling look-up to obtain each attribute after getting the attribute data of device parameter The score value and weight of data are weighted statistics to above-mentioned device parameter and obtain device attribute data.Wherein, the present invention is implemented M and MB in example are storage cell " Mbytes ", and G indicates gigabytes.
Table 1 shows pair between the attribute data and its weight of the device parameter of the reference of above equipment, device parameter It should be related to.Embodiment as shown in Table 1 can table look-up to obtain the corresponding score value of attribute data after obtaining attribute data, The weight of each score value can be set to 1 in the embodiment, then it is 16 that weighted calculation, which obtains device attribute data, is then inquired The download channel quantity arrived is 10.
Table 1
The device parameter of reference Attribute data Score value
The number of processor 2 2
The current business state of processor 4 2
Free memory 739 4
Network interface card information 10 3
Operating system ISO7.1 5
The network used in above-described embodiment can be 2G network, 2.5G network, wifi network, 3G network or 4G net Network can obtain network basic attribute data by corresponding relationship shown in table 2.Above-mentioned equipment running status data are to use The data of the quantity of the application program of network are used in the application program for indicating current device.As shown in table 2, traditional Under 2G/2.5G network, since link is relatively narrow, transmission signaling overheads can occupy a part of bandwidth, can establish less and quality Higher link, the network basic attribute data of corresponding network 2G and 2.5G as shown in table 2 are smaller, and correspond to wifi, The network basic attribute data of the network environments such as 3G is bigger, the network in the case where determining the network environment that network is wifi/3G/4G When basic attribute data, the value of network basic attribute data can also be determined by the network speed of the current network obtained in real time.
Table 2
The information data of network Network basic attribute data
2G network 1
2.5G network 2
Wifi network 5
3G network 3
4G network 4
For example, the network that current device uses is wifi network, then network basic attribute data is 5, equipment operating data It is 2, obtains the weight 1 of network basic attribute data, the weight 0.5 of equipment operating data, the then network attribute being calculated Data are 6, then table look-up to obtain network attribute weighted value from the second tables of data to be 0.7.Getting network attribute weighted value After download channel quantity, product is asked to obtain number of channels, e.g., the number of channels in above-described embodiment are as follows: 10*0.7=7, That is, the quantity (namely quantity of download channel) for doing the link more established is 7 under the current network conditions of the equipment.
In the above-described embodiments, the numerical value in Tables 1 and 2 is only to make exemplary illustration, is not risen to above-mentioned data Restriction effect.
Through the foregoing embodiment, when establishing the channel of downloading, the equipment of downloading and the reality of network have been adequately taken into account Bear the ability of link, so as to when downloading equipment be in optimal operating status, so as to improve the speed of downloading with Stability, robustness with higher.
According to the abovementioned embodiments of the present invention, resource attribute data may include: speed of download attribute data and mail downloading charge With data, the corresponding resource of the resource attribute data for meeting preset configuration condition is extracted from data resource set Location, obtaining target resource address set may include: to obtain each in the case where preset configuration condition is speed configuration condition The first property value of the speed of download attribute data of resource address;According to the sequence of the first property value from big to small from data Sequence is extracted in resource collection in the resource address of top n, or is extracted from data resource set and met the of preset attribute value The corresponding resource address of one attribute value, wherein N is predetermined number, and N is natural number.
Optionally, in the case where preset configuration condition is expense configuration condition, the mail downloading charge of each resource address is obtained With the second attribute value of data and the first property value of expense weighted value corresponding with the second attribute value and each resource address Speed weighted value;The first product of the second attribute value Yu expense weighted value is calculated, and calculates first property value and speed weight Second product of value;Using the first product and second sum of products as the expense Configuration Values of resource address, match according to the expense It sets the sequence of value from small to large and extracts sequence from data resource set in the resource address of top n, or from data resource set It is middle to extract the corresponding resource address of expense Configuration Values for meeting preset configuration value.
When above-mentioned resource attribute data can be acquisition data resource set, every money of the server record got The resource attribute data of source address, resource attribute data may include: speed of download attribute data and download cost data, wherein Speed of download attribute data include speed of download when downloading target downloading data using the resource address, the speed that establishes the link The stability of speed of download in degree and entire downloading process;Downloading expense data packet is included to be downloaded using resource address downloading target Closing the account by operators when data.
Through the foregoing embodiment, it is determined in conjunction with the speed of download attribute data of resource address and downloading cost data specific Target resource address, can according to the lower mounted mass (i.e. above-mentioned speed of download attribute data) of the resource address recorded before and Which multi-source link is cost (i.e. the paid cases of user), comprehensively consider using, the optimization of speed and expense may be implemented.
In the case where preset configuration condition is speed configuration condition, that is, requesting this in the downloading request that user issues Second priority considers speed of download, then need to only obtain the first property value of the speed of download attribute data of each resource address, obtain After getting first property value, target resource address set is extracted from data resource set.
Specifically, target money can be successively extracted from data resource set according to the sequence of first property value from big to small Source address, until the number extracted meets predetermined number;The resource address for meeting preset attribute value can be extracted into generation Target resource address set;Resource address can also be sorted to obtain the first address sequence according to the size of first property value, so Sequence is extracted afterwards in the resource address of top n, there can be the calculating side of different first property values in different application scenarios Method (such as the attribute value of fireballing resource address can be denoted as higher value, it can also be by the category of slow-footed resource address Property value be denoted as higher value), then extract sequence top N resource address when, can with reference to attribute value it is corresponding with speed speed Relationship is extracted from the head of the queue of the first address sequence, can also be extracted from the tail of the queue of the first address sequence.In above-described embodiment, no matter Which kind of extracting mode is taken to be for the resource address that extraction rate is fast from data resource set, to improve terminal downloads mesh Mark the speed of download of downloading data.
For example, the downloading to QQ application program is requested, using the method in the above embodiment of the present invention, data money is obtained Source is gathered, and has 10 resource address in the set, since the preset configuration condition requested in request of downloading got is speed Configuration condition, then get the speed of download attribute data of each resource address first property value (as shown in table 3, table 3 is shown The number of resource address and the corresponding relationship of first property value), according to the size order of first property value from data resource collection Target resource address is extracted in conjunction.Wherein, predetermined number is less than or equal to the quantity of resource address in data resource set, this is pre- If number can be empirical value, optionally, predetermined number can be 5, and in this embodiment, then extracting number is 5,4,8,3 And 9 resource address as target resource address.
Table 3
The number of resource address First property value
1 2
2 3
3 5
4 6
5 8
6 0
7 2
8 6
9 4
10 1
According to the abovementioned embodiments of the present invention, in the case where preset configuration condition is expense configuration condition, that is, user Request network minimal when guaranteeing that speed of download is most fast, then need to obtain the downloading of each resource address in the downloading request of sending First attribute of the second attribute value of cost data and expense weighted value corresponding with the second attribute value and each resource address The speed weighted value of value;Then statistics is weighted to first property value and the second attribute value and obtains expense Configuration Values, then according to Target resource address set is extracted from data resource set according to expense Configuration Values.
Specifically, target money can be successively extracted from data resource set according to the sequence of expense Configuration Values from big to small Source address, until the number extracted meets predetermined number;The resource address for meeting preset attribute value can be extracted into generation Target resource address set;Resource address can also be sorted to obtain the second address sequence according to the size of expense Configuration Values, so Sequence is extracted afterwards in the resource address of top n, there can be the calculating side of different expense Configuration Values in different application scenarios Method (such as the attribute value of fireballing resource address can be denoted as higher value, it can also be by the category of slow-footed resource address Property value be denoted as higher value), then extract sequence top N resource address when, can with reference to attribute value it is corresponding with speed speed Relationship is extracted from the head of the queue of the second address sequence, can also be extracted from the tail of the queue of the second address sequence.In above-described embodiment, no matter Take which kind of extracting mode all can be extraction rate is fast from data resource set and expense is low resource address, to improve The speed of download of terminal downloads target downloading data.
For example, the downloading to QQ application program is requested, using the method in the above embodiment of the present invention, data money is obtained Source is gathered, and has 10 resource address in the set, since the preset configuration condition requested in request of downloading got is expense Configuration condition then gets the second attribute value, the expense weighted value (such as 0.6) of the downloading expense attribute data of each resource address (as shown in table 4, table 4 shows the number and the first attribute of resource address for first property value and speed weighted value (such as 0.4) The corresponding relationship of value, the second attribute value and expense Configuration Values), according to the size order of expense Configuration Values from data resource set Middle extraction target resource address.Wherein, predetermined number is less than or equal to the quantity of resource address in data resource set, this is default Number can be empirical value, optionally, predetermined number can be 5, in this embodiment, then extract number be 5,3,4,8 with And 2 resource address as target resource address.
Table 4
Number First property value Second attribute value Expense Configuration Values
1 2 4 2.4
2 3 4 3.6
3 5 5 5
4 6 3 4.2
5 8 4 5.6
6 0 3 1.8
7 2 1 1.4
8 6 3 4.2
9 4 1 2.2
10 1 0 0.4
In the above embodiment of the present invention, before execution step S210 as shown in Figure 2, step can also be performed: S208 determines the unlatching quantity of resource address.It can be realized by the following method: sampling obtains more from target downloading data A sampled data;A sampled data is downloaded respectively using each resource address;It records each resource address and downloads corresponding take The speed of download of sample data;Obtain default downloading weight corresponding with the speed of download of each resource address;According to default downloading Weight determines the unlatching quantity of the downloading subchannel of each resource address.
In an optional embodiment of the present invention, the number of multiple sampled datas can be with the phase of above-mentioned predetermined number Together, each target resource address can be used after extraction obtains target resource address set in data resource set The above method determines the unlatching quantity of each target resource address, in this way, not needing to the institute in data resource address There is resource address to determine and open quantity, reduces the workload of processor, improve the utilization rate of resource.
It should be further noted that it may include: to obtain that downloading subchannel is opened in respectively each target resource address Unlatching quantity corresponding with target resource address;The corresponding lower carrier for opening quantity is opened for each target resource address Channel.
In order to guarantee the maximization of each channel speed of download, one unlatching threshold value can be set to open quantity.It is optional Ground, the unlatching threshold value are 3.
In the above-described embodiments by being downloaded for task (the target downloading data i.e. in above-described embodiment) carry out with Machine samples to obtain multiple sampled datas, then downloads sampled data using above-mentioned resource address to judge in active user's network item The quality (such as speed of download) of each multi-source link, gives resource address and evaluates, determine each resource using the evaluation under part The unlatching quantity for the downloading subchannel that address is opened is dynamically adjusted in conjunction with the state of terminal current network in this embodiment The downloading situation of equipment ensure that the stability of system so that speed of download remains at a cracking speed, have compared with High robustness.
There can be n resource data in resource data set as shown in Figure 4, grab sample is carried out to target downloading data Sampled data (multiple sampled datas i.e. in above-described embodiment) are obtained, resource address (such as Fig. 4 in data resource set is used Shown in resource address 1, resource address 2 ..., resource address n, it is corresponding with sampled data that resource address is not shown in the figure Relationship) sampled data is downloaded respectively, the speed of download of each resource address downloading sampled data is recorded, and obtain (weight is the weight that resource address downloads target downloading data in the current network of current device to corresponding default downloading weight Data, as shown in Figure 4 default downloading weight 1, default downloading weight 2 ..., default downloading weight n), according to the weight Determine the unlatching quantity of resource address.
Above-mentioned default downloading weight, which can be, to be determined according to the ratio of the speed of download of each resource address, can also be with It tables look-up to obtain.
For example, speed of download shown in table 5 and default downloading weight, the corresponding relationship for opening quantity, with preset configuration Condition is the target resource address that the number of extraction is 5,4,8,3 and 9 for speed configuration condition, corresponding unlatching quantity Respectively 2,2,1,2 and 2.
Table 5
Number Speed of download Default downloading weight Open quantity
1 20kb/s
2 50kb/s
3 50kb/s 2 2
4 60kb/s 2.4 2
5 60kb/s 2.4 2
6 0kb/s
7 20kb/s
8 30kb/s 1.2 1
9 50kb/s 2 2
10 10kb/s
In the above embodiment of the invention, the speed of download that each resource address downloads corresponding sampled data can lead to It crosses following method to realize: recording the download time that each resource address downloads corresponding sampled data, then use resource address The byte value of the sampled data of downloading and the ratio of download time determine the speed of download of resource address.
For example, receiving the downloading request of downloading QQ application program, the size of the QQ application program is 100M, and use is above-mentioned Method in embodiment obtains two resource address A and B, and sampling obtains the sampled data of 10M (or two 5M take from 100M Sample data), then the download time 5s of resource address A and B are recorded (i.e. respectively using the sampled data of A and B downloading 5M respectively Second) and 3s, speed of download is determined using the size of the download time and sampled data, determines default downloading using the speed of download Weight, then the default downloading weight of resource address A and B can be indicated with 5 and 3 respectively, if number of channels is 8, and due to The unlatching threshold value for opening quantity can be 3, then can determine that the unlatching quantity of two resource address is 3.
Through the invention, due to having got the data resource set of target downloading data after obtaining downloading request, Target downloading data is downloaded using the address of more resources, can be applied in combination using multi-source downloading and be accelerated each other;Under Before load starts, by establish the determination of amount of download channel, to selection (i.e. the matching in above-described embodiment of resource address Set) multiple resources rationally can efficiently be used, so that being downloaded in limited link number situation, speed of download is most Greatly, and stability that is minimum, and can guaranteeing downloading is expended.
By embodiment shown in Fig. 4, the equipment and network of downloading can also be tested, so as to according to current The lower mounted mass linked under network and equipment, opens to dynamic adaptable the download channel of target resource address, so as to protect Card is lasting to keep quickly downloading.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, it additionally provides and is carried under a kind of network data for implementing above method embodiment It sets, which can be realized by the method for down loading being related in embodiment, below from running above-mentioned dress in second terminal The implementation process of the application is described in detail in the angle set.
Fig. 5 is the flow chart of network data method for down loading according to an embodiment of the present invention.As shown in figure 5, the device can be with It include: that set obtains module 10, establishes module 20 and the first download module 30.
Wherein, set obtains module 10, obtains target downloading data for the attribute information based on target downloading data Data resource set, wherein data resource set includes being directed toward multiple resource address of target downloading data.
Module 20 is established, for establishing using multiple resource address for downloading target downloading number according to preset configuration condition According to multiple download channels.
First download module 30, for downloading target downloading data using multiple download channels.
Using the present invention, not instead of using single resource downloading target downloading data, obtains and be directed toward target downloading data Multiple resource address, use multiple resource address download target downloading data;And in the present invention, getting multiple moneys After source address, be not using in the prior art directly to all resources simultaneously establish connection download target downloading data side Method, but multiple download channels are established using multiple resource address according to preset configuration condition, rationally to efficiently use data Resource address in resource collection establishes multiple download channel downloading target downloading datas, to solve shifting in the prior art Slow-footed problem is downloaded when dynamic terminal downloads Internet resources, realizes rationally efficiently using resource address, improves under terminal Carry the effect of the speed of Internet resources.
Wherein, target downloading data may include mobile application software, game, video file, audio file and novel Equal resource datas;The attribute information of target downloading data may include description information (such as file name) and target downloading data The address URL.
In the above-described embodiments, after the downloading request of acquisition (such as receiving) downloading target downloading data, from described Downloading request in extract target downloading data attribute information, then the network terminal (network terminal may include server, User terminal) on the Internet resources that link carry out attributive analysis, determine identical with the target downloading data on the network terminal Internet resources.
Specifically, it is greater than default threshold in the similarity of the attribute information of Internet resources and the attribute information of target downloading data In the case where value, determine that the Internet resources are the resources of the target downloading data, the address of the Internet resources is directed to the target The resource address of downloading data;It is not more than in the similarity of the attribute information and the attribute information of target downloading data of Internet resources In the case where preset threshold, determining the Internet resources not is the resource of the target downloading data.
It is alternatively possible to by vector cosine, Euclidean distance and hash algorithm calculate the attribute informations of Internet resources with The similarity of the attribute information of target downloading data, then compares whether the similarity is greater than preset threshold.In this embodiment, The type of which kind of specifically used similarity algorithm visual object downloading data and determine.
Network data method for down loading in the above embodiment of the invention can be applied to various terminals (such as personal electricity Brain, mobile phone, tablet computer) in, it is alternatively possible to which above-mentioned method for down loading of the invention to be applied to the download component of smart phone In.
For example, above-mentioned method for down loading of the invention can be applied in the QQ whirlwind download component of mobile phone.User can be with By the downloading request of the interface input downloading QQ application program of download component, QQ whirlwind download component is obtained from the network terminal The data resource set of the target downloading data (QQ application program), then configures the data resource collection according to preset configuration condition (as using which or which resource address, the resource address to use is separately turned on several lines to multiple resource address in conjunction Journey, i.e. download channel) multiple download channels are established, QQ application program is downloaded using the download channel of foundation.
Module of establishing in the above-described embodiments may include: data acquisition module, the first determining module, the first reading mould Block, extraction module and opening module.
Wherein, data acquisition module, for obtaining the downloading device attribute data and downloading network category of target downloading data Property data;First determining module, for determining that establishing downloading leads to downloading network attribute data using downloading device attribute data The number of channels in road;First read module, for reading the resource attribute data of each resource address from data resource set; Extraction module, for extracting the resource attribute data corresponding resource for meeting preset configuration condition from data resource set Location obtains target resource address set, wherein includes at least one target resource address in target resource address set;It opens Module opens downloading subchannel for respectively each target resource address, wherein download the sum of quantity of subchannel be less than or Equal to number of channels.
Wherein, the downloading device attribute data in above-described embodiment for download target downloading data equipment (i.e. terminal institute Equipment) device attribute data, which may include: device handler number, treatability performance And free memory;Downloading network attribute data are the attribute data of the network used when downloading the target downloading data, network Attribute data may include the attribute datas such as the bandwidth of network, network speed.In target resource address set in above-described embodiment The number of target resource address can be predetermined number, and predetermined number can be mentioned for user by what the interface of download terminal inputted The number taken.
In the above-described embodiments, when not only allowing for the resource address of downloading target downloading data, and considering downloading The number of threads at most opened, so as to so that terminal is using resource best in data resource set and opens most suitable line The downloading of number of passes amount, greatly increases the speed and stability of downloading.
It is identical as the example and application scenarios that corresponding step is realized by five above-mentioned modules, but be not limited to above-mentioned Embodiment disclosure of that.Above-mentioned five modules may operate in terminal or mobile terminal, can by software or Hardware realization.
According to the abovementioned embodiments of the present invention, the first determining module may include: the second read module, for counting from first According to the download channel quantity corresponding with downloading device attribute data of reading in table;Third read module is used for from the second tables of data Middle reading network attribute weighted value corresponding with network attribute data are downloaded;First computing module, for calculating download channel number Amount and the product of network attribute weighted value obtain number of channels.
Wherein, natural number can be used to indicate in the number of the processor in above-described embodiment, and e.g., processor is double-core , then processor number is 2, and processor is four cores, then processor number is 4;Place can be used in the busy state of processor The utilization rate for managing device indicates, such as 66%, the busy state of processor can also use of the application program that is currently running Number indicates that e.g., 4 application programs are currently running, and corresponding device attribute data are denoted as 2;Version number can be used in operating system It indicates, such as ISO7.1;Free memory can indicate as unit of byte, such as 739MB;The band of network interface card can be used in network interface card information Width expression, such as 10M, 100M.It, can be by tabling look-up to obtain each attribute data after getting the attribute data of device parameter Score value and weight, statistics is weighted to above-mentioned device parameter and obtains device attribute data.
According to embodiment shown in table 1, can table look-up to obtain corresponding point of attribute data after obtaining attribute data Value, can be set to 1 for the weight of each score value in this embodiment, then it is 16 that weighted calculation, which obtains device attribute data, then Inquiring obtained download channel quantity is 10.
The network used in above-described embodiment can be 2G network, 2.5G network, wifi network, 3G network or 4G net Network can obtain network basic attribute data by corresponding relationship shown in table 2.Above-mentioned equipment running status data are to use The data of the quantity of the application program of network are used in the application program for indicating current device.As shown in table 2, traditional Under 2G/2.5G network, since link is relatively narrow, transmission signaling overheads can occupy a part of bandwidth, can establish less and quality Higher link, the network basic attribute data of corresponding network 2G and 2.5G as shown in table 2 are smaller, and correspond to wifi, The network basic attribute data of the network environments such as 3G is bigger, the network in the case where determining the network environment that network is wifi/3G/4G When basic attribute data, the value of network basic attribute data can also be determined by the network speed of the current network obtained in real time.
Through the foregoing embodiment, when establishing the channel of downloading, the equipment of downloading and the reality of network have been adequately taken into account Bear the ability of link, so as to when downloading equipment be in optimal operating status, so as to improve the speed of downloading with Stability, robustness with higher.
According to the abovementioned embodiments of the present invention, resource attribute data may include: speed of download attribute data and mail downloading charge With data, wherein extraction module may include: the first acquisition submodule, for being speed configuration condition in preset configuration condition In the case where, obtain the first property value of the speed of download attribute data of each resource address;First extracting sub-module, for pressing Sequence is extracted from data resource set according to the sequence of the first property value from big to small in the resource address of top n, or from The corresponding resource address of first property value for meeting preset attribute value is extracted in data resource set, wherein N is predetermined number.
Specifically, target money can be successively extracted from data resource set according to the sequence of first property value from big to small Source address, until the number extracted meets predetermined number;The resource address for meeting preset attribute value can be extracted into generation Target resource address set;Resource address can also be sorted to obtain the first address sequence according to the size of first property value, so Sequence is extracted afterwards in the resource address of top n.In above-described embodiment, which kind of extracting mode no matter is taken to be for providing from data The fast resource address of extraction rate in the set of source, to improve the speed of download of terminal downloads target downloading data.
Optionally, extraction module may include: the second acquisition submodule, for being that expense configures item in preset configuration condition In the case where part, obtain the downloading cost data of each resource address the second attribute value and expense corresponding with the second attribute value The speed weighted value of the first property value of weighted value and each resource address;First computational submodule belongs to for calculating second First product of property value and expense weighted value, and calculate the second product of first property value Yu speed weighted value;Second calculates son Module, for using the first product and second sum of products as the expense Configuration Values of resource address;Second extracting sub-module, is used for Sequence is extracted from data resource set in the resource address of top n according to the sequence of the expense Configuration Values from small to large, or The corresponding resource address of expense Configuration Values for meeting preset configuration value is extracted from data resource set.
When above-mentioned resource attribute data can be acquisition data resource set, every money of the server record got The resource attribute data of source address, resource attribute data may include: speed of download attribute data and download cost data, wherein Speed of download attribute data include speed of download when downloading target downloading data using the resource address, the speed that establishes the link The stability of speed of download in degree and entire downloading process;Downloading expense data packet is included to be downloaded using resource address downloading target Closing the account by operators when data.
Through the foregoing embodiment, it is determined in conjunction with the speed of download attribute data of resource address and downloading cost data specific Target resource address, can according to the lower mounted mass (i.e. above-mentioned speed of download attribute data) of the resource address recorded before and Which multi-source link is cost (i.e. the paid cases of user), comprehensively consider using, the optimization of speed and expense may be implemented.
In the above embodiment of the present invention, network data download apparatus includes: sampling module, is used for from target downloading data Middle sampling obtains multiple sampled datas;Second download module, for downloading a sampled data respectively using each resource address; Logging modle downloads the speed of download of corresponding sampled data for recording each resource address;Weight Acquisition module, for obtaining Take the corresponding default downloading weight of the speed of download of each resource address;Second determining module, for according to default downloading weight Determine the unlatching quantity of the downloading subchannel of each resource address.
In an optional embodiment of the present invention, the number of multiple sampled datas can be with the phase of above-mentioned predetermined number Together, each target resource address can be used after extraction obtains target resource address set in data resource set The above method determines the unlatching quantity of each target resource address, in this way, not needing to the institute in data resource address There is resource address to determine and open quantity, reduces the workload of processor, improve the utilization rate of resource.
It should be further noted that opening module may include: third acquisition submodule, for acquisition and target resource The corresponding unlatching quantity in address;Submodule is opened, for opening the corresponding downloading for opening quantity for each target resource address Subchannel.
In order to guarantee the maximization of each channel speed of download, one unlatching threshold value can be set to open quantity.It is optional Ground, the unlatching threshold value are 3.
In the above-described embodiments by being downloaded for task (the target downloading data i.e. in above-described embodiment) carry out with Machine samples to obtain multiple sampled datas, then downloads sampled data using above-mentioned resource address to judge in active user's network item The quality (such as speed of download) of each multi-source link, gives resource address and evaluates, determine each resource using the evaluation under part The unlatching quantity for the downloading subchannel that address is opened is dynamically adjusted in conjunction with the state of terminal current network in this embodiment The downloading situation of equipment ensure that the stability of system so that speed of download remains at a cracking speed, have compared with High robustness.
Example that modules in apparatus of the present invention embodiment and the step in corresponding embodiment of the method are realized and Application scenarios are identical, but are not limited to above method embodiment disclosure of that.Above-mentioned modules may operate in computer Terminal or mobile terminal can pass through software or hardware realization.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of network data method for down loading characterized by comprising
Attribute information based on target downloading data obtains the data resource set of the target downloading data, wherein the number It include the multiple resource address for being directed toward the target downloading data according to resource collection;
According to preset configuration condition using the multiple resource address establish for download the target downloading data it is multiple under Carry channel, wherein described established according to preset configuration condition using the multiple resource address is downloaded for downloading the target Multiple download channels of data include: to obtain the downloading device attribute data and downloading network attribute number of the target downloading data According to using the downloading device attribute data and the downloading network attribute data to determine and establish the port number of the download channel Amount, wherein the sum of quantity of the multiple download channel is less than or equal to the number of channels;
The target downloading data is downloaded using the multiple download channel.
2. network data method for down loading according to claim 1, which is characterized in that according to described in preset configuration condition use Multiple resource address establish multiple download channels for downloading the target downloading data further include:
The resource attribute data of each resource address is read from the data resource set;
Extracted from the data resource set meet the preset configuration condition the resource attribute data it is corresponding described Resource address obtains target resource address set, wherein includes at least one target resource in the target resource address set Address;
Open downloading subchannel in respectively each target resource address, wherein the sum of quantity of the downloading subchannel is small In or equal to the number of channels.
3. network data method for down loading according to claim 2, which is characterized in that use the downloading device attribute data Determine that the number of channels for establishing the download channel includes: with the downloading network attribute data
Download channel quantity corresponding with the downloading device attribute data is read from the first tables of data;
Network attribute weighted value corresponding with the downloading network attribute data is read from the second tables of data;
The product for calculating the download channel quantity and the network attribute weighted value obtains the number of channels.
4. network data method for down loading according to claim 2, which is characterized in that the resource attribute data includes: under Speed attribute data and downloading cost data are carried,
Wherein, from the data resource set extract meet the preset configuration condition the resource attribute data it is corresponding The resource address, obtaining target resource address set includes:
In the case where the preset configuration condition is speed configuration condition, the downloading speed of each resource address is obtained Spend the first property value of attribute data;It is mentioned from the data resource set according to the sequence of the first property value from big to small It takes sequence in the resource address of top n, or is extracted from the data resource set and meet described the of preset attribute value The corresponding resource address of one attribute value, wherein N is predetermined number;Or,
In the case where the preset configuration condition is expense configuration condition, the mail downloading charge of each resource address is obtained With the second attribute value of data and the institute of expense weighted value corresponding with second attribute value and each resource address State the speed weighted value of first property value;The first product of second attribute value Yu the expense weighted value is calculated, and is calculated Second product of the first property value and the speed weighted value;Using first product and second sum of products as The expense Configuration Values of the resource address;According to the sequence of the expense Configuration Values from small to large from the data resource set Sequence is extracted in the resource address of top n, or extracts and meets described in preset configuration value from the data resource set The corresponding resource address of expense Configuration Values.
5. network data method for down loading as claimed in any of claims 2 to 4, which is characterized in that
Before downloading subchannel is opened in respectively each target resource address, the network data method for down loading includes:
Sampling obtains multiple sampled datas from the target downloading data;
The sampled data is downloaded respectively using each resource address;
Record the speed of download that each resource address downloads the corresponding sampled data;
Obtain the corresponding default downloading weight of the speed of download of each resource address;
The unlatching quantity of the downloading subchannel of each resource address is determined according to the default downloading weight;
Wherein, the step of downloading subchannel is opened in respectively each target resource address includes: to obtain to provide with the target The corresponding unlatching quantity of source address;The corresponding lower carrier for opening quantity is opened for each target resource address Channel.
6. a kind of network data download apparatus characterized by comprising
Set obtains module, and the data resource of the target downloading data is obtained for the attribute information based on target downloading data Set, wherein the data resource set includes being directed toward multiple resource address of the target downloading data;
Module is established, is downloaded for being established according to preset configuration condition using the multiple resource address for downloading the target Multiple download channels of data;Wherein, the module of establishing includes: data acquisition module, for obtaining the target downloading number According to downloading device attribute data and downloading network attribute data;First determining module, for using the downloading device attribute Data and the downloading network attribute data determine the number of channels for establishing the download channel, the number of the multiple download channel The sum of amount is less than or equal to the number of channels;
First download module, for downloading the target downloading data using the multiple download channel.
7. network data download apparatus according to claim 6, which is characterized in that described to establish module further include:
First read module, for reading the resource attribute data of each resource address from the data resource set;
Extraction module, for extracting the Resource Properties number for meeting the preset configuration condition from the data resource set According to the corresponding resource address, target resource address set is obtained, wherein include at least in the target resource address set One target resource address;
Opening module opens downloading subchannel for respectively each target resource address, wherein the downloading subchannel The sum of quantity be less than or equal to the number of channels.
8. network data download apparatus according to claim 7, which is characterized in that first determining module includes:
Second read module, for reading download channel number corresponding with the downloading device attribute data from the first tables of data Amount;
Third read module, for reading network attribute power corresponding with the downloading network attribute data from the second tables of data Weight values;
First computing module, the product for calculating the download channel quantity and the network attribute weighted value obtain described logical Road quantity.
9. network data download apparatus according to claim 7, which is characterized in that the resource attribute data includes: under Speed attribute data and downloading cost data are carried,
Wherein, the extraction module includes:
First acquisition submodule, it is each described for obtaining in the case where the preset configuration condition is speed configuration condition The first property value of the speed of download attribute data of resource address;
First extracting sub-module, for being mentioned from the data resource set according to the sequence of the first property value from big to small It takes sequence in the resource address of top n, or is extracted from the data resource set and meet described the of preset attribute value The corresponding resource address of one attribute value, wherein N is predetermined number;Or,
The extraction module includes: the second acquisition submodule, in the feelings that the preset configuration condition is expense configuration condition Under condition, the second attribute value of the downloading cost data of each resource address and corresponding with second attribute value is obtained Expense weighted value and each resource address the first property value speed weighted value;
First computational submodule for calculating the first product of second attribute value Yu the expense weighted value, and calculates institute State the second product of first property value Yu the speed weighted value;
Second computational submodule, for using first product and second sum of products as the expense of the resource address Configuration Values;
Second extracting sub-module, for being mentioned from the data resource set according to the sequence of the expense Configuration Values from small to large It takes sequence in the resource address of top n, or extracts the expense for meeting preset configuration value from the data resource set With the corresponding resource address of Configuration Values.
10. the network data download apparatus according to any one of claim 7 to 9, which is characterized in that
The network data download apparatus includes:
Sampling module obtains multiple sampled datas for sampling from the target downloading data;
Second download module, for downloading the sampled data respectively using each resource address;
Logging modle downloads the speed of download of the corresponding sampled data for recording each resource address;
Weight Acquisition module, the corresponding default downloading weight of the speed of download for obtaining each resource address;
Second determining module, for determining that the downloading subchannel of each resource address is opened according to the default downloading weight Open quantity;
Wherein, the opening module includes:
Third acquisition submodule, for obtaining unlatching quantity corresponding with the target resource address;
Submodule is opened, it is logical for opening the corresponding lower carrier for opening quantity for each target resource address Road.
CN201410183025.XA 2014-04-30 2014-04-30 Network data method for down loading and device Active CN105025068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410183025.XA CN105025068B (en) 2014-04-30 2014-04-30 Network data method for down loading and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410183025.XA CN105025068B (en) 2014-04-30 2014-04-30 Network data method for down loading and device

Publications (2)

Publication Number Publication Date
CN105025068A CN105025068A (en) 2015-11-04
CN105025068B true CN105025068B (en) 2019-04-12

Family

ID=54414770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410183025.XA Active CN105025068B (en) 2014-04-30 2014-04-30 Network data method for down loading and device

Country Status (1)

Country Link
CN (1) CN105025068B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357736B (en) * 2016-08-26 2019-04-23 百度在线网络技术(北京)有限公司 The method and apparatus for being used for transmission file
CN108462885A (en) * 2018-05-09 2018-08-28 广东工业大学 A kind of video storage method, device and medium based on block chain
CN109814868B (en) * 2018-12-13 2022-07-08 深圳壹账通智能科技有限公司 Network transmission simulation method and device, computer equipment and storage medium
CN112055036A (en) * 2019-06-05 2020-12-08 阿里巴巴集团控股有限公司 Data downloading method, device, equipment, system and readable storage medium
CN110825987B (en) * 2019-11-07 2023-06-23 北京博睿宏远数据科技股份有限公司 Method, device, equipment and storage medium for acquiring streaming media resource address
CN111064700B (en) * 2019-11-07 2022-04-29 咪咕互动娱乐有限公司 Downloading method, device and system of cloud game
CN111861252B (en) * 2020-07-29 2024-06-14 北京达佳互联信息技术有限公司 Electronic resource transmission method, device and server
CN115567505B (en) * 2022-01-10 2023-06-30 荣耀终端有限公司 Method, device and storage medium for displaying network acceleration effect
CN114640665B (en) * 2022-02-15 2023-02-10 北京邮电大学 Multi-source segmented parallel file downloading method and tool

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833293A (en) * 2011-06-17 2012-12-19 腾讯科技(深圳)有限公司 Method for downloading resources in peer to server and peer (P2SP) network, and client
CN102855238A (en) * 2011-06-28 2013-01-02 腾讯科技(深圳)有限公司 Method and system for downloading resource data
CN103458029A (en) * 2013-09-02 2013-12-18 百度在线网络技术(北京)有限公司 Method, system and device for accelerating downloading through browser
CN103685547A (en) * 2013-12-24 2014-03-26 乐视网信息技术(北京)股份有限公司 Download server dispatching method, download server dispatching system and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8489084B2 (en) * 2008-03-31 2013-07-16 At&T Mobility Ii Llc Over the air programming via cellular broadcast

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833293A (en) * 2011-06-17 2012-12-19 腾讯科技(深圳)有限公司 Method for downloading resources in peer to server and peer (P2SP) network, and client
CN102855238A (en) * 2011-06-28 2013-01-02 腾讯科技(深圳)有限公司 Method and system for downloading resource data
CN103458029A (en) * 2013-09-02 2013-12-18 百度在线网络技术(北京)有限公司 Method, system and device for accelerating downloading through browser
CN103685547A (en) * 2013-12-24 2014-03-26 乐视网信息技术(北京)股份有限公司 Download server dispatching method, download server dispatching system and terminal device

Also Published As

Publication number Publication date
CN105025068A (en) 2015-11-04

Similar Documents

Publication Publication Date Title
CN105025068B (en) Network data method for down loading and device
CN108683720A (en) A kind of container cluster service configuration method and device
CN110941424B (en) Compiling parameter optimization method and device and electronic equipment
CN109360028B (en) Method and device for pushing information
CN103595576B (en) Interconnection port ICP flow statistical system and method based on content provider identifications
CN110535869B (en) Data transmission method based on compression algorithm, terminal equipment and storage medium
CN110046137A (en) By data stream packet and the system and method that store into cloud storage file
CN109271363B (en) File storage method and device
CN106027595A (en) Access log processing method and system for CDN node
CN103179217A (en) Load balancing method and device applicable to WEB application server group
CN106815254A (en) A kind of data processing method and device
CN114529490B (en) Data processing method, device, equipment and readable storage medium
CN108985954A (en) A kind of method and relevant device of incidence relation that establishing each mark
CN108768695A (en) The problem of KQI localization method and device
CN110034970A (en) The network equipment distinguishes method of discrimination and device
CN114070791A (en) Data flow rate limiting processing method and device
CN109063142A (en) Web page resources method for pushing and server
CN108595211A (en) Method and apparatus for output data
CN112822121A (en) Traffic identification method, traffic determination method and knowledge graph establishment method
CN110611937B (en) Data distribution method and device, edge data center and readable storage medium
CN109857934A (en) Software module cache prefetching method, apparatus and medium based on user behavior analysis
CN105721392B (en) A kind of method, apparatus and system for recommending application
CN110297959A (en) Date storage method, device, storage medium and Edge Server
CN106131238B (en) The classification method and device of IP address
CN106484881A (en) Document handling 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