CN102664938B - A kind of resource downloading control method and device - Google Patents

A kind of resource downloading control method and device Download PDF

Info

Publication number
CN102664938B
CN102664938B CN201210107034.1A CN201210107034A CN102664938B CN 102664938 B CN102664938 B CN 102664938B CN 201210107034 A CN201210107034 A CN 201210107034A CN 102664938 B CN102664938 B CN 102664938B
Authority
CN
China
Prior art keywords
network
resource
address
client
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.)
Active
Application number
CN201210107034.1A
Other languages
Chinese (zh)
Other versions
CN102664938A (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

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention discloses a kind of resource downloading control method and device, in order to improve resource downloading speed.Described method comprises: obtain client resource download request, therefrom determines the characteristic value of the resource that client-requested is downloaded and the address of this client; Judge the characteristic value whether comprising the resource that described client-requested is downloaded in the nodal information list pre-set, wherein, distributed hashtable DHT network and bit stream-central server BT-Tracker network of network address of node is comprised, the corresponding relation of the characteristic value of the resource that can provide with this network node in described nodal information list; When comprising the characteristic value of the resource that described client-requested is downloaded in described nodal information list, determine the address of the network node corresponding to characteristic value of the resource that this client-requested is downloaded in described nodal information list; According to the address of described client, the address of the described network node determined is sent to described client.

Description

A kind of resource downloading control method and device
Technical field
The present invention relates to Internet ASCII stream, particularly relate to a kind of resource downloading control method and device.
Background technology
Point-to-point (Peer to Peer, P2P) Internet communication technology, because it has a large amount of data resources, obtains in recent years and develops fast.
In P2P technological document sharing application field, file sharing network comprises bit stream-central server (BitTorrent-Tracker, BT-Tracker) network and pure distributed Hash table (Distributed Hash Table, the DHT) network without any server.The feature of P2P Techno-sharing resource downloading is: the client (peer) downloading same shared resource is more, and query node speed of download is faster.
DHT network is a kind of network of distributed storage resource, and information is stored on multiple nodes of DHT network dispersedly according to certain agreement/agreement.BT-Tracker network is a kind of functionalization network, and the information of each node is all aggregated into Tracker server.The Resource Storage mode of DHT network effectively prevent the single failure of Tracker server and the whole network paralysis brought, and is thus widely used.
When using the pure DHT web download shared resource without any server, increasing the quantity of the destination node that DHT network can search out, making query node obtain the more peer sharing same resource, thus accelerating the speed that in DHT network, BT downloads.
At present, some resource downloading software can support DHT network and BT-Tracker network simultaneously, by this resource downloading software, and only when DHT networking client is successfully connected with BT-Tracker network, resource-sharing could be carried out between these two networks.Otherwise DHT network can only find the peer in DHT network, the peer in BT-Tracker network cannot be found.Have impact on the BT speed of download of part client.Namely DHT network and BT-Tracker network cannot be completely compatible.
In addition, can access by across a network (network in described across a network refers to Netcom, telecommunications or other communication networks) between prior art DHT network node, by DHT access to netwoks outer net client, because the quality of across a network access is lower, reduce the efficiency that resource-sharing connects.
Summary of the invention
The embodiment of the present 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 present invention provides, comprising:
Obtain client resource download request, therefrom determine the characteristic value of the resource that client-requested is downloaded and the address of this client;
Judge the characteristic value whether comprising the resource that described client-requested is downloaded in the nodal information list pre-set, wherein, distributed hashtable DHT network and bit stream-central server BT-Tracker network of network address of node is comprised, the corresponding relation of the characteristic value of the resource that can provide with this network node in described nodal information list;
When comprising the characteristic value of the resource that described client-requested is downloaded in described nodal information list, determine the address of the network node corresponding to characteristic value of the resource that this client-requested is downloaded in described nodal information list;
According to the address of described client, the address of the described network node determined is sent to described client.
The resource downloading control device that the embodiment of the present invention provides, comprising:
Information determination unit, for obtaining client resource download request, therefrom determines the characteristic value of the resource that client-requested is downloaded and the address of this client; And when comprising the characteristic value of the resource that described client-requested is downloaded in the nodal information list pre-set, determine the address of the network node corresponding to characteristic value of the resource that this client-requested is downloaded in described nodal information list;
Information judging unit, for whether comprising the characteristic value of the resource that described client-requested is downloaded in the nodal information list that pre-sets described in judging, wherein, DHT network and BT-Tracker network of network address of node is comprised, the corresponding relation of the characteristic value of the resource that can provide with this network node in described nodal information list;
Information transmitting unit, for according to described client address, sends to described client by the address of the described network node determined.
The embodiment of the present invention, by obtaining client resource download request, therefrom determines the characteristic value of the resource that client-requested is downloaded and the address of this client; Judge the characteristic value whether comprising the resource that described client-requested is downloaded in the nodal information list pre-set, wherein, distributed hashtable DHT network and bit stream-central server BT-Tracker network of network address of node is comprised, the corresponding relation of the characteristic value of the resource that can provide with this network node in described nodal information list; When comprising the characteristic value of the resource that described client-requested is downloaded in described nodal information list, determine the address of the network node corresponding to characteristic value of the resource that this client-requested is downloaded in described nodal information list; According to the address of described client, the address of the described network node determined is sent to described client, to improve the speed of download of resource.
Accompanying drawing explanation
The resource downloading method schematic flow sheet based on distributed hashtable DHT network that Fig. 1 provides for the embodiment of the present invention;
The nodal information list content acquisition methods idiographic flow schematic diagram that Fig. 2 provides for the embodiment of the present invention;
The resource downloading apparatus structure schematic diagram based on distributed hashtable DHT network that Fig. 3 provides for the embodiment of the present invention;
The resource downloading apparatus structure schematic diagram based on distributed hashtable DHT network that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Embodiments provide a kind of resource downloading control method and device, in order to improve resource downloading speed, and control DHT network node access profile, improve the efficiency that resource transmission connects.
The embodiment of the present invention, based on the resource downloading of DHT network (the pure DHT network without any server), carries out resource-sharing transmission according to bit stream (BitTorrent, BT) host-host protocol.The resource carrying out with BT host-host protocol downloading is BT downloaded resources, and the resource mentioned in the embodiment of the present invention is BT downloaded resources.The client of downloaded resources is BT client.
The embodiment of the present invention is by obtaining the network message of described DHT network and BT-Tracker network (BT-Tracker network is do not have the network of DHT function or close the network of DHT function or the unsuccessful network being connected to DHT) at default node, from this message, obtain the network node information in described DHT network and BT-Tracker network, prestore this network node information.When getting the client resource download request from DHT network at described default node, from the described network node information prestored, the client ip address sharing same resource is obtained according to this resource download request, this IP address is returned to the client (peer) of request downloaded resources, to make this client by described IP address and other client shared resources.
Due to ask downloaded resources client obtain shared same resource network node IP address both from BT-Tracker network node also from DHT network node, and the client at this IP address place is client in net, resource downloading is carried out relative at pure DHT network, not only increase the quantity of the client of shared same resource, also limit the outgoing access of the node of request downloaded resources, accelerate resource downloading speed, improve the transmission joint efficiency of resource-sharing.
The embodiment of the present invention, by obtaining DHT network and BT-Tracker network of network message simultaneously, no matter whether DHT network is connected with BT-Tracker network, resource download request client (resource query node) in DHT network can find the node sharing same resource in BT-Tracker network, with the nodes sharing resource in this BT-Tracker network.Prior art of comparing adds the client terminal quantity of retrievable shared resource, accelerates resource downloading speed with this.
Described BT-Tracker network and DHT network are two kinds of different resource sharing networks.In P2P resource-sharing application, DHT NetFind resource process is different with the mode of BT-Tracker NetFind resource process.To simply introduce DHT network and BT-Tracker network below.
DHT network is the network that a kind of resource distribution formula stores, do not need central server, each network node is responsible for storing sub-fraction route, in DHT network, found the IP address of other network nodes downloading same resource by node checks method, thus realize addressing and the storage of whole DHT network.Carry out the download of resource by the IP address searched out and share.The network node of the shared same resource that the node sending resource download request searches out is more, and resource downloading speed is faster.Each node (NODE) on DHT network, all has the address ID of unique 20 bytes.The logical reach between two nodes is weighed by the result of the XOR to certain two node ID.For the DHT node of initiating switchup, manually specify or the embedded mode of software, obtain first super node of this node, this super node can be adjacent node or the nonneighbor node of the DHT node of described initiating switchup.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, by test instruction (PING), querying node instruction (FIND_NODE), resource download request instruction (GET_PEERS), and statement instruction (ANNOUNCE) completes searching and sharing resource.Whether ping testing node is online and normally provide response, FIND_NODE request searches the nodal information closer to destination node to adjacent node, GET_PEERS request shares the nodal information of same resource to destination node inquiry, and the node of request downloaded resources is by this destination node Gains resources sharer node address.ANNOUNCE message states the IP address of the resource information (shared resource characteristic value) that this node has and this node to adjacent node.Each node maintains a Hash table, so be all kept in this Hash table about the information of node.When receiving client node resource download request, with local Hash table for foundation inquiry shared resource information, and return Query Result.
Tracker server in BT-Tracker network is buffer memory about the IP address of all holders of seed file and download person, be equal to a database completely, the holder that seed file is all and download person submit oneself IP address to same Tracker, Tracker collects these IP addresses, and return to these IP addresses according to the resource download request of client, and the shared procedure of following resource and Tracker have nothing to do.IP address or other relevant informations of each client are all kept in Tracker server.
The technical scheme will being illustrated the embodiment of the present invention by accompanying drawing and provide below.
See Fig. 1, a kind of resource downloading control method that the embodiment of the present invention provides comprises the following steps:
S101, acquisition client resource download request, therefrom determine the characteristic value of the resource that client-requested is downloaded and the address of this client;
Wherein, described client resource download request is from predeterminated position, and as carrier network aggregation node obtains, the type of the network message that different predeterminated positions obtains is different.Such as: the network message that carrier network aggregation node place of Netcom obtains is all from the network message of Netcom's client, and the network message that telecommunication carrier networks aggregation node place obtains is all from the network message of telecom client end.The present invention is by obtaining the DHT network message from client at some carrier network aggregation nodes, reduce inter-network resource-sharing, resource-sharing transmission joint efficiency can be improved, accelerate DHT Internet resources speed of download, avoid the economic loss because inter-network shared resource causes.
The polytype network of consolidated network operator, such as: resource sharing network at least comprises DHT network and BT-Tracker network.Described acquisition client resource download request, concrete what obtain is the resource download request of DHT networking client.The resource download request of BT-Tracker networking client can certainly be obtained.
Obtain the resource download request of DHT networking client, be specially, the network message of a certain carrier network aggregation node is monitored by the DHT network transmission protocol, by carrying out deep message parsing to the network message listened to, extract the resource download request information that in DHT network message, client (query node) sends.
Described client resource download request is specially GET_PEERS instruction message, and GET-PEERS message is used for destination node inquiry peer information, as found the client downloading same resource, and the IP address of this client.
It should be noted that, obtain the resource download request of BT-Tracker networking client, the network message of described carrier network aggregation node can be monitored by the BT-Tracker network transmission protocol, by carrying out deep message parsing to the network message listened to, obtain BT-Tracker networking client resource download request.
The characteristic value of the resource that described client-requested is downloaded whether is comprised in the nodal information list that S102, judgement pre-set, wherein, distributed hashtable DHT network and bit stream-central server BT-Tracker network of network address of node is comprised, the corresponding relation of the characteristic value of the resource that can provide with this network node in described nodal information list;
The information that described nodal information list is preserved generates in advance, and see Fig. 2, this nodal information list is specifically obtained by following steps:
S201, from described predeterminated position, obtain the address of network node, and the characteristic value of resource that this network node can provide;
Preferably, the address of described network node, and the characteristic value of resource that this network node can provide is from DHT network message and BT-Tracker network message.
Particularly, respectively by the HTTP host-host protocol of DHT host-host protocol and Tracker server, deep message parsing is carried out to the network message of predeterminated position (as carrier network aggregation node), two classes are divided into: DHT network message and BT-Tracker network message, obtain the information declaration message in message by resolving the network message obtained.Such as, obtain the ANNOUNCE message in DHT network message, and obtain the ANNOUNCE message in BT-Tracker network message.The IP address of network node, shared resource characteristic value is contained in ANNOUNCE message.Extract the network node address in ANNOUNCE message, and this network node have the resource characteristic value of resource.Described ANNOUNCE message, from network node in net, shows the resource of this nodes sharing.Wherein, communicated by the KRPC message based on UDP between node.
S202, the corresponding relation of described node address and described resource characteristic value to be stored in described nodal information list.This nodal information list is also the concordance list of local maintenance.
The predeterminated position obtaining ANNOUNCE message and the predeterminated position obtaining described client download requests are same position, are carrier network aggregation node.
S103, when comprising the characteristic value of resource that described client-requested is downloaded in described nodal information list, determine the address of the network node corresponding to characteristic value of the resource that this client-requested is downloaded in described nodal information list; Otherwise what does not do.
S104, address according to described client, send to described client by the address of the described network node determined.To make described client according to described node address, realize the resource downloading of described client.
Preferably, according to the address of described client, the address of the described network node determined is sent to described client, particularly, according to the address of described client, the address Pre-emptive of the described network node determined is replied to described client.
The general sense of described " response of trying to be the first " is: by intercepting and capturing request message (as intercepted client resource download request in the present invention), and based on the communication protocol of request message, simulate legal response message, before real response message arrives destination, the response message of simulation is sent to the process of destination.
The embodiment of the present invention, realizes trying to be the first response by following steps:
The request message of step one, intercepting and capturing network aggregation node.
By disposing spectrometer at carrier network aggregation node by serial or bypass spectroscopic modes, the request message of network aggregation node can be intercepted and captured.Particularly, to the identification of L3/L4 layer and L7 application layer, carry out analysis to P2P network application message to extract, intercept and capture request message, obtain the nodal information of DHT network node and BT-Tracker network node, as: obtain customer resources download request, and the IP address of this resource download request, port, object resource characteristic value (info_hash), node ID, the information such as request key value.
Step 2, according to the request message of described intercepting and capturing assembling response message.
The destination IP of resource download request that network layer source IP is disguised oneself as, destination IP is appointed as the IP of requesting party; Transport layer source port disguises oneself as the destination port of resource download request, and destination port is appointed as the port of requesting party.
Save system monitoring to DHT node node ID table in, find the node ID corresponding to this customer resources download request, this node ID be assembled in response message.
Step 3, by the response message after assembling before real response message arrives destination port, send to the client of resource download request.For application layer, follow DHT protocol format, by the node ID of request port request and the request key value IP according to described destination port and requesting party, send to the client of resource download request.
In order to ensure before real response message arrives destination port, response of response message can being tried to be the first is to client, and the present invention, by networks converge Node configuration spectrometer, intercepts and captures network message.
The time that described spectrometer obtains described resource download request is less than time of destination node Gains resources download request, and the node address of shared resource in nodal information list can be returned to the node (client) of request downloaded resources by described spectrometer in advance.In addition, the route distance of spectrometer distance objective node is compared and is asked the route distance of the nodal distance destination node of downloaded resources nearer.Can ensure that the client address sharing same resource in nodal information list is sent to the query node of request downloaded resources by device of the present invention in advance.
Such as: the node A in DHT network needs to find node E, first node A can send GET_PEERS request to contiguous Node B, send in the process of GET_PEERS request at node A to Node B, this GET_PEERS asks information acquisition unit such as the spectrometer at carrier network aggregation node place described by the present invention to obtain, and then the node listing information answer prestored extremely is asked the client (query node) of downloaded resources.Relative to node E, present invention achieves and nodal information is tried to be the first response to node A.
By above-mentioned answer techniques scheme of trying to be the first provided by the invention, can improve the speed of download based on DHT Internet resources, reason is as follows:
Client in the net that in the net of the first, the shared resource of DHT each network node record, client is less than the shared resource recorded in described nodal information list.
Because in the net that simultaneously have recorded BT-Tracker network and DHT network in nodal information list shared resource resource characteristic value and have the node address of described resource, and the network node place in DHT network only have recorded the resource characteristic value of DHT network shared resource in net and has the node address of described resource, client in the net that in the net of the shared resource of DHT network node record, client is less than the shared resource recorded in described nodal information list.
The second, the device realizing the resource downloading method described in the embodiment of the present invention can be tried to be the first and the client address of shared resource in nodal information list be sent to the query node of request downloaded resources.
Because described device makes to be arranged on carrier network aggregation node, if when resource download request is sent to destination node by query node, this message is first by carrier network aggregation node, the time that this device obtains described resource download request is less than time of described destination node Gains resources download request, and the node address of shared resource in nodal information list can be returned to the node (client) of request downloaded resources by this device in advance.In addition, the route distance of this device distance objective node is compared and is asked the route distance of the nodal distance destination node of downloaded resources nearer.Can ensure that the client address sharing same resource in nodal information list is sent to the query node of request downloaded resources by device of the present invention in advance.
Such as: the node A in DHT network needs to find node E, first node A can send GET_PEERS request to contiguous Node B, send in the process of GET_PEERS request at node A to Node B, this GET_PEERS asks the information acquisition unit at carrier network aggregation node place described by the present invention to obtain, and then the node listing Information Proactive response prestored extremely is asked the client (query node) of downloaded resources.And the node address number of the shared resource that Node B has is less than node address number corresponding to described shared resource that described information acquisition unit obtains.The client of request downloaded resources obtains the more node address sharing same resource, carries out resource downloading, thus accelerates speed of download.
The technical scheme that the above embodiment of the present invention provides, not only accelerate resource downloading speed, by optionally controlling the access profile (node visit scope control is in net) of query node, decrease net interior nodes inter-network shared resource, the data sharing transmission reducing poor efficiency connects, thus saves bandwidth resources.
And by above-mentioned resource downloading method, no matter BT-Tracker network and DHT network whether successful connection, DHT network can by the BT-Tracker network that listens to and DHT network of network message, obtain the client-side information of extra BT-Tracker network, carry out resource-sharing, and transfer of data.
See Fig. 3, the embodiment of the present invention provides resource downloading control device, comprising:
Information determination unit 11, for obtaining client resource download request, therefrom determines the characteristic value of the resource that client-requested is downloaded and the address of this client; And
When comprising the characteristic value of the resource that described client-requested is downloaded in the nodal information list pre-set, determine the address of the network node corresponding to characteristic value of the resource that this client-requested is downloaded in described nodal information list;
Information judging unit 12, for whether comprising the characteristic value of the resource that described client-requested is downloaded in the nodal information list that pre-sets described in judging, wherein, DHT network and BT-Tracker network of network address of node is comprised, the corresponding relation of the characteristic value of the resource that can provide with this network node in described nodal information list;
Information transmitting unit 13, for according to described client address, sends to described client by the address of the described network node determined.
Preferably, according to the address of described client, the address of the described network node determined is sent to described client, is specially: according to the address of described client, the address Pre-emptive of the described network node determined is replied to described client.
Information determination unit 11 is also for the address obtaining described network node, and the characteristic value of resource that this network node can provide.
Wherein, information determination unit 11 obtains described client resource download request, and/or the characteristic value of resource that the address of network node and this network node can provide, and is specially:
By obtaining DHT network message and BT-Tracker network message from carrier network aggregation node, from described DHT network message and BT-Tracker network message, obtain described client resource download request, and/or the characteristic value of resource that the address of network node and this network node can provide.
Described passing through obtains DHT network message and BT-Tracker network message from carrier network aggregation node, is specially: carry out message deep analysis to the network message of carrier network aggregation node, obtains DHT network message and BT-Tracker packet network.
Preferably, obtain described DHT network message according to the DHT network transmission protocol, and obtain described BT-Tracker network message according to the BT-Tracker network transmission protocol.
See Fig. 4, described device also comprises: information holding unit 14, for preserving the address of network node that described information unit obtains, and the corresponding relation of the characteristic value of resource that this network node can provide.
This device disposes spectrometer by serial or bypass spectroscopic modes at carrier network aggregation node, obtains the network message of networks converge node.By the deep analysis to the network message obtained, for the identification of L3/L4 layer and L7 application layer, carry out analysis to P2P network application message to extract, obtain the nodal information of DHT network node and BT-Tracker network node, and described nodal information is saved in nodal information list in advance.When obtaining the resource download request from query node, inquire about node address corresponding with the resource characteristic value of asking to download in described nodal information list, response of being tried to be the first by this node address is to query node.Add the quantity of the addressable node of query node, limit user's inter-network shared resource in net, reduce inefficient data sharing transmission and connect, saved bandwidth.
The embodiment of the present invention, the client resource obtained DHT network message from predeterminated position is downloaded, and therefrom determines the characteristic value of the resource that client-requested is downloaded and the address of this client; Judge the characteristic value whether comprising the resource that described client-requested is downloaded in the nodal information list pre-set, wherein, DHT network and BT-Tracker network of network address of node is comprised, the corresponding relation of the characteristic value of the resource that can provide with this network node in described nodal information list; When comprising the characteristic value of the resource that described client-requested is downloaded in described nodal information list, determine the address of the network node corresponding to characteristic value of the resource that this client-requested is downloaded in described nodal information list; According to the address of described client, the address of the described network node determined is sent to described client.Add the quantity of the addressable node of query node, accelerate resource downloading speed, limit user's inter-network shared resource in net, reduce inefficient data sharing transmission and connect, saved bandwidth.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a resource downloading control method, is characterized in that, the method comprises:
Intercept and capture the network message of a certain carrier network aggregation node, by carrying out deep message parsing to the network message intercepted, extract client resource download request information in network message, therefrom determine the characteristic value of the resource that client-requested is downloaded and the address of this client;
Judge the characteristic value whether comprising the resource that described client-requested is downloaded in the nodal information list pre-set, wherein, distributed hashtable DHT network and bit stream-central server BT-Tracker network of network address of node is comprised, the corresponding relation of the characteristic value of the resource that can provide with this network node in described nodal information list;
When comprising the characteristic value of the resource that described client-requested is downloaded in described nodal information list, determine the address of the network node corresponding to characteristic value of the resource that this client-requested is downloaded in described nodal information list;
According to the address of described client, the address of the described network node determined is sent to described client.
2. method according to claim 1, is characterized in that, according to the address of described client, the address of the described network node determined is sent to described client, is specially:
According to the address of described client, the address Pre-emptive of the described network node determined is replied to described client.
3. method according to claim 2, is characterized in that, described nodal information list, is obtained by following steps:
Obtain the address of described network node, and the characteristic value of resource that this network node can provide;
By the address of described network node obtained, and the corresponding relation of the characteristic value of resource that this network node can provide is saved in described nodal information list.
4. method according to claim 3, is characterized in that, obtains described client resource download request, and/or the characteristic value of resource that the address of network node and this network node can provide, and is specially:
Message deep analysis is carried out to the network message of carrier network aggregation node, obtain DHT network message and BT-Tracker network message, from described DHT network message and BT-Tracker network message, obtain described client resource download request, and/or the characteristic value of resource that the address of network node and this network node can provide.
5. method according to claim 4, is characterized in that, obtains described DHT network message according to the DHT network transmission protocol, and obtains described 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 determination unit, for intercepting and capturing the network message of a certain carrier network aggregation node, by carrying out deep message parsing to the network message intercepted, extract client resource download request information in network message, therefrom determine the characteristic value of the resource that client-requested is downloaded and the address of this client; And when comprising the characteristic value of the resource that described client-requested is downloaded in the nodal information list pre-set, determine the address of the network node corresponding to characteristic value of the resource that this client-requested is downloaded in described nodal information list;
Information judging unit, for whether comprising the characteristic value of the resource that described client-requested is downloaded in the nodal information list that pre-sets described in judging, wherein, DHT network and BT-Tracker network of network address of node is comprised, the corresponding relation of the characteristic value of the resource that can provide with this network node in described nodal information list;
Information transmitting unit, for according to described client address, sends to described client by the address of the described network node determined.
7. device according to claim 6, is characterized in that, according to the address of described client, the address of the described network node determined is sent to described client, is specially:
According to the address of described client, the address Pre-emptive of the described network node determined is replied to described client.
8. device according to claim 7, is characterized in that, described information determination unit also for:
Obtain the address of described network node, and the characteristic value of resource that this network node can provide; And
Described device also comprises: information holding unit, for preserving the address of network node that described information determination unit obtains, and the corresponding relation of the characteristic value of resource that this network node can provide.
9. device according to claim 8, is characterized in that, obtains described client resource download request, and/or the characteristic value of resource that the address of network node and this network node can provide, and is specially:
Message deep analysis is carried out to the network message of carrier network aggregation node, by obtaining DHT network message and BT-Tracker network message from carrier network aggregation node, from described DHT network message and BT-Tracker network message, obtain described client resource download request, and/or the characteristic value of resource that the address of network node and this network node can provide.
10. device according to claim 9, is characterized in that, obtains described DHT network message according to the DHT network transmission protocol, and obtains described 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 CN102664938A (en) 2012-09-12
CN102664938B true 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)

Families Citing this family (12)

* 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
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
CN106612304A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Data access method and device
US10911337B1 (en) * 2018-10-10 2021-02-02 Benjamin Thaddeus De Kosnik Network activity monitoring service
CN110830565B (en) * 2019-10-31 2023-04-18 北京奇艺世纪科技有限公司 Resource downloading method, device, system, electronic equipment and storage medium
CN115004657B (en) * 2019-11-07 2024-04-12 华为技术有限公司 Addressing method, addressing system and addressing device
CN111064798B (en) * 2019-12-25 2022-10-21 深圳市网心科技有限公司 Node network access method, device, client node and storage medium
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
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

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流量测量方法";柳斌等;《计算机科学》;20070430;第34卷(第4期);38-41 *

Also Published As

Publication number Publication date
CN102664938A (en) 2012-09-12

Similar Documents

Publication Publication Date Title
CN102664938B (en) A kind of resource downloading control method and device
US11758013B2 (en) Methods and systems for caching data communications over computer networks
US8510415B2 (en) Data distribution method, data distribution system and relevant devices in edge network
JP5050095B2 (en) Method, system, and node for P2P content sharing
CN109474936B (en) Internet of things communication method and system applied among multiple lora gateways
CN104836822B (en) Obtain downloading data method and device, the method and system of downloading data
CN102739717B (en) Method for down loading, download agent server and network system
US20190089648A1 (en) Resource subscription method, resource subscription apparatus, and resource subscription system
CN102780779A (en) Gateway equipment and method and device for optimization of campus network export P2P (peer-to-peer) traffic
CN108418847B (en) Network traffic caching system, method and device
CN101510899A (en) Method, system and equipment for implementing content source selection
US20210368006A1 (en) Request response method, device, and system applied to bit torrent system
JP2023510272A (en) Connection, content discovery, data transfer and control methods for specific network devices and specific local area networks
US20120047248A1 (en) Method and System for Monitoring Flows in Network Traffic
CN107872538B (en) Service processing method, reverse proxy and service server for decoupling TCP long connection
CN114422519B (en) Data request processing method and device, electronic equipment and storage medium
CN103533048B (en) Popular seed file acquisition methods in a kind of BT networks
CN111030914B (en) Data transmission method and data transmission system
CN114650281A (en) File downloading method, device, equipment and storage medium based on complex network
WO2012029248A1 (en) Data transfer system
CN107612831B (en) Transmission method and device for data message of access source station
CN103685367A (en) Offline download system and offline download method
CN107483637A (en) A kind of client link management method and device based on NFS
CN113934916A (en) CDN service implementation method, terminal device, node server and storage medium
CN103731506B (en) A kind of content injection method, the first business service node and content distributing network

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