WO2007019777A1 - A session establish method and a session control node - Google Patents

A session establish method and a session control node Download PDF

Info

Publication number
WO2007019777A1
WO2007019777A1 PCT/CN2006/001855 CN2006001855W WO2007019777A1 WO 2007019777 A1 WO2007019777 A1 WO 2007019777A1 CN 2006001855 W CN2006001855 W CN 2006001855W WO 2007019777 A1 WO2007019777 A1 WO 2007019777A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
media capability
capability
session
gateway
Prior art date
Application number
PCT/CN2006/001855
Other languages
French (fr)
Chinese (zh)
Inventor
Ying Wang
Peng Wang
Baofeng Zhang
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 WO2007019777A1 publication Critical patent/WO2007019777A1/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/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]

Definitions

  • the present invention relates to a communication technology, and more particularly to a session establishment method and a session control node in a case where a terminal capability of a SIP (Session Initiation Protocol) domain is not matched.
  • SIP Session Initiation Protocol
  • BACKGROUND OF THE INVENTION The Session Initiation Protocol is a "standard for Voice over Internet Protocol (VoIP)" released by the Internet Engineering Task Force (IETF) in March 1999.
  • the SIP signaling protocol is used to initiate, manage, and terminate voice and video sessions in a packet network, specifically to generate, modify, and terminate sessions between one or more participants.
  • SIP is an integral part of the IETF multimedia data and control architecture and is therefore associated with many other IETF protocols, such as the Real Time Transfer Protocol (RTP) and the Session Description Protocol (Session Description Protocol). "SDP”) and so on.
  • RTP Real Time Transfer Protocol
  • Session Description Protocol Session Description Protocol
  • SIP mainly provides five aspects related to session establishment and termination:
  • Session establishment "ringing,,, and establishment of call and callee session parameters
  • Session management including transferring and terminating sessions, modifying session parameters, and calling services.
  • SIP has two types of messages:
  • the request message includes:
  • INVITE Initial call.
  • OPTIONS Query the other party's capabilities.
  • REGISTER Register a location service.
  • INPO Sends information in a session without changing the session state.
  • PRACK Same as ACK, but for temporary response.
  • SUBSCRIBE This method is used to subscribe to notifications of changes in status to remote endpoints.
  • NOTIFY This method sends a message to inform the subscriber of the change in the state of the reservation.
  • UPDATE Allows the client to update the parameters of a session without affecting the current state of the session.
  • MESSAGE Instant messaging by hosting instant messaging content in its request body.
  • REFER Its function is to instruct the recipient to contact a third party by using the contact address information provided in the request.
  • the response message contains a numeric response code.
  • the SIP response code set is based in part on the Hyper Text Transfer Protocol ("HTTP") response code.
  • HTTP Hyper Text Transfer Protocol
  • Final response (2XX, 3XX, 4XX, 5XX, 6XX): Final response to terminate SIP Transaction.
  • the SIP that has become the mainstream protocol for the packet domain session service requires the two parties to carry the SDP description through the SIP protocol to negotiate the media capabilities.
  • the process of the call failure due to the mismatch of the capabilities of the SIP terminal is as shown in FIG. 1.
  • the first SIP server is the server to which the user of the first device terminal (TE, Terminal Equipment) belongs
  • the second SIP server is the user of the second device terminal. server.
  • the SIP Invite message sent by the first device terminal is routed to the second device terminal by using the first SIP server and the second SIP server.
  • the second device terminal determines the media capability and the content provided by the first terminal.
  • the 488 message sent by the second device terminal is routed to the first device terminal by the second SIP server and the first SIP server; Steps 107 to 109, the ACK message sent by the first device terminal Routing to the second device terminal via the first SIP server and the second SIP server. It can be understood that the middle may also be routed through other network entities, which will not be described here.
  • the service call session control function (Serving CSCF, referred to as "S-CSCF) that is called by the called user triggers the service to the application server (AppUcation Server, referred to as "AS")
  • AS Application Server
  • MRFC Media Resource Function Controller
  • AS Application Server
  • MRFC Media Resource Function Controller
  • Steps 201 to 203 are that the calling user initiates the initial call, but because the media capability of the called user does not match the media capability 1 provided by the calling user, the AS is triggered by the S-CSCF.
  • Steps 205 to 209 are a process in which the AS initiates a call to the called user and learns from the returned response of the called user that the media capability supported by the called user is 2.
  • Steps 212 to 217 are processes in which the AS calls the MRFC to apply for a media resource for the called user.
  • Steps 218 to 225 are processes for the AS to negotiate with the called user. Since the AS already knows the media capabilities supported by the called user, the negotiation must be successful.
  • Steps 226 to 229 are processes in which the AS calls the MRFC to apply for the media resource for the calling user.
  • Steps 231 to 235 are the process of the capability negotiation between the AS and the calling user. Since the AS already knows the media capabilities supported by the calling user, Therefore the consultation must be successful.
  • the AS returns a response to the MRFC through the S-CSCF (step 236), the quality of service negotiation process of the primary and the called user is performed. It can be seen that in the prior art, the AS and the called user are respectively negotiated with the media capabilities by the AS, so that the calling and called users can establish a call. That is, the call is divided into two segments from the session control layer.
  • the previous segment is from the calling user to the AS, and the latter segment is from the AS to the called user.
  • the AS works in the Back to Back User Agent (B2BUA) mode.
  • B2BUA Back to Back User Agent
  • the media stream is also divided into two segments, the previous segment from the calling terminal to the MRFP, and the latter segment from the MRFP to the called terminal.
  • the above solution has the following problems: In the case that the terminal capabilities of the primary and the called user do not match, the entire session process has many steps, and the session establishment time is relatively long.
  • the main reason for this situation is that the entire session must be triggered by the S-CSCF, the call is established in two segments, the media negotiation is also carried out separately, and the mediation between the calling terminal/called terminal and the MRPP is required.
  • the AS is divided into two segments to negotiate with the calling/called user and the MRFC, respectively.
  • the Offer/Answer negotiation is performed four times during the session establishment process of the primary and called users, and the Offer/Answer negotiation has a long route and many intermediate nodes, so the Offer/Answer negotiation The efficiency is lower.
  • the AS requests two resources for the called user and the calling user respectively. Therefore, the time ratio of session establishment Longer.
  • the present invention provides a session establishment method and a session control node, which improves session establishment efficiency on the premise of maximizing the success of a session.
  • the present invention provides a session establishment method, including the following steps: When a session control node having a media control capability forwards a request to establish a session message, the parameter of the media capability additionally provided by the gateway controlled by the node is added to the message.
  • the media capabilities of the calling terminal are concentrated, wherein the newly added media capability is that the original media capability is not concentrated but can be converted with the original media capability centralized media capability through the gateway; the session control node transmits the pair backwards.
  • the message of the session establishment media message carrying the response message of the called terminal media capability set is clear, if the first media capability with the highest priority of the called terminal media capability concentration of the called terminal is to be provided by the gateway controlled by the local node, Selecting a second media capability with the highest priority and being mutually convertible by the gateway and the first media capability, and recording the highest priority media capability in the response message.
  • the message requesting to establish a session and the response message thereof are session initiation protocol messages; in the message requesting to establish a session and the response message thereof, the media capability set of the primary and the called terminal is respectively described by a session description protocol.
  • the message requesting to establish a session is an "Invite” message; the response message is a "180 Ringing” or "183 Session Progress” message.
  • the session control node with media control capability may be a media resource function controller;
  • the gateway may be a media resource function processor.
  • the session control node transmits a response message to the message requesting to establish a session, if the media capability of the called terminal carried by the response message is determined
  • the first media capability with the highest priority should be provided by the gateway controlled by the node, and further includes the following steps: deleting or placing the media capability of the called terminal with the media capability other than the second media capability Lower priority.
  • the priority of the newly added media capability is lower than the priority of each media capability of the original calling terminal media capability set in the message requesting the session establishment.
  • the session control node when the session control node transmits a response message to the message requesting to establish a session, if it is determined that the media content of the called terminal with the highest priority of the media content of the called terminal is It should be provided by the gateway controlled by the local node, and further includes the following steps: requesting the gateway to reserve resources for implementing conversion between media corresponding to the first and second media capabilities.
  • the route of the calling terminal user to the called terminal user may pass through one or more of the session control nodes with media control capabilities.
  • the gateway when the session control node transmits a response message to the message requesting to establish a session, if it is determined that the media content of the called terminal with the highest priority of the media content of the called terminal is It should not be provided by the gateway controlled by the node, and further includes the following steps: transparently transmitting the called terminal media capability set, or at least partially according to the record, the called terminal media capability should be centralized by each node provided by the node The media ability is removed and passed down.
  • the gateway when the media stream of the session is established, the gateway forwards the media corresponding to the second media capability to the media corresponding to the first media capability, and The media corresponding to one media capability is converted into the media corresponding to the second media capability.
  • the present invention also provides a session control node, including: a media capability adding unit, configured to additionally provide media capabilities of a gateway controlled by the node
  • the first media capability determining unit is configured to determine whether the first media capability with the highest media priority of the called terminal media capability set by the response message sent by the forward transmission of the node should be controlled by the local node.
  • the session control node further includes: a priority setting unit, configured to: when the media capability adding unit adds the media capability additionally provided by the gateway controlled by the node to the media capacity of the calling terminal carried by the message, The priority of the additionally provided media capabilities is lower than the priority of the media capabilities of the original calling terminal media capability set in the message.
  • the session control node further includes: a media capability processing unit, configured to determine, by the first media capability determining unit, that the first media capability with the highest media priority of the called terminal carried by the response message is controlled by the local node
  • a media capability processing unit configured to determine, by the first media capability determining unit, that the first media capability with the highest media priority of the called terminal carried by the response message is controlled by the local node
  • the media capabilities of the called terminal media capability carried in the response message are deleted or placed at a lower priority than the media capabilities of the second media capability.
  • the session control node further includes: a called terminal media capability set delivery unit, configured to: in the first media capability determining unit, determine, by the first media capability determining unit, the first media capability with the highest media priority of the called terminal carried by the response message
  • a called terminal media capability set delivery unit configured to: in the first media capability determining unit, determine, by the first media capability determining unit, the first media capability with the highest media priority of the called terminal carried by the response message
  • a gateway reservation resource requesting unit configured to: when the first media capability determining unit determines that the first media capability with the highest priority of the called terminal media capability set carried by the response message is to be provided by the gateway controlled by the local node, The gateway requests the reserved resource to implement the conversion between the media corresponding to the first and second media capabilities.
  • the session control node is a media resource function controller.
  • the session control node is set in a server to which the end user belongs.
  • the session control node having the media control capability adds the media capability provided by the local gateway to the media capability set of the calling terminal of the message when the initial session establishment request message is delivered, and the added media capability can pass through the gateway and the media.
  • the original capabilities of the capability set are mutually converted.
  • the media capability with the highest priority of the media capacity of the called terminal of the message should be provided by the gateway of the node, the media capability can be converted with the media capability.
  • the priority of the media capability with the highest priority in the mediation of the calling terminal media capability is set to the highest. Therefore, in the case that the session terminal capability set does not match, the solution can fully utilize the network resources to ensure that the session can be successfully established, and the session establishment efficiency is relatively high.
  • the embodiment of the present invention improves the session establishment efficiency from three aspects: First: the present invention only performs one Offer/Answer negotiation, while in the prior art, there are four Offer/Answer negotiations, and Offer The /Answer negotiation is less efficient (because the Offer/Answer negotiation has a longer route and more intermediate nodes), so this has a greater effect on efficiency. Second, the present invention does not re-initiate the call, but only performs the modification of the media capability set on the transmitted related message, and the modification is transparent to other nodes in the route as well as the master and the called terminal. In another aspect, When upgrading an existing network to apply the present invention, the upgrade is limited to the session control node itself with media control capability, and other nodes in the network do not need to be upgraded. Level
  • the present invention only applies for resources once to the gateway, and applies resources for media conversion in both directions in one application, while the prior art applies twice.
  • FIG. 1 is a schematic diagram of message interaction in a prior art in which a SIP terminal capability mismatch causes a call to fail;
  • FIG. 2 is a schematic diagram of message interaction in the prior art to maximize the success of a session;
  • FIG. 3 is a session establishment method according to the present invention; Schematic diagram of message interaction.
  • the present invention performs media conversion by means of a media gateway in the network, and adapts the capabilities of both parties.
  • the media gateway can implement functions including codec conversion, rate adaptation, etc., and is controlled by the network session layer control node to perform these functions.
  • the session control node compares the originating terminal.
  • Condition 1 The originating terminal does not have the capability of the media gateway;
  • Condition 2 For the match The ability of condition 1, while the media gateway is also able to provide its mutual conversion with at least one of the capabilities of the previous segment of the network and the originating terminal. For example: originating terminal and previous segment network support capabilities 1, 2, 3, media gateway additional support capabilities 4, 5, while the media gateway can support the conversion of capability 4 and capabilities 1, 2, 3, but does not support Ability 5 and ability 1, 2, 3 conversion, so only capability 4 can be added to the media capability description.
  • the session control node adds the capability parameter in the media capability description
  • the capability provided by the media gateway should be lower than the capability provided by the calling terminal.
  • the session control node should be able to record which capabilities in the media capability description are provided by the media gateway controlled by the node, and which are provided by the previous segment network and the originating terminal.
  • the Offer media capability set provided to the called terminal is already the sum of the capabilities that the originating terminal and the transit network entity can provide, and the maximum guarantee is provided to the master.
  • the called ability negotiation can be successful.
  • the session control node determines whether the highest priority media capability given in the Answer is based on the previous record. Provided by the media gateway controlled by the session control node. If yes, you need to control the media gateway to provide two media conversion capabilities. The two media are: Media 1: This session controls the highest priority media capability in the Answer received by the node.
  • Media 2 The highest priority of the Offer received by this control node is the ability to convert media with Media 1.
  • the session control node passes the Answer capability set in the backward direction, the description of the media 2 is placed in the highest priority in the media capability description, and the description of other media capabilities in the received Answer can be placed after the description of the media 2 , can also be deleted. If no, the session control node does not need to do the media gateway control operation, directly transparently transmits the received Answer media capability description, and can also set the capability added by the session control node when sending the offer forward in the received Answer media. The capability description is deleted and sent out. The specific process for implementing the above inventive principles will be further described in detail below with reference to FIG.
  • SCN1 is a server to which the SIP terminal TE1 user belongs (for example, S-CSCF);
  • SCN2 is a server to which the SIP terminal TE2 user belongs (for example, S-CSCF);
  • SCN3 is a session layer control node having media control capability in the network, In the embodiment, it is an MRFC.
  • the GW in this embodiment that is, the media gateway under the control of the SCN3, may be an MRFP, and is responsible for implementing media stream forwarding, including codec conversion and the like.
  • Step 301 The TE1 initiates a session, and sends an initial session suggestion request "Invite" message to the SCN1.
  • the SDP description of the "Invite” message carries the media capability set of TE1 itself as the media capability Offerl (original calling terminal capability set).
  • the media capabilities in Offerl are 1, 2, 3, and their priorities are high to low, followed by 3, 2, L.
  • step 302 SCN1 does not control any gateway, established through the initial session. The "Invite" message is requested, and the call is forwarded to SCN3, where the media Offerl does not change.
  • step 303 SCN3 controls the media gateway to enable the media gateway to provide new capabilities (assuming media capabilities 4 and 5, and media capability 4 can be converted to and from media capabilities 1 or 3, media capability 5 and media capabilities) 1 or 3 mutual conversion) is added to Offerl and becomes Offer2 (adding the calling terminal media capability set after the new capability provided by the media gateway, ie, media capabilities 1, 2, 3, 4 and 5), SCN3 will simultaneously match The media capabilities of the aforementioned conditions 1 and 2 are added to the SDP description.
  • the SCN3 adds the parameter of the media capability additionally provided by the media gateway of the node to the media capacity of the calling terminal carried by the message, and records the newly added media capability and the original calling terminal.
  • Media capability set and its priority It should be pointed out that the newly added media capability is the original media capability set, which is not available in Offerl, but can be converted with the original media capability centralized media capability through the gateway. And, the priority of newly added media capabilities
  • the level is lower than the priority of each media capability in Offerl.
  • media capabilities 4 and 5 have lower priority than media capabilities 1, 2, and 3, assuming that media capability 4 has a higher priority than media capability 5.
  • SCN3 establishes a request "Invite" message through the initial session, which will be converted Offei'2 after SDP is sent to SCN2.
  • Step 305 The SCN2 also does not control the media gateway. The initial session establishment request "Invite" message is forwarded to the TE2, where the media Offer2 does not change.
  • TE2 finds the intersection (media capabilities 4 and 5) according to the capabilities supported by Offer2 and the terminal (assumed to be media capabilities 4 and 5), and feeds Answer2 to SCN2 according to the priority provided by Offer2 (called terminal Media ability set). Considering that the media capability 4 in Offer2 has a higher priority than the media capability 5, in Answer2, the physical capability 4 is the highest priority media capability. Thereafter, at step 307, SCN2 transparently transmits Answer2 to SCN3. After SCN3 obtains Answer2, it is judged whether the highest priority capability in Answer2 (hereinafter referred to as "first media capability") is provided by the gateway controlled by the node, and if so, the highest priority is selected in the recorded Offerl media capability set.
  • first media capability the highest priority capability in Answer2
  • the highest priority media capability in the response message returned to TE1 can be set to the second media capability by the second media capability that the WG converts to the first media capability.
  • the media capabilities of the called terminal media capabilities brought by the response message are deleted or placed at a lower priority than the media capabilities of the second media capability.
  • the media capability of the highest priority in Answer2 is the media capability 4, which is provided by the WG, so the media capability that can be converted into the media capability 4 is selected in the recorded media capability set of Offerl. That is, media capability 2 and media capability 3, and since the priority of media capability 3 is higher than the priority of media capability 2 in Offerl, media capability 3 is set to the highest priority media capability in Answerl. Thereafter, steps 308 and 309 are performed.
  • the called terminal media capability set is transparently transmitted, or the called terminal media is at least partially according to the record.
  • the capability set should be passed down by the media capabilities provided by the node.
  • the SCN3 requests the GW to reserve resources for implementing conversion between the media corresponding to the first and second media capabilities. It should be pointed out that the request for reservation is two assets. Source. One is the resource allocated according to the highest priority capability of 0ffer2 interworking with the called party; the other is the resource allocated according to the highest priority capability in Offerl interworking with the calling party. These two resources belong to the same context in the gateway.
  • step 309 the GW feedback is successfully executed. It should be noted that this does not mean that resources can be used at this time.
  • SCN3 can control the gateway resources to be in the Mute state.
  • step 310 SCN3 feeds Answerl (the capability set provided by the media gateway) to SCN1 according to the information in Offerl provided by TE1 and the same priority. If TE2 has a capability set that coincides with TE1, it is transparently transmitted according to the capability set of TE2 feedback.
  • Step 311 to step 319 Continue to complete the negotiation process of the calling and called capabilities.
  • Step 320 to step 329 Complete the update of the called and called media.
  • Step 330 to step 341 The called ringing, off-hook, and call-on.
  • the media gateway forwards the media corresponding to the second media capability to the media corresponding to the first media capability, and the media corresponding to the first media capability in the backward direction Convert to the media corresponding to the second media capability.
  • the response message is a "183 Session Progress" message, and in other embodiments of the present invention, the response message may also be "180 Ringing.”
  • the session establishment method of the present invention can utilize network resources to join the session control node through the network.
  • the set of capabilities provided by the controlled media gateway provides more capability options, and only applies for a resource to the media gateway. Under the condition that the session can be successfully established to the maximum extent, the Offer/Answer negotiation efficiency is improved, and the session establishment is ensured. More efficient.
  • the session control node of the embodiment of the present invention includes a media capability adding unit, a priority setting unit, a first media capability determining unit, a second media capability setting unit, a media capability processing unit, a called terminal media capability set delivery unit, and a gateway pre- Leave the resource request unit.
  • a media capability adding unit configured to add the media capability additionally provided by the gateway controlled by the node to the mediation capability of the calling terminal carried by the message of the forward delivery request establishment session; the additionally provided media capability is the original calling The terminal media capability is not concentrated but can be converted by the gateway and the media capabilities of the original calling terminal media capabilities.
  • a priority setting unit configured to set a priority of the additionally provided media capability when the media capability adding unit adds the media capability additionally provided by the gateway controlled by the node to the mediation capability of the calling terminal media carried by the message The level is lower than the priority of each media capability of the original calling terminal media capability in the message.
  • the first media capability determining unit is configured to determine whether the first media capability with the highest mediation priority of the called terminal media capability carried by the response message sent by the forward end of the node should be provided by the gateway controlled by the local node.
  • a second media capability setting unit configured to: when the first media capability determining unit determines to be YES, select the highest priority from the foregoing original calling terminal media capability set, and convert the first media capability through the gateway The second media capability sets the highest priority media capability in the aforementioned response message to the second media capability.
  • a media capability processing unit configured to: when the first media capability determining unit determines that the first media capability with the highest priority of the called terminal media capability set carried by the response message is to be provided by the gateway controlled by the local node, the response message is sent The media capabilities of the called terminal media that are carried in the media other than the second media capability are deleted or placed at a lower priority.
  • a gateway reservation resource requesting unit configured to: when the first media capability determining unit determines that the first media capability with the highest priority of the called terminal media capability set carried by the response message is to be provided by the gateway controlled by the local node, to the gateway The requesting the reserved resource is used to implement the conversion between the media corresponding to the first and second media capabilities.
  • the called terminal media capability set delivery unit is configured to: when the first media capability determining unit determines that the first media capability with the highest priority of the called terminal media capability concentration carried by the response message is not provided by the gateway controlled by the local node Transmitting the called terminal media capability set, or at least partially deleting the media of the called terminal media capability set by the local node Pass after the ability.
  • the session control node may be a media resource function controller, and the gateway controlled by the media resource function processor may be a media resource function processor.
  • the session control node may be set in a server to which the terminal user belongs, or may be a separate entity. It should be noted that each unit of the session control node may be independent of each other, and may be integrated and combined in various manners, and details are not described herein.

Abstract

A session establish method and a session control node can improve the efficiency of the session establish with the ensured most success. In present invention, when the session control node with media control ability transmits the initial session establish request massage, the extra media ability provided by the gateway of the node is added into the calling terminal media ability set, and the added media ability can be exchanged with the intrinsic ability in the media ability set by the gateway. When the reply massage is transmitted, if the media ability with highest priority level in the called terminal media ability set in the massage should be provided by the gateway of the node, the priority level of the media ability which has the highest priority level in the primary calling terminal media ability set can be set as the highest priority level, and said media ability can be exchanged with this media ability.

Description

会话建立方法和会话控制节点  Session establishment method and session control node
技术领域 Technical field
本发明涉及通信技术, 特别涉及 SIP ( Session Initiation Protocol, 会 话发起协议)域终端能力不匹配情况下的会话建立方法和会话控制节点。 背景技术 会话发起协议是互联网工程任务组 ( Internet Engineering Task Force, 筒称 "IETF" )于 1999年 3月发布的 "一种在网上传送话音( VoIP, Voice over Internet Protocol ) 的标准 "。  The present invention relates to a communication technology, and more particularly to a session establishment method and a session control node in a case where a terminal capability of a SIP (Session Initiation Protocol) domain is not matched. BACKGROUND OF THE INVENTION The Session Initiation Protocol is a "standard for Voice over Internet Protocol (VoIP)" released by the Internet Engineering Task Force (IETF) in March 1999.
SIP信令协议用于初始、 管理和终止分組网络中的语音和视频会话, 具体地说就是用来生成、 修改和终结一个或多个参与者之间的会话。 SIP 是 IETF多媒体数据和控制体系结构的一个組成部分, 因此与 IETF的许 多其他协议都有联系, 例如实时传输协议 ( Real Time Transfer Protocol, 简称 "RTP" )、会话描述协议(Session Description Protocol, 简称 "SDP" ) 等。 The SIP signaling protocol is used to initiate, manage, and terminate voice and video sessions in a packet network, specifically to generate, modify, and terminate sessions between one or more participants. SIP is an integral part of the IETF multimedia data and control architecture and is therefore associated with many other IETF protocols, such as the Real Time Transfer Protocol (RTP) and the Session Description Protocol (Session Description Protocol). "SDP") and so on.
SIP主要提供与会话建立和终结相关的五个方面功能: SIP mainly provides five aspects related to session establishment and termination:
( 1 ) 用户定位: 用于通信的终端系统的决定; (1) User location: decision of the terminal system used for communication;
( 2 ) 用户可用性: 被呼叫方参与通信的意愿的决定; ( 3 )用户能力: 使用的媒体和媒体参数的决定; (2) User availability: the decision of the called party to participate in the communication; (3) User capabilities: the decision of the media and media parameters used;
( 4 )会话建立: "振铃,,, 呼叫和被呼叫方会话参数的建立; (4) Session establishment: "ringing,,, and establishment of call and callee session parameters;
( 5 )会话管理: 包括转移和终结会话, 修改会话参数, 以及调 用业务等。 (5) Session management: including transferring and terminating sessions, modifying session parameters, and calling services.
SIP有两种类型的消息: SIP has two types of messages:
( 1 )请求: 从客户机发到服务器的消息。 (1) Request: A message sent from the client to the server.
( 2 ) 响应: 从服务器发到客户机的消息。 其中请求消息包括: (2) Response: A message sent from the server to the client. The request message includes:
INVITE: 初始呼叫。 INVITE: Initial call.
ACK: 确认 INVITE的最终应答。 ACK: Confirm the final response of the INVITE.
BYE: 终止呼叫。 BYE: Terminate the call.
CANCEL: 撤消搜索和振铃。 CANCEL: Undo search and ring.
OPTIONS: 查询另一方能力。 OPTIONS: Query the other party's capabilities.
REGISTER: 注册位置服务。 REGISTER: Register a location service.
INPO: 发送会话中信息而不改变会话状态。 INPO: Sends information in a session without changing the session state.
PRACK: 与 ACK作用相同, 但是用于临时响应。 PRACK: Same as ACK, but for temporary response.
SUBSCRIBE:该方法用来向远端端点预订其状态变化的通知。 SUBSCRIBE: This method is used to subscribe to notifications of changes in status to remote endpoints.
NOTIFY: 该方法发送消息以通知预订者所预定的状态的变 化。 NOTIFY: This method sends a message to inform the subscriber of the change in the state of the reservation.
UPDATE:允许客户更新一个会话的参数而不影响该会话的当 前状态。 UPDATE: Allows the client to update the parameters of a session without affecting the current state of the session.
MESSAGE:通过在其请求体中承载即时消息内容实现即时消 息。 MESSAGE: Instant messaging by hosting instant messaging content in its request body.
REFER: 其功能是指示接受方通过使用在请求中提供的联系 地址信息联系第三方。 响应消息包含数字响应代码。 SIP响应代码集部分基于超文本传输协 议(Hyper Text Transfer Protocol, 简称 "HTTP" )响应代码。 有两种类型 的响应: 临时响应 (1XX ): 临时响应被服务器用来指示进程, 但是不终 结 SIP事务。 最终响应(2XX, 3XX, 4XX, 5XX, 6XX ): 最终响应终止 SIP 事务。 目前已成为分组域会话业务主流协议的 SIP要求会话双方通过 SIP 协议携带 SDP描述, 进行媒体能力的协商。 这是因为在承载基于分组网 的会话业务中, 会话双方要能够进行媒体交互, 必须先进行媒体能力的 协商, 包括媒体编解码格式、 IP协议版本( IPv4/IPv6 )、 收端 IP地址和 端口号、 打包时长等, 协商成功, 会话双方媒体能力一致, 才可能进行 媒体流的交互。 一般此媒体协商过程遵循 Offer (提议 ) /Answer (应答)模式。 但当 在分組域会话双方终端能力没有交集时, 被叫侧会返回 488 ( Not Acceptable Here )或 606 ( Not Acceptable ), 告知被叫终端不支持 Offer 的媒体能力, 这时呼叫将被拆除, 会话建立不成功。 由于 SIP终端能力不匹配导致呼叫失败的流程如图 1所示,其中第一 SIP服务器是第一设备终端 (TE, Terminal Equipment )用户归属的服务 器, 第二 SIP服务器是第二设备终端用户归属的服务器。 其中, 步骤 101 至 103中, 第一设备终端发出的 SIP Invite消息经第一 SIP服务器和第二 SIP服务器路由到第二设备终端; 随后, 第二设备终端判断第一终端提供 的媒体能力和本端的能力无法匹配; 在步骤 104至 106中, 第二设备终 端发出的 488消息经第二 SIP服务器和第一 SIP服务器路由到第一设备终 端; 步骤 107至 109, 第一设备终端发出的 ACK消息经过第一 SIP服务 器和第二 SIP服务器路由到第二设备终端。可以理解, 中间可能还会经过 其他的网络实体进行路由, 此不赘述。 目前, 在终端能力 (例如编解码能力) 无法匹配的情况下, 通过被 叫用户归属的服务呼叫会话控制功能(Serving CSCF, 简称 "S-CSCF" ) 将业务触发到应用服务器(AppUcation Server, 简称 "AS" ), 由 AS调用 媒体资源功能控制器 (Multimedia Resource Function Controller, 简称 "MRFC" )提供的资源完成主被叫之间的编解码转换, 其中, MRFC通 过控制媒体资源功能处理器( Multimedia Resource Function Processor, 筒 称 "MRFP" ) 实现媒体能力。 具体流程如图 2所示, 其中, 步骤 201至 203是主叫用户发起初始 呼叫, 但由于被叫用户的媒体能力与主叫用户提供的媒体能力 1不匹配, 因而通过 S一 CSCF触发 AS。步骤 205至步骤 209是由 AS向被叫用户发 起呼叫并从被叫用户的返回应答中得知被叫用户所支持的媒体能力是 2 的过程。 步骤 212至 217是由 AS调用 MRFC为被叫用户申请媒体资源 的过程。 步骤 218至 225是 AS与被叫用户进行能力协商的过程, 由于 AS已经知道被叫用户所支持的媒体能力, 因此该协商一定是成功的。 步 骤 226至步骤 229是由 AS调用 MRFC为主叫用户申请媒体资源的过程, 步骤 231至步骤 235是 AS与主叫用户进行能力协商的过程, 由于 AS已 经知道主叫用户所支持的媒体能力, 因此该协商一定是成功的。 当 AS通 过 S-CSCF向 MRFC返回应答(步骤 236 )后, 就进行主、被叫用户的服 务质量协商流程。 可见, 在现有技术中是通过 AS分别与主、被叫用户进行媒体能力的 协商, 从而使得主、 被叫用户能够建立起呼叫。 也就是将呼叫从会话控 制层分成两段, 前一段从主叫用户到 AS, 后一段从 AS到被叫用户, AS 工作在背靠背用户代理(Back to Back User Agent, 简称 "B2BUA" )模式 下; 媒体流也分成两段, 前一段从主叫终端到 MRFP, 后一段从 MRFP 到被叫终端。 在实际应用中, 上述方案存在以下问题: 在主、 被叫用户的终端能 力不匹配的情况下, 整个会话流程经过的步骤很多, 会话建立的时间会 比较长。 REFER: Its function is to instruct the recipient to contact a third party by using the contact address information provided in the request. The response message contains a numeric response code. The SIP response code set is based in part on the Hyper Text Transfer Protocol ("HTTP") response code. There are two types of responses: Temporary Response (1XX): The temporary response is used by the server to indicate the process, but does not terminate the SIP transaction. Final response (2XX, 3XX, 4XX, 5XX, 6XX): Final response to terminate SIP Transaction. The SIP that has become the mainstream protocol for the packet domain session service requires the two parties to carry the SDP description through the SIP protocol to negotiate the media capabilities. This is because in the packet-based network-based session service, the two parties must be able to perform media interaction, including media codec format, IP protocol version (IPv4/IPv6), and receiving IP address and port. The number of packets, the length of the package, etc., the negotiation is successful, and the media capabilities of both sides of the session are the same, and the interaction of the media streams is possible. This media negotiation process generally follows the Offer/Answer mode. However, when there is no intersection between the terminal capabilities of the two parties in the packet domain session, the called side will return 488 (Not Acceptable Here) or 606 (Not Acceptable), indicating that the called terminal does not support the media capability of Offer, and the call will be removed, the session will be The establishment was not successful. The process of the call failure due to the mismatch of the capabilities of the SIP terminal is as shown in FIG. 1. The first SIP server is the server to which the user of the first device terminal (TE, Terminal Equipment) belongs, and the second SIP server is the user of the second device terminal. server. In the steps 101 to 103, the SIP Invite message sent by the first device terminal is routed to the second device terminal by using the first SIP server and the second SIP server. Subsequently, the second device terminal determines the media capability and the content provided by the first terminal. The capability of the terminal cannot be matched; in steps 104 to 106, the 488 message sent by the second device terminal is routed to the first device terminal by the second SIP server and the first SIP server; Steps 107 to 109, the ACK message sent by the first device terminal Routing to the second device terminal via the first SIP server and the second SIP server. It can be understood that the middle may also be routed through other network entities, which will not be described here. Currently, in the case that the terminal capability (for example, the codec capability) cannot be matched, the service call session control function (Serving CSCF, referred to as "S-CSCF") that is called by the called user triggers the service to the application server (AppUcation Server, referred to as "AS"), the resource provided by the Media Resource Function Controller ("MRFC") is called by the AS to complete the codec conversion between the calling and the called, wherein the MRFC controls the media resource function processor (Multimedia The Resource Function Processor, called "MRFP", implements media capabilities. The specific process is shown in FIG. 2, where steps 201 to 203 are that the calling user initiates the initial call, but because the media capability of the called user does not match the media capability 1 provided by the calling user, the AS is triggered by the S-CSCF. Steps 205 to 209 are a process in which the AS initiates a call to the called user and learns from the returned response of the called user that the media capability supported by the called user is 2. Steps 212 to 217 are processes in which the AS calls the MRFC to apply for a media resource for the called user. Steps 218 to 225 are processes for the AS to negotiate with the called user. Since the AS already knows the media capabilities supported by the called user, the negotiation must be successful. Steps 226 to 229 are processes in which the AS calls the MRFC to apply for the media resource for the calling user. Steps 231 to 235 are the process of the capability negotiation between the AS and the calling user. Since the AS already knows the media capabilities supported by the calling user, Therefore the consultation must be successful. After the AS returns a response to the MRFC through the S-CSCF (step 236), the quality of service negotiation process of the primary and the called user is performed. It can be seen that in the prior art, the AS and the called user are respectively negotiated with the media capabilities by the AS, so that the calling and called users can establish a call. That is, the call is divided into two segments from the session control layer. The previous segment is from the calling user to the AS, and the latter segment is from the AS to the called user. The AS works in the Back to Back User Agent (B2BUA) mode. The media stream is also divided into two segments, the previous segment from the calling terminal to the MRFP, and the latter segment from the MRFP to the called terminal. In the actual application, the above solution has the following problems: In the case that the terminal capabilities of the primary and the called user do not match, the entire session process has many steps, and the session establishment time is relatively long.
造成这种情况的主要原因在于, 整个会话必须由 S-CSCF触发 AS , 呼叫被分成两段分别建立, 媒体协商也要分别进行, 而且是主叫终端 /被 叫终端和 MRPP的媒体协商都需要 AS分成两段来和主叫用户 /被叫用户 以及 MRFC分别协商。 从图 2中可以看出, 主、 被叫用户的会话建立过 程中要进行四次 Offer/Answer协商, 而由于 Offer/Answer协商所经的路 由较长, 中间节点较多, 因而 Offer/Answer协商的效率较低, 另外, AS 要分别为被叫用户和主叫用户申请两次资源。 所以, 会话建立的时间比 较长。 The main reason for this situation is that the entire session must be triggered by the S-CSCF, the call is established in two segments, the media negotiation is also carried out separately, and the mediation between the calling terminal/called terminal and the MRPP is required. The AS is divided into two segments to negotiate with the calling/called user and the MRFC, respectively. As can be seen from Figure 2, the Offer/Answer negotiation is performed four times during the session establishment process of the primary and called users, and the Offer/Answer negotiation has a long route and many intermediate nodes, so the Offer/Answer negotiation The efficiency is lower. In addition, the AS requests two resources for the called user and the calling user respectively. Therefore, the time ratio of session establishment Longer.
发明内容 本发明提供一种会话建立方法和会话控制节点, 使得在最大限度保 证会话成功的前提下提高会话建立效率。 本发明提供了一种会话建立方法, 包含以下步骤: 具有媒体控制能力的会话控制节点在前向传递请求建立会话的消息 时, 将本节点控制的网关额外提供的媒体能力的参数加入到该消息所带 的主叫终端媒体能力集中, 其中, 新加入的媒体能力是原媒体能力集中 没有但可以与原媒体能力集中媒体能力通过所述网关相互转换的; 所述会话控制节点在后向传递对所述清求建立会话的消息的携带被 叫终端媒体能力集的响应消息时, 如果该消息所带的被叫终端媒体能力 集中优先级最高的第一媒体能力应由本节点控制的网关提供 , 则在记录 的所述原先收到的主叫终端媒体能力集中选出优先级最高且能通过所述 网关与第一媒体能力相互转换的第二媒体能力, 将该响应消息中最高优 先级的媒体能力设置为第二媒体能力。 其中, 所述请求建立会话的消息及其响应消息是会话发起协议消息; 在所述请求建立会话的消息及其响应消息中通过会话描述协议分别 描述主、 被叫终端的媒体能力集。 此外在所述方法中, 所述请求建立会话的消息是 "Invite" 消息; 所述响应消息是 "180 Ringing" 或 "183 Session Progress" 消息。 此外在所述方法中, 所述具有媒体控制能力的会话控制节点可以是 媒体资源功能控制器; SUMMARY OF THE INVENTION The present invention provides a session establishment method and a session control node, which improves session establishment efficiency on the premise of maximizing the success of a session. The present invention provides a session establishment method, including the following steps: When a session control node having a media control capability forwards a request to establish a session message, the parameter of the media capability additionally provided by the gateway controlled by the node is added to the message. The media capabilities of the calling terminal are concentrated, wherein the newly added media capability is that the original media capability is not concentrated but can be converted with the original media capability centralized media capability through the gateway; the session control node transmits the pair backwards. If the message of the session establishment media message carrying the response message of the called terminal media capability set is clear, if the first media capability with the highest priority of the called terminal media capability concentration of the called terminal is to be provided by the gateway controlled by the local node, Selecting a second media capability with the highest priority and being mutually convertible by the gateway and the first media capability, and recording the highest priority media capability in the response message. Set to the second media capability. The message requesting to establish a session and the response message thereof are session initiation protocol messages; in the message requesting to establish a session and the response message thereof, the media capability set of the primary and the called terminal is respectively described by a session description protocol. Further in the method, the message requesting to establish a session is an "Invite" message; the response message is a "180 Ringing" or "183 Session Progress" message. In addition, in the method, the session control node with media control capability may be a media resource function controller;
'所述网关可以是媒体资源功能处理器。 此外在所述方法中, 当所述会话控制节点在传递对所述请求建立会 话的消息的响应消息时, 如果判定该响应消息所带的被叫终端媒体能力 集中优先级最高的第一媒体能力应由本节点控制的网关提供, 则还包含 以下步骤: 将该响应消息所带的被叫终端媒体能力集中除第二媒体能力以外的 其它媒体能力删除或置于较低的优先级。 此外在所述方法中, 所述新加入的媒体能力的优先级低于所述请求 建立会话的消息中原主叫终端媒体能力集中各媒体能力的优先级。 此外在所述方法中, 当所述会话控制节点在传递对所述请求建立会 话的消息的响应消息时, 如果判定该响应消息所带的被叫终端媒体能力 集中优先级最高的第一媒体能力应由本节点控制的网关提供, 则还包含 以下步骤: 请求所述网关预留资源, 用于实现所述第一、 第二媒体能力所对应 媒体之间的转换。 此外在所述方法中, 所述会话建立时, 所迷主叫终端用户到被叫终 端用户的路由中可以经过一个或多个所述具有媒体控制能力的会话控制 节点。 此外在所述方法中, 当所述会话控制节点在传递对所述请求建立会 话的消息的响应消息时, 如果判定该响应消息所带的被叫终端媒体能力 集中优先级最高的第一媒体能力不应由本节点控制的网关提供, 则还包 含以下步據: 透传所述被叫终端媒体能力集, 或至少部分地根据所述记录将所述 被叫终端媒体能力集中应由本节点提供的各媒体能力删除后向下传递。 此外在所述方法中, 当所述会话的媒体流建立时, 所述网关在前向 将所述第二媒体能力对应的媒体转换成第一媒体能力对应的媒体, 在后 向将所述第一媒体能力对应的媒体转换成第二媒体能力对应的媒体。 本发明还提供一种会话控制节点, 包括: 媒体能力添加单元, 用于将本节点控制的网关额外提供的媒体能力 加入到前向传递的请求建立会话的消息所携带的主叫终端媒体能力集 中; 所述额外提供的媒体能力是原主叫终端媒体能力集中没有但可以通 过所述网关与原主叫终端媒体能力集中的媒体能力相互转换的; 第一媒体能力确定单元, 用于确定本节点后向传递的响应消息所携 带的被叫终端媒体能力集中优先级最高的第一媒体能力是否应由本节点 控制的网关提供; 第二媒体能力设置单元, 用于在所述第一媒体能力确定单元确定为 是时, 从前述原主叫终端媒体能力集中选出优先级最高且能通过所述网 关与第一媒体能力相互转换的第二媒体能力, 将前述响应消息中最高优 先级的媒体能力设置为第二媒体能力。 所述的会话控制节点还包括: 优先级设置单元, 用于在所述媒体能力添加单元将本节点控制的网 关额外提供的媒体能力加入到该消息所携带的主叫终端媒体能力集中 时, 设置所述额外提供的媒体能力的优先级低于所述消息中原主叫终端 媒体能力集中各媒体能力的优先级。 所述的会话控制节点还包括: 媒体能力处理单元, 用于在所述第一媒体能力确定单元确定该响应 消息所携带的被叫终端媒体能力集中优先级最高的第一媒体能力应由本 节点控制的网关提供时, 将该响应消息所携带的被叫终端媒体能力集中 除第二媒体能力以外的其它媒体能力删除或置于较低的优先级。 所述的会话控制节点还包括: 被叫终端媒体能力集传递单元, 用于在所述第一媒体能力确定单元 确定该响应消息所携带的被叫终端媒体能力集中优先级最高的第一媒体 能力不应由本节点控制的网关提供时, 透传所述被叫终端媒体能力集, 或至少部分地删除所述被叫终端媒体能力集中应由本节点提供的各媒体 能力后传递。 所述的会话控制节点还包括: 'The gateway may be a media resource function processor. In addition, in the method, when the session control node transmits a response message to the message requesting to establish a session, if the media capability of the called terminal carried by the response message is determined The first media capability with the highest priority should be provided by the gateway controlled by the node, and further includes the following steps: deleting or placing the media capability of the called terminal with the media capability other than the second media capability Lower priority. In addition, in the method, the priority of the newly added media capability is lower than the priority of each media capability of the original calling terminal media capability set in the message requesting the session establishment. In addition, in the method, when the session control node transmits a response message to the message requesting to establish a session, if it is determined that the media content of the called terminal with the highest priority of the media content of the called terminal is It should be provided by the gateway controlled by the local node, and further includes the following steps: requesting the gateway to reserve resources for implementing conversion between media corresponding to the first and second media capabilities. In addition, in the method, when the session is established, the route of the calling terminal user to the called terminal user may pass through one or more of the session control nodes with media control capabilities. In addition, in the method, when the session control node transmits a response message to the message requesting to establish a session, if it is determined that the media content of the called terminal with the highest priority of the media content of the called terminal is It should not be provided by the gateway controlled by the node, and further includes the following steps: transparently transmitting the called terminal media capability set, or at least partially according to the record, the called terminal media capability should be centralized by each node provided by the node The media ability is removed and passed down. In addition, in the method, when the media stream of the session is established, the gateway forwards the media corresponding to the second media capability to the media corresponding to the first media capability, and The media corresponding to one media capability is converted into the media corresponding to the second media capability. The present invention also provides a session control node, including: a media capability adding unit, configured to additionally provide media capabilities of a gateway controlled by the node The mediation capability of the calling terminal carried in the message that is added to the forward-delivered request establishment session; the additional provided media capability is that the original calling terminal media capability is not concentrated but can pass the gateway and the original calling terminal media capability The first media capability determining unit is configured to determine whether the first media capability with the highest media priority of the called terminal media capability set by the response message sent by the forward transmission of the node should be controlled by the local node. Providing: a second media capability setting unit, configured to: when the first media capability determining unit determines to be YES, select the highest priority from the foregoing original calling terminal media capability set, and pass the gateway and the first media capability The mutually converted second media capability sets the highest priority media capability in the aforementioned response message to the second media capability. The session control node further includes: a priority setting unit, configured to: when the media capability adding unit adds the media capability additionally provided by the gateway controlled by the node to the media capacity of the calling terminal carried by the message, The priority of the additionally provided media capabilities is lower than the priority of the media capabilities of the original calling terminal media capability set in the message. The session control node further includes: a media capability processing unit, configured to determine, by the first media capability determining unit, that the first media capability with the highest media priority of the called terminal carried by the response message is controlled by the local node When the gateway is provided, the media capabilities of the called terminal media capability carried in the response message are deleted or placed at a lower priority than the media capabilities of the second media capability. The session control node further includes: a called terminal media capability set delivery unit, configured to: in the first media capability determining unit, determine, by the first media capability determining unit, the first media capability with the highest media priority of the called terminal carried by the response message When the gateway controlled by the local node is not provided, the media capability set of the called terminal is transparently transmitted, or the media capability set of the called terminal is at least partially deleted, and the media capabilities provided by the local node are transmitted. The session control node further includes:
' 网关预留资源请求单元, 用于在所述第一媒体能力确定单元确定该 响应消息所携带的被叫终端媒体能力集中优先级最高的第一媒体能力应 由本节点控制的网关提供时, 向网关请求预留资源,用于实现所述第一、 第二媒体能力所对应媒体之间的转换。 所述会话控制节点是媒体资源功能控制器。 所述会话控制节点设置在终端用户归属的服务器中。 本发明中, 具有媒体控制能力的会话控制节点在传递初始会话建立 请求消息时, 将本节点网关额外提供的媒体能力加入该消息的主叫终端 媒体能力集, 加入的媒体能力可以通过网关与媒体能力集中原有的能力 相互转换, 在传递响应消息时, 如果该消息的被叫终端媒体能力集中优 先级最高的媒体能力应由本节点的网关提供, 则将可与该媒体能力相互 转换的、 在原主叫终端媒体能力集中优先级最高的媒体能力的优先级设 置为最高。 因此, 在会话终端能力集不匹配的情况下, 此方案能够充分利用网 络资源, 最大限度地保证会话能够成功建立, 同时保证会话建立效率比 较高。 相对于现有技术, 本发明的实施方式从三个方面提高了会话建立效 率: 第一: 本发明只进行了一次 Offer/Answer协商, 而现有技术中是四 次 Offer/Answer协商,而 Offer/Answer协商的效率较低(因为 Offer/Answer 协商所经的路由较长, 中间节点较多), 所以这一点对效率的提升作用较 大。 第二, 本发明没有重新发起呼叫, 只是对传递的相关消息进行了媒 体能力集的修改, 这种修改对路由中的其它节点以及主、 被叫终端都是 透明的, 从另一个方面讲, 为应用本发明而对现有网络升级时, 升级仅 限于具有媒体控制能力的会话控制节点本身, 网络中的其它节点不用升 级; a gateway reservation resource requesting unit, configured to: when the first media capability determining unit determines that the first media capability with the highest priority of the called terminal media capability set carried by the response message is to be provided by the gateway controlled by the local node, The gateway requests the reserved resource to implement the conversion between the media corresponding to the first and second media capabilities. The session control node is a media resource function controller. The session control node is set in a server to which the end user belongs. In the present invention, the session control node having the media control capability adds the media capability provided by the local gateway to the media capability set of the calling terminal of the message when the initial session establishment request message is delivered, and the added media capability can pass through the gateway and the media. The original capabilities of the capability set are mutually converted. When the response message is delivered, if the media capability with the highest priority of the media capacity of the called terminal of the message should be provided by the gateway of the node, the media capability can be converted with the media capability. The priority of the media capability with the highest priority in the mediation of the calling terminal media capability is set to the highest. Therefore, in the case that the session terminal capability set does not match, the solution can fully utilize the network resources to ensure that the session can be successfully established, and the session establishment efficiency is relatively high. Compared with the prior art, the embodiment of the present invention improves the session establishment efficiency from three aspects: First: the present invention only performs one Offer/Answer negotiation, while in the prior art, there are four Offer/Answer negotiations, and Offer The /Answer negotiation is less efficient (because the Offer/Answer negotiation has a longer route and more intermediate nodes), so this has a greater effect on efficiency. Second, the present invention does not re-initiate the call, but only performs the modification of the media capability set on the transmitted related message, and the modification is transparent to other nodes in the route as well as the master and the called terminal. In another aspect, When upgrading an existing network to apply the present invention, the upgrade is limited to the session control node itself with media control capability, and other nodes in the network do not need to be upgraded. Level
第三, 本发明只向网关申请一次资源, 在一次申请中为两个方向的 媒体转换都申请了资源, 而现有技术则申请了两次。  Third, the present invention only applies for resources once to the gateway, and applies resources for media conversion in both directions in one application, while the prior art applies twice.
附图说明 图 1是现有技术中 SIP终端能力不匹配导致呼叫失败的消息交互示意 图; 图 2是现有技术中最大限度保证会话成功的消息交互示意图; 图 3是根据本发明的会话建立方法的消息交互示意图。 BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of message interaction in a prior art in which a SIP terminal capability mismatch causes a call to fail; FIG. 2 is a schematic diagram of message interaction in the prior art to maximize the success of a session; FIG. 3 is a session establishment method according to the present invention; Schematic diagram of message interaction.
具体实施方式 为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对 本发明作进一步的详细描述。 在终端能力无法匹配的情况下, 本发明借助网络中的媒体网关进行 媒体转换, 适配双方的能力。 媒体网关能够实现包括编解码转换、 速率 适配等功能, 受网络会话层控制节点的控制来执行这些功能。 根据本发明的会话建立方法的原理, 在会话中, 当始发终端将自己 的媒体能力描述通过初始会话建立请求消息携带到具有媒体控制能力的 会话控制节点时, 该会话控制节点对比始发终端的能力和媒体网关的能 力, 将媒体网关同时符合如下条件的能力添加在到下一跳的消息媒体能 力描述中: 条件 1 : 始发终端不具备而媒体网关具备的能力; 条件 2: 针对符合条件 1的能力, 同时媒体网关还要能够提供其和前 一段网络以及始发终端支持的至少一种能力的相互转换。 例如: 始发终 端和前一段网络支持能力 1、 2、 3, 媒体网关额外支持能力 4、 5, 同时 媒体网关能支持能力 4和能力 1、 2、 3中任一种的转换, 但不支持能力 5 和能力 1、 2、 3的转换, 这样只有能力 4能够被添加到媒体能力描述中。 为保证被叫终端在选择匹配能力时优先选择主叫终端支持的能力, 会话控制节点在媒体能力描述中添加能力参数时应使媒体网关提供的能 力优先级低于主叫终端提供的能力。 在主叫终端呼叫被叫终端的路由中, 可能会经过多个能够控制媒体网关的会话控制节点, 每个节点都可以将 同时符合条件 1和 2的能力加入到媒体能力描述中传送出去, 同时会话 控制节点要能够记录媒体能力描述中哪些能力是本节点控制的媒体网关 提供的, 哪些是前一段网络和始发终端提供的。 当会话建立信息(如: SIP 域中就是 Invite消息)到达被叫终端时, 提供给被叫终端的 Offer媒体能 力集已经是始发终端和途经网络实体能够提供的能力总和, 最大限度的 保证主被叫能力协商能够成功。 当被叫终端根据前向提供的媒体能力集和优先级排列给出被叫终端 的媒体能力集 Answer时 ,途经会话控制节点根据之前的记录判断 Answer 中给出的优先级最高的媒体能力是否由本会话控制节点控制的媒体网关 提供。 如果是, 则需要控制媒体网关提供两种媒体转换的能力, 这两种媒 体是: 媒体 1 : 此会话控制节点收到的 Answer中优先级最高的媒体能力。 媒体 2: 此控制节点收到的 Offer中优先级最高的能够和媒体 1进行 转换的媒体能力。 同时此会话控制节点在后向传递 Answer能力集时, 在媒体能力描述 中将媒体 2的描述放在最高优先级,对收到的 Answer中其他媒体能力的 描述, 可以放在媒体 2描述的后面, 也可以删除。 如果否, 则此会话控制节点无需做媒体网关控制操作, 直接透传收 到的 Answer媒体能力描述, 也可以将本会话控制节点在前向发送 Offer 时加上的能力集在收到的 Answer媒体能力描述中删除后再发送出去。 下面参照图 3 , 进一步的详细说明实现上述发明原理的具体过程。 首先需要说明,在本发明实施例的会话建立方法中,涉及 TE1、 SCN1、 SCN3、 GW、 SCN2以及 TE2。 其中, SCN1是 SIP终端 TE1用户归属的服务器(例如 S-CSCF ); SCN2是 SIP终端 TE2用户归属的服务器(例如 S-CSCF ); SCN3是网络 中具有媒体控制能力的会话层控制节点, 在本实施例中, 是 MRFC。 在 这种情况下, 本实施例中的 GW, 即 SCN3 控制下的媒体网关可以是 MRFP, 负责实现媒体流的转发, 包括编解码转换等功能。 实际物理部署 中, SCN3可能和 SCN1或 SCN2合设, 也可能是一个单独的物理实体。 步骤 301: TE1发起会话, 向 SCN1发送初始会话建议请求 "Invite" 消息。 其中, 该 "Invite" 消息的 SDP描述中携带有 TE1本身的媒体能力 集, 作为媒体能力 Offerl (原主叫终端能力集)。 为了更加易于理解, 假 设 Offerl中的媒体能力为 1、 2、 3 , 且其优先级由高到低, 依次为 3、 2、 L 此后, 在步驟 302: SCN1不控制任何网关, 通过初始会话建立请求 "Invite" 消息, 将呼叫转发到 SCN3 , 其中, 媒体 Offerl不改变。 接着, 进入步骤 303: SCN3控制媒体网关, 将媒体网关能够提供的 新能力(假定为媒体能力 4和 5, 并且, 媒体能力 4能够和媒体能力 1或 3相互转换, 媒体能力 5能够和媒体能力 1或 3相互转换)加到 Offerl 后面,成为 Offer2 (增加了媒体网关提供的新能力以后的主叫终端媒体能 力集, 即, 媒体能力 1、 2、 3、 4和 5 ), SCN3将同时符合前述条件 1和 2的媒体能力加入 SDP描述中。 DETAILED DESCRIPTION OF THE INVENTION The present invention will be further described in detail below with reference to the accompanying drawings. In the case that the terminal capabilities cannot be matched, the present invention performs media conversion by means of a media gateway in the network, and adapts the capabilities of both parties. The media gateway can implement functions including codec conversion, rate adaptation, etc., and is controlled by the network session layer control node to perform these functions. According to the principle of the session establishment method of the present invention, in the session, when the originating terminal carries its own media capability description through the initial session establishment request message to the session control node having the media control capability, the session control node compares the originating terminal. The ability and the ability of the media gateway to add the ability of the media gateway to meet the following conditions in the message media capability description to the next hop: Condition 1: The originating terminal does not have the capability of the media gateway; Condition 2: For the match The ability of condition 1, while the media gateway is also able to provide its mutual conversion with at least one of the capabilities of the previous segment of the network and the originating terminal. For example: originating terminal and previous segment network support capabilities 1, 2, 3, media gateway additional support capabilities 4, 5, while the media gateway can support the conversion of capability 4 and capabilities 1, 2, 3, but does not support Ability 5 and ability 1, 2, 3 conversion, so only capability 4 can be added to the media capability description. To ensure that the called terminal preferentially selects the capabilities supported by the calling terminal when selecting the matching capability, When the session control node adds the capability parameter in the media capability description, the capability provided by the media gateway should be lower than the capability provided by the calling terminal. In the route where the calling terminal calls the called terminal, there may be multiple session control nodes capable of controlling the media gateway, and each node may add the capability that satisfies the conditions 1 and 2 to the media capability description and transmit the same. The session control node should be able to record which capabilities in the media capability description are provided by the media gateway controlled by the node, and which are provided by the previous segment network and the originating terminal. When the session establishment information (for example, the Invite message in the SIP domain) arrives at the called terminal, the Offer media capability set provided to the called terminal is already the sum of the capabilities that the originating terminal and the transit network entity can provide, and the maximum guarantee is provided to the master. The called ability negotiation can be successful. When the called terminal gives the media capability set Answer of the called terminal according to the media capability set and priority arrangement provided in the forward direction, the session control node determines whether the highest priority media capability given in the Answer is based on the previous record. Provided by the media gateway controlled by the session control node. If yes, you need to control the media gateway to provide two media conversion capabilities. The two media are: Media 1: This session controls the highest priority media capability in the Answer received by the node. Media 2: The highest priority of the Offer received by this control node is the ability to convert media with Media 1. At the same time, when the session control node passes the Answer capability set in the backward direction, the description of the media 2 is placed in the highest priority in the media capability description, and the description of other media capabilities in the received Answer can be placed after the description of the media 2 , can also be deleted. If no, the session control node does not need to do the media gateway control operation, directly transparently transmits the received Answer media capability description, and can also set the capability added by the session control node when sending the offer forward in the received Answer media. The capability description is deleted and sent out. The specific process for implementing the above inventive principles will be further described in detail below with reference to FIG. It should be noted that, in the session establishment method of the embodiment of the present invention, TE1, SCN1, SCN3, GW, SCN2, and TE2 are involved. SCN1 is a server to which the SIP terminal TE1 user belongs (for example, S-CSCF); SCN2 is a server to which the SIP terminal TE2 user belongs (for example, S-CSCF); SCN3 is a session layer control node having media control capability in the network, In the embodiment, it is an MRFC. In this case, the GW in this embodiment, that is, the media gateway under the control of the SCN3, may be an MRFP, and is responsible for implementing media stream forwarding, including codec conversion and the like. In actual physical deployment, SCN3 may be combined with SCN1 or SCN2, or it may be a separate physical entity. Step 301: The TE1 initiates a session, and sends an initial session suggestion request "Invite" message to the SCN1. The SDP description of the "Invite" message carries the media capability set of TE1 itself as the media capability Offerl (original calling terminal capability set). To make it easier to understand, assume that the media capabilities in Offerl are 1, 2, 3, and their priorities are high to low, followed by 3, 2, L. Thereafter, in step 302: SCN1 does not control any gateway, established through the initial session. The "Invite" message is requested, and the call is forwarded to SCN3, where the media Offerl does not change. Next, proceed to step 303: SCN3 controls the media gateway to enable the media gateway to provide new capabilities (assuming media capabilities 4 and 5, and media capability 4 can be converted to and from media capabilities 1 or 3, media capability 5 and media capabilities) 1 or 3 mutual conversion) is added to Offerl and becomes Offer2 (adding the calling terminal media capability set after the new capability provided by the media gateway, ie, media capabilities 1, 2, 3, 4 and 5), SCN3 will simultaneously match The media capabilities of the aforementioned conditions 1 and 2 are added to the SDP description.
I 由此可见, 在本步骤中, SCN3将本节点的媒体网关额外提供的媒体 能力的参数加入到该消息所带的主叫终端媒体能力集中, 并记录新加入 的媒体能力和原主叫终端媒体能力集及其优先级。 需要指出, 新加入的 媒体能力是原媒体能力集, 即 Offerl 中没有的, 但可以与原媒体能力集 中媒体能力通过所述网关相互转换的。 并且, 新加入的媒体能力的优先I can see that, in this step, the SCN3 adds the parameter of the media capability additionally provided by the media gateway of the node to the media capacity of the calling terminal carried by the message, and records the newly added media capability and the original calling terminal. Media capability set and its priority. It should be pointed out that the newly added media capability is the original media capability set, which is not available in Offerl, but can be converted with the original media capability centralized media capability through the gateway. And, the priority of newly added media capabilities
; 级低于 Offerl中各媒体能力的优先级。 例如, 在本实施例中, 媒体能力 4 和 5的优先级低于媒体能力 1、 2和 3, 假定媒体能力 4的优先级高于媒 体能力 5。 在步骤 304: SCN3 通过初始会话建立请求 "Invite" 消息, 将转换 SDP后的 Offei'2发送到 SCN2。 步骤 305: SCN2也不控制媒体网关,通过初始会话建立请求" Invite" 消息, 将呼叫转发到 TE2 , 其中, 媒体 Offer2不改变。 在步骤 306: TE2根据 Offer2和本终端支持的能力(假定为媒体能力 4和 5 ), 找到交集(媒体能力 4和 5 ), 并按照 Offer2提供的优先级, 向 SCN2反馈 Answer2 (被叫终端的媒体能力集)。 考虑到 Offer2中媒体能 力 4的优先级高于媒体能力 5 ,所以在 Answer2中, 以某体能力 4为最高 优先级的媒体能力。 此后,在步骤 307, SCN2将 Answer2透传到 SCN3。 SCN3获取 Answer2 后, 判断 Answer2中最高优先级的能力 (下文称为 "第一媒体能力")是 否由本节点控制的网关提供, 如果是, 则在记录的 Offerl 的媒体能力集 中选出优先级最高且能通过 WG与第一媒体能力相互转换的第二媒体能 力, 将向 TE1返回的应答消息中最高优先级的媒体能力设置为第二媒体 能力。 将该应答消息所带的被叫终端媒体能力集中除第二媒体能力以外 的其它媒体能力删除或置于较低的优先级。 在本实施例中, Answer2中最高优先级的媒体能力为媒体能力 4, 该 媒体能力是由 WG提供的, 所以在记录的 Offerl的媒体能力集中选出可 以和媒体能力 4相互转换的媒体能力, 即媒体能力 2和媒体能力 3, 又由 于在 Offerl中, 媒体能力 3的优先级高于媒体能力 2的优先级, 所以将 媒体能力 3设置为 Answerl中最高优先级的媒体能力。此后执行步骤 308 和 309。 如果判定 Answer2的媒体能力集中优先级最高的第一媒体能力不应 由本节点的网关提供, 则透传所述被叫终端媒体能力集, 或至少部分地 根据所述记录将所述被叫终端媒体能力集中应由本节点提供的各媒体能 力删除后向下传递。 在步骤 308: SCN3向 GW请求预留资源, 用于实现所述第一、 第二 媒体能力所对应媒体之间的转换。 需要指出的是, 请求预留的是两个资 源。 一个是根据与被叫互通的 0ffer2 中最高优先级的能力分配的资源; 另一个是^ ^据与主叫互通的 Offerl 中最高优先级的能力分配的资源。 这 两个资源在网关中属于同一个上下文。 此后, 在步骤 309, GW反馈成功执行。 需要指出, 此时不表示资源 可以开始使用, SCN3可以控制网关资源处于 Mute (静默)状态。 在步骤 310: SCN3按照 TE1提供的 Offerl中的信息和同样的优先级, 向 SCN1反馈 Answerl (媒体网关提供的能力集)。 如果 TE2有和 TE1重合的能力集, 则按照 TE2反馈的能力集透传。 步骤 311至步骤 319: 继续完成主被叫能力的协商过程。 步骤 320至步驟 329: 完成主被叫媒体的更新。 步骤 330至步骤 341: 被叫振铃、 摘机、 呼叫接通。 当所述会话的媒体流建立时, 所述媒体网关在前向将所述第二媒体 能力对应的媒体转换成第一媒体能力对应的媒体, 在后向将所述第一媒 体能力对应的媒体转换成第二媒体能力对应的媒体。 其中, 如图 3所示, 步骤 306、 307、 310和 311中,应答消息是 "183 Session Progress"消息,在本发明的其它实施例中,应答消息也可以是" 180 Ringing"。 总的来说, 相对于现有技术, 在基于分組承载的会话网络中, 当会 话终端的能力集不匹配时, 本发明的会话建立方法可利用网络资源, 通 过网络中的会话控制节点加入其控制的媒体网关提供的能力集, 提供更 多的能力可选项, 并且只向媒体网关申请一次资源, 在最大限度的保证 会话能够成功建立的条件下, 提高了 Offer/Answer协商效率, 确保会话 建立效率较高。 本发明实施例的会话控制节点, 包括媒体能力添加单元、 优先级设 置单元、 第一媒体能力确定单元、 第二媒体能力设置单元、 媒体能力处 理单元、 被叫终端媒体能力集传递单元和网关预留资源请求单元。 其中, 媒体能力添加单元, 用于将本节点控制的网关额外提供的媒体能力 加入到前向传递的请求建立会话的消息所携带的主叫终端媒体能力集 中; 所述额外提供的媒体能力是原主叫终端媒体能力集中没有但可以通 过所述网关与原主叫终端媒体能力集中的媒体能力相互转换的。 优先级设置单元, 用于在所述媒体能力添加单元将本节点控制的网 关额外提供的媒体能力加入到该消息所携带的主叫终端媒体能力集中 时, 设置所述额外提供的媒体能力的优先级低于所述消息中原主叫终端 媒体能力集中各媒体能力的优先級。 第一媒体能力确定单元, 用于确定本节点后向传递的响应消息所携 带的被叫终端媒体能力集中优先级最高的第一媒体能力是否应由本节点 控制的网关提供。 第二媒体能力设置单元, 用于在所述第一媒体能力确定单元确定为 是时, 从前述原主叫终端媒体能力集中选出优先级最高且能通过所述网 关与第一媒体能力相互转换的第二媒体能力, 将前述响应消息中最高优 先级的媒体能力设置为第二媒体能力。 媒体能力处理单元, 用于在所述第一媒体能力确定单元确定该响应 消息所携带的被叫终端媒体能力集中优先级最高的第一媒体能力应由本 节点控制的网关提供时, 将该响应消息所携带的被叫终端媒体能力集中 除第二媒体能力以外的其它媒体能力删除或置于较低的优先级。 网关预留资源请求单元, 用于在所述第一媒体能力确定单元确定该 响应消息所携带的被叫终端媒体能力集中优先级最高的第一媒体能力应 由本节点控制的网关提供时, 向网关请求预留资源,用于实现所述第一、 第二媒体能力所对应媒体之间的转换。 被叫终端媒体能力集传递单元, 用于在所述第一媒体能力确定单元 确定该响应消息所携带的被叫终端媒体能力集中优先级最高的第一媒体 能力不应由本节点控制的网关提供时 , 透传所述被叫终端媒体能力集, 或至少部分地删除所述被叫终端媒体能力集中应由本节点提供的各媒体 能力后传递。 所述会话控制节点可以是媒体资源功能控制器, 其控制的网关可以 是媒体资源功能处理器。 所述会话控制节点可以设置在终端用户归属的服务器中, 也可以是 单独的实体。 需要说明的是, 所述会话控制节点的各个单元可以是相互独立的, 也可以通过各种方式进行集成和组合, 此不赘述。 The level is lower than the priority of each media capability in Offerl. For example, in the present embodiment, media capabilities 4 and 5 have lower priority than media capabilities 1, 2, and 3, assuming that media capability 4 has a higher priority than media capability 5. In step 304: SCN3 establishes a request "Invite" message through the initial session, which will be converted Offei'2 after SDP is sent to SCN2. Step 305: The SCN2 also does not control the media gateway. The initial session establishment request "Invite" message is forwarded to the TE2, where the media Offer2 does not change. In step 306: TE2 finds the intersection (media capabilities 4 and 5) according to the capabilities supported by Offer2 and the terminal (assumed to be media capabilities 4 and 5), and feeds Answer2 to SCN2 according to the priority provided by Offer2 (called terminal Media ability set). Considering that the media capability 4 in Offer2 has a higher priority than the media capability 5, in Answer2, the physical capability 4 is the highest priority media capability. Thereafter, at step 307, SCN2 transparently transmits Answer2 to SCN3. After SCN3 obtains Answer2, it is judged whether the highest priority capability in Answer2 (hereinafter referred to as "first media capability") is provided by the gateway controlled by the node, and if so, the highest priority is selected in the recorded Offerl media capability set. The highest priority media capability in the response message returned to TE1 can be set to the second media capability by the second media capability that the WG converts to the first media capability. The media capabilities of the called terminal media capabilities brought by the response message are deleted or placed at a lower priority than the media capabilities of the second media capability. In this embodiment, the media capability of the highest priority in Answer2 is the media capability 4, which is provided by the WG, so the media capability that can be converted into the media capability 4 is selected in the recorded media capability set of Offerl. That is, media capability 2 and media capability 3, and since the priority of media capability 3 is higher than the priority of media capability 2 in Offerl, media capability 3 is set to the highest priority media capability in Answerl. Thereafter, steps 308 and 309 are performed. If it is determined that the first media capability with the highest priority of the media capability set of Answer2 should not be provided by the gateway of the local node, the called terminal media capability set is transparently transmitted, or the called terminal media is at least partially according to the record. The capability set should be passed down by the media capabilities provided by the node. In step 308, the SCN3 requests the GW to reserve resources for implementing conversion between the media corresponding to the first and second media capabilities. It should be pointed out that the request for reservation is two assets. Source. One is the resource allocated according to the highest priority capability of 0ffer2 interworking with the called party; the other is the resource allocated according to the highest priority capability in Offerl interworking with the calling party. These two resources belong to the same context in the gateway. Thereafter, at step 309, the GW feedback is successfully executed. It should be noted that this does not mean that resources can be used at this time. SCN3 can control the gateway resources to be in the Mute state. In step 310: SCN3 feeds Answerl (the capability set provided by the media gateway) to SCN1 according to the information in Offerl provided by TE1 and the same priority. If TE2 has a capability set that coincides with TE1, it is transparently transmitted according to the capability set of TE2 feedback. Step 311 to step 319: Continue to complete the negotiation process of the calling and called capabilities. Step 320 to step 329: Complete the update of the called and called media. Step 330 to step 341: The called ringing, off-hook, and call-on. When the media stream of the session is established, the media gateway forwards the media corresponding to the second media capability to the media corresponding to the first media capability, and the media corresponding to the first media capability in the backward direction Convert to the media corresponding to the second media capability. As shown in FIG. 3, in steps 306, 307, 310, and 311, the response message is a "183 Session Progress" message, and in other embodiments of the present invention, the response message may also be "180 Ringing." In general, compared with the prior art, in a packet bearer-based session network, when the capability set of the session terminal does not match, the session establishment method of the present invention can utilize network resources to join the session control node through the network. The set of capabilities provided by the controlled media gateway provides more capability options, and only applies for a resource to the media gateway. Under the condition that the session can be successfully established to the maximum extent, the Offer/Answer negotiation efficiency is improved, and the session establishment is ensured. More efficient. The session control node of the embodiment of the present invention includes a media capability adding unit, a priority setting unit, a first media capability determining unit, a second media capability setting unit, a media capability processing unit, a called terminal media capability set delivery unit, and a gateway pre- Leave the resource request unit. among them, a media capability adding unit, configured to add the media capability additionally provided by the gateway controlled by the node to the mediation capability of the calling terminal carried by the message of the forward delivery request establishment session; the additionally provided media capability is the original calling The terminal media capability is not concentrated but can be converted by the gateway and the media capabilities of the original calling terminal media capabilities. a priority setting unit, configured to set a priority of the additionally provided media capability when the media capability adding unit adds the media capability additionally provided by the gateway controlled by the node to the mediation capability of the calling terminal media carried by the message The level is lower than the priority of each media capability of the original calling terminal media capability in the message. The first media capability determining unit is configured to determine whether the first media capability with the highest mediation priority of the called terminal media capability carried by the response message sent by the forward end of the node should be provided by the gateway controlled by the local node. a second media capability setting unit, configured to: when the first media capability determining unit determines to be YES, select the highest priority from the foregoing original calling terminal media capability set, and convert the first media capability through the gateway The second media capability sets the highest priority media capability in the aforementioned response message to the second media capability. a media capability processing unit, configured to: when the first media capability determining unit determines that the first media capability with the highest priority of the called terminal media capability set carried by the response message is to be provided by the gateway controlled by the local node, the response message is sent The media capabilities of the called terminal media that are carried in the media other than the second media capability are deleted or placed at a lower priority. a gateway reservation resource requesting unit, configured to: when the first media capability determining unit determines that the first media capability with the highest priority of the called terminal media capability set carried by the response message is to be provided by the gateway controlled by the local node, to the gateway The requesting the reserved resource is used to implement the conversion between the media corresponding to the first and second media capabilities. The called terminal media capability set delivery unit is configured to: when the first media capability determining unit determines that the first media capability with the highest priority of the called terminal media capability concentration carried by the response message is not provided by the gateway controlled by the local node Transmitting the called terminal media capability set, or at least partially deleting the media of the called terminal media capability set by the local node Pass after the ability. The session control node may be a media resource function controller, and the gateway controlled by the media resource function processor may be a media resource function processor. The session control node may be set in a server to which the terminal user belongs, or may be a separate entity. It should be noted that each unit of the session control node may be independent of each other, and may be integrated and combined in various manners, and details are not described herein.
虽然通过参照本发明的某些优选实施例, 已经对本发明进行了图示 和描述, 但本领域的普通技术人员应该明白, 可以在形式上和细节上对 其作各种改变, 而不偏离本发明的精神和范围。  Although the present invention has been illustrated and described with reference to the preferred embodiments of the present invention, those skilled in the art The spirit and scope of the invention.

