CN102984186A - A method and an apparatus for establishing a session - Google Patents

A method and an apparatus for establishing a session Download PDF

Info

Publication number
CN102984186A
CN102984186A CN2011102605931A CN201110260593A CN102984186A CN 102984186 A CN102984186 A CN 102984186A CN 2011102605931 A CN2011102605931 A CN 2011102605931A CN 201110260593 A CN201110260593 A CN 201110260593A CN 102984186 A CN102984186 A CN 102984186A
Authority
CN
China
Prior art keywords
terminal
calling terminal
via node
request message
conversation
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.)
Pending
Application number
CN2011102605931A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2011102605931A priority Critical patent/CN102984186A/en
Publication of CN102984186A publication Critical patent/CN102984186A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present invention discloses a method and an apparatus for establishing a session, and the method comprises: receiving a session request message from a calling terminal, wherein the session request message is used to request the establishment of a P2P session media connection between the calling terminal and a called terminal; according to the session request message, obtaining relay resource of a relay node; establishing the P2P session media connections among the calling terminal, the relay node and the called terminal by using the relay resource. According to the method and the device of the present invention, the P2P session between the calling terminal and the called terminal can be achieved, preventing cross-domain call, ensuring that the terminal delay and improving the user experience.

Description

Session establishing method and device
Technical field
The present invention relates to the communications field, in particular to a kind of session establishing method and device.
Background technology
At present, point-to-point (Peer-to-Peer is referred to as P2P) aspect such as shares in exchange files, Distributed Calculation, service and fully demonstrated its powerful technical advantage, still, it is mainly used among the Internet, and not yet large-scale application in conventional telecommunication network.
In the correlation technique, how a lot of mechanisms all are incorporated into the P2P technology in the communication network being devoted to research, the application of session initiation protocol (The Session Initiation Protocol is referred to as SIP) in the P2P network can either be guaranteed, all kinds of typical services can be moved again.
Fig. 1 is the schematic diagram according to the P2P core net framework of correlation technique, as shown in Figure 1, comprises the access node 105 of the peer node 102 in P2P overlay network 101, the P2P overlay network, non-P2P terminal equipment 103, P2P terminal equipment 104, terminal equipment.The below is described in detail its structure.
(1), a logical network being formed by all kinds of peer-to-peers (being also referred to as node among the present invention) of undertaking different role of P2P overlay network 101.
(2), peer node 102 is the elements in the P2P overlay network, being to provide storage and to transmit the node of service to other node in the same P2P overlay network.
(3), non-P2P terminal equipment 103 be linked into the P2P overlay network do not support any P2P agreement, only support the terminal equipment of Session Initiation Protocol.
(4), P2P terminal equipment 104 is the both supports P2P agreements that are linked in the P2P overlay network, also supports the terminal equipment of IP agreement.The ability of considering general terminal equipment, particularly hand-held terminal device a little less than, so the actual deployment in a lot of situation, P2P terminal equipment 104 also is linked into the P2P overlay network as just the P2P client, does not bear the servers such as storage, transmission;
(5), the access node 105 of terminal equipment, consider the needs of telecommunications operation, comprise that non-P2P terminal equipment 103 all must be linked into by access node nearby in the P2P overlay network with P2P terminal equipment 104, when this access node during as the access node of non-P2P terminal equipment 103, simultaneously as agent node, be responsible for the conversion of Session Initiation Protocol that non-P2P terminal equipment 103 is adopted and P2P overlay network inside route agreement that SIP adopts, and when this node during as the access node of P2P terminal equipment 104, only need message is carried out relaying.
In the P2P overlay network, according to distributed hash algorithm (DHT), data are dynamically backed up in realtime mutually between the node between the peer node 102.
Fig. 2 is the schematic diagram according to the P2P session establishing method of correlation technique, as shown in Figure 2, calling terminal selects an access node to be linked into the P2P network, send conversation request message to this access node, access node finds the responsible node of calling terminal according to the DHT algorithm, found again the responsible node of terminal called by the responsible node of calling terminal, responsible node by terminal called finally finds terminal called by the access node of terminal called again, thereby sets up the P2P session between calling terminal and the terminal called.
Based on the schematic diagram of Fig. 2, also provide a kind of P2P session establishing method in the correlation technique.Fig. 3 is the interaction diagrams according to the P2P session establishing method of correlation technique, as shown in Figure 3, comprises that following step S302 is to step S316.
Step S302, calling terminal sends conversation request message to P2P network insertion node, carries called identify label in the message, and the calling terminal identify label, and the media IP address information of calling terminal.
Step S304, access node find responsible node according to the calling terminal identify label by the DHT algorithm, adopt the resource location and find agreement (RELOAD), set up with responsible node between RELOAD be connected.Need to prove that if access node is found that access node and RELOAD between the responsible node are connected and existed in this step, then this step can be omitted.
Step S306, the conversation request message that the access node forwarding is received is to responsible node.
Step S308, responsible node trigger the Service control that the user contracts, and obtain afterwards the called subscriber's identify label in the conversation request message, and according to called subscriber's identify label, find terminal called by the DHT algorithm, and set up RELOAD with terminal called and be connected.
Step S310, responsible node sends conversation request message to terminal called, the IP bearer connection between foundation and the calling terminal.
Step S312 is to step S316, and 200OK is returned in the terminal called request of accepting session, and carries terminal called media IP address information in the message.
So far, the media links between calling terminal and the terminal called is set up and is finished.
But, according to above-mentioned steps S302 to step S316, if the terminal called of calling out is cross-domain call, such as transoceanic IP phone, then responsible node need to be notified the consuming time very long of IP address that terminal called upgrades calling terminal, causes like this terminal time delay to increase, and has reduced user's experience.
Summary of the invention
Responsible node need to be notified the very long problem consuming time of the IP address that terminal called upgrades calling terminal and propose the present invention when terminal called is cross-domain call in the correlation technique, for this reason, main purpose of the present invention is to provide a kind of session establishing method and device, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of session establishing method.
Session establishing method comprises according to the present invention: receive the conversation request message from calling terminal, wherein, conversation request message is used for request and sets up calling terminal and be connected with P2P conversation media between the terminal called; According to conversation request message, obtain the relay resource of via node; Use relay resource, set up calling terminal, via node and be connected with P2P conversation media between the terminal called.
Preferably, according to conversation request message, the relay resource of obtaining via node comprises: according to the positional information of the calling terminal in the conversation request message and the positional information of terminal called, judge whether calling terminal is in identical physical region with terminal called; If the determination result is NO, then obtain the relay resource of via node.
Preferably, according to the positional information of the calling terminal in the conversation request message and the positional information of terminal called, before judging calling terminal and whether terminal called being in identical physical region, said method also comprises: according to conversation request message, whether the signing service of judging calling terminal signatory continuity business; If judged result is yes, then carries out and judge whether calling terminal and terminal called are in the operation of identical physical region.
Preferably, the positional information of terminal called comprise following one of at least: IP address information, SIP URL information, physical location area information.
Preferably, use relay resource, set up calling terminal, via node and is connected with P2P conversation media between the terminal called and comprises: to the entry address of calling terminal transmission via node; Use the entry address, set up calling terminal and be connected with P2P conversation media between the via node; Send the exit address of via node to terminal called; Use exit address, set up via node and be connected with P2P conversation media between the terminal called.
Preferably, resource in use continues, after setting up calling terminal, via node and P2P conversation media between the terminal called being connected, said method also comprises: receive the session transfer request message from calling terminal and/or terminal called, wherein, the session transfer request message IP address that is used to indicate this terminal changes; Rebuliding via node is connected with P2P conversation media between calling terminal and/or the terminal called.
To achieve these goals, according to another aspect of the present invention, provide a kind of session establishment device.
Session establishment device according to the present invention can be applied to responsible node, it comprises: the first receiver module, be used for to receive the conversation request message from calling terminal, wherein, conversation request message is used for request and sets up calling terminal and be connected with P2P conversation media between the terminal called; Acquisition module is used for according to conversation request message, obtains the relay resource of via node; First sets up module, be used for to use relay resource, sets up calling terminal, via node and is connected with P2P conversation media between the terminal called.
Preferably, acquisition module comprises: first judges submodule, is used for judging according to the positional information of the calling terminal of conversation request message and the positional information of terminal called whether calling terminal is in identical physical region with terminal called; Obtain submodule, be used in the situation that the determination result is NO, obtaining the relay resource of via node.
Preferably, first sets up module comprises: first sends submodule, is used for sending to calling terminal the entry address of via node; First sets up submodule, be used for to use the entry address, sets up calling terminal and is connected with P2P conversation media between the via node; Second sends submodule, is used for sending to terminal called the exit address of via node; Second sets up submodule, be used for to use exit address, sets up via node and is connected with P2P conversation media between the terminal called.
Preferably, said apparatus also comprises: the second receiver module, be used for receiving the session transfer request message from calling terminal and/or terminal called, and wherein, the IP address that session transfer request message is used to indicate this terminal changes; Second sets up module, is used for rebuliding via node and is connected with P2P conversation media between calling terminal and/or the terminal called.
The present invention can realize the P2P session between calling terminal and the terminal called indirectly by increasing via node, avoids cross-domain call, guarantees the terminal time delay, improves the user and experiences.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram according to the P2P core net framework of correlation technique;
Fig. 2 is the schematic diagram according to the P2P session establishing method of correlation technique;
Fig. 3 is the interaction diagrams according to the P2P session establishing method of correlation technique;
Fig. 4 is the interaction diagrams according to the session establishing method of the embodiment of the invention;
Fig. 5 is the interaction diagrams according to the session establishing method of the embodiment of the invention one;
Fig. 6 is the interaction diagrams according to the session establishing method of the embodiment of the invention two;
Fig. 7 is the interaction diagrams according to the session establishing method of the embodiment of the invention three;
Fig. 8 is the interaction diagrams according to the session establishing method of the embodiment of the invention four;
Fig. 9 is the structured flowchart according to the session establishment device of the embodiment of the invention;
Figure 10 is the structured flowchart one according to the session establishment device of the embodiment of the invention;
Figure 11 is the structured flowchart two according to the session establishment device of the embodiment of the invention;
Figure 12 is the structured flowchart three according to the session establishment device of the embodiment of the invention.
Embodiment
Need to prove that in the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
The invention provides a kind of session establishing method, Fig. 4 is the interaction diagrams according to the session establishing method of the embodiment of the invention, as shown in Figure 4, comprises that following step S402 is to step S406.
Step S402 receives the conversation request message from calling terminal, and wherein, conversation request message is used for request and sets up calling terminal and be connected with P2P conversation media between the terminal called.
Step S404 according to conversation request message, obtains the relay resource of via node.
Step S406 uses relay resource, sets up calling terminal, via node and is connected with P2P conversation media between the terminal called.
In the correlation technique, if the terminal called of calling out is cross-domain call, then responsible node need to be notified the consuming time very long of IP address that terminal called upgrades calling terminal, causes like this terminal time delay to increase, and has reduced user's experience.In the embodiment of the invention, by increasing via node, can indirectly realize the P2P session between calling terminal and the terminal called, avoid cross-domain call, guarantee the terminal time delay, improve the user and experience.
Preferably, according to conversation request message, the relay resource of obtaining via node comprises: according to the positional information of the calling terminal in the conversation request message and the positional information of terminal called, judge whether calling terminal is in identical physical region with terminal called; If the determination result is NO, then obtain the relay resource of via node.In this preferred embodiment, determine whether cross-domain call according to the positional information of calling terminal and the positional information of terminal called, its judgment mode is simple, reliable, thereby is conducive to avoid cross-domain call, guarantees the terminal time delay, improves the user and experiences.
Preferably, according to the positional information of the calling terminal in the conversation request message and the positional information of terminal called, before judging calling terminal and whether terminal called being in identical physical region, said method also comprises: according to conversation request message, judge whether the signing service of calling terminal belongs to continuity business; If judged result is yes, then carries out and judge whether calling terminal and terminal called are in the operation of identical physical region.Consider that continuity business is relatively more responsive to the terminal time delay, therefore, this preferred embodiment arranges continuity business mandatory adoption via node on the one hand, thereby guarantee the terminal time delay, improving the user experiences, the professional optional employing via node of noncontinuity is set on the other hand, thus the relay resource of saving via node.
Preferably, the positional information of terminal called comprise following one of at least: IP address information, SIP URL information, physical location area information.
Preferably, use relay resource, set up calling terminal, via node and is connected with P2P conversation media between the terminal called and comprises: to the entry address of calling terminal transmission via node; Use the entry address, set up calling terminal and be connected with P2P conversation media between the via node; Send the exit address of via node to terminal called; Use exit address, set up via node and be connected with P2P conversation media between the terminal called.In this preferred embodiment, send the entry address of via node and send the exit address of via node to terminal called to calling terminal, thereby can guarantee calling terminal and terminal called perception less than the existence of via node, and then can avoid increasing via node to the impact of calling terminal and terminal called.
Preferably, resource in use continues, after setting up calling terminal, via node and P2P conversation media between the terminal called being connected, said method also comprises: receive the session transfer request message from calling terminal and/or terminal called, wherein, the session transfer request message IP address that is used to indicate this terminal changes; Rebuliding via node is connected with P2P conversation media between calling terminal and/or the terminal called.Consider that calling terminal may move in the cross-over connection networking, thereby cause the IP address to change.In this preferred embodiment, directly distribute new entry address at via node, so that calling terminal uses the entry address of this distribution to carry out the P2P session, the method is easy, reliable, and is conducive to reduce the terminal time delay, improves the user and experiences.
Be described in detail below in conjunction with the implementation procedure of example to the embodiment of the invention.
Fig. 5 is the interaction diagrams according to the session establishing method of the embodiment of the invention one, when describing scene terminal 1 calling other territories user, responsible node is according to calling subscriber and called subscriber's address information, determine cross-domain call, responsible node application via node, anchor point is called out the media flow process, as shown in Figure 5, comprises that following step S502 is to step S514.
Step S502 is to step S504, and user terminal 1 sends conversation request message by access node to responsible node, carries the information such as caller IP address, positional information, called SIP URL in the message.
Step S506, responsible node is judged user's signing service continuity business, further analyzes calling subscriber's IP address or the positional information of caller and called SIP URL, judges that whether terminal 1 and called node are in same territory, if it is skips steps S508, otherwise execution in step S508.
Step S508, responsible node select a local idle via node, and the application relay resource, and via node distributes the IP address, gateway of via node.
Step S510, responsible node is according to called SIP URL, calculate the distant-end node address space by the DHT algorithm, set up and be connected with the RELOAD of distant-end node, send conversation request message to distant-end node, if carry the media IP address exit address of via node in the cross-domain call message, otherwise be the address of terminal 1.
200Ok is returned in step S512, the distant-end node request of accepting session, and carries the media IP address information of distant-end node in the message.
Step S514, if cross-domain call, the media address of distant-end node is replaced by the entry address of via node in the 200OK message that the handle of responsible node replacement via node is received, otherwise does not replace, and 200OK is transmitted to terminal 1; If cross-domain call, then the node media communication of final terminal 1 and far-end is carried out grappling by via node.
Fig. 6 is the interaction diagrams according to the session establishing method of the embodiment of the invention two, responsible node is received user's conversation request message, can't judge that according to user's SIP URL whether the calling and called user is at same area, as, the called subscriber may roam, and the caller responsible node is judged according to called SIP URL, may be forbidden, so responsible node judges whether to need to add via node after receiving called IP address information again, as shown in Figure 6, comprises that following step S602 is to step S618.
Step S602 to step S604 with step S502 to step S504.
Step S606, responsible node find that the signatory SC of user is professional.
Step S608, responsible node are according to called SIP URL, and foundation is connected with the RELOAD of distant-end node, send conversation request message to distant-end node, and message is not carried media information.
Step S610, distant-end node is received conversation request message, accepts session, and returns 200OK, carries the IP address information of distant-end node in the message.
Whether step S612, responsible node judge calling and called at identical physical region, if not, execution in step S614, application via node resource, otherwise skips steps S614.
Step S614 is with step S508.
Step S616, responsible node returns 200OK to terminal, if cross-domain call carries via node entrance side IP address in the message, otherwise what return is the address of distant-end node.
Step S618 responsible node returns ACK message to distant-end node, if cross-domain call carries the via node exit address in the message, otherwise is the address information of terminal.
Fig. 7 is the interaction diagrams according to the session establishing method of the embodiment of the invention three, as shown in Figure 7, comprises that following step S702 is to step S714.
Step S702, responsible node receive entering to call for and asking of distant-end node, carry called SIP URL in the request message, the address information of the IP of distant-end node, called identify label.
Step S704, responsible node finds the log-on message of terminal called 1 according to called SIP URL, obtains the positional information of terminal called 1 registration, judges whether calling and called are same domain, if not execution in step S706 then, otherwise skips steps S706.
Step S706 is with step S508.
Step S708 is to step S710, and responsible node sends conversation request message according to the log-on message of terminal 1 to terminal 1, calls out if cross over, and what carry in the conversation request message is the via node entry address, otherwise is the address of distant-end node.
Step S712, terminal 1 accepts session, and returns 200OK information, carried terminal 1 media IP address information in the message.
Step S714, responsible node return 200OK to distant-end node, if cross-domain call returns the via node exit address, otherwise are the media address information of terminal 1.
Fig. 8 is the interaction diagrams according to the session establishing method of the embodiment of the invention four, as shown in Figure 8, terminal 1 is used IP1 and distant-end node communication, and the IP address changes in conversation procedure afterwards, system comprises that for keeping Business Continuity Process following step S802 is to step S814.
Step S802, mobile between terminal 1 spans into, terminal 1 generates new IP2 address in new Access Network.
Step S804, terminal 1 is registered to network by new IP2 address in new Access Network, because this flow process is existing procedure, with onrelevant of the present invention, for simplicity, does not launch to describe register flow path.
Step S806, new IP2 address and remote communication are used in terminal 1 decision-making, send transfer request message to access node, carried terminal 1 identify label and Session Hand-off sign (STI) in the message, and new media IP address ip 2 information of terminal 1.
Step S808, the access node forwarding messages is to terminal 1 responsible node; If it is invalid that the RELOAD that access node is set up before finding between access node and the responsible node is connected, migration has occured such as former responsible node, access node need to rebulid with responsible node between RELOAD be connected.
Step S810, responsible node discovery switching conversation media anchor point then notify via node to upgrade entrance media IP address at via node, distribute new entry address, and carry out related with former outlet media IP address.
Step S812, responsible node reply by Session Hand-off and return via node to terminal 1 and newly be dispensed into port address.
Follow-up terminal 1 uses new IP address ip 2 and distant-end node to communicate.
Need to prove, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the flow chart of accompanying drawing, and, although there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
The embodiment of the invention provides a kind of session establishment device, and this device can be used for realizing above-mentioned session establishing method.Fig. 9 is the structured flowchart according to the session establishment device of the embodiment of the invention, as shown in Figure 9, comprises that the first receiver module 91, acquisition module 92 and first set up module 93.The below is described in detail its structure.
The first receiver module 91 be used for to receive the conversation request message from calling terminal, and wherein, conversation request message is used for request and sets up calling terminal and be connected with point-to-point P2P conversation media between the terminal called; Acquisition module 92 is connected to the first receiver module 91, is used for according to conversation request message, obtains the relay resource of via node; First sets up module 93, is connected to acquisition module 92, be used for to use relay resource, sets up calling terminal, via node and is connected with P2P conversation media between the terminal called.
In the correlation technique, if the terminal called of calling out is cross-domain call, then responsible node need to be notified the consuming time very long of IP address that terminal called upgrades calling terminal, causes like this terminal time delay to increase, and has reduced user's experience.In the embodiment of the invention, by increasing via node, can indirectly realize the P2P session between calling terminal and the terminal called, avoid cross-domain call, guarantee the terminal time delay, improve the user and experience.
Preferably, acquisition module 92 comprises that first judges submodule 922 and obtain submodule 924, below in conjunction with Figure 10 its structure is described in detail.
First judges submodule 922, is used for judging according to the positional information of the calling terminal of conversation request message and the positional information of terminal called whether calling terminal is in identical physical region with terminal called; Obtain submodule 924, be connected to first and judge submodule 922, be used in the situation that the determination result is NO, obtaining the relay resource of via node.In this preferred embodiment, determine whether cross-domain call according to the positional information of calling terminal and the positional information of terminal called, its judgment mode is simple, reliable, thereby is conducive to avoid cross-domain call, guarantees the terminal time delay, improves the user and experiences.
Preferably, first sets up module 93 comprises that the first transmission submodule 932, first is set up submodule 934, the second transmission submodule 936 and second is set up submodule 938, below in conjunction with Figure 11 its structure is described in detail.
First sends submodule 932, is used for sending to calling terminal the entry address of via node; First sets up submodule 934, is connected to first and sends submodule 932, is used for using the entry address, sets up calling terminal and is connected with P2P conversation media between the via node; Second sends submodule 936, is used for sending to terminal called the exit address of via node; Second sets up submodule 938, is connected to second and sends submodule 936, is used for using exit address, sets up via node and is connected with P2P conversation media between the terminal called.
In this preferred embodiment, send the entry address of via node and send the exit address of via node to terminal called to calling terminal, thereby can guarantee calling terminal and terminal called perception less than the existence of via node, and then can avoid increasing via node to the impact of calling terminal and terminal called.
Preferably, said apparatus comprises that also the second receiver module 94 and second sets up module 95.Below in conjunction with Figure 12 its structure is described in detail.
The second receiver module 94 is used for receiving the session transfer request message from described calling terminal and/or described terminal called, and wherein, the IP address that described session transfer request message is used to indicate this terminal changes; Second sets up module 95, is connected to the second receiver module 94, is used for after the second receiver module 94 receives session transfer request message, rebulids described via node and is connected with P2P conversation media between described calling terminal and/or the described terminal called.
Consider that calling terminal may move in the cross-over connection networking, thereby cause the IP address to change.In this preferred embodiment, directly distribute new entry address at via node, so that calling terminal uses the entry address of this distribution to carry out the P2P session, the method is easy, reliable, and is conducive to reduce the terminal time delay, improves the user and experiences.
Need to prove that the session establishment device of describing among the device embodiment is corresponding to above-mentioned embodiment of the method, its concrete implementation procedure had been carried out detailed description in embodiment of the method, do not repeat them here.
In sum, according to the abovementioned embodiments of the present invention, a kind of session establishing method and device are provided.The present invention can realize the P2P session between calling terminal and the terminal called indirectly by increasing via node, avoids cross-domain call, guarantees the terminal time delay, improves the user and experiences.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. session establishing method is characterized in that comprising:
Receive the conversation request message from calling terminal, wherein, described conversation request message is used for request and sets up described calling terminal and be connected with point-to-point P2P conversation media between the terminal called;
According to described conversation request message, obtain the relay resource of via node;
Use described relay resource, set up described calling terminal, described via node and be connected with P2P conversation media between the described terminal called.
2. method according to claim 1 is characterized in that, according to described conversation request message, the relay resource of obtaining via node comprises:
According to the positional information of the described calling terminal in the described conversation request message and the positional information of described terminal called, judge whether described calling terminal is in identical physical region with described terminal called;
If the determination result is NO, then obtain the described relay resource of described via node.
3. method according to claim 2, it is characterized in that, according to the positional information of the described calling terminal in the described conversation request message and the positional information of described terminal called, before judging described calling terminal and whether described terminal called being in identical physical region, described method also comprises:
According to described conversation request message, whether the signing service of judging described calling terminal signatory continuity business;
If judged result is yes, then carries out and judge whether described calling terminal and described terminal called are in the operation of identical physical region.
4. method according to claim 2 is characterized in that, the positional information of described terminal called comprise following one of at least:
Internet protocol IP address information, SIP (Session Initiation Protocol) URL information, physical location area information.
5. method according to claim 1 is characterized in that, uses described relay resource, sets up described calling terminal, described via node and is connected with P2P conversation media between the described terminal called and comprises:
Send the entry address of described via node to described calling terminal;
Use described entry address, set up described calling terminal and be connected with P2P conversation media between the described via node;
Send the exit address of described via node to described terminal called;
Use described exit address, set up described via node and be connected with P2P conversation media between the described terminal called.
6. each described method in 5 according to claim 1 is characterized in that, is using described relay resource, and after setting up described calling terminal, described via node and P2P conversation media between the described terminal called being connected, described method also comprises:
Receive the session transfer request message from described calling terminal and/or described terminal called, wherein, the IP address that described session transfer request message is used to indicate this terminal changes;
Rebuliding described via node is connected with P2P conversation media between described calling terminal and/or the described terminal called.
7. a session establishment device is applied to responsible node, it is characterized in that comprising:
The first receiver module be used for to receive the conversation request message from calling terminal, and wherein, described conversation request message is used for request and sets up described calling terminal and be connected with point-to-point P2P conversation media between the terminal called;
Acquisition module is used for according to described conversation request message, obtains the relay resource of via node;
First sets up module, is used for using described relay resource, sets up described calling terminal, described via node and is connected with P2P conversation media between the described terminal called.
8. device according to claim 7 is characterized in that, described acquisition module comprises:
First judges submodule, is used for judging according to the positional information of the described calling terminal of described conversation request message and the positional information of described terminal called whether described calling terminal is in identical physical region with described terminal called;
Obtain submodule, be used in the situation that the determination result is NO, obtaining the described relay resource of described via node.
9. device according to claim 7 is characterized in that, described first sets up module comprises:
First sends submodule, is used for sending to described calling terminal the entry address of described via node;
First sets up submodule, is used for using described entry address, sets up described calling terminal and is connected with P2P conversation media between the described via node;
Second sends submodule, is used for sending to described terminal called the exit address of described via node;
Second sets up submodule, is used for using described exit address, sets up described via node and is connected with P2P conversation media between the described terminal called.
10. each described device in 9 according to claim 7 characterized by further comprising:
The second receiver module is used for receiving the session transfer request message from described calling terminal and/or described terminal called, and wherein, the IP address that described session transfer request message is used to indicate this terminal changes;
Second sets up module, is used for rebuliding described via node and is connected with P2P conversation media between described calling terminal and/or the described terminal called.
CN2011102605931A 2011-09-05 2011-09-05 A method and an apparatus for establishing a session Pending CN102984186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102605931A CN102984186A (en) 2011-09-05 2011-09-05 A method and an apparatus for establishing a session

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102605931A CN102984186A (en) 2011-09-05 2011-09-05 A method and an apparatus for establishing a session

