CN102664938A - Method and device for controlling downloading of resources - Google Patents

Method and device for controlling downloading of resources Download PDF

Info

Publication number
CN102664938A
CN102664938A CN2012101070341A CN201210107034A CN102664938A CN 102664938 A CN102664938 A CN 102664938A CN 2012101070341 A CN2012101070341 A CN 2012101070341A CN 201210107034 A CN201210107034 A CN 201210107034A CN 102664938 A CN102664938 A CN 102664938A
Authority
CN
China
Prior art keywords
network
client
resource
address
node
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
CN2012101070341A
Other languages
Chinese (zh)
Other versions
CN102664938B (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.)
Beijing Blue It Technologies Co ltd
Original Assignee
Beijing Blue It Technologies 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 Beijing Blue It Technologies Co ltd filed Critical Beijing Blue It Technologies Co ltd
Priority to CN201210107034.1A priority Critical patent/CN102664938B/en
Publication of CN102664938A publication Critical patent/CN102664938A/en
Application granted granted Critical
Publication of CN102664938B publication Critical patent/CN102664938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for controlling downloading of resources for improving downloading speed of the resources. The method comprises the steps: obtaining a resource downloading request of a client, determining a characteristic value of the resource requested by the client to download and an address of the client, judging whether a preset node information list includes the characteristic value of the resource requested by the client to download, wherein the node information list comprises addresses of network nodes of a distributed hash table (DHT) network and a bit stream-central server BT-Tracker network, and corresponding relation of the characteristic value of the resource provided by the network node; determining the address of the network node corresponding to the characteristic value of the resource requested by the client to download in the node information list when the node information list includes the characteristic value of the resource requested by the client to download, and transmitting the determined address of the network node to the client according to the address of the client.

Description

