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
CN103259816A CN2012100368283A CN201210036828A CN103259816A CN 103259816 A CN103259816 A CN 103259816A CN 2012100368283 A CN2012100368283 A CN 2012100368283A CN 201210036828 A CN201210036828 A CN 201210036828A CN 103259816 A CN103259816 A CN 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 Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210036828.3A priority Critical patent/CN103259816B/en
Priority to PCT/CN2013/071065 priority patent/WO2013120412A1/en
Priority to PL407778A priority patent/PL407778A1/en
Priority to US14/232,074 priority patent/US8984100B2/en
Publication of CN103259816A publication Critical patent/CN103259816A/en
Application granted granted Critical
Publication of CN103259816B publication Critical patent/CN103259816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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 information Resource 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 information Resource 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)

1. the method for a downloaded resources is characterized in that, 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.
2. the method for claim 1 is characterized in that, 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.
3. method as claimed in claim 1 or 2 is characterized in that, after the described resource to be downloaded of described download, also comprises:
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.
4. the method for a downloaded resources is characterized in that, 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.
5. method as claimed in claim 4, it is characterized in that, 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.
6. method as claimed in claim 4 is characterized in that, 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.
7. method as claimed in claim 6 is characterized in that, 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.
8. as the described method of each claim of claim 4 to 7, it is characterized in that 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.
9. method as claimed in claim 8 is characterized in that, 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.
10. a terminal is characterized in that, 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.
11. terminal as claimed in claim 10 is characterized in that, 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.
12. terminal as claimed in claim 10 is characterized in that, 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.
13. a resource mapping server is characterized in that, 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.
14. server as claimed in claim 13 is characterized in that, 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.
15. server as claimed in claim 13 is characterized in that, 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.
16. server as claimed in claim 15 is characterized in that, 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.
17. as the described server of each claim of claim 13 to 16, it is characterized in that 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.
18. server as claimed in claim 17 is characterized in that, 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.
19. the system of a downloaded resources is characterized in that, described system comprises as the described terminal of each claim of claim 10 to 12 with as the described resource mapping server of each claim of claim 13 to 18.
CN201210036828.3A 2012-02-17 2012-02-17 A kind of method, terminal, server and system for downloading resource Active CN103259816B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201210036828.3A CN103259816B (en) 2012-02-17 2012-02-17 A kind of method, terminal, server and system for downloading resource
PCT/CN2013/071065 WO2013120412A1 (en) 2012-02-17 2013-01-29 Data download method, terminal, server and system
PL407778A PL407778A1 (en) 2012-02-17 2013-01-29 Method, the terminal server and system for data collection
US14/232,074 US8984100B2 (en) 2012-02-17 2013-01-29 Data downloading method, terminal, server, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210036828.3A CN103259816B (en) 2012-02-17 2012-02-17 A kind of method, terminal, server and system for downloading resource

Publications (2)

Publication Number Publication Date
CN103259816A true CN103259816A (en) 2013-08-21
CN103259816B CN103259816B (en) 2018-05-08

Family

ID=48963513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210036828.3A Active CN103259816B (en) 2012-02-17 2012-02-17 A kind of method, terminal, server and system for downloading resource

Country Status (1)

Country Link
CN (1) CN103259816B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1251669A (en) * 1997-03-21 2000-04-26 思维媒体公司 Method and apparatus for traking client interaction with network resource and creating client profiles and resource database
CN101409706A (en) * 2007-10-09 2009-04-15 华为技术有限公司 Method, system and relevant equipment for distributing data of edge network
US20090210697A1 (en) * 2008-01-17 2009-08-20 Songqing Chen Digital Rights Protection in BitTorrent-like P2P Systems
CN101741883A (en) * 2008-11-27 2010-06-16 Tcl集团股份有限公司 Method and system for enhancing network download speed of CE equipment
CN101841553A (en) * 2009-03-17 2010-09-22 日电(中国)有限公司 Method, user node and server for requesting location information of resources on network
CN101924797A (en) * 2010-08-26 2010-12-22 成都市华为赛门铁克科技有限公司 Method, device and system for processing source downloading
CN102082807A (en) * 2009-12-01 2011-06-01 突触计算机系统(上海)有限公司 File transmitting method and device based on multiple protocols
CN102130838A (en) * 2011-04-02 2011-07-20 南京邮电大学 Method for realizing peer-to-peer network caching system based on Ares protocol

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1251669A (en) * 1997-03-21 2000-04-26 思维媒体公司 Method and apparatus for traking client interaction with network resource and creating client profiles and resource database
CN101409706A (en) * 2007-10-09 2009-04-15 华为技术有限公司 Method, system and relevant equipment for distributing data of edge network
US20090210697A1 (en) * 2008-01-17 2009-08-20 Songqing Chen Digital Rights Protection in BitTorrent-like P2P Systems
CN101741883A (en) * 2008-11-27 2010-06-16 Tcl集团股份有限公司 Method and system for enhancing network download speed of CE equipment
CN101841553A (en) * 2009-03-17 2010-09-22 日电(中国)有限公司 Method, user node and server for requesting location information of resources on network
CN102082807A (en) * 2009-12-01 2011-06-01 突触计算机系统(上海)有限公司 File transmitting method and device based on multiple protocols
CN101924797A (en) * 2010-08-26 2010-12-22 成都市华为赛门铁克科技有限公司 Method, device and system for processing source downloading
CN102130838A (en) * 2011-04-02 2011-07-20 南京邮电大学 Method for realizing peer-to-peer network caching system based on Ares protocol

Also Published As

Publication number Publication date
CN103259816B (en) 2018-05-08

Similar Documents

Publication Publication Date Title
CN107332876B (en) Method and device for synchronizing block chain state
CN111970315A (en) Method, device and system for pushing message
CN102761627B (en) Based on cloud network address recommend method and system and the relevant device of terminal access statistics
CN104283723A (en) Network access log processing method and device
CN103634346B (en) The data distributing method and system of network data center
CN109167840B (en) Task pushing method, node autonomous server and edge cache server
CN104580085A (en) Business data updating method, system, client side and server
CN106453460B (en) File distribution method, device and system
CN102523299B (en) Cache method for content identification based on message digests
CN105450703A (en) Data caching method and data caching device
CN104408182A (en) Method and device for processing web crawler data on distributed system
CN102404387A (en) Method, device and equipment for information synchronization with other nodes
CN105450682A (en) Method, device, and system for data synchronous storage and synchronizing data to client
CN103823807A (en) Data de-duplication method, device and system
US8984100B2 (en) Data downloading method, terminal, server, and system
CN103812881A (en) Offline downloading control method and apparatus
CN102957972B (en) Video on demand method and system thereof
CN110674427B (en) Method, device, equipment and storage medium for responding to webpage access request
CN104636368A (en) Data retrieval method and device and server
CN102055786B (en) File download method and server, download client and system adopting same
CN104503983A (en) Method and device for providing website certification data for search engine
CN108337280B (en) Resource updating method and device
CN103118045A (en) Method and system of off-line downloading
CN112039993A (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

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant