CN103618801B - Method, equipment and the system of a kind of P2P resource-sharing - Google Patents
Method, equipment and the system of a kind of P2P resource-sharing Download PDFInfo
- Publication number
- CN103618801B CN103618801B CN201310664771.6A CN201310664771A CN103618801B CN 103618801 B CN103618801 B CN 103618801B CN 201310664771 A CN201310664771 A CN 201310664771A CN 103618801 B CN103618801 B CN 103618801B
- Authority
- CN
- China
- Prior art keywords
- address
- resource
- super node
- node
- edge
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 230000004044 response Effects 0.000 claims abstract description 97
- 238000013519 translation Methods 0.000 claims description 33
- 230000006855 networking Effects 0.000 claims description 17
- JTJMJGYZQZDUJJ-UHFFFAOYSA-N phencyclidine Chemical compound C1CCCCN1C1(C=2C=CC=CC=2)CCCCC1 JTJMJGYZQZDUJJ-UHFFFAOYSA-N 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000000151 deposition Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 abstract description 3
- 238000013507 mapping Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 8
- 230000007547 defect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- UHLRPXXFPYMCAE-UHFFFAOYSA-N 4-isopropylcalix[4]arene Chemical compound C1C(C=2O)=CC(C(C)C)=CC=2CC(C=2O)=CC(C(C)C)=CC=2CC(C=2O)=CC(C(C)C)=CC=2CC2=CC(C(C)C)=CC1=C2O UHLRPXXFPYMCAE-UHFFFAOYSA-N 0.000 description 1
- 206010033799 Paralysis Diseases 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Abstract
The present invention discloses method, equipment and the system of a kind of P2P resource-sharing.Relate to the communications field, by introducing edge super node, it is achieved P2P file-sharing.The method that the embodiment of the present invention provides includes: the first edge super node determines and do not comprises first resource ID in local information, first edge super node receives the inquiry response message that the second edge super node sends, this inquiry response message comprises destination address, source address, and Payload, source address is the address of the secondary nodal point of storage first resource, and source address is after IPV4/IPV6 Interworking gateway is translated, identical with the first edge super node network domains type, Payload comprises secondary nodal point ID, the file key of first resource, and the real ip address of first resource;First inquiry response message is resolved, the real ip address in Payload is replaced to source address and is forwarded to the primary nodal point of requesting query.
Description
Technical field
The present invention relates to the communications field, particularly relate to a kind of P2P resource share method, equipment and
System.
Background technology
Point-to-point (peer-to-peer is called for short P2P), technology was also known as equity internet technique, P2P
In network, any computer both can as server end, again can as client,
Relation between node and node is equality.Each user can be directly connected to other users
Computer, go forward side by side style of writing part exchange, without being connected on server browse again
With download.During whole, the message forwarding by node, the road in P2P network
Footpath is propagated.Because eliminating intermediate link, P2P technology makes the communication on network become more
Easily, more direct.P2P changes Internet present situation centered by big website so that it is return to
Decentralization, and power is given back user.And in performance, because load balancing is respectively
Individual node, so network efficiency is higher;Functionally, each node importance is identical, single joint
Point failure is identical to the damaged condition of whole system, clothes during important node fault seldom occurs
The situation of business paralysis.
IPv6(Internet Protocol Version 6) it is the IP next generation protocol of IPv4, IPv6
32 bit address in IPv4 are expanded to 128 by technology, can fully meet following miscellaneous service pair
The demand of IP address, and simplify packet header, enhance security performance.But, IPv6 technology
Dispose implement be not stranghtforward, when the scene that IPv6 with IPv4 coexists will continue the longest
Between, so the interworking technology between two nets seamlessly transits particularly significant for realizing IPv4 to IPv6.
In P2P network, routing table comprises static ip address, routing table by global node number with
IP address in close couples, and routing inquiry, object location and message forward and needs to build between node
The transmission control protocol (Transmission Control Protocol is called for short TCP) of vertical bottom
Connecting, this requires that distant-end node has permanent IP address, to ensure P2P route, location
It is smoothed out.If far-end IP address changes, will be unable to set up with distant-end node connect normally
Connect and communicate, causing destination to arrive, thus affecting P2P route and object resource location
Effectiveness and accuracy.
And under the scene of IPv4 Yu IPv6 network interworking agreement, when using address translation, IPv6
Exist with the address translation of IPv4 and non-map one by one, or the situation of dynamic mapping, cause difference
IPv6 address identical in time may be translated into different IPv4 addresses, such opposite end
IP address it may happen that change and cause routeing unreachable.
Summary of the invention
The embodiment of the present invention provides method, equipment and the system of a kind of P2P resource-sharing, it is achieved
P2P resource sharing under IPv6 Yu IPv4 mixed networking.
To achieve these goals, the embodiment of the present invention employed technical scheme comprise that,
First aspect, it is provided that a kind of P2P resource share method, including:
First edge super node receive first super node forward the first inquiry request, wherein,
Described first inquiry request comprises the first resource ID of primary nodal point requesting query;
Described first edge super node is inquired about described first edge according to described first resource ID and is surpassed
The local information of level node, wherein, the local information of described first edge super node comprises institute
State the resource ID that the first edge super node can obtain, and the node that each resource ID is corresponding
ID and IP address;
If described first edge super node determines the local information of described first edge super node
In do not comprise described first resource ID, then described first inquiry request is forwarded to the second edge and surpasses
Level node, so that described second edge super node is at described second super node place, edge
Network domains in search described first resource, wherein, described first edge super node and described
Second edge super node is connected by IPV4/IPV6 Interworking gateway, and described first edge is super
Node is in IPV4 network domains, and described second edge super node is in IPV6 network domains;Or
Person, described first edge super node is in IPV6 network domains, described second edge super node
It is in IPV4 network domains;
The first of the described second edge super node transmission of described first edge super node reception is looked into
Ask response message, wherein, described first inquiry response message comprises destination address, source address,
And Payload, described destination address is the address of described primary nodal point, and described source address is for depositing
Store up the address of the secondary nodal point of described first resource, and described source address is through described IPV4/IPV6
Interworking gateway translation after, with described first edge super node residing for network domains type identical, institute
State and Payload comprises described secondary nodal point ID, the file key, Yi Jisuo of described first resource
State the real ip address of first resource;
Described first inquiry response message is resolved, if really by described first edge super node
The type of real ip address described in fixed described Payload and described first edge super node institute
The IP address class type of the network domains at place is different, then by the described practical IP ground in described Payload
Location replaces to the source address in described first inquiry response message;
Described first inquiry response message is forwarded to described first by described first edge super node
Node, so that described primary nodal point is according to described first inquiry response message and described second section
Point is set up P2P and is connected, and carries out sharing of described first resource.
Second aspect, it is provided that the first edge super node, including:
First receiver module, for receiving the first inquiry request that the first super node forwards, its
In, described first inquiry request comprises the first resource ID of primary nodal point requesting query;
Enquiry module, for inquiring about described first edge super node according to described first resource ID
Local information, wherein, the local information of described first edge super node comprises described first
The resource ID that edge super node can obtain, and node ID corresponding to each resource ID and
IP address;
First sending module, if determining described first edge super node for described enquiry module
Local information in do not comprise described first resource ID, then described first inquiry request is forwarded to
Second edge super node, so that described second edge super node is super at described second edge
Searching described first resource in the network domains at level node place, wherein, described first edge is super
Node and described second edge super node are connected by IPV4/IPV6 Interworking gateway, and described
One edge super node is in IPV4 network domains, and described second edge super node is in IPV6
Network domains;Or, described first edge super node is in IPV6 network domains, described second limit
Edge super node is in IPV4 network domains;
Second receiver module, for receiving the first inquiry that described second edge super node sends
Response message, wherein, comprises destination address in described first inquiry response message, source address,
And Payload, described destination address is the address of described primary nodal point, and described source address is for depositing
Store up the address of the secondary nodal point of described first resource, and described source address is through described IPV4/IPV6
Interworking gateway translation after, with described first edge super node residing for network domains type identical, institute
State and Payload comprises described secondary nodal point ID, the file key, Yi Jisuo of described first resource
State the real ip address of first resource;
Parsing module, for resolving described first inquiry response message, however, it is determined that described
The type of real ip address described in Payload and the net residing for described first edge super node
The IP address class type in network territory is different, then replaced by the described real ip address in described Payload
Become the source address in described first inquiry response message;
Second sending module, for being forwarded to described first segment by described first inquiry response message
Point, so that described primary nodal point is according to described first inquiry response message and described secondary nodal point
Set up P2P to connect, and carry out sharing of described first resource.
The third aspect, it is provided that a kind of system, including: the first edge super node, the second edge surpasses
Level node, described first edge super node and described second edge super node pass through
IPV4/IPV6 Interworking gateway connects, and described first edge super node is in IPV4 network domains,
Described second edge super node is in IPV6 network domains;Or, the described first super joint in edge
Point is in IPV6 network domains, and described second edge super node is in IPV4 network domains;
Wherein, described first edge super node is used for,
Receiving the first inquiry request that the first super node forwards, wherein, described first inquiry please
Seek the first resource ID comprising primary nodal point requesting query;
The local information of described first edge super node is inquired about according to described first resource ID, its
In, the local information of described first edge super node comprises described first edge super node energy
Enough resource IDs obtained, and node ID corresponding to each resource ID and IP address;
If it is determined that the local information of described first edge super node does not comprise described first resource
ID, then be forwarded to the second edge super node by described first inquiry request, so that described
Two edge super nodes search described in the network domains at described second super node place, edge
One resource;
Receive the first inquiry response message that described second edge super node sends, wherein, institute
State and the first inquiry response message comprises destination address, source address, and Payload, described mesh
The address that address is described primary nodal point, described source address is store described first resource the
Two addresss of node, and described source address is after described IPV4/IPV6 Interworking gateway is translated,
With described first edge super node residing for network domains type identical, described Payload comprises institute
State secondary nodal point ID, the file key of described first resource, and the reality of described first resource
IP address;
Described first inquiry response message is resolved, however, it is determined that real described in described Payload
The type of IP address, border and the IP address class type of the network domains residing for described first edge super node
Difference, then replace to the described real ip address in described Payload described first inquiry and ring
Answer the source address in message;
Described first inquiry response message is forwarded to described primary nodal point, so that described first
Node is set up P2P according to described first inquiry response message with described secondary nodal point and is connected, and goes forward side by side
Sharing of the described first resource of row.
Therefore, the embodiment of the present invention provides a kind of P2P resource share method, equipment and system,
First edge super node receives the first inquiry request that the first super node forwards, wherein, institute
State the first resource ID that the first inquiry request comprises primary nodal point requesting query;Described first edge
Super node inquires about the local letter of described first edge super node according to described first resource ID
Breath, wherein, it is super that the local information of described first edge super node comprises described first edge
The resource ID that node can obtain, and node ID corresponding to each resource ID and IP address;
If described first edge super node determines in the local information of described first edge super node not
Comprise described first resource ID, then described first inquiry request is forwarded to the second super joint in edge
Point, so that described second edge super node is at the net at described second super node place, edge
Network territory is searched described first resource, wherein, described first edge super node and described second
Edge super node is connected by IPV4/IPV6 Interworking gateway, described first edge super node
Being in IPV4 network domains, described second edge super node is in IPV6 network domains;Or,
Described first edge super node is in IPV6 network domains, and described second edge super node is in
IPV4 network domains;Described first edge super node receives described second edge super node and sends
The first inquiry response message, wherein, described first inquiry response message comprises destination address,
Source address, and Payload, described destination address is the address of described primary nodal point, described source
Address is the address of the secondary nodal point storing described first resource, and described source address is through described
IPV4/IPV6 Interworking gateway translation after, with described first edge super node residing for network domains type
Identical, described Payload comprises described secondary nodal point ID, the file key of described first resource,
And the real ip address of described first resource;Described first edge super node is to described first
Inquiry response message resolves, however, it is determined that the class of real ip address described in described Payload
Type is different, then by institute from the IP address class type of the network domains residing for described first edge super node
State the described real ip address in Payload and replace to the source in described first inquiry response message
Address;Described first inquiry response message is forwarded to described by described first edge super node
One node, so that described primary nodal point is according to described first inquiry response message and described second
Node is set up P2P and is connected, and carries out sharing of described first resource.So, by introducing limit
Edge super node, it is achieved the P2P resource sharing under IPv6 Yu IPv4 mixed networking.Overcome existing
Have in technology under IPv6 Yu IPv4 mixed networking, easily cause the address translation of IPv6 Yu IPv4
The defect that non-P2P resource sharing when mapping one by one or caused during dynamic mapping is failed.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below
The accompanying drawing used required in embodiment or description of the prior art will be briefly described, aobvious and
Easily insight, the accompanying drawing in describing below is only some embodiments of the present invention, for this area
From the point of view of those of ordinary skill, on the premise of not paying creative work, it is also possible to according to these
Accompanying drawing obtains other accompanying drawing.
Fig. 1 provides the system diagram of a kind of IPv6 and IPv4 mixed networking for the embodiment of the present invention;
The flow chart of a kind of P2P resource share method that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 shows for the apparatus structure of a kind of first edge super node that the embodiment of the present invention provides
It is intended to;
The apparatus structure of another kind the first edge super node that Fig. 4 provides for the embodiment of the present invention
Schematic diagram.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the technical side in the embodiment of the present invention
Case is clearly and completely described, it is clear that described embodiment is only the present invention one
Divide embodiment rather than whole embodiments.Based on the embodiment in the present invention, this area is general
The every other embodiment that logical technical staff is obtained under not making creative work premise,
Broadly fall into the scope of protection of the invention.
To facilitate understanding of the present embodiment of the invention, first introduce at this in embodiment of the present invention description
The several terms that can introduce;
Resource (Piece): for file resource, be stored in each ordinary node with piecemeal Piece form
In.
Resource ID: for the identifier of resource.
Node ID: for node identifier, the globally unique indications that each node has.
Ordinary node: common P2P node, can be used to store resource and send resource query
Request, can preserve Resource Block and adjacent node (includes the Resource Block mark that adjacent node is comprised
Show symbol) etc. information, each network domains has multiple ordinary node.
Super node: safeguard downstream ordinary node information, for resource retrieval, does not make file and deposits
Storage, each network domains can have multiple super node.
Edge super node: draw under existing IPv4 with the IPv6 network architecture for the embodiment of the present invention
The novel joint entered, each network domains can comprise an edge super node, it is also possible to comprises
Multiple edges super node, specifically can dispose according to the practical situation of network domains, edge
Super node is only disposed at the edge of network domains, does not do file resource storage, edge super node
Polytype agreement can be run, for example, it is possible to run IPv6 and IPv4 agreement simultaneously simultaneously.
Edge super node is direct-connected with at least one super node, and this super node is by super for this edge joint
The address information of point extends to other super nodes.
IPv4/IPv6 Interworking gateway, for connecting IPv4 network domains and the limit in IPv6 network domains
Edge super node, safeguards the corresponding relation of IPv4 network domains and IPv6 network domains address, it is possible to will
IP address between IPv4 network domains and IPv6 network domains is translated.
Edge super node controller: direct-connected with all edges super node logic in a wide area,
Edge super node can be registered and manage, strengthen network manageability, when network is advised
When mould is bigger, network egress is more, edge super node fault enable the joint that new edge is super
During point, edge super node controller provides the addressing between edge super node and new edge super
Node registry the function such as issue a notice, do not do file resource storage.
Should be understood that the P2P resource that the embodiment of the present invention can apply in various mixed networking is total to
Enjoying, this is not limited by the embodiment of the present invention.
Being only exemplary, the method for the embodiment of the present invention is to be applied to IPv6 and IPv4 mixed networking
P2P resource-sharing under scene illustrates, but this does not constitute any restriction to the embodiment of the present invention.
See Fig. 1, for the system diagram of a kind of IPv6 and IPv4 mixed networking that the embodiment of the present invention sets, be somebody's turn to do
System comprises IPV4 network domains and IPV6 network domains, wherein, comprises node 20 in IPV4 network domains,
Super node 40,50, edge super node 30, IPV4 network domains comprises node 80, super node
70, edge super node 60, edge super node 30 and edge super node 60 pass through IPv4/IPv6
Interworking gateway 90 connects.
On the one hand, the embodiment of the present invention provides a kind of P2P resource share method, needs explanation
Being to see Fig. 1, the embodiment of the present invention assumes that node 20 is primary nodal point, and super node 40 is
First super node, edge super node 30 is the first edge super node, and node 80 is
Two nodes, super node 70 is the second super node, and edge super node 60 is the second edge
Super node.
See Fig. 2, may comprise steps of:
201: the first edge super nodes receive the first inquiry request that the first super node forwards,
Wherein, described first inquiry request comprises the first resource ID of primary nodal point requesting query;
Wherein, primary nodal point, when registering login P2P network first, generates universe unique the
The ID of one node also registers.When primary nodal point is as new node, at least know in P2P network
One node, primary nodal point can obtain the more specific location information of node from P2P applies.The
One node can notify that other nodes being associated with primary nodal point are (in such as Fig. 1 after adding network
Node 50), update the inquiry table of other nodes.
Wherein, with human configuration, and IPv4 can be connected when the first edge super node is initial
To carry out distributed hashtable, (Distributed Hash Table is called for short DHT and dissipates with IPv6 territory
List calculates.
Assume that primary nodal point needs from other nodes sharing first resources, then primary nodal point sends the
One inquiry request is to the node adjacent with primary nodal point, and this inquiry request comprises first resource ID;
The adjacent node of primary nodal point inquires about the local information of this adjacent node, this adjacent node
Local information can comprise the resource ID information of the resource of this adjacent node storage, and this is adjacent
The resource ID of the resource that node can obtain and the address information of correspondence, if adjacent node determines
Local information comprises the location information cache of first resource, such as node (Node Identifier,
It is called for short NID), the IP address of first resource, then be returned to the location information of first resource
Data source;If the local information of adjacent node does not has the location information of first resource, then should
This inquiry request can be forwarded to the first super node by adjacent node.
When the first super node receives this first inquiry request, can preferentially check that first is super
The local information of node, the local information of the first super node can comprise the first super node note
The resource ID of record, and node ID corresponding to each resource ID and IP address;Such as, first
The local information of super node can presented in routing table, if the basis of the first super node
Ground information comprises first resource ID and address information corresponding to first resource (comprise this first
Node ID that resource is corresponding and IP address), then the first super node can return to primary nodal point
The address information of this first resource, if not comprising the first money in the local information of the first super node
Source ID and address information corresponding to first resource, then the first super node can be inquired about first
Request is transmitted to other super nodes and inquires about, if all super nodes all cannot find the
During the positional information of one resource, the first inquiry request is transmitted to the first edge super node.
202: described first edge super node inquires about described first according to described first resource ID
The local information of edge super node, wherein, the local information of described first edge super node
Comprise the resource ID that described first edge super node can obtain, and each resource ID is corresponding
Node ID and IP address;
When the first edge super node receives this first inquiry request, can preferentially check first
The local information of edge super node, the local information of the first edge super node can comprise
The resource ID of one edge super node record, and node ID corresponding to each resource ID and IP
Address;Such as, the local information of the first edge super node can presented in routing table,
If the local information of the first edge super node comprising first resource ID and first resource being corresponding
Address information (comprising node ID corresponding to this first resource and IP address), then the first edge
Super node can send primary nodal point to step by step to the address information of first resource.
203: if described first edge super node determines this locality of described first edge super node
Information does not comprise described first resource ID, then described first inquiry request is forwarded to the second limit
Edge super node, so that described second edge super node is at described second edge super node
The network domains at place searches described first resource, wherein, described first edge super node and
Described second edge super node is connected by IPV4/IPV6 Interworking gateway, described first edge
Super node is in IPV4 network domains, and described second edge super node is in IPV6 network domains;
Or, described first edge super node is in IPV6 network domains, the described second super joint in edge
Point is in IPV4 network domains;
If the local information of the first edge super node does not comprise first resource ID and first money
The address information that source is corresponding, if current network domain exists other edge super nodes, then first
First inquiry request can be transmitted to other edge super nodes and look into by edge super node
Ask, if all edges super node all cannot find the positional information of first resource, first
The second super joint in edge that first inquiry request is transmitted in other network domains by edge super node
Point.
When in IPV6 network domains, the second edge super node receives the first limit of IPV6 network domains
During the first inquiry request that edge super node sends, can be at self storage and super node in territory
Make a look up till finding or completing the whole network lookup.If finding, the second edge super node
First inquiry response message is sent to the first edge super node.If not finding, if deposited
Other edge super nodes if, then be transmitted to the super joint in other edges by the first inquiry request.
If until complete network of inquiry, the most not finding the positional information of first resource, then return
Return first resource not exist.
204, described first edge super node receive that described second edge super node sends the
One inquiry response message, wherein, comprises destination address, source in described first inquiry response message
Address, and Payload, described destination address is the address of described primary nodal point, described seedbed
Location is the address of the secondary nodal point storing described first resource, and described source address is through described
IPV4/IPV6 Interworking gateway translation after, with described first edge super node residing for network domains type
Identical, described Payload comprises described secondary nodal point ID, the file key of described first resource,
And the real ip address of described first resource;
Wherein, IPV4/IPV6 Interworking gateway can safeguard the corresponding pass between IPV4 and IPV6
System, the first inquiry response message is through IPV4/IPV6 Interworking gateway, IPV4/IPV6 intercommunication
Source address therein can be translated by gateway so that the source address after translation and described first
Residing for edge super node, network domains type is identical.Such as, in the present embodiment, storage first
The IP address of the secondary nodal point of resource is IPV6 address, and the second edge super node is by IPV6 shape
The IP address of the secondary nodal point of formula adds the first inquiry response message, IPV4/IPV6 as source address
Interworking gateway is by the secondary nodal point of the IP address translation IPV4 form of the secondary nodal point of IPV6 form
IP address, and by the IP address of secondary nodal point of the IPV4 form after translation as source address
Add the first inquiry response message.
205, described first inquiry response message is resolved by described first edge super node,
If it is determined that the type of real ip address described in described Payload and the described first super joint in edge
The IP address class type of the network domains residing for Dian is different, then by the described reality in described Payload
IP address replaces to the source address in described first inquiry response message;
Such as, after described first inquiry response message is resolved by the first edge super node,
Obtain the destination address in described first inquiry response message, source address, and Payload, institute
Stating the address that destination address is described primary nodal point, described source address is mutual through IPV4/IPV6
Secondary nodal point address after logical gateway translation, after resolving, the first edge super node obtains
The secondary nodal point ID comprised in Payload, the file key of first resource, and first resource
Real ip address;So that primary nodal point is capable of identify that the IP address of first resource, so,
First edge super node resolves the real ip address obtaining first resource, it is judged that this practical IP ground
Location is the most identical with the IP address class type of current network domain, as the most different, illustrates that primary nodal point is not
This real ip address can be identified, because source address is after IPV4/IPV6 Interworking gateway is translated
Secondary nodal point address, it is possible to by primary nodal point identification, so, the first edge super node will
Source address replaces this real ip address.
206, described first inquiry response message is forwarded to described by described first edge super node
Primary nodal point, so that described primary nodal point is according to described first inquiry response message and described the
Two nodes are set up P2P and are connected, and carry out sharing of described first resource.
After primary nodal point obtains the first inquiry response message, according to described first inquiry response message
Secondary nodal point ID in middle Payload, the file key of first resource, and the IP of first resource
Address (after translation) can be set up P2P with secondary nodal point and be connected, and connects setting up P2P
The rear first resource sharing secondary nodal point, so, through IPV4/IPV6 Interworking gateway to IP ground
The translation of location, and the first edge super node is to the IP address in the Payload after resolving
Judge and replace so that the IP address that primary nodal point receives can recognize that, it is ensured that P2P is successfully established.
Further, in order to improve the efficiency of inquiry and guarantee the effectiveness of address translation, institute
Method of stating also includes:
Described first edge super node is by the reality of described first resource ID Yu described first resource
IP address stores to file address information, and wherein, described file address information comprises described first
Edge super node inquires about the resource ID of gained and the reality corresponding with described resource ID every time
IP address.
First edge super node is by the file address information of storage inquiry every time, when a certain money
After being queried before source, when again inquiring about this resource, can true with this resource of quick obtaining
Real IP address, because the address between IPV4 and IPV6 of IPV4/IPV6 Interworking gateway maintenance
Mapping pair is probably dynamic corresponding relation, so, the real IP address of this resource is when difference
Quarter can the IP address of corresponding different translation, so, the first edge super node can not be direct
The translation IP address of inquiry between requesting node returns, but, the real IP that this resource is corresponding
Address is constant, so, the first edge super node can be asked according to the real IP address of this resource
Ask the translation IP address of IPV4/IPV6 Interworking gateway current time, specifically can be by following mistake
Cheng Tixian.
First edge super node receives the second inquiry request that described first super node forwards,
Wherein, described second inquiry request comprises the Secondary resource ID of the 3rd node requesting query, described
3rd node is any one node in described first super node place, edge network domains.
First edge super node inquires about described file address information according to described Secondary resource ID,
If it is determined that described file address information comprises described Secondary resource ID, then to described IPV4/IPV6
Interworking gateway sends described real ip address corresponding for Secondary resource ID, so that described
The real ip address that IPV4/IPV6 Interworking gateway is described Secondary resource ID provides translating address.
Wherein, if IPV4/IPV6 Interworking gateway current time exists reality corresponding to Secondary resource ID
The translation IP address of IP address, border, then directly can return this translation to the first edge super node
IP address, if there is not reality corresponding to Secondary resource ID in current time IPV4/IPV6 Interworking gateway
The translation IP address of IP address, border, then IPV4/IPV6 Interworking gateway can be this Secondary resource immediately
Real ip address distribution translation IP address corresponding for ID.
First edge super node receives described second that described IPV4/IPV6 Interworking gateway sends
The translating address of the real ip address of resource;
Second inquiry response message is forwarded to described 3rd node by the first edge super node, with
Make described 3rd node according to described second inquiry response message and described Secondary resource ID place
Node set up P2P connect, and carry out described Secondary resource share, wherein, described second
Inquiry response message comprises destination address, source address, and Payload, described destination address
For described 3rd address of node, described source address is the real ip address of described Secondary resource
Translating address, comprises the node ID at described Secondary resource place in described Payload, and described
The file key of two resources, and the translating address of the real ip address of described Secondary resource.
Therefore, the embodiment of the present invention provides a kind of P2P resource share method, and the first edge surpasses
Level node receives the first inquiry request that the first super node forwards, wherein, described first inquiry
Request comprises the first resource ID of primary nodal point requesting query;Described first edge super node root
The local information of described first edge super node, wherein, institute is inquired about according to described first resource ID
State the local information of the first edge super node to comprise described first edge super node and can obtain
Resource ID, and node ID corresponding to each resource ID and IP address;If described first limit
Edge super node determines in the local information of described first edge super node and does not comprise described first
Resource ID, then be forwarded to the second edge super node by described first inquiry request, so that institute
State the second edge super node in the network domains at described second super node place, edge, search institute
State first resource, wherein, described first edge super node and described second edge super node
Being connected by IPV4/IPV6 Interworking gateway, described first edge super node is in IPV4 network
Territory, described second edge super node is in IPV6 network domains;Or, described first edge surpasses
Level node is in IPV6 network domains, and described second edge super node is in IPV4 network domains;
Described first edge super node receives the first inquiry sound that described second edge super node sends
Answer message, wherein, described first inquiry response message comprises destination address, source address, with
And Payload, described destination address is the address of described primary nodal point, and described source address is storage
The address of the secondary nodal point of described first resource, and described source address is through described IPV4/IPV6
Interworking gateway translation after, with described first edge super node residing for network domains type identical, institute
State and Payload comprises described secondary nodal point ID, the file key, Yi Jisuo of described first resource
State the real ip address of first resource;Described first inquiry is rung by described first edge super node
Message is answered to resolve, however, it is determined that the type of real ip address described in described Payload and institute
The IP address class type stating network domains residing for the first edge super node is different, then by described
Described real ip address in Payload replaces to the seedbed in described first inquiry response message
Location;Described first inquiry response message is forwarded to described first by described first edge super node
Node, so that described primary nodal point is according to described first inquiry response message and described second section
Point is set up P2P and is connected, and carries out sharing of described first resource.So, by introducing edge
Super node, it is achieved the P2P resource sharing under IPv6 Yu IPv4 mixed networking.Overcome existing
In technology under IPv6 Yu IPv4 mixed networking, the address translation easily causing IPv6 with IPv4 is non-
The defect that mapping relations or dynamic mapping cause one by one P2P resource sharing is failed.
On the one hand, the embodiment of the present invention provides a kind of first edge super node 30, sees Fig. 3, bag
Include:
First receiver module 301, for receiving the first inquiry request that the first super node forwards,
Wherein, described first inquiry request comprises the first resource ID of primary nodal point requesting query;
Enquiry module 302, super for inquiring about described first edge according to described first resource ID
The local information of node, wherein, the local information of described first edge super node comprises described
The resource ID that first edge super node can obtain, and the node ID that each resource ID is corresponding
With IP address;
First sending module 303, if determining the described first super joint in edge for described enquiry module
The local information of point does not comprise described first resource ID, then described first inquiry request is forwarded
To the second edge super node, so that described second edge super node is at described second edge
Searching described first resource in the network domains at super node place, wherein, described first edge surpasses
Level node and described second edge super node are connected by IPV4/IPV6 Interworking gateway, described
First edge super node is in IPV4 network domains, and described second edge super node is in IPV6
Network domains;Or, described first edge super node is in IPV6 network domains, described second limit
Edge super node is in IPV4 network domains;
Second receiver module 304, first sent for receiving described second edge super node is looked into
Ask response message, wherein, described first inquiry response message comprises destination address, source address,
And Payload, described destination address is the address of described primary nodal point, and described source address is for depositing
Store up the address of the secondary nodal point of described first resource, and described source address is through described IPV4/IPV6
Interworking gateway translation after, with described first edge super node residing for network domains type identical, institute
State and Payload comprises described secondary nodal point ID, the file key, Yi Jisuo of described first resource
State the real ip address of first resource;
Parsing module 305, for resolving described first inquiry response message, however, it is determined that institute
State residing for type and the described first edge super node of real ip address described in Payload
The IP address class type of network domains is different, then replaced by the described real ip address in described Payload
Change the source address in described first inquiry response message into;
Second sending module 306, for being forwarded to described first by described first inquiry response message
Node, so that described primary nodal point is according to described first inquiry response message and described second section
Point is set up P2P and is connected, and carries out sharing of described first resource.
Further, seeing Fig. 4, the first edge super node 30 also includes:
Memory module 307, for by the practical IP of described first resource ID Yu described first resource
Address stores to file address information, and wherein, described file address information comprises described first limit
Edge super node inquires about the resource ID of gained and the practical IP corresponding with described resource ID every time
Address.
Further,
First receiver module 301 is additionally operable to, and receives the second of described first super node forwarding and looks into
Asking request, wherein, described second inquiry request comprises the Secondary resource of the 3rd node requesting query
ID, described 3rd node is any one joint in described first super node place, edge network domains
Point;
Described enquiry module 302 is additionally operable to, and inquires about described file ground according to described Secondary resource ID
Location information;
Described first sending module 303 is additionally operable to, if described enquiry module determines described file ground
Location information comprises described Secondary resource ID, then sends institute to described IPV4/IPV6 Interworking gateway
State real ip address corresponding to Secondary resource ID, so that described IPV4/IPV6 Interworking gateway is
The real ip address of described Secondary resource ID provides translating address;
Described second receiver module 304 is additionally operable to, and receives described IPV4/IPV6 Interworking gateway and sends out
The translating address of the real ip address of the described Secondary resource sent;
Described second sending module 306 is additionally operable to, and is forwarded to by the second inquiry response message described
3rd node, so that described 3rd node is according to described second inquiry response message and described the
The node at two resource ID places is set up P2P and is connected, and carries out sharing of described Secondary resource, its
In, described second inquiry response message comprises destination address, source address, and Payload,
Described destination address is described 3rd address of node, and described source address is described Secondary resource
The translating address of real ip address, comprises the joint at described Secondary resource place in described Payload
Point ID, the file key of described Secondary resource, and the real ip address of described Secondary resource
Translating address.
Therefore, the embodiment of the present invention provides a kind of first edge super node, receives and the first surpasses
The first inquiry request that level node forwards, wherein, described first inquiry request comprises primary nodal point
The first resource ID of requesting query;Described first edge super node is according to described first resource ID
Inquire about the local information of described first edge super node, wherein, the described first super joint in edge
The local information of point comprises the resource ID that described first edge super node can obtain, and often
Node ID that individual resource ID is corresponding and IP address;If described first edge super node determines institute
State and the local information of the first edge super node does not comprise described first resource ID, then by described
First inquiry request is forwarded to the second edge super node, so that the described second super joint in edge
Point searches described first resource in the network domains at described second super node place, edge, wherein,
Described first edge super node and described second edge super node are by IPV4/IPV6 intercommunication
Gateway connects, and described first edge super node is in IPV4 network domains, and described second edge surpasses
Level node is in IPV6 network domains;Or, described first edge super node is in IPV6 net
Network territory, described second edge super node is in IPV4 network domains;The described first super joint in edge
Point receives the first inquiry response message that described second edge super node sends, wherein, described
First inquiry response message comprises destination address, source address, and Payload, described purpose
Address is the address of described primary nodal point, and described source address is store described first resource second
Address of node, and described source address is after described IPV4/IPV6 Interworking gateway is translated, with
Network domains type residing for described first edge super node is identical, comprises described in described Payload
Secondary nodal point ID, the file key of described first resource, and the practical IP of described first resource
Address;Described first inquiry response message is resolved by described first edge super node, if
Determine the type of real ip address described in described Payload and described first edge super node
The IP address class type of residing network domains is different, then by the described practical IP in described Payload
Address replaces to the source address in described first inquiry response message;The described first super joint in edge
Described first inquiry response message is forwarded to described primary nodal point by point, so that described first segment
Point is set up P2P according to described first inquiry response message with described secondary nodal point and is connected, and carries out
Sharing of described first resource.So, by introducing edge super node, it is achieved IPv6 and IPv4
P2P resource sharing under mixed networking.Overcome IPv6 Yu IPv4 mixed networking in prior art
Under, the non-mapping relations one by one of address translation or the dynamic mapping that easily cause IPv6 with IPv4 are led
The failed defect of P2P resource sharing caused.
On the one hand, the embodiment of the present invention provides a kind of system, sees Fig. 1, and this system includes: the
One edge super node 30, the second edge super node 60, described first edge super node 30
Connected by IPV4/IPV6 Interworking gateway 90 with described second edge super node 60,
Needing explanation, described first edge super node 30 is in IPV4 network domains, described
Second edge super node 60 is in IPV6 network domains;Or, the described first super joint in edge
Point 30 is in IPV6 network domains, and described second edge super node 60 is in IPV4 network domains;
This is not defined by the embodiment of the present invention, and Fig. 1 is only the exemplary theory carried out with a kind of situation
Bright.
Wherein, described first edge super node 30 is used for,
Receive the first inquiry request that the first super node 40 forwards, wherein, described first inquiry
Request comprises the first resource ID of primary nodal point 20 requesting query;
The local information of described first edge super node is inquired about according to described first resource ID, its
In, the local information of described first edge super node 30 comprises described first edge super node
The resource ID that can obtain, and node ID corresponding to each resource ID and IP address;
If it is determined that the local information of described first edge super node 30 does not comprise described first money
Source ID, then be forwarded to the second edge super node 60 by described first inquiry request, so that institute
State the second edge super node 60 in the network domains at described second edge super node 60 place
Search described first resource;
Receive described second edge super node 60 send the first inquiry response message, wherein,
Described first inquiry response message comprises destination address, source address, and Payload, described
Destination address is the address of described primary nodal point, and described source address is to store described first resource
The address of secondary nodal point 80, and described source address translates through described IPV4/IPV6 Interworking gateway
After, with described first edge super node 30 residing for network domains type identical, described Payload
In comprise described secondary nodal point ID, the file key of described first resource, and described first money
The real ip address in source;
Described first inquiry response message is resolved, however, it is determined that real described in described Payload
The type of IP address, border and the IP address of the network domains residing for described first edge super node 30
Type is different, then the described real ip address in described Payload is replaced to described first and look into
Ask the source address in response message;
Described first inquiry response message is forwarded to described primary nodal point 20, so that described
One node 20 sets up P2P even according to described first inquiry response message and described secondary nodal point 80
Connect, and carry out sharing of described first resource.
Further, described first edge super node 30 is additionally operable to: by described first resource ID
Store to file address information with the real ip address of described first resource, wherein, described file
Address information comprise described first edge super node inquire about every time gained resource ID and with institute
State the real ip address that resource ID is corresponding.
Further, described first edge super node 30 is additionally operable to:
Receive the second inquiry request that described first super node 40 forwards, wherein, described second
Inquiry request comprises the Secondary resource ID of the 3rd node requesting query, and described 3rd node is described
Any one node in first super node place, edge network domains;
Described file address information is inquired about according to described Secondary resource ID;
If it is determined that described file address information comprises described Secondary resource ID, then to described
IPV4/IPV6 Interworking gateway sends described real ip address corresponding for Secondary resource ID, so that
The real ip address that described IPV4/IPV6 Interworking gateway is described Secondary resource ID provides translation ground
Location;
Receive the real ip address of the described Secondary resource that described IPV4/IPV6 Interworking gateway sends
Translating address;
Second inquiry response message is forwarded to described 3rd node, so that described 3rd node
Node according to described second inquiry response message Yu described Secondary resource ID place sets up P2P even
Connect, and carry out sharing of described Secondary resource, wherein, described second inquiry response message wraps
Containing destination address, source address, and Payload, described destination address is described 3rd node
Address, described source address is the translating address of the real ip address of described Secondary resource, described
Payload comprises the node ID at described Secondary resource place, the file key of described Secondary resource,
And the translating address of the real ip address of described Secondary resource.
Further, described system also includes: edge super node controller, and described edge surpasses
Level Node Controller is connected with the edge super node logic in described system, for new limit
Edge super node is registered and is managed, it is provided that described edge super node controller is managed
Issuing of addressing between edge super node and notice.
Therefore, the system that the embodiment of the present invention provides, by introducing edge super node, real
P2P resource sharing under existing IPv6 Yu IPv4 mixed networking.Overcome IPv6 in prior art
With under IPv4 mixed networking, easily cause that the address translation of IPv6 Yu IPv4 is non-maps pass one by one
System or the failed defect of the P2P resource sharing that causes of dynamic mapping.
Last it is noted that above example is only in order to illustrate technical scheme, and
Non-to its restriction;Although the present invention being described in detail with reference to previous embodiment, ability
The those of ordinary skill in territory is it is understood that it still can be to the skill described in foregoing embodiments
Art scheme is modified, or wherein portion of techniques feature is carried out equivalent;And these are repaiied
Change or replace, not making the essence of appropriate technical solution depart from various embodiments of the present invention technical side
The spirit and scope of case.
Claims (10)
1. the method for a P2P resource-sharing, it is characterised in that the method includes:
First edge super node receive first super node forward the first inquiry request, wherein,
Described first inquiry request comprises the first resource ID of primary nodal point requesting query;
Described first edge super node is inquired about described first edge according to described first resource ID and is surpassed
The local information of level node, wherein, the local information of described first edge super node comprises institute
State the resource ID that the first edge super node can obtain, and the node that each resource ID is corresponding
ID and IP address;
If described first edge super node determines the local information of described first edge super node
In do not comprise described first resource ID, then described first inquiry request is forwarded to the second edge and surpasses
Level node, so that described second edge super node is at described second super node place, edge
Network domains in search described first resource, wherein, described first edge super node and described
Second edge super node is connected by IPV4/IPV6 Interworking gateway, and described first edge is super
Node is in IPV4 network domains, and described second edge super node is in IPV6 network domains;Or
Person, described first edge super node is in IPV6 network domains, described second edge super node
It is in IPV4 network domains;
The first of the described second edge super node transmission of described first edge super node reception is looked into
Ask response message, wherein, described first inquiry response message comprises destination address, source address,
And Payload, described destination address is the address of described primary nodal point, and described source address is for depositing
Store up the address of the secondary nodal point of described first resource, and described source address is through described IPV4/IPV6
Interworking gateway translation after, with described first edge super node residing for network domains type identical, institute
State and Payload comprises described secondary nodal point ID, the file key, Yi Jisuo of described first resource
State the real ip address of first resource;
Described first inquiry response message is resolved, if really by described first edge super node
The type of real ip address described in fixed described Payload and described first edge super node institute
The IP address class type of the network domains at place is different, then by the described practical IP ground in described Payload
Location replaces to the source address in described first inquiry response message;
Described first inquiry response message is forwarded to described first by described first edge super node
Node, so that described primary nodal point is according to described first inquiry response message and described second section
Point is set up P2P and is connected, and carries out sharing of described first resource.
Method the most according to claim 1, it is characterised in that described method also includes:
Described first edge super node is by the reality of described first resource ID Yu described first resource
IP address stores to file address information, and wherein, described file address information comprises described first
Edge super node inquires about the resource ID of gained and the reality corresponding with described resource ID every time
IP address.
Method the most according to claim 2, it is characterised in that described method also includes:
Described first edge super node receives the second inquiry of described first super node forwarding please
Asking, wherein, described second inquiry request comprises the Secondary resource ID of the 3rd node requesting query,
Described 3rd node is any one node in described first super node place, edge network domains;
Described first edge super node inquires about described file address letter according to described Secondary resource ID
Breath, however, it is determined that comprise described Secondary resource ID in the information of described file address, then to described
IPV4/IPV6 Interworking gateway sends described real ip address corresponding for Secondary resource ID, so that
The real ip address that described IPV4/IPV6 Interworking gateway is described Secondary resource ID provides translation ground
Location;
Described first edge super node receives the described of described IPV4/IPV6 Interworking gateway transmission
The translating address of the real ip address of Secondary resource;
Second inquiry response message is forwarded to described Section three by described first edge super node
Point, so that described 3rd node is according to described second inquiry response message and described Secondary resource
The node at ID place is set up P2P and is connected, and carries out sharing of described Secondary resource, wherein, institute
State and the second inquiry response message comprises destination address, source address, and Payload, described mesh
Address be described 3rd address of node, described source address is the practical IP of described Secondary resource
The translating address of address, comprises the node ID at described Secondary resource place in described Payload,
The file key of described Secondary resource, and the translation ground of the real ip address of described Secondary resource
Location.
4. an edge super node, it is characterised in that including:
First receiver module, for receiving the first inquiry request that the first super node forwards, its
In, described first inquiry request comprises the first resource ID of primary nodal point requesting query;
Enquiry module, for inquiring about described first edge super node according to described first resource ID
Local information, wherein, the local information of described first edge super node comprises described first
The resource ID that edge super node can obtain, and node ID corresponding to each resource ID and
IP address;
First sending module, if determining described first edge super node for described enquiry module
Local information in do not comprise described first resource ID, then described first inquiry request is forwarded to
Second edge super node, so that described second edge super node is super at described second edge
Searching described first resource in the network domains at level node place, wherein, described first edge is super
Node and described second edge super node are connected by IPV4/IPV6 Interworking gateway, and described
One edge super node is in IPV4 network domains, and described second edge super node is in IPV6
Network domains;Or, described first edge super node is in IPV6 network domains, described second limit
Edge super node is in IPV4 network domains;
Second receiver module, for receiving the first inquiry that described second edge super node sends
Response message, wherein, comprises destination address in described first inquiry response message, source address,
And Payload, described destination address is the address of described primary nodal point, and described source address is for depositing
Store up the address of the secondary nodal point of described first resource, and described source address is through described IPV4/IPV6
Interworking gateway translation after, with described first edge super node residing for network domains type identical, institute
State and Payload comprises described secondary nodal point ID, the file key, Yi Jisuo of described first resource
State the real ip address of first resource;
Parsing module, for resolving described first inquiry response message, however, it is determined that described
The type of real ip address described in Payload and the net residing for described first edge super node
The IP address class type in network territory is different, then replaced by the described real ip address in described Payload
Become the source address in described first inquiry response message;
Second sending module, for being forwarded to described first segment by described first inquiry response message
Point, so that described primary nodal point is according to described first inquiry response message and described secondary nodal point
Set up P2P to connect, and carry out sharing of described first resource.
First edge super node the most according to claim 4, it is characterised in that described
First edge super node also includes: memory module, is used for described first resource ID with described
The real ip address of first resource stores to file address information, and wherein, described file address is believed
Breath comprise described first edge super node inquire about every time gained resource ID and with described resource
The real ip address that ID is corresponding.
First edge super node the most according to claim 5, it is characterised in that
First receiver module is additionally operable to, and the second inquiry receiving described first super node forwarding please
Asking, wherein, described second inquiry request comprises the Secondary resource ID of the 3rd node requesting query,
Described 3rd node is any one node in described first super node place, edge network domains;
Described enquiry module is additionally operable to, and inquires about described file address letter according to described Secondary resource ID
Breath;
Described first sending module is additionally operable to, if described enquiry module determines that described file address is believed
Breath comprises described Secondary resource ID, then sends described the to described IPV4/IPV6 Interworking gateway
The real ip address that two resource IDs are corresponding, so that described IPV4/IPV6 Interworking gateway is described
The real ip address of Secondary resource ID provides translating address;
Described second receiver module is additionally operable to, and receives what described IPV4/IPV6 Interworking gateway sent
The translating address of the real ip address of described Secondary resource;
Described second sending module is additionally operable to, and the second inquiry response message is forwarded to the described 3rd
Node, so that described 3rd node is according to described second inquiry response message and described second money
The node at ID place, source is set up P2P and is connected, and carries out sharing of described Secondary resource, wherein,
Described second inquiry response message comprises destination address, source address, and Payload, described
Destination address is described 3rd address of node, and described source address is the reality of described Secondary resource
The translating address of IP address, comprises the node ID at described Secondary resource place in described Payload,
The file key of described Secondary resource, and the translation ground of the real ip address of described Secondary resource
Location.
7. the system of an IPv6 and IPv4 mixed networking, it is characterised in that including: first
Edge super node, the second edge super node, described first edge super node and described
Two edge super nodes are connected by IPV4/IPV6 Interworking gateway, the described first super joint in edge
Point is in IPV4 network domains, and described second edge super node is in IPV6 network domains;Or,
Described first edge super node is in IPV6 network domains, and described second edge super node is in
IPV4 network domains;
Wherein, described first edge super node is used for,
Receiving the first inquiry request that the first super node forwards, wherein, described first inquiry please
Seek the first resource ID comprising primary nodal point requesting query;
The local information of described first edge super node is inquired about according to described first resource ID, its
In, the local information of described first edge super node comprises described first edge super node energy
Enough resource IDs obtained, and node ID corresponding to each resource ID and IP address;
If it is determined that the local information of described first edge super node does not comprise described first resource
ID, then be forwarded to the second edge super node by described first inquiry request, so that described
Two edge super nodes search described in the network domains at described second super node place, edge
One resource;
Receive the first inquiry response message that described second edge super node sends, wherein, institute
State and the first inquiry response message comprises destination address, source address, and Payload, described mesh
The address that address is described primary nodal point, described source address is store described first resource the
Two addresss of node, and described source address is after described IPV4/IPV6 Interworking gateway is translated,
With described first edge super node residing for network domains type identical, described Payload comprises institute
State secondary nodal point ID, the file key of described first resource, and the reality of described first resource
IP address;
Described first inquiry response message is resolved, however, it is determined that real described in described Payload
The type of IP address, border and the IP address class type of the network domains residing for described first edge super node
Difference, then replace to the described real ip address in described Payload described first inquiry and ring
Answer the source address in message;
Described first inquiry response message is forwarded to described primary nodal point, so that described first
Node is set up P2P according to described first inquiry response message with described secondary nodal point and is connected, and goes forward side by side
Sharing of the described first resource of row.
The system of IPv6 and IPv4 mixed networking the most according to claim 7, its feature
Being, described first edge super node is additionally operable to: by described first resource ID and described first
The real ip address of resource stores to file address information, wherein, and described file address information bag
Containing described first edge super node inquire about every time gained resource ID and with described resource ID
Corresponding real ip address.
The system of IPv6 and IPv4 mixed networking the most according to claim 8, its feature
Being, described first edge super node is additionally operable to:
Receiving the second inquiry request that described first super node forwards, wherein, described second looks into
The request of inquiry comprises the Secondary resource ID of the 3rd node requesting query, and described 3rd node is described the
Any one node in one super node place, edge network domains;
Described file address information is inquired about according to described Secondary resource ID;
If it is determined that described file address information comprises described Secondary resource ID, then to described
IPV4/IPV6 Interworking gateway sends described real ip address corresponding for Secondary resource ID, so that
The real ip address that described IPV4/IPV6 Interworking gateway is described Secondary resource ID provides translation ground
Location;
Receive the real ip address of the described Secondary resource that described IPV4/IPV6 Interworking gateway sends
Translating address;
Second inquiry response message is forwarded to described 3rd node, so that described 3rd node
Node according to described second inquiry response message Yu described Secondary resource ID place sets up P2P even
Connect, and carry out sharing of described Secondary resource, wherein, described second inquiry response message wraps
Containing destination address, source address, and Payload, described destination address is described 3rd node
Address, described source address is the translating address of the real ip address of described Secondary resource, described
Payload comprises the node ID at described Secondary resource place, the file key of described Secondary resource,
And the translating address of the real ip address of described Secondary resource.
10. according to the system of IPv6 and the IPv4 mixed networking described in any one of claim 7-9,
It is characterized in that, described system also includes: edge super node controller, described edge is super
Node Controller is connected with the edge super node logic in described system, for new edge
Super node is registered and is managed, it is provided that the limit that described edge super node controller is managed
Issuing of addressing between edge super node and notice.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310664771.6A CN103618801B (en) | 2013-12-09 | 2013-12-09 | Method, equipment and the system of a kind of P2P resource-sharing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310664771.6A CN103618801B (en) | 2013-12-09 | 2013-12-09 | Method, equipment and the system of a kind of P2P resource-sharing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103618801A CN103618801A (en) | 2014-03-05 |
CN103618801B true CN103618801B (en) | 2017-01-04 |
Family
ID=50169505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310664771.6A Active CN103618801B (en) | 2013-12-09 | 2013-12-09 | Method, equipment and the system of a kind of P2P resource-sharing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103618801B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103987098B (en) * | 2014-04-28 | 2017-12-01 | 广州杰赛科技股份有限公司 | IPV4 networks and the internetwork switching methods of IPV6 and system |
CN105591982B (en) * | 2015-07-24 | 2018-12-25 | 新华三技术有限公司 | A kind of method and apparatus of message transmissions |
CN106899639A (en) * | 2015-12-21 | 2017-06-27 | 北京奇虎科技有限公司 | The acquisition methods of data resource, index server and communication system |
CN106899640A (en) * | 2015-12-21 | 2017-06-27 | 北京奇虎科技有限公司 | The acquisition methods and communication system of data resource |
CN106231739B (en) * | 2016-10-10 | 2018-06-29 | 北京北极风科技有限公司 | The illumination control method and device of a kind of complex scene |
CN111327651A (en) * | 2018-12-14 | 2020-06-23 | 华为技术有限公司 | Resource downloading method, device, edge node and storage medium |
CN110768887A (en) * | 2019-09-20 | 2020-02-07 | 杭州海兴电力科技股份有限公司 | IPv 6-based power gateway system and power data uploading/issuing method |
EP4075691B1 (en) * | 2021-02-20 | 2024-05-01 | Wangsu Science & Technology Co., Ltd. | Resource requesting method and terminal |
CN113886323A (en) * | 2021-08-26 | 2022-01-04 | 北京鸿合爱学教育科技有限公司 | Network sharing method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1848802A (en) * | 2005-11-25 | 2006-10-18 | 清华大学 | Method for realizing IPv6 high performance interconnection based on P2P on IPv4 |
CN101610285A (en) * | 2009-06-15 | 2009-12-23 | 北京邮电大学 | P2P communication means in IPv4 and the IPv6 co-existin networks |
CN102025777A (en) * | 2010-11-24 | 2011-04-20 | 华中科技大学 | Method for sharing peer-to-peer (P2P) resources under condition of internet protocol version 4/version 6 (IPv4/v6) hybrid networking |
CN102065112A (en) * | 2009-11-18 | 2011-05-18 | 中国移动通信集团公司 | Peer-to-peer (P2P) network system and method and related device for establishing the same |
-
2013
- 2013-12-09 CN CN201310664771.6A patent/CN103618801B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1848802A (en) * | 2005-11-25 | 2006-10-18 | 清华大学 | Method for realizing IPv6 high performance interconnection based on P2P on IPv4 |
CN101610285A (en) * | 2009-06-15 | 2009-12-23 | 北京邮电大学 | P2P communication means in IPv4 and the IPv6 co-existin networks |
CN102065112A (en) * | 2009-11-18 | 2011-05-18 | 中国移动通信集团公司 | Peer-to-peer (P2P) network system and method and related device for establishing the same |
CN102025777A (en) * | 2010-11-24 | 2011-04-20 | 华中科技大学 | Method for sharing peer-to-peer (P2P) resources under condition of internet protocol version 4/version 6 (IPv4/v6) hybrid networking |
Non-Patent Citations (2)
Title |
---|
"IPv4/IPv6混合组网下P2P文件共享系统的设计与实现";赵锐 等;《中国海洋大学学报(自然科学版)》;20081015;第38卷;第13-16页 * |
"P2P技术在IPv4/IPv6混合网中应用的关键问题研究";吕晓鹏;《中国博士学位论文全文数据库 信息科技辑》;20111215;I139-5 * |
Also Published As
Publication number | Publication date |
---|---|
CN103618801A (en) | 2014-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103618801B (en) | Method, equipment and the system of a kind of P2P resource-sharing | |
US10574574B2 (en) | System and method for BGP sFlow export | |
CN101589581B (en) | A method and system for providing a routing architecture for overlay networks | |
CN101455030B (en) | Dynamic shared risk node group (srng) membership discovery | |
Liu et al. | A multi-level DHT routing framework with aggregation | |
CN101529809B (en) | Distributed storage of routing information in a link state protocol controlled network | |
EP2093960B1 (en) | Network architecture of mutiple address spaces, and method for host information register and data transmission | |
JP2014511089A (en) | Private address and public address mapping | |
CN102035900B (en) | NAT (network address translation) traversal method, system and relay server by relay mode | |
Dai et al. | A two-layer intra-domain routing scheme for named data networking | |
JP6545695B2 (en) | Network Service Selection Based on Host Name | |
CN100493003C (en) | Automatic discovering and managing method for extendable interconnection network measurement server | |
CN104486402A (en) | Combined equalizing method based on large-scale website | |
CN109450795A (en) | A kind of service router and service network system of service-oriented network | |
CN102546419B (en) | Routing method, routing device, packet forwarding method and packet forwarding system | |
CN104125310B (en) | Message method based on semi-permanent address | |
Afanasyev et al. | Map-and-encap for scaling ndn routing | |
EP2719118B1 (en) | Routing by resolution | |
CN103139076B (en) | Distributed hashtable intercommunication network system, domain intermediate node and implementation method | |
Kröhnke et al. | Resilience of the Domain Name System: A case study of the. nl-domain | |
Sevilla et al. | FERN: A unifying framework for name resolution across heterogeneous architectures | |
Dumba et al. | A virtual ID routing protocol for future dynamics networks and its implementation using the SDN paradigm | |
Kim et al. | Scalable name-based inter-domain routing for information-centric networks | |
US20200344157A1 (en) | Receiver Directed Anonymization of Identifier Flows in Identity Enabled Networks | |
Hasan et al. | A cluster-based content management framework for information-centric networking |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |