Movatterモバイル変換


[0]ホーム

URL:


CN103259816B - A kind of method, terminal, server and system for downloading resource - Google Patents

A kind of method, terminal, server and system for downloading resource
Download PDF

Info

Publication number
CN103259816B
CN103259816BCN201210036828.3ACN201210036828ACN103259816BCN 103259816 BCN103259816 BCN 103259816BCN 201210036828 ACN201210036828 ACN 201210036828ACN 103259816 BCN103259816 BCN 103259816B
Authority
CN
China
Prior art keywords
resource
downloaded
location information
network
download
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
CN201210036828.3A
Other languages
Chinese (zh)
Other versions
CN103259816A (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 LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201210036828.3ApriorityCriticalpatent/CN103259816B/en
Priority to PL407778Aprioritypatent/PL407778A1/en
Priority to US14/232,074prioritypatent/US8984100B2/en
Priority to PCT/CN2013/071065prioritypatent/WO2013120412A1/en
Publication of CN103259816ApublicationCriticalpatent/CN103259816A/en
Application grantedgrantedCritical
Publication of CN103259816BpublicationCriticalpatent/CN103259816B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention discloses a kind of method, terminal, server and system for downloading resource, belong to field of Internet communication.The described method includes:When downloading resource to be downloaded, send downloading request message and give resource impact server, the downloading request message carries the resource location information of resource to be downloaded in first resource network;The download response message that the resource impact server is sent is received, the download response message carries the resource to be downloaded resource location information in the first and second resource networks respectively;According to the resource to be downloaded respectively in the first and the resource location information in Secondary resource network, the resource to be downloaded is downloaded.The system comprises:Terminal and resource impact server.The terminal includes the first sending module, the first receiving module and download module.The resource impact server includes:Second receiving module, the second acquisition module and the second sending module.The present invention being capable of reasonable employment resource node.

Description

A kind of method, terminal, server and system for downloading resource
Technical field
The present invention relates to field of Internet communication, more particularly to a kind of method for downloading resource, terminal, server and it isSystem.
Background technology
With the development of Internet technology, occur a variety of download protocols at present and gone to download resource for user, for example, at presentThere is more common download protocol to assist including Http (Hypertext transport protocol, hypertext transfer protocol)View, BT (BitTorrent, bit stream) agreements and eD2k (eDonkey2000network, electric 2000 network of donkey) agreement etc..
Wherein, a kind of download protocol corresponds to a resource network;When user needs to download, user selects a kind of download to assistView, downloads the resource for needing to download from the corresponding resource network of the download protocol.For example, if user is used under Http agreementsResource is carried, then user obtains URL (UniversalResource Locator, the unified resource positioning for the resource for needing to downloadSymbol), the resource for needing to download is downloaded from the corresponding resource network of Http agreements according to the URL of acquisition;If user uses BTAgreement downloads resource, then user obtains the Hash information of resource for needing to download, according to the Hash information of acquisition from BT agreements pairResource is downloaded in the resource network answered;If user downloads the resource for needing to download using eD2k agreements, user, which obtains, to be neededThe eD2k cryptographic Hash of the resource of download, needs are downloaded according to the eD2k cryptographic Hash of acquisition from the corresponding resource network of eD2k agreementsThe resource of download.
In the implementation of the present invention, inventor has found that the prior art has at least the following problems:
User can only download resource from the corresponding resource network of download protocol that it is used at present, and often user is downloadingDuring resource, the leisureless resource node of the corresponding resource network of download protocol that user uses is available for user's download, and otherThe corresponding resource network Luoque of download protocol has substantial amounts of idling-resource node, so causes resource node to be unable to reasonable employment.
The content of the invention
In order to the resource node in each resource network of reasonable employment, the present invention provides a kind of side for downloading resourceMethod, terminal, server and system.The technical solution is as follows:
A kind of method for downloading resource, the described method includes:
When downloading resource to be downloaded, send downloading request message and give resource impact server, the download request disappearsBreath carries the resource location information of resource to be downloaded in first resource network;
The download response message that the resource impact server is sent is received, is treated down described in the download response message carryingThe resource location information in the first and second resource networks, the Secondary resource network are except described first to the resource of load respectivelyOther one or more resource networks beyond resource network;
According to the resource to be downloaded resource location information in first and second resource network respectively, downloadThe resource to be downloaded.
Before the transmission downloading request message is to resource impact server, further include:
Obtain resource location information of the resource to be downloaded in the first resource network.
After the download resource to be downloaded, further include:
The content included according to the resource to be downloaded calculates the identification information of the resource to be downloaded, sends instituteThe identification information and resource location information for stating resource to be downloaded give resource impact server.
A kind of method for downloading resource, the described method includes:
The downloading request message that receiving terminal is sent, the downloading request message carry resource to be downloaded in first resourceResource location information in network;
According to resource location information of the resource to be downloaded in first resource network, the money to be downloaded is obtainedThe resource location information in the first and second resource networks, the Secondary resource network are except the first resource net respectively in sourceOther one or more resource networks beyond network;
Download response message is sent to carry the resource to be downloaded to the terminal, the download response message and respectively existResource location information in first and second resource networks, makes the terminal according to the resource to be downloaded respectively in the first HeResource location information in Secondary resource network downloads the resource to be downloaded.
The resource location information according to the resource to be downloaded in first resource network, obtains described to be downloadedThe resource corresponding resource location information in the first and second resource networks respectively, including:
According to resource location information of the resource to be downloaded in first resource network, from stored identification informationIdentification information with obtaining the resource to be downloaded in the correspondence of resource location information;
According to the identification information of the resource to be downloaded, from the stored identification information and resource location informationThe resource to be downloaded resource location information in the first and second resource networks respectively is obtained in correspondence.
The method further includes:
After the terminal downloads complete resource to be downloaded, receive the terminal and send the resource to be downloadedIdentification information and resource location information, establish the identification information pass corresponding with resource location information of the resource to be downloadedSystem.
After the identification information for receiving the terminal transmission resource to be downloaded and resource location information, also wrapInclude:
The download time for downloading the resource to be downloaded is obtained, establishes the resource location information of the resource to be downloadedWith the correspondence of the download time.
The method further includes:
The correspondence of stored resource location information and download time is monitored, if monitoring out download timeResource location information before preset time, then delete from stored identification information and the correspondence of resource location informationExcept the correspondence of the resource location information including the download time before preset time.
The method further includes:
If monitoring out resource location information of the download time before preset time, determine from the stored resourceBeing deleted in position information and the correspondence of download time includes resource location information of the download time before preset timeCorrespondence.
A kind of terminal, the terminal include:
First sending module, for when downloading resource to be downloaded, sending downloading request message and giving resource impact serviceDevice, the downloading request message carry the resource location information of resource to be downloaded in first resource network;
First receiving module, the download response message sent for receiving the resource impact server, described download are rungMessage is answered to carry the resource to be downloaded resource location information in the first and second resource networks respectively, second moneySource network is other one or more resource networks in addition to the first resource network;
Download module, for according to the resource to be downloaded Resource orientation in the first and second resource networks respectivelyInformation, downloads the resource to be downloaded.
The terminal further includes:
First acquisition module, for obtaining Resource orientation letter of the resource to be downloaded in the first resource networkBreath.
The terminal further includes:
Computing module, the content for being included according to the resource to be downloaded calculate the mark of the resource to be downloadedKnow information, the identification information and resource location information for sending the resource to be downloaded give resource impact server.
A kind of resource impact server, the server include:
Second receiving module, the downloading request message sent for receiving terminal, the downloading request message are carried and treated downResource location information of the resource of load in first resource network;
Second acquisition module, for the resource location information according to the resource to be downloaded in first resource network,Obtain the resource to be downloaded resource location information in the first and second resource networks respectively, the Secondary resource networkFor other one or more resource networks in addition to the first resource network;
Second sending module, response message is downloaded to the terminal for sending, described to download described in response message carryingThe resource to be downloaded resource location information in the first and second resource networks respectively, makes the terminal according to described to be downloadedResource resource location information in the first and second resource networks downloads the resource to be downloaded respectively.
Second acquisition module includes:
First searching module, for the resource location information according to the resource to be downloaded in first resource network,The identification information of the resource to be downloaded is obtained from stored identification information and the correspondence of resource location information;
Second searching module, for the identification information according to the resource to be downloaded, from the stored mark letterBreath in the correspondence of resource location information with obtaining the resource to be downloaded respectively in the first and second resource networksResource location information.
The server further includes:
First establishes module, for after the terminal downloads complete resource to be downloaded, receiving the terminal and sendingThe identification information and resource location information of the resource to be downloaded, establish the identification information and resource of the resource to be downloadedThe correspondence of location information.
The server further includes:
Second establishes module, and the download time of the resource to be downloaded is downloaded for obtaining, is established described to be downloadedThe resource location information of resource and the correspondence of the download time.
The server further includes:
First removing module, for being monitored to the correspondence of stored resource location information and download time,If monitoring out resource location information of the download time before preset time, from stored identification information and Resource orientationBeing deleted in the correspondence of information includes the correspondence of resource location information of the download time before preset time.
The server further includes:
Second removing module, if for monitoring out resource location information of the download time before preset time, fromBeing deleted in the stored resource location information and the correspondence of download time includes the download time in preset timeThe correspondence of resource location information before.
A kind of system for downloading resource, the system comprises the terminal and the resource impact server.
In embodiments of the present invention, terminal obtains resource to be downloaded respectively first when downloading resource to be downloadedWith the resource location information in Secondary resource network, Secondary resource network is other one kind or more in addition to first resource networkKind resource network, it is to be downloaded according to the resource location information download of resource to be downloaded respectively in the first and second resource networksResource;Such terminal can download resource from different resource networks, so as in each resource network of reasonable employmentResource node.
Brief description of the drawings
Fig. 1 is a kind of method flow diagram for download resource that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of method flow diagram for download resource that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of method flow diagram for download resource that the embodiment of the present invention 3 provides;
Fig. 4 is a kind of terminal structure schematic diagram that the embodiment of the present invention 4 provides;
Fig. 5 is a kind of resource impact server architecture schematic diagram that the embodiment of the present invention 5 provides;
Fig. 6 is a kind of system structure diagram for download resource that the embodiment of the present invention 6 provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present inventionFormula is described in further detail.
Embodiment 1
As shown in Figure 1, an embodiment of the present invention provides a kind of method for downloading resource, including:
Step 101:When downloading resource to be downloaded, send downloading request message and give resource impact server, the downloadRequest message carries the resource location information of resource to be downloaded in first resource network;
Step 102:The download response message that resource impact server is sent is received, which carries to be downloadedThe resource resource location information in the first and second resource networks respectively, Secondary resource network be except first resource network withOther outer one or more resource networks;
Step 103:According to the resource to be downloaded resource location information in the first and second resource networks respectively, downloadResource to be downloaded.
Wherein, the execution subject of the present embodiment can be terminal.
In embodiments of the present invention, terminal obtains resource to be downloaded respectively first when downloading resource to be downloadedWith the resource location information in Secondary resource network, Secondary resource network is other one kind or more in addition to first resource networkKind resource network, money to be downloaded is downloaded according to the resource location information of resource to be downloaded in the first and second resource networksSource;Such terminal can download resource from different resource networks, so as to the resource in each resource network of reasonable employmentNode.
Embodiment 2
As shown in Fig. 2, an embodiment of the present invention provides a kind of method for downloading resource, including:
Step 201:The downloading request message that receiving terminal is sent, downloading request message carry resource to be downloaded firstResource location information in resource network;
Step 202:According to the resource location information of resource to be downloaded in first resource network, money to be downloaded is obtainedThe resource location information in the first and second resource networks, Secondary resource network are in addition to first resource network respectively in sourceOther one or more resource networks;
Step 203:Send and download response message to terminal, download response message and carry resource to be downloaded respectively firstWith the resource location information in Secondary resource network, make terminal according to resource to be downloaded respectively in the first and second resource networksIn resource location information download resource to be downloaded.
Wherein, the execution subject of the present embodiment can be resource impact server.
In embodiments of the present invention, resource impact server receives downloading request message, is taken according to the downloading request messageResource location information with resource to be downloaded in first resource network, obtains resource to be downloaded respectively first and secondResource location information in resource network, sends and downloads response message to terminal, and download response message carrying is to be downloadedThe resource resource location information in the first and second resource networks, and make terminal according to resource to be downloaded respectively respectivelyOne and Secondary resource network in resource location information download resource to be downloaded, such terminal can be from different resource networksMiddle download resource, so as to the resource node in each resource network of reasonable employment.
Embodiment 3
As shown in figure 3, an embodiment of the present invention provides a kind of method for downloading resource, including:
Step 301:When downloading resource to be downloaded, terminal is in the corresponding first resource net of download protocol that user usesThe resource location information of resource to be downloaded is obtained in network;
Wherein, corresponding one or more there may be resource to be downloaded in the corresponding resource network of every kind of download protocolA resource location information;In the corresponding resource network of different download protocols, the resource location information of resource to be downloaded is respectively notIt is identical;For example, there may be the corresponding one or more resources of resource to be downloaded in the corresponding resource network of Http agreementsLocation information, and the URL that the resource location information of resource to be downloaded is resource to be downloaded;In the corresponding resource network of BT agreementsThere may be the corresponding one or more resource location informations of resource to be downloaded in network, and the Resource orientation of resource to be downloadedInformation is the Hash information (Information-hash) of resource to be downloaded;May in the corresponding resource network of eD2k agreementsThere are the corresponding one or more resource location informations of resource to be downloaded, and the resource location information of resource to be downloaded is to treatThe eD2k cryptographic Hash (eD2k-hash) of the resource of download.
Wherein, user downloads resource to be downloaded using a kind of download protocol in the terminal, and terminal is used in userThe resource location information of resource to be downloaded is obtained in the corresponding first resource network of download protocol.Wherein, if user is at endThe download protocol used in end is Http agreements, then terminal can receive the Resource orientation letter of resource to be downloaded input by userCease for the URL of resource to be downloaded;If the download protocol that user uses in the terminal is BT agreements, terminal obtains to be downloadedResource seed file, which includes the Hash information of resource to be downloaded, check information and node index clothesThe information such as the address of business device, the resource location information that then terminal obtains resource to be downloaded from the seed file is to be downloadedResource Hash information;If the download protocol that user uses in the terminal is eD2k agreements, terminal first gets and treats downThe eD2k link informations of the resource of load, the eD2k link informations include eD2k cryptographic Hash, filename and the section of resource to be downloadedAddress of point index server etc., the resource location information that resource to be downloaded is obtained from the eD2k link informations are to be downloadedResource eD2k cryptographic Hash.
For example, it is assumed that in the present embodiment, the download protocol that user uses in the terminal is Http agreements, and terminal obtainsThe resource location information of the resource to be downloaded arrived is URL1.
Step 302:Terminal sends downloading request message and gives resource impact server, and the positioning obtains request carrying and treats downResource location information of the resource of load in first resource network;
For example, terminal, which sends downloading request message, gives resource impact server, and downloading request message carrying is to be downloadedResource location information of the resource in first resource network be URL1.
Step 303:Resource impact server receives the downloading request message, under the treating carried according to the downloading request messageResource location information of the resource of load in first resource network, obtains the identification information of resource to be downloaded;
Specifically, resource impact server receives the downloading request message, is carried according to the downloading request message to be downloadedResource location information of the resource in first resource network, search its stored identification information and pair of resource location informationIt should be related to, find out corresponding identification information, and the identification information that the identification information searched is resource to be downloaded.
Wherein, identification information and the correspondence of resource location information are previously stored in resource impact server;OneKind resource only corresponds to an identification information, and every kind of resource corresponds to one or more Resource orientations letters in different resource networksBreath, so in resource impact server, the identification information of a resource corresponds to one or more resource location informations.
Wherein, for resource publisher when issuing resource, the content that can be included according to the resource calculates the mark of the resourceKnow information, the corresponding of the identification information of the resource and the resource location information of the resource is then established in resource impact serverRelation.
, wherein it is desired to explanation is:The identification information of resource is that the content included according to the resource is calculated, soThe resource only corresponds to an identification information.
For example, in this example, it is assumed that resource impact server there are identification information as shown in Table 1 and Resource orientationThe correspondence of information, for some resource, it is ID1 which, which corresponds to an identification information, and the resource is in Http agreements pairResource location information in the resource network answered is URL1, and the resource location information in the corresponding resource network of BT agreements is KazakhstanUncommon information Info_hash1, the resource location information in the corresponding resource network of eD2k agreements is eD2k cryptographic Hash eD2k-hash1。
Table 1
Identification informationResource location information
ID1 URL1
ID1 Info_hash1
ID1 eD2k-hash1
…… ……
For example, resource impact server receives the downloading request message, carried according to the downloading request message to be downloadedResource location information URL1 of the resource in first resource network, searches identification information as shown in Table 1 and resource location informationCorrespondence, and it is ID1 to find out corresponding identification information, and the identification information for so obtaining resource to be downloaded is ID1.
Step 304:Resource impact server obtains resource to be downloaded according to the identification information of resource to be downloaded and distinguishesResource location information in the first and second resource networks, Secondary resource network in addition to first resource network other oneKind or multiple resources network;
Specifically, resource impact server is according to the identification information of resource to be downloaded, from its stored identification informationDetermine with finding out the resource of resource to be downloaded in the first and second resource networks in the correspondence of resource location informationPosition information.
For example, resource impact server searches mark as shown in Table 1 according to the identification information ID1 of resource to be downloadedThe correspondence of information and resource location information, and resource to be downloaded is found out in the corresponding resource network of Http agreementsResource location information is URL1, and the resource location information in the corresponding resource network of Bt agreements is Info_hash1, in eD2kResource location information in the corresponding resource network of agreement is eD2k-hash1, so obtains agreement to be downloaded respectively firstIt is URL1, Info_hash1 and eD2k-hash1 with the resource location information in Secondary resource network.
Step 305:Resource impact server, which is sent, downloads response message to terminal, and the download response message is carried and treated downThe resource of the load resource location information in the first and second resource networks respectively;
For example, resource impact server, which is sent, downloads response message to terminal, and download response message carrying is to be downloadedResource location information URL1 of the resource in the corresponding resource network of Http agreements, in the corresponding resource network of Bt agreementsResource location information Info_hash1, the resource location information eD2k-hash1 in the corresponding resource network of eD2k agreements.
Step 306:Terminal receives the download response message, and carrying resource to be downloaded according to the download response message distinguishesResource location information in the first and second resource networks downloads resource to be downloaded;
For example, terminal receives the download response message, and the download response message carries resource to be downloaded and is assisted in HttpThe resource location information URL1 in corresponding resource network is discussed, the resource location information in the corresponding resource network of Bt agreementsInfo_hash1, the resource location information eD2k-hash1 in the corresponding resource network of eD2k agreements;By resource to be downloadedIt is divided into three parts, is respectively Part I, Part II and Part III, then according to resource to be downloaded in Http agreements pairResource location information URL1 in the resource network answered downloads the Part I that resource to be downloaded includes;According to money to be downloadedResource location information Info_hash1 of the source in the corresponding resource network of Bt agreements downloads resource to be downloaded includes secondPart;Downloaded and treated according to the resource location information eD2k-hash1 of resource to be downloaded in the corresponding resource network of eD2k agreementsThe Part III that the resource of download includes;The Part I, Part II and Part III of download are formed to resource to be downloaded.
, wherein it is desired to explanation is:Terminal according to resource to be downloaded in one or more resource networks it is correspondingDuring resource location information downloads resource to be downloaded, new resource location information may be got, and terminal can be withAccording to resource to be downloaded in one or more resource networks corresponding resource location information and obtain new Resource orientationInformation downloads resource to be downloaded.For example, it is assumed that terminal according to resource to be downloaded in the corresponding resource network of Http agreementsResource location information URL1 download the process of the Part I that resource to be downloaded includes, get new resource location informationURL2, then terminal is according to resource location information URL1 of the resource to be downloaded in the corresponding resource network of Http agreements and acquisitionNew resource location information URL2 download the Part I that resource to be downloaded includes.
Step 307:Terminal calculates the identification information of resource to be downloaded according to the content that resource to be downloaded includes, hairThe identification information and the corresponding resource location information of resource to be downloaded for sending resource to be downloaded give resource impact server;
Wherein, the content that terminal can include according to resource to be downloaded, and pass through MD5 (MessageDigestAlgorithm MD5, Message Digest Algorithm 5) algorithm calculates the identification information of resource to be downloaded.Wherein,The identification information of every kind of resource is all that the content included according to every kind of resource is calculated, so every kind of resource only corresponds to oneIdentification information.
For example, after the complete resource to be downloaded of terminal downloads, the content that is included according to resource to be downloaded, and calculated by MD5The identification information that method calculates resource to be downloaded is ID1, then sends the identification information ID1 of resource to be downloaded and to be downloadedResource resource location information URL1, URL2, Info_hash1 and eD2k-hash1.
Step 308:Resource impact server receives the identification information and resource location information of resource to be downloaded, and establishesThe identification information of resource to be downloaded and the correspondence of resource location information.
Specifically, resource impact server receives the identification information and resource location information of resource to be downloaded, according to treatingThe identification information of the resource of download, searches stored identification information and the correspondence of resource location information, if found outCorresponding resource location information, removes the resource location information of lookup from resource location information to be downloaded, and storage is to be downloadedResource identification information and remaining resource location information correspondence;If corresponding Resource orientation letter is not found outBreath, then store the identification information of resource to be downloaded and the correspondence of resource location information.
For example, the identification information ID1 of resource to be downloaded that resource impact server receiving terminal is sent and to be downloadedResource location information URL1, URL2, Info_hash1 and eD2k-hash1 of resource, according to the identification information of resource to be downloadedID1 searches identification information as shown in Table 1 and the correspondence of resource location information, and finds out corresponding resource location informationFor URL1, Info_hash1 and eD2k-hash1, from resource location information URL1, URL2, Info_ of resource to be downloadedHash1 and eD2k-hash1 removes resource location information URL1, Info_hash1 and the eD2k-hash1 searched, and storage is to be downloadedResource identification information ID1 and remaining resource location information URL2 correspondence, obtain identification information as shown in Table 2With the correspondence of resource location information.
Table 2
Identification informationResource location information
ID1 URL1
ID1 Info_hash1
ID1 eD2k-hash1
ID1 URL2
…… ……
Further, resource location information and the correspondence of download time can also be included in resource impact server,Correspondingly,
After resource impact server receives the resource location information of the resource to be downloaded of terminal transmission, obtain download and treatThe download time of the resource of download, establishes the resource location information of resource to be downloaded and the corresponding pass of the download time obtainedSystem.
Specifically, resource impact server obtains current time, and using current time as download resource to be downloadedDownload time, stored resource location information pass corresponding with download time is searched according to resource location information to be downloadedSystem, if corresponding download time is found, when being updated to download the download of resource to be downloaded by the download time of lookupBetween;If not finding corresponding download time, the resource location information for storing resource to be downloaded is to be downloaded with downloadingResource download time correspondence.
Further, resource impact server is also monitored the correspondence of resource location information and download time,If monitoring out resource location information of the download time before preset time, from identification information and pair of resource location informationIt should be related to the middle correspondence deleted and include resource location information of the download time before preset time;Further, may be used alsoInclude resource of the download time before preset time to be deleted from the correspondence of resource location information and download time and determineThe correspondence of position information.
Specifically, resource impact server is periodically scanned in the correspondence of resource location information and download timeEvery correspondence, calculates download time that the correspondence of scanning includes and the time difference of current time, if calculate whenBetween difference exceed preset time, then it is download time in preset time to monitor out the resource location information that the correspondence of scanning includesResource location information before, then deletes the corresponding pass of scanning in the correspondence from resource location information with download timeSystem, and lookup includes money of the download time before preset time from identification information and the correspondence of resource location informationThe correspondence of source location information, and delete the correspondence of lookup;If the time difference calculated not less than preset time, supervisesThe resource location information that controlling out the correspondence of scanning includes is resource location information of the download time within preset time.
In embodiments of the present invention, the downloading request message that resource impact server receiving terminal is sent, according to the downloadRequest message carries the resource location information acquisition of resource to be downloaded in first resource network resource to be downloaded and exists respectivelyResource location information in first and second resource networks, sends and downloads response message to terminal, and the download response message is takenWith resource to be downloaded, the resource location information in the first and second resource networks, terminal are divided according to resource to be downloaded respectivelyResource location information not in the first and second resource networks downloads resource to be downloaded, and such terminal can be from different moneyResource is downloaded in source network, so as to the resource node in each resource network of reasonable employment.
Embodiment 4
As shown in figure 4, an embodiment of the present invention provides a kind of terminal, including:
First sending module 401, for when downloading resource to be downloaded, sending downloading request message and being taken to resource impactBusiness device, and the downloading request message carries the resource location information of resource to be downloaded in first resource network;
First receiving module 402, for receiving the download response message of resource impact server transmission, download response disappearsBreath carries the resource to be downloaded resource location information in the first and second resource networks respectively, and Secondary resource network is except theOther one or more resource networks beyond one resource network;
Download module 403, for according to the resource to be downloaded Resource orientation in the first and second resource networks respectivelyInformation, downloads resource to be downloaded.
Further further included into ground, the terminal:
First acquisition module, for obtaining the resource location information of resource to be downloaded in first resource network.
Further, which further includes:
Computing module, the content for being included according to resource to be downloaded calculate the identification information of resource to be downloaded,The identification information and resource location information for sending resource to be downloaded give resource impact server.
In embodiments of the present invention, terminal obtains resource to be downloaded respectively first when downloading resource to be downloadedWith the resource location information in Secondary resource network, according to the resource to be downloaded money in the first and second resource networks respectivelySource location information downloads resource to be downloaded;Such terminal can download resource from different resource networks, so as to closeReason uses the resource node in each resource network.
Embodiment 5
As shown in figure 5, an embodiment of the present invention provides a kind of resource impact server, including:
Second receiving module 501, the downloading request message sent for receiving terminal, the downloading request message are carried and treated downResource location information of the resource of load in first resource network;
Second acquisition module 502, for the resource location information according to resource to be downloaded in first resource network, is obtainedThe resource location information of resource to be downloaded respectively in the first and second resource networks is taken, Secondary resource network is except the first moneyOther one or more resource networks beyond source network;
Second sending module 503, carries to be downloaded for sending download response message to terminal, the download response messageThe resource resource location information in the first and second resource networks respectively, makes terminal according to resource to be downloaded respectively firstResource to be downloaded is downloaded with the resource location information in Secondary resource network.
Wherein, the second acquisition module 502 includes:
First searching module, for the resource location information according to resource to be downloaded in first resource network, fromThe identification information of resource to be downloaded is obtained in the identification information of storage and the correspondence of resource location information;
Second searching module, for the identification information according to resource to be downloaded, from stored identification information and resourceThe resource location information of resource to be downloaded respectively in the first and second resource networks is obtained in the correspondence of location information.
Further, which further includes:
First establishes module, for after terminal downloads complete resource to be downloaded, receiving terminal to send resource to be downloadedIdentification information and resource location information, establish the identification information of resource to be downloaded and the correspondence of resource location information.
Further, which further includes:
Second establishes module, and the download time of resource to be downloaded is downloaded for obtaining, and establishes the money of resource to be downloadedSource location information and the correspondence of download time.
Further, which further includes:
First removing module, for being monitored to the correspondence of stored resource location information and download time,If monitoring out resource location information of the download time before preset time, from stored identification information and Resource orientationBeing deleted in the correspondence of information includes the correspondence of resource location information of the download time before preset time.
Further, which further includes:
Second removing module, if for monitoring out resource location information of the download time before preset time, fromBeing deleted in the correspondence of stored resource location information and download time includes money of the download time before preset timeThe correspondence of source location information.
In embodiments of the present invention, resource impact server receives downloading request message, is taken according to the downloading request messageResource location information with resource to be downloaded in first resource network obtains resource to be downloaded respectively first and secondResource location information in resource network, sends and downloads response message to terminal, and download response message carrying is to be downloadedThe resource resource location information in the first and second resource networks, and make terminal according to resource to be downloaded respectively respectivelyOne and Secondary resource network in resource location information download resource to be downloaded, such terminal can be from different resource networksMiddle download resource, so as to the resource node in each resource network of reasonable employment.
Embodiment 6
As shown in fig. 6, an embodiment of the present invention provides a kind of system for downloading resource, including:
Terminal 601 as described in Example 4 and resource impact server 602 as described in Example 5.
In embodiments of the present invention, the downloading request message that resource impact server receiving terminal is sent, according to the downloadRequest message carries the resource location information acquisition of resource to be downloaded in first resource network resource to be downloaded and exists respectivelyResource location information in first and second resource networks, sends and downloads response message to terminal, and the download response message is takenWith resource to be downloaded, the resource location information in the first and second resource networks, terminal are divided according to resource to be downloaded respectivelyResource location information not in the first and second resource networks downloads resource to be downloaded, and such terminal can be from different moneyResource is downloaded in source network, so as to the resource node in each resource network of reasonable employment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodimentTo complete, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readableIn storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit andWithin principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention.

Claims (15)

  1. Send and download response message to the terminal, the download response message carrying resource to be downloaded is respectively firstWith the resource location information in Secondary resource network, make the terminal according to the resource to be downloaded in the first resource netResource location information in network, downloads the Part I that the resource to be downloaded includes, and according to the resource to be downloadedResource location information in the Secondary resource network, downloads the Part II that the resource to be downloaded includes, wherein,According to resource location information of the resource to be downloaded in the first resource network, the resource bag to be downloaded is downloadedDuring the Part I included, if getting new resource location information, according to the new resource location information, underCarry the Part I;
  2. Second sending module, is treated down for sending download response message to the terminal, described download described in response message carryingThe resource of the load resource location information in the first and second resource networks respectively, makes the terminal according to the money to be downloadedResource location information of the source in the first resource network, downloads the Part I that the resource to be downloaded includes, and rootAccording to resource location information of the resource to be downloaded in the Secondary resource network, downloading the resource to be downloaded includesPart II, wherein, in the resource location information according to the resource to be downloaded in the first resource network, downloadDuring the Part I that the resource to be downloaded includes, if getting new resource location information, according toNew resource location information, downloads the Part I;
CN201210036828.3A2012-02-172012-02-17A kind of method, terminal, server and system for downloading resourceActiveCN103259816B (en)

Priority Applications (4)

Application NumberPriority DateFiling DateTitle
CN201210036828.3ACN103259816B (en)2012-02-172012-02-17A kind of method, terminal, server and system for downloading resource
PL407778APL407778A1 (en)2012-02-172013-01-29Method, the terminal server and system for data collection
US14/232,074US8984100B2 (en)2012-02-172013-01-29Data downloading method, terminal, server, and system
PCT/CN2013/071065WO2013120412A1 (en)2012-02-172013-01-29Data download method, terminal, server and system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210036828.3ACN103259816B (en)2012-02-172012-02-17A kind of method, terminal, server and system for downloading resource

Publications (2)

Publication NumberPublication Date
CN103259816A CN103259816A (en)2013-08-21
CN103259816Btrue CN103259816B (en)2018-05-08

Family

ID=48963513

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210036828.3AActiveCN103259816B (en)2012-02-172012-02-17A kind of method, terminal, server and system for downloading resource

Country Status (1)

CountryLink
CN (1)CN103259816B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101409706A (en)*2007-10-092009-04-15华为技术有限公司Method, system and relevant equipment for distributing data of edge network
CN101841553A (en)*2009-03-172010-09-22日电(中国)有限公司Method, user node and server for requesting location information of resources on network
CN102082807A (en)*2009-12-012011-06-01突触计算机系统(上海)有限公司File transmitting method and device based on multiple protocols
CN102130838A (en)*2011-04-022011-07-20南京邮电大学 A Realization Method of Peer-to-Peer Network Caching System Based on Ares Protocol

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5796952A (en)*1997-03-211998-08-18Dot Com Development, Inc.Method and apparatus for tracking client interaction with a network resource and creating client profiles and resource database
US20090210697A1 (en)*2008-01-172009-08-20Songqing ChenDigital Rights Protection in BitTorrent-like P2P Systems
CN101741883A (en)*2008-11-272010-06-16Tcl集团股份有限公司Method and system for enhancing network download speed of CE equipment
CN101924797B (en)*2010-08-262014-03-05华为数字技术(成都)有限公司Method, device and system for processing source downloading

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101409706A (en)*2007-10-092009-04-15华为技术有限公司Method, system and relevant equipment for distributing data of edge network
CN101841553A (en)*2009-03-172010-09-22日电(中国)有限公司Method, user node and server for requesting location information of resources on network
CN102082807A (en)*2009-12-012011-06-01突触计算机系统(上海)有限公司File transmitting method and device based on multiple protocols
CN102130838A (en)*2011-04-022011-07-20南京邮电大学 A Realization Method of Peer-to-Peer Network Caching System Based on Ares Protocol

Also Published As

Publication numberPublication date
CN103259816A (en)2013-08-21

Similar Documents

PublicationPublication DateTitle
CN101340371B (en)Session keeping method and load balance apparatus
EP3410657B1 (en)Method of packet transmission from node and content owner in content-centric networking
CN110290186B (en)System and method suitable for file transmission of multiple supercomputing centers
EP2865165B1 (en)Method and device for secure content retrieval
EP2091202B1 (en)Data distributing method, data distributing system and correlative devices in edge network
CN104951480B (en)The indexing unit and method that resource stores in a kind of CDN system
US9992296B2 (en)Caching objects identified by dynamic resource identifiers
US20170318059A1 (en)Single pass load balancing and session persistence in packet networks
CN107181804B (en)The method for down loading and device of resource
WO2014186733A1 (en)Systems and methods for enhanced discovery
CN105227610A (en)File uploading and storing method and device
CN104679798B (en)Page detection method and device
CN107465666A (en)A kind of client ip acquisition methods and device
CN105100084A (en)Method and system for preventing cross-site request forgery attack
CN102394880A (en)Method and device for processing jump response in content delivery network
CN103957207B (en)A kind of session keeping method and device
CN103501331A (en) Data transmission method, device and system
US9055113B2 (en)Method and system for monitoring flows in network traffic
CN103634410B (en)Data synchronization method based on content distribution network (CDN), client end and server
EP3389240B1 (en)Method and system for processing cache cluster service
CN105610716B (en)A kind of multimedia flow Optimization Scheduling, apparatus and system based on SDN
CN104283955A (en)Browser, server, downloading system and downloading method
CN103259816B (en)A kind of method, terminal, server and system for downloading resource
CN102638577B (en)Method, equipment and system for collecting seed files
CN103532915B (en)Browser bookmark is carried out to the method and system of killing

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp