CN101667996B - Session initiation protocol-based peer-to-peer connection method of peer-to-peer network and peer-to-peer body - Google Patents

Session initiation protocol-based peer-to-peer connection method of peer-to-peer network and peer-to-peer body Download PDF

Info

Publication number
CN101667996B
CN101667996B CN200810119706.4A CN200810119706A CN101667996B CN 101667996 B CN101667996 B CN 101667996B CN 200810119706 A CN200810119706 A CN 200810119706A CN 101667996 B CN101667996 B CN 101667996B
Authority
CN
China
Prior art keywords
peer
connection message
type
resource
identification
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.)
Expired - Fee Related
Application number
CN200810119706.4A
Other languages
Chinese (zh)
Other versions
CN101667996A (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.)
Tianjin Pengfeng Digital Technology Co ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200810119706.4A priority Critical patent/CN101667996B/en
Publication of CN101667996A publication Critical patent/CN101667996A/en
Application granted granted Critical
Publication of CN101667996B publication Critical patent/CN101667996B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a session initiation protocol-based peer-to-peer connection method of a peer-to-peer network and a peer-to-peer body. The method comprises the following steps that: a first peer-to-peer body receives a connection message carrying destination identification sent by a second peer-to-peer body, and the destination identification is used for indicating the type of a peer-to-peer body with which the connection message allows to connect; and the first peer-to-peer body establishes connection with the second peer-to-peer body after determining that the type of the peer-to-peer body is identical to the type indicated by the destination identification in the connection message. By indicating the type of a peer-to-peer body allowed to be connected with by the destination identification of a connection message, the peer-to-peer connection method ensures that a peer-to-peer body receiving a connection message determines whether self type is identical to the type indicated by the destination identification in the connection message according to the destination identification; if the types are identical, connection processing is carried out according to the connection message; and if the types are different, connection processing is terminated, so that the establishment of error network communication and unnecessary ICE interaction caused thereby are avoided.

Description

A kind of peer-to-peer method of attachment and peer-to-peer of peer-to-peer network of dialogue-based initiation protocol
Technical field
The present invention relates to network communications technology field, relate in particular to a kind of peer-to-peer method of attachment and peer-to-peer of peer-to-peer network of dialogue-based initiation protocol.
Background technology
SIP (session initiation protocol) is a kind of application layer control protocol, and it can be used to create, revises or stop Multimedia session.The plurality of advantages such as SIP is simple by means of it, be easy to expand, be convenient to realize more and more obtain the favor of industry, and it just progressively becomes the important protocol in NGN (next generation network) and the 3G multimedia subsystem domain.
The weakened concept of server of P2P (Peer-to-peer equity) network, thousands of node all is the identical resource provider in status and requestor in the network, has the relation of equity between all nodes, node is also referred to as peer-to-peer.The P2P network has the advantages such as self-organizing, zmodem, extensibility be strong, becomes to represent the next generation network key technology in future.
At present, researcher in the industry makes its performance advantage separately in the combination of exploring research and development SIP and P2P network.In the peer-to-peer network (P2PSIP network) of dialogue-based initiation protocol, each peer-to-peer is assigned with a peer identification, and peer identification is used for unique identification peer-to-peer on the P2PSIP network.The resource distribution of P2PSIP network is stored on each peer-to-peer, and each resource is specified by unique resource identification.In a peer-to-peer space, its peer identification of peer-to-peer of the resource identification of resource and storage equates, and when certain peer-to-peer deviated from network, the resource of storing on this peer-to-peer is just taken over responsible by other peer-to-peers of being responsible for this resource.Resource distribution just because of the P2PSIP network is stored on each peer-to-peer, and constantly there is peer-to-peer to add dynamically and deviated from network, in order to realize the connection between the peer-to-peer in the P2PSIP network, new connection message is defined to finish ICE (interactive connectivity) and detects the mutual of address information between needed peer-to-peer.
As shown in Figure 1, take peer-to-peer A, the peer-to-peer B of P2PSIP network, peer-to-peer C, peer-to-peer D as example, a typical connection message handling process is described: at first, shown in step 11, peer-to-peer B periodically upgrades it routing table information notice peer-to-peer A by Update (updating message), peer-to-peer A transmits the routing table information of coming according to peer-to-peer B, judges that peer-to-peer C should join in the routing table of peer-to-peer A as new neighbor; Then, peer-to-peer A sends connection message, the resource identification of connection message is set to the peer identification of peer-to-peer C, peer-to-peer C is on the P2PSIP network, peer-to-peer C connection message route sends on the peer-to-peer C shown in step 12, namely receive this connection message, peer-to-peer C processes the address information mutual (shown in step 13) that this connection message is finished peer-to-peer A and peer-to-peer C; At last, peer-to-peer A sets up between peer-to-peer with peer-to-peer C startup ICE process and directly is connected.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art:
Because the neighborhood of P2PSIP network is kept by Keepalive (alive message), but Update and keepalive are two independently processes, therefore, when peer-to-peer B sent its routing table information to peer-to-peer A, the uncertain peer-to-peer C one of peer-to-peer B fixed on the P2PSIP network.As shown in Figure 2, peer-to-peer A sends connection message, the resource identification of connection message is set to the peer identification of peer-to-peer C, peer-to-peer C is not on the P2PSIP network, suppose that peer-to-peer D is responsible for taking over the resource on the peer-to-peer C, then the connection message route sends on the peer-to-peer D shown in step 12, be that peer-to-peer D receives this connection message, peer-to-peer D processes the address information mutual (shown in step 14) that this connection message is finished peer-to-peer A and peer-to-peer D, therefore, caused wrong peer address information interaction and unnecessary ICE is mutual afterwards.
So the connection message of above-mentioned structure is only set up connection between the peer-to-peer by resource identification, not necessarily need the peer-to-peer that connects so that receive the peer-to-peer of this connection message, the network service that leads to errors and follow-up unnecessary ICE are mutual.
Summary of the invention
Embodiments of the invention provide a kind of peer-to-peer method of attachment and peer-to-peer of peer-to-peer network of dialogue-based initiation protocol, realize the exact connect ion between peer-to-peer in the peer-to-peer network, avoid wrong network service and unnecessary ICE mutual.
On the one hand, embodiments of the invention provide a kind of peer-to-peer method of attachment of peer-to-peer network of dialogue-based initiation protocol, comprising:
The first peer-to-peer receives the connection message that carries the purpose sign that the second peer-to-peer sends, and the purpose sign of described connection message is used to indicate the type that described connection message allows the peer-to-peer of connection;
Described the first peer-to-peer is after determining that the indicated type of its type and the purpose sign in the described connection message is identical, and foundation is connected with the second peer-to-peer.
On the other hand, embodiments of the invention provide a kind of peer-to-peer, comprising:
Receiving element, for receiving connection message, described connection message carries the purpose sign, and described purpose sign is used to indicate the type that described connection message allows the peer-to-peer of connection;
Connect processing unit, after described connection processing unit determines that the type of type that described connection message allows the peer-to-peer that connects and this peer-to-peer is identical, set up being connected between the peer-to-peer with the described connection message of transmission.
Can be found out by the technical scheme that the embodiment of the invention described above provides, allow the type of the peer-to-peer of connection by the purpose sign indication of connection message, so that the peer-to-peer that receives connection message determines according to the purpose sign whether self type and purpose in the connection message identify indicated type identical, if identical, then connect processing according to connection message, if not identical then finish, thus avoid setting up wrong network communication and the unnecessary ICE that brings thus mutual.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is connection message handling process schematic diagram one in the prior art (having set up correct peer-to-peer connects);
Fig. 2 is connection message handling process schematic diagram two in the prior art (having set up wrong peer-to-peer connects);
Fig. 3 is the peer-to-peer method of attachment FB(flow block) of the peer-to-peer network of the dialogue-based initiation protocol of the embodiment of the invention;
Fig. 4 is embodiment of the invention connection message handling process signal one;
Fig. 5 is embodiment of the invention connection message handling process signal two;
Fig. 6 is the formation block diagram of embodiment of the invention peer-to-peer.
Embodiment
The embodiment of the invention proposes a kind of peer-to-peer method of attachment of peer-to-peer network of dialogue-based initiation protocol, comprising:
The first peer-to-peer receives the connection message that carries the purpose sign that the second peer-to-peer sends, and the purpose sign of described connection message is used to indicate the type that described connection message allows the first peer-to-peer of connection;
Described the first peer-to-peer is after determining that the indicated type of its type and the purpose sign in the described connection message is identical, and foundation is connected with the second peer-to-peer.
Further, the sign of the purpose in the described connection message is indicated the type of the peer-to-peer that allows connection by flag bit.
And the type of described peer-to-peer comprises self peer-to-peer and resource peer-to-peer.
Particularly, described connection message also carries the resource identification that equates with the peer identification of the first peer-to-peer, when if purpose sign indication type is self peer-to-peer, described the first peer-to-peer, connects between peer-to-peer with after described resource identification equates in definite its peer identification; If purpose sign indication type is the resource peer-to-peer, described the first peer-to-peer connects between peer-to-peer after definite its has the resource corresponding with described resource identification.
Simultaneously, the embodiment of the invention proposes again a kind of peer-to-peer, comprising:
Receiving element, for receiving connection message, described connection message carries the purpose sign, and described purpose sign is used to indicate the type that described connection message allows the peer-to-peer of connection;
Connect processing unit, be used for determining that the type of type that described connection message allows the peer-to-peer that connects and this peer-to-peer is identical after, set up being connected between the peer-to-peer with the described connection message of transmission.
Further, the sign of the purpose in the described connection message indicates described connection message to allow the type of the peer-to-peer of connection by flag bit.
And the type of described peer-to-peer comprises self peer-to-peer and resource peer-to-peer.
Particularly, described connection processing unit also comprises judgment sub-unit and connexon unit, described connection message also carries the resource identification that equates with the peer identification of described peer-to-peer, when purpose sign indication type is self peer-to-peer, after described judgment sub-unit was judged described resource identification and the peer identification of this peer-to-peer is equated, being connected between peer-to-peer with the described connection message of transmission set up in described connexon unit; When purpose sign indication type was the resource peer-to-peer, after described judgment sub-unit judged that this peer-to-peer has the resource corresponding with described resource identification, being connected between peer-to-peer with the described connection message of transmission set up in described connexon unit.
Can know from technique scheme, allow the type of the peer-to-peer of connection by the purpose sign indication of connection message, so that the peer-to-peer that receives connection message determines according to the purpose sign whether self type and purpose in the connection message identify indicated type identical, if identical, then connect processing according to connection message, if not identical then finish, thus avoid setting up wrong network communication and the unnecessary ICE that brings thus mutual.
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described.
As shown in Figure 3-Figure 5, take peer-to-peer A, the peer-to-peer B of the peer-to-peer network of dialogue-based initiation protocol, peer-to-peer C, peer-to-peer D as example, illustrate how to set up correct connection between peer-to-peer.
Peer-to-peer B notifies its routing table information to peer-to-peer A by the Update message cycle, peer-to-peer A transmits the routing table information of coming according to peer-to-peer B, judge that peer-to-peer C should join in the routing table of peer-to-peer A as new neighbor, peer-to-peer A structure connection message also sends connection message.
The resource identification of the connection message that peer-to-peer A sends is set to the peer identification of peer-to-peer C, and described connection message also carries the purpose sign that is used to indicate the peer type that allows connection.The peer type of purpose sign indication comprises self peer-to-peer and resource peer-to-peer: self peer-to-peer refers to the peer-to-peer that the peer identification of peer-to-peer self equates with the resource identification of connection message; The resource peer-to-peer refers to that peer-to-peer has the peer-to-peer with the corresponding resource of resource identification of connection message.
Embodiment one
Referring to shown in Figure 3, the type that the purpose sign indication that the below carries take connection message allows the peer-to-peer that connects as self peer-to-peer as example, the method for attachment between the peer-to-peer of peer-to-peer network of dialogue-based initiation protocol is described, comprising:
1, the first peer-to-peer receives the step of the connection message of the second peer-to-peer transmission:
Referring among Fig. 4 shown in the step 31, peer-to-peer B notifies its routing table information to peer-to-peer A by the Update message cycle, peer-to-peer A transmits the routing table information structure connection message that comes and sends connection message according to peer-to-peer B, and the resource identification of the connection message that peer-to-peer A sends is set to the peer identification of peer-to-peer C.
Referring to Fig. 4, peer-to-peer C is on network, and shown in step 32 among Fig. 4, connection message sends to peer-to-peer C according to the resource identification route that it carries, i.e. the connection message of peer-to-peer A transmission is by waiting body C to receive;
Referring to Fig. 5, peer-to-peer C is not on network the time, if peer-to-peer D is responsible for taking over the resource on the peer-to-peer C, shown in step 32 among Fig. 5, connection message sends to peer-to-peer D according to the resource identification route that it carries, i.e. the connection message of peer-to-peer A transmission is received by peer-to-peer D.
2, the first peer-to-peer is determined whether identical step of the indicated type of its type and purpose sign:
Referring to Fig. 4, peer-to-peer C has received connection message, purpose sign in the connection message indicates the type of the peer-to-peer that connects processing to be self peer-to-peer by flag bit, the resource identification that peer-to-peer C further confirms connection message is with after the peer identification of peer-to-peer C equates, the type of expression peer-to-peer C is identical with the type that the purpose sign in the connection message is indicated, also be that connection message has been connected to correct peer-to-peer C, then enter the step that connects processing;
When peer-to-peer C is not on network, peer-to-peer D has received connection message, purpose sign in the connection message indicates the type of the peer-to-peer that connects processing to be self peer-to-peer by flag bit, after peer-to-peer D confirms that further the peer identification of the resource identification of connection message and peer-to-peer D is unequal, the type of expression peer-to-peer D is not identical with the type that the purpose sign in the connection message is indicated, also be that peer-to-peer that connection message expectation connects does not exist or deviated from network, peer-to-peer D points out faults in replying and the end process, and the follow-up negotiations processes such as ICE just do not need to start.
The purpose that increases in connection message sign can confirm first before peer-to-peer connects processing that its type is whether identical with the indicated peer type of purpose sign in the connection message, to avoid wrong network connection and unnecessary ICE mutual, realize the exact connect ion between peer-to-peer in the network.
3, the step that is connected with the second peer-to-peer of the first peer-to-peer:
Referring to Fig. 4, the resource identification that peer-to-peer C confirms connection message is with after the peer identification of peer-to-peer C equates, the expression connection message has been connected to correct peer-to-peer C, and peer-to-peer C makes correctly replying and finishes address information mutual (shown in step 33 among Fig. 4).
Can enter follow-up ICE negotiations process after the address above mentioned information interaction is finished, and then peer-to-peer A and peer-to-peer C connect.
Can find out from above-described embodiment, allow the type of the peer-to-peer of connection by the purpose sign indication of connection message, so that the peer-to-peer that receives connection message determines according to the purpose sign whether self type and purpose in the connection message identify indicated type identical, if identical, then connect processing according to connection message, if not identical then finish, thus avoid setting up wrong network communication and the unnecessary ICE that brings thus mutual.
Embodiment two
Referring to shown in Figure 3, still take peer-to-peer A, the peer-to-peer B of the peer-to-peer network of dialogue-based initiation protocol, peer-to-peer C, peer-to-peer D as example, the type that the purpose sign indication that the below carries take connection message allows the peer-to-peer that connects as the resource peer-to-peer as example, method of attachment between the peer-to-peer of peer-to-peer network of dialogue-based initiation protocol is described, comprises:
1, the first peer-to-peer receives the step of the connection message of the second peer-to-peer transmission:
Referring among Fig. 4 shown in the step 31, peer-to-peer B notifies its routing table information to peer-to-peer A by the Update message cycle, peer-to-peer A transmits the routing table information structure connection message that comes and sends connection message according to peer-to-peer B, and the resource identification of the connection message that peer-to-peer A sends is set to the peer identification of peer-to-peer C.
Referring to Fig. 4, peer-to-peer C is on network, and shown in step 32 among Fig. 4, connection message sends to peer-to-peer C according to the resource identification route that it carries, i.e. the connection message of peer-to-peer A transmission is by waiting body C to receive;
Referring to Fig. 5, peer-to-peer C is not on network the time, if peer-to-peer D is responsible for taking over the resource on the peer-to-peer C, shown in step 32 among Fig. 5, connection message sends to peer-to-peer D according to the resource identification route that it carries, i.e. the connection message of peer-to-peer A transmission is received by peer-to-peer D.
2, the first peer-to-peer is determined whether identical step of the indicated type of its type and purpose sign:
Referring to Fig. 4, peer-to-peer C receives connection message, it is the resource peer-to-peer that purpose sign in the connection message is indicated the type of the peer-to-peer that connects processing by flag bit, peer-to-peer C confirms that further it has the resource corresponding with the resource identification of connection message, the type of expression peer-to-peer C is identical with the type that the purpose sign in the connection message is indicated, and then enters the step that connects processing;
Referring to Fig. 5, peer-to-peer C is not on network the time, peer-to-peer D receives connection message, it is the resource peer-to-peer that purpose sign in the connection message is indicated the type of the peer-to-peer that connects processing by flag bit, after peer-to-peer D confirms that further it has the resource corresponding with the resource identification of connection message, the type of expression peer-to-peer D is identical with the type that the purpose sign in the connection message is indicated, and then enters the step that connects processing.
3, the step that is connected with the second peer-to-peer of the first peer-to-peer:
Referring to Fig. 4, peer-to-peer C confirms that the resource identification of connection message is corresponding with the peer identification of peer-to-peer C, the expression connection message has been connected to correct peer-to-peer C, and peer-to-peer C makes correctly replying and finishes address information mutual (shown in step 33 among Fig. 4);
Referring to Fig. 5, peer-to-peer C is not on network the time, peer-to-peer D confirms that it has the resource corresponding with the resource identification of connection message, and the expression connection message has been connected to correct peer-to-peer, and peer-to-peer D makes correctly replying and finishes address information mutual (shown in step 34 among Fig. 5).
Can enter follow-up ICE negotiations process after above-mentioned peer-to-peer C or peer-to-peer D and peer-to-peer A address information are finished alternately, and then be connected by peer-to-peer C and peer-to-peer A, perhaps be connected by peer-to-peer D and peer-to-peer A.
In the present embodiment, peer-to-peer C or peer-to-peer D (when peer-to-peer C is not on network) store the resource corresponding with the resource identification of connection message, so, when the purpose of connection message is designated the connection resource peer-to-peer, it is identical with the type of purpose sign indication that peer-to-peer C or peer-to-peer D can judge self type, connects processing.In fact this be equivalent to connection message, and route sends to peer-to-peer C or peer-to-peer D (when peer-to-peer C is not on network) by the resource identification that carries.
By the above embodiments one and embodiment two as can be known, the second peer-to-peer sends the connection message that carries resource identification and purpose sign, according to this resource identification, connection message is routed transmission, the type that can receive the first peer-to-peer of this connection message has two kinds, a kind of is that the type of the first peer-to-peer is self peer-to-peer, and another kind is that the type of the first peer-to-peer is the resource peer-to-peer.Connection message further indicates again the particular type of the peer-to-peer that allows connection by the purpose sign, like this, the first peer-to-peer with the resource identification of connection message with itself peer identification or the resource of its storage whether carry out corresponding judgement identical to confirm the indicated type of himself type and purpose sign, confirm namely whether connection message attaches to the correct peer-to-peer that allow to connect, wrong peer-to-peer connects and the unnecessary ICE that brings thus is mutual thereby avoid setting up.
Embodiment three
As shown in Figure 6, the present embodiment proposes a kind of peer-to-peer, comprising:
Receiving element 41 is used for receiving connection message, and described connection message carries the purpose sign, and described purpose sign is used to indicate the peer type that described connection message permission connects;
Connect processing unit 42, be used for determining that described connection message allows the type of the peer type that connects and this peer-to-peer identical after, set up being connected between the peer-to-peer with the described connection message of transmission.
Further, the sign of the purpose in the described connection message indicates described connection message to allow the type of the peer-to-peer of connection by flag bit.The type of described peer-to-peer comprises self peer-to-peer and resource peer-to-peer.
Particularly, connect processing unit 42 and also comprise judgment sub-unit 421 and connexon unit 422, described connection message also carries resource identification:
When the type that allows to connect when purpose sign indication be self peer-to-peer, judgment sub-unit 421 described resource identifications of judgement and after the peer identification of described peer-to-peer equated, the connection between peer-to-peer was set up in connexon unit 422;
When the indication of purpose sign allowed the type of connection to be the resource peer-to-peer, after judgment sub-unit 421 judged that described peer-to-peer has the resource corresponding with described resource identification, the connection between peer-to-peer was set up in connexon unit 422.
Below, still take peer-to-peer A, the peer-to-peer B of the peer-to-peer network of dialogue-based initiation protocol, peer-to-peer C, peer-to-peer D as example, describe the detailed process that peer-to-peer connects in the peer-to-peer network in detail.
Referring to Fig. 4, the resource identification of the connection message that peer-to-peer A sends is set to the peer identification of peer-to-peer C, and the purpose sign of connection message indicates the type of the peer-to-peer that allows connection to be self peer-to-peer by flag bit.Peer-to-peer C is on network, shown in step 32 among Fig. 4, the receiving element 41 of peer-to-peer C receives connection message, the resource identification that judgment sub-unit 421 is determined connection message equates with the peer identification of peer-to-peer C, the expression connection message has been connected to correct peer-to-peer C, and connexon unit 422 carries out connecting between peer-to-peer the address information mutual (shown in step 33 among Fig. 4) of finishing dealing with.Afterwards, start ICE between peer-to-peer and consult, set up directly connection between peer-to-peer.
Referring to Fig. 5, the resource identification of the connection message that peer-to-peer A sends is set to the peer identification of peer-to-peer C, and the purpose sign of connection message indicates the type of the peer-to-peer that allows connection to be self peer-to-peer by flag bit.Peer-to-peer C is not on network, shown in step 32 among Fig. 5, the receiving element 41 of peer-to-peer D receives the connection message that peer-to-peer A sends, it is unequal that judgment sub-unit 421 is determined the peer identification of the resource identification of connection message and peer-to-peer D, the peer-to-peer that expression connection message expectation connects does not exist or deviated from network, peer-to-peer D points out faults in replying, and the follow-up negotiations processes such as ICE just do not need to start.
As from the foregoing, allow the type of the peer-to-peer of connection by the purpose sign indication of connection message, so that whether the peer-to-peer that receives connection message identifies identical according to purpose sign inspect-type with purpose in the connection message, if identical, then connect processing according to connection message, if not identical then finish, thus avoid setting up wrong network communication and the unnecessary ICE that brings thus mutual.
Referring to Fig. 4, the resource identification of the connection message that peer-to-peer A sends is set to the peer identification of peer-to-peer C again, and at this moment, it is the resource peer-to-peer that the purpose of connection message sign is indicated the type of the peer-to-peer that allows connection by flag bit.Peer-to-peer C is on network, shown in step 32 among Fig. 4, the receiving element 41 of peer-to-peer C receives the connection message that peer-to-peer A sends, judgment sub-unit 421 judges that peer-to-peer C has the resource corresponding with the resource identification of connection message, and connexon unit 422 carries out connecting between peer-to-peer the address information mutual (shown in step 33 among Fig. 4) of finishing dealing with.Afterwards, start the ICE negotiations process between peer-to-peer, set up directly connection between peer-to-peer.
Referring to Fig. 4, the resource identification of the connection message that peer-to-peer A sends is set to the peer identification of peer-to-peer C again, and at this moment, it is the resource peer-to-peer that the purpose of connection message sign is indicated the type of the peer-to-peer that allows connection by flag bit.Peer-to-peer C is not on network, and shown in step 32 among Fig. 5, the receiving element 41 of peer-to-peer D receives the connection message that peer-to-peer A sends.Judgment sub-unit 421 judges that peer-to-peer D has the resource corresponding with the resource identification of connection message, the expression connection message has been connected to correct peer-to-peer D, and connexon unit 422 carries out connecting between peer-to-peer the address information mutual (shown in step 34 among Fig. 5) of finishing dealing with.Afterwards, start the ICE negotiations process between peer-to-peer, set up directly connection between peer-to-peer.
As from the foregoing, peer-to-peer C or peer-to-peer D (when peer-to-peer C is not on network) store the resource corresponding with the resource identification of connection message, so, when the purpose of connection message is designated the connection resource peer-to-peer, it is identical with the type of purpose sign indication that peer-to-peer C or peer-to-peer D can judge self type, connects processing.In fact this be equivalent to connection message, and route sends to peer-to-peer C or peer-to-peer D (when peer-to-peer C is not on network) by the resource identification that carries.
The above; only for the better embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (8)

