WO2008011790A1 - Method, system and network apparatus for setting up session - Google Patents

Method, system and network apparatus for setting up session Download PDF

Info

Publication number
WO2008011790A1
WO2008011790A1 PCT/CN2007/001877 CN2007001877W WO2008011790A1 WO 2008011790 A1 WO2008011790 A1 WO 2008011790A1 CN 2007001877 W CN2007001877 W CN 2007001877W WO 2008011790 A1 WO2008011790 A1 WO 2008011790A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
intermediate node
message
network
sdp
Prior art date
Application number
PCT/CN2007/001877
Other languages
French (fr)
Chinese (zh)
Inventor
Hua Cheng
Hao Lai
Youzhu Shi
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.
Publication of WO2008011790A1 publication Critical patent/WO2008011790A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1083In-session procedures
    • H04L65/1093In-session procedures by adding participants; by removing participants
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • H04L65/4053Arrangements for multi-party communication, e.g. for conferences without floor control

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method, system and network device for establishing a tongue.
  • SIP Session Initiated Protocol
  • SIP Session Initiated Protocol
  • Applications include voice, video, games, messaging, call control, and online services.
  • SIP establishes a dialogue before establishing a session.
  • the conversation is a kind of connection relationship that lasts for a certain period of time.
  • the conversation message delivery path is determined. Once the conversation is established, subsequent SIP messages must be delivered in accordance with the message path of the conversation.
  • the SDP Session Description Protocol
  • the SDP response information is given in the SDP providing information.
  • the session path is composed of address information of one or more session contact nodes, and the session contact node other than the session contact node where the session participant is located is the session intermediate node.
  • a session channel is established between adjacent session contact nodes in the session path, and the session contact node where the session participant is located transmits the data transmitted in the session in the session channel.
  • Information the data information passed in the session reaches the session contact node where the other participants of the session are located through the tongue channel established between the session contact nodes.
  • the data information transmitted in the session is a data packet transmitted through the Transmission Control Protocol (TCP) or the Real Time Transfer Protocol (RTP) protocol.
  • TCP Transmission Control Protocol
  • RTP Real Time Transfer Protocol
  • the establishment process of the session channel may be a process of establishing a TCP, or The process of establishing RTP. If a new protocol emerges in the future for passing data information in the session, the establishment process of the session channel is defined by the new protocol. Cheng.
  • the server may only retain the address information of the first contact node in the session path before sending SDP information due to security reasons such as topology hiding. Or, only the address information of the first session contact node in the session path is reserved before the SDP response message is sent.
  • B2BUA Back-to-Back User Agent
  • Sessions can be divided into audio sessions, video sessions, data sessions, message sessions, and more.
  • a message session is used to pass a series of associated instant messages between the parties, and other video sessions, audio sessions, and data sessions are collectively referred to as non-message sessions.
  • MSRP Message Session Relay Protocol
  • the message session participant carries the SDP information in the SIP message, and the SDP provides the session path information carrying the MSRP.
  • TCP Transmission Control Protocol
  • the session contact node uses the SEND command on the TCP connection to deliver instant messages.
  • the session intermediate node in the MSRP session path receives and forwards the instant message delivered in the TCP connection as the relay node of the MSRP.
  • the data information passed in the MSRP session is the MSRP packet passed through the TCP protocol.
  • IMS Internet Multiedia Subsystem, IP Multimedia Subsystem
  • IP Multimedia Subsystem IP Multimedia Subsystem
  • CSCF Call Session Control Function
  • Application Server AS Application Server
  • HSS home subscriber server
  • MGCF Media Gateway Control Function
  • the session participant passes the current location proxy node P-CSCF ( The proxy CSCF) accesses the MS, and the session and service trigger control and the service control interaction with the AS are completed by the home domain service node call control unit of its registered place.
  • the S-CSCF Service CSCF
  • the sending rule sends a call request message carrying the SDP providing information of the message session to the message session intermediate node, and the message session intermediate node adds its own address information to the message session path, and is received by the message session intermediate node after the message session negotiation is successful. And forwarding the data message passed in the message session.
  • the message path is determined during the processing of the call request message.
  • the S-CSCF entity Since the SDP providing information carried in the call request message does not include the description information of the message session during the non-message session, the S-CSCF entity does not forward the message to the message session intermediate node, and the message session intermediate node does not join the message session. In the message path.
  • the message session intermediate node cannot be obtained because the message session intermediate node is not in the message path, and finally the message session intermediate node cannot receive and forward the data information transmitted in the message session. It can be seen that this method of establishing a message session cannot be applied to the case of adding a message session during a non-message session.
  • the inventors have found that the existing method of adding a message session in a non-message process has at least the following disadvantages: the network cannot associate a new message session request with the original session, and the network will be new.
  • the message session requests redistribution of routes, reallocation of session resources, re-accounting, and when the network determines the state of the terminal, the new message session request is rejected if the original session is not released, resulting in the inability to establish a message session.
  • the foregoing method cannot respond to the call request message carrying the SDP providing information.
  • the message is triggered to the message session intermediate node, and the message session intermediate node cannot add its own address information to the message session path.
  • the session establishment process defined by 3GPP stipulates that the message path of the session in which the session is located cannot be modified after the session is established, after the non-message session is established, if the message session intermediate node is not in the non-message session In the message path of the conversation where the message session is located, the network cannot insert the message intermediate node into the non-message.
  • the intermediate nodes cannot be added to the session path. For example: After the session is established, it needs to be monitored. In this case, the device for monitoring needs to be added as a session intermediate node to the subsequent session. The session is established to obtain the listener data. At this time, if the device for monitoring is not in the message path of the session where the ⁇ is located, the network cannot insert the listening device as the session intermediate node into the session path, so that the network monitoring fails.
  • the embodiment of the invention provides a method, a system and a network device for establishing a session, so as to insert a session intermediate node into a session path to meet the usage requirement of the session.
  • Embodiment 4 of the present invention provides the following technical solutions:
  • a method of establishing a session comprising:
  • the session participant sends a session initiation protocol SIP message carrying the session description protocol SDP providing information to the network in the first session;
  • the network After receiving the SIP message, the network adds the session intermediate node to the session path;
  • the session intermediate node receives and forwards data information passed in the session.
  • a method of establishing a session comprising:
  • the session participation direction sends a session initiation protocol that carries the session description protocol SDP to provide information.
  • the network After receiving the SEP message, the network joins the session intermediate node to the session path by the proxy call session control function entity and/or the service call session control function entity;
  • the tongue intermediate node forwards the data packets delivered in the session.
  • a system for establishing a tongue comprising: a message dialogue entity and a session intermediate node,
  • the message conversation entity is configured to receive a session initiation protocol SIP message that is sent by the session participant in the first session and that carries the session description protocol SDP providing information, and adds the session intermediate node to the session path, and includes:
  • a message receiving unit configured to receive a SIP message that is sent by the session participant in the first session and that carries the session description protocol SDP providing information
  • a system for establishing a session comprising: a message conversation entity and a session intermediate node,
  • the message dialogue entity is configured to receive a session initiation protocol SIP message that carries the session description protocol SDP providing information sent by the session participant in the first session, and send the SDP providing information or the SDP response message to the session intermediate node.
  • SIP message ;
  • the session intermediate node is configured to add itself to the session path, and receive, and/or forward data information delivered in the session, including:
  • a receiving unit configured to receive a SIP message sent by the message conversation entity and data information delivered in the session
  • An address adding unit configured to add address information of the session intermediate node to the session path
  • a forwarding unit configured to forward the data information delivered in the tongue.
  • a network device is configured to add address information of a session intermediate node in which a message is active to a session path, including:
  • a message receiving unit configured to receive a session initiation protocol SIP message that is sent by the session participant in the first session and that carries the session description protocol SDP providing information;
  • the session intermediate node adds a unit for adding the session intermediate node to the tongue path.
  • the session participant sends a session request message to the network when the session participant requests to establish a session, and after receiving the session request message, the network adds the session intermediate node to the session.
  • the session intermediate node terminates and forwards the data information delivered in the session, thereby satisfying various application requirements of the session.
  • not only the function of adding the session intermediate node to the session path but also the proxy call control function entity or the service call session control function entity in the network may be completed by the application server. Therefore, operators can flexibly deploy networks and provide better session services.
  • FIG. 1 is a flow chart showing an implementation of a first embodiment of the method of the present invention
  • FIG. 3 is a flowchart of an implementation of a third embodiment of the method of the present invention.
  • FIG. 4 is a schematic structural diagram of a system of an existing IMS
  • Figure 5 is a flow chart showing an implementation of the fourth embodiment of the method of the present invention.
  • Figure 6 is a flowchart showing an implementation of a fifth embodiment of the method of the present invention.
  • 7 is a schematic block diagram of a first embodiment of a system for establishing a session according to the present invention.
  • FIG. 8 is a schematic block diagram of a second embodiment of a system for establishing a session according to the present invention.
  • a method for establishing a session in the embodiment of the present invention is that the session participant sends a SEP message carrying the SDP providing information to the network in the first session, and after receiving the SIP message, the network adds the session intermediate node to the session path. Data information passed in the session is received and forwarded by the session intermediate node.
  • the network obtains the address information of the session intermediate node, and adds the session intermediate node to the session path; or the network sends a SIP message carrying the SDP providing information or the SDP response information to the session intermediate node, and the session intermediate node sets itself Join the path to the tongue.
  • the first conversation represents an established conversation, that is, the session established by the embodiment does not require a new conversation to be established, but rather a new session is established in the established conversation.
  • Another method for establishing a session in the embodiment of the present invention is that the session participates in the direction sending and carrying of the network.
  • the SDP provides a SIP message for the information, and the SIP message is used to establish a second session.
  • the network adds the session intermediate node to the session path by the P-CSCF entity and/or the S-CSCF entity.
  • the data information passed in the session is received and forwarded by the intermediate node.
  • the second dialog represents a conversation that has not yet been established, that is, the session established by the embodiment needs to establish a new conversation in which a new session is established.
  • FIG. 1 there is shown an implementation flow of a first embodiment of the method of the present invention.
  • a method is described in which a participant sends a SIP message carrying SDP providing information to a network in a first session, and the network obtains address information of a session intermediate node, and adds a tongue intermediate node to the session path.
  • Example. The process includes the following steps: A non-message session is established between session participant A and session participant B.
  • Session participant A sends an increase message session request message to network A, which is carried in the message.
  • the SDP provides the following information:
  • the network A obtains the address information of the session intermediate node A through the data configuration.
  • the network A adds the address information of the session intermediate node A to the SDP providing information, and sends the modified message to the network B.
  • the modified message is as follows:
  • INVITE sip participant— B@homeB.net SIP/2.0
  • the network B obtains the address information of the session intermediate node B through the data configuration, and the network B adds the address information of the session intermediate node B to the SDP providing information, and sends the modified message to the session participant B, the modified message.
  • INVITE sip participant— B@homeB.net SIP/2.0
  • the session participant B sends a success response message to the network B, and the message carries the SDP response message as follows:
  • Network B sends an ACK (Acknowledgement) response message to Session Participant B.
  • the session participant B establishes a TCP connection to the session intermediate node B; or the network B transmits the address information of the session participant B to the session intermediate node B through a message, and the session intermediate node B establishes a TCP connection to the session participant B.
  • Network B sends a success response message to network A.
  • the response message adds the address information of session intermediate node B to the SDP response message, as follows:
  • Network A sends an ACK message to Network B.
  • Network A transmits the address information of the session intermediate node B to the session intermediate node A through a message, and the session intermediate node A establishes a TCP connection to the session intermediate node B; or the network B transmits the address information of the session intermediate node A to the message through the message.
  • the tongue intermediate node B, the session intermediate node B establishes a TCP connection to the session intermediate node A.
  • the network A sends a success response message to the session participant A, and the address information of the session intermediate node A is added to the SDP response message in the success response message, as follows:
  • the session participant A After the session participant A receives the success response message, it sends an ACK message to Network A.
  • the session participant A and the session intermediate node A establish a TCP connection; or the network A transmits the address information of the session participant A to the session intermediate node A through a message, and the session intermediate node A establishes a TCP connection to the session participant A.
  • Session participant A sends the data information passed in the message session to session intermediate node A.
  • Session intermediate node A sends the data information passed in message ⁇ to session intermediate node B.
  • Session intermediate node B sends the data information passed in the message session to session participant B.
  • Session participant B feedback success response message.
  • the message interaction between the network A and the session intermediate node A or the network B and the session intermediate node B in step 2 and step 3 may adopt the SIP protocol, the H.248 protocol, the HTTP (Hypertext Transfer Protocol) protocol, The traditional circuit domain protocol and the Diameter protocol obtain the address information of the session intermediate node through the interaction.
  • SIP Session Initiation Protocol
  • H.248 Hypertext Transfer Protocol
  • HTTP Hypertext Transfer Protocol
  • the traditional circuit domain protocol and the Diameter protocol obtain the address information of the session intermediate node through the interaction.
  • the message interaction between the network 6, A, and 12 in the network and between the session intermediate node A or the network B and the session intermediate node B may adopt the SIP protocol, the H.248 protocol, the HTTP protocol, the traditional circuit domain protocol, and the Diameter protocol.
  • the session intermediate node obtains address information of other nodes through the interaction.
  • the embodiment only needs to adjust the time when the network adds the address information of the session intermediate node to the session path: When receiving the confirmation message of the session request response message and the session request response message, the address information of the session intermediate node is added to the session path.
  • the participant sends a SIP message carrying the SDP providing information to the network in the first session
  • the network sends the SIP message carrying the SDP providing information or the SDP response information to the session intermediate node, where
  • the session participant A sends an add message session request message to the network A, and the message carries the SDP information.
  • the network A sends a session request message to the session intermediate node A.
  • the destination address information in the message is the address information of the session intermediate node A, for example: Request-uri is application_A@homeA.net, and the message carries the session participant A.
  • the SDP provides information.
  • the session intermediate node A forwards the session request message to the network A, and the message carries the modified SDP providing information of the session intermediate node A.
  • Session intermediate node A adds its own address information to the SDP provisioning information, and sends the modified message to Network B.
  • the network B sends a session request message to the session intermediate node B.
  • the destination address information in the message is the address information of the session intermediate node B.
  • the request-uri is application_B@homeB.net, and the message carries the information provided by the SDP.
  • the session intermediate node B sends a session request message to the network B, and the message carries the modified SDP providing information of the session intermediate node B.
  • Network B adds the address information of the session intermediate node B to the SDP providing information, and sends the modified message to the session participant B.
  • the session participant B sends a success response message to the network B, and the message carries the SDP response message.
  • the network B sends a success response message to the session intermediate node B, where the message carries the SDP response information of the session participant B.
  • the session intermediate node B sends a confirmation message of the success response message to the network B.
  • Network B sends an ACK response message to session participant B.
  • Session participant B establishes a TCP connection to session intermediate node B; or session intermediate node B establishes a TCP connection to session participant B.
  • the session intermediate node B sends a success response message to the network B, and the session intermediate node The address information of B is added to the SDP response message.
  • the network B sends a success response message to the network A, and the address information of the session intermediate node B is added to the SDP response message in the response message.
  • Network A forwards the success response message to session intermediate node A.
  • Session intermediate node A sends a response message to network A.
  • Network A sends an ACK message to Network B.
  • Network B sends a response message to session intermediate node B.
  • Network A transmits the address information of the session intermediate node B to the session intermediate node A through a message, and the session intermediate node A establishes a TCP connection to the session intermediate node B; or the session intermediate node B establishes a TCP connection to the session intermediate node A.
  • the network A sends a success response message to the session participant A, and the address information of the session intermediate node A is added to the SDP response message in the success response message.
  • the session participant A After the session participant A receives the success response message, it sends an ACK message to Network A.
  • Session participant A and session intermediate node A establish a TCP connection; or session intermediate node A establishes a TCP connection to session participant A.
  • Session participant A sends the data information passed in the message session to session intermediate node A.
  • the tongue intermediate node A sends the data information passed in the message session to the session intermediate node B.
  • Session intermediate node B sends the data information passed in the message session to session participant B. 16 - 18. Session participant B feedback success response message.
  • the embodiment only needs to adjust the time when the network adds the address information of the session intermediate node to the session path:
  • the message is sent to the session intermediate node, and the session intermediate node adds itself to the session path;
  • the network receives the confirmation message of the session request response message, the network sends a tongue request response to the intermediate node of the tongue.
  • the session intermediate node adds itself to the session path.
  • FIG. 3 there is shown an implementation flow of a third embodiment of the method of the present invention.
  • the participant sends a SIP message carrying the SDP providing information to the network in the first session
  • the network sends the SIP message carrying the SDP providing information or the SDP response information to the intermediate node of the tongue.
  • the process includes the following steps:
  • Network A sends a session request message, and network A uses the address information of the entity in network B in the message path of the non-message session, or the address information that network B can recognize as the destination address of the message session request message, in the session.
  • the request message carries the information of the original message path by using the path of the session request message, and the session request message carries the media information of the session participant A, where the message includes the message negotiation information, and the network A according to the trigger rule
  • the session request message is sent to the session intermediate node A.
  • the SDP providing information carried in the session request message is as follows: Step 1 in Embodiment 101, and other information carried in the session request message is as follows:
  • INVITE sip application— B@homeB.net SIP/2.0
  • the session intermediate node A adds its own address information to the SDP providing information, and the session intermediate node A forwards the modified session request message to the network A, where the request message carries the modified SDP providing information of the session intermediate node A.
  • Network A sends a ⁇ request message to network B, which forwards the session request message to session intermediate node B according to the triggering rule.
  • the session intermediate node B adds its own address information to the SDP providing information, and the session intermediate node B forwards the modified session request message to the network B, where the session request message carries the modified SDP providing information of the intermediate node B. , step 3 in the embodiment shown in FIG.
  • the network B sends the release conversation message to the network A in the original conversation according to the information of the original message path that is replaced by the path of the session request message carried in the session request message, and replaces the original conversation with the session created by the session request message.
  • the conversation in the message path
  • Step 3 in the same embodiment as shown in FIG. 9 ⁇ 13.
  • the session participant B sends a success response message to the network B, and the network B forwards the success response message to the session intermediate node B, and the session intermediate node B adds itself to the SDP response message carried in the success response message.
  • the session intermediate node B and the session participant B establish a TCP connection, and the message session negotiation result information carried in the success response message is as shown in step 4 in the embodiment shown in FIG.
  • the session intermediate node B sends a success response message to the session intermediate node A, and the intermediate node A and the session intermediate node B establish a TCP connection, and the message session negotiation result information carried in the success response message is as shown in FIG. Step 7 in the embodiment.
  • the session intermediate node A sends a success response message to the network A, and the network A forwards the success response message to the tongue participant A, and the session intermediate node A adds itself to the SDP response message carried in the success response message.
  • the session intermediate node A and the session participant A establish a TCP connection, and the SDP response information carried in the success response message is as shown in step 10 in the embodiment shown in FIG.
  • the operation of adding the session intermediate node address information to the message path may be performed by the proxy call session control function entity, or the serving call session control function entity, or the application server.
  • Figure 4 shows the system architecture of the IMS in the prior art:
  • the CSCF entity is used to control functions such as user registration and session control, and includes: an S-CSCF entity 41 and a P-CSCF entity 42; an AS (Application Server) 43 is used to provide various service inverse control functions; (Home Subscriber Server, Home Subscriber Server) 44 is used to centrally manage user subscription data; MGCF (Media Gateway Control Function) entity 45 is used to implement interworking with the circuit switched network; the user accesses through the proxy node P-CSCF The IMS; session and service trigger control and the service control interaction with the AS are completed by the home domain service node S-CSCF of its place of registration.
  • AS Application Server
  • MGCF Media Gateway Control Function
  • the session intermediate node can be on the P-CSCF entity, on the S-CSCF entity, or on the AS or other functional entities in the system.
  • the session participant is sent a SIP message carrying the SDP providing information to the network in the first session, and the network sends the SIP message carrying the SDP providing information or the SDP response information to the session intermediate node.
  • the session participant A sends a non-message session request message to the network, and the network A forwards the non-message session request message to the AS-A as the intermediate node of the message session, and the AS-A sends the non-message session request message.
  • the network B forwards the non-message session request message to the AS-B as the intermediate node of the message session, and the AS-B forwards the non-message session request message to the session participant B, the participant B to the participant A
  • the success response message is fed back, and the message path of the first session is established, and both AS-A and AS-B, which are intermediate nodes of the message session, are in the message path of the first session.
  • the session participant A sends a message session request message to the network A in the first session, and carries the message information in the message, and the network A forwards the message session request message to the AS-A.
  • the AS-A serving as the session session intermediate node for the session participant A adds its own message session address information to the SDP providing information carried in the message session request message, and sends the modified session request message to the network B.
  • the message carries the modified SDP providing information.
  • the AS-B serving as the session participant intermediate node for the session participant B adds its own message session address information to the SDP providing information carried in the message session request message, and sends the modified message session request message.
  • the session participant B feeds back the success response message, and the AS-B adds its own message session address information to the SDP response message carried in the success response message, and sends the modified success response message to the AS-A.
  • AS-B establishes a TCP connection with Participant B.
  • AS-A adds its own message session address information to the SDP response message carried in the success response message, and sends the modified success response message to session participants A, AS-A and AS-B. Establish a TCP connection.
  • Session Participant A establishes a TCP connection with AS-A.
  • AS-A and AS-B terminate and forward the message information sent by session participant A and session participant B in the message session.
  • the AS in the embodiment may also be a P-CSCF, or an S-CSCF. If the SDP providing information is carried in the session request response message, and the acknowledgment message of the session request response message carries the SDP response information, the embodiment only needs to adjust the time when the network adds the address information of the session intermediate node to the session path: The session intermediate node is added to the session path when receiving the session request response message; the network adds the session intermediate node to the session path when receiving the confirmation message of the session request response message.
  • Figure 6 shows an implementation flow of a fifth embodiment of the method of the present invention.
  • the session participation direction network sends a SIP message carrying the SDP providing information, and the SIP message establishes a second session.
  • the proxy call session control function entity After the network receives the SIP message, the proxy call session control function entity, and/ An example of a method in which a serving call session control function entity adds a session intermediate node to a session path. The process includes the following steps:
  • Session participant A sends a message session request message to S-CSCF-A.
  • the S-CSCF-A adds its own message session address information to the SDP providing information carried in the message session request message, and sends the modified message request message to the S-CSCF-B.
  • the S-CSCF-B adds its own message session address information to the SDP providing information carried in the message session request message, and sends the modified message session request message to the session participant B.
  • the session participant B feeds back the success response message, and the S-CSCF-B adds its own message session address information to the SDP response message carried in the success response message, and sends the modified success response message to the S. -CSCF-A.
  • the S-CSCF-A adds its own message session address information to the SDP response message carried by the success response message, and sends the modified success response message to the session participant A.
  • a TCP connection is established between session participant A and S-CSCF-A.
  • S-CSCF-A and S-CSCF-B terminate and forward the message information sent by session participant A and session participant B in the message session.
  • the S-CSCF in the embodiment may also be a P-CSCF.
  • the embodiment only needs to adjust the timing at which the network adds the address information of the session intermediate node to the session path: proxy call Session control function entity, and/or service call
  • the session control function entity adds the session intermediate node to the session path when receiving the session request response message; the proxy call session control function entity, and/or the service call session control function entity, when receiving the confirmation message of the session request response message
  • the session intermediate node is added to the session path.
  • the foregoing embodiment further exemplifies the method of the embodiment of the present invention by using the IMS system as an example, but the embodiment of the present invention is not limited to the current IMS system network, and is applicable to other technologies developed based on the IMS network architecture. Network, as long as it meets the network architecture.
  • the SDP providing information in the SIP message or the address information of the tongue contact node carried in the SDP response information may also be a list of address information of multiple session contacting nodes.
  • the above embodiments use the message session as an example to describe the method in the embodiment of the present invention.
  • the processing flow is also applicable, and only the session description protocol information needs to be modified into an audio session and a video session.
  • the session description protocol information of the data session can be used, and the specific process is not described here.
  • the establishment of a TCP connection between the session intermediate nodes and between the session intermediate nodes and the session participants in the above embodiments is an example of an MSRP-based message session, which is used to illustrate how to intermediate between session intermediate nodes and intermediate nodes.
  • the connections required by the tongue participants are established. Other types of connections required for the tongue can be derived according to an example. For a session that does not require a connection, the process of establishing a connection can be omitted.
  • the session intermediate node when the session intermediate node is controlled by the P-CSCF, or the S-CSCF, or the AS, the P-CSCF, or the S-CSCF, or the AS and the session intermediate node may perform a message exchange delivery session. Information, and then the session intermediate node is added to the session path by the P-CSCF, or the S-CSCF, or the AS.
  • the system includes: a message dialogue entity 71 and a session intermediate node 72.
  • the message dialogue entity 71 is configured to receive the SIP message carrying the SDP providing information sent by the session participant in the first session, and add the session intermediate node 72 to the session path, where: the message receiving unit 711 and the session intermediate node Add unit 712.
  • the message receiving unit 711 is configured to receive a SIP message carrying the session description protocol SDP providing information sent by the session participant in the first session; the session intermediate node adding unit 712 is configured to add the session intermediate node to the session path.
  • the session intermediate node 72 is configured to receive, and/or forward, the data information communicated in the tongue.
  • the implementation of the session intermediate node adding unit 712 includes: an address information obtaining subunit 701 and an adding subunit 702, and the address information obtaining subunit 701 is configured to obtain the address information of the session intermediate node 72 through the network configuration. Or interacting with the session intermediate node 72 to obtain its address information; the adding sub-unit 702 is configured to add the address information of the session intermediate node 72 to the SDP providing information, and/or the SDP response information.
  • the message dialogue entity 71 may be a P-CSCF having its function, or an S-CSCF, or an AS.
  • the embodiment of the present invention further provides a network device, which is used to add the address information of the session intermediate node in the message session to the session path, and has the same structure as the message dialogue entity 71 in FIG. Praise.
  • the system includes: a message dialogue entity 81 and a session intermediate node 82.
  • the message dialogue entity 81 is configured to receive a SIP message carrying the session description protocol SDP providing information sent by the session participant in the first session, and send a SIP message carrying the SDP providing information or the SDP response information to the session intermediate node 82.
  • the session intermediate node 82 is configured to add itself to the session path, and receive, and/or forward data information delivered in the session, including: a receiving unit 821, an address adding unit 822, and a forwarding unit 823.
  • the receiving unit 821 is configured to receive the SIP message sent by the message dialogue entity 81 and the data information transmitted in the session; the address adding unit 822 is configured to add the address information of the session intermediate node 82 to the session path; and the forwarding unit 823 is configured to forward Data information passed in the session.
  • the message conversation entity 81 may be a P-CSCF having its function, or an S-CSCF, or an AS.