Claims

权 利 要 求 Rights request
1. 一种会话建立方法, 其特征在于, 包括: 具有媒体控制能力的会话控制节点在前向传递请求建立会话的消息 时, 将本节点控制的网关额外提供的媒体能力加入到该消息所携带的主 叫终端媒体能力集中, 所述额外提供的媒体能力是原主叫终端媒体能力 集中没有但可以通过所述网关与原主叫终端媒体能力集中的媒体能力相 互转换的; 所述会话控制节点在后向传递对所述请求建立会话的消息的携带被 叫终端媒体能力集的响应消息时, 如果确定该响应消息所携带的被叫终 端媒体能力集中优先级最高的第一媒体能力应由本节点控制的网关提 供, 则在前述原主叫终端媒体能力集中选出优先级最高且能通过所述网 关与第一媒体能力相互转换的第二媒体能力, 将该响应消息中最高优先 级的媒体能力设置为第二媒体能力。 A method for establishing a session, comprising: a session control node having a media control capability, when forwardly transmitting a message requesting to establish a session, adding a media capability additionally provided by a gateway controlled by the node to the message The calling terminal media capability is centralized, and the additionally provided media capability is that the original calling terminal media capability is not concentrated but can be converted by the media capability of the original calling terminal media capability by the gateway; the session control node When the response message carrying the called terminal media capability set of the message for establishing the session is forwarded, if it is determined that the first media capability with the highest media priority of the called terminal carried by the response message is determined by the local node Provided by the controlled gateway, the second media capability with the highest priority and capable of being mutually converted by the gateway and the first media capability is selected in the foregoing original calling terminal media capability, and the highest priority media capability in the response message is selected. Set to the second media capability.
2. 根据权利要求 1所述的会话建立方法, 其特征在于, 所述会话控 制节点将本节点控制的网关额外提供的媒体能力加入到该消息所携带的 主叫终端媒体能力集中时, 还包括: 设置所述额外提供的媒体能力的优先级低于所述消息中原主叫终端 媒体能力集中各媒体能力的优先级。 The method for establishing a session according to claim 1, wherein the session control node further includes, when the media capability provided by the gateway controlled by the node is added to the media capacity of the calling terminal carried by the message, The priority of setting the additionally provided media capability is lower than the priority of each media capability of the original calling terminal media capability set in the message.
3. 根据权利要求 1所述的会话建立方法, 其特征在于, 在会话控制 节点确定该响应消息所携带的被叫终端媒体能力集中优先級最高的第一 媒体能力应由本节点控制的网关提供时, 还包括: 将该响应消息所携带的被叫终端媒体能力集中除第二媒体能力以外 的其它媒体能力删除或置于较低的优先级。 The method for establishing a session according to claim 1, wherein the session control node determines that the first media capability with the highest priority of the media content concentration of the called terminal carried by the response message is to be provided by the gateway controlled by the local node. And the method further includes: deleting or placing the media capability of the called terminal media capability carried in the response message other than the second media capability to a lower priority.
4. 根据权利要求 1所述的会话建立方法, 其特征在于, 所述会话控 制节点在后向传递对所述请求建立会话的消息的携带被叫终端媒体能力 集的响应消息时, 如果确定该响应消息所携带的被叫终端媒体能力集中 优先级最高的第一媒体能力不应由本节点控制的网关提供, 还包括: 透传所述被叫终端媒体能力集, 或至少部分地删除所迷被叫终端媒 体能力集中应由本节点提供的各媒体能力后传递。 The method for establishing a session according to claim 1, wherein the session control node forwards a response message carrying the media capability set of the called terminal to the request to establish a session, if the Concentrated media capacity of the called terminal carried in the response message The first media capability with the highest priority should not be provided by the gateway controlled by the node, and further includes: transparently transmitting the set of media capabilities of the called terminal, or at least partially deleting the media capabilities of the called terminal to be provided by the node. After the media ability is passed.
5. 根据权利要求 1所述的会话建立方法, 其特征在于, 在会话控制 节点确定该响应消息所携带的被叫终端媒体能力集中优先级最高的第一 媒体能力应由本节点控制的网关提供时, 还包括: 请求所述网关预留资源, 用于实现所述第一、 第二媒体能力所对应 媒体之间的转换。 The method for establishing a session according to claim 1, wherein the session control node determines that the first media capability with the highest priority of the media content of the called terminal carried by the response message is provided by the gateway controlled by the node. And the method further includes: requesting, by the gateway, a resource to be used for implementing conversion between media corresponding to the first and second media capabilities.
6. 根据权利要求 1所述的会话建立方法, 其特征在于, 当所述会话 的媒体流建立时, 所述网关在前向将所述第二媒体能力对应的媒体转换 成第一媒体能力对应的媒体 , 在后向将所述第一媒体能力对应的媒体转 换成第二媒体能力对应的媒体。 The method for establishing a session according to claim 1, wherein, when the media stream of the session is established, the gateway forwards the media corresponding to the second media capability to the first media capability. The media is backward to convert the media corresponding to the first media capability to the media corresponding to the second media capability.
7. 根据权利要求 1所述的会话建立方法, 其特征在于, 所迷会话建 立时, 所述主叫终端用户到被叫终端用户的路由中经过一个或多个所述 具有媒体控制能力的会话控制节点。 The session establishing method according to claim 1, wherein, when the session is established, the calling terminal user passes through one or more media control capable sessions in a route to the called terminal user. Control node.
8. 根据权利要求 1至 7任一项所述的会话建立方法, 其特征在于, 所述请求建立会话的消息及其响应消息是会话发起协议消息; 在所述请 求建立会话的消息及其响应消息中通过会话描述协议分别描述主、 被叫 终端的媒体能力集。 The session establishing method according to any one of claims 1 to 7, wherein the message requesting to establish a session and a response message thereof are a session initiation protocol message; a message for establishing a session in the request and a response thereof The message description protocol describes the media capability set of the calling and called terminals respectively.
9. 根据权利要求 8所述的会话建立方法, 其特征在于, 所述请求建 立会话的消息是 "Invite" 消息; 所述响应消息是 "180 Ringing" 或 "183 Session Progress" 消息。 9. The session establishing method according to claim 8, wherein the message requesting the establishment of the session is an "Invite" message; and the response message is a "180 Ringing" or "183 Session Progress" message.
10. 根据权利要求 8 所述的会话建立方法, 其特征在于, 所述具有 媒体控制能力的会话控制节点是媒体资源功能控制器; 所述网关是媒体 资源功能处理器。 10. The session establishing method according to claim 8, wherein the session control node having media control capability is a media resource function controller; and the gateway is a media resource function processor.
11. 一种会话控制节点, 其特征在于, 包括: 媒体能力添加单元, 用于将本节点控制的网关额外提供的媒体能力 加入到前向传递的请求建立会话的消息所携带的主叫终端媒体能力集 中; 所述额外提供的媒体能力是原主叫终端媒体能力集中没有但可以通 过所述网关与原主叫终端媒体能力集中的媒体能力相互转换的; 第一媒体能力确定单元, 用于确定本节点后向传递的响应消息所携 带的被叫终端媒体能力集中优先级最高的第一媒体能力是否应由本节点 控制的网关提供; 第二媒体能力设置单元, 用于在所述第一媒体能力确定单元确定为 是时, 从前述原主叫终端媒体能力集中选出优先级最高且能通过所述网 关与第一媒体能力相互转换的第二媒体能力, 将前述响应消息中最高优 先级的媒体能力设置为第二媒体能力。 A session control node, comprising: a media capability adding unit, configured to add the media capability additionally provided by the gateway controlled by the node to the mediation capability of the calling terminal carried by the message of the forward delivery request establishment session; the additionally provided media capability is the original calling The terminal media capability is not integrated but can be mutually converted by the media capability of the mediation of the mediation of the original calling terminal; the first media capability determining unit is configured to determine the called terminal carried by the response message transmitted by the node in the backward direction. Whether the first media capability with the highest priority of the media capability set should be provided by the gateway controlled by the local node; the second media capability setting unit, configured to: when the first media capability determining unit determines to be YES, from the foregoing original calling terminal media The capability selects the second media capability with the highest priority and can be converted by the gateway and the first media capability, and sets the highest priority media capability in the foregoing response message as the second media capability.
12. 据权利要求 11所述的会话控制节点, 其特征在于, 还包括: 优先级设置单元, 用于在所述媒体能力添加单元将本节点控制的网 关额外提供的媒体能力加入到该消息所携带的主叫终端媒体能力集中 时, 设置所述额外提供的媒体能力的优先级低于所述消息中原主叫终端 媒体能力集中各媒体能力的优先级。 The session control node according to claim 11, further comprising: a priority setting unit, configured to add, by the media capability adding unit, the media capability additionally provided by the gateway controlled by the node to the message When the carrying capacity of the calling terminal is concentrated, the priority of setting the additionally provided media capability is lower than the priority of each media capability of the original calling terminal media capability set in the message.
13. 根据权利要求 11所述的会话控制节点, 其特征在于, 还包括: 媒体能力处理单元, 用于在所述第一媒体能力确定单元确定该响应 消息所携带的被叫终端媒体能力集中优先级最高的第一媒体能力应由本 节点控制的网关提供时, 将该响应消息所携带的被叫终端媒体能力集中 除第二媒体能力以外的其它媒体能力删除或置于较低的优先级。 The session control node according to claim 11, further comprising: a media capability processing unit, configured to: after the first media capability determining unit determines that the called terminal media capability set carried by the response message is prioritized When the highest-level first media capability is to be provided by the gateway controlled by the local node, the media capability of the called terminal carried by the response message is deleted or placed at a lower priority than the media capability of the second media capability.
14. 根据权利要求 11所述的会话控制节点, 其特征在于, 还包括: 被叫终端媒体能力集传递单元, 用于在所述第一媒体能力确定单元 确定该响应消息所携带的被叫终端媒体能力集中优先级最高的第一媒体 能力不应由本节点控制的网关提供时 , 透传所述被叫终端媒体能力集, 或至少部分地删除所述被叫终端媒体能力集中应由本节点提供的各媒体 能力后传递。 The session control node according to claim 11, further comprising: a called terminal media capability set delivery unit, configured to determine, at the first media capability determining unit, the called terminal carried by the response message When the first media capability with the highest priority of media capability aggregation should not be provided by the gateway controlled by the node, transparently transmitting the set of media capabilities of the called terminal, or at least partially deleting the media capability set of the called terminal should be provided by the node. After the various media capabilities are passed.
15. 根据权利要求 11所述的会话控制节点, 其特征在于, 还包括: 网关预留资源请求单元, 用于在所述第一媒体能力确定单元确定该 响应消息所携带的被叫终端媒体能力集中优先级最高的第一媒体能力应 由本节点控制的网关提供时, 向网关请求预留资源,用于实现所述第一、 第二媒体能力所对应媒体之间的转换。 The session control node according to claim 11, further comprising: a gateway reservation resource requesting unit, configured to determine, at the first media capability determining unit, the called terminal media capability carried by the response message When the first media capability with the highest priority is to be provided by the gateway controlled by the local node, the gateway requests the reserved resource to implement the conversion between the media corresponding to the first and second media capabilities.
16. 根据权利要求 11至 15任一项所述的会话控制节点, 其特征在 于, 所述会话控制节点是媒体资源功能控制器。 The session control node according to any one of claims 11 to 15, wherein the session control node is a media resource function controller.
17. 根据权利要求 11至 15任一项所述的会话控制节点, 其特征在 于, 所述会话控制节点设置在终端用户归属的服务器中。 The session control node according to any one of claims 11 to 15, characterized in that the session control node is set in a server to which the terminal user belongs.
PCT/CN2006/001855 2005-08-16 2006-07-26 A session establish method and a session control node WO2007019777A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200510091860.1A CN1889565B (en) 2005-08-16 2005-08-16 Session establishing method
CN200510091860.1 2005-08-16