1. the peer-to-peer method of attachment of the peer-to-peer network of a dialogue-based initiation protocol is characterized in that, comprising:
The first peer-to-peer receives the connection message that carries the purpose sign that the second peer-to-peer sends, the purpose sign of described connection message is used to indicate the type that described connection message allows the peer-to-peer of connection, the type of described peer-to-peer comprises self peer-to-peer and resource peer-to-peer, described self peer-to-peer refers to the peer-to-peer that the peer identification of peer-to-peer self equates with the resource identification of connection message, and described resource peer-to-peer refers to that peer-to-peer has the peer-to-peer with the corresponding resource of resource identification of connection message;
Described the first peer-to-peer is after determining that the indicated type of its type and the purpose sign in the described connection message is identical, and foundation is connected with the second peer-to-peer.
2. the peer-to-peer method of attachment of the peer-to-peer network of dialogue-based initiation protocol according to claim 1 is characterized in that, the purpose sign in the described connection message is indicated the type of the peer-to-peer that allows connection by flag bit.
3. the peer-to-peer method of attachment of the peer-to-peer network of dialogue-based initiation protocol according to claim 1, it is characterized in that, described connection message also carries resource identification, when purpose sign indication type is self peer-to-peer, described the first peer-to-peer, connects with the second peer-to-peer with after described resource identification equates in definite its peer identification.
4. the peer-to-peer method of attachment of the peer-to-peer network of dialogue-based initiation protocol according to claim 1, it is characterized in that, described connection message also carries resource identification, when purpose sign indication type is the resource peer-to-peer, described the first peer-to-peer connects with the second peer-to-peer after definite its has the resource corresponding with described resource identification.
5. a peer-to-peer is characterized in that, comprising:
Receiving element, be used for receiving connection message, described connection message carries the purpose sign, described purpose sign is used to indicate the type that described connection message allows the peer-to-peer of connection, the type of described peer-to-peer comprises self peer-to-peer and resource peer-to-peer, described self peer-to-peer refers to the peer-to-peer that the peer identification of peer-to-peer self equates with the resource identification of connection message, and described resource peer-to-peer refers to that peer-to-peer has the peer-to-peer with the corresponding resource of resource identification of connection message;
Connect processing unit, be used for determining that the type of type that described connection message allows the peer-to-peer that connects and this peer-to-peer is identical after, set up being connected between the peer-to-peer with the described connection message of transmission.
6. peer-to-peer according to claim 5 is characterized in that, the purpose sign in the described connection message is indicated the type of the peer-to-peer that allows connection by flag bit.
7. peer-to-peer according to claim 5, it is characterized in that, described connection processing unit also comprises judgment sub-unit and connexon unit, described connection message also carries resource identification, when purpose sign indication type is self peer-to-peer, after described judgment sub-unit was judged described resource identification and the peer identification of this peer-to-peer is equated, being connected between peer-to-peer with the described connection message of transmission set up in described connexon unit.
8. peer-to-peer according to claim 5, it is characterized in that, described connection processing unit also comprises judgment sub-unit and connexon unit, described connection message also carries resource identification, when purpose sign indication type is the resource peer-to-peer, after described judgment sub-unit judged that this peer-to-peer has the resource corresponding with described resource identification, being connected between peer-to-peer with the described connection message of transmission set up in described connexon unit.
CN200810119706.4A 2008-09-05 2008-09-05 Session initiation protocol-based peer-to-peer connection method of peer-to-peer network and peer-to-peer body Expired - Fee Related CN101667996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810119706.4A CN101667996B (en) 2008-09-05 2008-09-05 Session initiation protocol-based peer-to-peer connection method of peer-to-peer network and peer-to-peer body

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810119706.4A CN101667996B (en) 2008-09-05 2008-09-05 Session initiation protocol-based peer-to-peer connection method of peer-to-peer network and peer-to-peer body