Abstract

This invention presents a method, system and network apparatus for setting up a session. The method includes steps of: session participant sends session initiated protocol SIP message, which carries session description protocol SDP offer message, to network in the first session; the network joins session intermediate node to session path after the SIP message received by the network; the session intermediate node receives and relays data information carried by the session. The method otherwise includes steps of: session participant sends SIP message, which carries session description protocol SDP offer message, to network, said SIP message is used for setting up the second session; proxy call session control function, and/or service call session control function join/s session intermediate node to session path after the SIP message received by the network; the session intermediate node receives and relays data information carried by the session. This invention can efficiently join the intermediate node to session path, and meet application needs of session.

Description

建立会话的方法、 系统及网络设备  Method, system and network device for establishing a session
本申请要求于 2006 年 7 月 18 日提交中国专利局、 申请号为 200610103305.0、 发明名称为"建立会话的方法,,的中国专利申请的优先权, 以 及于 2006年 8月 3 日提交中国专利局、 申请号为 200610109251.9、 发明名称 为"建立会话的方法"的中国专利申请的优先权,其全部内容通过引用结合在本 申请中。  This application is required to be submitted to the China Patent Office on July 18, 2006, the application number is 200610103305.0, the invention titled "the method of establishing a session, the priority of the Chinese patent application, and the Chinese Patent Office submitted on August 3, 2006." The priority of the Chinese Patent Application No. 200610109251.9, entitled "Method of Establishing a Session", the entire contents of which is incorporated herein by reference.
技术领域 Technical field
本发明涉及网络通信技术领域,具体涉及一种建立^舌的方法、 系统及网 絡设备。  The present invention relates to the field of network communication technologies, and in particular, to a method, system and network device for establishing a tongue.
背景技术 Background technique
SIP ( Session Initiated Protocol, 会话初始协议 )是一种在 IP网络中建立、 修改和终止多媒体会话的应用层协议, 其应用包括语音、 视频、 游戏、 消息、 呼叫控制和在线等业务领域。 SIP在建立会话之前先建立对话, 对话为端到端 的持续一定时间的一种连接关系, 对话建立过程中会确定对话消息传递路径。 一旦对话建立, 后续的 SIP消息必须按照对话的消息路径进行传递。  SIP (Session Initiated Protocol) is an application layer protocol for establishing, modifying, and terminating multimedia sessions in an IP network. Applications include voice, video, games, messaging, call control, and online services. SIP establishes a dialogue before establishing a session. The conversation is a kind of connection relationship that lasts for a certain period of time. During the session establishment process, the conversation message delivery path is determined. Once the conversation is established, subsequent SIP messages must be delivered in accordance with the message path of the conversation.
SDP ( Session Description Protocol, 会话描述协议)提供信息给出能够用 来建立会话的各种通讯种类、通讯方式、通讯方式的参数、 .以及通讯地址等信 息, SDP应答信息给出在 SDP提供信息中最终选择的用于建立会话的通讯种 类、 通讯方式、 通讯方式的参数、 以及通讯地址等信息。  The SDP (Session Description Protocol) provides information to give various types of communication, communication methods, parameters of communication methods, and communication addresses that can be used to establish a session. The SDP response information is given in the SDP providing information. The type of communication, communication method, communication method parameters, and communication address used to establish the session.
会话路径由一个或者多个会话联系节点的地址信息组成,会话参与方所在 的会话联系节点以外的会话联系节点为会话中间节点。 在会话协商成功之后, 并且在 ^舌中传递任何数据信息之前,会话路径中相邻的会话联系节点之间建 立会话通道,会话参与方所在的会话联系节点在会话通道中发送会话中传递的 数据信息,会话中传递的数据信息通过会话联系节点之间建立的^舌通道到达 会话其他参与方所在的会话联系节点。 会话中传递的数据信息为通过 TCP ( Transmission Control Protocol, 传输控制协议 )或者 RTP ( Realtime Transfer Protocol, 实时传输协议)协议传递的数据包, 因此会话通道的建立过程可以 为建立 TCP的过程, 也可以为建立 RTP的过程。 若今后出现了新的协议用于会 话中传递数据信息, 则会话通道的建立过程为新的协议定义的建立通道的过 程。 The session path is composed of address information of one or more session contact nodes, and the session contact node other than the session contact node where the session participant is located is the session intermediate node. After the session negotiation succeeds, and before any data information is passed in the tongue, a session channel is established between adjacent session contact nodes in the session path, and the session contact node where the session participant is located transmits the data transmitted in the session in the session channel. Information, the data information passed in the session reaches the session contact node where the other participants of the session are located through the tongue channel established between the session contact nodes. The data information transmitted in the session is a data packet transmitted through the Transmission Control Protocol (TCP) or the Real Time Transfer Protocol (RTP) protocol. Therefore, the establishment process of the session channel may be a process of establishing a TCP, or The process of establishing RTP. If a new protocol emerges in the future for passing data information in the session, the establishment process of the session channel is defined by the new protocol. Cheng.
当服务器使用 B2BUA ( Back-to-Back User Agent, 背靠背用户代理) 时, 由于拓朴隐藏等安全原因服务器可能会在发送 SDP提供信息之前只保留会话 路径中第一个^ ^联系节点的地址信息,或者在发送 SDP应答信息之前只保留 会话路径中第一个会话联系节点的地址信息。  When the server uses B2BUA (Back-to-Back User Agent), the server may only retain the address information of the first contact node in the session path before sending SDP information due to security reasons such as topology hiding. Or, only the address information of the first session contact node in the session path is reserved before the SDP response message is sent.
会话可以分为音频会话、 视频会话、 数据会话、 消息会话等多种会话。 消息会话用来在^舌参与方之间传递一系列相关联的即时消息,其他的视 频会话、音频会话和数据会话统称为非消息会话。 MSRP( Message Session Relay Protocol, 消息会话中继协议)用来建立消息会话。 消息会话参与方在 SIP消息 中携带 SDP提供信息, SDP提供信息中携带 MSRP的会话路径信息。 SDP协商 成功后 , 消息会话参与方所在的会话联系节点以及 MSRP的会话路径中的其他 会话联系节点与相邻的 舌联系节点建立 TCP ( Transmission Control Protocol, 传输控制协议)连接,会话参与方所在的会话联系节点在 TCP连接上使用 SEND (发送)命令传递即时消息。 MSRP会话路径中的会话中间节点作为 MSRP的 中继节点接收并且转发 TCP连接中传递的即时消息。 MSRP会话中传递的数据 信息为通过 TCP协议传递的 MSRP数据包。  Sessions can be divided into audio sessions, video sessions, data sessions, message sessions, and more. A message session is used to pass a series of associated instant messages between the parties, and other video sessions, audio sessions, and data sessions are collectively referred to as non-message sessions. MSRP (Message Session Relay Protocol) is used to establish a message session. The message session participant carries the SDP information in the SIP message, and the SDP provides the session path information carrying the MSRP. After the SDP negotiation succeeds, the session contact node where the message session participant is located and the other session contact node in the session path of the MSRP establish a TCP (Transmission Control Protocol) connection with the adjacent tongue contact node, where the session participant is located. The session contact node uses the SEND command on the TCP connection to deliver instant messages. The session intermediate node in the MSRP session path receives and forwards the instant message delivered in the TCP connection as the relay node of the MSRP. The data information passed in the MSRP session is the MSRP packet passed through the TCP protocol.
IMS ( Internet Multiedia Subsystem, IP多媒体子系统)是下一代网络的核 心子系统, 采用分组域为其上层控制信令和媒体传输的承载通道, 引入 SIP协 议作为业务控制协议, 利用 SIP简单、 易扩展、 媒体组合方便的特点, 通过将 业务控制与承载控制分离, 提供丰富的多媒体业务。 MS中主要的功能实体包 括:控制会话参与方注册、会话控制等功能的呼叫控制实体 CSCF ( Call Session Control Function )^ 提供各种业务逻辑控制功能的应用服务器 AS ( Application Server )、 集中管理会话参与方签约数据的归属会话参与方服务器 HSS ( Home Subscriber Server ) 以及用于实现与电路交换网互通的 MGCF ( Media Gateway Control Function, Media Gateway Control Function ), 会话参与方通过当前所在 地代理节点 P-CSCF (代理 CSCF )接入 MS, 会话和业务触发控制及与 AS的业 务控制交互则由其注册地的归属域服务节点呼叫控制单元完成。  IMS (Internet Multiedia Subsystem, IP Multimedia Subsystem) is the core subsystem of the next generation network. It adopts the packet domain as the bearer channel for its upper layer control signaling and media transmission, and introduces the SIP protocol as the service control protocol. It is simple and easy to expand by using SIP. The combination of convenient media features provides a rich multimedia service by separating service control from bearer control. The main functional entities in the MS include: Call Session Control Function CSCF (Call Session Control Function) that controls the functions of session participant registration, session control, etc. ^ Application Server AS (Application Server) providing centralized management of various business logic functions The home subscriber server (HSS) of the party subscription data and the MGCF (Media Gateway Control Function) for implementing interworking with the circuit-switched network, the session participant passes the current location proxy node P-CSCF ( The proxy CSCF) accesses the MS, and the session and service trigger control and the service control interaction with the AS are completed by the home domain service node call control unit of its registered place.
在 IMS中, 经过消息会话中间节点建立消息会话的过程如下:  In IMS, the process of establishing a message session through a message session intermediate node is as follows:
由应用服务器作为消息会话中间节点, S-CSCF (服务 CSCF )实体根据触 发规则,将携带消息会话的 SDP提供信息的呼叫请求消息发送到消息会话中间 节点, 由消息会话中间节点将自己的地址信息增加到消息会话路径中, 消息会 话协商成功之后由消息会话中间节点接收并且转发消息会话中传递的数据信 在这种建立消息会话的方法中,消息路径是在呼叫请求消息处理过程中确 定的。 由于在非消息会话过程中, 呼叫请求消息中携带的 SDP提供信息不包含 消息会话的描述信息, S-CSCF实体不会将消息转发到消息会话中间节点, 此 时消息会话中间节点不会加入到消息路径中。之后再发送消息会话的 SDP提供 信息时, 由于消息会话中间节点没有在消息路径中, 因此无法获得该消息会话 协商请求,最终会导致消息会话中间节点无法接收并且转发消息会话中传递的 数据信息。可见,这种建立消息会话的方法不能应用于非消息会话过程中增加 消息会话的情况。 By the application server as the message session intermediate node, the S-CSCF (Service CSCF) entity is based on the touch The sending rule sends a call request message carrying the SDP providing information of the message session to the message session intermediate node, and the message session intermediate node adds its own address information to the message session path, and is received by the message session intermediate node after the message session negotiation is successful. And forwarding the data message passed in the message session. In this method of establishing a message session, the message path is determined during the processing of the call request message. Since the SDP providing information carried in the call request message does not include the description information of the message session during the non-message session, the S-CSCF entity does not forward the message to the message session intermediate node, and the message session intermediate node does not join the message session. In the message path. When the SDP providing information of the message session is sent again, the message session intermediate node cannot be obtained because the message session intermediate node is not in the message path, and finally the message session intermediate node cannot receive and forward the data information transmitted in the message session. It can be seen that this method of establishing a message session cannot be applied to the case of adding a message session during a non-message session.
针对这种应用需求,现有技术中提出了一种方案: 即参与方在建立了非消 息会话之后,如果想进行消息会话,则由参与方发送一个到目的参与方的消息 会话倩求,请求建立一个新的对话,这个新的对话不同于非消息会话所在的对 话。  For this application requirement, a solution is proposed in the prior art: after the participant establishes a non-message session, if the message session is desired, the participant sends a message session to the destination participant, requesting Create a new conversation that is different from the conversation in which the non-message session is located.
在实现本发明过程中,发明人发现现有这种在非消息^舌过程中增加消息 会话的方式至少存在以下缺点:网络无法将新的消息会话请求和原有会话相关 联, 网络会对新的消息会话请求重新分配路由、 重新分配会话资源、 重新进行 计费,并且当网络决定终端状态时会在原有会话没有释放的情况下拒绝新的消 息会话请求, 导致无法建立消息会话。  In the process of implementing the present invention, the inventors have found that the existing method of adding a message session in a non-message process has at least the following disadvantages: the network cannot associate a new message session request with the original session, and the network will be new. The message session requests redistribution of routes, reallocation of session resources, re-accounting, and when the network determines the state of the terminal, the new message session request is rejected if the original session is not released, resulting in the inability to establish a message session.
另外, 在建立消息会话过程中, 如果不是在呼叫请求消息中携带 SDP提供 信息, 而是在呼叫请求消息的响应消息中携带 SDP提供信息, 上述方法不能将 携带 SDP提供信息的呼叫请求消息的响应消息触发到消息会话中间节点,消息 会话中间节点不能将自己的地址信息加入到消息会话路径中。  In addition, in the process of establishing a message session, if the SDP providing information is not carried in the call request message, but the SDP providing information is carried in the response message of the call request message, the foregoing method cannot respond to the call request message carrying the SDP providing information. The message is triggered to the message session intermediate node, and the message session intermediate node cannot add its own address information to the message session path.
另外, 由于 3GPP ( Third Generation Partnership Projects, 第三代合作伙伴 计划)定义的会话建立过程规定会话建立之后不能修改会话所在的对话的消息 路径,在非消息会话建立之后,若消息会话中间节点不在非消息会话所在的对 话的消息路径中,网络则无法将消息^舌中间节点插入到该非消息^ ¾■所在的 对话中建立消息会话。对于非消息^舌同样存在无法将^舌中间节点加入到会 话路径中的问题, 例如: 在会话建立之后需要进^ f亍监听, 此时需要将用于监听 的设备作为会话中间节点加入到后续建立的会话中,从而获取监听数据。此时 若用于监听的设备没有在 ^所在的对话的消息路径中,网络则无法将作为会 话中间节点的监听设备插入到会话路径中, 使得网絡监听失败。 In addition, since the session establishment process defined by 3GPP (Third Generation Partnership Projects) stipulates that the message path of the session in which the session is located cannot be modified after the session is established, after the non-message session is established, if the message session intermediate node is not in the non-message session In the message path of the conversation where the message session is located, the network cannot insert the message intermediate node into the non-message. Establish a message session in the conversation. For non-messages, there is also the problem that the intermediate nodes cannot be added to the session path. For example: After the session is established, it needs to be monitored. In this case, the device for monitoring needs to be added as a session intermediate node to the subsequent session. The session is established to obtain the listener data. At this time, if the device for monitoring is not in the message path of the session where the ^ is located, the network cannot insert the listening device as the session intermediate node into the session path, so that the network monitoring fails.
发明内容 Summary of the invention
本发明实施例提供一种建立会话的方法、 系统及网络设备, 以将会话中间 节点插入到会话路径中, 满足会话的庶用需求。  The embodiment of the invention provides a method, a system and a network device for establishing a session, so as to insert a session intermediate node into a session path to meet the usage requirement of the session.
为此, 本发明实施例 4是供如下的技术方案:  To this end, Embodiment 4 of the present invention provides the following technical solutions:
一种建立会话的方法, 所述方法包括:  A method of establishing a session, the method comprising:
会话参与方在第一对话中向网络发送携带会话描述协议 SDP提供信息的 会话初始协议 SIP消息;  The session participant sends a session initiation protocol SIP message carrying the session description protocol SDP providing information to the network in the first session;
网络收到所述 SIP消息后将会话中间节点加入到会话路径中;  After receiving the SIP message, the network adds the session intermediate node to the session path;
所述会话中间节点接收并转发所述会话中传递的数据信息。  The session intermediate node receives and forwards data information passed in the session.
一种建立会话的方法, 所述方法包括:  A method of establishing a session, the method comprising:
会话参与方向网络发送携带会话描述协议 SDP提供信息的会话初始协议 The session participation direction sends a session initiation protocol that carries the session description protocol SDP to provide information.
SIP消息, 所述 SIP消息用于建立第二对话; a SIP message, where the SIP message is used to establish a second session;
网络收到所述 SEP消息后, 由代理呼叫会话控制功能实体、 和 /或 ϋ良务呼 叫会话控制功能实体将会话中间节点加入到会话路径中;  After receiving the SEP message, the network joins the session intermediate node to the session path by the proxy call session control function entity and/or the service call session control function entity;
所述^舌中间节点并转发所述会话中传递的数据包。  The tongue intermediate node forwards the data packets delivered in the session.
一种建立 ^舌的系统, 包括: 消息对话实体和会话中间节点,  A system for establishing a tongue, comprising: a message dialogue entity and a session intermediate node,
所述消息对话实体,用于接收会话参与方在第一对话中发送的携带会话描 述协议 SDP提供信息的会话初始协议 SIP消息, 并将所述会话中间节点加入 到会话路径中, 其包括:  The message conversation entity is configured to receive a session initiation protocol SIP message that is sent by the session participant in the first session and that carries the session description protocol SDP providing information, and adds the session intermediate node to the session path, and includes:
消息接收单元,用于接收会话参与方在第一对话中发送的携带会话描述协 议 SDP提供信息的 SIP消息;  a message receiving unit, configured to receive a SIP message that is sent by the session participant in the first session and that carries the session description protocol SDP providing information;
会话中间节点添加单元, 用于将所述会话中间节点加入到会话路径中; 所述会话中间节点, 用于接收、 和 /或转发所述会话中传递的数据信息。 一种建立会话的系统, 包括: 消息对话实体和会话中间节点, 所述消息对话实体,用于接收会话参与方在笫一对话中发送的携带会话描 述协议 SDP提供信息的会话初始协议 SIP消息, 并向所述会话中间节点发送 携带 SDP提供信息、 或 SDP应答信息的 SIP消息; a session intermediate node adding unit, configured to add the session intermediate node to the session path, where the session intermediate node is configured to receive, and/or forward data information delivered in the session. A system for establishing a session, comprising: a message conversation entity and a session intermediate node, The message dialogue entity is configured to receive a session initiation protocol SIP message that carries the session description protocol SDP providing information sent by the session participant in the first session, and send the SDP providing information or the SDP response message to the session intermediate node. SIP message;
所述会话中间节点, 用于将自己加入到会话路径中, 并接收、 和 /或转发 所述会话中传递的数据信息, 其包括:  The session intermediate node is configured to add itself to the session path, and receive, and/or forward data information delivered in the session, including:
接收单元,用于接收所述消息对话实体发送的 SIP消息以及会话中传递的 数据信息;  a receiving unit, configured to receive a SIP message sent by the message conversation entity and data information delivered in the session;
地址添加单元, 用于将所述会话中间节点的地址信息加入到会话路径中; 转发单元, 用于转发所述 ^舌中传递的数据信息。  An address adding unit, configured to add address information of the session intermediate node to the session path, and a forwarding unit, configured to forward the data information delivered in the tongue.
一种网络设备,用于将消息会活中的会话中间节点的地址信息加入到会话 路径中, 包括:  A network device is configured to add address information of a session intermediate node in which a message is active to a session path, including:
消息接收单元,用于接收会话参与方在第一对话中发送的携带会话描述协 议 SDP提供信息的会话初始协议 SIP消息;  a message receiving unit, configured to receive a session initiation protocol SIP message that is sent by the session participant in the first session and that carries the session description protocol SDP providing information;
会话中间节点添加单元, 用于将会话中间节点加入到 ^舌路径中。  The session intermediate node adds a unit for adding the session intermediate node to the tongue path.
由以上本发明实施例提供的技术方案可以看出,本发明实施例在会话参与 方请求建立会话时向网络发送会话请求消息, 网络在收到所述会话请求消息 后,将会话中间节点加入到所述会话路径中, 并由会话中间节点终结并转发所 述会话中传递的数据信息, 从而满足了会话的各种应用需求。  It can be seen from the technical solution provided by the foregoing embodiments of the present invention that the session participant sends a session request message to the network when the session participant requests to establish a session, and after receiving the session request message, the network adds the session intermediate node to the session. In the session path, the session intermediate node terminates and forwards the data information delivered in the session, thereby satisfying various application requirements of the session.
在本发明实施例中,不仅可以由应用服务器完成将会话中间节点加入到了 会话路径中的功能,而且还可以由网络中的代理呼叫^ 舌控制功能实体或者服 务呼叫会话控制功能实体来完成该功能 ,从而可以使运营商灵活地进行网络部 署, 提供更好的会话服务。  In the embodiment of the present invention, not only the function of adding the session intermediate node to the session path but also the proxy call control function entity or the service call session control function entity in the network may be completed by the application server. Therefore, operators can flexibly deploy networks and provide better session services.
附图说明 DRAWINGS
图 1是本发明方法第一实施例的实现流程图;  1 is a flow chart showing an implementation of a first embodiment of the method of the present invention;
图 2是本发明方法第二实施例的实现流程图;  2 is a flowchart of an implementation of a second embodiment of the method of the present invention;
图 3是本发明方法第三实施例的实现流程图;  3 is a flowchart of an implementation of a third embodiment of the method of the present invention;
图 4是现有 IMS的系统结构示意图;  4 is a schematic structural diagram of a system of an existing IMS;
图 5是本发明方法的笫四实施例的实现流程图;  Figure 5 is a flow chart showing an implementation of the fourth embodiment of the method of the present invention;
图 6是本发明方法的第五实施例的实现流程图; 图 7是本发明建立会话的系统第一实施例的原理框图; Figure 6 is a flowchart showing an implementation of a fifth embodiment of the method of the present invention; 7 is a schematic block diagram of a first embodiment of a system for establishing a session according to the present invention;
图 8是本发明建立会话的系统笫二实施例的原理框图。  FIG. 8 is a schematic block diagram of a second embodiment of a system for establishing a session according to the present invention.
具体实施方式 detailed description
本发明实施例中建立会话的一种方法是会话参与方在第一对话中向网络 发送携带 SDP提供信息的 SEP消息, 网络收到所述 SIP消息后, 将会话中间 节点加入到会话路径中,由所述会话中间节点接收并转发所述会话中传递的数 据信息。 网络获取会话中间节点的地址信息,将会话中间节点加入到所述会话 路径中; 或者网络将携带 SDP提供信息、 或 SDP应答信息的 SIP消息发送到 会话中间节点, 由所述会话中间节点将自己加入到所述^舌路径。所述第一对 话表示已建立的对话,也就是说,该实施例建立的会话不需要建立一个新的对 话, 而是在已经建立的对话中建立一种新的会话。  A method for establishing a session in the embodiment of the present invention is that the session participant sends a SEP message carrying the SDP providing information to the network in the first session, and after receiving the SIP message, the network adds the session intermediate node to the session path. Data information passed in the session is received and forwarded by the session intermediate node. The network obtains the address information of the session intermediate node, and adds the session intermediate node to the session path; or the network sends a SIP message carrying the SDP providing information or the SDP response information to the session intermediate node, and the session intermediate node sets itself Join the path to the tongue. The first conversation represents an established conversation, that is, the session established by the embodiment does not require a new conversation to be established, but rather a new session is established in the established conversation.
本发明实施例中建立会话的另一种方法是会话参与方向网络发送携带 Another method for establishing a session in the embodiment of the present invention is that the session participates in the direction sending and carrying of the network.
SDP提供信息的 SIP消息, 所述 SIP消息用于建立第二对话, 网络收到所述 SIP消息后, 由 P-CSCF实体、 和 /或 S-CSCF实体将会话中间节点加入到会话 路径中, 由所述 ^舌中间节点接收并转发所述会话中传递的数据信息。 所述第 二对话表示还未建立的对话, 也就是说, 该实施例建立的会话需要建立一个新 的对话, 在这个新的对话中建立一种新的会话。 The SDP provides a SIP message for the information, and the SIP message is used to establish a second session. After receiving the SIP message, the network adds the session intermediate node to the session path by the P-CSCF entity and/or the S-CSCF entity. The data information passed in the session is received and forwarded by the intermediate node. The second dialog represents a conversation that has not yet been established, that is, the session established by the embodiment needs to establish a new conversation in which a new session is established.
为了使本技术领域的人员更好地理解本发明方案,下面结合附图和实施方 式对本发明实施例作进一步的佯细说明。  In order to make those skilled in the art better understand the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
参照图 1 , 图 1示出了本发明方法第一实施例的实现流程。 在该实施例中, 给出了参与方在第一对话中向网络发送携带 SDP提供信息的 SIP消息, 网络获 取会话中间节点的地址信息,将^舌中间节点加入到所述会话路径中的方法的 示例。 该流程包括以下步骤: 会话参与方 A与会话参与方 B之间建立有非消息 会话。  Referring to Figure 1, there is shown an implementation flow of a first embodiment of the method of the present invention. In this embodiment, a method is described in which a participant sends a SIP message carrying SDP providing information to a network in a first session, and the network obtains address information of a session intermediate node, and adds a tongue intermediate node to the session path. Example. The process includes the following steps: A non-message session is established between session participant A and session participant B.
1. 会话参与方 A向网络 A发送增加消息会话请求消息, 消息中携带的 1. Session participant A sends an increase message session request message to network A, which is carried in the message.
SDP提供信息如下: The SDP provides the following information:
INVITE sip:participant_B@homeB.net SIP/2.0  INVITE sip:participant_B@homeB.net SIP/2.0
Content-Type: application/sdp Content-Length: (...) v=0 Content-Type: application/sdp Content-Length: (...) v=0
o=- 2987933615 2987933615 IN IP6 5555::aaa:bbb:ccc:ddd  o=- 2987933615 2987933615 IN IP6 5555::aaa:bbb:ccc:ddd
s-- c=IN IP6 5555::aaa:bbb:ccc:ddd  S-- c=IN IP6 5555::aaa:bbb:ccc:ddd
t=0 0  t=0 0
m=message 3402 TCP/MSRP *  m=message 3402 TCP/MSRP *
a=path:msrp://[5555:: aaa:bbb:ccc:ddd] :3402/s 111271;tcp  a=path:msrp://[5555:: aaa:bbb:ccc:ddd] :3402/s 111271;tcp
2. 网络 A通过数据配置获取会话中间节点 A的地址信息, 网络 A将会 话中间节点 A的地址信息加入到 SDP提供信息中, 并将修改后的消息发送给 网络 B, 修改后的消息如下: 2. The network A obtains the address information of the session intermediate node A through the data configuration. The network A adds the address information of the session intermediate node A to the SDP providing information, and sends the modified message to the network B. The modified message is as follows:
INVITE sip: participant— B@homeB.net SIP/2.0  INVITE sip: participant— B@homeB.net SIP/2.0
Content-Type: application sdp Content-Type: application sdp
Content-Length: (...) v=0  Content-Length: (...) v=0
o=- 2987933620 2987933620 IN IP6 7777::eee:ddd:ccc:aaa  o=- 2987933620 2987933620 IN IP6 7777::eee:ddd:ccc:aaa
s=- c=IN IP6 7777::eee:ddd:ccc:aaa  s=- c=IN IP6 7777::eee:ddd:ccc:aaa
t=0 0  t=0 0
m=message 3927 TCP/MSRP *  m=message 3927 TCP/MSRP *
a=path:msrp:〃[7777: :eee:ddd:ccc:aaa] :3927/s222371;tcp  a=path:msrp:〃[7777: :eee:ddd:ccc:aaa] :3927/s222371;tcp
3. 网络 B通过数据配置获取会话中间节点 B的地址信息, 网络 B将会话 中间节点 B的地址信息加入到 SDP提供信息中, 并将修改后的消息发送给会 话参与方 B, 修改后的消息如下: INVITE sip: participant— B@homeB.net SIP/2.0 3. The network B obtains the address information of the session intermediate node B through the data configuration, and the network B adds the address information of the session intermediate node B to the SDP providing information, and sends the modified message to the session participant B, the modified message. as follows: INVITE sip: participant— B@homeB.net SIP/2.0
Content-Type: application/sdp Content-Type: application/sdp
Content-Length: (...) v=0  Content-Length: (...) v=0
o=- 2987933630 2987933630 IN IP6 9999:xcc:aaa:bbb:ddd  o=- 2987933630 2987933630 IN IP6 9999:xcc:aaa:bbb:ddd
s=- c=IN IP6 9999::ccc:aaa:bbb:ddd  s=- c=IN IP6 9999::ccc:aaa:bbb:ddd
t=0 0  t=0 0
m=message 3333 TCP/ SKP *  m=message 3333 TCP/ SKP *
a=path:msrp :〃[9999: :ccc:aaa:bbb:ddd]:3333/s317121;tcp  a=path:msrp :〃[9999: :ccc:aaa:bbb:ddd]:3333/s317121;tcp
4. 会话参与方 B向网络 B发送成功响应消息, 消息中携带 SDP应答信 息如下: 4. The session participant B sends a success response message to the network B, and the message carries the SDP response message as follows:
SIP/2.0 200 OK  SIP/2.0 200 OK
Content-Type: application/sdp Content-Type: application/sdp
Content-Length: (...) v-0  Content-Length: (...) v-0
o-- 29879336302987933630IN IP6 5555::eee:fff:aaa:bbb  O-- 29879336302987933630IN IP6 5555::eee:fff:aaa:bbb
s=- c=IN IP6 5555::eee:fff:aaa:bbb  s=- c=IN IP6 5555::eee:fff:aaa:bbb
t=0 0  t=0 0
m=message 3402 TCP MSRP *  m=message 3402 TCP MSRP *
a=path:msrp :〃[5555:: eee:fff:aaa:bbb] :3402/s417121;tcp  a=path:msrp :〃[5555:: eee:fff:aaa:bbb] :3402/s417121;tcp
5. 网络 B向会话参与方 B发送 ACK (确认)响应消息 6. 会话参与方 B向会话中间节点 B建立 TCP连接; 或者网络 B将会话 参与方 B的地址信息通过消息传送给会话中间节点 B, 会话中间节点 B向会 话参与方 B建立 TCP连接。 5. Network B sends an ACK (Acknowledgement) response message to Session Participant B. 6. The session participant B establishes a TCP connection to the session intermediate node B; or the network B transmits the address information of the session participant B to the session intermediate node B through a message, and the session intermediate node B establishes a TCP connection to the session participant B.
7. 网络 B向网络 A发送成功响应消息,响应消息中将会话中间节点 B的 地址信息加入到 SDP应答信息中, 如下:  7. Network B sends a success response message to network A. The response message adds the address information of session intermediate node B to the SDP response message, as follows:
SIP/2.0 200 OK  SIP/2.0 200 OK
Content-Type: application/sdp Content-Type: application/sdp
Content-Length: (...) v=0  Content-Length: (...) v=0
o=- 2987933640 2987933640 IN IP69999::ccc:aaa:bbb:ddd  o=- 2987933640 2987933640 IN IP69999::ccc:aaa:bbb:ddd
s=- c=IN IP6 9999: :ccc:aaa:bbb:dddt=0 0  s=- c=IN IP6 9999: :ccc:aaa:bbb:dddt=0 0
m=message 3402 TCP MSRP *  m=message 3402 TCP MSRP *
a=path:msrp://[9999:: ccc:aaa:bbb:ddd] :3402/s317122;tcp  a=path:msrp://[9999:: ccc:aaa:bbb:ddd] :3402/s317122;tcp
8. 网络 A向网络 B发送 ACK消息。 8. Network A sends an ACK message to Network B.
9.网络 A将会话中间节点 B的地址信息通过消息传送给会话中间节点 A, 会话中间节点 A向会话中间节点 B建立 TCP连接;或者网给 B将会话中间节 点 A的地址信息通过消息传送给^舌中间节点 B, 会话中间节点 B向会话中 间节点 A建立 TCP连接。  9. Network A transmits the address information of the session intermediate node B to the session intermediate node A through a message, and the session intermediate node A establishes a TCP connection to the session intermediate node B; or the network B transmits the address information of the session intermediate node A to the message through the message The tongue intermediate node B, the session intermediate node B establishes a TCP connection to the session intermediate node A.
10. 网络 A向会话参与方 A发送成功响应消息, 所述成功响应消息中将 会话中间节点 A的地址信息加入到 SDP应答信息中, 如下:  10. The network A sends a success response message to the session participant A, and the address information of the session intermediate node A is added to the SDP response message in the success response message, as follows:
SIP/2.0200 OK  SIP/2.0200 OK
Content-Type: application/sdp Content-Type: application/sdp
Content-Length: (...) v-0 Content-Length: (...) V-0
o-- 2987933642 2987933642 IN IP6 7777::eee:ddd:ccc:aaa  O-- 2987933642 2987933642 IN IP6 7777::eee:ddd:ccc:aaa
s=- c-IN IP67777::eee:ddd:ccc:aaa  s=- c-IN IP67777::eee:ddd:ccc:aaa
t=0 0  t=0 0
m-message 3927 TCP/MSRP *  M-message 3927 TCP/MSRP *
a=path:msrp://[7777::eee:ddd:ccc:aaa]:3927/s222372;tcp  a=path:msrp://[7777::eee:ddd:ccc:aaa]:3927/s222372;tcp
11. 会话参与方 A收到成功响应消息后, 向网络 A发送 ACK消息。 11. After the session participant A receives the success response message, it sends an ACK message to Network A.
12. 会话参与方 A和会话中间节点 A建立 TCP连接; 或者网络 A将会话 参与方 A的地址信息通过消息传送给会话中间节点 A, 会话中间节点 A向会 话参与方 A建立 TCP连接。  12. The session participant A and the session intermediate node A establish a TCP connection; or the network A transmits the address information of the session participant A to the session intermediate node A through a message, and the session intermediate node A establishes a TCP connection to the session participant A.
13. 会话参与方 A向会话中间节点 A发送消息会话中传递的数据信息。 13. Session participant A sends the data information passed in the message session to session intermediate node A.
14.会话中间节点 A向会话中间节点 B发送消息^ 中传递的数据信息。 15. 会话中间节点 B向会话参与方 B发送消息会话中传递的数据信息。14. Session intermediate node A sends the data information passed in message ^ to session intermediate node B. 15. Session intermediate node B sends the data information passed in the message session to session participant B.
16 - 18. 会话参与方 B反馈成功响应消息。 16 - 18. Session participant B feedback success response message.
步骤 2和步骤 3中网络 A和会话中间节点 A之间、或者网络 B和会话中间节点 B的消息交互可以采用 SIP协议、 H.248协议、 HTTP( Hypertext Transfer Protocol, 超文本传输协议 )协议、 传统电路域协议、 Diameter协议, 通过该交互获得会 话中间节点的地址信息。  The message interaction between the network A and the session intermediate node A or the network B and the session intermediate node B in step 2 and step 3 may adopt the SIP protocol, the H.248 protocol, the HTTP (Hypertext Transfer Protocol) protocol, The traditional circuit domain protocol and the Diameter protocol obtain the address information of the session intermediate node through the interaction.
步聲 6、 9、 12中网给 A和会话中间节点 A之间、或者网络 B和会话中间节点 B的消息交互可以采用 SIP协议、 H.248协议、 HTTP协议、 传统电路域协议、 Diameter协议, 会话中间节点通过该交互获得其他节点的地址信息。  The message interaction between the network 6, A, and 12 in the network and between the session intermediate node A or the network B and the session intermediate node B may adopt the SIP protocol, the H.248 protocol, the HTTP protocol, the traditional circuit domain protocol, and the Diameter protocol. The session intermediate node obtains address information of other nodes through the interaction.
若在会话请求响应消息中携带 SDP提供信息,并且在会话请求响应消息的 确认消息携带 SDP应答信息,本实施例只需要调整网络将会话中间节点的地址 信息增加到会话路径中的时机:网络在收到会话请求响应消息和会话请求响应 消息的确认消息时将会话中间节点的地址信息增加到会话路径中。  If the SDP providing information is carried in the session request response message, and the acknowledgment message of the session request response message carries the SDP response information, the embodiment only needs to adjust the time when the network adds the address information of the session intermediate node to the session path: When receiving the confirmation message of the session request response message and the session request response message, the address information of the session intermediate node is added to the session path.
参照图 2 , 图 2示出了本发明方法第二实施例的实现流程。 在该实施例中,给出了参与方在第一对话中向网络发送携带 SDP提供信息 的 SIP消息, 网絡将携带 SDP提供信息、 或 SDP应答信息的 SIP消息发送到会话 中间节点, 由所述会话中间节点将自己加入到所述^舌路径中的方法的示例。 该流程包括以下步骤: Referring to Figure 2, there is shown an implementation flow of a second embodiment of the method of the present invention. In this embodiment, the participant sends a SIP message carrying the SDP providing information to the network in the first session, and the network sends the SIP message carrying the SDP providing information or the SDP response information to the session intermediate node, where An example of a method in which a session intermediate node adds itself to the tongue path. The process includes the following steps:
1. 会话参与方 A向网络 A发送增加消息会话请求消息, 消息中携带 SDP 提供信息。  1. The session participant A sends an add message session request message to the network A, and the message carries the SDP information.
a. 网络 A向会话中间节点 A发送会话请求消息, 消息中的目的地地址信 息 为 会话 中 间 节 点 A 的 地址信 息 , 例 如 : Request-uri 为 application_A@homeA.net, 消息中携带会话参与方 A的 SDP提供信息。  a. The network A sends a session request message to the session intermediate node A. The destination address information in the message is the address information of the session intermediate node A, for example: Request-uri is application_A@homeA.net, and the message carries the session participant A. The SDP provides information.
b. 会话中间节点 A向网络 A转发会话请求消息, 消息中携带会话中间节 点 A修改后的 SDP提供信息。  The session intermediate node A forwards the session request message to the network A, and the message carries the modified SDP providing information of the session intermediate node A.
2. 会话中间节点 A将自己的地址信息加入到 SDP提供信息中, 并将修改 后的消息发送给网络 B。  2. Session intermediate node A adds its own address information to the SDP provisioning information, and sends the modified message to Network B.
c. 网络 B向会话中间节点 B发送会话请求消息, 消息中的目的地址信息 为会话中间节点 B的地址信息 ,例如: Request-uri为 application_B@homeB.net, 消息中携带 SDP提供信息。  c. The network B sends a session request message to the session intermediate node B. The destination address information in the message is the address information of the session intermediate node B. For example, the request-uri is application_B@homeB.net, and the message carries the information provided by the SDP.
d.会话中间节点 B向网络 B发送会话请求消息, 消息中携带会话中间节 点 B修改后的 SDP提供信息。  d. The session intermediate node B sends a session request message to the network B, and the message carries the modified SDP providing information of the session intermediate node B.
3. 网絡 B将会话中间节点 B的地址信息加入到 SDP提供信息中, 并将 修改后的消息发送给会话参与方 B。  3. Network B adds the address information of the session intermediate node B to the SDP providing information, and sends the modified message to the session participant B.
4. 会话参与方 B向网络 B发送成功响应消息, 消息中携带 SDP应答信 e. 网络 B向会话中间节点 B发送成功响应消息, 消息中携带会话参与方 B的 SDP应答信息。  The session participant B sends a success response message to the network B, and the message carries the SDP response message. e. The network B sends a success response message to the session intermediate node B, where the message carries the SDP response information of the session participant B.
f. 会话中间节点 B向网络 B发送成功响应消息的确认消息。  f. The session intermediate node B sends a confirmation message of the success response message to the network B.
5. 网络 B向会话参与方 B发送 ACK响应消息。  5. Network B sends an ACK response message to session participant B.
6. 会话参与方 B向会话中间节点 B建立 TCP连接;或者会话中间节点 B 向会话参与方 B建立 TCP连接。  6. Session participant B establishes a TCP connection to session intermediate node B; or session intermediate node B establishes a TCP connection to session participant B.
g. 会话中间节点 B向网络 B发送成功响应消息, 消息中将会话中间节点 B的地址信息加入到 SDP应答信息中。 g. The session intermediate node B sends a success response message to the network B, and the session intermediate node The address information of B is added to the SDP response message.
7. 网络 B向网络 A发送成功响应消息,响应消息中将会话中间节点 B的 地址信息加入到 SDP应答信息中。  7. The network B sends a success response message to the network A, and the address information of the session intermediate node B is added to the SDP response message in the response message.
h. 网络 A向会话中间节点 A转发成功响应消息。  h. Network A forwards the success response message to session intermediate node A.
i.会话中间节点 A向网络 A发送响应消息。  i. Session intermediate node A sends a response message to network A.
8. 网络 A向网络 B发送 ACK消息。  8. Network A sends an ACK message to Network B.
j. 网络 B向会话中间节点 B发送响应消息。  j. Network B sends a response message to session intermediate node B.
9.网络 A将会话中间节点 B的地址信息通过消息传送给会话中间节点 A, 会话中间节点 A向会话中间节点 B建立 TCP连接;或者会话中间节点 B向会 话中间节点 A建立 TCP连接。  9. Network A transmits the address information of the session intermediate node B to the session intermediate node A through a message, and the session intermediate node A establishes a TCP connection to the session intermediate node B; or the session intermediate node B establishes a TCP connection to the session intermediate node A.
10. 网络 A向会话参与方 A发送成功响应消息, 所述成功响应消息中将 会话中间节点 A的地址信息加入到 SDP应答信息中。  10. The network A sends a success response message to the session participant A, and the address information of the session intermediate node A is added to the SDP response message in the success response message.
11. 会话参与方 A收到成功响应消息后, 向网络 A发送 ACK消息。  11. After the session participant A receives the success response message, it sends an ACK message to Network A.
12. 会话参与方 A和会话中间节点 A建立 TCP连接; 或者会话中间节点 A向会话参与方 A建立 TCP连接。  12. Session participant A and session intermediate node A establish a TCP connection; or session intermediate node A establishes a TCP connection to session participant A.
13. 会话参与方 A向会话中间节点 A发送消息会话中传递的数据信息。 13. Session participant A sends the data information passed in the message session to session intermediate node A.
14. ^舌中间节点 A向会话中间节点 B发送消息会话中传递的数据信息。14. The tongue intermediate node A sends the data information passed in the message session to the session intermediate node B.
15. 会话中间节点 B向会话参与方 B发送消息会话中传递的数据信息。 16 - 18. 会话参与方 B反馈成功响应消息。 15. Session intermediate node B sends the data information passed in the message session to session participant B. 16 - 18. Session participant B feedback success response message.
若在会话请求响应消息中携带 SDP提供信息, 并且在会话请求响应消息的 确认消息携带 SDP应答信息,本实施例只需要调整网络将会话中间节点的地址 信息增加到会话路径中的时机:网络在收到会话请求响应消息时向会话中间节 点发送 ^舌请求消息,会话中间节点将自己加入到会话路径中; 网络在收到会 话请求响应消息的确认消息时向^舌中间节点发送^舌请求响应消息,会话中 间节点将自己加入到会话路径中。  If the SDP providing information is carried in the session request response message, and the acknowledgment message of the session request response message carries the SDP ACK message, the embodiment only needs to adjust the time when the network adds the address information of the session intermediate node to the session path: When receiving the session request response message, the message is sent to the session intermediate node, and the session intermediate node adds itself to the session path; when the network receives the confirmation message of the session request response message, the network sends a tongue request response to the intermediate node of the tongue. Message, the session intermediate node adds itself to the session path.
参照图 3, 图 3示出了本发明方法第三实施例的实现流程。  Referring to Figure 3, there is shown an implementation flow of a third embodiment of the method of the present invention.
在该实施例中,给出了参与方在第一对话中向网络发送携带 SDP提供信息 的 SIP消息, 网络将携带 SDP提供信息、 或 SDP应答信息的 SIP消息发送到^舌 中间节点, 由所述会话中间节点将自己加入到所述 舌路径中的方法的示例。 假设将建立会话参与方 A和会话参与方 B所在的非消息会话的网絡 A和网 络 B之间的 SIP对话设为: Call-ID为 425928@homeA.net, to-tag为 7742, from-tag 为 6472。 该流程包括以下步骤: In this embodiment, the participant sends a SIP message carrying the SDP providing information to the network in the first session, and the network sends the SIP message carrying the SDP providing information or the SDP response information to the intermediate node of the tongue. An example of a method in which a session intermediate node adds itself to the tongue path. Assume that the SIP session between the network A and the network B that establishes the non-message session where the session participant A and the session participant B are located is set as: Call-ID is 425928@homeA.net, to-tag is 7742, from-tag For 6472. The process includes the following steps:
1. 同图 1所示实施例中步骤 1。  1. Same as step 1 in the embodiment shown in Figure 1.
2. 网络 A发送会话请求消息, 网络 A将非消息会话的消息路径中网络 B 中实体的地址信息, 或者将网络 B 能够识别的地址信息作为消息会话请求消 息的目的地地址,在所述会话请求消息中携带用所述会话请求消息的路径替换 原有消息路径的信息, 在所述会话请求消息中携带会话参与方 A的媒体信息, 其中包含消息 ^舌协商信息, 网絡 A根据触发规则将所述会话请求消息发送 到会话中间节点 A, 所述会话请求消息携带的 SDP提供信息如实施例 101 中 的步骤 1 , 会话请求消息携带的其他信息示例如下:  2. Network A sends a session request message, and network A uses the address information of the entity in network B in the message path of the non-message session, or the address information that network B can recognize as the destination address of the message session request message, in the session. The request message carries the information of the original message path by using the path of the session request message, and the session request message carries the media information of the session participant A, where the message includes the message negotiation information, and the network A according to the trigger rule The session request message is sent to the session intermediate node A. The SDP providing information carried in the session request message is as follows: Step 1 in Embodiment 101, and other information carried in the session request message is as follows:
INVITE sip: application— B@homeB.net SIP/2.0  INVITE sip: application— B@homeB.net SIP/2.0
To: < application_B @ omeB .net > To: < application_B @ omeB .net >
From: < application— A@homeB.net >;tag=7744  From: < application— A@homeB.net >;tag=7744
Replaces: 425928@homeA.net;to-tag=7742;firom-tag=6472  Replaces: 425928@homeA.net;to-tag=7742;firom-tag=6472
3.会话中间节点 A将自己的地址信息加入到 SDP提供信息中,会话中间 节点 A向网络 A转发修改后的会话请求消息, 所述请求消息中携带会话中间 节点 A修改后的 SDP提供信息如图 1所示实施例中的步骤 2。 3. The session intermediate node A adds its own address information to the SDP providing information, and the session intermediate node A forwards the modified session request message to the network A, where the request message carries the modified SDP providing information of the session intermediate node A. Step 2 in the embodiment shown in Figure 1.
4 ~ 5. 网络 A将^ ^请求消息发送到网络 B,网络 B根据触发规则将该会 话请求消息转发到会话中间节点 B。  4 ~ 5. Network A sends a ^^ request message to network B, which forwards the session request message to session intermediate node B according to the triggering rule.
6. 会话中间节点 B将自己的地址信息加入到 SDP提供信息中, 会话中间 节点 B向网络 B转发修改后的会话请求消息, 该会话请求消息中携带^舌中 间节点 B修改后的 SDP提供信息, 如图 1所示实施例中的步骤 3。  6. The session intermediate node B adds its own address information to the SDP providing information, and the session intermediate node B forwards the modified session request message to the network B, where the session request message carries the modified SDP providing information of the intermediate node B. , step 3 in the embodiment shown in FIG.
7. 网络 B根据会话请求消息中携带的用所述会话请求消息的路径替换原 有消息路径的信息在原有对话中向网絡 A发送释放对话消息, 用所述会话请 求消息创建的对话替换原有消息路径中的对话。  7. The network B sends the release conversation message to the network A in the original conversation according to the information of the original message path that is replaced by the path of the session request message carried in the session request message, and replaces the original conversation with the session created by the session request message. The conversation in the message path.
8. 同图 1所示实施例中的步驟 3。 9 ~ 13. 会话参与方 B向网络 B发送成功响应消息, 网络 B向会话中间节 点 B转发所述成功响应消息, 会话中间节点 B将自己加入到所述成功响应消 息中携带的 SDP应答信息中,会话中间节点 B和会话参与方 B建立 TCP连接, 所述成功响应消息携带的消息会话协商结果信息,如图 1所示实施例中的步骤 4。 8. Step 3 in the same embodiment as shown in FIG. 9~ 13. The session participant B sends a success response message to the network B, and the network B forwards the success response message to the session intermediate node B, and the session intermediate node B adds itself to the SDP response message carried in the success response message. The session intermediate node B and the session participant B establish a TCP connection, and the message session negotiation result information carried in the success response message is as shown in step 4 in the embodiment shown in FIG.
14 - 19. 会话中间节点 B向会话中间节点 A发送成功响应消息, 会活中 间节点 A和会话中间节点 B建立 TCP连接, 所述成功响应消息携带的消息会 话协商结果信息, 如图 1所示实施例中的步骤 7。  14 - 19. The session intermediate node B sends a success response message to the session intermediate node A, and the intermediate node A and the session intermediate node B establish a TCP connection, and the message session negotiation result information carried in the success response message is as shown in FIG. Step 7 in the embodiment.
20 - 24. 会话中间节点 A向网络 A发送成功响应消息, 网络 A向^舌参 与方 A转发该成功响应消息, 会话中间节点 A将自己加入到所述成功响应消 息中携带的 SDP应答信息中,会话中间节点 A和会话参与方 A建立 TCP连接, 所述成功响应消息携带的 SDP应答信息, 如图 1所示实施例中的步骤 10。  20 - 24. The session intermediate node A sends a success response message to the network A, and the network A forwards the success response message to the tongue participant A, and the session intermediate node A adds itself to the SDP response message carried in the success response message. The session intermediate node A and the session participant A establish a TCP connection, and the SDP response information carried in the success response message is as shown in step 10 in the embodiment shown in FIG.
25 - 30. 同图 1所示实施例中的步骤 13 ~ 18。  25 - 30. Steps 13 ~ 18 in the same embodiment as shown in Figure 1.
在上述各实施例中 ,将会话中间节点地址信息加入到消息^^路径中的操 作可以由代理呼叫会话控制功能实体, 或者服务呼叫会话控制功能实体, 或者 应用服务器完成。  In the above embodiments, the operation of adding the session intermediate node address information to the message path may be performed by the proxy call session control function entity, or the serving call session control function entity, or the application server.
下面以 IMS系统为例, 分别对此进行详细说明。  The following is an example of the IMS system, which is described in detail.
参照图 4, 图 4示出了现有技术中 IMS的系统结构:  Referring to Figure 4, Figure 4 shows the system architecture of the IMS in the prior art:
其中, CSCF实体用于控制用户注册、 会话控制等功能, 包括: S-CSCF实 体 41和 P-CSCF实体 42; AS ( Application Server, 应用服务器) 43用于提供各 种业务逆辑控制功能; HSS ( Home Subscriber Server, 归属用户服务器) 44用 于集中管理用户签约数据; MGCF ( Media Gateway Control Function, 媒体网 关控制功能) 实体 45用于实现与电路交换网互通; 用户通过代理节点 P-CSCF 接入 IMS;会话和业务触发控制及与 AS的业务控制交互则由其注册地的归属域 服务节点 S-CSCF完成。  The CSCF entity is used to control functions such as user registration and session control, and includes: an S-CSCF entity 41 and a P-CSCF entity 42; an AS (Application Server) 43 is used to provide various service inverse control functions; (Home Subscriber Server, Home Subscriber Server) 44 is used to centrally manage user subscription data; MGCF (Media Gateway Control Function) entity 45 is used to implement interworking with the circuit switched network; the user accesses through the proxy node P-CSCF The IMS; session and service trigger control and the service control interaction with the AS are completed by the home domain service node S-CSCF of its place of registration.
基于 IMS系统, 会话中间节点可以在 P-CSCF实体上, 也可以在 S-CSCF实 体上, 还可以在 AS上或系统内其他功能实体上。  Based on the IMS system, the session intermediate node can be on the P-CSCF entity, on the S-CSCF entity, or on the AS or other functional entities in the system.
参照图 5 , 图 5示出了本发明方法的第四实施例的实现流程。 在该实施例中,给出了会话参与方在第一对话中向网络发送携带 SDP提供 信息的 SIP消息, 网络将携带 SDP提供信息、 或 SDP应答信息的 SIP消息发送到 会话中间节点,由所述会话中间节点将自己加入到所述会话路径中的方法的示 例。 该流程包括以下步骤: Referring to Figure 5, there is shown an implementation flow of a fourth embodiment of the method of the present invention. In this embodiment, the session participant is sent a SIP message carrying the SDP providing information to the network in the first session, and the network sends the SIP message carrying the SDP providing information or the SDP response information to the session intermediate node. An example of a method in which a session intermediate node adds itself to the session path. The process includes the following steps:
1' ~ 10'. 会话参与方 A向网络 送非消息会话请求消息, 网络 A将该非消 息会话请求消息转发到作为消息会话中间节点的 AS-A, AS-A将该非消息会话 请求消息转发到网络 B , 网絡 B将该非消息会话请求消息转发到作为消息会话 中间节点的 AS-B, AS-B将该非消息会话请求消息转发到会话参与方 B, 参与 方 B向参与方 A反馈成功响应消息, 并建立第一对话的消息路径, 作为消息会 话中间节点的 AS-A和 AS-B都在第一对话的消息路径中。  1' ~ 10'. The session participant A sends a non-message session request message to the network, and the network A forwards the non-message session request message to the AS-A as the intermediate node of the message session, and the AS-A sends the non-message session request message. Forwarding to the network B, the network B forwards the non-message session request message to the AS-B as the intermediate node of the message session, and the AS-B forwards the non-message session request message to the session participant B, the participant B to the participant A The success response message is fed back, and the message path of the first session is established, and both AS-A and AS-B, which are intermediate nodes of the message session, are in the message path of the first session.
1 ~ 2. 会话参与方 A在第一对话中向网络 A发送消息会话请求消息, 在该 消息中携带消息^舌信息, 网络 A将所述消息会话请求消息转发到 AS-A。  1 ~ 2. The session participant A sends a message session request message to the network A in the first session, and carries the message information in the message, and the network A forwards the message session request message to the AS-A.
3. 作为消息会话中间节点的为会话参与方 A服务的 AS-A将自己的消息会 话地址信息加入到消息会话请求消息携带的 SDP提供信息中, 并将修改后的会 话请求消息发送到网络 B, 消息中携带修改后的 SDP提供信息。  3. The AS-A serving as the session session intermediate node for the session participant A adds its own message session address information to the SDP providing information carried in the message session request message, and sends the modified session request message to the network B. The message carries the modified SDP providing information.
4〜5. 作为消息会话中间节点的为会话参与方 B服务的 AS-B将自己的消息 会话地址信息加入到消息会话请求消息携带的 SDP提供信息中,并将修改后的 消息会话请求消息发送到会话参与方  4~5. The AS-B serving as the session participant intermediate node for the session participant B adds its own message session address information to the SDP providing information carried in the message session request message, and sends the modified message session request message. To the session participants
6-10. 会话参与方 B反馈成功响应消息, AS-B将自己的消息会话地址信息 加入到该成功响应消息携带的 SDP应答信息中,并将修改后的成功响应消息发 送到 AS-A, AS-B和参与方 B建立 TCP连接。  6-10. The session participant B feeds back the success response message, and the AS-B adds its own message session address information to the SDP response message carried in the success response message, and sends the modified success response message to the AS-A. AS-B establishes a TCP connection with Participant B.
11 - 14. AS-A将自己的消息会话地址信息加入到所述成功响应消息携带 的 SDP应答信息中, 并将修改后的成功响应消息发送到会话参与方 A, AS-A和 AS-B建立 TCP连接。  11 - 14. AS-A adds its own message session address information to the SDP response message carried in the success response message, and sends the modified success response message to session participants A, AS-A and AS-B. Establish a TCP connection.
15-17. 会话参与方 A和 AS-A建立 TCP连接。  15-17. Session Participant A establishes a TCP connection with AS-A.
18-23. AS-A和 AS-B终结并且转发会话参与方 A和会话参与方 B在消息会 话中发送的消息信息。  18-23. AS-A and AS-B terminate and forward the message information sent by session participant A and session participant B in the message session.
实施例中的 AS还可以为 P-CSCF、 或者 S-CSCF。 若在会话请求响应消息中携带 SDP提供信息,并且在会话请求响应消息的 确认消息携带 SDP应答信息,本实施例只需要调整网络将会话中间节点的地址 信息增加到会话路径中的时机:网络在收到会话请求响应消息时将会话中间节 点加入到会话路径中;网络在收到会话请求响应消息的确认消息时将会话中间 节点加入到会话路径中。 The AS in the embodiment may also be a P-CSCF, or an S-CSCF. If the SDP providing information is carried in the session request response message, and the acknowledgment message of the session request response message carries the SDP response information, the embodiment only needs to adjust the time when the network adds the address information of the session intermediate node to the session path: The session intermediate node is added to the session path when receiving the session request response message; the network adds the session intermediate node to the session path when receiving the confirmation message of the session request response message.
参照图 6, 图 6示出了本发明方法的第五实施例的实现流程。  Referring to Figures 6, Figure 6 shows an implementation flow of a fifth embodiment of the method of the present invention.
在该实施例中, 给出了会话参与方向网络发送携带 SDP提供信息的 SIP消 息, 所述 SIP消息建立第二对话, 网络收到所述 SIP消息后, 由代理呼叫会话控 制功能实体、 和 /或服务呼叫会话控制功能实体将会话中间节点加入到会话路 径中的方法的示例。 该流程包括以下步骤:  In this embodiment, the session participation direction network sends a SIP message carrying the SDP providing information, and the SIP message establishes a second session. After the network receives the SIP message, the proxy call session control function entity, and/ An example of a method in which a serving call session control function entity adds a session intermediate node to a session path. The process includes the following steps:
1. 会话参与方 A向 S-CSCF-A发送消息会话请求消息。  1. Session participant A sends a message session request message to S-CSCF-A.
2. S-CSCF-A将自己的消息会话地址信息加入到消息会话请求消息携带 的 SDP提供信息中, 并将修改后的 ^舌请求消息发送到 S-CSCF-B。  2. The S-CSCF-A adds its own message session address information to the SDP providing information carried in the message session request message, and sends the modified message request message to the S-CSCF-B.
3. S-CSCF-B将自己的消息会话地址信息加入到消息会话请求消息携带的 SDP提供信息中, 并将修改后的消息会话请求消息发送到会话参与方 B。  3. The S-CSCF-B adds its own message session address information to the SDP providing information carried in the message session request message, and sends the modified message session request message to the session participant B.
4 ~ 5. 会话参与方 B反馈成功响应消息, S-CSCF-B将自己的消息会话 地址信息加入到所述成功响应消息携带的 SDP应答信息中, 并将修改后的成 功响应消息发送到 S-CSCF-A。  4~ 5. The session participant B feeds back the success response message, and the S-CSCF-B adds its own message session address information to the SDP response message carried in the success response message, and sends the modified success response message to the S. -CSCF-A.
6 ~ 9. S-CSCF-A将自己的消息会话地址信息加入到所述成功响应消息携 带的 SDP应答信息中, 并将修改后的成功响应消息发送到会话参与方 A。  6~ 9. The S-CSCF-A adds its own message session address information to the SDP response message carried by the success response message, and sends the modified success response message to the session participant A.
10. 会话参与方 A和 S-CSCF-A之间建立 TCP连接。  10. A TCP connection is established between session participant A and S-CSCF-A.
11. S-CSCF-A和 S-CSCF-B之间建立 TCP连接。  11. Establish a TCP connection between S-CSCF-A and S-CSCF-B.
12. S-CSCF-B和会话参与方 B之间建立 TCP连接。  12. Establish a TCP connection between S-CSCF-B and session participant B.
13 ~ 18. S-CSCF-A和 S-CSCF-B终结并且转发会话参与方 A和会话参与方 B 在消息会话中发送的消息信息。  13 ~ 18. S-CSCF-A and S-CSCF-B terminate and forward the message information sent by session participant A and session participant B in the message session.
实施例中的 S-CSCF还可以为 P-CSCF。  The S-CSCF in the embodiment may also be a P-CSCF.
若在会话请求响应消息中携带 SDP提供信息,并且在会话请求响应消息的 确认消息携带 SDP应答信息,本实施例只需要调整网络将会话中间节点的地址 信息增加到会话路径中的时机: 代理呼叫会话控制功能实体、 和 /或菔务呼叫 会话控制功能实体在收到会话请求响应消息时将会话中间节点加入到会话路 径中; 代理呼叫会话控制功能实体、 和 /或服务呼叫会话控制功能实体在收到 会话请求响应消息的确认消息时将会话中间节点加入到会话路径中。 If the SDP providing information is carried in the session request response message, and the acknowledgment message of the session request response message carries the SDP ACK message, the embodiment only needs to adjust the timing at which the network adds the address information of the session intermediate node to the session path: proxy call Session control function entity, and/or service call The session control function entity adds the session intermediate node to the session path when receiving the session request response message; the proxy call session control function entity, and/or the service call session control function entity, when receiving the confirmation message of the session request response message The session intermediate node is added to the session path.
上述实施例以 IMS系统为例对本发明实施例的方法作了进一步的说明, 但 本发明实施例并不局限应用于目前所称的 IMS系统网络, 更可应用于基于 IMS 网络架构所发展的其他网络, 只要其满足该网络架构。  The foregoing embodiment further exemplifies the method of the embodiment of the present invention by using the IMS system as an example, but the embodiment of the present invention is not limited to the current IMS system network, and is applicable to other technologies developed based on the IMS network architecture. Network, as long as it meets the network architecture.
以上各实施例中, SIP消息中携带的 SDP提供信息或者 SDP应答信息中 携带的 舌联系节点的地址信息还可以为多个会话联系节点的地址信息列表。  In the foregoing embodiments, the SDP providing information in the SIP message or the address information of the tongue contact node carried in the SDP response information may also be a list of address information of multiple session contacting nodes.
以上各实施例均以消息会话为例对本发明实施例的方法进行了说明,对于 音频会话、 视频会话、 数据会话同样适用这些处理流程, 只需要将会话描述协 议信息修改为音频会话、视频会话、数据会话的会话描述协议信息即可, 具体 过程在此不再赘述。  The above embodiments use the message session as an example to describe the method in the embodiment of the present invention. For the audio session, the video session, and the data session, the processing flow is also applicable, and only the session description protocol information needs to be modified into an audio session and a video session. The session description protocol information of the data session can be used, and the specific process is not described here.
' 以上各实施例中会话中间节点之间以及会话中间节点和会话参与方之间 建立 TCP连接是作为基于 MSRP的消息会话的示例, 用来示例如何在会话中间 节点之间以及 ^舌中间节点和^舌参与方之间建立^舌所需的连接,对于^舌 所需的其他类型的连接可以根据示例进行推导,对于不需要建立连接的会话则 可以省略建立连接的过程。  The establishment of a TCP connection between the session intermediate nodes and between the session intermediate nodes and the session participants in the above embodiments is an example of an MSRP-based message session, which is used to illustrate how to intermediate between session intermediate nodes and intermediate nodes. The connections required by the tongue participants are established. Other types of connections required for the tongue can be derived according to an example. For a session that does not require a connection, the process of establishing a connection can be omitted.
以上各实施例中, 当会话中间节点由 P-CSCF、 或者 S-CSCF、 或者 AS控制 时, 还可以由 P-CSCF、 或者 S-CSCF、 或者 AS和会话中间节点之间进行消息交 互传递会话信息, 再由 P-CSCF、 或者 S-CSCF、 或者 AS将会话中间节点加入到 会话路径中。  In the foregoing embodiments, when the session intermediate node is controlled by the P-CSCF, or the S-CSCF, or the AS, the P-CSCF, or the S-CSCF, or the AS and the session intermediate node may perform a message exchange delivery session. Information, and then the session intermediate node is added to the session path by the P-CSCF, or the S-CSCF, or the AS.
参照图 7, 示出了本发明建立会话的系统第一实施例的原理框图: 该系统 包括: 消息对话实体 71和会话中间节点 72。 其中, 消息对话实体 71用于接 收会话参与方在第一对话中发送的携带 SDP提供信息的 SIP消息, 并将会话 中间节点 72加入到会话路径中, 其包括: 消息接收单元 711和会话中间节点 添加单元 712。 其中, 消息接收单元 711用于接收会话参与方在第一对话中发 送的携带会话描述协议 SDP提供信息的 SIP消息;会话中间节点添加单元 712 用于将会话中间节点加入到会话路径中。 会话中间节点 72用于接收、 和 /或转 发所述 ^舌中传递的数据信息。 会话中间节点添加单元 712的一种实现方式如图 7所示, 包括: 地址信息 获取子单元 701和添加子单元 702, 地址信息获取子单元 701用于通过网络配 置获取会话中间节点 72的地址信息,或者与会话中间节点 72进行交互, 获取 其地址信息; 添加子单元 702用于将会话中间节点 72的地址信息添加到 SDP 提供信息、 和 /或 SDP应答信息中。 Referring to Figure 7, a block diagram of a first embodiment of a system for establishing a session of the present invention is shown: The system includes: a message dialogue entity 71 and a session intermediate node 72. The message dialogue entity 71 is configured to receive the SIP message carrying the SDP providing information sent by the session participant in the first session, and add the session intermediate node 72 to the session path, where: the message receiving unit 711 and the session intermediate node Add unit 712. The message receiving unit 711 is configured to receive a SIP message carrying the session description protocol SDP providing information sent by the session participant in the first session; the session intermediate node adding unit 712 is configured to add the session intermediate node to the session path. The session intermediate node 72 is configured to receive, and/or forward, the data information communicated in the tongue. As shown in FIG. 7, the implementation of the session intermediate node adding unit 712 includes: an address information obtaining subunit 701 and an adding subunit 702, and the address information obtaining subunit 701 is configured to obtain the address information of the session intermediate node 72 through the network configuration. Or interacting with the session intermediate node 72 to obtain its address information; the adding sub-unit 702 is configured to add the address information of the session intermediate node 72 to the SDP providing information, and/or the SDP response information.
在该实施例中, 消息对话实体 71 可以是具有其功能的 P-CSCF, 或者 S-CSCF、 或者 AS。  In this embodiment, the message dialogue entity 71 may be a P-CSCF having its function, or an S-CSCF, or an AS.
为此, 本发明实施例还提供一种网络设备, 用于将消息会话中的会话中间 节点的地址信息加入到会话路径中,其结构与图 7中的消息对话实体 71相同, 在此不再赞述。  To this end, the embodiment of the present invention further provides a network device, which is used to add the address information of the session intermediate node in the message session to the session path, and has the same structure as the message dialogue entity 71 in FIG. Praise.
利用该实施例的系统建立会话的详细过程可参照前面本发明实施例的方 法中的描述。  The detailed process of establishing a session using the system of this embodiment can be referred to the description in the method of the previous embodiment of the present invention.
参照图 8, 示出了本发明建立^舌的系统第二实施例的原理框图: 该系统 包括: 消息对话实体 81和会话中间节点 82。 其中, 消息对话实体 81用于接 收会话参与方在第一对话中发送的携带会话描述协议 SDP提供信息的 SIP消 息, 并向会话中间节点 82发送携带 SDP提供信息、 或 SDP应答信息的 SIP 消息; 会话中间节点 82用于将自己加入到会话路径中, 并接收、 和 /或转发所 述会话中传递的数据信息, 其包括: 接收单元 821、 地址添加单元 822和转发 单元 823。 其中, 接收单元 821用于接收消息对话实体 81发送的 SIP消息以 及会话中传递的数据信息; 地址添加单元 822用于将会话中间节点 82的地址 信息加入到会话路径中; 转发单元 823用于转发所述会话中传递的数据信息。  Referring to Figure 8, a block diagram of a second embodiment of a system for establishing a tongue of the present invention is shown: The system includes: a message dialogue entity 81 and a session intermediate node 82. The message dialogue entity 81 is configured to receive a SIP message carrying the session description protocol SDP providing information sent by the session participant in the first session, and send a SIP message carrying the SDP providing information or the SDP response information to the session intermediate node 82. The session intermediate node 82 is configured to add itself to the session path, and receive, and/or forward data information delivered in the session, including: a receiving unit 821, an address adding unit 822, and a forwarding unit 823. The receiving unit 821 is configured to receive the SIP message sent by the message dialogue entity 81 and the data information transmitted in the session; the address adding unit 822 is configured to add the address information of the session intermediate node 82 to the session path; and the forwarding unit 823 is configured to forward Data information passed in the session.
在该实施例中, 消息对话实体 81 可以是具有其功能的 P-CSCF , 或者 S-CSCF、 或者 AS。  In this embodiment, the message conversation entity 81 may be a P-CSCF having its function, or an S-CSCF, or an AS.
可见, 利用本发明实施例的系统, 不仅可以由 AS完成将会话中间节点加 入到了 ^舌路径中的功能, 而且还可以由网絡中的 P-CSCF或者 S-CSCF来完 成该功能, 从而可以使运营商灵活地进行网络部署, 提供更好的会话服务。  It can be seen that, by using the system of the embodiment of the present invention, not only the function of adding the session intermediate node to the tongue path can be completed by the AS, but also the function can be completed by the P-CSCF or the S-CSCF in the network, thereby enabling Operators have the flexibility to deploy networks and provide better session services.
虽然通过实施例描绘了本发明,本领域普通技术人员知道,本发明有许多 变形和变化而不脱离本发明的精神,希望所附的权利要求包括这些变形和变化 而不脱离本发明的精神。  While the invention has been described by the embodiments of the present invention, it will be understood that