Publications (1)

Publication Number Publication Date
CN102984186A true CN102984186A (en) 2013-03-20

Family

ID=47857928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102605931A Pending CN102984186A (en) 2011-09-05 2011-09-05 A method and an apparatus for establishing a session

Country Status (1)

Country Link
CN (1) CN102984186A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015135408A1 (en) * 2014-03-10 2015-09-17 华为技术有限公司 Peer-to-peer network conference accessing method, client, and system
CN105376299A (en) * 2015-09-30 2016-03-02 深圳市先河系统技术有限公司 A network communication method, an apparatus and a network attached storage apparatus
CN105530537A (en) * 2014-09-29 2016-04-27 中国移动通信集团公司 Multimedia data transmission method and related equipment
CN112352413A (en) * 2018-06-27 2021-02-09 奈安蒂克公司 Computer network protocol for low latency datagram response
US11420116B2 (en) 2019-02-25 2022-08-23 Niantic, Inc. Augmented reality mobile edge computing
US11489763B2 (en) 2019-12-20 2022-11-01 Niantic, Inc. Data hierarchy protocol for data transmission pathway selection

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527621A (en) * 2003-03-07 2004-09-08 皇家飞利浦电子股份有限公司 Method and apparatus for establishing point-to-point coordinate communication in radio communication network
CN1595887A (en) * 2003-09-08 2005-03-16 华为技术有限公司 A next generation network system and resource management method
CN101102310A (en) * 2007-07-25 2008-01-09 中国科学院沈阳计算技术研究所有限公司 SIP soft switching system supporting P2P media transmission and its implementation method
WO2009018774A1 (en) * 2007-08-06 2009-02-12 Huawei Technologies Co., Ltd. A session connection method,apparatus and system in communication system
US20110067091A1 (en) * 2009-09-16 2011-03-17 Avaya Inc. Next generation integration between different domains, such as, exterprise and service provider using sequencing applications and ims peering
CN102119516A (en) * 2008-08-11 2011-07-06 艾利森电话股份有限公司 Auxiliary SIP services

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527621A (en) * 2003-03-07 2004-09-08 皇家飞利浦电子股份有限公司 Method and apparatus for establishing point-to-point coordinate communication in radio communication network
CN1595887A (en) * 2003-09-08 2005-03-16 华为技术有限公司 A next generation network system and resource management method
CN101102310A (en) * 2007-07-25 2008-01-09 中国科学院沈阳计算技术研究所有限公司 SIP soft switching system supporting P2P media transmission and its implementation method
WO2009018774A1 (en) * 2007-08-06 2009-02-12 Huawei Technologies Co., Ltd. A session connection method,apparatus and system in communication system
CN102119516A (en) * 2008-08-11 2011-07-06 艾利森电话股份有限公司 Auxiliary SIP services
US20110067091A1 (en) * 2009-09-16 2011-03-17 Avaya Inc. Next generation integration between different domains, such as, exterprise and service provider using sequencing applications and ims peering

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015135408A1 (en) * 2014-03-10 2015-09-17 华为技术有限公司 Peer-to-peer network conference accessing method, client, and system
CN105530537A (en) * 2014-09-29 2016-04-27 中国移动通信集团公司 Multimedia data transmission method and related equipment
CN105530537B (en) * 2014-09-29 2018-10-12 中国移动通信集团公司 A kind of transmission method and relevant device of multi-medium data
CN105376299A (en) * 2015-09-30 2016-03-02 深圳市先河系统技术有限公司 A network communication method, an apparatus and a network attached storage apparatus
CN112352413B (en) * 2018-06-27 2022-04-12 奈安蒂克公司 Computer network protocol for low latency datagram response
US11077365B2 (en) 2018-06-27 2021-08-03 Niantic, Inc. Low latency datagram-responsive computer network protocol
CN112352413A (en) * 2018-06-27 2021-02-09 奈安蒂克公司 Computer network protocol for low latency datagram response
US11497995B2 (en) 2018-06-27 2022-11-15 Niantic, Inc. Low latency datagram-responsive computer network protocol
US11833420B2 (en) 2018-06-27 2023-12-05 Niantic, Inc. Low latency datagram-responsive computer network protocol
US11420116B2 (en) 2019-02-25 2022-08-23 Niantic, Inc. Augmented reality mobile edge computing
US11794101B2 (en) 2019-02-25 2023-10-24 Niantic, Inc. Augmented reality mobile edge computing
US11489763B2 (en) 2019-12-20 2022-11-01 Niantic, Inc. Data hierarchy protocol for data transmission pathway selection
US11757761B2 (en) 2019-12-20 2023-09-12 Niantic, Inc. Data hierarchy protocol for data transmission pathway selection