Publications (2)

Publication Number Publication Date
CN101667996A CN101667996A (en) 2010-03-10
CN101667996B true CN101667996B (en) 2013-02-13

Family

ID=41804440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810119706.4A Expired - Fee Related CN101667996B (en) 2008-09-05 2008-09-05 Session initiation protocol-based peer-to-peer connection method of peer-to-peer network and peer-to-peer body

Country Status (1)

Country Link
CN (1) CN101667996B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10231283B2 (en) 2011-03-14 2019-03-12 Microsoft Technology Licensing, Llc Roaming groups in a peer-to-peer network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801822A (en) * 2006-01-23 2006-07-12 北京交通大学 P2P network SIP realizing method based on host machine mark protocol

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801822A (en) * 2006-01-23 2006-07-12 北京交通大学 P2P network SIP realizing method based on host machine mark protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XingFeng.Jiang etc."Service Extensible P2P Peer Protocol draft-jiang-p2psip-sep-01".《P2PSIP Internet-Draft》.2008,

Also Published As

Publication number Publication date
CN101667996A (en) 2010-03-10

Similar Documents

Publication Publication Date Title
US10218600B2 (en) Path computation element hierarchical software defined network control
US9042375B2 (en) Client routing in a peer-to-peer overlay network
CN103688497A (en) Method and device for establishing cross-domain paths
CN105978804B (en) Method for routing and route device
WO2015010518A1 (en) Service transmission path determination method, device and system
CN104980528A (en) Method, system and apparatus for realizing communication between nodes
US20160241465A1 (en) Communication control device, communication control system, communication control method, and communication control program
CN104202420A (en) Method and device for supporting expansion of internet-of-things middleware cluster
US7860027B2 (en) Extending an IP everywhere network over a plurality of flooding domains
CN101771604A (en) Routing detection method, system and intermediate routing device
US8892751B2 (en) Method, system and network entity for negotiating the session description protocol version and obtaining the session description protocol version information
EP2621133B1 (en) Method and system for implementing pw control bit capability negotiation
US20210281507A1 (en) Parameter notification and obtaining methods and devices, and storage medium
EP2161885B1 (en) Communication system
CN103685398A (en) Communication connection establishment method and communication system
CN112995027B (en) Route publishing method and VTEP node
CN101667996B (en) Session initiation protocol-based peer-to-peer connection method of peer-to-peer network and peer-to-peer body
US8068506B2 (en) Signaling apparatus and signaling method
CN102067516A (en) Method and device for requesting multicasting, processing multicasting requests and assisting in the aforementioned process
CN102857536A (en) Method and system capable of achieving data back-up and migration in peer-to-peer (P2P) network
JP6378121B2 (en) Gateway apparatus and communication method
EP2573987A1 (en) Method for label distribution in multi-topology
CN101772054A (en) Method and device for establishing communication connection between protocol server boards and line terminal board
GB2537657A (en) Subsea control system communication network
WO2010145153A1 (en) Method, terminal and server for routing strategy acquisition

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
TR01 Transfer of patent right

Effective date of registration: 20211208

Address after: 215010 room 704, building 5, No. 556, Changjiang Road, high tech Zone, Suzhou, Jiangsu

Patentee after: SUZHOU YUDESHUI ELECTRICAL TECHNOLOGY Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220824

Address after: Room 353, R&D Building, Xingqi No. 1 Park, No. 3, Haitai Development 6th Road, Huayuan Industrial Zone (outside the ring), Binhai New Area, Tianjin 300000

Patentee after: Tianjin Pengfeng Digital Technology Co.,Ltd.

Address before: 215010 room 704, building 5, No. 556, Changjiang Road, high tech Zone, Suzhou, Jiangsu

Patentee before: SUZHOU YUDESHUI ELECTRICAL TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130213

CF01 Termination of patent right due to non-payment of annual fee