Claims

权 利 要 求 Rights request
1、 一种建立会话的方法, 其特征在于, 所述方法包括:  A method for establishing a session, the method comprising:
网络接收会话参与方在第一对话中发送的携带会话描述协议 SDP提供信 息的会话初始协议 SIP消息;  The network receives a session initiation protocol SIP message that is sent by the session participant in the first session and that carries the session description protocol SDP to provide information;
由所述网络或会话中间节点自己将会话中间节点加入到会话路径中; 所述会话中间节点接收并转发所述会话中传递的数据信息。  The session intermediate node is added to the session path by the network or the session intermediate node itself; the session intermediate node receives and forwards the data information delivered in the session.
2、 根据权利要求 1所述的方法, 其特征在于, 所述网络将会话中间节点 加入到会话路径中的步骤包括:  2. The method according to claim 1, wherein the step of the network adding the session intermediate node to the session path comprises:
网络获取会话中间节点的地址信息;  The network acquires address information of the session intermediate node;
根据所述地址信息将会话中间节点加入到会话路径中。  The session intermediate node is added to the session path according to the address information.
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据所述地址信息将 会话中间节点加入到会话路径中的步骤包括:  The method according to claim 2, wherein the step of adding the session intermediate node to the session path according to the address information comprises:
网络将会话中间节点的地址信息加入到 SDP提供信息、和 /或 SDP应答信 息中。  The network adds the address information of the session intermediate node to the SDP providing information, and/or the SDP answer message.
4、 根据权利要求 2所述的方法, 其特征在于, 所述网络获取会话中间节 点的地址信息的步骤包括:  The method according to claim 2, wherein the step of acquiring, by the network, the address information of the session intermediate node comprises:
网络通过网络配置获取会话中间节点的地址信息; 或者  The network obtains the address information of the session intermediate node through the network configuration; or
网络与会话中间节点进行交互, 获取会话中间节点的地址信息。  The network interacts with the session intermediate node to obtain the address information of the session intermediate node.
5、 根据权利要求 4所述的方法, 其特征在于, 所述网络与会话中间节点 进行交互, 获取会话中间节点的地址信息的步骤包括:  The method according to claim 4, wherein the step of the network interacting with the session intermediate node to obtain the address information of the session intermediate node comprises:
网络通过 SIP协议消息、或者 H.248协议消息、或者超文本传输协议 HTTP 消息、 或者传统电路域协议消息、 或者 Diameter协议消息与会话中间节点进 行交互, 获取^舌中间节点的地址信息。  The network interacts with the session intermediate node through a SIP protocol message, or an H.248 protocol message, or a Hypertext Transfer Protocol HTTP message, or a legacy circuit domain protocol message, or a Diameter protocol message, to obtain address information of the intermediate node of the tongue.
6、 根据权利要求 1所述的方法, 其特征在于, 所述会话中间节点自己将 会话中间节点加入到会话路径中的步骤包括:  The method according to claim 1, wherein the step of the session intermediate node adding the session intermediate node to the session path by itself comprises:
网络将携带 SDP提供信息、 或 SDP应答信息的 SIP消息发送到会话中间 节点;  The network sends a SIP message carrying the SDP providing information or SDP response information to the session intermediate node;
所述会话中间节点接收到所述 SIP 消息后, 将自己加入到所述会话路径 中。 After receiving the SIP message, the session intermediate node adds itself to the session path.
7、 根据权利要求 6所述的方法, 其特征在于, 所述会话中间节点将自己 加入到所述会话路径中的步骤包括: 7. The method according to claim 6, wherein the step of the session intermediate node adding itself to the session path comprises:
会话中间节点将自己的地址信息加入到 SDP提供信息、和 /或 SDP应答信 息中。  The session intermediate node adds its own address information to the SDP provisioning information, and/or SDP response information.
8、 根据权利要求 1所述的方法, 其特征在于, 所述将会话中间节点加入 到会话路径中的功能实体为:  8. The method according to claim 1, wherein the functional entity that adds the session intermediate node to the session path is:
代理呼叫会话控制功能实体、或者服务呼叫会话控制功能实体、或者应用 服务器。  The proxy call session control function entity, or the service call session control function entity, or the application server.
9、 根据权利要求 1所述的方法, 其特征在于, 所述会话中间节点接收并 转发所述会话中传递的数据信息的步驟包括:  The method according to claim 1, wherein the step of receiving, by the session intermediate node, the data information transmitted in the session is:
所述会话中间节点建立会话通道;  The session intermediate node establishes a session channel;
会话参与方在会话中传递的数据信息通过所述会话通道到达会话中间节 点;  Data information passed by the session participant in the session reaches the session intermediate node through the session channel;
所述会话中间节点接收并转发所述会话通道中传递的数据信息。  The session intermediate node receives and forwards data information transmitted in the session channel.
10、 一种建立会话的方法, 其特征在于, 所述方法包括步骤:  10. A method of establishing a session, the method comprising the steps of:
网络接收会话参与方发送的携带会话描述协议 SDP提供信息的会话初始 协议 SIP消息, 所述 SIP消息用于建立第二对话;  The network receives a session initiation protocol SIP message that is sent by the session participant and carries the session description protocol SDP to provide information, and the SIP message is used to establish a second session;
网絡收到所述 SEP消息后, 由代理呼叫会话控制功能实体、 和 /或服务呼 叫会话控制功能实体将会话中间节点加入到会话路径中;  After receiving the SEP message, the network joins the session intermediate node to the session path by the proxy call session control function entity and/or the service call session control function entity;
所述会话中间节点接收并转发所述会话中传递的数据包。  The session intermediate node receives and forwards data packets delivered in the session.
11、 根据权利要求 10所述的方法, 其特征在于, 所述网络收到所述 SIP 消息后, 由代理呼叫会话控制功能实体、 和 /或服务呼叫会话控制功能实体将 ^舌中间节点加入到 ^^路径中的步骤包括:  The method according to claim 10, wherein, after the network receives the SIP message, the proxy call session control function entity and/or the service call session control function entity add the intermediate node to The steps in the ^^ path include:
代理呼叫会话控制功能实体、 和 /或服务呼叫会话控制功能实体将会话中 间节点的地址信息加入到 SDP提供信息、 和 /或 SDP应答信息中。  The proxy call session control function entity, and/or the service call session control function entity adds the address information of the session intermediate node to the SDP offer information, and/or the SDP answer message.
12、 根据权利要求 11所述的方法, 其特征在于, 所述会话中间节点接收 并转发所述会话中传递的数据包的步骤包括:  The method according to claim 11, wherein the step of receiving, by the session intermediate node, the data packet delivered in the session comprises:
所述会话中间节点建立会话通道;  The session intermediate node establishes a session channel;
会话参与方在会话中传递的数据信息通过所述会话通道到达会话中间节 '占 . The data information passed by the session participant in the session reaches the session middle section through the session channel 'Take up.
所述会话中间节点接收并转发所述会话通道中传递的数据信息。  The session intermediate node receives and forwards data information transmitted in the session channel.
13、 一种建立会话的系统, 其特征在于, 包括: 消息对话实体和会话中间 节点,  13. A system for establishing a session, comprising: a message conversation entity and a session intermediate node,
所述消息对话实体,用于接收会话参与方在第一对话中发送的携带会话描 述协议 SDP提供信息的会话初始协议 SIP消息, 并将所述会话中间节点加入 到会话路径中, 其包括:  The message conversation entity is configured to receive a session initiation protocol SIP message that is sent by the session participant in the first session and that carries the session description protocol SDP providing information, and adds the session intermediate node to the session path, and includes:
消息接收单元,用于接收会话参与方在第一对话中发送的携带会话描述协 议 SDP提供信息的 SIP消息;  a message receiving unit, configured to receive a SIP message that is sent by the session participant in the first session and that carries the session description protocol SDP providing information;
会话中间节点添加单元, 用于将所述会话中间节点加入到会话路径中; 所述会话中间节点, 用于接收、 和 /或转发所述会话中传递的数据信息。 a session intermediate node adding unit, configured to add the session intermediate node to the session path, where the session intermediate node is configured to receive, and/or forward data information delivered in the session.
14、 根据权利要求 13所述的系统, 其特征在于, 所述^舌中间节点添加 单元包括: The system according to claim 13, wherein the intermediate node adding unit comprises:
地址信息获取子单元,用于通过网络配置获取所述会话中间节点的地址信 息, 或者与所述会话中间节点进行交互, 获取所述会话中间节点的地址信息; 添加子单元,用于将所述会话中间节点的地址信息添加到 SDP提供信息、 和 /或 SDP应答信息中。  An address information obtaining subunit, configured to acquire address information of the session intermediate node by using a network configuration, or interact with the session intermediate node to obtain address information of the session intermediate node; and add a subunit for using the The address information of the session intermediate node is added to the SDP providing information, and/or the SDP response information.
15、根据权利要求 13或 14所述的系统, 其特征在于, 所述消息对话实体 为: 代理呼叫会话控制功能实体、 或者服务呼叫会话控制功能实体、 或者应用 服务器。  The system according to claim 13 or 14, wherein the message conversation entity is: a proxy call session control function entity, or a service call session control function entity, or an application server.
16、 一种建立会话的系统, 其特征在于, 包括: 消息对话实体和会话中间 节点,  16. A system for establishing a session, comprising: a message conversation entity and a session intermediate node,
所述消息对话实体,用于接收会话参与方在第一对话中发送的携带会话描 述协议 SDP提供信息的会话初始协议 SIP消息, 并向所述会话中间节点发送 携带 SDP提供信息、 或 SDP应答信息的 SIP消息;  The message dialogue entity is configured to receive a session initiation protocol SIP message that is sent by the session participant in the first session and that carries the session description protocol SDP, and sends the SDP providing information or the SDP response message to the session intermediate node. SIP message;
所述会话中间节点, 用于将自己加入到会话路径中, 并接收、 和 /或转发 所述会话中传递的数据信息, 其包括:  The session intermediate node is configured to add itself to the session path, and receive, and/or forward data information delivered in the session, including:
接收单元,用于接收所述消息对话实体发送的 SIP消息以及会话中传递的 数据信息; 地址添加单元, 用于将所述会话中间节点的地址信息加入到会话路径中; 转发单元, 用于转发所述会话中传递的数据信息。 a receiving unit, configured to receive a SIP message sent by the message conversation entity and data information delivered in the session; An address adding unit, configured to add address information of the session intermediate node to the session path, and a forwarding unit, configured to forward data information delivered in the session.
17、 根据权利要求 16所述的系统, 其特征在于, 所述消息对话实体为: 代理呼叫会话控制功能实体、或者服务呼叫会话控制功能实体、或者应用服务 器。  The system according to claim 16, wherein the message conversation entity is: a proxy call session control function entity, or a service call session control function entity, or an application server.
18、一种网络设备,用于将消息会话中的会话中间节点的地址信息加入到 会话路径中, 其特征在于, 包括:  18. A network device, configured to add address information of a session intermediate node in a message session to a session path, and the method includes:
消息接收单元,用于接收会话参与方在第一对话中发送的携带会话描述协 议 SDP提供信息的会话初始协议 SIP消息;  a message receiving unit, configured to receive a session initiation protocol SIP message that is sent by the session participant in the first session and that carries the session description protocol SDP providing information;
会话中间节点添加单元, 用于将 ^舌中间节点加入到 ^舌路径中。  The session intermediate node adds a unit for adding the intermediate node of the tongue to the tongue path.
19、 根据权利要求 18所述的网络设备, 其特征在于, 所述会话中间节点 添力 p单元包括:  The network device according to claim 18, wherein the session intermediate node adds a power p unit, including:
地址信息获取子单元,用于通过网络配置获取所述会话中间节点的地址信 息, 或者与所述会话中间节点进行交互, 获取所述会话中间节点的地址信息; 添加子单元, 用于将所述会话中间节点的地址信息添加到 SDP提供信息、 和 / 或 SDP应答信息中。  An address information obtaining subunit, configured to acquire address information of the session intermediate node by using a network configuration, or interact with the session intermediate node to obtain address information of the session intermediate node; and add a subunit, where The address information of the session intermediate node is added to the SDP providing information, and/or the SDP answer message.
PCT/CN2007/001877 2006-07-18 2007-06-14 Method, system and network apparatus for setting up session WO2008011790A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200610103305.0 2006-07-18
CN200610103305 2006-07-18
CN 200610109251 CN101110790A (en) 2006-07-18 2006-08-03 Method for establishing conversation
CN200610109251.9 2006-08-03