Publications (1)

Publication Number Publication Date
WO2007019777A1 true WO2007019777A1 (en) 2007-02-22

Family

ID=37578822

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/001855 WO2007019777A1 (en) 2005-08-16 2006-07-26 A session establish method and a session control node

Country Status (2)

Country Link
CN (1) CN1889565B (en)
WO (1) WO2007019777A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453459B (en) * 2007-11-29 2012-08-08 华为技术有限公司 Method and apparatus for media negotiation implementation
CN101729383B (en) * 2008-10-22 2012-09-05 中兴通讯股份有限公司 Method for controlling established service stream mapping during switching cross-access gateways and target access gateway
CN102387124B (en) * 2010-09-02 2014-05-07 杭州华三通信技术有限公司 Method for modifying media literacy in SIP session and SIP truck gateway
CN102811336A (en) * 2011-06-03 2012-12-05 中兴通讯股份有限公司 Method and apparatus for capability negotiation of multimedia
CN105765937B (en) * 2014-06-30 2019-11-08 北京新媒传信科技有限公司 A kind of communication means and signal server
CN104580166B (en) * 2014-12-19 2018-08-31 大唐移动通信设备有限公司 A kind of method and apparatus based on the conversion of CSCF media coding formats
CN106254354B (en) * 2016-08-10 2019-04-26 东北大学 A kind of SDP negotiation method of asymmetric media parameter

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1333616A (en) * 2000-07-12 2002-01-30 日本电气株式会社 Routing search system and method thereof, its used router
CN1398089A (en) * 2002-08-23 2003-02-19 清华大学 Explicit priority method for information cell repeating and its communication system
WO2004014026A1 (en) * 2002-07-29 2004-02-12 Motorola Inc Communication of packet data units over signalling and data traffic channels
WO2004039031A2 (en) * 2002-10-23 2004-05-06 Sony International (Europe) Gmbh Software architecture for capability and quality-of-service negotiations and session establishment for distributed multimedia applications

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6875060B2 (en) * 2002-10-21 2005-04-05 Adc Telecommunications, Inc. High density patching system
CN1251103C (en) * 2002-12-31 2006-04-12 联想(北京)有限公司 Method for improving serviceability of business machine group

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1333616A (en) * 2000-07-12 2002-01-30 日本电气株式会社 Routing search system and method thereof, its used router
WO2004014026A1 (en) * 2002-07-29 2004-02-12 Motorola Inc Communication of packet data units over signalling and data traffic channels
CN1398089A (en) * 2002-08-23 2003-02-19 清华大学 Explicit priority method for information cell repeating and its communication system
WO2004039031A2 (en) * 2002-10-23 2004-05-06 Sony International (Europe) Gmbh Software architecture for capability and quality-of-service negotiations and session establishment for distributed multimedia applications

