Movatterモバイル変換


[0]ホーム

URL:


CN103259816A - Method, terminal, server and system of downloading resource - Google Patents

Method, terminal, server and system of downloading resource
Download PDF

Info

Publication number
CN103259816A
CN103259816ACN2012100368283ACN201210036828ACN103259816ACN 103259816 ACN103259816 ACN 103259816ACN 2012100368283 ACN2012100368283 ACN 2012100368283ACN 201210036828 ACN201210036828 ACN 201210036828ACN 103259816 ACN103259816 ACN 103259816A
Authority
CN
China
Prior art keywords
resource
downloaded
location information
download
network
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.)
Granted
Application number
CN2012100368283A
Other languages
Chinese (zh)
Other versions
CN103259816B (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

Images

Landscapes

Abstract

The invention discloses a method, terminal, server and system of downloading a resource, and belongs to the field of internet communication. The method comprises the steps that when the resource to be downloaded is downloaded, a downloading request message is sent to the resource mapping server, and carries resource positioning information, in a first resource network, of the resource to be downloaded; a downloading response message sent by the resource mapping server is received, and carries resource positioning information, in the first resource network and a second resource network, of the resource to be downloaded; the resource to be downloaded is downloaded according to the resource positioning information, in the first resource network and a second resource network, of the resource to be downloaded. The system comprises the terminal and the resource mapping server, wherein the terminal comprises a first sending module, a first receiving module and a downloading module. The resource mapping server comprises a second receiving module, a second acquiring module and a second sending module. According to the method, the terminal, the server and the system of downloading the resource, resource nodes can be reasonably used.

Description

A kind of method of downloaded resources, terminal, server and system
Technical field
The present invention relates to field of Internet communication, particularly a kind of method of downloaded resources, terminal, server and system.
Background technology
Development along with Internet technology, occur multiple download protocol at present and gone downloaded resources for the user, for example, occur download protocol commonly used at present and comprise Http (Hypertext transport protocol, HTTP) agreement, BT (BitTorrent, bit stream) agreement and eD2k (eDonkey2000network, electric donkey 2000 networks) agreement etc.
Wherein, corresponding resource network of a kind of download protocol; When the user need download, the user selected a kind of download protocol, downloaded the resource that needs download from the resource network of this download protocol correspondence.For example, if the user uses Http agreement downloaded resources, then the user obtains the URL (UniversalResource Locator, URL(uniform resource locator)) of the resource that needs download, downloads the resource that needs are downloaded according to the URL that obtains from the resource network of Http agreement correspondence; If the user uses BT agreement downloaded resources, then the user obtains the Hash information of the resource that needs download, according to the Hash information of obtaining downloaded resources from the resource network of BT agreement correspondence; If the user uses the resource that the eD2k agreement is downloaded needs download, then the user obtains the eD2k cryptographic Hash of the resource that needs download, downloads the resource that needs are downloaded according to the eD2k cryptographic Hash of obtaining from the resource network of eD2k agreement correspondence.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
At present the user can only be from the resource network of the download protocol correspondence of its use downloaded resources, often the user is when downloaded resources, the leisureless resource node of resource network of the download protocol correspondence that the user uses can be for downloading in the user, and the resource network Luoque of other download protocol correspondences has a large amount of idling-resource nodes, so causes resource node rationally not use.
Summary of the invention
In order rationally to use the resource node in each resource network, the invention provides a kind of method, terminal, server and system of downloaded resources.Described technical scheme is as follows:
A kind of method of downloaded resources, described method comprises:
When downloading resource to be downloaded, send downloading request message to the resource mapping server, described downloading request message is carried resource to be downloaded resource location information in first resource network;
Receive the download response message that described resource mapping server sends, described download response message carries described resource to be downloaded resource location information in first and second resource networks respectively, and described second resource network is other one or more resource networks except described first resource network;
According to described resource to be downloaded resource location information in described first and second resource networks respectively, download described resource to be downloaded.
Described transmission downloading request message also comprises to before the resource mapping server:
Obtain the described resource location information of resource in described first resource network to be downloaded.
After the described resource to be downloaded of described download, also comprise:
The content that comprises according to described resource to be downloaded calculates the identification information of described resource to be downloaded, sends the identification information of described resource to be downloaded and resource location information to the resource mapping server.
A kind of method of downloaded resources, described method comprises:
The downloading request message that receiving terminal sends, described downloading request message is carried resource to be downloaded resource location information in first resource network;
According to the described resource location information of resource in first resource network to be downloaded, obtain described resource to be downloaded resource location information in first and second resource networks respectively, described second resource network is other one or more resource networks except described first resource network;
Send and download response message to described terminal, described download response message carries described resource to be downloaded resource location information in first and second resource networks respectively, make described terminal according to described resource to be downloaded respectively the resource location information in first and second resource networks download described resource to be downloaded.
Described according to the described resource location information of resource in first resource network to be downloaded, obtain the described resource to be downloaded resource location information of correspondence in first and second resource networks respectively, comprising:
According to the described resource location information of resource in first resource network to be downloaded, from the corresponding relation of the identification information stored and resource location information, obtain the identification information of described resource to be downloaded;
Identification information according to described resource to be downloaded obtains described resource to be downloaded resource location information in first and second resource networks respectively from the corresponding relation of the described identification information of having stored and resource location information.
Described method also comprises:
After the intact described resource to be downloaded of described terminal downloads, receive identification information and resource location information that described terminal sends described resource to be downloaded, set up the identification information of described resource to be downloaded and the corresponding relation of resource location information.
The described terminal of described reception sends after the identification information and resource location information of described resource to be downloaded, also comprises:
Obtain the download time of downloading described resource to be downloaded, set up the resource location information of described resource to be downloaded and the corresponding relation of described download time.
Described method also comprises:
The corresponding relation of stored resource locating information and download time is monitored, if monitor out the resource location information of download time before Preset Time, then deletion comprises the corresponding relation of the resource location information of described download time before Preset Time from the corresponding relation of the identification information stored and resource location information.
Described method also comprises:
If monitor out the resource location information of download time before Preset Time, then from the described locating information of stored resource and the corresponding relation of download time, delete the corresponding relation that comprises the resource location information of described download time before Preset Time.
A kind of terminal, described terminal comprises:
First sending module is used for when downloading resource to be downloaded, sends downloading request message to the resource mapping server, and described downloading request message is carried resource to be downloaded resource location information in first resource network;
First receiver module, be used for receiving the download response message that described resource mapping server sends, described download response message carries described resource to be downloaded resource location information in first and second resource networks respectively, and described second resource network is other one or more resource networks except described first resource network;
Download module is used for according to described resource to be downloaded downloading described resource to be downloaded respectively in the resource location information of first and second resource networks.
Described terminal also comprises:
First acquisition module is used for obtaining described resource to be downloaded in the resource location information of described first resource network.
Described terminal also comprises:
Computing module is used for calculating according to the content that described resource to be downloaded comprises the identification information of described resource to be downloaded, sends the identification information of described resource to be downloaded and resource location information to the resource mapping server.
A kind of resource mapping server, described server comprises:
Second receiver module is used for the downloading request message that receiving terminal sends, and described downloading request message is carried resource to be downloaded resource location information in first resource network;
Second acquisition module, be used for according to the resource location information of described resource to be downloaded at first resource network, obtain described resource to be downloaded resource location information in first and second resource networks respectively, described second resource network is other one or more resource networks except described first resource network;
Second sending module, be used for sending and download response message to described terminal, described download response message carries described resource to be downloaded resource location information in first and second resource networks respectively, make described terminal according to described resource to be downloaded respectively the resource location information in first and second resource networks download described resource to be downloaded.
Described second acquisition module comprises:
First searches module, is used for according to the resource location information of described resource to be downloaded at first resource network, obtains the identification information of described resource to be downloaded from the corresponding relation of the identification information stored and resource location information;
Second searches module, is used for the identification information according to described resource to be downloaded, obtains described resource to be downloaded resource location information in first and second resource networks respectively from the corresponding relation of the described identification information of having stored and resource location information.
Described server also comprises:
First sets up module, be used for after the intact described resource to be downloaded of described terminal downloads, receive identification information and resource location information that described terminal sends described resource to be downloaded, set up the identification information of described resource to be downloaded and the corresponding relation of resource location information.
Described server also comprises:
Second sets up module, is used for obtaining the download time of downloading described resource to be downloaded, sets up the resource location information of described resource to be downloaded and the corresponding relation of described download time.
Described server also comprises:
First removing module, be used for the corresponding relation of stored resource locating information and download time is monitored, if monitor out the resource location information of download time before Preset Time, then deletion comprises the corresponding relation of the resource location information of described download time before Preset Time from the corresponding relation of the identification information stored and resource location information.
Described server also comprises:
Second removing module, if be used for monitoring out the resource location information of download time before Preset Time, then from the described locating information of stored resource and the corresponding relation of download time, delete the corresponding relation that comprises the resource location information of described download time before Preset Time.
A kind of system of downloaded resources, described system comprise described terminal and described resource mapping server.
In embodiments of the present invention, terminal is when downloading resource to be downloaded, obtain resource to be downloaded resource location information in first and second resource networks respectively, second resource network is other one or more resource networks except first resource network, according to the resource to be downloaded download of resource location information in first and second resource networks resource to be downloaded respectively; So terminal can be from different resource networks downloaded resources, thereby can rationally use resource node in each resource network.
Description of drawings
Fig. 1 is the method flow diagram of a kind of downloaded resources of providing of the embodiment of the invention 1;
Fig. 2 is the method flow diagram of a kind of downloaded resources of providing of the embodiment of the invention 2;
Fig. 3 is the method flow diagram of a kind of downloaded resources of providing of the embodiment of the invention 3;
Fig. 4 is a kind of terminal structure schematic diagram that the embodiment of the invention 4 provides;
Fig. 5 is a kind of resource mapping server structural representation that the embodiment of the invention 5 provides;
Fig. 6 is the system configuration schematic diagram of a kind of downloaded resources of providing of the embodiment of the invention 6.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
As shown in Figure 1, the embodiment of the invention provides a kind of method of downloaded resources, comprising:
Step 101: when downloading resource to be downloaded, send downloading request message to the resource mapping server, this downloading request message is carried resource to be downloaded resource location information in first resource network;
Step 102: receive the download response message that the resource mapping server sends, this download response message carries resource to be downloaded resource location information in first and second resource networks respectively, and second resource network is other one or more resource networks except first resource network;
Step 103: according to resource to be downloaded resource location information in first and second resource networks respectively, download resource to be downloaded.
Wherein, the execution subject of present embodiment can be terminal.
In embodiments of the present invention, terminal is when downloading resource to be downloaded, obtain resource to be downloaded resource location information in first and second resource networks respectively, second resource network is other one or more resource networks except first resource network, downloads resource to be downloaded according to resource to be downloaded resource location information in first and second resource networks; So terminal can be from different resource networks downloaded resources, thereby can rationally use resource node in each resource network.
Embodiment 2
As shown in Figure 2, the embodiment of the invention provides a kind of method of downloaded resources, comprising:
Step 201: the downloading request message that receiving terminal sends, downloading request message is carried resource to be downloaded resource location information in first resource network;
Step 202: according to resource to be downloaded resource location information in first resource network, obtain resource to be downloaded resource location information in first and second resource networks respectively, second resource network is other one or more resource networks except first resource network;
Step 203: send and download response message to terminal, download response message and carry resource to be downloaded resource location information in first and second resource networks respectively, make terminal according to resource to be downloaded respectively the resource location information in first and second resource networks download resource to be downloaded.
Wherein, the execution subject of present embodiment can be the resource mapping server.
In embodiments of the present invention, the resource mapping server receives downloading request message, carry resource to be downloaded resource location information in first resource network according to this downloading request message, obtain resource to be downloaded resource location information in first and second resource networks respectively, send and download response message to terminal, and this download response message carries resource to be downloaded resource location information in first and second resource networks respectively, and make terminal according to resource to be downloaded respectively the resource location information in first and second resource networks download resource to be downloaded, so terminal can be from different resource networks downloaded resources, thereby can rationally use resource node in each resource network.
Embodiment 3
As shown in Figure 3, the embodiment of the invention provides a kind of method of downloaded resources, comprising:
Step 301: when downloading resource to be downloaded, terminal is obtained the resource location information of resource to be downloaded in first resource network of the download protocol correspondence that the user uses;
One or more resource location information that wherein, in the resource network of every kind of download protocol correspondence, may have resource correspondence to be downloaded; In the resource network of different download protocol correspondences, the resource location information of resource to be downloaded has nothing in common with each other; For example, in the resource network of Http agreement correspondence, may have one or more resource location information of resource correspondence to be downloaded, and the resource location information of resource to be downloaded is the URL of resource to be downloaded; One or more resource location information that in the resource network of BT agreement correspondence, may have resource correspondence to be downloaded, and the resource location information of resource to be downloaded is the Hash information (Information-hash) of resource to be downloaded; One or more resource location information that in the resource network of eD2k agreement correspondence, may have resource correspondence to be downloaded, and the resource location information of resource to be downloaded is the eD2k cryptographic Hash (eD2k-hash) of resource to be downloaded.
Wherein, the user uses a kind of download protocol to download resource to be downloaded in terminal, and terminal is obtained the resource location information of resource to be downloaded in first resource network of the download protocol correspondence that the user uses.Wherein, if the download protocol that the user uses in terminal is the Http agreement, then terminal can receive the URL that the resource location information of the resource to be downloaded of user input is resource to be downloaded; If the download protocol that the user uses in terminal is the BT agreement, then terminal is obtained the seed file of resource to be downloaded, the information such as address that comprise Hash information, check information and the node index server of resource to be downloaded in this seed file, terminal is obtained the Hash information that the resource location information of resource to be downloaded is resource to be downloaded from this seed file then; If the download protocol that the user uses in terminal is the eD2k agreement, then terminal gets access to the eD2k link information of resource to be downloaded earlier, this eD2k link information comprises the address etc. of eD2k cryptographic Hash, filename and the node index server of resource to be downloaded, and the resource location information of obtaining resource to be downloaded from this eD2k link information is the eD2k cryptographic Hash of resource to be downloaded.
For example, suppose in the present embodiment that the download protocol that the user uses is the Http agreement in terminal, and the resource location information of the resource to be downloaded that gets access to of terminal is URL1.
Step 302: terminal sends downloading request message to the resource mapping server, and resource to be downloaded resource location information in first resource network is carried in the request of obtaining of this location;
For example, terminal sends downloading request message to the resource mapping server, and this downloading request message to carry resource to be downloaded resource location information in first resource network be URL1.
Step 303: the resource mapping server receives this downloading request message, according to the resource to be downloaded resource location information in first resource network that this downloading request message is carried, obtains the identification information of resource to be downloaded;
Particularly, the resource mapping server receives this downloading request message, carry resource to be downloaded resource location information in first resource network according to this downloading request message, search the corresponding relation of its identification information of having stored and resource location information, find out corresponding identification information, and the identification information of searching is the identification information of resource to be downloaded.
Wherein, in the resource mapping server, store the corresponding relation of identification information and resource location information in advance; A kind of resource is corresponding identification information only, and in different resource networks every kind of corresponding one or more resource location information of resource, so in the resource mapping server, the corresponding one or more resource location information of the identification information of a resource.
Wherein, the resource publisher during resource, can calculate the identification information of this resource in issue according to the content that this resource comprises, sets up the corresponding relation of the resource location information of the identification information of this resource and this resource then in the resource mapping server.
Wherein, need to prove: the identification information of resource is to calculate according to the content that this resource comprises, so the only corresponding identification information of this resource.
For example, in the present embodiment, suppose that the resource mapping server exists identification information as shown in table 1 and the corresponding relation of resource location information, for certain resource, the corresponding identification information of this resource is ID1, and the resource location information of this resource in the resource network of Http agreement correspondence is URL1, resource location information in the resource network of BT agreement correspondence is Hash information Info_hash1, and the resource location information in the resource network of eD2k agreement correspondence is eD2k cryptographic Hash eD2k-hash1.
Table 1
Identification informationResource location information
ID1 URL1
ID1 Info_hash1
ID1 eD2k-hash1
…… ……
For example, the resource mapping server receives this downloading request message, carry resource to be downloaded resource location information URL1 in first resource network according to this downloading request message, search identification information as shown in table 1 and the corresponding relation of resource location information, and finding out corresponding identification information is ID1, and the identification information that so obtains resource to be downloaded is ID1.
Step 304: the resource mapping server obtains resource to be downloaded resource location information in first and second resource networks respectively according to the identification information of resource to be downloaded, and second resource network is other one or more resource networks except first resource network;
Particularly, the resource mapping server is according to the identification information of resource to be downloaded, from the corresponding relation of its identification information of having stored and resource location information, find out resource to be downloaded in first and second resource networks resource location information.
For example, the resource mapping server is according to the identification information ID1 of resource to be downloaded, search identification information as shown in table 1 and the corresponding relation of resource location information, and to find out resource to be downloaded resource location information in the resource network of Http agreement correspondence be URL1, resource location information in the resource network of Bt agreement correspondence is Info_hash1, resource location information in the resource network of eD2k agreement correspondence is eD2k-hash1, so obtain agreement to be downloaded respectively the resource location information in first and second resource networks be URL1, Info_hash1 and eD2k-hash1.
Step 305: the resource mapping server sends downloads response message to terminal, and this download response message carries resource to be downloaded resource location information in first and second resource networks respectively;
For example, the resource mapping server sends downloads response message to terminal, and this download response message carries resource to be downloaded resource location information URL1 in the resource network of Http agreement correspondence, resource location information Info_hash1 in the resource network of Bt agreement correspondence, the resource location information eD2k-hash1 in the resource network of eD2k agreement correspondence.
Step 306: terminal receives this download response message, carries the resource to be downloaded download of resource location information in first and second resource networks resource to be downloaded respectively according to this download response message;
For example, terminal receives this download response message, and this download response message carries resource to be downloaded resource location information URL1 in the resource network of Http agreement correspondence, resource location information Info_hash1 in the resource network of Bt agreement correspondence, the resource location information eD2k-hash1 in the resource network of eD2k agreement correspondence; Resource to be downloaded is divided into three parts, is respectively first, second portion and third part, download the first that resource to be downloaded comprises according to resource to be downloaded resource location information URL1 in the resource network of Http agreement correspondence then; Resource location information Info_hash1 in the resource network of Bt agreement correspondence downloads the second portion that resource to be downloaded comprises according to resource to be downloaded; Resource location information eD2k-hash1 in the resource network of eD2k agreement correspondence downloads the third part that resource to be downloaded comprises according to resource to be downloaded; First, second portion and the third part downloaded are formed resource to be downloaded.
Wherein, need to prove: terminal is being downloaded in the process of resource to be downloaded according to resource to be downloaded corresponding resource location information in one or more resource networks, may get access to new resource location information, and terminal can be downloaded resource to be downloaded with the new resource location information of obtaining according to resource to be downloaded corresponding resource location information in one or more resource networks.For example, suppose that terminal downloads the process of the first that resource to be downloaded comprises according to resource to be downloaded resource location information URL1 in the resource network of Http agreement correspondence, get access to new resource location information URL2, then terminal is downloaded the first that resource to be downloaded comprises according to resource to be downloaded resource location information URL1 in the resource network of Http agreement correspondence and the new resource location information URL2 that obtains.
Step 307: the content that terminal comprises according to resource to be downloaded calculates the identification information of resource to be downloaded, sends the resource location information of the identification information of resource to be downloaded and resource correspondence to be downloaded to the resource mapping server;
Wherein, the content that terminal can comprise according to resource to be downloaded, and calculate the identification information of resource to be downloaded by MD5 (Message DigestAlgorithm MD5, Message Digest Algorithm 5) algorithm.Wherein, the identification information of every kind of resource all is to calculate according to the content that every kind of resource comprises, so every kind of only corresponding identification information of resource.
For example, after terminal downloads is finished resource to be downloaded, the content that comprises according to resource to be downloaded, and be ID1 by the identification information that the MD5 algorithm calculates resource to be downloaded, send the identification information ID1 of resource to be downloaded and resource location information URL1, URL2, Info_hash1 and the eD2k-hash1 of resource to be downloaded then.
Step 308: the resource mapping server receives identification information and the resource location information of resource to be downloaded, and sets up the identification information of resource to be downloaded and the corresponding relation of resource location information.
Particularly, the resource mapping server receives identification information and the resource location information of resource to be downloaded, identification information according to resource to be downloaded, search the identification information stored and the corresponding relation of resource location information, if find out corresponding resource location information, from resource location information to be downloaded, remove the resource location information of searching, store the identification information of resource to be downloaded and the corresponding relation of the resource location information of being left; If do not find out corresponding resource location information, then store the identification information of resource to be downloaded and the corresponding relation of resource location information.
For example, the resource location information URL1 of the identification information ID1 of the resource to be downloaded that resource mapping server receiving terminal sends and resource to be downloaded, URL2, Info_hash1 and eD2k-hash1, identification information ID1 according to resource to be downloaded searches identification information as shown in table 1 and the corresponding relation of resource location information, and the resource location information that finds out correspondence is URL1, Info_hash1 and eD2k-hash1, resource location information URL1 from resource to be downloaded, URL2, Info_hash1 and eD2k-hash1 remove the resource location information URL1 that searches, Info_hash1 and eD2k-hash1, the corresponding relation of the resource location information URL2 that stores the identification information ID1 of resource to be downloaded and be left obtains identification information as shown in table 2 and the corresponding relation of resource location information.
Table 2
Identification informationResource location information
ID1 URL1
ID1 Info_hash1
ID1 eD2k-hash1
ID1 URL2
…… ……
Further, can also comprise the corresponding relation of resource location information and download time in the resource mapping server, correspondingly,
The resource mapping server obtains the download time of downloading resource to be downloaded after receiving the resource location information of the resource to be downloaded that terminal sends, and sets up the resource location information of resource to be downloaded and the corresponding relation of the download time of obtaining.
Particularly, the resource mapping server obtains the current time, and with the download time of current time as download resource to be downloaded, search stored resource locating information and the corresponding relation of download time according to resource location information to be downloaded, if find the corresponding download time, then be updated to the download time of downloading resource to be downloaded the download time of searching; If do not find the corresponding download time, then store the resource location information of resource to be downloaded and the corresponding relation of the download time of downloading resource to be downloaded.
Further, the resource mapping server is also monitored the corresponding relation of resource location information and download time, if monitor out the resource location information of download time before Preset Time, then from the corresponding relation of identification information and resource location information, delete the corresponding relation that comprises the resource location information of download time before Preset Time; Further, can also from the corresponding relation of resource location information and download time, delete the corresponding relation that comprises the resource location information of download time before Preset Time.
Particularly, the resource mapping server periodically scans every corresponding relation in the corresponding relation of resource location information and download time, the download time that the corresponding relation of calculating scanning comprises and the time difference of current time, if the time difference of calculating surpasses Preset Time, then monitoring out the resource location information that the corresponding relation of scanning comprises is the resource location information of download time before Preset Time, from the corresponding relation of resource location information and download time, delete the corresponding relation of scanning then, and from the corresponding relation of identification information and resource location information, search the corresponding relation that comprises the resource location information of download time before Preset Time, and delete the corresponding relation of searching; If the time difference of calculating surpasses Preset Time, then monitoring out the resource location information that the corresponding relation of scanning comprises is the resource location information of download time within Preset Time.
In embodiments of the present invention, the downloading request message that resource mapping server receiving terminal sends, carry resource to be downloaded resource location information in first resource network according to this downloading request message and obtain resource to be downloaded resource location information in first and second resource networks respectively, send and download response message to terminal, and this download response message carries resource to be downloaded resource location information in first and second resource networks respectively, terminal according to resource to be downloaded respectively the resource location information in first and second resource networks download resource to be downloaded, so terminal can be from different resource networks downloaded resources, thereby can rationally use resource node in each resource network.
Embodiment 4
As shown in Figure 4, the embodiment of the invention provides a kind of terminal, comprising:
First sending module 401 is used for when downloading resource to be downloaded, send downloading request message to the resource mapping server, and this downloading request message is carried resource to be downloaded resource location information in first resource network;
First receiver module 402, be used for receiving the download response message that the resource mapping server sends, this download response message carries resource to be downloaded resource location information in first and second resource networks respectively, and second resource network is other one or more resource networks except first resource network;
Download module 403 is used for according to resource to be downloaded downloading resource to be downloaded respectively in the resource location information of first and second resource networks.
Further enter ground, this terminal also comprises:
First acquisition module is used for obtaining resource to be downloaded in the resource location information of first resource network.
Further, this terminal also comprises:
Computing module is used for calculating according to the content that resource to be downloaded comprises the identification information of resource to be downloaded, sends the identification information of resource to be downloaded and resource location information to the resource mapping server.
In embodiments of the present invention, terminal is when downloading resource to be downloaded, obtain resource to be downloaded resource location information in first and second resource networks respectively, according to resource to be downloaded respectively the resource location information in first and second resource networks download resource to be downloaded; So terminal can be from different resource networks downloaded resources, thereby can rationally use resource node in each resource network.
Embodiment 5
As shown in Figure 5, the embodiment of the invention provides a kind of resource mapping server, comprising:
Second receiver module 501 is used for the downloading request message that receiving terminal sends, and this downloading request message is carried resource to be downloaded resource location information in first resource network;
Second acquisition module 502, be used for according to resource to be downloaded resource location information at first resource network, obtain resource to be downloaded resource location information in first and second resource networks respectively, second resource network is other one or more resource networks except first resource network;
Second sending module 503, be used for sending and download response message to terminal, this download response message carries resource to be downloaded resource location information in first and second resource networks respectively, make terminal according to resource to be downloaded respectively the resource location information in first and second resource networks download resource to be downloaded.
Wherein,second acquisition module 502 comprises:
First searches module, is used for according to resource to be downloaded resource location information at first resource network, obtains the identification information of resource to be downloaded from the corresponding relation of the identification information stored and resource location information;
Second searches module, is used for the identification information according to resource to be downloaded, obtains resource to be downloaded resource location information in first and second resource networks respectively from the corresponding relation of the identification information stored and resource location information.
Further, this server also comprises:
First sets up module, is used for after terminal downloads is finished resource to be downloaded, and receiving terminal sends identification information and the resource location information of resource to be downloaded, sets up the identification information of resource to be downloaded and the corresponding relation of resource location information.
Further, this server also comprises:
Second sets up module, is used for obtaining the download time of downloading resource to be downloaded, sets up the resource location information of resource to be downloaded and the corresponding relation of download time.
Further, this server also comprises:
First removing module, be used for the corresponding relation of stored resource locating information and download time is monitored, if monitor out the resource location information of download time before Preset Time, then deletion comprises the corresponding relation of the resource location information of download time before Preset Time from the corresponding relation of the identification information stored and resource location information.
Further, this server also comprises:
Second removing module, if be used for monitoring out the resource location information of download time before Preset Time, then from the corresponding relation of stored resource locating information and download time, delete the corresponding relation that comprises the resource location information of download time before Preset Time.
In embodiments of the present invention, the resource mapping server receives downloading request message, carry resource to be downloaded resource location information in first resource network according to this downloading request message and obtain resource to be downloaded resource location information in first and second resource networks respectively, send and download response message to terminal, and this download response message carries resource to be downloaded resource location information in first and second resource networks respectively, and make terminal according to resource to be downloaded respectively the resource location information in first and second resource networks download resource to be downloaded, so terminal can be from different resource networks downloaded resources, thereby can rationally use resource node in each resource network.
Embodiment 6
As shown in Figure 6, the embodiment of the invention provides a kind of system of downloaded resources, comprising:
As embodiment 4 described terminals 601 with as embodiment 5 described resource mapping servers 602.
In embodiments of the present invention, the downloading request message that resource mapping server receiving terminal sends, carry resource to be downloaded resource location information in first resource network according to this downloading request message and obtain resource to be downloaded resource location information in first and second resource networks respectively, send and download response message to terminal, and this download response message carries resource to be downloaded resource location information in first and second resource networks respectively, terminal according to resource to be downloaded respectively the resource location information in first and second resource networks download resource to be downloaded, so terminal can be from different resource networks downloaded resources, thereby can rationally use resource node in each resource network.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (19)

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
CN103259816Atrue CN103259816A (en)2013-08-21
CN103259816B 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 (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1251669A (en)*1997-03-212000-04-26思维媒体公司Method and apparatus for traking client interaction with network resource and creating client profiles and resource database
CN101409706A (en)*2007-10-092009-04-15华为技术有限公司Method, system and relevant equipment for distributing data of edge network
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
CN101841553A (en)*2009-03-172010-09-22日电(中国)有限公司Method, user node and server for requesting location information of resources on network
CN101924797A (en)*2010-08-262010-12-22成都市华为赛门铁克科技有限公司Method, device and system for processing source downloading
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1251669A (en)*1997-03-212000-04-26思维媒体公司Method and apparatus for traking client interaction with network resource and creating client profiles and resource database
CN101409706A (en)*2007-10-092009-04-15华为技术有限公司Method, system and relevant equipment for distributing data of edge network
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
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
CN101924797A (en)*2010-08-262010-12-22成都市华为赛门铁克科技有限公司Method, device and system for processing source downloading
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
CN103259816B (en)2018-05-08

Similar Documents

PublicationPublication DateTitle
CN102624920B (en) A method and device for accessing through a proxy server
CN104580085A (en)Business data updating method, system, client side and server
CN103634346B (en)The data distributing method and system of network data center
CN101409706A (en)Method, system and relevant equipment for distributing data of edge network
CN103873451A (en)Data synchronization method, equipment and system
CN102523299B (en) Cache Method for Content Identification Based on Message Digest
CN109167840B (en)Task pushing method, node autonomous server and edge cache server
CN105100032A (en)Method and apparatus for preventing resource steal
CN102404387B (en)A kind of for carrying out the method for synchronizing information, device and equipment with other nodes
CN110674427B (en)Method, device, equipment and storage medium for responding to webpage access request
CN102833262A (en)Whois information-based phishing website gathering, identification method and system
CN109729183A (en)Request processing method, device, equipment and storage medium
CN103905495A (en)Application synchronization method and backstage server
CN104717314A (en)IP management method and system, client-side and server
US8984100B2 (en)Data downloading method, terminal, server, and system
CN105450703A (en)Data caching method and data caching device
CN104408182A (en)Method and device for processing web crawler data on distributed system
CN104144223A (en)Data obtaining method and device
CN106250476A (en)A kind of methods, devices and systems updated and synchronize white list
CN103812881A (en)Offline downloading control method and apparatus
CN102055786B (en)File download method and server, download client and system adopting same
CN107992489B (en)Data processing method and server
CN104503983A (en)Method and device for providing website certification data for search engine
CN112039993B (en)Long connection address processing method and device
CN101938383A (en)On-line monitoring method and system of user account with multiple services as well as monitoring service system

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