Publications (1)

Publication Number Publication Date
WO2008011790A1 true WO2008011790A1 (en) 2008-01-31

Family

ID=38981134

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001877 WO2008011790A1 (en) 2006-07-18 2007-06-14 Method, system and network apparatus for setting up session

Country Status (2)

Country Link
CN (1) CN101110790A (en)
WO (1) WO2008011790A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998318A (en) * 2009-08-25 2011-03-30 中兴通讯股份有限公司 IP (Internet Protocol) multi-media subsystem call processing method and device
CN102158926B (en) * 2010-02-12 2015-04-01 中兴通讯股份有限公司 Method and device for processing SDP (Session Description Protocol) request in media path optimizing process
CN103139171B (en) * 2011-11-30 2015-07-01 中国联合网络通信集团有限公司 Media exchanging network system
CN104468556B (en) * 2014-12-01 2018-01-19 华为技术有限公司 The implementation method and equipment of a kind of transmission service
CN106302503A (en) * 2016-08-30 2017-01-04 福建星网智慧科技股份有限公司 A kind of RTP conversation establishing method based on freeswitch platform and system
WO2019088889A1 (en) * 2017-11-02 2019-05-09 Telefonaktiebolaget Lm Ericsson (Publ) Messaging resource function
CN111193894A (en) * 2018-11-14 2020-05-22 中兴通讯股份有限公司 Method and device for establishing data transmission channel, storage medium and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030115332A1 (en) * 2001-05-23 2003-06-19 Bernhard Honeisen Communication of information
KR20040092231A (en) * 2003-04-25 2004-11-03 엘지전자 주식회사 Control Method of Media Channel at SIP Server and The Communication System with Said Method
US20040240399A1 (en) * 2001-10-09 2004-12-02 Angelo Corrao Transcoding arrangement in a session initiation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030115332A1 (en) * 2001-05-23 2003-06-19 Bernhard Honeisen Communication of information
US20040240399A1 (en) * 2001-10-09 2004-12-02 Angelo Corrao Transcoding arrangement in a session initiation
KR20040092231A (en) * 2003-04-25 2004-11-03 엘지전자 주식회사 Control Method of Media Channel at SIP Server and The Communication System with Said Method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3GPP TS 23.228 V5.13.0 IP MULTIMEDIA SUBSYSTEM, 31 December 2004 (2004-12-31) *
ROSENBERG J. ET AL., RFC 3261 SIP: SESSION INITIATION PROTOCOL *