Similar Documents

Publication Publication Date Title
US7600009B2 (en) Circuit-switched and packet-switched communications
CN101364883B (en) Multi-terminal session method, communication system and related apparatus
CN101379771B (en) Method for requesting domain transfer and terminal and server thereof
EP1597934B1 (en) Radio terminal session control and interface set up method
US20070156804A1 (en) System and method for a virtual mobile network supporting dynamic personal virtual mobile network with multimedia service orchestration
CN101453524B (en) Multimedia service implementing method
US20060165064A1 (en) Method and apparatus for a network element to track the availability of other network elements
US9198222B2 (en) Telecommunication network
CN113596191A (en) Data processing method, network element equipment and readable storage medium
CN102984186A (en) A method and an apparatus for establishing a session
CN112187495B (en) Communication method and communication system for terminal and server
EP1889416B1 (en) Shared IP multimedia resource reservation
CN100589640C (en) A method for sending service status of voice call continuous service
US8018899B2 (en) Handoff system and method between different kinds of devices, SIP server and operational method of SIP server
US20090282155A1 (en) Providing peer-to-peer media
US20120089680A1 (en) Communication apparatus, communication system and session control method
CN101557543A (en) System and method for realizing service handover between equipment
US11503164B2 (en) Media interaction method in DECT network cluster
KR101080383B1 (en) Method for voice over internet protocol call setup and communication system performing the same
US8068128B2 (en) Visual communication server and communication system
CN103200383A (en) Method, device and system capable of achieving high-definition videophone services
KR20200046836A (en) System for providing group receipt call service using representative primary line number of receipt call group and method therreof
CN101843052B (en) A method for establishing PHS packet data communication initiated by an external data network
WO2024004078A1 (en) Load distribution device, load distribution system, load distribution method, and load distribution program
JP2010171852A (en) Charging data generating method, call control method, communication system, information processing apparatus, and session control server for relaying

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130320