Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Need to prove, the BT method for down loading that the embodiment of the invention provides is that a kind of being different from must obtain the new downloading mode that seed file just can carry out the BT resource downloading in the conventional download method, and the BT method for down loading that the embodiment of the invention provides also can carry out the download of BT resource under the situation that can't obtain seed file.To the scheme of the embodiment of the invention be described in detail below.
The schematic flow sheet of a kind of BT method for down loading that Fig. 1 provides for the embodiment of the invention, as shown in the figure, this method comprises:
Step 100 is obtained first request data package that sends to index server in the network;
Concrete, can grasp first request data package that the peer node Peer in the network sends to index server (being the Tracker server), this first request data package is the request data package that other clients or server requests index server return the client side list information that has identical resources to be downloaded in the network, concrete, this first request data package can be the request data package of Get type, the address that can comprise the Tracker server in this packet, the size information of resources to be downloaded sign and resources to be downloaded, wherein the resources to be downloaded sign is used for the unique identification resources to be downloaded.
Wherein, the Tracker server is necessary role during BT downloads.BT client client is downloading beginning and is downloading in the process of carrying out, otherwise communicating with the Tracker server of stopping, reporting the information of oneself, and obtains the information of other download client client.This communication is undertaken by http protocol, and its process is such:
Client sends out the GET request of a HTTP to the Tracker server, and its information is placed in the parameter of GET, the roughly meaning of this GET request can be: I am xxx (a unique id), and I want to download the yyy file, my ip is aaa, and the port of my usefulness is bbb....
The Tracker server is safeguarded all download persons' information, after it receives a request, at first the other side's information is noted (if place on record, whether need upgrade) if so just checking, the information that then a part (being not all, according to parameter download person's the request that is provided with) is participated in the download person of the same file of download (a Tracker server may be safeguarded the download of a plurality of files simultaneously) returns to the other side.Client just can obtain other download person's information after the response of receiving the Tracker server, it just can connect with other download person according to these information so, from they there file in download segments.
Step 105, send second request data package according to the resources to be downloaded information of resolving described first request data package acquisition to described index server, described second request data package is used for having to the index server request client side list information of described resources to be downloaded;
Concrete, can be by resolving size information that first request data package that packet capturing obtains obtains Tracker address, resources to be downloaded sign and the resources to be downloaded resource information that waits for downloads, according to resources to be downloaded information structuring second request data package that obtains, to return the client side list information that has described resources to be downloaded to the index server request, concrete, this second request data package also can be the request data package of Get type.
Step 110 receives the client side list information that described index server returns;
Concrete, after index server receives second request data package, can return the client side list information that has these resources to be downloaded according to the resources to be downloaded information in second request data package.Need to prove, can comprise the client-side information that has these resources to be downloaded in the client side list information that index server returns, the information that also can comprise the server that has these resources to be downloaded, wherein, the client and server that has resources to be downloaded all is the peer node Peer that has these resources to be downloaded.For convenience, the embodiment of the invention is that example describes with the client.
Step 115, at least one client from described client side list obtains the burst information of described resources to be downloaded, and described burst information comprises the burst size information;
Concrete, after receiving the client side list information that described index server returns, can by with this client side list at least one client carry out BT and shake hands alternately, receive the burst information of the resources to be downloaded that at least one client returns after BT shakes hands, and determine the burst size of resources to be downloaded according to the burst information of the resources to be downloaded that receive.
Step 120, according to described burst information from described at least one client downloads resources to be downloaded.
Concrete, can send download request to described at least one client according to the burst size of the resources to be downloaded of determining, from described at least one client downloads resources to be downloaded.
By the embodiment of the invention one described BT method for down loading, can be by other clients or server in the extracting network to first request data package of index server transmission, and resolve the address that first request data package obtains index server, the size information of resources to be downloaded signs and the described resources to be downloaded resource information that waits for downloads, structure also sends second request data package to index server, thereby obtain the client side list information that has resources to be downloaded that index server returns, and by with client side list at least one client obtain the burst information of resources to be downloaded alternately, thereby according to the burst information of resources to be downloaded at least one client downloads fragment data, make do not obtain seed file please condition under also can carry out BT and download, promote the reliability of BT resource downloading, better realized sharing of BT resource.
The schematic flow sheet of the another kind of BT method for down loading that Fig. 2 provides for the embodiment of the invention, it is that example is described that the embodiment of the invention two is downloaded the F file with customer end A, if customer end A does not find the seed file of F file in network, then customer end A can be downloaded the F file by the described method of present embodiment.As shown in the figure, this method comprises:
Step 200, customer end A grasp first request data package from network;
Concrete, when customer end A will be downloaded resources to be downloaded F, if it does not obtain the seed file of F file in network, can obtain first request data package of other clients (for example customer end B) of downloaded resources F in the network by packet capturing to the transmission of Tracker server, in the present embodiment, this first request data package can be the request data package of Get type, the purpose of this first request data package is to obtain the information of other peer that has resources to be downloaded to the Tracker server, so that download the BT resource with other peer communication.
For example, the resource that customer end B will be downloaded is that the resource that will download with customer end A is identical, all be to want file in download F, and B has obtained the seed of F file in network, after B obtains seed file, can send the Get request data package to the Tracker server according to the relevant information in the seed file that obtains, to have the information of other peer of F file from the acquisition of Tracker server, so that download the F file with other peer communication, when customer end A does not obtain the seed file of F file, can in network, the mode by packet capturing obtain the Get request data package that customer end B sends to the Tracker server, present embodiment is that Get announce request data package is that example describes with the Get request data package, need to prove, Get announce request is the HTTP Get request of standard, wherein, parameter info_hash in the Get announce request data package is used for the unique identification file to be downloaded, therefore, during the customer end A packet capturing, can determine the Getannounce request data package that it will obtain according to the parameter value info_hash in the Get announce request data package.
Step 205, customer end A are resolved first request data package;
Concrete, can resolve the Get announce request data package that customer end B sends to the Tracker server, obtain Tracker server address, the sign of resources to be downloaded and the size information of resources to be downloaded.Wherein, the form of Get announce request can for:
GET?announce?info_hash=xxx&download=m&left=n&...
Wherein, can from the packet header of this Get announce request data package, extract address information and the port numbers of Tracker, directly obtain the sign info_hash of resources to be downloaded according to Get announce parameter, and by the download in the Get announce parameter and left addition being obtained the size of resources to be downloaded.
Step 210, customer end A sends second request data package to the Tracker server;
Concrete, client is according to resolving information (comprising: the sign info_hash of the address information of Tracker server and port numbers, resources to be downloaded, the size of resources to be downloaded) structure second request data package that first request data package obtains in the step 205, and send second request data package of structure to the Tracker server, to obtain to have the peer list information of resources to be downloaded F to the Tracker server requests.Wherein, in the present embodiment, second request data package also is a Get announce request data package.
Step 215, customer end A receives the client side list peer list information that the Tracker server returns;
Concrete, after the Tracker server receives second request data package of customer end A transmission, can return to customer end A and participate in downloading for example other download persons' of F information peer list of same file.The IP address and the port numbers that include each peer in the peer list information of wherein returning.
Need to prove, can comprise the client-side information that has these resources to be downloaded in the client side list information that index server returns, the information that also can comprise the server that has these resources to be downloaded, wherein, the client and server that has resources to be downloaded all is the peer node Peer that has these resources to be downloaded.For convenience, the embodiment of the invention is that example describes with the client.
Step 220, customer end A sends BT handshake request message according to peer list information at least one peer;
Concrete, IP address and the port numbers of the peer of the same file of download that customer end A can be returned according to the Tracker server send handshake request message at least one peer (for example client C) wherein, to connect with it.Usually, customer end A can send BT handshake request message to all peer.
Step 225, customer end A receive BT that at least one peer the returns response message of shaking hands, and establish a communications link with at least one peer;
Step 230, customer end A receive the bit field bitfield message of at least one peer at the resources to be downloaded of the back transmission that establishes a communications link;
According to the BT protocol requirement, after download client and other peer connect by shaking hands, can send bitfield message to the other side immediately, the burst situation of the resources to be downloaded that circular has separately, if peer does not have the burst of resources to be downloaded, then this peer can not send bitfield message.Wherein, include three parts in the bitfield message: message-length Message Length, type of message Message Type, data payload Payload, wherein, message-length Message Length is the length of type of message Message Type and the length sum of data payload Payload; The value of Message Type is 5 in the bitfield message, and its length is 1 byte; Data payload Payload part is actual to be a bitmap, if this Peer has certain burst of resources to be downloaded, so Dui Ying position puts 1, otherwise puts 0.
Step 235, the burst size that customer end A is determined resources to be downloaded according to the size and the bitfield message analysis of resources to be downloaded;
According to the BT protocol requirement, receive the bitfield message of the resources to be downloaded that peer (for example client C) sends after BT shakes hands when customer end A after, can obtain the length of the data Payload that this peer (for example client C) returns according to the length (1 byte) that the Message Length that carries in this bitfield message deducts type of message Message Type.Be length=Message Length-1 of Payload.Because the burst of each (bit) sign among the Payload, and 1 byte equals 8 (bit), therefore, the burst number that can determine the resources to be downloaded that this peer has by the length of Payload at head and the tail in the interval of 7 bit.For example: it is 9 that certain resources to be downloaded is divided into, need 2 bytes to represent (second byte only used one), and another BT resource is divided into 16, also only need 2 bytes to represent, then if resolving the length of the Payload of bitfield message acquisition is 2, the burst number that can judge these resources to be downloaded is between the 9-16 sheet.
Owing in step 205, obtain the size of resources to be downloaded by parsing first request data package, in this step, can extrapolate total burst number of these resources to be downloaded according to the length of the Payload in the bitfield message that obtains, and, because each burst size of BT resource is generally 2 n power, for example: 32K, 64k, 128K, 256k, 512K, 1M, 2M, 4M, 8M, therefore, in this step can be further obtain the burst size of resources to be downloaded according to the burst number of the size of resources to be downloaded and resources to be downloaded, concrete, can be with the resources to be downloaded size respectively divided by two end values of burst number interval, obtain an interval of burst size, the value of getting 2 Nth power in the interval of burst size then is the burst size of these resources to be downloaded.For example: if customer end A is 330K by the size that grasps first request data package acquisition resources to be downloaded F, the length that obtains Payload by the bitfield message of resolving peer (for example client C) transmission is 2 bytes, and the burst number that can extrapolate these resources to be downloaded F is between the 9-16 sheet, then the burst of these resources to be downloaded F size is at [330K/16,330K/9] value of Nth power of 2 in (being 20.6K-36.67K) interval, then can get the burst size of 32K in the 20.6K-36.67K interval for these resources to be downloaded.
Step 240, customer end A sends download request according to the burst size of analyzing the resources to be downloaded that obtain at least one peer;
Concrete, obtained the size of resources to be downloaded bursts when customer end A after, can be with described at least one peer mutual and send download request, in the practical application, when customer end A will be when client C downloads the resources to be downloaded burst, customer end A at first must with it with client C between be connected and be set to interested, be exactly to send out an interested message to go in fact, and client C will check whether it should send data to customer end A, if client C is unchoke to customer end A, so just can send unchoke message to customer end A, receive the unchoke message of client C transmission when customer end A after, can download concrete fragment data with request to the message of a Request type of client C transmission, comprise the index Piece Index of resources to be downloaded burst in the message of this Request type, the offset address Block Offset of data to be downloaded and data length Block Length to be downloaded.Those skilled in the art can know that customer end A can be downloaded the data in the burst in batches, once only downloads the partial data piece of certain burst, also can once download all data of this burst.In the practical application, usually client is to the peer request resource time, generally can once whole burst once not downloaded, but being divided into several data block Block, downloads a burst, a general Block is 16K, after the burst size of knowing resources to be downloaded, client can be divided into a plurality of data blocks according to the burst size.Wherein, Block Offset is the offset address of data block in the burst of resources to be downloaded.For example if the burst size of certain resources to be downloaded is 32K, with 16K is that a data block is divided the burst of described resources to be downloaded, then the offset address Block Offset of first data block is 0, Block Length is 16k, the offset address Block Offset of second data block is 16*1024, and Block Length also is 16K.
Step 245, customer end A receive the fragment data that at least one peer returns according to described download request.
Concrete, after at least one peer (for example client C) receives the Request message of customer end A, can return a Piece message to customer end A, this Piece message includes the burst index Piece Index of the resources to be downloaded of customer end A request, the offset address Block Offset and the data Block Data to be downloaded of data to be downloaded, wherein, the offset address Block Offset of described data to be downloaded is meant data block to be downloaded offset address in this burst.Thereby make customer end A finish download to these resources to be downloaded.
The BT method for down loading that provides by the embodiment of the invention, customer end A is under the situation of the seed file that does not obtain resources to be downloaded, can be by in network, grasping the Get announce request data package that other clients of downloading same asset send to the Tracker server, and send the 2nd Get announce request according to the information structuring that resolve to obtain and to the Tracker server, to obtain the peer list information that has resources to be downloaded that the Tracker server returns, by mutual with at least one peer, obtain the burst size of resources to be downloaded, download resources to be downloaded according to the burst size of this acquisition at least one peer again.Thereby realized that client also can carry out BT and download under the situation of the seed file that does not obtain resources to be downloaded, promoted the reliability of BT resource downloading, better realized sharing of resource.
The structural representation of a kind of BT download apparatus that Fig. 3 provides for the embodiment of the invention, as shown in Figure 3, described BT download apparatus comprises:
Packet acquiring unit 300 is used for obtaining first request data package that network sends to index server;
Concrete, packet acquiring unit 300 can grasp first request data package that other clients in the network send to index server (being the Tracker server), this first request data package is the request data package that other client-requested index servers return the client side list information that has identical resources to be downloaded in the network, concrete, this first request data package can be the request data package of Get type, can comprise the Tracker address in this packet, the size information of resources to be downloaded sign and resources to be downloaded, wherein the resources to be downloaded sign is used for the unique identification resources to be downloaded.
Request unit 305, be used for according to sending second request data package according to the described resources to be downloaded information of resolving described first request data package acquisition to described index server, described second request data package is used for having to the index server request client side list information of described resources to be downloaded;
Concrete, resource information that request unit 305 can obtain the Tracker server address by first request data package that resolution data bag acquiring unit 300 obtains, resources to be downloaded identify and the size information of resources to be downloaded waits for downloads, according to resources to be downloaded information structuring second request data package that obtains, to return the client side list information that has described resources to be downloaded to the index server request, concrete, this second request data package also can be the request data package of Get type.
Receiving element 310 is used to receive the client side list information that described index server returns;
Concrete, after index server receives second request data package, can return the client side list information that has these resources to be downloaded according to the resources to be downloaded information in second request data package.Receiving element 310 promptly is used to receive the client side list information that described index server returns.
Processing unit 315 is used for obtaining from least one client of described client side list the burst information of described resources to be downloaded, and the burst information of described resources to be downloaded comprises the burst size information;
Concrete, after receiving element 310 receives the client side list information that described index server returns, processing unit 315 can by with this client side list at least one client carry out BT and shake hands alternately, receive the burst information of the resources to be downloaded that at least one client returns after BT shakes hands, and determine the burst size of these resources to be downloaded according to the burst information of the resources to be downloaded that obtain.
Download unit 320 is used for burst information according to described resources to be downloaded from the described resources to be downloaded of described at least one client downloads.
Concrete, the burst size of the resources to be downloaded that download unit 320 can be determined according to processing unit 315 sends download request to described at least one client, from described at least one client downloads resources to be downloaded.
The BT download apparatus that the embodiment of the invention provides can be by grasping the request data package that other clients send to index server in the network, and parsing obtains the address of index server, the size information of resources to be downloaded signs and the described resources to be downloaded resource information that waits for downloads, and construct second request data package, thereby obtain the client side list information that has resources to be downloaded that index server returns, and by with client side list at least one client obtain the burst information of resources to be downloaded alternately, thereby according to the burst information of resources to be downloaded at least one client downloads fragment data, make do not obtain seed file please condition under also can carry out BT and download, promote the reliability of BT resource downloading, better realized sharing of BT resource.
The structural representation of the another kind of BT download apparatus that Fig. 4 provides for the embodiment of the invention, as shown in Figure 4, this download apparatus comprises:
Packet acquiring unit 300 is used for obtaining first request data package that network sends to index server;
Concrete, when the download device will be downloaded resources to be downloaded F, if it does not obtain the seed file of F file in network, can obtain first request data package of other clients (for example customer end B) of downloaded resources F in the network by packet capturing to index server (being the Tracker server) transmission, in the present embodiment, this first request data package can be the request data package of Get type, the purpose of this first request data package is to obtain the information of other peer that has resources to be downloaded to the Tracker server, so that download the BT resource with other peer communication.
Request unit 305, be used for according to sending second request data package according to the described resources to be downloaded information of resolving described first request data package acquisition to described index server, described second request data package is used for having to the index server request client side list information of described resources to be downloaded;
Concrete, described request unit 305 can comprise:
Resolve subelement 3051, be used to resolve first request data package acquisition resources to be downloaded information that described packet acquiring unit 300 obtains;
Wherein, described resources to be downloaded information comprises the size information of address, resources to be downloaded sign and the described resources to be downloaded of index server.
Request subelement 3052, be used for resolving the resources to be downloaded information that obtains according to described parsing subelement 3051 and send second request data package to described index server, described second request data package is used for having to the index server request client side list information of described resources to be downloaded.
Receiving element 310 is used to receive the client side list information that described index server returns;
Concrete, after the Tracker server receives second request data package of request subelement 3052 transmissions, can return to client and participate in downloading for example other download persons' of F information peer list of same file.The IP address and the port numbers that include each peer in the peer list information of wherein returning, receiving element 310 are used to receive the peer list information that Tracker returns.
Processing unit 315 is used for obtaining from least one client of described client side list the burst information of described resources to be downloaded, and the burst information of described resources to be downloaded comprises the burst size information;
Download unit 320 is used for burst information according to described resources to be downloaded from the described resources to be downloaded of described at least one client downloads.
Concrete, download unit 320 can be analyzed burst size information at least one peer in described client side list that determines resources to be downloaded according to analysis and processing unit 315 and send download request, and receives the fragment data that described at least one peer returns after receiving download request.Wherein, this download request is specifically as follows the request message of Request type, comprises the offset address Block Offset and the data length Block Length to be downloaded of the index Piece Index of resources to be downloaded burst, data to be downloaded in the message of Request type.The fragment data that described at least one peer returns after receiving download request can be included in the Piece message, wherein, described Piece message includes the burst index Piece Index of the resources to be downloaded of customer end A request, the offset address Block Offset and the data Block Data to be downloaded of data to be downloaded.
Those skilled in the art can know that download unit 320 can be downloaded the data in the burst in batches, once only downloads the partial data of certain burst, also can once download all data of this burst.In the practical application, usually client is to the peer request resource time, generally can once whole burst once not downloaded, but being divided into several data block Block, downloads a burst, a general Block is 16K, after the burst size of knowing resources to be downloaded, client can be divided into a plurality of data blocks according to the burst size.Wherein, Block Offset is the offset address of data block in the burst of resources to be downloaded.For example if the burst size of certain resources to be downloaded is 32K, with 16K is that a data block is divided the burst of described resources to be downloaded, then the offset address Block Offset of first data block is 0, Block Length is 16k, the offset address Block Offset of second data block is 16*1024, and Block Length also is 16K.
Further, in the BT download apparatus that another embodiment of the present invention provides, comprise packet acquiring unit 300, request unit 305, receiving element 310, processing unit 315 and download unit 320, wherein, described packet acquiring unit 300, request unit 305, receiving element 310 and download unit 320 can be referring to the descriptions of previous embodiment, as shown in Figure 4, described processing unit 315 can comprise:
Connect and set up subelement 3151, be used for establishing a communications link with at least one client of described client side list;
Concrete, can send BT handshake request message at least one peer according to peer list information, and receive BT that at least one peer the returns response message of shaking hands, establish a communications link with at least one peer.Usually, customer end A can send BT handshake request message to all peer.
Receive subelement 3152, be used to receive the bit field bitfield message of at least one peer at the resources to be downloaded of the back transmission that establishes a communications link;
Concrete, according to the BT protocol requirement, after download client and other peer connect by shaking hands, can send bitfield message to the other side immediately, the burst situation of the resources to be downloaded that circular has separately, if peer does not have the burst of resources to be downloaded, then this peer can not send bitfield message.Wherein, include three parts in the bitfield message: message-length Message Length, type of message Message Type, data payload Payload, wherein, message-length Message Length is the length of type of message Message Type and the length sum of data payload Payload; The value of Message Type is 5 in the bitfield message, and its length is 1 byte; Data payload Payload part is actual to be a bitmap, if this Peer has certain burst of resources to be downloaded, so Dui Ying position puts 1, otherwise puts 0.
Analyzing and processing subelement 3153 is used for the burst size of determining resources to be downloaded according to the size and the bit field bitfield message analysis of resources to be downloaded.
Concrete, after reception subelement 3152 received the bit field bitfield message that at least one peer sends among the peer list, analyzing and processing subelement 3153 can obtain the burst information such as burst size of described resources to be downloaded according to the size information analysis that the bitfield message and the parsing subelement 3051 of acquisition are resolved the resources to be downloaded of acquisition.
Concrete, because according to the BT protocol requirement, the length (1 byte) that deducts type of message Message Type according to the Message Length that carries in this bitfield message obtains the length of the data Payload that this peer (for example client C) returns, the i.e. length of Payload=Message Length-1.Because burst of each (bit) sign among the Payload, and 1 byte equals 8 (bit), therefore, analyzing and processing subelement 3153 can be determined the length of the Payload that carries in this bitfield message according to the bitfield message that obtains, and further determines the burst number interval of the resources to be downloaded that this peer has according to the length of the Payload that determines.For example: it is 9 that certain resources to be downloaded is divided into, need 2 bytes to represent (second byte only used one), and another BT resource is divided into 16, also only need 2 bytes to represent, then if resolving the length of the Payload of bitfield message acquisition is 2, the burst number that can judge these resources to be downloaded is between the 9-16 sheet.
Further, when analyzing and processing subelement 3153 can be resolved the burst size that the burst number interval of the size information of the resources to be downloaded that obtain and the resources to be downloaded that aforementioned analysis obtains is determined described resources to be downloaded according to resolving subelement 3051, concrete, because each burst size of BT resource is generally 2 n power, for example: 32K, 64k, 128K, 256k, 512K, 1M, 2M, 4M, 8M, therefore, analyzing and processing subelement 3153 can be with the resources to be downloaded size respectively divided by two end values of burst number interval, obtain an interval of burst size, the value of getting 2 Nth power in the interval of burst size then is the burst size of these resources to be downloaded.For example: if resolve the size of first request data package acquisition resources to be downloaded F of described packet acquiring unit 300 extractings of subelement 3051 parsings is 330K, analyzing and processing subelement 3153 is 2 bytes by the length that the bitfield message of resolving peer (for example client C) transmission obtains Payload, the burst number that then can extrapolate these resources to be downloaded F is between the 9-16 sheet, and this burst size is at [330K/16,330K/9] value of Nth power of 2 in (being 20.6K-36.67K) interval, then can get the size of 32K in the 20.6K-36.67K interval for these resources to be downloaded.
The BT download apparatus that the embodiment of the invention provides is under the situation of the seed file that does not obtain resources to be downloaded, can be by in network, grasping first request data package that other clients of downloading same asset send to index server, and according to resolving resources to be downloaded information structuring second request data package that obtains, and send second request data package to index server, to obtain the peer list information that has resources to be downloaded that index server returns, by with peer list information at least one peer mutual, obtain the burst size of resources to be downloaded, download resources to be downloaded according to the burst size of this acquisition at least one peer again.Download thereby realized under the situation of the seed file that does not obtain resources to be downloaded, also can carrying out BT, promoted the reliability of BT resource downloading, better realized sharing of resource.
Need to prove that the BT download apparatus in the foregoing description can be meant client, also can be meant server, also can just be applied to a module in client or the server, get final product so long as can realize the device of downloading the BT resource.
In actual applications, BT method for down loading and BT download apparatus that the foregoing description provides can be applied in the download system, further, the embodiment of the invention also provides a kind of BT download system, can comprise index server (Tracker server) and at least two the described BT download apparatus of embodiment as described above.
In addition, in actual applications, BT method for down loading and BT download apparatus that the foregoing description provides can be applied in the caching system, concrete, can be not only on the backbone network of operating side, by grasping the packet on the network with caching system, and captured packets analyzed, find out popular BT resource, the BT resource of downloading this focus by described method for down loading of the embodiment of the invention or download apparatus from the outer net row cache of going forward side by side is downloaded for Intranet user and to be used.When Intranet user is downloaded the focus BT resource of buffer memory, caching system can be redirected on the Tracker server of caching system by the download request that is redirected Intranet user, is returned the client or the server list of described focus BT resource to Intranet user by the Tracker server of caching system.Thereby make caching system can field find hot point resource in the network, and in the time can't from outer net, obtaining the seed file of hot point resource, also can download and the buffer memory hot point resource, and provide download service for Intranet user by above-mentioned method for down loading.Thereby alleviated flow between net, saved outlet bandwidth, improved user's download speed and downloading experience.
Need to prove, for aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, do not have the part that describes in detail among certain embodiment, can be referring to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above only is several embodiments of the present invention; be understandable that; for those of ordinary skills; can be equal to replacement or change according to the technical scheme and the inventive concept thereof of the embodiment of the invention, and all these changes or replacement all should belong to the protection range of the appended claim of the present invention.