A kind of resource downloading control method and device
Technical field
The present invention relates to the Internet ASCII stream, relate in particular to a kind of resource downloading control method and device.
Background technology
It is point-to-point that (Peer to Peer, P2P) Internet communication technology because of it has the lot of data resource, have obtained development fast in recent years.
In P2P technological document sharing application field, file sharing network comprises bit stream-central server (BitTorrent-Tracker, BT-Tracker) pure distributed Hash table (Distributed Hash Table, the DHT) network of network and no any server.The characteristics that P2P technology shared resource is downloaded are: the client (peer) of downloading same shared resource is many more, and the query node speed of download is just fast more.
The DHT network is a kind of network of distributed storage resource, and information is stored on a plurality of nodes of DHT network according to certain agreement/agreement dispersedly.The BT-Tracker network is a kind of functionalization network, and the information of each node all is aggregated into the Tracker server.The resource storage mode of DHT network has effectively been avoided the single failure of Tracker server and the whole network paralysis brought, thereby is widely used.
When using the pure DHT network download shared resource of no any server, increase the quantity of the destination node that the DHT network can search out, make query node obtain the more peer that shares same resource, thereby accelerate the speed of BT download in the DHT network.
At present; Some resource downloading software can be supported DHT network and BT-Tracker network simultaneously; Through this resource downloading software, and only when the DHT networking client successfully is connected with the BT-Tracker network, could between these two networks, carry out resource-sharing.Otherwise the DHT network can only find the peer in the DHT network, can't find the peer in the BT-Tracker network.Influenced the BT speed of download of part client.Be that DHT network and BT-Tracker network can't be compatible fully.
In addition; Can visit by across a network (network in the said across a network is meant Netcom, telecommunications or other communication networks) between the prior art DHT network node; Through DHT access to netwoks outer net client,, reduced the efficient that resource-sharing connects because the quality of across a network visit is lower.
Summary of the invention
The embodiment of the invention provides a kind of resource downloading control method and device, in order to improve the speed of download of resource.
The resource downloading control method that the embodiment of the invention provides comprises:
Obtain the client resource download request, therefrom confirm the address of characteristic value with this client of the resource that client-requested is downloaded;
Judge the characteristic value that whether comprises the resource of said client-requested download in the nodal information tabulation that is provided with in advance; Wherein, Comprise distributed hashtable DHT network and bit stream-central server BT-Tracker network of network address of node in the tabulation of said nodal information, the corresponding relation of the characteristic value of the resource that can provide with this network node;
When comprising the characteristic value of the resource that said client-requested downloads in the tabulation of said nodal information, confirm the address of the pairing network node of characteristic value of the resource that this client-requested is downloaded in the said nodal information tabulation;
According to the address of said client, the address of said definite network node is sent to said client.
The resource downloading control device that the embodiment of the invention provides comprises:
Information is confirmed the unit, is used to obtain the client resource download request, therefrom confirms the address of characteristic value with this client of the resource that client-requested is downloaded; And when comprising the characteristic value of the resource that said client-requested downloads in the tabulation of the nodal information that is provided with in advance, confirm the address of the pairing network node of characteristic value of the resource that this client-requested is downloaded in the said nodal information tabulation;
The information judging unit; Be used for judging whether the said nodal information tabulation that is provided with in advance comprises the characteristic value of the resource of said client-requested download; Wherein, Comprise DHT network and BT-Tracker network of network address of node in the tabulation of said nodal information, the corresponding relation of the characteristic value of the resource that can provide with this network node;
Information transmitting unit is used for according to said client address, and the address of said definite network node is sent to said client.
The embodiment of the invention is therefrom confirmed the address of characteristic value with this client of the resource that client-requested is downloaded through obtaining the client resource download request; Judge the characteristic value that whether comprises the resource of said client-requested download in the nodal information tabulation that is provided with in advance; Wherein, Comprise distributed hashtable DHT network and bit stream-central server BT-Tracker network of network address of node in the tabulation of said nodal information, the corresponding relation of the characteristic value of the resource that can provide with this network node; When comprising the characteristic value of the resource that said client-requested downloads in the tabulation of said nodal information, confirm the address of the pairing network node of characteristic value of the resource that this client-requested is downloaded in the said nodal information tabulation; According to the address of said client, the address of said definite network node is sent to said client, to improve the speed of download of resource.
Description of drawings
The resource downloading method schematic flow sheet that Fig. 1 provides for the embodiment of the invention based on distributed hashtable DHT network;
The nodal information list content acquisition methods idiographic flow sketch map that Fig. 2 provides for the embodiment of the invention;
The resource downloading apparatus structure sketch map that Fig. 3 provides for the embodiment of the invention based on distributed hashtable DHT network;
The resource downloading apparatus structure sketch map that Fig. 4 provides for the embodiment of the invention based on distributed hashtable DHT network.
Embodiment
The embodiment of the invention provides a kind of resource downloading control method and device, in order to raising resource downloading speed, and control DHT network node access profile, improve the efficient that resource transmission connects.
The embodiment of the invention, based on the resource downloading of DHT network (the pure DHT network that does not have any server), (BitTorrent, BT) host-host protocol carries out the resource-sharing transmission according to bit stream.The resource of downloading with the BT host-host protocol is the BT downloaded resources, and the resource of mentioning in the embodiment of the invention is the BT downloaded resources.The client of downloaded resources is the BT client.
The embodiment of the invention is through obtaining the network message of said DHT network and BT-Tracker network (BT-Tracker network be do not have the network of DHT function or close the network of DHT function or successfully be not connected to the network of DHT) at preset node; From this message, obtain the network node information in said DHT network and the BT-Tracker network, store this network node information in advance.When the client resource download request that gets access at said preset node from the DHT network; From the network node information of said storage in advance, obtain the client ip address of sharing same resource according to this resource downloading request; This IP address is returned to the client (peer) of asking downloaded resources, so that this client is through said IP address and other client shared resources.
Since the IP address of the network node of the shared same resource that the client of request downloaded resources obtains both from the BT-Tracker network node also from the DHT network node; And the client at this place, IP address is client in the net; With respect to carrying out resource downloading at pure DHT network, not only increased the quantity of sharing the client of same resource, also limited the outgoing access of the node of request downloaded resources; Accelerate resource downloading speed, improved the transmission joint efficiency of resource-sharing.
The embodiment of the invention; Through obtaining DHT network and BT-Tracker network of network message simultaneously; No matter whether the DHT network is connected with the BT-Tracker network; Resource downloading requesting client in the DHT network (resource query node) can find the node of the same resource of BT-Tracker shared in network, with the nodes sharing resource in this BT-Tracker network.The prior art of comparing has increased the client terminal quantity of retrievable shared resource, accelerates resource downloading speed with this.
Said BT-Tracker network and DHT network are two kinds of different resources shared networks.In P2P resource-sharing application, DHT NetFind resource process is different with the mode of BT-Tracker NetFind resource process.Below with brief account once DHT network and BT-Tracker network.
The DHT network is a kind of network of resource distribution formula storage; Do not need central server; Each network node is responsible for storing the sub-fraction route; In the DHT network, seek the IP address of other network nodes of downloading same resource through the node lookup method, thereby realize the addressing and the storage of whole DHT network.Through carrying out the download of resource and share in the IP address that searches out.The network node that sends the shared same resource that the node of resource downloading request searches out is many more, and resource downloading speed is just fast more.Each node (NODE) on the DHT network all has the address ID of unique 20 bytes.Result through to the XOR of certain two node ID weighs two logical reach between the node.DHT node for starting first through manual appointment or the embedded mode of software, obtains first super node of this node, and this super node can be the adjacent node or the nonneighbor node of the said DHT node that starts first.Destination node ID is the resource characteristic value info_hash of resource to be downloaded.Internodal communication mode is the KRPC message based on UDP, and through the instruction of test instruction (PING), querying node (FIND_NODE), resource downloading request instruction (GET_PEERS), and searching and share resource accomplished in statement instruction (ANNOUNCE).Whether the ping testing node is online and normally provide and reply; FIND_NODE request is searched more the nodal information near destination node to adjacent node; The GET_PEERS request is to the nodal information of the shared same resource of destination node inquiry, and the node of request downloaded resources obtains resource-sharing person's node address through this destination node.Resource information (shared resource characteristic value) and this IP addresses of nodes that ANNOUNCE message has to this node of adjacent node statement.Each node has all been safeguarded a Hash table, so all be kept in this Hash table about the information of node.When receiving the request of client node resource downloading, serve as according to inquiry shared resource information with local Hash table, and return Query Result.
Tracker server in the BT-Tracker network is the IP address of buffer memory about all holders of seed file and download person; Be equal to a database fully; Holder that seed file is all and download person submit the IP address of oneself to same Tracker; Tracker collects these IP addresses, and returns these IP addresses according to the resource downloading request of client, and the shared procedure of follow-up resource and Tracker are irrelevant.The IP address of each client or other relevant informations all are kept in the Tracker server.
To specify the technical scheme that the embodiment of the invention provides through accompanying drawing below.
Referring to Fig. 1, a kind of resource downloading control method that the embodiment of the invention provides may further comprise the steps:
S101, obtain the client resource download request, therefrom confirm the address of characteristic value with this client of the resource that client-requested is downloaded;
Wherein, said client resource download request is from predeterminated position, obtains like the carrier network aggregation node, and the type of the network message that the different preset position obtains is different.For example: the network message that Netcom carrier network aggregation node place obtains is all from the network message of Netcom's client, and the network message that telecom operators networks converge node place obtains is all from the network message of telecom client end.The present invention is through obtaining the DHT network message from client at some carrier network aggregation nodes; Reduce the inter-network resource-sharing; Can improve resource-sharing transmission joint efficiency, accelerate DHT Internet resources speed of download, avoid the economic loss that causes because of the inter-network shared resource.
Consolidated network operator runs polytype network, and for example: resource sharing network comprises DHT network and BT-Tracker network at least.The said client resource download request of obtaining, what specifically obtain is the resource downloading request of DHT networking client.Can certainly obtain the resource downloading request of BT-Tracker networking client.
Obtain the resource downloading request of DHT networking client; Be specially; Monitor the network message of a certain carrier network aggregation node through the DHT network transmission protocol; Resolve through the network message that listens to being carried out deep message, extract the resource downloading solicited message that client in the DHT network message (query node) is sent.
Said client resource download request is specially the GET_PEERS instruction message, and GET-PEERS message is used for the information to destination node inquiry peer, like the client of the same resource of searching download, and the IP address of this client.
Need to prove; Obtain the resource downloading request of BT-Tracker networking client; Can monitor the network message of said carrier network aggregation node through the BT-Tracker network transmission protocol; Resolve through the network message that listens to being carried out deep message, obtain the request of BT-Tracker networking client resource downloading.
The characteristic value that whether comprises the resource of said client-requested download in the nodal information tabulation that S102, judgement are provided with in advance; Wherein, Comprise distributed hashtable DHT network and bit stream-central server BT-Tracker network of network address of node in the tabulation of said nodal information, the corresponding relation of the characteristic value of the resource that can provide with this network node;
The information that said nodal information tabulation is preserved generates in advance, and referring to Fig. 2, this nodal information tabulation is specifically obtained by following steps:
S201, from said predeterminated position, obtain the address of network node, and the characteristic value of this network node resource that can provide;
Preferably, the address of said network node, and the characteristic value of this network node resource that can provide is from DHT network message and BT-Tracker network message.
Particularly; Pass through the HTTP host-host protocol of DHT host-host protocol and Tracker server respectively; Network message to predeterminated position (like the carrier network aggregation node) carries out the deep message parsing; The network message that parsing is obtained is divided into two types: DHT network message and BT-Tracker network message, obtain the information declaration message in the message.For example, obtain the ANNOUNCE message in the DHT network message, and obtain the ANNOUNCE message in the BT-Tracker network message.The IP address, the shared resource characteristic value that have comprised network node in the ANNOUNCE message.Extract the network node address in the ANNOUNCE message, and the resource characteristic value of resource that this network node has.Said ANNOUNCE message shows the resource of this nodes sharing from network node in the net.Wherein, communicate through KRPC message between node based on UDP.
S202, the corresponding relation of said node address and said resource characteristic value is stored in the said nodal information tabulation.This nodal information tabulation also is the concordance list of local maintenance.
The predeterminated position that obtains ANNOUNCE message is a same position with the predeterminated position that obtains said client downloads request, is the carrier network aggregation node.
S103, when comprising the characteristic value of the resource that said client-requested downloads in the tabulation of said nodal information, confirm the address of the pairing network node of characteristic value of the resource that this client-requested is downloaded in the said nodal information tabulation; Otherwise what is not done.
S104, according to the address of said client, the address of said definite network node is sent to said client.So that said client according to said node address, realizes the resource downloading of said client.
Preferably,, the address of said definite network node is sent to said client, particularly,, the address of said definite network node tried to be the first reply to said client according to the address of said client according to the address of said client.
The general sense of said " try to be the first and reply " is: through intercepting and capturing request message (like intercepting client resource download request among the present invention); And based on the communication protocol of request message; Simulate legal response message; Before real response message arrives destination, send to the response message of simulation the process of destination.
The embodiment of the invention, realize trying to be the first replying through following steps:
The request message of step 1, intercepting and capturing networks converge node.
Can intercept and capture the request message of networks converge node through disposing spectrometer through serial or bypass beam split mode at the carrier network aggregation node.Particularly; To the identification of L3/L4 layer and L7 application layer, P2P network application message is analyzed extraction, intercept and capture request message; Obtain the nodal information of DHT network node and BT-Tracker network node; As: obtain the customer resources download request, and the IP address of this resource downloading request, port, purpose resource characteristic value (info_hash), node ID, information such as request key value.
Step 2, according to said request captured message assembling response message.
With the disguise oneself as destination IP of resource downloading request of network layer source IP, destination IP is appointed as requesting party's IP; The disguise oneself as destination port of resource downloading request of transport layer source port, the destination port is appointed as requesting party's port.
Preserved system monitoring to the table of node ID of DHT node in, find and this time customer resources download request node corresponding ID, this node ID is assembled in the response message.
Step 3, the response message after will assembling sent to the client of resource downloading request before real response message arrives the destination port.For application layer, follow the DHT protocol format, with the node ID of request port request and request key value IP, send to the client of resource downloading request according to said destination port and requesting party.
In order to guarantee before real response message arrives the destination port, can response message to be tried to be the first and reply to client, the present invention intercepts and captures network message through at the networks converge node spectrometer being set.
The time that said spectrometer obtains said resource downloading request is obtained time of resource downloading request less than destination node, and said spectrometer can return to the node address of shared resource in the nodal information tabulation node (client) of request downloaded resources in advance.In addition, the route distance of spectrometer distance objective node leaves nearer from the route distance of the nodal distance destination node of the request downloaded resources of comparing.Can guarantee that device according to the invention sends to the client address of sharing same resource in the nodal information tabulation query node of request downloaded resources in advance.
For example: the node A in the DHT network need find node E; Node A at first can send the GET_PEERS request to contiguous Node B; Send in the process of GET_PEERS request to Node B at node A; The node listing information answer that to store in advance then to the client of asking downloaded resources (query node) is obtained in this GET_PEERS request by information acquisition unit such as the spectrometer at carrier network aggregation node place according to the invention.With respect to node E, the present invention has realized nodal information tried to be the first and has replied to node A.
Through the above-mentioned answer techniques scheme of trying to be the first provided by the invention, can improve speed of download based on the DHT Internet resources, the reasons are as follows:
The first, the interior client of net of the shared resource of each network node record of DHT is less than the interior client of net of the shared resource of record in the said nodal information tabulation.
Because write down the resource characteristic value and the node address that has said resource of the interior shared resource of net of BT-Tracker network and DHT network in the nodal information tabulation simultaneously; And the network node place in the DHT network has only write down the resource characteristic value and the node address that has said resource of DHT network shared resource in the net, and client is less than client in the net of the shared resource of record in the said nodal information tabulation in the net of the shared resource of DHT network node record.
The second, the device of the described resource downloading method of the realization embodiment of the invention can be tried to be the first and the client address of shared resource in the nodal information tabulation sent to the query node of request downloaded resources.
Because making, said device is arranged on the carrier network aggregation node; When if query node sends to destination node with the resource downloading request; This message is at first through the carrier network aggregation node; The time that this device obtains said resource downloading request is obtained time of resource downloading request less than said destination node, and this device can return to the node address of shared resource in the nodal information tabulation node (client) of request downloaded resources in advance.In addition, the route distance of this device distance objective node leaves nearer from the route distance of the nodal distance destination node of the request downloaded resources of comparing.Can guarantee that device according to the invention sends to the client address of sharing same resource in the nodal information tabulation query node of request downloaded resources in advance.
For example: the node A in the DHT network need find node E; Node A at first can send the GET_PEERS request to contiguous Node B; Send in the process of GET_PEERS request to Node B at node A; This GET_PEERS request is obtained by the information acquisition unit at carrier network aggregation node place according to the invention, and the node listing information that will store is in advance then tried to be the first and replied the client (query node) to the request downloaded resources.And the said shared resource corresponding nodes address number that the node address number of the shared resource that Node B had obtains less than said information acquisition unit.The client of request downloaded resources obtains the more node address of sharing same resource, carries out resource downloading, thereby accelerates speed of download.
The technical scheme that the above embodiment of the present invention provides; Not only accelerated resource downloading speed; Through the access profile (the node visit scope is controlled in the net) of optionally controlling query node; Reduced net interior nodes inter-network shared resource, the data sharing transmission that reduces poor efficiency connects, thereby has saved bandwidth resources.
And through above-mentioned resource downloading method; No matter whether successful connection of BT-Tracker network and DHT network; The DHT network can be through BT-Tracker network and the DHT network of network message that listens to; Obtain the client-side information of extra BT-Tracker network, carry out resource-sharing, and transfer of data.
Referring to Fig. 3, the embodiment of the invention provides the resource downloading control device, comprising:
Information is confirmed unit 11, is used to obtain the client resource download request, therefrom confirms the address of characteristic value with this client of the resource that client-requested is downloaded; And
When comprising the characteristic value of the resource that said client-requested downloads in the nodal information tabulation that is provided with in advance, confirm the address of the pairing network node of characteristic value of the resource that this client-requested is downloaded in the said nodal information tabulation;
Information judging unit 12; Be used for judging whether the said nodal information tabulation that is provided with in advance comprises the characteristic value of the resource of said client-requested download; Wherein, Comprise DHT network and BT-Tracker network of network address of node in the tabulation of said nodal information, the corresponding relation of the characteristic value of the resource that can provide with this network node;
Information transmitting unit 13 is used for according to said client address, and the address of said definite network node is sent to said client.
Preferably,, the address of said definite network node is sent to said client, be specially:, the address of said definite network node tried to be the first reply to said client according to the address of said client according to the address of said client.
Information confirms that unit 11 also is used for: obtain the address of said network node, and the characteristic value of this network node resource that can provide.
Wherein, information confirms that unit 11 obtains said client resource download request, and/or the characteristic value of the address of network node and this network node resource that can provide, and is specially:
Through obtain DHT network message and BT-Tracker network message from the carrier network aggregation node; From said DHT network message and BT-Tracker network message; Obtain said client resource download request, and/or the characteristic value of the address of network node and this network node resource that can provide.
Said be specially: the network message to the carrier network aggregation node carries out the message deep analysis through obtain DHT network message and BT-Tracker network message from the carrier network aggregation node, obtains DHT network message and BT-Tracker message network.
Preferably, obtain said DHT network message, and obtain said BT-Tracker network message according to the BT-Tracker network transmission protocol according to the DHT network transmission protocol.
Referring to Fig. 4, said device also comprises: information is preserved unit 14, is used to preserve the address of the network node that said information unit obtains, and the corresponding relation of the characteristic value of this network node resource that can provide.
This device is disposed spectrometer through serial or bypass beam split mode at the carrier network aggregation node, obtains the network message of networks converge node.Through deep analysis to the network message that obtains; Identification to L3/L4 layer and L7 application layer; P2P network application message is analyzed extraction, obtain the nodal information of DHT network node and BT-Tracker network node, and said nodal information is saved in the nodal information tabulation in advance.When the resource downloading request of obtaining from query node, inquire about the corresponding node address of downloading with request in the said nodal information tabulation of resource characteristic value, this node address is tried to be the first reply to query node.Increase the quantity of the addressable node of query node, limited user's inter-network shared resource in the net, reduced inefficient data sharing transmission and connect, practiced thrift bandwidth.
The embodiment of the invention is downloaded from the client resource that predeterminated position obtains the DHT network message, therefrom confirms the address of characteristic value with this client of the resource that client-requested is downloaded; Judge the characteristic value that whether comprises the resource of said client-requested download in the nodal information tabulation that is provided with in advance; Wherein, Comprise DHT network and BT-Tracker network of network address of node in the tabulation of said nodal information, the corresponding relation of the characteristic value of the resource that can provide with this network node; When comprising the characteristic value of the resource that said client-requested downloads in the tabulation of said nodal information, confirm the address of the pairing network node of characteristic value of the resource that this client-requested is downloaded in the said nodal information tabulation; According to the address of said client, the address of said definite network node is sent to said client.Increase the quantity of the addressable node of query node, accelerated resource downloading speed, limited user's inter-network shared resource in the net, reduced inefficient data sharing transmission and connect, practiced thrift bandwidth.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device; Make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computer or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic inventive concept could of cicada, then can make other change and modification to these embodiment.So accompanying claims is intended to be interpreted as all changes and the modification that comprises preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. a resource downloading control method is characterized in that, this method comprises:
Obtain the client resource download request, therefrom confirm the address of characteristic value with this client of the resource that client-requested is downloaded;
Judge the characteristic value that whether comprises the resource of said client-requested download in the nodal information tabulation that is provided with in advance; Wherein, Comprise distributed hashtable DHT network and bit stream-central server BT-Tracker network of network address of node in the tabulation of said nodal information, the corresponding relation of the characteristic value of the resource that can provide with this network node;
When comprising the characteristic value of the resource that said client-requested downloads in the tabulation of said nodal information, confirm the address of the pairing network node of characteristic value of the resource that this client-requested is downloaded in the said nodal information tabulation;
According to the address of said client, the address of said definite network node is sent to said client.
2. method according to claim 1 is characterized in that, according to the address of said client, the address of said definite network node is sent to said client, is specially:
According to the address of said client, the address of said definite network node tried to be the first reply to said client.
3. method according to claim 2 is characterized in that, said nodal information tabulation is obtained by following steps:
Obtain the address of said network node, and the characteristic value of this network node resource that can provide;
With the address of the said network node that obtains, and the corresponding relation of the characteristic value of this network node resource that can provide is saved in the said nodal information tabulation.
4. method according to claim 3 is characterized in that, obtains said client resource download request, and/or the characteristic value of the address of network node and this network node resource that can provide, and is specially:
Network message to the carrier network aggregation node carries out the message deep analysis; Obtain DHT network message and BT-Tracker network message; From said DHT network message and BT-Tracker network message; Obtain said client resource download request, and/or the characteristic value of the address of network node and this network node resource that can provide.
5. method according to claim 4 is characterized in that, obtains said DHT network message according to the DHT network transmission protocol, and obtains said BT-Tracker network message according to the BT-Tracker network transmission protocol.
6. a resource downloading control device is characterized in that, this device comprises:
Information is confirmed the unit, is used to obtain the client resource download request, therefrom confirms the address of characteristic value with this client of the resource that client-requested is downloaded; And when comprising the characteristic value of the resource that said client-requested downloads in the tabulation of the nodal information that is provided with in advance, confirm the address of the pairing network node of characteristic value of the resource that this client-requested is downloaded in the said nodal information tabulation;
The information judging unit; Be used for judging whether the said nodal information tabulation that is provided with in advance comprises the characteristic value of the resource of said client-requested download; Wherein, Comprise DHT network and BT-Tracker network of network address of node in the tabulation of said nodal information, the corresponding relation of the characteristic value of the resource that can provide with this network node;
Information transmitting unit is used for according to said client address, and the address of said definite network node is sent to said client.
7. device according to claim 6 is characterized in that, according to the address of said client, the address of said definite network node is sent to said client, is specially:
According to the address of said client, the address of said definite network node tried to be the first reply to said client.
8. device according to claim 7 is characterized in that, said information confirms that the unit also is used for:
Obtain the address of said network node, and the characteristic value of this network node resource that can provide; And
Said device also comprises: information is preserved the unit, is used to preserve the address that said information is confirmed the network node that the unit obtains, and the corresponding relation of the characteristic value of this network node resource that can provide.
9. device according to claim 8 is characterized in that, obtains said client resource download request, and/or the characteristic value of the address of network node and this network node resource that can provide, and is specially:
Network message to the carrier network aggregation node carries out the message deep analysis; Through obtain DHT network message and BT-Tracker network message from the carrier network aggregation node; From said DHT network message and BT-Tracker network message; Obtain said client resource download request, and/or the characteristic value of the address of network node and this network node resource that can provide.
10. device according to claim 9 is characterized in that, obtains said DHT network message according to the DHT network transmission protocol, and obtains said BT-Tracker network message according to the BT-Tracker network transmission protocol.
CN201210107034.1A 2012-04-12 2012-04-12 A kind of resource downloading control method and device Active CN102664938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210107034.1A CN102664938B (en) 2012-04-12 2012-04-12 A kind of resource downloading control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210107034.1A CN102664938B (en) 2012-04-12 2012-04-12 A kind of resource downloading control method and device