Also Published As

Publication number Publication date
CN101110790A (en) 2008-01-23

Similar Documents

Publication Publication Date Title
US7898990B2 (en) Method, system and gateway device for enabling interworking between IP and CS networks
US20050213580A1 (en) System and method for enforcing policies directed to session-mode messaging
EP1619854A1 (en) SIP message extension for push to watch service
US20040037406A1 (en) Method and system for exchanging instant messages in a multi-party conference call
WO2008089642A1 (en) A method, device and system for transferring terminal information in multimedia subsystem
WO2008085333A2 (en) Dynamic service triggers in communication networks
US20050243746A1 (en) Session inspection scheme
WO2008011790A1 (en) Method, system and network apparatus for setting up session
WO2007098714A1 (en) Apparatus and method for session control
WO2008141562A1 (en) Message service realizing method and system, and message application server
WO2007068206A1 (en) A method and network entity for operating the session capability information
WO2009155824A1 (en) Method and system for implementing color ring back tone and multimedia ring alert tone service
WO2010069176A1 (en) A method for calling a conference when hard terminals have been bound to pc clients, a login server thereof, a conference server thereof and a pc client thereof
WO2008019602A1 (en) Method and system of ip multi-media sub-system charging to users
WO2007095855A1 (en) A method and network entity for negotiating media type parameter
WO2008025216A1 (en) Method and system for realizing release of resource
EP3228057B1 (en) Ims application control protocol
WO2007019777A1 (en) A session establish method and a session control node
WO2007112640A1 (en) A method and an apparatus for replacing the session id, an application server and a method for replacing the session
WO2009046653A1 (en) Method, device and system for policy control
WO2012013094A1 (en) Session establishment method and system based on dialog correlation identifier
WO2009140874A1 (en) Method and device for group-transmitting ims instant messages
WO2008080297A1 (en) A method, equipment and system for relating the session
WO2009135375A1 (en) Call establishing method for realizing the single dialog color ring service
WO2008049371A1 (en) A method and system for transferring service event

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07721450

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07721450

Country of ref document: EP

Kind code of ref document: A1