Also Published As

Publication number Publication date
CN1889565B (en) 2010-05-05
CN1889565A (en) 2007-01-03

Similar Documents

Publication Publication Date Title
JP4746054B2 (en) Media client architecture for network communication devices
US8059656B1 (en) Expedited resource negotiation in SIP
JP4217606B2 (en) Circuit switched and packet switched communications
US7886060B2 (en) Establishing and modifying network signaling protocols
US7167468B2 (en) Internet protocol telephony voice/video message deposit and retrieval
EP1551148A2 (en) Method and apparatus for functional architecture of a SIP network border element for voice-over-IP
US20040240399A1 (en) Transcoding arrangement in a session initiation
JP5529129B2 (en) Method and system for selective call forwarding based on media attributes in a telecommunications network
JP2008527800A (en) Method for remotely controlling a media device via a communication network
WO2009059559A1 (en) A multimedia session call control method and the application server thereof
US8566454B2 (en) Methods for enhancing SDP preconditions signalling for IP multimedia sessions
WO2007003093A1 (en) A method for realizing session communication between the calling party and the called party
WO2007019777A1 (en) A session establish method and a session control node
WO2008064580A1 (en) The method, system and application server to avoid the cross-talk of color ringing back tone
WO2009155824A1 (en) Method and system for implementing color ring back tone and multimedia ring alert tone service
KR100514196B1 (en) System and method for Controlling network address translation and session
WO2007095855A1 (en) A method and network entity for negotiating media type parameter
WO2007076669A1 (en) A method, device and system for processing data stream
WO2009086758A1 (en) Method for realizing online color ringback tone and multimedia ringback tone service
JP2011029827A (en) Call control device, information communication method, information communication program, and information communication system
KR20020064693A (en) Method for providing signalling process for quality of communication service by using session initiation protocol
JP2013510477A (en) Method, apparatus and system for media session negotiation
JP2011515980A (en) System and method for querying the status of a peer-to-peer multimedia connection in a communication system
WO2009036801A1 (en) Methods and arrangements for a telecommunications system
WO2008101443A1 (en) A method, system and device for acquiring a media stream

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06761582

Country of ref document: EP

Kind code of ref document: A1