Publications (2)

Publication Number Publication Date
CN102664938A true CN102664938A (en) 2012-09-12
CN102664938B CN102664938B (en) 2015-08-05

Family

ID=46774347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210107034.1A Active CN102664938B (en) 2012-04-12 2012-04-12 A kind of resource downloading control method and device

Country Status (1)

Country Link
CN (1) CN102664938B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763189A (en) * 2014-01-09 2014-04-30 华为技术有限公司 Application resource access method and router
CN104539727A (en) * 2015-01-15 2015-04-22 北京国创富盛通信股份有限公司 Cache method and system based on AP platform
CN105450703A (en) * 2014-08-28 2016-03-30 杭州迪普科技有限公司 Data caching method and data caching device
WO2017067146A1 (en) * 2015-10-23 2017-04-27 中兴通讯股份有限公司 Data access method and device
CN110830565A (en) * 2019-10-31 2020-02-21 北京奇艺世纪科技有限公司 Resource downloading method, device, system, electronic equipment and storage medium
CN111064798A (en) * 2019-12-25 2020-04-24 深圳市网心科技有限公司 Node network access method, device, client node and storage medium
US10911337B1 (en) * 2018-10-10 2021-02-02 Benjamin Thaddeus De Kosnik Network activity monitoring service
CN112637351A (en) * 2020-12-25 2021-04-09 珠海金山网络游戏科技有限公司 File downloading method and device
CN112929414A (en) * 2021-01-22 2021-06-08 北京北信源软件股份有限公司 Upgrade package downloading method and device, electronic equipment and storage medium
CN114285763A (en) * 2021-11-26 2022-04-05 中国联合网络通信集团有限公司 Data acquisition method, data acquisition device and computer-readable storage medium
CN114338818A (en) * 2021-12-23 2022-04-12 京东方数字科技有限公司 Content issuing method and device, electronic equipment and readable storage medium
CN115004657A (en) * 2019-11-07 2022-09-02 华为技术有限公司 Addressing method, addressing system and addressing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710857A (en) * 2004-06-18 2005-12-21 千橡寰宇科技发展(北京)有限公司 Method and method for realizing document accelerated download
CN101510899A (en) * 2009-04-08 2009-08-19 华为技术有限公司 Method, system and equipment for implementing content source selection
CN102170456A (en) * 2010-02-27 2011-08-31 华为技术有限公司 Method, device and system for acquiring content in PPN (peer-to-peer network)
CN102223387A (en) * 2010-04-16 2011-10-19 中国移动通信集团公司 Resource scheduling method and system thereof, access node and portal server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710857A (en) * 2004-06-18 2005-12-21 千橡寰宇科技发展(北京)有限公司 Method and method for realizing document accelerated download
CN101510899A (en) * 2009-04-08 2009-08-19 华为技术有限公司 Method, system and equipment for implementing content source selection
CN102170456A (en) * 2010-02-27 2011-08-31 华为技术有限公司 Method, device and system for acquiring content in PPN (peer-to-peer network)
CN102223387A (en) * 2010-04-16 2011-10-19 中国移动通信集团公司 Resource scheduling method and system thereof, access node and portal server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
柳斌等: ""一种基于Netfilter的BitTorrent流量测量方法"", 《计算机科学》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763189B (en) * 2014-01-09 2017-11-17 华为技术有限公司 A kind of application resource access method and router
CN103763189A (en) * 2014-01-09 2014-04-30 华为技术有限公司 Application resource access method and router
CN105450703A (en) * 2014-08-28 2016-03-30 杭州迪普科技有限公司 Data caching method and data caching device
CN104539727A (en) * 2015-01-15 2015-04-22 北京国创富盛通信股份有限公司 Cache method and system based on AP platform
WO2017067146A1 (en) * 2015-10-23 2017-04-27 中兴通讯股份有限公司 Data access method and device
US10911337B1 (en) * 2018-10-10 2021-02-02 Benjamin Thaddeus De Kosnik Network activity monitoring service
CN110830565A (en) * 2019-10-31 2020-02-21 北京奇艺世纪科技有限公司 Resource downloading method, device, system, electronic equipment and storage medium
CN115004657A (en) * 2019-11-07 2022-09-02 华为技术有限公司 Addressing method, addressing system and addressing device
CN115004657B (en) * 2019-11-07 2024-04-12 华为技术有限公司 Addressing method, addressing system and addressing device
CN111064798A (en) * 2019-12-25 2020-04-24 深圳市网心科技有限公司 Node network access method, device, client node and storage medium
CN111064798B (en) * 2019-12-25 2022-10-21 深圳市网心科技有限公司 Node network access method, device, client node and storage medium
CN112637351A (en) * 2020-12-25 2021-04-09 珠海金山网络游戏科技有限公司 File downloading method and device
CN112637351B (en) * 2020-12-25 2023-09-05 珠海金山数字网络科技有限公司 File downloading method and device
CN112929414A (en) * 2021-01-22 2021-06-08 北京北信源软件股份有限公司 Upgrade package downloading method and device, electronic equipment and storage medium
CN114285763A (en) * 2021-11-26 2022-04-05 中国联合网络通信集团有限公司 Data acquisition method, data acquisition device and computer-readable storage medium
CN114285763B (en) * 2021-11-26 2023-05-30 中国联合网络通信集团有限公司 Data acquisition method, device and computer readable storage medium
CN114338818A (en) * 2021-12-23 2022-04-12 京东方数字科技有限公司 Content issuing method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN102664938B (en) 2015-08-05

Similar Documents

Publication Publication Date Title
CN102664938B (en) A kind of resource downloading control method and device
CN103597471B (en) Methods and systems for caching data communications over computer networks
US9998533B2 (en) P2P content caching system and method
EP4002796A1 (en) Resource acquisition method and edge computing scheduling server
CN104283723B (en) Network access log processing method and processing device
CN111970315A (en) Method, device and system for pushing message
CN102780779A (en) Gateway equipment and method and device for optimization of campus network export P2P (peer-to-peer) traffic
CN104836822B (en) Obtain downloading data method and device, the method and system of downloading data
CN104935625B (en) The method and system of service are found in Enterprise SOA (SOA) network
US20190089648A1 (en) Resource subscription method, resource subscription apparatus, and resource subscription system
CN109729183A (en) Request processing method, device, equipment and storage medium
CN108234639A (en) A kind of data access method and device based on content distributing network CDN
CN102404387B (en) A kind of for carrying out the method for synchronizing information, device and equipment with other nodes
US20130297703A1 (en) Peer node and method for improved peer node selection
US20140304419A1 (en) System and terminal for p2p connection in mobile environment and method for p2p connection using the same
CN112445700B (en) Test method and device
CN109617780A (en) Access method, apparatus, terminal device and the machine readable storage medium of network
KR20110137917A (en) Apparatus and method for composing personal network using pn routing table
CN108881034A (en) A kind of request responding method, equipment and system applied to BT system
US20120047248A1 (en) Method and System for Monitoring Flows in Network Traffic
CN114650281A (en) File downloading method, device, equipment and storage medium based on complex network
CN114422519B (en) Data request processing method and device, electronic equipment and storage medium
EP3018883A1 (en) Login method and system for client unit
CN103533048A (en) Hot seed file acquisition method in BT (BitTorrent) network
CN109962834B (en) Information processing method, system, terminal and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant